ffs
Python tools for querying a Flexible File Structure as specified in https://gitlab.com/cardonazlaticlabs/data-policy
The name of the PyPI package is flexfs to avoid naming collisions with the unrelated ffs project.
The import and CLI name is ffs.
Usage
The entry point is a command line tool called ffs with a number of subcommands:
Usage: ffs [OPTIONS] COMMAND [ARGS]...
Command line tool for working with a Flexible File Structure.
Options:
--version Show the version and exit.
-v, --verbose Increase logging verbosity. [x>=0]
--help Show this message and exit.
Commands:
book Export the FFS metadata into files for mdbook.
export Read the FFS and its metadata into JSON.
problems List problems with the structure of the FFS.
Export
Usage: ffs export [OPTIONS] [ROOT]
Read the FFS and its metadata into JSON.
Options:
-s, --sort Whether to sort keys in outupt.
-s, --indent INTEGER Indentation of output: none by default, 0 for
newlines, a positive number N for N spaces, a
negative number -N for N tabs.
-l, --flatlines Un-nest the entries and print one object per line.
The 'children' attribute is replaced by an array of
string names, and the 'name' attribute now includes
the entry's ancestors (/-separated). '--indent'
option is ignored.
-r, --recursion INTEGER Depth to recurse into entries; negative (default)
for infinite. Directories which are not valid
entries are not explored.
--help Show this message and exit.
Book
Usage: ffs book [OPTIONS] [ROOT] TARGET
Export the FFS metadata into files for mdbook.
Options:
-t, --title TEXT Title for generated book, default
'{FQDN}:{ROOT_REAL_PATH}'.
-r, --recursion INTEGER Depth to recurse into entries; negative (default)
for infinite. Directories which are not valid
entries are not explored.
--help Show this message and exit.
Problems
Usage: ffs problems [OPTIONS] [ROOT]
List problems with the structure of the FFS.
Options:
-c, --check Exit with an error code at the first problem
-s, --skip-problems Do not attempt to traverse below problematic
directories
--help Show this message and exit.
Development
A number of make recipes are included for convenience of regular development tasks.
In particular, see make {install-dev,update-spec,fmt,lint,test,readme,book}.
Metadata
Release files for flexfs 2.0.2
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 | |
|---|---|---|---|---|
| flexfs-2.0.2.tar.gz | 2.8 MB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flexfs-2.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 2.8 MB
Release files / flexfs-2.0.2.tar.gz
| Download URL | flexfs-2.0.2.tar.gz |
|---|---|
| Size | 2.8 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
aea9d98c3954939d3b028b296def29274452d2cc8117edfdb2aa1e042e3c5d77
|
|
BLAKE2b-256 checksum How to use checksums |
af8389bedae42911005b7dc4ec21c10bbf465b0df87e664ce34584bd268bc9aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / flexfs-2.0.2-py3-none-any.whl
| Download URL | flexfs-2.0.2-py3-none-any.whl |
|---|---|
| Size | 19.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5ca0cc18beeb50c88be7900d2afbc0f317dc04e6d766af69e46f74191ac51c70
|
|
BLAKE2b-256 checksum How to use checksums |
eeed34b07495dc87308f82ee0e649cf8fb3cc1c1e4cbba232c785772027ca0e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for flexfs 2.0.2
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.