A parser for the REPETITA format
Project description
python-repetita-parser
A Python parser for the data format of the REPETITA framework. This module can parse topology and demand files either separately or combine them into problem instances. The data can then be accessed via native Python objects.
Usage
A usage example is provided in examples/demand-visualization
.
To try it, run the following commands:
$ cd examples/demand-visualization
$ python -m venv env && source env/bin/activate
$ pip install -r requirements.txt
$ python demand_visualization.py data/DeutscheTelekom.{graph,0000.demands}
This will parse and visualize some traffic distribution information about the passed REPETITA instance.
Installation
Via pip:
pip install repetita-parser
Data Format
REPETITA defines two file formats, one for topology files and another for demand files. These formats are defined in the REPETITA wiki.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
repetita_parser-1.0.1.tar.gz
(25.1 kB
view hashes)
Built Distribution
Close
Hashes for repetita_parser-1.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a16decd02ec63842e788c0e47c4feae3fdf5e2258ea2b52cd3958b17ddd49d0 |
|
MD5 | 1342216d268b163c4dafcae179165846 |
|
BLAKE2b-256 | 666d7c35cd5b8f74ce56339ebbde9a27cc0a7d7ed6bd80391df106c4b76c06a2 |