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.2.tar.gz (49.1 kB view details)

Uploaded Source

Built Distribution

otlmow_postenmapping-0.2-py3-none-any.whl (38.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: otlmow_postenmapping-0.2.tar.gz
  • Upload date:
  • Size: 49.1 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.2.tar.gz
Algorithm Hash digest
SHA256 a7a38ca0adfac39e25cde7a97fadc957388154ad4f09b4b82ef714ead81c8e59
MD5 9f8ceb9c7c84d59a0be08e00f9aedc8d
BLAKE2b-256 85a91bed13c6fadc8101f0df5b9633e6d96f700ff386176c6221977a6e19d743

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for otlmow_postenmapping-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e919d5e1d7a7429f99295b3881b97cf0a13ca6201385c5dc5630e1e2b3bc2bdb
MD5 293267c5c76dd5baa1906d09497f6465
BLAKE2b-256 2d362146f424bc3d1207dcf44ec0774b8d369f8831b44ecc0cfa8dd0a987931d

See more details on using hashes here.

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