Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Nana keeps an eye on a directory and reacts when anything changes

Project Description

Nana keeps an eye on a directory and reacts when anything changes.

Usage

Nana requires Python 2.6 or better (including 3).

Install Nana from PyPI:

$ pip install nana

Tell Nana what to do when anything changes in the current directory:

# Rebuild Sphinx docs on every change in the current directory:
$ nana "sphinx-build -a docs/ docs/_build/html"
^.   .  ^

You can specify the directory to monitor with the -d option:

# Rebuild Sphinx docs on every change in the "docs" directory:
$ nana "sphinx-build -a docs/ docs/_build/html" -d docs
^.   .  ^

You can also tell Nana how many seconds she should wait between the checks with the -t option:

# Check the current directory once a minute:
$ nana "echo Updated!" -t 60
^.   .  ^

By default, Nana checks the directory every second.

To quit Nana, press Ctrl+C:

--- Ruff-Ruff! ---
Release History

Release History

This version
History Node

1.0.6

History Node

1.0.5

History Node

1.0.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
nana-1.0.6-py3-none-any.whl (4.2 kB) Copy SHA256 Checksum SHA256 3.5 Wheel Nov 14, 2015
nana-1.0.6.tar.gz (2.4 kB) Copy SHA256 Checksum SHA256 Source Nov 14, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting