https://github.com/baskiton/pyfanotify
Python wrapper for Linux fanotify - monitoring filesystem events
https://github.com/baskiton/pyfanotify
fanotify file-events file-events-monitoring filemon filemonitor filesystem linux linux-kernel python
Last synced: 3 months ago
JSON representation
Python wrapper for Linux fanotify - monitoring filesystem events
- Host: GitHub
- URL: https://github.com/baskiton/pyfanotify
- Owner: baskiton
- License: mit
- Created: 2021-10-11T02:33:44.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-20T21:01:40.000Z (10 months ago)
- Last Synced: 2025-02-01T04:03:45.346Z (4 months ago)
- Topics: fanotify, file-events, file-events-monitoring, filemon, filemonitor, filesystem, linux, linux-kernel, python
- Language: C
- Homepage: https://pyfanotify.readthedocs.io
- Size: 45.9 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pyfanotify
[][pypi_proj]
[][pypi_proj]
[](https://github.com/baskiton/pyfanotify/blob/main/LICENSE)[](https://github.com/baskiton/pyfanotify/actions/workflows/build.yml)
[](https://github.com/baskiton/pyfanotify/actions/workflows/pypi-upload.yml)
[][documentation]Python wrapper for Linux fanotify. \
See [fanotify manpage][man_fanotify] for more details.To detail see the [documentation][documentation]
### IMPORTANT!
`fanotify` requires execution from **ROOT**!## Requirements
* Python 3.6+## Installing
### Using PIP
```sh
$ pip install pyfanotify
```
### From sources
```sh
$ git clone https://github.com/baskiton/pyfanotify.git
$ cd pyfanotify
$ python setup.py install
```## Usage
See [examples][examples][pypi_proj]: https://pypi.org/project/pyfanotify/
[man_fanotify]: https://man7.org/linux/man-pages/man7/fanotify.7.html
[examples]: https://github.com/baskiton/pyfanotify/blob/main/examples
[documentation]: https://pyfanotify.readthedocs.io