Aioshutil
Asynchronous version of functions of shutil module.
Install / Use
/learn @kumaraditya303/AioshutilREADME
aioshutil: Asynchronous shutil module.
Introduction
aioshutil is a Python library which provides asynchronous version of function of shutil module. shutil module is blocking and using it in asyncio applications will block the event loop and slow down the application, aioshutil provides asynchronous friendly versions of the functions of the shutil module as it performs blocking io in a thread pool.
Installation
$ pip install aioshutil
Usage
The API of aioshutil module is same as shutil module except that it is asynchronous.
from aioshutil import rmtree
await rmtree("/tmp")
aioshutil provides the following functions:
copyfileobjcopyfilecopymodecopystatcopycopy2copytreemovermtreemake_archiveget_archive_formatsregister_archive_formatunregister_archive_formatget_unpack_formatsregister_unpack_formatunregister_unpack_formatunpack_archiveignore_patternschownwhichget_terminal_size
aioshutil provides the following exceptions for consistency with shutil module:
ErrorSpecialFileErrorSameFileError
Related Skills
node-connect
340.5kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
84.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
340.5kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
84.2kCommit, push, and open a PR
