pearsedoolin / watchfs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

About

License:MIT License


Languages

Language:Python 56.7%Language:Rust 41.5%Language:Batchfile 1.1%Language:Shell 0.7%