aiopath icon indicating copy to clipboard operation
aiopath copied to clipboard

📁 Asynchronous pathlib for Python

Results 17 aiopath issues
Sort by recently updated
recently updated
newest added

Would you consider using a different software license? This library is fantastic. However, it is not possible to use at some companies which prohibit the use of the LGPL license....

First of all, thanks for this lib! You made an awesome job porting the `pathlib` interface to async =) I have a question about your readme, under the "Implementation" section...

When reading an NTFS file system on windows, a program may encounter junction points, which are similar to symbolic links, but a bit different, see this GeeksforGeeks page [https://www.geeksforgeeks.org/ntfs-junction-points/](https://www.geeksforgeeks.org/ntfs-junction-points/). The...

In 3.7.0 the _ignore_error function doesn't exist in pathlib, so aiopath fails to import. Adding a try/except block around this import that on except executes the following from [cpython](https://github.com/python/cpython/blob/b77158b4da449ec5b8f682816a79d004fd65ed07/Lib/pathlib.py#L38) would...

The following works on alpha 6 and below, but alpha 7 introduces this error: ```python3 In [1]: from aiopath import AsyncPath In [2]: home = await AsyncPath.home() --------------------------------------------------------------------------- TypeError Traceback...

Receives bytes, but can also give to memoryview. (buffer.getbuffer() -> memoryview) But pycharm will show a warning. source code https://github.com/alexdelorenzo/aiopath/blob/main/aiopath/path.py#L180 ```py # type-check for the buffer interface before truncating the...

I was thrilled to see that you're using type annotations, but mypy doesn't like it because you're missing py.typed in the package. Can you add it so that mypy will...

on python 3.12 (at least, have not tested 3.11), using rglob() leads to this: ~~~ /usr/lib/python3.12/pathlib.py:169: RuntimeWarning: coroutine 'AsyncPath.is_dir' was never awaited if not parent_path.is_dir(): RuntimeWarning: Enable tracemalloc to get...

Hi @alexdelorenzo, thanks for this handy library. Delving into the code I cannot see the necessity for `anyio` dependency. stdlib `asyncio` provides `to_thread` or `loop.run_in_executor` to push sync functions to...

The `AsyncPath.walk` method does not return an `AsyncGenerator` as expected, but instead a synchronous `Generator` object. This appears to be because of `.walk` not being defined in `AsyncPath` and thus...