DbUnify (Database Management) is a versatile Python library that simplifies database connectivity and management using SQLite.
Install the DbUnify library from PyPI or GitHub.
pip install DbUnify
or
git clone https://github.com/Sepehr0Day/DbUnify.git
import DbUnify.sync as sync
# Initialize a database manager with the name 'database.db'
db_manager = sync.Manager('database.db')
import DbUnify.sync as sync
# Create a table named 'employees' with specified columns
db_manager.create_table('employees', [
('id', 'INTEGER PRIMARY KEY'),
('name', 'TEXT'),
('age', 'INTEGER'),
('department', 'TEXT')
])
For more information and advanced usage, refer to the DbUnify documentation.
This project is licensed under the MIT License. See the LICENSE file for details.
- Telegram: t.me/Sepehr0Day
Your Database Management DbUnify, made easy with DbUnify.
Star this repository if you found it useful ⭐