# PyDB - Encrypted Python Database
## English
### Introduction
**PyDB** is a simple, efficient, and encrypted Python database library for storing data ranging from small to massive scale. This is an open-source database solution that uses JSON-based storage with encryption to keep your data secure.
### Key Features
- **Encrypted Storage**: All data is encrypted using password-based encryption
- **Simple API**: Easy-to-use interface for database operations
- **Type Safety**: Column definitions with data type validation
- **CRUD Operations**: Full support for Create, Read, Update, and Delete operations
- **Lightweight**: No external database server required
- **Python Native**: Pure Python implementation
### Basic Usage
```python
from pydb import (
# Configurate
Database, Column,
# Type
String, Number, Integer, Float, Boolean
)
# Create a new encrypted database
db = Database.create_new(
"my_database.pydb", # file.pydb
"my_password", # a password
)
# Define table columns
columns = {
'id': Column('id', Integer, nullable=False),
'name': Column('name', String, max_length=100),
'email': Column('email', String)
}
# Create table and insert data
table = db.create_table("users", columns)
table.insert_data(id=1, name="John", email="john@example.com")
# Save database
db.save()
```
### Author
**Elang Muhammad R. J. (Elang-elang)**
### License
This project is licensed under the MIT License. If you modify or improve this code, please contact the author or include attribution and update the repository.
### Note
This database is based on encrypted JSON storage. While you can create similar databases from scratch or modify this script, databases created using similar concepts are considered derivative works and should maintain proper attribution.
---
## Bahasa Indonesia
### Perkenalan
**PyDB** adalah library database Python yang sederhana, efisien, dan terenkripsi untuk menyimpan data dari skala kecil hingga masif. Ini adalah solusi database open-source yang menggunakan penyimpanan berbasis JSON dengan enkripsi untuk menjaga keamanan data Anda.
### Fitur Utama
- **Penyimpanan Terenkripsi**: Semua data dienkripsi menggunakan enkripsi berbasis kata sandi
- **API Sederhana**: Interface yang mudah digunakan untuk operasi database
- **Keamanan Tipe Data**: Definisi kolom dengan validasi tipe data
- **Operasi CRUD**: Dukungan penuh untuk operasi Create, Read, Update, dan Delete
- **Ringan**: Tidak memerlukan server database eksternal
- **Native Python**: Implementasi murni Python
### Penggunaan Dasar
```python
from PyDB import (
# Configurasi
Database, Column,
# Tipe
String, Number, Integer, Float, Boolean
)
# Buat database terenkripsi baru
db = Database.create_new(
"database_saya.pydb", # file.pydb
"kata_sandi_saya" # kata sandi
)
# Definisikan kolom tabel
columns = {
'id': Column('id', int, nullable=False),
'nama': Column('nama', str, max_length=100),
'email': Column('email', str)
}
# Buat tabel dan masukkan data
table = db.create_table("pengguna", columns)
table.insert_data(id=1, nama="John", email="john@example.com")
# Simpan database
db.save()
```
### Pembuat
**Elang Muhammad R. J. (Elang-elang)**
### Lisensi
Proyek ini dilisensikan di bawah MIT License. Jika Anda memodifikasi atau memperbaiki kode ini, harap hubungi pembuat atau sertakan atribusi dan perbarui repositori.
### Catatan
Database ini didasarkan pada penyimpanan JSON terenkripsi. Meskipun Anda dapat membuat database serupa dari awal atau memodifikasi script ini, database yang dibuat menggunakan konsep serupa dianggap sebagai karya turunan dan harus mempertahankan atribusi yang tepat.
---
## Installation
```bash
pip install PyDB-Encrypted
```
## Requirements
- Python 3.7+
- cryptography
## Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
## Contact
For questions or contributions, please contact Elang Muhammad R. J. (Elang-elang)
Raw data
{
"_id": null,
"home_page": "https://github.com/Elang-elang/PyDB-Encrypted",
"name": "PyDB-Encrypted",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": null,
"keywords": "database, encryption, json, lightweight, embedded-database, python-database, encrypted-storage",
"author": "Elang-elang",
"author_email": "elangmuhammad888@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/74/ca/705b48c8f50d2af62f7c212c0ac5368bd0cc01bce632524e474f8ebdc6e6/pydb_encrypted-1.1.5.tar.gz",
"platform": null,
"description": "# PyDB - Encrypted Python Database\n\n## English\n\n### Introduction\n\n**PyDB** is a simple, efficient, and encrypted Python database library for storing data ranging from small to massive scale. This is an open-source database solution that uses JSON-based storage with encryption to keep your data secure.\n\n### Key Features\n\n- **Encrypted Storage**: All data is encrypted using password-based encryption\n- **Simple API**: Easy-to-use interface for database operations\n- **Type Safety**: Column definitions with data type validation\n- **CRUD Operations**: Full support for Create, Read, Update, and Delete operations\n- **Lightweight**: No external database server required\n- **Python Native**: Pure Python implementation\n\n### Basic Usage\n\n```python\nfrom pydb import (\n # Configurate\n Database, Column,\n \n # Type\n String, Number, Integer, Float, Boolean\n)\n# Create a new encrypted database\ndb = Database.create_new(\n \"my_database.pydb\", # file.pydb\n \"my_password\", # a password\n)\n\n# Define table columns\ncolumns = {\n 'id': Column('id', Integer, nullable=False),\n 'name': Column('name', String, max_length=100),\n 'email': Column('email', String)\n}\n\n# Create table and insert data\ntable = db.create_table(\"users\", columns)\ntable.insert_data(id=1, name=\"John\", email=\"john@example.com\")\n\n# Save database\ndb.save()\n```\n\n### Author\n\n**Elang Muhammad R. J. (Elang-elang)**\n\n### License\n\nThis project is licensed under the MIT License. If you modify or improve this code, please contact the author or include attribution and update the repository.\n\n### Note\n\nThis database is based on encrypted JSON storage. While you can create similar databases from scratch or modify this script, databases created using similar concepts are considered derivative works and should maintain proper attribution.\n\n---\n\n## Bahasa Indonesia\n\n### Perkenalan\n\n**PyDB** adalah library database Python yang sederhana, efisien, dan terenkripsi untuk menyimpan data dari skala kecil hingga masif. Ini adalah solusi database open-source yang menggunakan penyimpanan berbasis JSON dengan enkripsi untuk menjaga keamanan data Anda.\n\n### Fitur Utama\n\n- **Penyimpanan Terenkripsi**: Semua data dienkripsi menggunakan enkripsi berbasis kata sandi\n- **API Sederhana**: Interface yang mudah digunakan untuk operasi database\n- **Keamanan Tipe Data**: Definisi kolom dengan validasi tipe data\n- **Operasi CRUD**: Dukungan penuh untuk operasi Create, Read, Update, dan Delete\n- **Ringan**: Tidak memerlukan server database eksternal\n- **Native Python**: Implementasi murni Python\n\n### Penggunaan Dasar\n\n```python\nfrom PyDB import (\n # Configurasi\n Database, Column,\n \n # Tipe\n String, Number, Integer, Float, Boolean\n)\n# Buat database terenkripsi baru\ndb = Database.create_new(\n \"database_saya.pydb\", # file.pydb\n \"kata_sandi_saya\" # kata sandi\n)\n\n# Definisikan kolom tabel\ncolumns = {\n 'id': Column('id', int, nullable=False),\n 'nama': Column('nama', str, max_length=100),\n 'email': Column('email', str)\n}\n\n# Buat tabel dan masukkan data\ntable = db.create_table(\"pengguna\", columns)\ntable.insert_data(id=1, nama=\"John\", email=\"john@example.com\")\n\n# Simpan database\ndb.save()\n```\n\n### Pembuat\n\n**Elang Muhammad R. J. (Elang-elang)**\n\n### Lisensi\n\nProyek ini dilisensikan di bawah MIT License. Jika Anda memodifikasi atau memperbaiki kode ini, harap hubungi pembuat atau sertakan atribusi dan perbarui repositori.\n\n### Catatan\n\nDatabase ini didasarkan pada penyimpanan JSON terenkripsi. Meskipun Anda dapat membuat database serupa dari awal atau memodifikasi script ini, database yang dibuat menggunakan konsep serupa dianggap sebagai karya turunan dan harus mempertahankan atribusi yang tepat.\n\n---\n\n## Installation\n\n```bash\npip install PyDB-Encrypted\n```\n\n## Requirements\n\n- Python 3.7+\n- cryptography\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## Contact\n\nFor questions or contributions, please contact Elang Muhammad R. J. (Elang-elang)\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A simple, efficient, and encrypted Python database library for secure data storage",
"version": "1.1.5",
"project_urls": {
"Bug Tracker": "https://github.com/Elang-elang/PyDB-Encrypted/issues",
"Documentation": "https://github.com/Elang-elang/PyDB-Encrypted#readme",
"Homepage": "https://github.com/Elang-elang/PyDB-Encrypted",
"Source Code": "https://github.com/Elang-elang/PyDB-Encrypted"
},
"split_keywords": [
"database",
" encryption",
" json",
" lightweight",
" embedded-database",
" python-database",
" encrypted-storage"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "422b9f07b836141e26db7332faaefca9e014d4f697795d0454e51aa64c2c5a74",
"md5": "cba5465a2766c6d879bf55a85e5d7601",
"sha256": "b5807db217713600a8968bdabc72cfb9bc750bb9a757b26efc7ee55cc5b27857"
},
"downloads": -1,
"filename": "pydb_encrypted-1.1.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "cba5465a2766c6d879bf55a85e5d7601",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 18320,
"upload_time": "2025-10-24T08:18:56",
"upload_time_iso_8601": "2025-10-24T08:18:56.520409Z",
"url": "https://files.pythonhosted.org/packages/42/2b/9f07b836141e26db7332faaefca9e014d4f697795d0454e51aa64c2c5a74/pydb_encrypted-1.1.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "74ca705b48c8f50d2af62f7c212c0ac5368bd0cc01bce632524e474f8ebdc6e6",
"md5": "42e4daabbe4cb51316920c5991b6e3d9",
"sha256": "db35938cd26d04af4d6f07bf5fbff108abffdec22c4f972aefc6fcf5f7bfd93d"
},
"downloads": -1,
"filename": "pydb_encrypted-1.1.5.tar.gz",
"has_sig": false,
"md5_digest": "42e4daabbe4cb51316920c5991b6e3d9",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 17470,
"upload_time": "2025-10-24T08:18:58",
"upload_time_iso_8601": "2025-10-24T08:18:58.143582Z",
"url": "https://files.pythonhosted.org/packages/74/ca/705b48c8f50d2af62f7c212c0ac5368bd0cc01bce632524e474f8ebdc6e6/pydb_encrypted-1.1.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-10-24 08:18:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "Elang-elang",
"github_project": "PyDB-Encrypted",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pydb-encrypted"
}