Skip to main content

Quickly develop and run ABMs! Written in Rust for use in Python.

Project description

AgentPy-rs

A Rust based implementation of the AgentPy library, to speed up both development and runtime of agent-based models.

Prerequisites

To quickly start a new project, all that you need is Nix (only the package manager, not the OS).

To install, simply run sh nix-install.sh (this will also go through some extra setup steps for you).

If you are on MacOS, please see how to setup a linux-builder (and don't forget to nix run nixpkgs#darwin.linux-builder whenever you build with Nix)

User guide

Assume that you have Nix installed, it's as easy as:

mkdir my-abm
cd my-abm
nix flake init -t github:Benni-Math/agentrs

Then, you can start developing with nix develop, or open a Jupyter Notebook with nix run ., or build a Docker image for your model with nix build .#docker.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

agentrs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl (217.7 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

Supported by

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