https://github.com/diamondlightsource/cothread
Cooperative Python Threads and EPICS Channel Access bindings
https://github.com/diamondlightsource/cothread
Last synced: 2 months ago
JSON representation
Cooperative Python Threads and EPICS Channel Access bindings
- Host: GitHub
- URL: https://github.com/diamondlightsource/cothread
- Owner: DiamondLightSource
- License: apache-2.0
- Created: 2015-08-12T08:00:15.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2025-05-20T10:06:10.000Z (9 months ago)
- Last Synced: 2025-06-24T19:45:26.933Z (8 months ago)
- Language: C
- Size: 30.5 MB
- Stars: 13
- Watchers: 34
- Forks: 9
- Open Issues: 16
-
Metadata Files:
- Readme: README.rst
- Contributing: .github/CONTRIBUTING.rst
- License: COPYING
Awesome Lists containing this project
README
|code_ci| |docs_ci| |coverage| |pypi_version| |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
.. |code_ci| image:: https://github.com/DiamondLightSource/cothread/actions/workflows/code.yml/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/cothread/actions/workflows/code.yml
:alt: Code CI
.. |docs_ci| image:: https://github.com/DiamondLightSource/cothread/actions/workflows/docs.yml/badge.svg?branch=master
:target: https://github.com/DiamondLightSource/cothread/actions/workflows/docs.yml
:alt: Docs CI
.. |coverage| image:: https://codecov.io/gh/DiamondLightSource/cothread/branch/master/graph/badge.svg
:target: https://codecov.io/gh/DiamondLightSource/cothread
:alt: Test Coverage
.. |pypi_version| image:: https://img.shields.io/pypi/v/cothread.svg
:target: https://pypi.org/project/cothread
:alt: Latest PyPI version
.. |license| image:: https://img.shields.io/badge/License-Apache%202.0-blue.svg
:target: https://opensource.org/licenses/Apache-2.0
:alt: Apache License
..
Anything below this line is used when viewing README.rst and will be replaced
when included in index.rst