A simple and efficient DataBase designed to store and use large amounts of data.
Project description
Onstro DB
A simple, fast and strict DB designed to store and handle large amounts of data.
🔻 Installation
pip install onstro-db
📚 tl;dr
A simple code snippet on how to use OnstroDB
from onstrodb import OnstroDb
# define the schema for the DB
db_schema = {
"name": {"type": "str", "required": True},
"age": {"type": "int", "required": True},
"place": {"type": "str", "default": "canada"}
}
# initialize the db
db = OnstroDb(db_name="test-db", schema=db_schema)
db.add([
{"name": "adwaith", "age": 16},
{"name": "fred", "age": 17, "place": "texas"}
])
db.commit()
❓ Why use it ?
We all know that Pandas is fast, but it's also really hard to learn for beginners. That's where OnstroDb comes into action. This DB allows you to perform CRUD operations on data, with the speed promised by Pandas. Without you having to know a single thing about pandas. The DB is also strict.,i.e once the schema and the types of the data are defined it cannot be modified. And it also comes with a CLI.
-
Click here to see the docs.
🤔 Why name it Onstro DB ?
Coz it's supposed to handle monstrous amount of data.
🥰 Contributing.
Read the CONTRIBUTING.md for the code design style and linting preferences.
Once you've gone though follow theses steps.
- Fork this repo.
- Create a new branch from master. (Very important)
- Make your required changes with good commit messages.
- Write the test to make sure that your changes work.
- Create a pull request.
- Bug the maintainers until it get merged 😊.
🙊 Have any issue or feature request.
Create an issue or join our Discord server Here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file onstro-db-0.2.2.tar.gz
.
File metadata
- Download URL: onstro-db-0.2.2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dc3a89fba06cb4307306400ee2cb9dcdffb95617446c03314448a07e6a1c8b4 |
|
MD5 | 5bd435ad7460b5cc3302eb84d0d068d1 |
|
BLAKE2b-256 | 3ae10f584180b079e352b62756d68b16bd2ffcc970d52ba5f25bc7b806c53f2b |
File details
Details for the file onstro_db-0.2.2-py2.py3-none-any.whl
.
File metadata
- Download URL: onstro_db-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c1ca34d80351f902d144600af75e56a6aa71c58d97a391650662399b9e3806af |
|
MD5 | 8d0f686bb42062526177ccc34848c760 |
|
BLAKE2b-256 | 29fb8eb6518a1aabad9ced797c1fc383632e0f9dec360e079b37b2aec000623c |