README
What is this repository for?
A simple database-like facility for writing json-like structures into text files. Each structure is written on a separate line.
- Takes a directory path where the files are situated
- If the directory does not exist it is created.
- Splits the records into separate files, according to the record type.
Or
- provides a key-value store with persistence based on the json-store described above
How do I get set up?
-
Summary of set up
If this gets published on pypi.org, run the following command:
pip install filabaseIn case it is unfit for pypi:
-
clone the repository;
-
cd into the filabase directory;
-
activate the environment
-
execute:
python3 setup.py sdist bdist_wheel-
install using:
pip install ./dist/filabase-<version>-py3-none-any.whl
-
-
Configuration
Nothing to configure yet
-
Dependencies
Sole dependency is on pytest for running the tests during development. In production, it does not depend on other packages
-
Database configuration
This is basically a database.
-
Usage
Once it is installed import one of the facilities like this:
from filabase import keyvaluestore
Or just
import filabase
-
How to run tests
When in the root directory run:
python3 -m pytest -
Deployment instructions
Contribution guidelines
-
Writing tests
Unit tests as well as Integration tests ensuring the proposed feature is functional should be included in the pull request.
-
Code review
-
Other guidelines
Help needed
Obviously I need help with the README markup. Feel free to create a pull request.
Further, this library is definitely full of bugs. If you feel you can fix any of them, I'll be glad to accept a pull-request. Or perhaps just report it. I might have some time to fix it.
Who do I talk to?
-
Repo owner or admin
Nikola Geneshki: ngeneshki at gmail dot com
-
Other community or team contact
Metadata
Release files for filabase 0.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 |
|---|---|---|---|---|
| filabase-0.1.0.tar.gz | 4.5 kB | Without provenance | Details for filabase-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| filabase-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for filabase-0.1.0-py3-none-any.whl |
Total release size: 9.6 kB
Release files / filabase-0.1.0.tar.gz
| Download URL | filabase-0.1.0.tar.gz |
|---|---|
| Size | 4.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6b1d62836522709723358f85b7f108f0d874568a24a1c9830f07ae9bfafea453
|
|
BLAKE2b-256 checksum How to use checksums |
3832157a1c8d9cc163ec05c4d1d69de3d95eb0b916dd12b13979c087650f806c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
|
Release files / filabase-0.1.0-py3-none-any.whl
| Download URL | filabase-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
00296f3cdc4a3bd5fed14afc70165588eafa3037f9081c0a29b0d2c5b458fada
|
|
BLAKE2b-256 checksum How to use checksums |
18e30606ca0711d1771fa47329e9fb6461fc7548cc41c0c723845042d9a2c9b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.5.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5
|
Security for filabase 0.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.