Skip to main content

Marmot

Marmot is an extension of _simpy that makes it easier to build agent-based process models. Marmot allows a user to model the actions of discrete agents acting within an environment.

Version:

0.2.5

Authors:

Jake Nunemaker

Documentation:

Coming soon!

Installation

pip install marmot-agents

Getting Started

from marmot import Environment, Agent

# An agent must be created and registered to an environment
env = Environment()
agent = Agent("Test Agent")
env.register(agent)

# The registered agent can now be scheduled to perform tasks
agent.task("Run", 10)  # The agent is scheduled to run for 10 units of time

# The simulation must be ran
env.run()
print(env.now)
>>> 10

# Logs of all tasks are kept
env.logs
>>> [{"agent": "Test Agent", "action": "Run", "duration": 10, "time": 10}]

Metadata

Release files for marmot-agents 0.2.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for marmot-agents 0.2.5
File Size Uploaded Provenance Actions
marmot-agents-0.2.5.tar.gz 46.4 kB Without provenance Details for marmot-agents-0.2.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for marmot-agents 0.2.5
File Interpreter ABI Platform Actions
marmot_agents-0.2.5-py3-none-any.whl Python 3 none any Details for marmot_agents-0.2.5-py3-none-any.whl

Total release size: 85.4 kB

Release files / marmot-agents-0.2.5.tar.gz

Download URL marmot-agents-0.2.5.tar.gz
Size 46.4 kB
Tags Source
SHA-256 checksum
How to use checksums
d0038c28928681b74352397a357f290da00c86a10c9626219b3ae36899faa915
BLAKE2b-256 checksum
How to use checksums
e35a9c4845dbd1b8a98fc29a83624f8cbd8d6c73dfc723a45357049cceaf3549
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Release files / marmot_agents-0.2.5-py3-none-any.whl

Download URL marmot_agents-0.2.5-py3-none-any.whl
Size 39.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f7678a830593222436396163fb0788d9d113bf84afb956b8854aad465830c2a6
BLAKE2b-256 checksum
How to use checksums
38fe583072b49c82b91edca02ef99fcc90c0be54df247f285fe7fd28249e4c31
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.20.1 setuptools/45.2.0.post20200209 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

Security for marmot-agents 0.2.5

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.

Release history Release notifications | RSS feed

This release

0.2.5 This release

2 release files No provenance

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