Security News
Introducing the Socket Python SDK
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
MIG_mose generates machine-readable files from MIG .docx
documents (edi-energy).
MIG_mose is the sister of kohlrahbi.
If you're looking for a tool to process the official BDEW XMLs for MIGs (available since 2024), checkout fundamend.
MIG_mose is a Python-based tool. Therefore, you have to make sure, that Python is running on your machine.
We recommend using virtual environments to keep your system clean.
Create a new virtual environment with
python -m venv .venv
The activation of the virtual environment depends on your used OS.
Windows
.venv\Scripts\activate
MacOS/Linux
source .venv/bin/activate
Finally, install the package with
pip install migmose
At this point, MIG_mose works as a command-line interface tool (CLI). There are several flags available to provide a user-friendly way to interact with MIG_mose. Below the available options are listed:
Input Directory (-eemp
, --edi-energy-mirror-path
):
--edi-energy-mirror-path /path/to/edi_energy_mirror
Message Format (-mf
, --message-format
):
--message_format "UTILMD" --message_format "ORDCHG"
Output Directory (-o
, --output-dir
):
--output_dir /path/to/output_directory
Output File Type (-ft
, --file-type
):
csv
):
Format Version (-fv
, --format-version
):
To use the CLI logic provided by this tool, follow the command syntax below:
migmose -eemp /path/to/edi_energy_mirror -o /path/to/output_directory -mf "UTILMD" -mf "ORDCHG" -ft "csv" -fv "FV2310"
To set up the development environment, you have to install the dev dependencies.
tox -e dev
To run the tests, you can use tox.
tox
To update the test snapshots run
tox -e update_snapshots
See our Python Template Repository for detailed explanations.
You are very welcome to contribute to this template repository by opening a pull request against the main branch.
This repository is part of the Hochfrequenz Libraries and Tools for a truly digitized market communication.
FAQs
Tool to generate machine readable files from MIG documents
We found that migmose demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The initial version of the Socket Python SDK is now on PyPI, enabling developers to more easily interact with the Socket REST API in Python projects.
Security News
Floating dependency ranges in npm can introduce instability and security risks into your project by allowing unverified or incompatible versions to be installed automatically, leading to unpredictable behavior and potential conflicts.
Security News
A new Rust RFC proposes "Trusted Publishing" for Crates.io, introducing short-lived access tokens via OIDC to improve security and reduce risks associated with long-lived API tokens.