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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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