ArrayDb
A database where data is stored in a array of dicts
Features
- Insert, Update, Delete
- Filter data
- Change/Add columns in database
Demo
from arraydb import ArrayDb
members = ArrayDb(["username", "age", "gender"], [])
# insert data
members.insert({"username": "John", "age": 22, "gender": "Male"})
members.insert({"username": "Ayesha", "age": 20, "gender": "Female"})
# Update specific data
members.update(
where={"username": "John"},
data={"age": 21}
)
# Even better
members.update(
where={"age": {"gt": 20}}, # Update all rows where age is greater than 20
data={"age": 21}
) # gt, lt, gte, lte, not, contains, in, startswith, endswith -> More coming soon
Metadata
Release files for arraydb 0.1.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 | |
|---|---|---|---|
| arraydb-0.1.1.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| arraydb-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.1 kB
Release files / arraydb-0.1.1.tar.gz
| Download URL | arraydb-0.1.1.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
86dff486543bc6b4a4e67fee954fd421cc4ef05ea2e0b5e2182abaf93d0c19f3
|
|
BLAKE2b-256 checksum How to use checksums |
82ab0c58bd66a0a22811cc412519e2419b008997114a4eaf4ecd039bf91c7927
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|
Release files / arraydb-0.1.1-py3-none-any.whl
| Download URL | arraydb-0.1.1-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d4737818f57f969cb4522c4f7d47ccdfe4ebc093e594de390e44bcb099a0147c
|
|
BLAKE2b-256 checksum How to use checksums |
29533742b7ea154bb2ce4bdb86bb65c24bc9612900525052a5b44177fd07bb1f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.8.16
|