Run and track processes in background
Project description
hapless
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.
Installation
- Install using uv
uv tool install hapless
- Install using pipx
pipx install hapless
- Install using pip
pip install hapless
# 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
- Install using brew
brew install 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
Changes made in each release can be found on the Releases page.
Python versions compatibility:
0.11.1is the last version to support Python3.70.15.1is the last version to support Python3.8
See also
- Rich console UI library.
- Supervisor full-fledged process manager.
- podmena provides nice emoji icons to commit messages.
Support 🇺🇦 Ukraine in the war!
🇺🇦 Donate to this foundation in case you want to help. Every donation matter!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hapless-0.15.1.tar.gz.
File metadata
- Download URL: hapless-0.15.1.tar.gz
- Upload date:
- Size: 15.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b54707a5f77ac8e779bfd0c8c49344333e9d40a5c9479f0da1c303ffa237077d
|
|
| MD5 |
5f1fefa119ece528702da3a6b2c39748
|
|
| BLAKE2b-256 |
2caba5c875f00927421371c9c36849030ba84dc171e7157575fd85126e893064
|
Provenance
The following attestation bundles were made for hapless-0.15.1.tar.gz:
Publisher:
publish-to-pypi.yml on bmwant/hapless
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hapless-0.15.1.tar.gz -
Subject digest:
b54707a5f77ac8e779bfd0c8c49344333e9d40a5c9479f0da1c303ffa237077d - Sigstore transparency entry: 785144740
- Sigstore integration time:
-
Permalink:
bmwant/hapless@e38c0459ff1593aacadd265ff453be291f067bb7 -
Branch / Tag:
refs/tags/v0.15.1 - Owner: https://github.com/bmwant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@e38c0459ff1593aacadd265ff453be291f067bb7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file hapless-0.15.1-py3-none-any.whl.
File metadata
- Download URL: hapless-0.15.1-py3-none-any.whl
- Upload date:
- Size: 17.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46831af7a137900c487a84cbb90e6e107e3d2317c7eacf4b98c0d4e158017d5e
|
|
| MD5 |
9c16ac672bc098066079592a9b790b45
|
|
| BLAKE2b-256 |
c299e844c573dbefc10c49b84299f70a1a10c8f2dce8a711d0d7760ff52a952e
|
Provenance
The following attestation bundles were made for hapless-0.15.1-py3-none-any.whl:
Publisher:
publish-to-pypi.yml on bmwant/hapless
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hapless-0.15.1-py3-none-any.whl -
Subject digest:
46831af7a137900c487a84cbb90e6e107e3d2317c7eacf4b98c0d4e158017d5e - Sigstore transparency entry: 785144743
- Sigstore integration time:
-
Permalink:
bmwant/hapless@e38c0459ff1593aacadd265ff453be291f067bb7 -
Branch / Tag:
refs/tags/v0.15.1 - Owner: https://github.com/bmwant
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@e38c0459ff1593aacadd265ff453be291f067bb7 -
Trigger Event:
push
-
Statement type: