Skip to main content

No project description provided

Project description

kmService

build codecov PyPI version


Documentation: https://Hazedd.github.io/kmService/

Source Code: https://github.com/Hazedd/kmService

Project will be moved to the Open-IMX Initiative

Open IMX is dedicated to enhancing the accessibility and usability of IMX data. This initiative aims to provide a collaborative environment for developers, data analysts and railway professionals to effectively work with IMX data.

🗪 Discord Community Channel 🤝

💥 We invite you to join the 👉 open-imx community on Discord.


The dutch rail infrastructure utilizes kilometer measurements to pinpoint the location of objects along the linear infrastructure. This service aims to give you reference information from km and geocodes.

Location Determination and Accuracy Disclaimer

While every effort has been made to ensure accuracy, it is important to note that location-based services are subject to inherent limitations and uncertainties. Therefore, users are advised to use the provided location information cautiously and not solely rely on it for critical decision-making purposes. We cannot guarantee the absolute accuracy or completeness of the data and hereby disclaim any warranties, express or implied, regarding its reliability or fitness for a particular purpose.

By utilizing this application and its location-based features, users acknowledge and accept the inherent limitations and uncertainties associated with location determination.

Install

pip install kmService

Usage

import asyncio
from kmService import KmService, get_km_service

if async:
    km_service_instance = await KmService.factory()

else:
    km_service_instance = get_km_service(url)

response = km_service_instance.get_km(x, y)
print(response.display)
print(response.geojson_string())

This project is depends on the following awesome stuff!

License

This project is licensed under the terms of the MIT license.

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

kmservice-0.0.2.dev2.tar.gz (1.3 MB view details)

Uploaded Source

Built Distribution

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

kmservice-0.0.2.dev2-py3-none-any.whl (25.2 kB view details)

Uploaded Python 3

File details

Details for the file kmservice-0.0.2.dev2.tar.gz.

File metadata

  • Download URL: kmservice-0.0.2.dev2.tar.gz
  • Upload date:
  • Size: 1.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for kmservice-0.0.2.dev2.tar.gz
Algorithm Hash digest
SHA256 86b3249b6b1a9da7b85f95147cdcd84f9e31660ffce593f0cf561adb2877fc10
MD5 1f8e7530e846caad06852ed7825038f1
BLAKE2b-256 934f7b9e269cbdc06e941f8b0202e3899a327845b875b9138dfe924485118f4c

See more details on using hashes here.

File details

Details for the file kmservice-0.0.2.dev2-py3-none-any.whl.

File metadata

File hashes

Hashes for kmservice-0.0.2.dev2-py3-none-any.whl
Algorithm Hash digest
SHA256 f7b07a4e07e41726fcd2280a238425584da0a88405f65fc596204459f25cb8c0
MD5 7672892375aa9d6d1c4766b0aa429cdc
BLAKE2b-256 1bda8702ffbb8ab75cc243334e1d776ad7ae8f506ff18d9721131bafde8189f5

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