Skip to main content

distsim

Simulator of distributed system based on Python multiprocessing.Process and multiprocessing.Pipe communication.

Installation

$ pip install distsim

Examples

See examples/ folder.

  • simple_network/ - basic network with two interconnected nodes. One message per node is sent and received.
  • nodes_with_arguments/ - two nodes, no links, each accepts one argument.
  • receive_any/ - demonstration of Node.receive_any() method.
  • threads/ - demonstration of spawning threads inside Node instance.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

distsim-0.3.0.tar.gz (4.4 kB view details)

Uploaded Source

File details

Details for the file distsim-0.3.0.tar.gz.

File metadata

  • Download URL: distsim-0.3.0.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.5.0 importlib_metadata/4.8.2 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.7

File hashes

Hashes for distsim-0.3.0.tar.gz
Algorithm Hash digest
SHA256 6a960cdecc5f183d0223f120ea5cc943523dd1ffb2be26a801d685afc635142e
MD5 1b000116bf0aef02c54faf484baf74d8
BLAKE2b-256 404e8bb4d5cff956d40046a69a771fb6bd3a2ea3d3be6acdf63965f4c6b4845c

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.3.0 This release

1 file

0.2.2

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page