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.5.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.5.tar.gz.
File metadata
- Download URL: SQLITEWRAP-0.0.5.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 |
ec830bb22ff3d2c0381fb787c629ddbfeb7299cdb723d7d354c00e172391ae94
|
|
| MD5 |
d46a9906fcc96726a7eeeb5c0b3ee990
|
|
| BLAKE2b-256 |
27fbeae6fbbe76e58293a0ba52aa2668980a008fb99c2b704356a1e4b983540f
|
File details
Details for the file SQLITEWRAP-0.0.5-py3-none-any.whl.
File metadata
- Download URL: SQLITEWRAP-0.0.5-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 |
76d780f817d55282f0dd91e20af707f36257da3f7fce6aa966b81fac72149326
|
|
| MD5 |
f37170d66e6529669de57b2e1b87db28
|
|
| BLAKE2b-256 |
4782789f56579a19a5e2a16b818cc533dc7d9803187f0b3953bdaf6050b93034
|