Metadata-Version: 2.1
Name: sqlitedave_package
Version: 1.2.0
Summary: A wrapper for simplified sqlite usage using sqlite3.
Project-URL: Homepage, https://github.com/daveskura/sqlitedave
Project-URL: Author Linkedin, https://www.linkedin.com/in/2166883
Author-email: Dave Skura <dskura@gmail.com>
License-File: LICENSE
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.7
Requires-Dist: garbledave-package>=1.0.0
Description-Content-Type: text/markdown

# 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()

'''