Skip to main content

A minimalist framework for agent-based modelling in Python.

Project description

PanaXea

Introduction

Welcome to PanaXea!

A minimalist framework to easily and quickly develop agent-based models in Python. PanaXea aims to provide a set of tools and utilities to rapidly achieve common tasks in agent-based model development such as schedule and environment management, agent behaviour setup, etc.

It provides:

  • Easy configuration model properties and keep track of parameter values and outputs;
  • A scheduling system that implements model progression as a set of epochs, and makes sure all agents are executed within a single epoch;
  • Classes for 2D and 3D environments, and helper methods for these;
  • Generic classes for agents and other steppables providing commonly used functionalities.

Table of Contents

  • Contributing - PanaXea welcomes contributors, see the guidelines for an overview of how to participate in the project;
  • Getting started - A quick description of how to get started designing your own models;
  • Installation - A description of how to install the project;
  • License - PanaXea is distributed under MIT license;

Getting started

See examples in ./examples for a few simple models to get you started.

The documentation is available on readthedocs.

PanaXea will work with both Python 2 and Python 3.

The core and toolkit modules do not require any additional packages to be used.

It might be useful to have Nox installed to run the end-to-end linting/testing/documenting pipeline. This will also require you to have pytest, sphinx and flake8 installed.

Running some of the examples requires NumPy and Matplotlib.

Overall, you might be more comfortable using an Anaconda distribution of Python.

Installation

As a first possibility you may clone/download the project and make sure the core module (and the toolkit module if you plan on using it) are added to your PYTHONPATH.

You may also install using pip:

pip install PanaXea

Contact

The project is maintained by Dario Panada, PhD student at The University of Manchester (UK). - dario.panada at manchester dot ac dot uk

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

PanaXea-0.11.0.dev0.tar.gz (11.8 kB view details)

Uploaded Source

Built Distributions

PanaXea-0.11.0.dev0-py2.py3-none-any.whl (33.2 kB view details)

Uploaded Python 2 Python 3

PanaXea-0.11.0.dev0-py2-none-any.whl (33.2 kB view details)

Uploaded Python 2

File details

Details for the file PanaXea-0.11.0.dev0.tar.gz.

File metadata

  • Download URL: PanaXea-0.11.0.dev0.tar.gz
  • Upload date:
  • Size: 11.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.16

File hashes

Hashes for PanaXea-0.11.0.dev0.tar.gz
Algorithm Hash digest
SHA256 ed7b95c905a03845a05e498c86b4d63da2b27fc5e2c630b103d7774255998b41
MD5 cdb34e8cf5e7ade77c0da22502895550
BLAKE2b-256 b0bff60458575147fee3e074a50f63f8ec06a078d260f4bae4ed02b218e5e798

See more details on using hashes here.

File details

Details for the file PanaXea-0.11.0.dev0-py2.py3-none-any.whl.

File metadata

  • Download URL: PanaXea-0.11.0.dev0-py2.py3-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.16

File hashes

Hashes for PanaXea-0.11.0.dev0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d71bfc2edc2b176da90d1ebc7ea0cce0c0fa33d9f2430f9e71e9c79d45094b01
MD5 26dd6956b715712150717e49aeb5383b
BLAKE2b-256 21ea196f4b997f4f27812aec710a00d74ab8871eaf416b998369139e7a95ccf8

See more details on using hashes here.

File details

Details for the file PanaXea-0.11.0.dev0-py2-none-any.whl.

File metadata

  • Download URL: PanaXea-0.11.0.dev0-py2-none-any.whl
  • Upload date:
  • Size: 33.2 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/2.7.16

File hashes

Hashes for PanaXea-0.11.0.dev0-py2-none-any.whl
Algorithm Hash digest
SHA256 cc3dee8960521d45e48e0544e0ca336d2ec23f36409ae7a8782fdb68295f62ec
MD5 b6735c0a02e286bb6bc4e9c4a508bf3f
BLAKE2b-256 6661a7ed51953bf59d88697dfc158ad1e391f39e29573d20c0c16bbbf21d17f2

See more details on using hashes here.

Supported by

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