NanoJson library provided by Mohammed Ghanam.
ManageDB
ManageDB is a powerful and easy-to-use library for managing databases in Python projects. It simplifies database connections, query execution, and data handling with a clean and intuitive interface.
🚀 Features
- ✅ Support for multiple database types (SQLite, MySQL, PostgreSQL)
- ✅ Simple SQL query execution
- ✅ Automatic connection handling
- ✅ Easy table creation and modification
- ✅ Efficient data handling using Python
📦 Installation
Install via pip:
pip install ManageDB==0.1
---
🔥 Usage
from managedb import Database
# Connect to a SQLite database
db = Database('mydatabase.db')
# Create a Table
query = """
CREATE TABLE IF NOT EXISTS users (
id INTEGER PRIMARY KEY,
name TEXT NOT NULL,
age INTEGER
)
"""
db.execute(query)
# Insert Data
db.execute("INSERT INTO users (name, age) VALUES (?, ?)", ('John', 30))
# Fetch Data
result = db.fetch_all("SELECT * FROM users")
print(result)
# Update Data
db.execute("UPDATE users SET age = ? WHERE name = ?", (31, 'John'))
# Delete Data
db.execute("DELETE FROM users WHERE name = ?", ('John',))
# Close Connection
db.close()
---
## 🌍 Compatibility
Python: 3.8+
## Databases:
- 1) SQLite3
- 2) DB
---
##🎯 Contribution
- We welcome all contributions! Open an issue or submit a pull request on GitHub.
---
##📄 License
- ManageDB is released under the MIT License.
## For Contact:
- My telegram Account: [@midoghanam](https://t.me/midoghanam)
- My Channel: [@mido_ghanam](https://t.me/mido_ghanam)
## Best Regards ♡
Metadata
Release files for ManageDB 0.1
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 |
|---|---|---|---|---|
| managedb-0.1.tar.gz | 3.4 kB | Without provenance | Details for managedb-0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| managedb-0.1-py3-none-any.whl | Python 3 | none | any | Details for managedb-0.1-py3-none-any.whl |
Total release size: 6.8 kB
Release files / managedb-0.1.tar.gz
| Download URL | managedb-0.1.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
33285c1d781cc4cca2a5c57991ad10191e9b72d8c17dcc229e52a5a5aec3a11b
|
|
BLAKE2b-256 checksum How to use checksums |
2911dfb7fa120e4e6aef1285ac13758596e9cded5ec53c6abbe8e6105e325caa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / managedb-0.1-py3-none-any.whl
| Download URL | managedb-0.1-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
31e730068fd56320437eaa5771b659dc2261818a70a92350c69fa8d6838e4bca
|
|
BLAKE2b-256 checksum How to use checksums |
90afedb43576ed815eb60538923fe9ba095090e1ba0f6385b12f4861fb3306aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for ManageDB 0.1
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.