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
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
Hashes for agentrs-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 03c20f0b9d8249ac2b489daa72c962fd5a8437b7fea4faba63dd0c1f82ade444 |
|
MD5 | 0cc086746571826a8a0ce8675d81ff80 |
|
BLAKE2b-256 | e1af130ddf66de1589b712eaa56525beae58500024dc184ce9ce5db483cc64d1 |