Skip to main content

Pop2net is a Python package designed to generate and manage relations between agents in agent-based models in a simple and flexible way.

Project description

status Python 3.11+

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 actors and locations. While actors are the active entities within an agent-based model, locations act as a contact layer, representing specific contexts through which actors connect. This makes it easy to generate and manage custom network structures in an agent-based model.

Pop2net can be used within custom modeling frameworks and also integrates seamlessly with the agent-based modeling frameworks AgentPy and Mesa.

Installation

You can install Pop2net using pip:

pip install pop2net

Python 3.14.1 has a bug which causes networkX to crash, see this issue. If you use Python 3.14, make sure to use any other path version that 3.14.1.

Documentation

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

How to contribute

Contributions are welcome!
See this guide for details on how to get started.

Project details


Download files

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

Source Distribution

pop2net-1.2.0.tar.gz (32.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pop2net-1.2.0-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

Details for the file pop2net-1.2.0.tar.gz.

File metadata

  • Download URL: pop2net-1.2.0.tar.gz
  • Upload date:
  • Size: 32.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pop2net-1.2.0.tar.gz
Algorithm Hash digest
SHA256 b66233fb4c64d3bd4834e20910e01d338c0871aaf7d894138810e787af372b80
MD5 8920017fe91ece58ddaa3cb17d271d90
BLAKE2b-256 879f0c86e42d61eb4e139459614629275d9453543d3cbf5f8de0e40970b8a74a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pop2net-1.2.0.tar.gz:

Publisher: release.yml on mariuzka/pop2net

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pop2net-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pop2net-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 37.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pop2net-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9a792b79b591f14ccebb1672c9a23c16adf84cf7a091525678f28266265a3279
MD5 a564e2357d6d70a307d499ff28c1feac
BLAKE2b-256 219cf83aaa7887d0d3ac54b4dc0c37f760ed48fec366d9823248b257b0806049

See more details on using hashes here.

Provenance

The following attestation bundles were made for pop2net-1.2.0-py3-none-any.whl:

Publisher: release.yml on mariuzka/pop2net

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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