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.


Metadata

Release files for onstro-db 0.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for onstro-db 0.2.2
File Size Uploaded Provenance
onstro-db-0.2.2.tar.gz 9.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for onstro-db 0.2.2
File Interpreter ABI Platform
onstro_db-0.2.2-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 21.2 kB

Release files / onstro-db-0.2.2.tar.gz

Download URL onstro-db-0.2.2.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
9dc3a89fba06cb4307306400ee2cb9dcdffb95617446c03314448a07e6a1c8b4
BLAKE2b-256 checksum
How to use checksums
3ae10f584180b079e352b62756d68b16bd2ffcc970d52ba5f25bc7b806c53f2b
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / onstro_db-0.2.2-py2.py3-none-any.whl

Download URL onstro_db-0.2.2-py2.py3-none-any.whl
Size 11.6 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c1ca34d80351f902d144600af75e56a6aa71c58d97a391650662399b9e3806af
BLAKE2b-256 checksum
How to use checksums
29fb8eb6518a1aabad9ced797c1fc383632e0f9dec360e079b37b2aec000623c
Upload date
Uploaded using Trusted Publishing?
What is 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

Security for onstro-db 0.2.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

0.2.2 This release

2 release files No provenance

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