async-property
Python decorator for async properties.
Decision gist · record as of 2026-08-14
Yes. The package is lightweight, actively maintained, has no dependencies, and solves a real problem in async Python code. The MIT license is permissive. Use it when you need async properties in your class design and want to avoid explicit method calls or manual caching logic.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with no runtime dependencies.
- Actively maintained; last commit 2026-04-16 with 98 repository stars.
- Python 3.7+ supported.
License · maintenance · safety
MIT license (permissive) — MIT license (permissive); you can use this freely in commercial and open-source projects with minimal restrictions.
last release 2023-07-03 (1138 days) · last repo commit 2026-04-16 · 98 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,032,066 downloads/mo, #1,981 on PyPI
Alternatives
Verify before relying
pip install async-property
from async_property import async_property
class Foo:
@async_property
async def remote_value(self):
return await get_remote_value()
instance = Foo()
await instance.remote_value- Whether AwaitLoader's concurrent loading behavior scales well with many properties or if there are practical limits.
- Performance characteristics of the asyncio.Lock mechanism under high concurrency.
- Whether cached properties properly handle exceptions on first call and subsequent retries.
What it is and what it does
async_property is a lightweight decorator library that brings async/await semantics to Python class properties. It lets you define async functions as properties using @async_property (which returns an awaitable each time) or @async_cached_property (which caches the result after the first await). For classes with multiple cached async properties, you can subclass AwaitLoader to make instances awaitable, which will load all cached properties concurrently and optionally call an async load() hook first.
The package solves the problem of accessing remote data or expensive async operations through a clean property interface instead of explicit method calls. It uses asyncio.Lock internally to ensure cached functions are called only once even under concurrent access. With no runtime dependencies and support for Python 3.7 through 3.11, it integrates easily into existing async codebases.
Use it for
- Define a class property that fetches data from a remote API or database without explicit method calls.
- Cache the result of an expensive async operation so it's computed once and reused across multiple accesses.
- Initialize multiple async resources concurrently when instantiating a class by subclassing AwaitLoader.
- Build async context objects where properties lazily load remote state on first access.
- Simplify async initialization patterns in frameworks that expect property-like access patterns.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is lightweight, actively maintained, has no dependencies, and solves a real problem in async Python code. The MIT license is permissive. Use it when you need async properties in your class design and want to avoid explicit method calls or manual caching logic.
Install
async-property on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained; last commit 2026-04-16 with 98 repository stars. Python 3.7+ supported.
License in practice
MIT license (permissive); you can use this freely in commercial and open-source projects with minimal restrictions.
Quickstart
pip install async-property
from async_property import async_property
class Foo:
@async_property
async def remote_value(self):
return await get_remote_value()
instance = Foo()
await instance.remote_value
Verify before relying
- Whether AwaitLoader's concurrent loading behavior scales well with many properties or if there are practical limits.
- Performance characteristics of the asyncio.Lock mechanism under high concurrency.
- Whether cached properties properly handle exceptions on first call and subsequent retries.
Package facts
| License | MIT license permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,138 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,032,066 / month, #1,981 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software DevelopmentTopic :: Utilities |
Evidence: async_property-0.2.2-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “async property decorator”
- async-propertyProvides Python decorators (@async_property and…
- backports.cached-propertyProvides the cached_property decorator for Python 3.6 and 3.7,…
- lazyProvides a @lazy decorator that defers computation of object…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also property-manager · lazy-object-proxy · backports.cached-property · zope.cachedescriptors · propcache · syncer · abstractcp · asyncache · wrapt