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.3.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.3.tar.gz.
File metadata
- Download URL: SQLITEWRAP-0.0.3.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 |
d7cdba1f3a4e2229628dabb211c88042a3e75674f5ff7f6336398cd0a2f668b1
|
|
| MD5 |
ca3350439f39971bd92abcc876d23cee
|
|
| BLAKE2b-256 |
9faaeefecfc089e14a98af7e37295773f90bb30248d84948fd2add01a75d3f7b
|
File details
Details for the file SQLITEWRAP-0.0.3-py3-none-any.whl.
File metadata
- Download URL: SQLITEWRAP-0.0.3-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 |
6be8c42d3e0548383218c9ce4c0bd0aa1d30803b3ef51876147331a25da0f351
|
|
| MD5 |
2592ea11ba74f72ae0c8e90cea225159
|
|
| BLAKE2b-256 |
def187617bc4e3119b54f4d0058ff9269504775af114ca081512f8d23b0bdd7f
|