Skip to main content

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.

Release files for ulif.pynotify 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ulif.pynotify 0.2
File Size Uploaded
ulif.pynotify-0.2.tar.gz 33.7 kB Details

Release files / ulif.pynotify-0.2.tar.gz

Download URL ulif.pynotify-0.2.tar.gz
Size 33.7 kB
Tags Source
SHA-256 checksum
How to use checksums
d73211e4e4cce84c7544f22494ad0792cb938802b9420d246736f37854afb64d
BLAKE2b-256 checksum
How to use checksums
2c765717707f904f219f6d59f757d8820a239ebfeb51137a28eb1a53b09f708b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page