Simple package to read sql files
Project description
Simple sql reader
To read file
import sqlreader as sql
sql.set_base_dir('sql_queries/') # default '/'
q = sql.read('query_name')
OR
q = sql.read('sql_queries/query_name')
Clear cache
sql.clear_cache()
To creat class SQLReader
import sqlreader
sql = sqlreader.SQLReader() # params 'directory_name' and 'auto_clear'
q = sql.read('query_name')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sqlreader-0.1.3.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file sqlreader-0.1.3.tar.gz
.
File metadata
- Download URL: sqlreader-0.1.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 773aabe76b8457ef9097293e22cc8dc01fce2fa6019e3aa027d1bdd79bd34cc6 |
|
MD5 | 400ed9e678f3b3d69ef7247650cd2195 |
|
BLAKE2b-256 | 7b49f5e5c60e100514cf6ba42ea614decb09028a8462418b6849c6e2b018e8c4 |
File details
Details for the file sqlreader-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: sqlreader-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6aee027eb9057539fcb2b6778677103e0c2b501aa88c46932172af32e20146d0 |
|
MD5 | 421a9d9a70eef8980e6aecd9911b0882 |
|
BLAKE2b-256 | 2b09b2ab82097f30617738d9d7d40381871e5ae0257d97c836b154bb7c36a51d |