Skip to main content

NanoJson library provided by Mohammed Ghanam.

PyPI - Version
Python License
Status


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 ♡

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)

Source distribution for ManageDB 0.1
File Size Uploaded
managedb-0.1.tar.gz 3.4 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

0.1 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