Skip to main content

Build tools using cooperative threading

Project description

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

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

cothread-2.20.0.tar.gz (384.4 kB view hashes)

Uploaded Source

Built Distributions

cothread-2.20.0-cp312-cp312-musllinux_1_1_x86_64.whl (107.6 kB view hashes)

Uploaded CPython 3.12 musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.7 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

cothread-2.20.0-cp311-cp311-musllinux_1_1_x86_64.whl (107.7 kB view hashes)

Uploaded CPython 3.11 musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.9 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

cothread-2.20.0-cp310-cp310-musllinux_1_1_x86_64.whl (107.5 kB view hashes)

Uploaded CPython 3.10 musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.7 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

cothread-2.20.0-cp39-cp39-musllinux_1_1_x86_64.whl (107.2 kB view hashes)

Uploaded CPython 3.9 musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.4 kB view hashes)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

cothread-2.20.0-cp38-cp38-musllinux_1_1_x86_64.whl (107.8 kB view hashes)

Uploaded CPython 3.8 musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.8 kB view hashes)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

cothread-2.20.0-cp37-cp37m-musllinux_1_1_x86_64.whl (107.8 kB view hashes)

Uploaded CPython 3.7m musllinux: musl 1.1+ x86-64

cothread-2.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.9 kB view hashes)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

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