Skip to main content

Agent based processs modeling.

Project description

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.




Jake Nunemaker


Coming soon!


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")

# 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
>>> 10

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

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

marmot-agents-0.2.5.tar.gz (46.4 kB view hashes)

Uploaded source

Built Distribution

marmot_agents-0.2.5-py3-none-any.whl (39.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page