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
$ 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 changelog
Changelog file was removed; you can now view the changes made in each release on the Releases page.
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
File details
Details for the file hapless-0.7.1.tar.gz
.
File metadata
- Download URL: hapless-0.7.1.tar.gz
- Upload date:
- Size: 11.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f820e29185c5fa0863960e57f5926b46f5645568e75d85c414c91e9d59bd856a |
|
MD5 | d654629a18ed4e683c25c189d1e92651 |
|
BLAKE2b-256 | e33bf9632135d4234d63577e90cd349be07085f30aab1c450c5898e1658e847f |
Provenance
The following attestation bundles were made for hapless-0.7.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.7.1.tar.gz
- Subject digest:
f820e29185c5fa0863960e57f5926b46f5645568e75d85c414c91e9d59bd856a
- Sigstore transparency entry: 161191761
- Sigstore integration time:
- Permalink:
bmwant/hapless@8525406401a5735edda190c2d3cad538de7411b6
- Branch / Tag:
refs/tags/v0.7.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@8525406401a5735edda190c2d3cad538de7411b6
- Trigger Event:
push
- Statement type:
File details
Details for the file hapless-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: hapless-0.7.1-py3-none-any.whl
- Upload date:
- Size: 12.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7f6e75e48d729accea3071ddbed83034f742dfccf05971197067d88fd0ee067 |
|
MD5 | a2eaa5d730d1950ea32872d3d0876426 |
|
BLAKE2b-256 | 75c4d1bca2072aaeaa7d92e257495083937b363075f29abfb9bcc4d69b0e1ecd |
Provenance
The following attestation bundles were made for hapless-0.7.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.7.1-py3-none-any.whl
- Subject digest:
a7f6e75e48d729accea3071ddbed83034f742dfccf05971197067d88fd0ee067
- Sigstore transparency entry: 161191768
- Sigstore integration time:
- Permalink:
bmwant/hapless@8525406401a5735edda190c2d3cad538de7411b6
- Branch / Tag:
refs/tags/v0.7.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@8525406401a5735edda190c2d3cad538de7411b6
- Trigger Event:
push
- Statement type: