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.1.tar.gz (383.9 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.1-cp312-cp312-musllinux_1_1_x86_64.whl (108.8 kB view details)

Uploaded CPython 3.12musllinux: musl 1.1+ x86-64

cothread-2.19.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.9 kB view details)

Uploaded CPython 3.12manylinux: glibc 2.17+ x86-64

cothread-2.19.1-cp311-cp311-musllinux_1_1_x86_64.whl (108.9 kB view details)

Uploaded CPython 3.11musllinux: musl 1.1+ x86-64

cothread-2.19.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (106.1 kB view details)

Uploaded CPython 3.11manylinux: glibc 2.17+ x86-64

cothread-2.19.1-cp310-cp310-musllinux_1_1_x86_64.whl (108.0 kB view details)

Uploaded CPython 3.10musllinux: musl 1.1+ x86-64

cothread-2.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.3 kB view details)

Uploaded CPython 3.10manylinux: glibc 2.17+ x86-64

cothread-2.19.1-cp39-cp39-musllinux_1_1_x86_64.whl (107.8 kB view details)

Uploaded CPython 3.9musllinux: musl 1.1+ x86-64

cothread-2.19.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.0 kB view details)

Uploaded CPython 3.9manylinux: glibc 2.17+ x86-64

cothread-2.19.1-cp38-cp38-musllinux_1_1_x86_64.whl (108.2 kB view details)

Uploaded CPython 3.8musllinux: musl 1.1+ x86-64

cothread-2.19.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.3 kB view details)

Uploaded CPython 3.8manylinux: glibc 2.17+ x86-64

cothread-2.19.1-cp37-cp37m-musllinux_1_1_x86_64.whl (108.6 kB view details)

Uploaded CPython 3.7mmusllinux: musl 1.1+ x86-64

cothread-2.19.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (105.7 kB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.17+ x86-64

File details

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

File metadata

  • Download URL: cothread-2.19.1.tar.gz
  • Upload date:
  • Size: 383.9 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.1.tar.gz
Algorithm Hash digest
SHA256 c62e6697814256d6f07d4bbdddcce9f89816fe30df8dd1bbb3cf5af1ad6330c1
MD5 1904d774109e80d144cf5056bd8ecfbe
BLAKE2b-256 f30e562126ca3032f8645ee8868dade9ad88ecc8f6812fb6e6f751d3b3303ebc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 6da610401bc7981703e87a7efe93fcd87bd232d3a47c89b71bd7d4c530567a6e
MD5 5ffd3e5ffb8b4c56118297e2bd3249ed
BLAKE2b-256 0f8e747f526cc2154e62cdbf18befc556f9912857fadd5dcdc9ee5b5a544cb9d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 15825b3cca1e8b30d02b04aab26dfdf31c0bab5b3ef80a656aff79dc23573db9
MD5 eeb037de6694b35dc67d4190c677d646
BLAKE2b-256 8023daffa76b5601616a42be44a6b0a3683a36a0db9ea930796a76f7589af889

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 4fa7bfb3f9c528a9b51f97e127b3ee66610b3773dba7ca84ce7542727d49f1de
MD5 7e89fcb486b085debc029ee20db8a5c7
BLAKE2b-256 97df0bb997cd0b66a506d74c197666b2490d92d5447a8fa6a00a89961b4f5b99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 aac14a1248d4c55e86f460220586d3b87100876084cfb799af9b0eb41dacf3b5
MD5 b8e6d7ca9d5246819557284cc6e76a47
BLAKE2b-256 cc4b8c5d0112541cc6f26238b9b813622a4c41134a6d4e799d45cf4783a9e397

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 fb12d99088ce073412fb0f84930d2b08a134ba4eeb441d3beac1fe62b2e5f9e5
MD5 004ee52d87a6493a48730b4da43f6eab
BLAKE2b-256 3f692e3aab4f632223e006f646d5b3ac349cc7306149806ae50797a12c3bff62

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 be514d49dd63331aa0f8def607eff52424f0674647878b776d76d4a7769fc3ab
MD5 87863dad0293c5096ff5e39d99af3086
BLAKE2b-256 80455d43cb7b3f5c690066b7ab1939507b19744afc08d8e1fe040b5ff327d14a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 749c03636e05f310fb8652a83328555a67bee6d83b2af030e4c39b77e9ed0ce1
MD5 673681fe326edebea4d626db82cbb5b1
BLAKE2b-256 1ba4fab29554e76215cddba6b01763d11db46c551270a3a21deddf2182e7d98b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 caa0e37ae6d4f9adddf56addd76959103f2a388d0a6e1c1ddd833a87f0551d40
MD5 e9ffc87214a7d2bcc98ad625f875566b
BLAKE2b-256 d841f13a944c4cc0bc82b96e5dad1850df7013b4df9091e57f2050262774ebd6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 dc4a6fa654a6013ec95cbd5cfffb1bce53f74d9d470d2c5d1341e7073d686064
MD5 f0bfdea1d53bbbb235db1e883d4e3a95
BLAKE2b-256 8ae78a23db8002162781bc0d2ef3f8ff57413d7a446bb16ec2050d202f0d29d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7c9b6c735ad2f4f12672a5ba41e792e18931b9dcfee99c28a8bac5223cd65563
MD5 614d2d9db818c0e453458f7d361cbf30
BLAKE2b-256 845357f48f1322794484412577cc9d2a38d6c7f5dd67191c13ccb79017ba6b22

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm Hash digest
SHA256 2aa54274dfada9140e9ae2037dc64d90feafab6016d2f0ac8c980f34e31d9628
MD5 09d69929aedcb35f29ac60a43b78a5c1
BLAKE2b-256 19b54c72246389120566a2701234bb70667b4d4822d94359f208dfb1fad77c6c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cothread-2.19.1-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f0f57697eee1b87cf2bad4683e0deda5b3fe4505400084369274393999fcc3d0
MD5 9afa2f2c6df4d383fddd9dc2eff29654
BLAKE2b-256 15fda8ddc0ed13a98364e3f77c265fd5a580a0e0599d8c5d0236c057ac5a5144

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