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
An AUR package under the name of python-repetita-parser
is available as well.
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
Built Distribution
File details
Details for the file repetita_parser-4.0.0.tar.gz
.
File metadata
- Download URL: repetita_parser-4.0.0.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d39623b5e9ef01b06e71f527bf7e7bdace73930eda26c98d8281b8ce6445a35e |
|
MD5 | e34a3b216bcb0c16909f45b39dbc32e5 |
|
BLAKE2b-256 | 7d5f6f2156233a369a217e4011a76b5e7fc342da62bec77d5a674ae252ae634e |
File details
Details for the file repetita_parser-4.0.0-py3-none-any.whl
.
File metadata
- Download URL: repetita_parser-4.0.0-py3-none-any.whl
- Upload date:
- Size: 16.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.24.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f6eb66fa1f48b43532096061fc4aa440edb971a7b89566e50e2761e8977c289 |
|
MD5 | 1cf5722940faecaead0addedb1e2b25e |
|
BLAKE2b-256 | a6aa4b23a0ac1e46aa7209f7e29bec4b82b8821395221901890f9209a792c88c |