Skip to main content

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)

Uploaded Source

Built Distribution

sqlreader-0.1.3-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

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

Hashes for sqlreader-0.1.3.tar.gz
Algorithm Hash digest
SHA256 773aabe76b8457ef9097293e22cc8dc01fce2fa6019e3aa027d1bdd79bd34cc6
MD5 400ed9e678f3b3d69ef7247650cd2195
BLAKE2b-256 7b49f5e5c60e100514cf6ba42ea614decb09028a8462418b6849c6e2b018e8c4

See more details on using hashes here.

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

Hashes for sqlreader-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 6aee027eb9057539fcb2b6778677103e0c2b501aa88c46932172af32e20146d0
MD5 421a9d9a70eef8980e6aecd9911b0882
BLAKE2b-256 2b09b2ab82097f30617738d9d7d40381871e5ae0257d97c836b154bb7c36a51d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page