aiopath
📁 Async pathlib for Python
Decision gist · record as of 2026-08-14
Yes, if you are actively writing asyncio or trio code and need pathlib-like filesystem operations without blocking. The low install friction and zero known vulnerabilities are positive. However, the dormant maintenance status means no active support for bugs or Python version changes—verify that Python 3.12+ support meets your needs and that the package's behavior is stable for your use case before relying on it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.12 or later.
- Low install friction with a pure-wheel distribution.
- Maintenance is dormant—last release was over a year ago—so expect no active bug fixes or feature updates.
License · maintenance · safety
LGPL-3.0 (copyleft) — Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must be distributed under the same license; static linking and proprietary use are restricted.
last release 2023-10-16 (1033 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 209,724 downloads/mo, #9,509 on PyPI
Alternatives
Verify before relying
from aiopath import AsyncPath
import asyncio
async def example():
path = AsyncPath('example.txt')
await path.write_text('hello')
content = await path.read_text()
print(content)
asyncio.run(example())- Whether libaio integration on Linux (mentioned in description) is functional or requires additional setup.
- Current status of the dormant repository and whether critical bug fixes are being accepted.
- Stability and compatibility of the package with Python 3.12+ given the dormant maintenance status.
What it is and what it does
aiopath is a direct reimplementation of Python's pathlib module designed to work with asyncio and trio, making all filesystem I/O operations awaitable. Instead of blocking the event loop during file operations, aiopath lets you perform concurrent disk and network I/O in async code. It mirrors pathlib's class hierarchy and API closely—AsyncPath inherits from Path, and methods that perform I/O are async versions of their synchronous counterparts. Methods like glob() return async generators, and file operations like read_text() and write_bytes() are fully awaitable.
The package depends on aiofile, anyio, and typing-extensions. It's useful when you're writing async Python code and want to avoid mixing blocking and non-blocking I/O—for example, in web scrapers that need to fetch multiple URLs concurrently and save responses to disk without stalling the event loop. The implementation wraps os.scandir() and DirEntry to make globbing completely asynchronous.
Use it for
- Async web scrapers that fetch multiple URLs concurrently and write responses to disk without blocking the event loop.
- Building async file utilities or CLI tools that need to read/write many files concurrently.
- Replacing pathlib in async codebases where you need to traverse directories with glob() without blocking.
- Async data processing pipelines that read input files and write results concurrently.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are actively writing asyncio or trio code and need pathlib-like filesystem operations without blocking.
The low install friction and zero known vulnerabilities are positive. However, the dormant maintenance status means no active support for bugs or Python version changes—verify that Python 3.12+ support meets your needs and that the package's behavior is stable for your use case before relying on it in production.
Install
aiopath on PyPI
Before you install
Low install friction with a pure-wheel distribution. Maintenance is dormant—last release was over a year ago—so expect no active bug fixes or feature updates.
Requires Python 3.12 or later.
License in practice
Licensed under LGPL-3.0 (copyleft). Any derivative work or modification must be distributed under the same license; static linking and proprietary use are restricted.
Quickstart
from aiopath import AsyncPath
import asyncio
async def example():
path = AsyncPath('example.txt')
await path.write_text('hello')
content = await path.read_text()
print(content)
asyncio.run(example())
Verify before relying
- Whether libaio integration on Linux (mentioned in description) is functional or requires additional setup.
- Current status of the dormant repository and whether critical bug fixes are being accepted.
- Stability and compatibility of the package with Python 3.12+ given the dormant maintenance status.
Package facts
| License | LGPL-3.0 copyleft |
| Python support | Supports the current Python release >=3.12 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesaiofileanyiotyping-extensions |
| Maintenance | Dormant 1,033 days since the last release |
| First released | |
| Downloads | 209,724 / month, #9,509 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: aiopath-0.7.7-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 pathlib”
- aiopathAsync-compatible reimplementation of Python's pathlib with awaitable…
- flake8-use-pathlibA flake8 plugin that detects uses of os and os.path functions that…
- pathlib3xBackport of Python 3.11 pathlib to Python 3.8+ with extensions like…
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 aiofile · aiofiles · path · trio · anyio · path.py · anysqlite · synchronicity · aioretry · asyncio