Skip to main content

This is a simple JSON-based database library

Project description

It is a simple JSON-based database library. It can be used both synchronously and asynchronously.

Example of synchronous use: conn = pyweb_database.connection(database_name) # Creating a database connection conn.create_table(table_name) # Create a table conn.insert_datas_into_table(table_name, [9234, 3895345, 4358, 340858340], unique=True) # Insert multiple unique data into table conn.delete_from_table(table_name, 9234) # Delete the data '9234' from table conn.update_data(table_name, 3895345, 50505) # Update the data '3895345' to '50505' in table conn.get_data(table_name) # Getting content from table conn.insert_into_table(table_name, 8023) # Insert a single data '8023' into table conn.delete_table(table_name) # Delete table

Example of asynchronous use: conn = pyweb_database.connection(database_name) # Creating a database connection await conn.create_table(table_name) # Create a table await conn.insert_datas_into_table(table_name, [9234, 3895345, 4358, 340858340], unique=True) # Insert multiple unique data into table await conn.delete_from_table(table_name, 9234) # Delete the data '9234' from table await conn.update_data(table_name, 3895345, 50505) # Update the data '3895345' to '50505' in table await conn.get_data(table_name) # Getting content from table await conn.insert_into_table(table_name, 8023) # Insert a single data '8023' into table await conn.delete_table(table_name) # Delete table

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

pyweb_db-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

pyweb_db-1.0.1-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file pyweb_db-1.0.1.tar.gz.

File metadata

  • Download URL: pyweb_db-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyweb_db-1.0.1.tar.gz
Algorithm Hash digest
SHA256 80148fb09603da8513326d4d7a582c8d930fbf7e4b2e08c2c21741e6bf39de9a
MD5 c0d5127d809c983cabf5acbe0d56e86a
BLAKE2b-256 e9a67d59389e6491fcd66a395c5aa44c9fb3abaa6e9d660bd3beb02c45248161

See more details on using hashes here.

File details

Details for the file pyweb_db-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pyweb_db-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.11

File hashes

Hashes for pyweb_db-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a97808a30b9f6636c2edaa3abcc699a7c445f62d8540dcf25969bf31cbcc1d97
MD5 e24ebda89fda51f1fecfb221037480c8
BLAKE2b-256 8ced817f806870c1cfde03e5c2c567cd1b70700f4ab23d5857abf626914fbb30

See more details on using hashes here.

Supported by

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