This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
h1. A log watcher written in Python

Allows RegEx-based line matching for various actions.

Configs are JSON files of the following format:

bc. [
{
"regex": "<pattern>",
"action": "<action>"[,
"<argument>": "<value>"[, ...]
]
}[, ...]
]

Currently supported ConsoleUI actions:

* *Print* (with colours!) - prints the line to stdout
** additional arguments: _fore_, _back_, and _style_ (see "colorama":https://pypi.python.org/pypi/colorama for a list of supported values)

* *Ignore* - ignores the input line

* *Write* - write the line to a file. Multiple actions can write to the same file (_truncate_ must be the same).
** additional arguments: _truncate_

*Required action arguments:*
* regex - the regular expression to match against
* action - the action to perform if the regex matches a line from the input

*Optional action arguments:*
* continue - if set to true, matching will continue even if the action is called (default is false)

h2. Example config for monitoring SASS output:

bc. [
{
"regex": "^>>>.*",
"action": "Print",
"fore": "GRAY"
},
{
"regex": "^\\s+error.*",
"action": "Print",
"fore": "WHITE",
"back": "RED"
},
{
"regex": ".*",
"action": "Print",
"fore": "YELLOW",
"style": "DIM"
}
]


h3. Credits

"*colorama*":https://pypi.python.org/pypi/colorama - Terminal output colours
Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
snakewatch-1.0.0.tar.gz (26.5 kB) Copy SHA256 Checksum SHA256 Source Aug 15, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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