Skip to main content

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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SQLITEWRAP-0.0.5-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

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

Hashes for SQLITEWRAP-0.0.5.tar.gz
Algorithm Hash digest
SHA256 ec830bb22ff3d2c0381fb787c629ddbfeb7299cdb723d7d354c00e172391ae94
MD5 d46a9906fcc96726a7eeeb5c0b3ee990
BLAKE2b-256 27fbeae6fbbe76e58293a0ba52aa2668980a008fb99c2b704356a1e4b983540f

See more details on using hashes here.

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

Hashes for SQLITEWRAP-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 76d780f817d55282f0dd91e20af707f36257da3f7fce6aa966b81fac72149326
MD5 f37170d66e6529669de57b2e1b87db28
BLAKE2b-256 4782789f56579a19a5e2a16b818cc533dc7d9803187f0b3953bdaf6050b93034

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page