Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

ozg-0.0.10-py3-none-any.whl (2.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page