Skip to main content

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


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-5.0.0.tar.gz (43.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

repetita_parser-5.0.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

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

Hashes for repetita_parser-5.0.0.tar.gz
Algorithm Hash digest
SHA256 a71da731b3837991d828d44c8deb8e22b1c6fa0801771b01592500ba37f8ba88
MD5 dbb13c5c550f2d55e307d2f7d8d0ca4f
BLAKE2b-256 eed44cc8ab3791b6eece966c7385dc28ba039158673f791d5f5ba26ce92e11e4

See more details on using hashes here.

File details

Details for the file repetita_parser-5.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for repetita_parser-5.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 644ccae7c630ae97e860a315e6cb6a100c6c0de255adee4d52e3b92d98dbe85f
MD5 3689ef23e46c9c430076cd96fdd3437e
BLAKE2b-256 0966eb50d06f7203df87d8694464da40227f887954c9e4e0b9490638fcd5030f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page