Skip to main content
https://travis-ci.org/jbn/lockchain.svg?branch=master https://ci.appveyor.com/api/projects/status/9k78nhy88v51fd69?svg=true https://coveralls.io/repos/github/jbn/lockchain/badge.svg?branch=master https://img.shields.io/pypi/dm/lockchain.svg https://img.shields.io/pypi/v/lockchain.svg https://img.shields.io/badge/license-MIT-blue.svg https://img.shields.io/pypi/pyversions/lockchain.svg

What is lockchain?

A LockChain allows you to create a chain of critical regions, executed sequentially. The underlying Lock from asyncio would actually enforce this with a dequeue, so this library is mostly unnecessary. Had I read the code first, I would have either not needed this or found a different solution. Until I actually think about it though, it’s still here.

It’s still useful for limiting access to some set of resources in a namespace. If no coroutine is blocking for some resource, it’s you may get to close that resource (or reset a rate limit.)

Metadata

Release files for lockchain 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for lockchain 0.0.2
File Size Uploaded
lockchain-0.0.2.tar.gz 5.5 kB Details

Release files / lockchain-0.0.2.tar.gz

Download URL lockchain-0.0.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
dbd5ecee77bbeb1c654d8ea740872392f97b77ec2d01f1c4acfb9ba756a8f7ff
BLAKE2b-256 checksum
How to use checksums
4d5278e8437d0cff35e3304465446c7c96b13c2030590c9ec454605f4a9aa70e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.0.2 This release

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page