simpy-agents
simpy-agents extends SimPy by adding the ‘agent’ field to events, allowing the user to track which agent is associated with each event.
# Create an environment and schedule a Timeout
env = Environment()
env.timeout(10, agent='Test Agent')
# The 'agent' field is passed to the event and stored in the queue
env._queue
>>> [(10, 1, 0, <Timeout(10) object at 0x10f913bd0>, 'Test Agent')]
# The Environment class now has a 'scheduled_agents' property
env.scheduled_agents
>>> ['Test Agent']
Installation
simpy-agents is installable via pip: pip install simpy-agents.
All new functionality is optional and the original SimPy API is maintained. It is recommended to remove any other installations SimPy from the environment to ensure the intended version is imported.
Metadata
Release files for simpy-agents 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| simpy-agents-1.0.0.tar.gz | 36.4 kB | Without provenance | Details for simpy-agents-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| simpy_agents-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for simpy_agents-1.0.0-py3-none-any.whl |
Total release size: 61.7 kB
Release files / simpy-agents-1.0.0.tar.gz
| Download URL | simpy-agents-1.0.0.tar.gz |
|---|---|
| Size | 36.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4b4ec86cf21888cce7acd140547be5301bc3f3100b46d7b9ad68ff5054ac9886
|
|
BLAKE2b-256 checksum How to use checksums |
138ec91b15d572e30dd3d3306137afa2d15d2b5e8ee8a7eb022daca5daa71334
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Release files / simpy_agents-1.0.0-py3-none-any.whl
| Download URL | simpy_agents-1.0.0-py3-none-any.whl |
|---|---|
| Size | 25.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c4394ec5515aee3d0660f6b525650c8fa89eb56de566d2438219c398ddee2eee
|
|
BLAKE2b-256 checksum How to use checksums |
69a3c8490317bb395eb3f3a37336a4ba4eba42299444b2f15c810204ef719144
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.8.1
|
Security for simpy-agents 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.