StupidDB
StupidDB is probably the stupidest database system ever made.
It's a simple KV Store, but every key is actually a directory, and inside this directory is a file containing the value of the key.
But it's still actually very easy to use!
Here's the documentation :
You can install it using pip : pip install stupiddb
import stupiddb
db = stupiddb.StupidDatabase("my_db")
db.set("cow", "mammal") # Set a KV pair
db.set_dict({"snake": "reptile", "mouse": "mammal", "crocodile": "reptile", "cat": "mammal"}) # Set multiple KV pairs using a dictionary syntax
print(f"The cow is a {db.get('cow')}") # Get a key's value
db.delete("cow") # Remove a key out of the database
database = db.get_as_dict() # Get the whole database as a dictionary
db.reset() # Remove all keys out of the database
And that's it!
Metadata
Release files for stupiddb 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| stupiddb-1.0.tar.gz | 2.5 kB | Without provenance | Details for stupiddb-1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stupiddb-1.0-py3-none-any.whl | Python 3 | none | any | Details for stupiddb-1.0-py3-none-any.whl |
Total release size: 5.1 kB
Release files / stupiddb-1.0.tar.gz
| Download URL | stupiddb-1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4fc9d5ca83b4d13903a3a899d0247531431eecba8ad788723b82c523d626e770
|
|
BLAKE2b-256 checksum How to use checksums |
8b1399342fe57a06baf0d5df1a3faee0b7756706b563558980f6955c6d21f306
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Release files / stupiddb-1.0-py3-none-any.whl
| Download URL | stupiddb-1.0-py3-none-any.whl |
|---|---|
| Size | 2.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0ce395076058edcc474ecebb547fe911edb9024a17fe6b1a5b1c9b82724d21f6
|
|
BLAKE2b-256 checksum How to use checksums |
fdadccd7efd2862fd2390b857b9d57a3b401b8ff82986481fe8ec74a4ebbdda9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.9
|
Security for stupiddb 1.0
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.