An adapter to integrate a mango simulation into mosaik
Project description
mosaik-mango
This is an adapter for using the agent framework mango in a mosaik simulation.
This simulator is still work in progress. If you have need for a particular entity or attribute, leave an issue here.
Usage
Installation
This package can be installed from PyPI as mosaik-mango
.
Development
For the development of this simulator, the following tools are employed:
-
Hatch is used as a packaging manager. This offers the following commands:
hatch fmt
to format the code (using ruff)hatch run test:test
to run pytest in a test matrix consisting of Python versions 3.9 and 3.11 and mosaik versions 3.2 and 3.3.0b1.hatch run python
for running Python.hatch run
to run arbitrary commands in the managed virtualenv.
Also, we use
hatch-vcs
to automatically deduce version numbers from git tags. Adding a new tag starting with v on the main branch should automatically release this on PyPI. -
pre-commit is used to run hooks before committing and pushing. Install pre-commit (I recommend
pipx
) and install the hooks usingpre-commit install
.
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
Hashes for mosaik_mango-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9058591afd73365038a201632ef053e5426be541ead0ec397a34b4eb1072bab |
|
MD5 | eaa262e88fb91fa035e5c0e7f4798dca |
|
BLAKE2b-256 | cb25423c795a90c0aa94f58de8cd59a68121edd9874f9d9fe8f77e927e40cf18 |