Catalog PyPI
PACKAGE EXPLORERView in registry

aiodecorators

PyPI

Function decorators based on asyncio synchronization primitives

aioasyncioboundedsemaphoredecoratordecoratorslocksemaphoresynchronization
Versions collected1
Direct dependencies0From release 0.2.1
Last observed21 Oct, 11:48 UTC

README

Version 0.2.1 documentation

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

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.2.123 Dec 20220

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
dflupu/aiodecorators

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:48 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:bfa76642899e69373fb9cc189b0958794740c8033e35302e0fd23f6d4eca7875