Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aioshutil: Asynchronous shutil module.

Downloads

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:

  • copyfileobj
  • copyfile
  • copymode
  • copystat
  • copy
  • copy2
  • copytree
  • move
  • rmtree
  • make_archive
  • get_archive_formats
  • register_archive_format
  • unregister_archive_format
  • get_unpack_formats
  • register_unpack_format
  • unregister_unpack_format
  • unpack_archive
  • ignore_patterns
  • chown
  • which
  • get_terminal_size

aioshutil provides the following exceptions for consistency with shutil module:

  • Error
  • SpecialFileError
  • SameFileError

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aioshutil-1.7a1.tar.gz (50.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aioshutil-1.7a1-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file aioshutil-1.7a1.tar.gz.

File metadata

  • Download URL: aioshutil-1.7a1.tar.gz
  • Upload date:
  • Size: 50.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aioshutil-1.7a1.tar.gz
Algorithm Hash digest
SHA256 52edf931ccc2794d154b7af905f25da8443410c00090b766e9947a89c92c016a
MD5 6f350773070ce67382abdf411c932c1d
BLAKE2b-256 976695701b63cd67087a196670910f458a2a979b68099d5a4a78fcba664dbad7

See more details on using hashes here.

File details

Details for the file aioshutil-1.7a1-py3-none-any.whl.

File metadata

  • Download URL: aioshutil-1.7a1-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for aioshutil-1.7a1-py3-none-any.whl
Algorithm Hash digest
SHA256 c76632d1bbf346fbc14ec2c5cda1483c0cd4e135675fbbf07d2a919f535950ae
MD5 624c2c1c22561aa5c8b8d0c0bfe51660
BLAKE2b-256 98afae8559ae8cf0ce3eab4a30a63af7aeb35c78b1abfd835cefe20c1b80ab17

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.7a1 This release

2 files

1.6

2 files

1.5

2 files

1.4

2 files

1.3

2 files

1.2

2 files

1.1

2 files

1.0

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page