jflatdb
🚀 jflatdb is a lightweight, file-based JSON database system designed for developers who want the simplicity of NoSQL with query features inspired by SQL.
No servers, no external dependencies — just plug-and-play storage with indexing, queries, and persistence.
📑 Table of Contents
🚀 Features
- 📦 JSON-powered storage – human-readable, lightweight, and portable
- ⚡ Fast querying with indexes – supports filters, conditions, and sorting
- 📑 Built-in functions – string, date/time, and aggregation functions
- 🔒 Security & validation – encryption, constraints, and safe writes
- 🛠 Zero setup – no database server needed, runs in pure Python
📦 Installation
pip install jflatdb
or from source
git clone https://github.com/jflatdb/jflatdb.git
cd jflatdb
pip install .
Usage
from jflatdb.database import Database
db = Database("users.json", password="your-password")
# Create or insert data
db.insert({"name": "Akki", "email": "akki@example.com"})
# Find records
users = db.find({"name": "Akki"})
# Advanced queries with operators
# Greater than, less than, etc.
young_users = db.find({"age": {"$gt": 18, "$lt": 30}})
# IN operator
specific_ids = db.find({"id": {"$in": [1, 2, 3]}})
# LIKE for pattern matching
names_starting_with_a = db.find({"name": {"$like": "A%"}})
# BETWEEN
ages_in_range = db.find({"age": {"$between": [20, 30]}})
# Update records
db.update({"name": "Akki"}, {"email": "new@email.com"})
# Delete records
db.delete({"name": "Akki"})
📁 Project Structure
jflatdb/
├── jflatdb/
│ ├── __init__.py
│ ├── database.py
│ ├── query_engine.py
│ └── indexing.py
| ├── scheme.py
├── tests/
├── examples/
├── setup.py
├── README.md
└── LICENSE
🎉 Contributors Leaderboard
🤝 Contributing
We welcome contributions from the community!
To get started:
Fork the repo
Create a new branch: git checkout -b feature-name
Make your changes and commit: git commit -m 'Add feature'
Push to your branch: git push origin feature-name
Open a Pull Request
Please read our CONTRIBUTING.md for full guidelines.
📄 License
This project is licensed under the MIT License - see the LICENSE file for details.
💬 Join the Community
🙌 Credits
Developed and maintained by Akki.
🙏 Support & Contributions
Your contributions make this project better — whether it's reporting a bug, suggesting a feature, improving the documentation, or writing code. We welcome developers of all levels to participate!
If you like this project, consider ⭐ starring it and sharing it with others.
Together, let’s build something awesome with jflatdb.
Happy coding! 🚀
Metadata
Release files for jflatdb 1.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 | |
|---|---|---|---|
| jflatdb-1.0.1.tar.gz | 29.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jflatdb-1.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.4 kB
Release files / jflatdb-1.0.1.tar.gz
| Download URL | jflatdb-1.0.1.tar.gz |
|---|---|
| Size | 29.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7f07dd2ad797e6f086e29ce9efdfb41510e31246484490492db62af54049d821
|
|
BLAKE2b-256 checksum How to use checksums |
ed23a1d4790270fe86d6aa4f6b9f3d17076c4b965833b553c044b6ba6e079391
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.
Transparency logRelease files / jflatdb-1.0.1-py3-none-any.whl
| Download URL | jflatdb-1.0.1-py3-none-any.whl |
|---|---|
| Size | 20.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0012a9be248973e13d80e4de62a906d06e43c76d537aeec895b8f9da733c059c
|
|
BLAKE2b-256 checksum How to use checksums |
fe0dcf5b587e744d5b26d9974abaeb4d86d23ca739a3e23e4a811e071c9c0ab6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Oct 6, 2025.
Transparency log