diff options
Diffstat (limited to '.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info')
6 files changed, 130 insertions, 0 deletions
diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/INSTALLER b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/INSTALLER new file mode 100644 index 00000000..a1b589e3 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/INSTALLER @@ -0,0 +1 @@ +pip diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/LICENSE.md b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/LICENSE.md new file mode 100644 index 00000000..04200024 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/LICENSE.md @@ -0,0 +1,29 @@ +BSD 3-Clause License + +Copyright (c) 2021, Kumar Aditya +All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/METADATA b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/METADATA new file mode 100644 index 00000000..7bee5888 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/METADATA @@ -0,0 +1,85 @@ +Metadata-Version: 2.1 +Name: aioshutil +Version: 1.5 +Summary: Asynchronous shutil module. +Home-page: https://github.com/kumaraditya303/aioshutil +Author: Kumar Aditya +Author-email: kumaraditya@python.org +License: BSD License +Keywords: asyncio,io,shutil +Platform: UNKNOWN +Classifier: Development Status :: 5 - Production/Stable +Classifier: Framework :: AsyncIO +Classifier: Programming Language :: Python +Classifier: Programming Language :: Python :: 3 +Classifier: Programming Language :: Python :: 3.8 +Classifier: Programming Language :: Python :: 3.9 +Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 +Classifier: Programming Language :: Python :: 3.13 +Classifier: Programming Language :: Python :: 3 :: Only +Classifier: Programming Language :: Python :: Implementation :: CPython +Classifier: Programming Language :: Python :: Implementation :: PyPy +Classifier: Operating System :: OS Independent +Classifier: License :: OSI Approved :: BSD License +Requires-Python: >=3.8 +Description-Content-Type: text/markdown +License-File: LICENSE.md +Requires-Dist: typing-extensions ; python_version < "3.10" + +# aioshutil: Asynchronous shutil module. + +[](https://pepy.tech/project/aioshutil)    + +# 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 + +```console +$ pip install aioshutil +``` + +# Usage + +The API of `aioshutil` module is same as `shutil` module except that it is asynchronous. + +```python +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` +- `ExecError` +- `SameFileError` + + diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/RECORD b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/RECORD new file mode 100644 index 00000000..2b342277 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/RECORD @@ -0,0 +1,9 @@ +aioshutil-1.5.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4 +aioshutil-1.5.dist-info/LICENSE.md,sha256=OlyaTH5NpJyeWi7yZAqS6IVZVJMsjkk5t2DZsaia-aw,1549 +aioshutil-1.5.dist-info/METADATA,sha256=oWaKB4DOVVvpw00fJLiY8nYbkzbB7Vw6PGhPPA9lDqQ,2648 +aioshutil-1.5.dist-info/RECORD,, +aioshutil-1.5.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92 +aioshutil-1.5.dist-info/top_level.txt,sha256=1KO1SMwg0H8xzr7iEIPllrS4LRKAJAsHaIDR_r4N4b8,10 +aioshutil/__init__.py,sha256=yIgPX_UMlFPqmXPEpJQmhc5Bdx3WF2MxnatmY_i27MU,6461 +aioshutil/__pycache__/__init__.cpython-312.pyc,, +aioshutil/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0 diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/WHEEL b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/WHEEL new file mode 100644 index 00000000..bab98d67 --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/WHEEL @@ -0,0 +1,5 @@ +Wheel-Version: 1.0 +Generator: bdist_wheel (0.43.0) +Root-Is-Purelib: true +Tag: py3-none-any + diff --git a/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/top_level.txt b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/top_level.txt new file mode 100644 index 00000000..da115a1a --- /dev/null +++ b/.venv/lib/python3.12/site-packages/aioshutil-1.5.dist-info/top_level.txt @@ -0,0 +1 @@ +aioshutil |
