FunDB
'FunDB for local dict structured database for python
- Easy to use
- Offline
- python dictnary format
INSTALLATION:
$ python3 -m pip install fundb
IMPORT AND INTI:
>>> from fundb import fdb
>>> db = fdb('nameOfDb', 'secret', rotate = 8000)
CREATE DB:
- It over write data
- (type) dict only
>>> Data = {'name': 'cat', 'age': 2}
>>> db.write(Data)
READ DATA:
- (type) dict only
>>> db.read()
{'name': 'cat', 'age': 2}
NSERT PARRENT KEY:
>>> db.insert('key1', ['value1', 'value2'])
{'name': 'cat', 'age': 2, 'key1': ['value1', 'value2']}
REMOVE PARRENT KEY:
>>> db.remove('key1')
{'name': 'cat', 'age': 2}
CHECK PARRENT KEY:
>>> db.iskey('age')
True
GET VALUE FROM PARRENT KEY:
>>> db.getval('age')
2
SEARCH VALUE:
>>> tmp = db.search('ca')
>>> list[tmp]
[{'name': 'cat'}]
DB INFO:
>>> db.db_info()
{'Name': 'nameOfDb.dbf', 'Created': 'Fri Mar 12 07:52:32 2021', 'Modifyed': 'Fri Mar 12 07:52:32 2021', 'Size': 120, 'Mode': 33152, 'UId': 1000, 'GId': 1000}
FREE READ AND WRITE:
- Insert Any format
>>> Data2 = 'String type'
>>> db.free_write(Data2)
>>> db.free_read()
'String type'
Metadata
Release files for fundb 0.0.6
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 |
|---|---|---|---|---|
| fundb-0.0.6.tar.gz | 4.7 kB | Without provenance | Details for fundb-0.0.6.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| fundb-0.0.6-py3-none-any.whl | Python 3 | none | any | Details for fundb-0.0.6-py3-none-any.whl |
Total release size: 11.3 kB
Release files / fundb-0.0.6.tar.gz
| Download URL | fundb-0.0.6.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
68a9b051b81b6e7484e1435fb1c469c83141938ad6651894f92a14eb12b85ecc
|
|
BLAKE2b-256 checksum How to use checksums |
ee5e776a3274b77c58ffd7edcadd8778843913e4477c66809a05e2ab6b265cd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.4
|
Release files / fundb-0.0.6-py3-none-any.whl
| Download URL | fundb-0.0.6-py3-none-any.whl |
|---|---|
| Size | 6.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb436520cde7a48225738a83b7872cc9c995869b731510df5ea14cf12881c6cb
|
|
BLAKE2b-256 checksum How to use checksums |
80d2c0bd55d501bbd687104bea16b861b01dfe11f2916f3cead247e940fa6704
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.4
|
Security for fundb 0.0.6
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.