Skip to main content

Run and track processes in background

Project description

hapless

Checks PyPI PyPI - Python Version Code style: black

hapless (adjective) - (especially of a person) unfortunate. A developer who accidentally launched long-running process in the foreground.

Simplest way of running and tracking processes in the background.

asciicast

Installation

$ pip install hapless

# or to make sure proper pip is used for the given python executable
$ python -m pip install hapless

Install into user-specific directory in case of any permissions-related issues.

$ pip install --user hapless
$ python -m pip install --user hapless

Usage

# Run arbitrary script
$ hap run -- python long_running.py
# Show summary table
$ hap
# Display status of the specific process
$ hap status 1

See USAGE.md for the complete list of commands and available parameters.

Contribute

See DEVELOP.md to setup your local development environment and feel free to create a pull request with a new feature.

Releases

See CHANGELOG.md for the new features included within each release.

See also

  • Rich console UI library.
  • Supervisor full-fledged process manager.
  • podmena provides nice emoji icons to commit messages.

Support project, support 🇺🇦 Ukraine!

🐶 D7DA74qzZUyh9cctCxWovPTEovUSjGzL2S this is Dogecoin wallet to support the project.

🇺🇦 All donations will go towards supporting Ukraine in the war.

✉️ Contact author directly in case you want to donate with some different payment option or check what has already been done.

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

hapless-0.1.4.tar.gz (9.2 kB view hashes)

Uploaded Source

Built Distribution

hapless-0.1.4-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

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