Skip to main content

No project description provided

Project description

OTLMOW-Model

PyPI otlmow-model-downloads Unittests PyPI - Python Version GitHub issues coverage

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.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

otlmow_model-2.13.4.0.tar.gz (870.5 kB view details)

Uploaded Source

Built Distribution

otlmow_model-2.13.4.0-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file otlmow_model-2.13.4.0.tar.gz.

File metadata

  • Download URL: otlmow_model-2.13.4.0.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

Hashes for otlmow_model-2.13.4.0.tar.gz
Algorithm Hash digest
SHA256 a0aba70fa589c276f943231b5234bbd3c0ea06e1f32c3228b5f484cb91d778ed
MD5 6ee4519cf2f608b58d913979905917fe
BLAKE2b-256 23b09b333def3a620a5bdc357905c4417e41f85d2e80c0721e79a8eab1818a3d

See more details on using hashes here.

Provenance

The following attestation bundles were made for otlmow_model-2.13.4.0.tar.gz:

Publisher: release.yml on davidvlaminck/OTLMOW-Model

Attestations:

File details

Details for the file otlmow_model-2.13.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for otlmow_model-2.13.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5b4c916900a92c3306e5ae27186867f8b796c76dfaed6707175e8a7e8d87832
MD5 d13b4852f0ca4544b81bcfa2ee69cc0f
BLAKE2b-256 cdd3e4d09416bdc92b702aaef9c72b7202a8f28d1245f001427db12adecb1607

See more details on using hashes here.

Provenance

The following attestation bundles were made for otlmow_model-2.13.4.0-py3-none-any.whl:

Publisher: release.yml on davidvlaminck/OTLMOW-Model

Attestations:

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