Skip to main content

Scan filesystems for changes

Project description

ulif.pynotify – Watch for filesystem changes

Scan filesystems and look for changes.

Basically, a package that provides an API and scripts to scan parts of a filesystem for changes. The changes are returned as Python objects (API) or output on commandline.

While ulif.pynotify itself is pure Python, some extensions (notably the SQLite support) require C extensions.

ulif.pynotify will make use of specialized filesystem watchdogs depending on the OS used, but right now it only contains a simple Python-only implementation.

For this purpose the package provides a library and a script to detect filechanges. For ‘remembering’ file states ulif.pynotify provides SQLite support.

Documentation

The full package documentation can be found at:

http://packages.python.org/ulif.pynotify

Prerequisites

ulif.pynotify is currently tested on Linux only.

  • you need Python >= 2.4

  • for full install (includung tests etc.) you also need the Python header files and a working C-compiler like gcc.

Installing the Library

Use easy_install to install the library.

Or download the sources and in the root dir of the extracted package do:

$ python setup.py install

You might need superuser permissions to do that.

Installing for Development

After downloading and extracting the sources, in the root dir of the downloaded file tree do:

$ python bootstrap/bootstrap.py

which will configure the package for your system. Then, run:

$ ./bin/buildout

which will generate all scripts needed for development in the local bin/ directory.

Running Tests

Afterwards you can run the tests by doing:

$ ./bin/test

Creating Docs

ulif.pynotify comes with some documentation in the docs/ folder. It can be turned into Sphinx based HTML by running:

$ ./bin/make-docs

The docs then can be found in docs/_build/html.

Creating Coverage Reports

We try to keep ulif.pynotify at a 100%-test-covered level. You can do the coverage report by issuing on the command line:

$ ./bin/coverage-detect
$ ./bin/coveragereport

This will create HTML docs of the test coverage of each module.

CHANGES

0.2 (2010-11-14)

  • Added support for pysqlite. We can now detect additions and deletions.

  • Added license document.

  • Improved docs.

0.1 (2010-10-25)

Initial implementation.

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ulif.pynotify-0.2.tar.gz (33.7 kB view details)

Uploaded Source

File details

Details for the file ulif.pynotify-0.2.tar.gz.

File metadata

  • Download URL: ulif.pynotify-0.2.tar.gz
  • Upload date:
  • Size: 33.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ulif.pynotify-0.2.tar.gz
Algorithm Hash digest
SHA256 d73211e4e4cce84c7544f22494ad0792cb938802b9420d246736f37854afb64d
MD5 d0bc1ba777875e5a74dba5d84630bd73
BLAKE2b-256 2c765717707f904f219f6d59f757d8820a239ebfeb51137a28eb1a53b09f708b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page