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

Uploaded CPython 3.11 macOS 11.0+ ARM64

File details

Details for the file agentrs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for agentrs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03c20f0b9d8249ac2b489daa72c962fd5a8437b7fea4faba63dd0c1f82ade444
MD5 0cc086746571826a8a0ce8675d81ff80
BLAKE2b-256 e1af130ddf66de1589b712eaa56525beae58500024dc184ce9ce5db483cc64d1

See more details on using hashes here.

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