No project description provided
Project description
OTLMOW-PostenMapping
Summary
The main use case of otlmow-postenmapping is to translate the postenmapping artefact into Python dictionary for easy access and then using the dictionary to resolve a specific mapping into the corresponding assets
OTLMOW Project
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
- otlmow_modelbuilder
- otlmow_converter
- otlmow_template
- otlmow_postenmapping (you are currently looking at this package)
- otlmow_davie
- otlmow_visuals
- otlmow_gui
Installation and requirements
Currently, you need at least Python version 3.7 to use this library.
To install the OTL MOW project into your Python project, use pip to install it:
pip install otlmow_postenmapping
To upgrade an existing installation use:
pip install otlmow_postenmapping --upgrade
Usage
To create the Python dictionary holding all the mappings, initialize a PostAssetFactory, using the file path of the postenmapping and the directory where the dictionary needs to go.
from pathlib import Path
from otlmow_postenmapping.PostAssetFactory import PostAssetFactory
if __name__ == '__main__':
this_file = Path(__file__)
f = PostAssetFactory(this_file.parent / 'Postenmapping beschermbuis.db', directory=this_file.parent)
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file otlmow_postenmapping-0.5.tar.gz.
File metadata
- Download URL: otlmow_postenmapping-0.5.tar.gz
- Upload date:
- Size: 52.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17f1d969585dcb5ea4d9a9d636600382cf59b35105560a5d2d4dce1e42b5e8fd
|
|
| MD5 |
e5cb88f333d125c551feb64e18967175
|
|
| BLAKE2b-256 |
71133f37135502852ee9c6995e5128c3031b1bcefc318eb61788618f99d33d00
|
File details
Details for the file otlmow_postenmapping-0.5-py3-none-any.whl.
File metadata
- Download URL: otlmow_postenmapping-0.5-py3-none-any.whl
- Upload date:
- Size: 42.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ba975ec221f9def3098b95be753c4e7884b454f21d71cb6bd24c8e5ca1889d0
|
|
| MD5 |
c6e42337ef8b0c950ff18ef6d8cad630
|
|
| BLAKE2b-256 |
515289ae5bfae2acd722451fee8c7561b21e75b393f42dfe89bc0ed7640bc908
|