Simplifies the database operations.
Project description
Database Operations
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:
openDatabase()
- Creates a database and returns a Database object.createTable()
- Creates table of given name.addEntry()
- Function for inserting values in database.databaseVersion()
- Returns sqlite3 version.dropTable()
- Function for deleting table.fetchInOrder()
- Function for fetching database entries in given order.getData()
- Function for getting all data.getFieldNames()
- Function for getting field names.getTable()
- Creates Table instance.intersection()
- Performs intersection and returns all distinct rows selected by query.length()
- Returns length of database.minus()
- Fetches rows which are present in first query but absent in second.removeEntry()
- Function for removing records from database.searchEntry()
- Function for searching in database.tableNames()
- Function for retrieving tables in a database.union()
- Performs union and returns all distinct rows selected by query.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)
Built Distribution
pydbops-0.0.6-py3-none-any.whl
(11.6 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 61af46cb6fd0bd4e03341900d9b8ade38cf8eff7e91759185a12c4681ae5b6ff |
|
MD5 | 0a3e6a86594d683cc2c69032512b6d81 |
|
BLAKE2b-256 | 1707f07413dbddf15401ac20fddd1fe8e898de3d8630cb98f8a9a2bf5a5e8f0d |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 68202a65b4876d130e7354e46d769384b7c69f095a3ba69879a16755e17c7ca9 |
|
MD5 | fdf96808fbd3bc5419be7b13025478de |
|
BLAKE2b-256 | 9cb90fdb8dd792b0371f2d5355ddf2f2c46c76f3a1f94886414378edded2e775 |