Skip to main content

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


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)

Source distribution for DbUnify 2.1.2
File Size Uploaded
dbunify-2.1.2.tar.gz 27.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for DbUnify 2.1.2
File Interpreter ABI Platform
DbUnify-2.1.2-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.1.2 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page