This is a simple wrapper class for sqlite
Project description
Changes
0.0.2 (2023-03-06)
- Initialization of the first commands without bug fixing,
- Push the release on pypi.
Sqlite Wrapper
To use python 3.7 is required.
- To initialise a new connection instance the class:
SqliteWrap(<connexionName>), - To create a new table call the function:
create_table("<tableName>" , listFields=[("<name>",<type>), ..]>), - To add items to the different tables:
read_rows("<tableName>" , listFields=[("<name>",<value>), ..]>), - To find the maximum of a field in a table:
max_index("<tableName>" , <fields="<nameFieds>">), - To display the content of a table:
read_rows("<tableName>",<listFields=["<name>", ..]>), - To delete information from a table:
delete_rows("<tableName>" , "<condition=("<field>",<value>)>"), - To empty a table:
reset_table("<tableName>"), - To close the connexion with the db:
close_db().
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
SQLITEWRAP-0.0.2.tar.gz
(3.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file SQLITEWRAP-0.0.2.tar.gz.
File metadata
- Download URL: SQLITEWRAP-0.0.2.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9b741533d45a12cdd3f7a203d17bf62213677634e8f6175eb88664ce460f66f
|
|
| MD5 |
fdfd6dfbf5903cd6721d881c67aa3d98
|
|
| BLAKE2b-256 |
16708627d6cbb68eadd8c12abe302ba2be7bd1c59c88542620cfc341da9b0a76
|
File details
Details for the file SQLITEWRAP-0.0.2-py3-none-any.whl.
File metadata
- Download URL: SQLITEWRAP-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f3e945b7c20c5222086d77dbdcabffad979a65d596104ea79f1078aab8e9ffbc
|
|
| MD5 |
e1823e22e88b3da34cdf577d77b51656
|
|
| BLAKE2b-256 |
d45e6cc32ef5904eb625459a14b64ad9442bd3c5104f7b401291d2ad292aec50
|