Skip to main content

A wrapper for simplified sqlite usage using sqlite3.

Project description

SQLiteDave - A wrapper for simplified sqlite usage using sqlite3.

usage - load_csv_to_table

''' mydb = sqlite_db() mydb.connect() print(mydb.queryone('SELECT CURRENT_DATE')) mydb.close()

'''

usage - load_csv_to_table

''' mydb = sqlite_db() mydb.connect() print(mydb.dbstr()) csvfilename = 'Station.tsv' tblname = 'Station' mydb.load_csv_to_table(csvfilename,tblname,True,'\t') mydb.close() '''

usage - export_table_to_csv

''' mydb = sqlite_db() mydb.connect() print(mydb.dbstr()) csvfilename = 'Station.tsv' tblname = 'Station' mydb.export_table_to_csv(csvfilename,tblname) mydb.close()

'''

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

sqlitedave_package-2.0.1.tar.gz (35.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sqlitedave_package-2.0.1-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file sqlitedave_package-2.0.1.tar.gz.

File metadata

  • Download URL: sqlitedave_package-2.0.1.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for sqlitedave_package-2.0.1.tar.gz
Algorithm Hash digest
SHA256 7ef9f6e33a38510fad03ebd872767c6f47f00c0fab99a7d794e7832fa873fd69
MD5 f3044488235ab4afaf82196eb2254536
BLAKE2b-256 6e916f69bb96139b810a3db6c4411d257509ccdadf8869b3d706ec42f00f1868

See more details on using hashes here.

File details

Details for the file sqlitedave_package-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for sqlitedave_package-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 09d022703883c817a67e60c398122cc0521d55555a66354414a02fbf349080b7
MD5 a76fcf0109f55e091996f9bad3cfc2e1
BLAKE2b-256 c573602257d4833e76e2b17f2fe00d20800918ebf3a027ec2cf32909e865feb1

See more details on using hashes here.

Supported by

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