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
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
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 Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18cde297a17dbf3a67178643a55d8ee73feb84c4d047898ef1fb9797181f1abe
|
|
| MD5 |
f6c845de860ae6a0ef136eb0cd40d257
|
|
| BLAKE2b-256 |
c366ae748ebdb3d0215bb6aef436b32ddff3c9c3bb75310e5995e0607069496d
|
Provenance
The following attestation bundles were made for pop2net-1.2.2.tar.gz:
Publisher:
release.yml on mariuzka/pop2net
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pop2net-1.2.2.tar.gz -
Subject digest:
18cde297a17dbf3a67178643a55d8ee73feb84c4d047898ef1fb9797181f1abe - Sigstore transparency entry: 804883118
- Sigstore integration time:
-
Permalink:
mariuzka/pop2net@bb9e65c10b431add761d8563a9c7d8344f0b1db2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mariuzka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb9e65c10b431add761d8563a9c7d8344f0b1db2 -
Trigger Event:
workflow_dispatch
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3eb68c920c57f81ad22a0c74d7ab91d0091f8c619af677926a969fae4a620ae
|
|
| MD5 |
91efb92610bd98497ac3331c14a7127e
|
|
| BLAKE2b-256 |
0a6c9e093d2fcd8d7e611b35fa0bb2400ee59a32a402fd2b3a314500c014b260
|
Provenance
The following attestation bundles were made for pop2net-1.2.2-py3-none-any.whl:
Publisher:
release.yml on mariuzka/pop2net
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pop2net-1.2.2-py3-none-any.whl -
Subject digest:
c3eb68c920c57f81ad22a0c74d7ab91d0091f8c619af677926a969fae4a620ae - Sigstore transparency entry: 804883146
- Sigstore integration time:
-
Permalink:
mariuzka/pop2net@bb9e65c10b431add761d8563a9c7d8344f0b1db2 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/mariuzka
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@bb9e65c10b431add761d8563a9c7d8344f0b1db2 -
Trigger Event:
workflow_dispatch
-
Statement type: