Skip to main content

EthicalGardeners

EthicalGardeners is a PettingZoo multi-agent environment for simulating gardeners tending to a grid-world garden, including ethical considerations.

The goal is to make agents learn an ethically-aligned behaviour that includes and respects these considerations.

How to

Run

To launch the simulation with default settings, use the following command in a shell, with the current working directory being the project root:

python ethicalgardeners/main.py --config-name config

Run tests

Tests must be placed in the tests/ folder; files must follow the test_*.py naming convention to be detected by unittest.

To run the tests, use the following command in a shell, with the current working directory being the project root:

python -m unittest tests/test_*.py

Build the docs

Documentation can be found in the docs/ folder, and is built using Sphinx. A quick command to build the documentation in the HTML format is:

cd docs/
make html

Then, open the build/html/index.html file in your favorite browser to read the rendered docs.

Documentation has its own requirements, which can be installed with

pip install -r docs/requirements.txt

See the documentation for more details.

Metadata

Release files for ethical-gardeners 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ethical-gardeners 0.0.1
File Size Uploaded
ethical_gardeners-0.0.1.tar.gz 40.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ethical-gardeners 0.0.1
File Interpreter ABI Platform
ethical_gardeners-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 90.9 kB

Release files / ethical_gardeners-0.0.1.tar.gz

Download URL ethical_gardeners-0.0.1.tar.gz
Size 40.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b909f9f169ff930d08f8ab96f9f2860de9b7c9c3ce5797774c95447fa924a9d6
BLAKE2b-256 checksum
How to use checksums
c375741d11a35ff707e509e302cfbe8a10403cd183d9d6738a1a6d611a17dd34
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2025.

Transparency log

Release files / ethical_gardeners-0.0.1-py3-none-any.whl

Download URL ethical_gardeners-0.0.1-py3-none-any.whl
Size 50.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b719abd63e56e87074c1e93de127262e4b2b1741b848e68962c184c6ebf92d98
BLAKE2b-256 checksum
How to use checksums
b1e0298663d97d99cee2de762fd533b3369b6818ca778d12ca8b400116131362
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2025.

Transparency log

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page