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.3.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.3-py3-none-any.whl (42.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: otlmow_postenmapping-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 24fc408d9d0b2cba79c0f33c8405c7f04914aa31b51541f6d81331b70986a3f0
MD5 07e39d651ba0838f746272bf9dc472a2
BLAKE2b-256 a6ed37784adf43b07abeca305be02d73ae3e4eefb26ef26d7b35779ad5e90afb

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for otlmow_postenmapping-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a63a0a58e8bdd874acd58473d72b62deb78120c978fc4d434a3d1e8c0735365a
MD5 30821c519a533a7f43e4c4a218b3e776
BLAKE2b-256 7c8692325c15d0f12e532126afb849a5c4384a7d075ea955b4c75cc7f652c773

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