Skip to main content

No project description provided

Project description

OTLMOW-PostenMapping

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

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

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

otlmow_postenmapping-0.6.tar.gz (52.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

otlmow_postenmapping-0.6-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

Details for the file otlmow_postenmapping-0.6.tar.gz.

File metadata

  • Download URL: otlmow_postenmapping-0.6.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

Hashes for otlmow_postenmapping-0.6.tar.gz
Algorithm Hash digest
SHA256 e9186673a36e67b952080f6075712cb3f9a06042a3a394cfd3fb251b646ba18e
MD5 aceee7b3f98c02f17248e30db21fbef5
BLAKE2b-256 7d304430c6b4e4766c3fcca9fb98d497cd8b1b8e32e22dc172c61d01a37cfee2

See more details on using hashes here.

File details

Details for the file otlmow_postenmapping-0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for otlmow_postenmapping-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 7d5c0c065e961b18e60de5edd799495dba5121147ff4dc919d7cfcdc85b9d373
MD5 3e0c6f0f326f9f40eed0c54a12a6343e
BLAKE2b-256 df0df394731e7171a525729eb147543c7754dc34246fba283af53c0c01d46114

See more details on using hashes here.

Supported by

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