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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file PanaXea-0.11.0.dev1-py2.py3-none-any.whl
.
File metadata
- Download URL: PanaXea-0.11.0.dev1-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.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35857fb991b724951f1a5eb8a55b8ea6dc6287169f25fca8421fee60281fbf56 |
|
MD5 | df5b32fce9e61dfdba81aea45a849646 |
|
BLAKE2b-256 | 29fd5062fa805fc6dc93ac5413e83eeaf127a2cfa3cd33cd9dfd41794b889d00 |