Skip to main content

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 using pre-commit install.

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

mosaik_mango-0.1.2.tar.gz (4.2 kB view hashes)

Uploaded Source

Built Distribution

mosaik_mango-0.1.2-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page