/watchfs

Primary LanguagePythonMIT LicenseMIT

build Code style: black codecov license snyk

Watchfs

A python file system watcher that uses the rust notify crate.

Example

import asyncio
import watchfs

async def my_async_file_watcher():
    async with watchfs.start_watch("path/to/watch") as watcher:
        async for file_change in watcher:
            print(file_change)

asyncio.run(my_async_file_watcher)