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.2.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

pyweb_db-1.0.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pyweb_db-1.0.2.tar.gz
  • Upload date:
  • Size: 3.7 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.2.tar.gz
Algorithm Hash digest
SHA256 8d4c1038eed515bbcdc1a709127cc1bc7daa99343ef8175a2c478215f5b5d79d
MD5 248d0cd3592c49d04ea27f9f62e72ec8
BLAKE2b-256 9806cb9889cd1a7208199ea3b34376452bd66a459b4d8c828b90d0ba2b87357f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyweb_db-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 71da4369603e554ab48b4d7353cec9729ea522fea2305860906f23e8cdfdf5e5
MD5 dbb9e87546d4f4ffbdc456bc60e4c93f
BLAKE2b-256 d9b47713ae0f5bc91dc52c373bcfbb10eac9b03742ef92bbd80ca408cfeb7530

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