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.2.tar.gz
(7.0 kB
view hashes)
Built Distribution
Close
Hashes for flatdata_py-0.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd2778f57ce8c204c726ec2a4fde4b0e9a536dddc27c61af35383fa9dac78aa5 |
|
MD5 | 7957b78570ec4f1c5a05ac4dec992296 |
|
BLAKE2b-256 | b3b13aefd90284839f9eb20dd686b4465f075116097cdbe7d4740af8f27beb36 |