semvec/pypi-packages huggingface dataset:
text2sql 0.1.1
Convert natural language questions to SQL query

<img src="assets/header.png">

# Text2SQL

How many times have you pulled your hair apart writing a SQL query, now use natural language to convert to appropriate SQL and save your precious hair.

Though this can be used as a standalone package, I highly recommend that you use `streamlit` to play with the model interactively, to run it interactively
```
streamlit run t2s.py
```

## Installation

To install this repo clone it then run `setup.py`
```
git clone https://github.com/yashbonde/text2sql.git
cd text2sql/
pip3 install -e . #text2sql
```

## Parsing

New method of parsing to convert each DB to a graph network, red denotes foreign keys.
<img src="assets/dbvis.png">

## Trainer File

Simple trainer file.

## Datasets

Using [CoSQL](https://yale-lily.github.io/cosql), [Spider](https://yale-lily.github.io/spider), [Sparc](https://yale-lily.github.io/sparc) datasets, credit to the authors. There are a couple of things to note, we have in total 178 tables, but only 166 tables in training date and dev set has 20 tables.


## License

Following are the licensing things:
1. I am releasing my part of code under MIT License
2. `transformers` code is under Apache License, Version 2.0
pp-up 0.1.0
Update pypi dependencies
Requires Python: >=3.6

pp-up
=====

Overview
--------
Script to update your dependencies by checking if there are new versions
available on pypi.

This script parses your requirements.txt and setup.py files, and updates any
pinned version you may have to the latest version available on pypi.

When you have a version pinned for a specific reason add `# pp_up: pin` to the line you want
to pin, this only works on requirements files example:

```
pp_up==0.0.1 # pp_up: pin
```

The files are backupped before modification.

Usage
-----
```bash
cd $YOUR_PROJECT_DIR
python -m pp_up
```