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.1a0.tar.gz (385.0 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.20.1a0-cp312-cp312-musllinux_1_1_x86_64.whl (108.0 kB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cothread-2.20.1a0-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.1a0-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.1a0-cp39-cp39-musllinux_1_1_x86_64.whl (107.5 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

cothread-2.20.1a0-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.1a0-cp38-cp38-musllinux_1_1_x86_64.whl (107.9 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

cothread-2.20.1a0-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.1a0-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.1a0-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.1a0.tar.gz.

File metadata

  • Download URL: cothread-2.20.1a0.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.1a0.tar.gz
Algorithm Hash digest
SHA256 010460f0381808ed01a0bb27658a05b502a5df5b337fe59f601fac89c33e6a6b
MD5 ff4bce100e7982fb7e21eecae7ed18a0
BLAKE2b-256 2848b0406166a1dfcca810aa278bcff361690ba337e9b299dcc92c6ab5069bea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 0be587bd9601f404c6d320a6fa79e9517eb75e0c02e164d6d72d6a145da795e8
MD5 61d4328a3b2df0565fb7c960542334a5
BLAKE2b-256 be97fd01d498cdf9e791f199be3e4b81cdc663e759da4da6dbfe67d74eb67f7a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3a99b8ead2c11905e834c4a3f1187cca8934a20dfa786ef9fd74708599e7360a
MD5 2a25d24c7ea89cfe315d41c827415c00
BLAKE2b-256 4cabc563896becd3b5cb3fe4a9234faa0e2177f56a0369c9364e8c4855a46d5d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b3342c7dc1fc1764d506548582d89f65b12be74d3651f78106a7899472dd1e13
MD5 d89c01057326748a5f8d572ca7ee75ef
BLAKE2b-256 395335e366678a9d010841bf5d386eff1739eaa4b807cda76b4cc69de3f52e6e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 5f1b99e899c0a0d4c6159e23074edb84e9fc40297cf0a452cc548981c4a929be
MD5 33c7ef71085fe57b20d967caf44d0591
BLAKE2b-256 96d0fe3f8d4865cce85cceb71b09d5b7032f36ae396a554e9df224aa56dc3c44

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 35138350cf4a1b1a52d94346fc44724f8016cfea6b2b3911becccac3a0a5a47e
MD5 6f464b06c3b1a2aa542cfca83fb7cee0
BLAKE2b-256 e059b7519591edb34401fbba80589f31af8fcf3c18145567fd1c90a6206939b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 60195e8e10d56d3a3e6f8d12de552edb9cfbb1089c8ef633cf712f6a4d89af52
MD5 9c9de818f267a8ce4f579001812bc37a
BLAKE2b-256 ef8dbbc1d54d967278d573ba7ee884275901bb195cd9b6ea28b04f97da681dfa

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 8cab7b1bd4a0a7503baf080aff501c74cbe360677b424b69fd233f68345d9ab8
MD5 ca2d094339fa950e18a4d52d8ddeeacf
BLAKE2b-256 d7f9baaae820191586c7ba389b25373608ee104d41adb4a834694e395320e7f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 25b8a8754acca1885984054179d0a3705f39b89492e8b016853079e90e2609b7
MD5 f647b97c09fc20fdf83094f5cd588942
BLAKE2b-256 4b38de35bae957e56929658105e23c2e2520ac53f001bfeaa6bb3a894f91240b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 533fb3b328dc11f6784c34d0757ea80e78b27b41898f38564cec46ead76331fd
MD5 c67683f8595d7ee166b962092c07000e
BLAKE2b-256 be08bdc340d913e3f2f50575e7242c852f14ae39d81b1399d4f172a50441c8ad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 52255a74c8e9076707882ee63fb2a2559f470d52f23453c021a7091f18917aa5
MD5 cc5daba23d6e8c1d73dd1ec48055298a
BLAKE2b-256 7d5a8e3f270a5c2c10b73bab1bd25ca5829bfb1f086c8fc9c27aa5bc190a309f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 537370b7061e4a293f00917ffb6a49748a29916fcd243dbe42fdcf004f637e26
MD5 b7242b085df5323c36e6483102527b1d
BLAKE2b-256 8263ea3a58c865d5e641482d3d7e98ea8470202009b77ead7917e7f35751fe72

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.1a0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 265de61980be7dbc8f1dc4ae10eda84000a71419704e9fdc7b3fb0275cbe0785
MD5 53bbf6dd00ba05d8d081c874c1f45641
BLAKE2b-256 6e390d1921dc4c110d2f6caf8275ce48211187a4821ed6754500dd20c8516756

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