Skip to main content

Onstro DB

Azure DevOps builds GitHub

A simple, fast and strict DB designed to store and handle large amounts of data.

https://adwaith-rajesh.github.io/onstro-db/

🔻 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.


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

onstro-db-0.1.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

onstro_db-0.1.0-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file onstro-db-0.1.0.tar.gz.

File metadata

  • Download URL: onstro-db-0.1.0.tar.gz
  • Upload date:
  • Size: 9.4 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

Hashes for onstro-db-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ebe71ff8ea023182372036eb0bf7d6d251fdc41997f15cc0461f5c9abc3e86b9
MD5 46d69da46b6e50e4382245ff2fbbb83d
BLAKE2b-256 5602f7db90403320a3bda43a7e55dbcd33cc1ccf322f97051e436ce408f77d70

See more details on using hashes here.

File details

Details for the file onstro_db-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: onstro_db-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 11.3 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

Hashes for onstro_db-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 de2c234b8cad90c811104785fd8d35af20e4a9d99c17ec553f7f29fc5cfa69bc
MD5 f857f5a8ef0b22aafe1e5573586e2ef5
BLAKE2b-256 302dc37142a34508a026bd90e51f9ce69cecb8bf7f6dff670205d6c127899d10

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page