Skip to main content

GAMMS (Graph based Adversarial Multiagent Modelling Simulator) is a Python library designed for simulating large scale multi-agent scenarios on environments represented as graphs

Project description

GAMMS v0.2.7

GAMMS (Graph based Adversarial Multiagent Modelling Simulator) is a Python library designed for simulating large scale multi-agent scenarios on environments represented as graphs. The library is a framework which focuses on providing a flexible and extensible architecture to facilitate implementing interactions between agents and the environment as well as controlling the information flow between them. The library is geared towards easing development of high level scenario dynamics and testing agent behaviours rather than low level details like the actual physics of real world interactions. GAMMS tries to solve the following problems:

  1. Run large simulations involving multiple agents on an everyday laptop.
  2. Provide a simple interface to the user to define the agents and the environment.
  3. Allow the user to work with the agents and the environment without worrying about the underlying packages.
  4. Create a simulater that is easy to use on any operating system (Windows, Mac, Linux) and is easy to install.

The uniqueness of GAMMS comes from what it is not trying to be. It is not a physics engine, game engine, deep learning library, or a reinforcement learning library. The goal of GAMMS is to provide a framework where the user can use any of these libraries to implement their own agents and environments. Other libraries like Unity, PyBullet, and OpenAI Gym are great for simulating environments but they are not designed to be used as a framework for multi-agent simulations on graphs. GAMMS is trying to address the niche use for researchers and developers who want to do a quick iterations on their ideas and test them in simulated environments that have limited interactions. GAMMS want to be a tool to create a standardized way for simulating multi-agent systems, making it easier to share and reproduce results.

Requirements

Python 3.9+ installed with pip.

Package dependecies:

  • pygame
  • shapely
  • networkx
  • cbor2
  • aenum
  • osmnx

Installation

Direct pip installation from PyPI:

pip install gamms

Installation support is directly from the source code. If you have git installed,

pip install "git+https://github.com/GAMMSim/gamms.git"

Another option is to download the source code locally and run the following command in the root directory of the project:

pip install .

Detailed installation and setup instructions are available in the Installation Guide.

Documentation

The documentation is available at GAMMS Documentation. The documentation is generated using mkdocs-materials with mike for versioning. You can do a local build by cloning the repository and serving the documentation using mkdocs. For new users, Tutorials is a good place to start.

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

gamms-0.2.7.tar.gz (10.4 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gamms-0.2.7-py3-none-any.whl (65.1 kB view details)

Uploaded Python 3

File details

Details for the file gamms-0.2.7.tar.gz.

File metadata

  • Download URL: gamms-0.2.7.tar.gz
  • Upload date:
  • Size: 10.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gamms-0.2.7.tar.gz
Algorithm Hash digest
SHA256 b403232b6e4c61e8fbae8495581eb17bd3ad7a2ae0aaecbcf49e4425e3133828
MD5 e84c9d573348b405f579a0f9630a065b
BLAKE2b-256 218b626409e37c903974046e9f109d985d73d3e62be7bb0e26c0bee28143e891

See more details on using hashes here.

Provenance

The following attestation bundles were made for gamms-0.2.7.tar.gz:

Publisher: workflow.yaml on GAMMSim/gamms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file gamms-0.2.7-py3-none-any.whl.

File metadata

  • Download URL: gamms-0.2.7-py3-none-any.whl
  • Upload date:
  • Size: 65.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gamms-0.2.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8a0dca0616f6937e071725b5fae0cedb6897573f5298d33f87be21898ac5f77c
MD5 cf2932c311867a7d85bb686f94f361ec
BLAKE2b-256 2e35c9daf44d34603b0a5e41adf51b16ef07eea7e43ed6e95a8d944fb8224359

See more details on using hashes here.

Provenance

The following attestation bundles were made for gamms-0.2.7-py3-none-any.whl:

Publisher: workflow.yaml on GAMMSim/gamms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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