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.2.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.2-py3-none-any.whl (37.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pop2net-1.2.2.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.2.tar.gz
Algorithm Hash digest
SHA256 18cde297a17dbf3a67178643a55d8ee73feb84c4d047898ef1fb9797181f1abe
MD5 f6c845de860ae6a0ef136eb0cd40d257
BLAKE2b-256 c366ae748ebdb3d0215bb6aef436b32ddff3c9c3bb75310e5995e0607069496d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pop2net-1.2.2.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.2-py3-none-any.whl.

File metadata

  • Download URL: pop2net-1.2.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c3eb68c920c57f81ad22a0c74d7ab91d0091f8c619af677926a969fae4a620ae
MD5 91efb92610bd98497ac3331c14a7127e
BLAKE2b-256 0a6c9e093d2fcd8d7e611b35fa0bb2400ee59a32a402fd2b3a314500c014b260

See more details on using hashes here.

Provenance

The following attestation bundles were made for pop2net-1.2.2-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