DbUnify | Database Management
DbUnify (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.
Installation
Install the DbUnify library from PyPI or GitHub.
pip install DbUnify
Connect To Database
from DbUnify.SQLite3.sync.ORM import Model, ORMManager
from DbUnify.SQLite3.data import Rules, DataType
# Define a model
class User(Model):
name = Field(data_type=DataType.TEXT)
email = Field(data_type=DataType.TEXT, constraints=[Rules.UNIQUE])
# Create an ORMManager instance and set it for the model
orm_manager = ORMManager(db_name='example.db')
User.set_manager(orm_manager)
# Create the table
User.create_table()
Documentation DbUnify:
For more information and advanced usage, refer to the DbUnify documentation.
License
This project is licensed under the MIT License. See the LICENSE file for details.
Developer
- Telegram: t.me/Sepehr0Day
Your Database Management DbUnify, made easy with DbUnify.
Metadata
Release files for DbUnify 2.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dbunify-2.1.2.tar.gz | 27.5 kB | Without provenance | Details for dbunify-2.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| DbUnify-2.1.2-py3-none-any.whl | Python 3 | none | any | Details for DbUnify-2.1.2-py3-none-any.whl |
Total release size: 67.8 kB
Release files / dbunify-2.1.2.tar.gz
| Download URL | dbunify-2.1.2.tar.gz |
|---|---|
| Size | 27.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a0a4c7ab866679e1608676940b4f007fbf94d76eea82c5e726673b7340b9391e
|
|
BLAKE2b-256 checksum How to use checksums |
565d3b51c85a2a1a661d510408d6029e446f049c388775264ab65793c8bff0bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Release files / DbUnify-2.1.2-py3-none-any.whl
| Download URL | DbUnify-2.1.2-py3-none-any.whl |
|---|---|
| Size | 40.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f96eb10fff76be956f65b6683d81df68330f03d155785f3ee36d5927beda0a5b
|
|
BLAKE2b-256 checksum How to use checksums |
d9c74802cb5cf8cc4b14a9e3c2fc4ca5139177be601842350af4a3b922bc95ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.3
|
Security for DbUnify 2.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.