Skip to main content

aiodecorators

Function decorators based on asyncio Lock, Semaphore and BoundedSemaphore

Install

pip3 install aiodecorators

Usage

asyncio.Lock

from aiodecorators import Lock

@Lock()
async def f():
    pass

asyncio.Semaphore

from aiodecorators import Semaphore

@Semaphore(n)
async def f():
    pass

asyncio.BoundedSemaphore

from aiodecorators import BoundedSemaphore

@BoundedSemaphore(n)
async def f():
    pass

Metadata

Release files for aiodecorators 0.2.1

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

Source distribution (sdist)

Source distribution for aiodecorators 0.2.1
File Size Uploaded
aiodecorators-0.2.1.tar.gz 1.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aiodecorators 0.2.1
File Interpreter ABI Platform
aiodecorators-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 3.5 kB

Release files / aiodecorators-0.2.1.tar.gz

Download URL aiodecorators-0.2.1.tar.gz
Size 1.7 kB
Tags Source
SHA-256 checksum
How to use checksums
cd07d5d14c9656934b6bab95729db83e05795097019737f049444d3ee4cd79e5
BLAKE2b-256 checksum
How to use checksums
d066283cf17c0de8932b920d22b3ffeee4bf74d80bc2e44b4705bd1c0a3a2bc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release files / aiodecorators-0.2.1-py3-none-any.whl

Download URL aiodecorators-0.2.1-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
79291f5c339fc0d08fbf91aac1a4568a7d505ba19fa7c08e7bfc2a72357dd4af
BLAKE2b-256 checksum
How to use checksums
4b886675e4158d85324348286aec7312a949c87614a6e105cbf3e1274254eb5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

2 release files

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