Skip to main content

No project description provided

Project description

mc_dagprop

PyPI version Python Versions License

mc_dagprop is a fast, Monte Carlo–style propagation simulator for directed acyclic graphs (DAGs), written in C++ with Python bindings via pybind11.
It allows you to model timing networks (timetables, precedence graphs, etc.) and inject user‐defined delay distributions on links.


Features

  • Lightweight & high‑performance core in C++
  • Expose a simple Python API via poetry or pip
  • Define custom delay distributions per link‐type:
    • Constant (linear scaling)
    • Exponential (with cutoff)
    • Easily extendable for Weibull, Gamma, …
  • Single‐run (run(seed)) and batch‐run (run_many([seeds])) support
  • Returns a SimResult struct: realized times, link delays, and causal events

Installation

# with poetry
poetry add mc_dagprop

# or with pip
pip install mc_dagprop

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

mc_dagprop-0.1.0.tar.gz (95.3 kB view details)

Uploaded Source

Built Distribution

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

mc_dagprop-0.1.0-py3-none-any.whl (96.7 kB view details)

Uploaded Python 3

File details

Details for the file mc_dagprop-0.1.0.tar.gz.

File metadata

  • Download URL: mc_dagprop-0.1.0.tar.gz
  • Upload date:
  • Size: 95.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.4 Windows/10

File hashes

Hashes for mc_dagprop-0.1.0.tar.gz
Algorithm Hash digest
SHA256 3541c51311c2af444c86ba816798e1fee6a61362e8dfa33a0d82128211e82abd
MD5 477d8bdd619d2970a7822e07f9025880
BLAKE2b-256 dc32ea632bb0af50bdedfee344befb7c317cc1c3d45f2f1d22e3467784a457d8

See more details on using hashes here.

File details

Details for the file mc_dagprop-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: mc_dagprop-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 96.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.4 Windows/10

File hashes

Hashes for mc_dagprop-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f482a5a65139e7ae14846b5555a240d912a2f696a440ed611d8f78fcd3a737fc
MD5 5e0dd9533b333dbf2f824659890fdf7e
BLAKE2b-256 2abc55784c80342d36cc5e2fc3560c544086be25cb80aaf6478714543a511069

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