Build tools using cooperative threading
Project description
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for cothread-2.19.1-cp312-cp312-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6da610401bc7981703e87a7efe93fcd87bd232d3a47c89b71bd7d4c530567a6e |
|
MD5 | 5ffd3e5ffb8b4c56118297e2bd3249ed |
|
BLAKE2b-256 | 0f8e747f526cc2154e62cdbf18befc556f9912857fadd5dcdc9ee5b5a544cb9d |
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 |
Hashes for cothread-2.19.1-cp311-cp311-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fa7bfb3f9c528a9b51f97e127b3ee66610b3773dba7ca84ce7542727d49f1de |
|
MD5 | 7e89fcb486b085debc029ee20db8a5c7 |
|
BLAKE2b-256 | 97df0bb997cd0b66a506d74c197666b2490d92d5447a8fa6a00a89961b4f5b99 |
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 |
Hashes for cothread-2.19.1-cp310-cp310-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | fb12d99088ce073412fb0f84930d2b08a134ba4eeb441d3beac1fe62b2e5f9e5 |
|
MD5 | 004ee52d87a6493a48730b4da43f6eab |
|
BLAKE2b-256 | 3f692e3aab4f632223e006f646d5b3ac349cc7306149806ae50797a12c3bff62 |
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 |
Hashes for cothread-2.19.1-cp39-cp39-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 749c03636e05f310fb8652a83328555a67bee6d83b2af030e4c39b77e9ed0ce1 |
|
MD5 | 673681fe326edebea4d626db82cbb5b1 |
|
BLAKE2b-256 | 1ba4fab29554e76215cddba6b01763d11db46c551270a3a21deddf2182e7d98b |
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 |
Hashes for cothread-2.19.1-cp38-cp38-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc4a6fa654a6013ec95cbd5cfffb1bce53f74d9d470d2c5d1341e7073d686064 |
|
MD5 | f0bfdea1d53bbbb235db1e883d4e3a95 |
|
BLAKE2b-256 | 8ae78a23db8002162781bc0d2ef3f8ff57413d7a446bb16ec2050d202f0d29d5 |
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 |
Hashes for cothread-2.19.1-cp37-cp37m-musllinux_1_1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2aa54274dfada9140e9ae2037dc64d90feafab6016d2f0ac8c980f34e31d9628 |
|
MD5 | 09d69929aedcb35f29ac60a43b78a5c1 |
|
BLAKE2b-256 | 19b54c72246389120566a2701234bb70667b4d4822d94359f208dfb1fad77c6c |
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 |