Datadynamics
Datadynamics is a Python library and environment for simulating (multi-agent) data collection dynamics. The library is built on top of PettingZoo and is distributed under the BSD 3-Clause License.
The documentation is available at lfwa.github.io/datadynamics/.
Installation
Datadynamics can be installed via PyPI from Python 3.10 and higher:
$ pip install datadynamics
Alternatively, you can install from source by downloading the latest release or by cloning the GitHub repository, navigating into the directory, and installing via Poetry: poetry install.
Usage
Visit the documentation site at lfwa.github.io/datadynamics/ for full usage guides.
Quick Start
# See tutorials/collector/wrapper_example.py
from datadynamics.environments import collector_v0
from datadynamics.policies import greedy_policy_v0
env = collector_v0.env(
n_points=300, n_agents=2, max_collect=[120, 180], render_mode="human"
)
policy = greedy_policy_v0.policy(env=env)
env.reset()
for agent in env.agent_iter():
observation, reward, termination, truncation, info = env.last()
action = policy.action(observation, agent)
env.step(action)
Metadata
Release files for datadynamics 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| datadynamics-0.0.1.tar.gz | 29.9 kB | Without provenance | Details for datadynamics-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| datadynamics-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for datadynamics-0.0.1-py3-none-any.whl |
Total release size: 69.6 kB
Release files / datadynamics-0.0.1.tar.gz
| Download URL | datadynamics-0.0.1.tar.gz |
|---|---|
| Size | 29.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7a7a367078090da6d80768acb8c306d1d2791be626fe020943b8a173ffd54c5b
|
|
BLAKE2b-256 checksum How to use checksums |
104e601578163da2076d08e74ad855e50d2e126619cd8cf7fc2d885b371bdd92
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.10 Linux/5.15.0-1034-azure
|
Release files / datadynamics-0.0.1-py3-none-any.whl
| Download URL | datadynamics-0.0.1-py3-none-any.whl |
|---|---|
| Size | 39.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
803fd793fceee6933f1c13ffd2d6582a992bbbda985ab0516197b099778b34d6
|
|
BLAKE2b-256 checksum How to use checksums |
fb6752440787183c5e25a3b25d4a4e10cd13274ea525045315125c77554ab096
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.0 CPython/3.10.10 Linux/5.15.0-1034-azure
|
Security for datadynamics 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.