Skip to content

Pop2net simplifies the creation of network structures for agent-based models.

License

Notifications You must be signed in to change notification settings

mariuzka/pop2net

Repository files navigation

Python 3.9+

Pop2net

Pop2net is a Python package that combines many steps related to network generation and management for agent-based modeling using a bipartite approach: In Pop2net, relations are represented as a graph of agents and locations. Locations act as a contact layer, representing specific contexts through which agents connect. This makes it easy to generate and manage custom network structures in an agent-based model. Pop2net extends the existing agent-based modeling framework AgentPy, while also providing functionality for generating networks compatible with other modeling frameworks.

Installation

You can install Pop2net using pip:

pip install pop2net

Documentation

Detailed documentation of all features and a collection of example analyses can be found here.