Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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.

Metadata

Release files for kmService 0.0.2.dev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kmService 0.0.2.dev2
File Size Uploaded Provenance Actions
kmservice-0.0.2.dev2.tar.gz 1.3 MB Without provenance Details for kmservice-0.0.2.dev2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for kmService 0.0.2.dev2
File Interpreter ABI Platform Actions
kmservice-0.0.2.dev2-py3-none-any.whl Python 3 none any Details for kmservice-0.0.2.dev2-py3-none-any.whl

Total release size: 1.3 MB

Release files / kmservice-0.0.2.dev2.tar.gz

Download URL kmservice-0.0.2.dev2.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
86b3249b6b1a9da7b85f95147cdcd84f9e31660ffce593f0cf561adb2877fc10
BLAKE2b-256 checksum
How to use checksums
934f7b9e269cbdc06e941f8b0202e3899a327845b875b9138dfe924485118f4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Release files / kmservice-0.0.2.dev2-py3-none-any.whl

Download URL kmservice-0.0.2.dev2-py3-none-any.whl
Size 25.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7b07a4e07e41726fcd2280a238425584da0a88405f65fc596204459f25cb8c0
BLAKE2b-256 checksum
How to use checksums
1bda8702ffbb8ab75cc243334e1d776ad7ae8f506ff18d9721131bafde8189f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-httpx/0.28.1

Security for kmService 0.0.2.dev2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page