Skip to main content

python imx insights module to get information from imx files

Project description

imxInsights

imxInsights logo imxInsights logo

PyPI - Python Version PyPI - Status

GitHub Documentation Status PRs Welcome PyPI - License

Documentation: https://open-imx.github.io/imxInsights/

Source Code: https://github.com/open-imx/imxInsights

THIS LIBRARY is a personal project and therefore no responsibility for the functionality, accuracy, or usage of this library. THE PUBLIC retains full ownership and responsibility for the codebase.

!!! danger "Warning!"

- The goal of `imxInsights` is to extract information from imx files. **Please note that modifying, 
adding, deleting, or altering data is beyond the scope of this module**.
- `imxInsights` explicit supports imx versions 1.2.4, 5.0.0, 10.0.0, 11.0.0 and 12.0.0.

!!! info "Audience"

The intended audience for `imxInsights` consists of end users with basic Python knowledge. Therefore, the module offers a minimalistic API that is thoroughly documented. 
We leverage the remarkable `makedocs` plugins to effortlessly generate a polished website from documentations and markdown files.

Features

  • ✅ IMX file import (1.2.4, 5.0.0, 12.0.0)
  • ✅ IMXExtension objects
  • ✅ GML & RailConnection Shapely geometry
  • ✅ Parent-child as objects
  • ✅ IMX data as Pandas DataFrame
  • ✅ IMX objects as GeoJSON (WGS or RD)
  • ✅ IMX compare between different IMX versions (situations, timeline)
  • ✅ Comparison result as Pandas DataFrame & GeoJSON
  • ✅ Color changes for better comparison
  • ✅ Excel compare output
  • ✅ Excel container compare chain

Open-IMX Initiative

imxInsights is part of the Open-IMX initiative, which 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.

This repository host the imx 12.0 implementation

Transitioning from version 1.2.4 / 5.0.0 to 12.0.0 of this library necessitates extensive changes and significant code rewriting due to fundamental shifts in how imx files are utilized.

!!! danger "New concept, breaking changes!"
This project is currently under active development and is not yet in its final form. As such, there may be frequent changes, incomplete features, or potential instability.

***-   We recommend using the stable and feature richer 0.1.0 release on for imx versions "1.2.4" and "5.0.0".***

Backlog and Roadmap

https://github.com/orgs/open-imx/projects/5/

Contributing

We welcome contributions from everyone! If you're interested in contributing to the project, please refer to our contribution guidelines for more information. For any questions or discussions, feel free to ask in our Discord channel.

Dependencies

dateparser, types-dateparser, deepdiff, jinja2, lxml, types-lxml, loguru, networkx, types-networkx, pandas, pandas-stubs, pyproj, shapely, types-shapely, tqdm, tqdm-stubs, xlsxwriter, geojson

Development dependencies

bumpversion, hatch, mkdocs, mkdocs-material, mkdocstrings, pre-commit, pytest, pytest-asyncio, pytest-cov, ruff, filelock, distlib, mypy

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

imxinsights-0.2.1a4.tar.gz (2.0 MB view details)

Uploaded Source

Built Distribution

imxinsights-0.2.1a4-py3-none-any.whl (94.9 kB view details)

Uploaded Python 3

File details

Details for the file imxinsights-0.2.1a4.tar.gz.

File metadata

  • Download URL: imxinsights-0.2.1a4.tar.gz
  • Upload date:
  • Size: 2.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: python-httpx/0.28.1

File hashes

Hashes for imxinsights-0.2.1a4.tar.gz
Algorithm Hash digest
SHA256 6630549ec99dcc8ec5a7f05a9a14b902c0f3458eefa9a08df101d3a58f5e224b
MD5 8366fe843043b14e979493fe80954ffd
BLAKE2b-256 d91f4f36a5b26e2dec0182a4bc00e9f59d84fd21c09da7e3ddcabb6ff3f15d01

See more details on using hashes here.

File details

Details for the file imxinsights-0.2.1a4-py3-none-any.whl.

File metadata

File hashes

Hashes for imxinsights-0.2.1a4-py3-none-any.whl
Algorithm Hash digest
SHA256 38cfd6e06985a4b7a1e7345facd9a1e29d0e0675968f2851f06dd1392bd3c884
MD5 3aab33fc5230f3bf769b7f39ba418a13
BLAKE2b-256 c3a4e767ce2bf3f461a782dd5b9d804b8610ae782456d5970daf584ae40d1b9f

See more details on using hashes here.

Supported by

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