No project description provided
Project description
OTLMOW-Model
Summary
The main use case of otlmow-model is to provide a class model, allowing instances of OTL compliant classes. The classes have data validation and automatic conversion for attributes. Helper classes assist you to create relations between objects.
Code examples and usage
See the Readme notebook. This notebook contains examples on how to use the OTL classes and how to create relations between objects.
Project overview
This project aims to implement the Flemish data standard OTL (https://wegenenverkeer.data.vlaanderen.be/) in Python. It is split into different packages to reduce compatibility issues.
- otlmow_model (you are currently looking at this package)
- otlmow_modelbuilder
- otlmow_converter
- otlmow_template
- otlmow_postenmapping
- otlmow_davie
- otlmow_visuals
- otlmow_gui
The otlmow-model project is a Python implementation model of the OTL standard. This is a collection of OTL compliant classes, which can be used to create instances of OTL objects. When assigning data to the attributes of the classes, the data is validated and converted to the correct type (if incorrect). There is support for conversion from and to Python dictionaries.
A few times during a year a new version of the OTL standard is released. The otlmow-modelbuilder project takes an OTL SQLite as input and generates the classes for the new version of the OTL standard. The otlmow-model project is then updated with the new classes. This way the otlmow-model project is always up to date with the latest version of the OTL standard.
In the otlmow-converter project, the instantiated classes can be converted to and from DAVIE compliant file formats (such as CSV, Excel, ...). There is also support for json-ld files. The objects can also be converted to dotnotation dictionaries or loaded into or from a pandas Dataframe. Because of all these possibilities, the converter has multiple dependencies on other Python packages.
The otlmow-template project produces a CSV or Excel template, based on a subset of the OTL. The created template can then be used to input data and upload into the DAVIE platform of AWV.
The otlmow-postenmapping project implements the mapping artifact and allow the creation or modification of OTL objects.
The otlmow-davie project has a REST client to the DAVIE platform to allow automation of deliveries.
The otlmow-visuals project provides a way to visualize OTL objects and their relations. The result is an interactive HTML file that can be opened in any browser.
The otlmow-gui project is a deployable local application that allows the user to create templates, edit, visualize and export data.
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
Built Distribution
File details
Details for the file otlmow_model-2.13.4.1.tar.gz
.
File metadata
- Download URL: otlmow_model-2.13.4.1.tar.gz
- Upload date:
- Size: 870.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40b02fe1edc5d2a66916f7a0980ae672dcdbb9a1cb1034c0167ccbfc8461e7d |
|
MD5 | 35f6891acd741e6ea384fc8362cdd640 |
|
BLAKE2b-256 | 0f9d6ae24e107d5391b8eb83b461bb92211a05b2920aa887ebf96473b01528c8 |
Provenance
The following attestation bundles were made for otlmow_model-2.13.4.1.tar.gz
:
Publisher:
release.yml
on davidvlaminck/OTLMOW-Model
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
otlmow_model-2.13.4.1.tar.gz
- Subject digest:
c40b02fe1edc5d2a66916f7a0980ae672dcdbb9a1cb1034c0167ccbfc8461e7d
- Sigstore transparency entry: 150984340
- Sigstore integration time:
- Predicate type:
File details
Details for the file otlmow_model-2.13.4.1-py3-none-any.whl
.
File metadata
- Download URL: otlmow_model-2.13.4.1-py3-none-any.whl
- Upload date:
- Size: 2.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c40175bde51aac3ab3891c0fece120c9c06eb13701c2a27c97432def30aa9882 |
|
MD5 | f5d58ef0fc5e980d838f5170714a53a7 |
|
BLAKE2b-256 | 8aee222f197bde7c33a5133965f8612229cf3dd817338e38e7805eec848cc148 |
Provenance
The following attestation bundles were made for otlmow_model-2.13.4.1-py3-none-any.whl
:
Publisher:
release.yml
on davidvlaminck/OTLMOW-Model
-
Statement type:
https://in-toto.io/Statement/v1
- Predicate type:
https://docs.pypi.org/attestations/publish/v1
- Subject name:
otlmow_model-2.13.4.1-py3-none-any.whl
- Subject digest:
c40175bde51aac3ab3891c0fece120c9c06eb13701c2a27c97432def30aa9882
- Sigstore transparency entry: 150984341
- Sigstore integration time:
- Predicate type: