## hapless

[](https://pypi.org/project/hapless/)

[](https://github.com/psf/black)
[](https://github.com/astral-sh/ruff)
[](https://editorconfig.org/)
[](https://github.com/pre-commit/pre-commit)
> **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.
[](https://asciinema.org/a/489924?speed=2)
### Installation
```bash
$ 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.
```bash
$ pip install --user hapless
$ python -m pip install --user hapless
```
### Usage
```bash
# 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](https://github.com/bmwant/hapless/blob/main/USAGE.md) for the complete list of commands and available parameters.
### Contribute
See [DEVELOP.md](https://github.com/bmwant/hapless/blob/main/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](https://github.com/bmwant/hapless/releases) page.
### See also
* [Rich](https://rich.readthedocs.io/en/stable/introduction.html) console UI library.
* [Supervisor](http://supervisord.org/) full-fledged process manager.
* [podmena](https://github.com/bmwant/podmena) provides nice emoji icons to commit messages.
### Support πΊπ¦ Ukraine in the war!
πΊπ¦ Donate to [this foundation](https://prytulafoundation.org/en) in case you want to help. Every donation matter!
Raw data
{
"_id": null,
"home_page": "https://github.com/bmwant/hapless",
"name": "hapless",
"maintainer": null,
"docs_url": null,
"requires_python": "<4.0,>=3.7",
"maintainer_email": null,
"keywords": "cli, job, runner, background, process",
"author": "Misha Behersky",
"author_email": "bmwant@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/a5/94/aea10560241dbd9e355dd6be50d1b097436fdf60d61a1fabd629b3823bc7/hapless-0.7.0.tar.gz",
"platform": null,
"description": "## hapless\n\n\n[](https://pypi.org/project/hapless/)\n\n\n\n[](https://github.com/psf/black)\n[](https://github.com/astral-sh/ruff)\n[](https://editorconfig.org/)\n[](https://github.com/pre-commit/pre-commit)\n\n> **hapless** (*adjective*) - (especially of a person) unfortunate. A developer who accidentally launched long-running process in the foreground.\n\nSimplest way of running and tracking processes in the background.\n\n[](https://asciinema.org/a/489924?speed=2)\n\n### Installation\n\n```bash\n$ pip install hapless\n\n# or to make sure proper pip is used for the given python executable\n$ python -m pip install hapless\n```\n\nInstall into user-specific directory in case of any permissions-related issues.\n\n```bash\n$ pip install --user hapless\n$ python -m pip install --user hapless\n```\n\n### Usage\n\n```bash\n# Run arbitrary script\n$ hap run -- python long_running.py\n\n# Show summary table\n$ hap\n\n# Display status of the specific process\n$ hap status 1\n```\n\nSee [USAGE.md](https://github.com/bmwant/hapless/blob/main/USAGE.md) for the complete list of commands and available parameters.\n\n### Contribute\n\nSee [DEVELOP.md](https://github.com/bmwant/hapless/blob/main/DEVELOP.md) to setup your local development environment and feel free to create a pull request with a new feature.\n\n### Releases changelog\n\nChangelog file was removed; you can now view the changes made in each release on the [Releases](https://github.com/bmwant/hapless/releases) page.\n\n### See also\n\n* [Rich](https://rich.readthedocs.io/en/stable/introduction.html) console UI library.\n* [Supervisor](http://supervisord.org/) full-fledged process manager.\n* [podmena](https://github.com/bmwant/podmena) provides nice emoji icons to commit messages.\n\n### Support \ud83c\uddfa\ud83c\udde6 Ukraine in the war!\n\n\ud83c\uddfa\ud83c\udde6 Donate to [this foundation](https://prytulafoundation.org/en) in case you want to help. Every donation matter!\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Run and track processes in background",
"version": "0.7.0",
"project_urls": {
"Blog post": "https://bmwant.link/hapless-easily-run-and-manage-background-processes/",
"Homepage": "https://github.com/bmwant/hapless",
"Repository": "https://github.com/bmwant/hapless"
},
"split_keywords": [
"cli",
" job",
" runner",
" background",
" process"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "4be03981f8a515a0910c92ba6918f424a0b6945214ecafc05f1d8cb8e44cfc80",
"md5": "84376eed84ad29d0f9ce4955775ee451",
"sha256": "c0538fd0f6036d2c80e2ee3d3d7e5aeea4024c2b65963ade63793b037fbf42a4"
},
"downloads": -1,
"filename": "hapless-0.7.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "84376eed84ad29d0f9ce4955775ee451",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<4.0,>=3.7",
"size": 12897,
"upload_time": "2024-12-10T18:23:20",
"upload_time_iso_8601": "2024-12-10T18:23:20.910915Z",
"url": "https://files.pythonhosted.org/packages/4b/e0/3981f8a515a0910c92ba6918f424a0b6945214ecafc05f1d8cb8e44cfc80/hapless-0.7.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a594aea10560241dbd9e355dd6be50d1b097436fdf60d61a1fabd629b3823bc7",
"md5": "bb3c1a64809b6b33c232d7207841190a",
"sha256": "58800c99d5be2efb6f0407a10c988cef11d5e84a98a485d2c33b8334d90010b3"
},
"downloads": -1,
"filename": "hapless-0.7.0.tar.gz",
"has_sig": false,
"md5_digest": "bb3c1a64809b6b33c232d7207841190a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<4.0,>=3.7",
"size": 11695,
"upload_time": "2024-12-10T18:23:22",
"upload_time_iso_8601": "2024-12-10T18:23:22.317489Z",
"url": "https://files.pythonhosted.org/packages/a5/94/aea10560241dbd9e355dd6be50d1b097436fdf60d61a1fabd629b3823bc7/hapless-0.7.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-10 18:23:22",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "bmwant",
"github_project": "hapless",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "hapless"
}