Pexicdb 
pexicdb is a simple model based file database, pexicdb is a lightweight and stores data in the folders and files, basically a folder is called container.
There are 2 types of files inside container
- container file(models stored in this)
- data file(contains all data about the container)
pexicdb interact with the containers using model which is usually a list of fields.
Install
$ pip install pexicdb
Simple program
from pexicdb.fields import StringField, UUIDField
from pexicdb import connect
user_model = {
"id": UUIDField("id"),
"name": StringField("name")
}
users = connect("users", list(user_model.values()))
users.insert({
"name" : "Harkishan Khuva"
})
NOTE : The first field of any Model must be either UUIDField or an IntegerField.
Metadata
Release files for pexicdb 0.0.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 | |
|---|---|---|---|
| pexicdb-0.0.1.tar.gz | 11.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pexicdb-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / pexicdb-0.0.1.tar.gz
| Download URL | pexicdb-0.0.1.tar.gz |
|---|---|
| Size | 11.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ce9f4873637e2ea95f758cc0926a7daaf3f0de8d49e5c8d61c9cdc39b12fe2e3
|
|
BLAKE2b-256 checksum How to use checksums |
8bd17096716809afd125e72e00958c941993b2f4f1202e7d4dbfab3ab05b425b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.2
|
Release files / pexicdb-0.0.1-py3-none-any.whl
| Download URL | pexicdb-0.0.1-py3-none-any.whl |
|---|---|
| Size | 12.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e6b4f7b57df0b50d2ee65634afda12f605926b4b2ce045d8407e179f6c8ff74
|
|
BLAKE2b-256 checksum How to use checksums |
1155e3b9eacc1f45a9824172224d574e5b97e3c7c94ae0eee41e6b9b0c401041
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.10.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.6 CPython/3.10.2
|