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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

cothread-2.19-cp312-cp312-musllinux_1_1_x86_64.whl (108.7 kB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

cothread-2.19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.6 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cothread-2.19-cp311-cp311-musllinux_1_1_x86_64.whl (108.8 kB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

cothread-2.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.8 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cothread-2.19-cp310-cp310-musllinux_1_1_x86_64.whl (107.9 kB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

cothread-2.19-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.19-cp39-cp39-musllinux_1_1_x86_64.whl (107.7 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

cothread-2.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.6 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

cothread-2.19-cp38-cp38-musllinux_1_1_x86_64.whl (108.1 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

cothread-2.19-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.19-cp37-cp37m-musllinux_1_1_x86_64.whl (108.5 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

cothread-2.19-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.2 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: cothread-2.19.tar.gz
  • Upload date:
  • Size: 370.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.5

File hashes

Hashes for cothread-2.19.tar.gz
Algorithm Hash digest
SHA256 1a29e20e0419e591a7ddf8d4e5c261d2a8c1ba9ed7bdd54d84c43427179f21b1
MD5 aa10bf8f739e287a7ee3953a678f3b26
BLAKE2b-256 9f6a7c4af0ba6039a7b9b8e17323342557bdc52b5539f0b6ce2504a0b83b0a1a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 24c82bb413e6936d1522354423cddde8a26388259f8e137e3e3c656caf5c0aec
MD5 8bef22029c0b2e68e48b042f2d8dc936
BLAKE2b-256 d86f2262bd7b066b6e195c836b3e374e95d019ebaa7ff5118419bd6e4df98433

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 66448efd907af58819947de93fa73c601b6cb5f86bc080c31f704289f0502fee
MD5 f98838c48a5ac4a790a10b4d3b8f92d6
BLAKE2b-256 f5bb483b5312628a4b41429e42a9d90054d69f7c6df1f315227da087b9ee3aa2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 025bc153a77ec307de9e69d45d3c05fe9ff16e5f449871883a838af80a441771
MD5 ecbfffc958a8640456fc7160192b8979
BLAKE2b-256 dbb53aa7cb1208fa4d38b39150933d5ffc3f6cbeba566b9c5cfeabe74954f12e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e3aed7d2be19c24022e70383377e8575cc133c52720aef60663de992909dfc7f
MD5 aaf93967f39930a82f0a47899865f334
BLAKE2b-256 78cfed5c5e762a206e4811b3e5b07a6b5081ab6bc043d35d71449ee9413997ed

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 73077f9bf41dde2624959d0c757ce59dd37422c158d2c96d4ae87d35d2fc3289
MD5 433ff5d2570432f6db0e4fc6193fb046
BLAKE2b-256 282e5c9c290a5c373af0b14ef2a54aa6d2f347d47b01677f85bf92578bcc5875

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 86256194855afb44e8f2b3b0fc3717071489a65426ff740a2d8f3e2dc8b2fa9c
MD5 3a54b7eac11027b68aa98b16c1edc5fe
BLAKE2b-256 6dd93eed777a6d9addd55d1527c319a998774865a608ab5f0971d1d5da508da6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 d1fa32bbdd86df6714ff11c5a22edf28262b474d648f4a10ab5b39f8961820ad
MD5 5df56f2930e73aec7787db2ce609fceb
BLAKE2b-256 99627b2d71d3c827f76ad697fd4aaee74e9782c6ef57063b4abcbe67d27297d0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 c1c8afaf3aeaf210047b831534925b9136de4ccc4c6d49fc67bb1f81abfe99f8
MD5 8954af9da12b85a10e1ca33e747c0391
BLAKE2b-256 32d3f6dee892b552cef970916f96821ce28a9960c83e1f4f8b0af1e4c464ae88

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 02dce945359804cbf4984e2be96e2da58dfa5b6695ca8c7dbbe3abc17c884269
MD5 e1061bf0a3510d46e8929a82e4ad9741
BLAKE2b-256 4ef5b757fc85efaaf09efb8433b7dde7343f50108e45a33665326d5c4b57aeb6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 82a4c652b1769a4d76654ac5efd4ebd895b2266ec8174dabb5d57abd25faa9ff
MD5 33f1f9da797929e71df7a64ca14b14ed
BLAKE2b-256 067cc756fcb82c42bc2f3a6b7f0e11de56653e624ec7e7178310eb8189004526

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 22e19afa751fe908bb11d5e3a5dca465d26ad584df0053baa109c81180ef0985
MD5 2c1a8fabd2b1a80d0b721634ea72f10f
BLAKE2b-256 dbcf8c33a0d88676a832914650bd308ceb527d651ff36331be0746655c6efa7e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b3b50f3407a908d36fb5ca2227d801f5dc52a495808c8d80565a9ae3312fa48a
MD5 f2a1b0fb42c4b00be815b64f7aaaf69e
BLAKE2b-256 f87f01ffa579a8e6afa510f5586f9918862edf1016b56daefdbadd48952130a4

See more details on using hashes here.

Supported by

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