Skip to content

ITISFoundation/osparc-control

Repository files navigation

Osparc Control

PyPI Status Python Version License: MIT

Tests codecov pre-commit Black


Installation

You can install Osparc Control via pip from PyPI:

pip install osparc-control

Documentation

Read docs at https://itisfoundation.github.io/osparc-control

Examples

Check out the examples directory for more. To run below examples either clone the repo or copy code from the snippets below the commands

Simple example

A first example where requester.py asks for a random number and replier.py defines an interface to provide it.

  • In a first terminal run:
python examples/1_simple/requester.py

examples/1_simple/requester.py

filename

  • In a second terminal run:
python examples/1_simple/replier.py

examples/1_simple/replier.py

filename

Advanced example

A showcase of all the types of supported requests.

  • In a first terminal run:
python examples/2_base_time_add/controller.py

examples/2_base_time_add/controller.py

filename

  • In a second terminal run:
python examples/2_base_time_add/solver.py

examples/2_base_time_add/solver.py

filename

Contributing

Contributions are very welcome. To learn more, see the Contributor Guide. Our Code of Conduct pledge.

License

Distributed under the terms of the MIT license, Osparc Control is free and open source software.

Issues

If you encounter any problems, please file an issue along with a detailed description.

Credits

This project was generated from @cjolowicz's Hypermodern Python Cookiecutter template.