sniffers 0.1.0

A simple file change sniffer.
Documentation

sniffers

Basic file sniffer for detecting changes in files and directories, written in Rust; complete with python bindings (of course).

Installation

pip install sniffers

Usage

from sniffers import Sniffer

sniffer = Sniffer()

# index a file or directory
sniffer.index()

# detect changes
changes = sniffer.sniff()

# print changes
for change in changes:
    print(change)

Command Line Interface

There also exists a command line interface for this package.

To build and run the CLI, run the following commands:

cargo install --path .

Then, you can run the CLI as follows:

sniffers index
sniffers sniff