Code CI Docs CI Test Coverage Latest PyPI version Apache License

cothread#

The cothread Python library is designed for building tools using cooperative threading. This means that, with care, programs can effectively run several tasks simultaneously.

The cothread.catools library is designed to support easy channel access from Python, and makes essential use of the features of cooperative threads – in particular, catools.camonitor() notifies updates in the background.

See the documentation for more details.

Installation#

To install the latest release, type:

pip install cothread

To install the latest code directly from source, type:

pip install git+git://github.com/DiamondLightSource/cothread

Documentation#

Full documentation is available at https://DiamondLightSource.github.io/cothread

How the documentation is structured#

The documentation is split into 2 sections:

The User Guide contains documentation on how to install and use cothread.

The Developer Guide contains documentation on how to develop and contribute changes back to cothread.