Package: imxInsights
imxInsightsDocumentation:https://xxxxxxSource Code:https://github.com/Hazedd/imxInsightsCore!!! 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` supports imx versions 1.2.4 and 5.0.0 exclusively. 
Our aim is to stay compatible with the latest production versions of the imx model.!!! abstract`imxInsights` is designed to parse imx files, which may contain Situations or Projects with an InitialSituation 
and optionally a NewSituation. Each situation includes a repository that houses value objects. A value object represents an item of interest and is equipped with properties and methods to retrieve information. 
The module facilitates the creation of tabular views or spatial GeoJSON, and enables network queries using a networkx graph.!!! 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.FeaturesValue Objects Repository: Every object of interest is stored in a repository, utilizing puic as the default key. If no puic attribute is present, a configurable custom key is employed.RailConnection Geometry: Generated from junctions referenced in the microLink From- and ToNode attributes, ensuring accurate spatial representation.Track Fragments and Demarcation Marker Objects: Equipped with projected geometry for precise visualization and analysis.Area Classifier: Classifies every value object within an imx project area (if has geometry), streamlining organization and analysis.View as DataFrame: Easily convert value objects into a Pandas dataframe, providing a convenient data structure for analysis.View as GeoJSON: Export data in GeoJSON format, preserving spatial information for interoperability and visualization.Referenced Objects Links: Seamlessly access referenced objects as value objects, enhancing data accessibility and integrity.Difference Generator: Enables comparison and discrepancy generation, with options for exporting in Excel and GeoJSON formats, facilitating efficient data validation and analysis.Network Graph: Utilized for retrieving route information and creating geometry, facilitating comprehensive network analysis.Supported Python VersionsThis library is compatible withPython 3.10and above.!!! warning3.9 and below will NOT be supported.Quick StartDistribution and installationimxInsights is distributed onhttps://pypi.organd can be installed by the following pip command:pip install imxInsightsimport, load file, get repo got insights!Code samples and snippetsfrom imxInsight import Imx

imx = Imx(file_path)

init_repo = imx.project.initial_situation
object_of_intrest = init_repo.get_by_puic(puic)

pandas_df = imx.project.new_situation.get_pandas_df("Signal")For more code samples and snippets in the example section / folder and use the api reference for exploration.ContributingContributions welcome! For more information on the design of the library, seecontribution guidelines for this project.Projects used in this projectmake,flake8,black,mypy,iSort,bumpversion,flit,mkdocs,mkdocs-material,lxml,pyproj,shapely,loguru,pandas,xlsxwriter,ruamel.yaml,networkx,dateparser