aioshutil
Asynchronous shutil module.
Decision gist · record as of 2026-08-14
Yes, if you need shutil-like operations in an asyncio application. The API is familiar, install friction is minimal, and there are no known vulnerabilities. However, note that the package is aging (last update 297 days ago) and has modest adoption. It remains a solid choice for straightforward async file operations, but verify that its thread-pool approach meets your performance requirements.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later; intended for use within an asyncio event loop.
- Low install friction with a single lightweight dependency (typing-extensions).
- Maintenance status is aging—last commit was 2025-10-21 and the package has not been updated in 297 days, though the repository remains active and not archived.
License · maintenance · safety
BSD License (permissive) — BSD License (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
last release 2025-10-21 (297 days) · last repo commit 2025-10-21 · 49 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 385,870 downloads/mo, #7,058 on PyPI
Alternatives
Verify before relying
pip install aioshutil
from aioshutil import rmtree
import asyncio
async def main():
await rmtree("/tmp/mydir")
asyncio.run(main())- Whether thread pool size is configurable or tunable for high-concurrency scenarios.
- Performance characteristics compared to native async file libraries in real-world workloads.
- Whether all shutil functions are fully implemented or if some have limitations.
What it is and what it does
aioshutil wraps the standard library's shutil module to provide async-compatible versions of its functions. The standard shutil module performs blocking I/O operations that freeze an asyncio event loop when called directly; aioshutil offloads these operations to a thread pool, allowing the event loop to remain responsive. It mirrors shutil's API closely—functions like rmtree, copytree, move, and copy are available as async coroutines—and includes the same exception types for consistency.
The package is useful in asyncio applications that need to perform file system operations without stalling concurrent tasks. It supports modern Python versions and runs on both CPython and PyPy. With only typing-extensions as a runtime dependency, it has minimal overhead and integrates straightforwardly into existing async codebases.
Use it for
- Removing or copying large directory trees in an async web server without blocking request handling.
- Performing batch file operations (move, archive) in a concurrent task scheduler without stalling other tasks.
- Implementing async cleanup routines in long-running services that must remain responsive to events.
- Building async CLI tools that need to manipulate files without freezing the event loop during I/O.
- Handling file operations in async test suites where blocking calls would timeout or deadlock.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need shutil-like operations in an asyncio application.
The API is familiar, install friction is minimal, and there are no known vulnerabilities. However, note that the package is aging (last update 297 days ago) and has modest adoption. It remains a solid choice for straightforward async file operations, but verify that its thread-pool approach meets your performance requirements.
Install
aioshutil on PyPI
Before you install
Low install friction with a single lightweight dependency (typing-extensions). Maintenance status is aging—last commit was 2025-10-21 and the package has not been updated in 297 days, though the repository remains active and not archived.
Requires Python 3.8 or later; intended for use within an asyncio event loop.
License in practice
BSD License (permissive) places no significant restrictions on use, modification, or distribution in most contexts.
Quickstart
pip install aioshutil
from aioshutil import rmtree
import asyncio
async def main():
await rmtree("/tmp/mydir")
asyncio.run(main())
Verify before relying
- Whether thread pool size is configurable or tunable for high-concurrency scenarios.
- Performance characteristics compared to native async file libraries in real-world workloads.
- Whether all shutil functions are fully implemented or if some have limitations.
Package facts
| License | BSD License permissive |
| Python support | Supports the current Python release >=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagetyping-extensions |
| Maintenance | Aging 297 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 385,870 / month, #7,058 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableFramework :: AsyncIOLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: aioshutil-1.6-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 file operations”
- aioshutilProvides async-friendly versions of shutil functions that run…
- aiofilesProvides non-blocking file I/O for asyncio applications by delegating…
- aiofileProvides asynchronous file I/O operations for asyncio programs, with…
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 aiofiles · blockbuster · aioprocessing · pyserial-asyncio · mixpanel-py-async · aiofile · synchronicity · aiosqlite · aiocop · python-logstash-async