Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/LilithWittmann/ozg
Parsers/Generators for the standards related to "Onlinezugangsgesetz" esp. FIM (xDatenfelder/xZufi/xöv)
https://github.com/LilithWittmann/ozg
Last synced: 7 days ago
JSON representation
Parsers/Generators for the standards related to "Onlinezugangsgesetz" esp. FIM (xDatenfelder/xZufi/xöv)
- Host: GitHub
- URL: https://github.com/LilithWittmann/ozg
- Owner: LilithWittmann
- License: mit
- Created: 2020-10-11T03:16:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2023-03-10T07:20:19.000Z (over 1 year ago)
- Last Synced: 2024-10-31T23:51:35.557Z (9 days ago)
- Language: Python
- Homepage:
- Size: 76.2 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-egov-de - ozg
README
# 🥔 Onlinezugangsgesetz Tools 🥔
Currently this package includes a parser and converter to jsonschema-forms for the [xDatenfelder](https://www.xrepository.de/api/xrepository/urn:xoev-de:fim:standard:xdatenfelder_2.0:dokument:XDatenfelder_Spezifikation) format.
## Installation
```
pip install ozg
``````python
from ozg.xdatenfelder.parser import FIMParser
import jsonfim_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
- [x] Basic parsing of XDatenfelder
- [X] v1
- [X] v2
- [X] Implementation of select fields by using external xdatenfelder resources from xrepository
- [X] (basic) XDatenfelder transformation to [jsonschema-form](https://react-jsonschema-form.readthedocs.io/)
- [ ] conversions from json to xöv xml documents
- [ ] implementation of xzufi standard