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

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.1.1.tar.gz (32.5 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.1.1-py3-none-any.whl (37.0 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for pop2net-1.1.1.tar.gz
Algorithm Hash digest
SHA256 95353b8904781aeca6c24e189ca88c23246dd0f2a0fecba95149b5947b71bed0
MD5 3823354272a0e6187ad7a9d9d67f6f5d
BLAKE2b-256 97fdbde86fcc3391ecbef585362c4c70d9b20dc17eca43c314f62a335912c440

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pop2net-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 37.0 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.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f2bedd45ed426ab836dcdb54378058298ccdd02ba895c4b1bb28f72e37e52e53
MD5 99a58d0e3aed23424453402c81b2945f
BLAKE2b-256 b3c1cb8c43ed44fad5dcda9814871d0e0792bc30b9de23a2d1a59aaea3d3b24c

See more details on using hashes here.

Provenance

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