Skip to main content

Restart-on-change library

Project description

https://scrutinizer-ci.com/g/formwork-io/lazarus/badges/quality-score.png?b=master

A Python library to restart the process when source code changes.

Features

  • Automatically restart when source changes
  • Customize when, why, and how restarts happen
  • Runs on Linux and Mac

Examples

Restart when any Python module rooted at PYTHONPATH changes:

>>> import lazarus
>>> lazarus.default()

Same thing, but within a uWSGI container:

>>> import lazarus
>>> lazarus.default(restart_func=lambda: uwsgi.reload(), close_fds=False)

History

0.6.3 2014-12-10

  • Expanded PyPI package page.

0.6.2 2014-12-09

  • Fixed Sublime Text save workflows.

0.6.1 2014-12-07

  • Added Mac Support.

0.5.1 2014-11-13

  • Migrated GitHub repository to formwork-io

0.5 2013-10-17

  • Released to PyPI

0.4 2013-10-17

  • Fixed crash when multiple changes detected and first triggers restart (#6)
  • Fixed default mode always closing FDs (#5)

0.3 2013-10-16

  • Added ability to specify restart command (#1)
  • Added ability to cancel the restart (#2)

0.1 2013-10-15

  • First functional release.

Project details


Release history Release notifications

This version
History Node

0.6.3

History Node

0.6.2

History Node

0.6.1

History Node

0.5.1

History Node

0.5

History Node

0.4

History Node

0.3

History Node

0.2

History Node

0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
lazarus-0.6.3.tar.gz (10.6 kB) Copy SHA256 hash SHA256 Source None Dec 10, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page