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:
add_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.4.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.4.tar.gz.
File metadata
- Download URL: SQLITEWRAP-0.0.4.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 |
8ee03fe030a713cc9351cadfe0931df3d81d00127ec690c3fa40452188c062c3
|
|
| MD5 |
476d0e13da0c840ae04fd7dd668bfd2a
|
|
| BLAKE2b-256 |
1d9c59a0c472ddb58ee0345d82352524faf06927ad5a27c82f55c5b53b29b168
|
File details
Details for the file SQLITEWRAP-0.0.4-py3-none-any.whl.
File metadata
- Download URL: SQLITEWRAP-0.0.4-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 |
13f42ce0c44a826f616745875a6f83bae1f437182763cdaf8f827fda3e7c6195
|
|
| MD5 |
32037246fa4a2b3e51d9b229c2dfe684
|
|
| BLAKE2b-256 |
88446a889980b7dc2f8598453d87f718a1a23c8f6325e1b24bb9db9f4155aa91
|