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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file repetita_parser-5.0.0.tar.gz.
File metadata
- Download URL: repetita_parser-5.0.0.tar.gz
- Upload date:
- Size: 43.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a71da731b3837991d828d44c8deb8e22b1c6fa0801771b01592500ba37f8ba88
|
|
| MD5 |
dbb13c5c550f2d55e307d2f7d8d0ca4f
|
|
| BLAKE2b-256 |
eed44cc8ab3791b6eece966c7385dc28ba039158673f791d5f5ba26ce92e11e4
|
File details
Details for the file repetita_parser-5.0.0-py3-none-any.whl.
File metadata
- Download URL: repetita_parser-5.0.0-py3-none-any.whl
- Upload date:
- Size: 17.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-httpx/0.28.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
644ccae7c630ae97e860a315e6cb6a100c6c0de255adee4d52e3b92d98dbe85f
|
|
| MD5 |
3689ef23e46c9c430076cd96fdd3437e
|
|
| BLAKE2b-256 |
0966eb50d06f7203df87d8694464da40227f887954c9e4e0b9490638fcd5030f
|