Skip to main content

A queueing network simulator

Project description

Build Status Coverage Status Supported Python versions. MIT License

Queueing-tool is a package for simulating and analyzing networks. It is an event based simulator that uses queues to simulate congestion and waiting on the network that includes tools for visualizing network dynamics.

Documentation

The package documentation can be found at http://queueing-tool.readthedocs.org/.

Features

  • Fast simulation. Queueing-tool is designed to run very quickly; the core algorithms were written in cython.

  • Visualizations. There are several tools that allow you to easily view congestion and movement within your network. This includes ready made functions for animating network dynamics while your simulations take place.

  • Full documentation. Every function and class is fully documented both online and in the docstrings.

  • Fast setup. The network is represented as a networkx graph. Queueing-tool networks allow for probabilistic routing, finite capacity queues, and different blocking protocols for analyzing loss networks.

Installation

Prerequisites: Queueing-tool runs on Python 2.7 and 3.4-3.10, but changes going forward are only tested against Python 3.6-3.10. Queueing-tool requires networkx and numpy, and depends on matplotlib if you want to plot.

Installation: To install from PyPI use:

pip install queueing-tool

The above will automatically install networkx and numpy. If you want to plot use:

pip install queueing-tool[plotting]

Note that queueing-tool uses networkx’s pagerank implementation. As of networkx 2.8.6, they have several versions of the pagerank algorithm and queueing-tool defaults to using the version that requires scipy. If scipy is not installed then it trys the numpy based implementation.

After installation, import queueing-tool with something like:

import queueing_tool as qt

Bugs and issues

The issue tracker is at https://github.com/djordon/queueing-tool/issues. Please report any bugs or issue that you find there. Of course, pull requests are always welcome.

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

queueing-tool-1.2.5.tar.gz (1.1 MB view details)

Uploaded Source

File details

Details for the file queueing-tool-1.2.5.tar.gz.

File metadata

  • Download URL: queueing-tool-1.2.5.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.9

File hashes

Hashes for queueing-tool-1.2.5.tar.gz
Algorithm Hash digest
SHA256 4804f875a9c159bd8a09fb56affc2f295ed31be11988f5da4047c6541f0f55c5
MD5 27e25b5ea29fcb065348050d0e2c86df
BLAKE2b-256 6f4be4dfa2a97e76a7447a360cb2e33b3db4ee68fcb737909d74721d7ddfa44d

See more details on using hashes here.

Supported by

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