Skip to main content

Simplifies the database operations. Updated.

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:

(You will need to call openDatabase() method using db.)

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.

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

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pydbops-0.0.5.tar.gz
  • Upload date:
  • Size: 8.9 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.5.tar.gz
Algorithm Hash digest
SHA256 655baa08dfbc2a59f3644f2f93c7d71a01a73136938766e118356515ad91f397
MD5 df99203c49781c09c1b537f64b60d313
BLAKE2b-256 a4cfedd1071a5cecea7298efc00a599a3eec9840f587524f9df9e40fd3ec7123

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pydbops-0.0.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 970fffbcd611e434080bb458aeb05ffcca47683533bb7394763686167f0a0c21
MD5 d52d560a5464901ae90712a008c2751c
BLAKE2b-256 38852959a1f9af4afc9354d5b2a5bc2ed86b22263eaa29da8e813e4f4b69fdca

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