Skip to main content

Simplifies the database operations.

Project description

Database Operations

PyPI Latest Release License

Library for simplifying database operations. Contains standard functions for database operations.

GitHub Page : https://github.com/NotShrirang/pydbops

Importing pydbops:

from pydbops import *

Methods in Database:

  1. openDatabase() - Creates a database and returns a Database object.
  2. createTable() - Creates table of given name.
  3. addEntry() - Function for inserting values in database.
  4. databaseVersion() - Returns sqlite3 version.
  5. dropTable() - Function for deleting table.
  6. fetchInOrder() - Function for fetching database entries in given order.
  7. getData() - Function for getting all data.
  8. getFieldNames() - Function for getting field names.
  9. getTable() - Creates Table instance.
  10. intersection() - Performs intersection and returns all distinct rows selected by query.
  11. length() - Returns length of database.
  12. minus() - Fetches rows which are present in first query but absent in second.
  13. removeEntry() - Function for removing records from database.
  14. searchEntry() - Function for searching in database.
  15. tableNames() - Function for retrieving tables in a database.
  16. union() - Performs union and returns all distinct rows selected by query.
  17. updateEntry() - Function for updating values in database.

For printing data in database, you can use default print() method by passing Database object in it.

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

pydbops-0.0.6.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

pydbops-0.0.6-py3-none-any.whl (11.6 kB view details)

Uploaded Python 3

File details

Details for the file pydbops-0.0.6.tar.gz.

File metadata

  • Download URL: pydbops-0.0.6.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for pydbops-0.0.6.tar.gz
Algorithm Hash digest
SHA256 61af46cb6fd0bd4e03341900d9b8ade38cf8eff7e91759185a12c4681ae5b6ff
MD5 0a3e6a86594d683cc2c69032512b6d81
BLAKE2b-256 1707f07413dbddf15401ac20fddd1fe8e898de3d8630cb98f8a9a2bf5a5e8f0d

See more details on using hashes here.

File details

Details for the file pydbops-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: pydbops-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 11.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.3

File hashes

Hashes for pydbops-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 68202a65b4876d130e7354e46d769384b7c69f095a3ba69879a16755e17c7ca9
MD5 fdf96808fbd3bc5419be7b13025478de
BLAKE2b-256 9cb90fdb8dd792b0371f2d5355ddf2f2c46c76f3a1f94886414378edded2e775

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