Skip to main content

Restart-on-change library

Project description

https://img.shields.io/pypi/v/lazarus.svg https://img.shields.io/pypi/l/lazarus.svg https://scrutinizer-ci.com/g/formwork-io/lazarus/badges/quality-score.png?b=master https://img.shields.io/travis/formwork-io/lazarus.svg

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


Download files

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

Source Distribution

lazarus-0.6.3.tar.gz (10.6 kB view details)

Uploaded Source

File details

Details for the file lazarus-0.6.3.tar.gz.

File metadata

  • Download URL: lazarus-0.6.3.tar.gz
  • Upload date:
  • Size: 10.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lazarus-0.6.3.tar.gz
Algorithm Hash digest
SHA256 6d580b54041accc707eb7531ec5ec7ccabf681c79f65c4bf31d664f1d577bed8
MD5 f5104d0216e5d5b8020f31f2bb285acd
BLAKE2b-256 8ae87e6983e62db9caf299711b19f6f2ebec95018218a6c27ec83454bf9db3c8

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