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.1.tar.gz (385.0 kB view details)

Uploaded Source

Built Distributions

cothread-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl (107.9 kB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

cothread-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.0 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cothread-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl (108.1 kB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

cothread-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.2 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cothread-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl (107.7 kB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

cothread-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.9 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cothread-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl (107.4 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

cothread-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.7 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

cothread-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl (107.8 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

cothread-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.9 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

cothread-2.20.1-cp37-cp37m-musllinux_1_1_x86_64.whl (107.8 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

cothread-2.20.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.9 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

File details

Details for the file cothread-2.20.1.tar.gz.

File metadata

  • Download URL: cothread-2.20.1.tar.gz
  • Upload date:
  • Size: 385.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for cothread-2.20.1.tar.gz
Algorithm Hash digest
SHA256 8bda49ba22e2455d7f85007656aacb8edaffcd8306ea82f5fbcb8640a6ebaeca
MD5 6844329e809380b24cf4cb2084e3a0e8
BLAKE2b-256 2f715c89814e97f76d89e26314791dedfa199c4a75ce683570a6e300b88a6d56

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2e2212ff28470a1100d4a837bf346576c87170e045a04afadcf71b3e62cdf7df
MD5 343112552740bd56abd9adff84ba4fa8
BLAKE2b-256 0a6d6241d8cbac7b2f92a8005182e1fe623dadb12e512b533dd5a00c38891cdf

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bc45c93b4f974f6935af2ab6e4fed43ec39c411c7c69640b8f29f81c05992477
MD5 ea6918afc735d37384942eac206e69d4
BLAKE2b-256 bae47db493cfbb9637578dc7d0f15402633cb278604f6253a06bd83c9d934087

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 33b8598a4ab4ad0fd00249234daff6fdcde531cb4fa549dd65d8fd2f7284532b
MD5 1c99169a15b576d0f4e30d975e577e5f
BLAKE2b-256 52cc3f0b2b5a0d10189c8ed4da6da0159da9c90581c04dc0b442476580fe252f

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9d29ffb6dde2ea9ec7d803d9676fd64bdfcd8dbffb3758bc555362db213d4b25
MD5 8c8a8fe057275fd32ccef66c7b14a239
BLAKE2b-256 205e2c51c6ce1de0d9e856584c04356c9915ffe8fb86cfd80a3f733d80616f24

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4828567fb6ef35d034fb5e524df259278b8ce50b35fd53b70947dc679e6c1b11
MD5 93cbb81ad28a77c9efb66879009fbfbc
BLAKE2b-256 374b7f3b59f59cf7ce1aa3083377d5deefb35e5e0f2a5e8c429cafdb50481d23

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e91aaf748f37def40d5371471bd66b0eaf463e1b7e005f31e67b0f4cbdc25ae2
MD5 021f33b68069d00a8ea5ad623a484864
BLAKE2b-256 ffa427c5ef751b4118ad5dc110ee29d00fb6c4aaaf859dcfe7e54624ab4f9a79

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 7534c72fa206e82e98227c3aef59a2ed3c6887b85eb693c403cf18f660baa76e
MD5 7f6a915917cdc9e5abcf6d8c02c73716
BLAKE2b-256 5a17cc91722ec4ef386866c608756cac90e217361f455a7194a599d1abe4625a

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42d4dd73fcbf49a53ba08d905a0579d6e39aaebac558bdcce695c45add52ca50
MD5 725988cdebb038535ad307b4ae2c72b3
BLAKE2b-256 8a038b2d0ea69e16b948a9efe71bc843a02158b981a1b7553e8d22abfaf7a999

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3d9d12a70c29cf9c917ed0fccc29ac9ba737f79210f559ed7fa0f12b84c4c664
MD5 603af75964ee7a7623d532a230f094b2
BLAKE2b-256 f522188ecee6b5abb988892b803b4f6a6cbb5827c49d5bd7973acbca7a69635b

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fae2ef99e86f3c9460f6b9ae98c363c2ee5a45c59a2371f2a34228f724f66d2a
MD5 3b2b90c0a9ae19612dae8ff5d47a3e4a
BLAKE2b-256 1431a21efed2c7bab1e518ce93d77566762ff71372d18b1107041ee6a88b0753

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp37-cp37m-musllinux_1_1_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 eb57388b03a4935d455e180f564820caf4bd1bfbf8cf2857710076374bfa0049
MD5 9b562213344c4d14cb44005e2afd9ada
BLAKE2b-256 9529f2076d5ba3b1a80f5e29a9eca09e4795a42cbae4d0b5c906668f2edbf10a

See more details on using hashes here.

File details

Details for the file cothread-2.20.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for cothread-2.20.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ab64931de41d012fda7575c326ecd54b1aa066b684e05f879dec944d01d0afe4
MD5 3020fc4609506c19c7dd6f38493876e3
BLAKE2b-256 247a20fcc5db1b2e09702351bd2702741facb76d1d256c485f89a79aa27ec09e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page