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.1.tar.gz
(2.0 kB
view hashes)
Built Distribution
Close
Hashes for sqlreader-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 92c1b0bf5a93ab393dd6d2e7e52152dc3306409163044c3f86032b8f60ed8b9a |
|
MD5 | d1cefd471c62246b0f2d512e63120898 |
|
BLAKE2b-256 | 70dfe9dd10d4f784f9882ab3bd0aa5cdca68e2d8e0628d7790bd442f870775d5 |