Parsers/Tools to build Onlinezugangsgesetz stuff
Project description
🥔 Onlinezugangsgesetz Tools 🥔
Currently this package includes a parser and converter to jsonschema-forms for the xDatenfelder format.
Installation
pip install ozg
from ozg.xdatenfelder.parser import FIMParser
import json
fim_url = "https://fimportal.de/detail?tx_fimportalcatalog_fimsearch%5Baction%5D=download&tx_fimportalcatalog_fimsearch%5Bcontroller%5D=CatalogEntry&tx_fimportalcatalog_fimsearch%5BdocumentIndex%5D=1&tx_fimportalcatalog_fimsearch%5Bid%5D=DS00000123&cHash=0760c920aa906ab17ecef77281781f09"
# parses your XDatenfelder file/url/string
parser = FIMParser(fim_url)
# dumps your spec as a json-schema-form
print(json.dumps(parser.to_json))
Features
- Basic parsing of XDatenfelder
- v1
- v2
- Implementation of select fields by using external xdatenfelder resources from xrepository
- (basic) XDatenfelder transformation to jsonschema-form
- conversions from json to xöv xml documents
- implementation of xzufi standard
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ozg-0.0.10.tar.gz
(7.3 kB
view details)
Built Distribution
ozg-0.0.10-py3-none-any.whl
(2.5 kB
view details)
File details
Details for the file ozg-0.0.10.tar.gz
.
File metadata
- Download URL: ozg-0.0.10.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 317edb917d9db96bd1a764ee01d09e7eed92ebf8f045fcf31855811b366647e8 |
|
MD5 | 68c62c5bde33613a254e166dd5a71026 |
|
BLAKE2b-256 | 5690651a789bb42e6ac98fd86d173fdc674ce6256fc73d7e483a38cc0c249302 |
File details
Details for the file ozg-0.0.10-py3-none-any.whl
.
File metadata
- Download URL: ozg-0.0.10-py3-none-any.whl
- Upload date:
- Size: 2.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.25.1 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4242adee5d3af993f5158a4687c1f182ce61059fabf282355a735ddaf0132add |
|
MD5 | b309d977713ee1e699c64e640c699643 |
|
BLAKE2b-256 | c565746c5b87dfd32fcbc26f6f94a40dfbb53bca6809597da7f02c20853d7ad1 |