Pexicdb is a simple model based file database
Project description
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
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pexicdb-0.0.1.tar.gz
(11.0 kB
view details)
Built Distribution
pexicdb-0.0.1-py3-none-any.whl
(12.4 kB
view details)
File details
Details for the file pexicdb-0.0.1.tar.gz
.
File metadata
- Download URL: pexicdb-0.0.1.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce9f4873637e2ea95f758cc0926a7daaf3f0de8d49e5c8d61c9cdc39b12fe2e3 |
|
MD5 | 1818c4245468f517b3cb058d986925fd |
|
BLAKE2b-256 | 8bd17096716809afd125e72e00958c941993b2f4f1202e7d4dbfab3ab05b425b |
File details
Details for the file pexicdb-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pexicdb-0.0.1-py3-none-any.whl
- Upload date:
- Size: 12.4 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e6b4f7b57df0b50d2ee65634afda12f605926b4b2ce045d8407e179f6c8ff74 |
|
MD5 | 099b8af19d10a61c1ec91d94aa43d0f2 |
|
BLAKE2b-256 | 1155e3b9eacc1f45a9824172224d574e5b97e3c7c94ae0eee41e6b9b0c401041 |