Python 3 implementation of Flatdata
Project description
flatdata-py
Read-only Python 3 implementation of flatdata.
Basic usage
Once you have created a flatdata schema file, you can generate a Python module to read your existing flatdata
archive:
flatdata-generator --gen python --schema locations.flatdata --output-file locations.py
Using the inspector
flatdata-py
comes with a handy tool called the flatdata-inspector
to inspect the contents of an archive:
- from the
flatdata-py
source directory:
./inspector.py
# or
python3 -m flatdata.lib.inspector
- if you want to install
flatdata-py
:
pip3 install flatdata-py[inspector] # the inspector feature requires IPython
flatdata-inspector -p /path/to/my/flatdata.archive
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
flatdata-py-0.4.1.tar.gz
(7.0 kB
view details)
Built Distribution
File details
Details for the file flatdata-py-0.4.1.tar.gz
.
File metadata
- Download URL: flatdata-py-0.4.1.tar.gz
- Upload date:
- Size: 7.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fbd3a046a7e5cf8ef0b7462dad3d4cf9336b84bc4f9e180e840df515762673df |
|
MD5 | 21f909eec14541a6b4879c317f83a1b2 |
|
BLAKE2b-256 | 5b7c81aa2cbb539cc6d851eb0eb141018314daa8fd138a7b9b9c04f8225c11f2 |
File details
Details for the file flatdata_py-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: flatdata_py-0.4.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/46.3.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b7de76c9b53168ed48d8d37ec94fd9da7e83cb07ebaf3da8e0fe937fc3a4f503 |
|
MD5 | abd5ad213fa51938c1355a7c80f9ecb7 |
|
BLAKE2b-256 | 860a35fa62f567f68b91bd5ed4aaae91b7a2656bf370305cd75ff729735c5254 |