habit-hooks-generic
The language-agnostic Habit Hooks plugin: a built-in line-count sensor plus a jscpd-backed duplication sensor, for any project regardless of language.
Install
This plugin ships as part of the core — installing habit-hooks installs it,
nothing extra to add.
pip install habit-hooks
Enable
# .habit-hooks/config.toml
plugins = ["generic"]
Installing a plugin does not switch it on — it has to be named in
plugins before habit-hooks runs it.
Detectors
jscpd—npm install --save-dev jscpd- The line counter is built in; nothing to install for it.
Part of habit-hooks.
Metadata
Release files for habit-hooks-generic 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| habit_hooks_generic-1.5.0.tar.gz | 17.5 kB | With provenance | Details for habit_hooks_generic-1.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| habit_hooks_generic-1.5.0-py3-none-any.whl | Python 3 | none | any | Details for habit_hooks_generic-1.5.0-py3-none-any.whl |
Total release size: 36.4 kB
Release files / habit_hooks_generic-1.5.0.tar.gz
| Download URL | habit_hooks_generic-1.5.0.tar.gz |
|---|---|
| Size | 17.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ded020f88a96fd2f7b23d79937b33f27879151b74973bb77fcf9e196b53bdbd9
|
|
BLAKE2b-256 checksum How to use checksums |
3b0608f357aa4bc8958dada5991c02467a9afd51b9347ae0b876f34e3ee846bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logRelease files / habit_hooks_generic-1.5.0-py3-none-any.whl
| Download URL | habit_hooks_generic-1.5.0-py3-none-any.whl |
|---|---|
| Size | 18.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7893d20827f804f47f4cf9e6caf54e6431d93901148af17cc6858ae6fb80c1eb
|
|
BLAKE2b-256 checksum How to use checksums |
2fdf344ca4e2ec77d932cc21622887aaa76b395021cce80ce7273405906949bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logSecurity for habit-hooks-generic 1.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for habit_hooks_generic-1.5.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 5, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.