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
Release files for cothread 2.20.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cothread-2.20.1.tar.gz | 385.0 kB | Details |
Built distributions (wheels)
Total release size: 1.7 MB
Release files / cothread-2.20.1.tar.gz
| Download URL | cothread-2.20.1.tar.gz |
|---|---|
| Size | 385.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8bda49ba22e2455d7f85007656aacb8edaffcd8306ea82f5fbcb8640a6ebaeca
|
|
BLAKE2b-256 checksum How to use checksums |
2f715c89814e97f76d89e26314791dedfa199c4a75ce683570a6e300b88a6d56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 107.9 kB |
| Tags | CPython 3.12 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
2e2212ff28470a1100d4a837bf346576c87170e045a04afadcf71b3e62cdf7df
|
|
BLAKE2b-256 checksum How to use checksums |
0a6d6241d8cbac7b2f92a8005182e1fe623dadb12e512b533dd5a00c38891cdf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 105.0 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
bc45c93b4f974f6935af2ab6e4fed43ec39c411c7c69640b8f29f81c05992477
|
|
BLAKE2b-256 checksum How to use checksums |
bae47db493cfbb9637578dc7d0f15402633cb278604f6253a06bd83c9d934087
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 108.1 kB |
| Tags | CPython 3.11 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
33b8598a4ab4ad0fd00249234daff6fdcde531cb4fa549dd65d8fd2f7284532b
|
|
BLAKE2b-256 checksum How to use checksums |
52cc3f0b2b5a0d10189c8ed4da6da0159da9c90581c04dc0b442476580fe252f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 105.2 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
9d29ffb6dde2ea9ec7d803d9676fd64bdfcd8dbffb3758bc555362db213d4b25
|
|
BLAKE2b-256 checksum How to use checksums |
205e2c51c6ce1de0d9e856584c04356c9915ffe8fb86cfd80a3f733d80616f24
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 107.7 kB |
| Tags | CPython 3.10 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
4828567fb6ef35d034fb5e524df259278b8ce50b35fd53b70947dc679e6c1b11
|
|
BLAKE2b-256 checksum How to use checksums |
374b7f3b59f59cf7ce1aa3083377d5deefb35e5e0f2a5e8c429cafdb50481d23
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 104.9 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
e91aaf748f37def40d5371471bd66b0eaf463e1b7e005f31e67b0f4cbdc25ae2
|
|
BLAKE2b-256 checksum How to use checksums |
ffa427c5ef751b4118ad5dc110ee29d00fb6c4aaaf859dcfe7e54624ab4f9a79
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 107.4 kB |
| Tags | CPython 3.9 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
7534c72fa206e82e98227c3aef59a2ed3c6887b85eb693c403cf18f660baa76e
|
|
BLAKE2b-256 checksum How to use checksums |
5a17cc91722ec4ef386866c608756cac90e217361f455a7194a599d1abe4625a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 104.7 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
42d4dd73fcbf49a53ba08d905a0579d6e39aaebac558bdcce695c45add52ca50
|
|
BLAKE2b-256 checksum How to use checksums |
8a038b2d0ea69e16b948a9efe71bc843a02158b981a1b7553e8d22abfaf7a999
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 107.8 kB |
| Tags | CPython 3.8 Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
3d9d12a70c29cf9c917ed0fccc29ac9ba737f79210f559ed7fa0f12b84c4c664
|
|
BLAKE2b-256 checksum How to use checksums |
f522188ecee6b5abb988892b803b4f6a6cbb5827c49d5bd7973acbca7a69635b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 104.9 kB |
| Tags | CPython 3.8 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
fae2ef99e86f3c9460f6b9ae98c363c2ee5a45c59a2371f2a34228f724f66d2a
|
|
BLAKE2b-256 checksum How to use checksums |
1431a21efed2c7bab1e518ce93d77566762ff71372d18b1107041ee6a88b0753
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp37-cp37m-musllinux_1_1_x86_64.whl
| Download URL | cothread-2.20.1-cp37-cp37m-musllinux_1_1_x86_64.whl |
|---|---|
| Size | 107.8 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux musl 1.1+ x86-64 |
|
SHA-256 checksum How to use checksums |
eb57388b03a4935d455e180f564820caf4bd1bfbf8cf2857710076374bfa0049
|
|
BLAKE2b-256 checksum How to use checksums |
9529f2076d5ba3b1a80f5e29a9eca09e4795a42cbae4d0b5c906668f2edbf10a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / cothread-2.20.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | cothread-2.20.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 104.9 kB |
| Tags | CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
ab64931de41d012fda7575c326ecd54b1aa066b684e05f879dec944d01d0afe4
|
|
BLAKE2b-256 checksum How to use checksums |
247a20fcc5db1b2e09702351bd2702741facb76d1d256c485f89a79aa27ec09e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|