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 details)

Uploaded Source

Built Distributions

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

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

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

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

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

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

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

cothread-2.20.0-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.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (104.8 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

cothread-2.20.0-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.0-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.0.tar.gz.

File metadata

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

File hashes

Hashes for cothread-2.20.0.tar.gz
Algorithm Hash digest
SHA256 2ff627c7000e80d7234dc2af28673df6242d9e38c7367a7b7cce4d12b23f8d4a
MD5 2abfb4dffdf0350ea473a467c27f4ee2
BLAKE2b-256 823025f940031496337f3e8428b8ec06ec414fb420834180f01ed8571265f7d3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 35b13eb00e9043d982a61b81ce29bfccc1272095796159036447113a9a1f32e8
MD5 8a19a537242c3ac60150447211ffb0ec
BLAKE2b-256 bc0d9e7d48fd2d101d011052765688a40fcf26dbf5cf0328756566ddb305265d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 373e3276eed32b629c1c40be2fb8bc6cd8e194dc5690fb467a001997a685ae3b
MD5 5adefbb02d47f2cc0568674449019fb4
BLAKE2b-256 70021f157c61a2310d42733e36947e343700780ba0a4713240bae378f8cda7f9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 3ec9abc6af5d8570a565f507df814473201f225e6d31c2b59d068a71163c262e
MD5 6bb888aeaad19331881a92f0209cd1c6
BLAKE2b-256 6010e7632beb39b0654f4c68a5d154cf99eae9a0f9e03e59b9f97e4112f2450d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 404f7eff362d3f4adbe4d236a254a4c4dff310173d41882d940a4480dd048691
MD5 d5cab15f39ab172c5b8d66f6926b32ad
BLAKE2b-256 339a1d9cacb512a203f210c146e31ea150d4162359b97a9f14cd07ae10ce2d05

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 34c659194637c3f6199372348805f4308443814bad5f527c371d002bacd3fa8c
MD5 888492a5a4ae3025e67066a963157cd1
BLAKE2b-256 138a5d74768338303b243318abf21c20f3beb20ce8239dd07525a731c36ea3dd

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 ace20c2be542b69a5ad2b73d5c94a2835fc3b5939d0faa91d4003835c477031b
MD5 d1a5a6031e4fa2325b7bd9d3e7cf2d90
BLAKE2b-256 041850d7932520be2b8c4de47f4d82461b7a8c732c28f070ec2b13e8e68321d4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 113975c2ec2350aa8dcf009fd3a2ec1622ae0967ef33e333e5c650b9cb571b7f
MD5 ee2ba36a8efabea4fde4e53747263d7e
BLAKE2b-256 8f3cee4a70258a249bb89bc5f72a89cd084f9264dfa06df26dc0746a60bd7b26

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8169ee3b2fffa0c316da962dfc8447bc57697fbb3051f88bb4f627919c9b53cf
MD5 00c06d2ee1bc33d22e1afcd72d830ebd
BLAKE2b-256 2878941c5781d992b05149ed4557fed1451a3937afa332848be8ebcee82fd96e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 821b89bfdb93aee428fa71e346db513b3e84f1ad73bbb8bca90ca5f343840b74
MD5 c39ee93f239c937ba4a68acead7aedf8
BLAKE2b-256 50427dd7009913150c9f0cc94429077ce14deeb24418c1bcb5a2c010789143cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7affe522a27cf8901c7eb896a9e04ab92337e65379a8d886f714699f200d3174
MD5 6f60809b5e62a4648afb881ddf36a01d
BLAKE2b-256 82a3882bbf27f4b09609d70baff0096ba64c2ad32c1950302ffd57320c65d575

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 b9f3d4843da3dc7aa8c7c4e4257abc21a8b540fe69ed226446ff0ff31fb32c6b
MD5 35e6b71e93a906c6400c8d24b72e309f
BLAKE2b-256 871a4156e509ab951fc4815913f476289f8148981c694196e3cf406d3d390b74

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.20.0-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bf6c49fc27014cae0ef9bdcfad56cb9eb06e3c66383c31debd65fa4317a620ef
MD5 9fca6dc91641519af11764ebe15e060f
BLAKE2b-256 b615e3240cbe670da0c736ced4ce63ab7989d3a8dd4e06b2dccfa51a514465ff

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