Skip to main content

Convert CLI tools into pre-commit hooks using python.

Project description

NullTek Documentation CliPy Hooks

PyPI - Python Version PyPI Format Tests License

This project is a library handling generic execution of command line interfaces using python, it is a cross-platform shim between pre-installed system executables and pre-commit. The intended use-case is for creating new pre-commit hooks without fussing over the boilerplate of handling the CLI.

Credit to pocc's awesome pre-commit hooks as he wrote the underlying class as part of his C linters.


Getting Started

Installing

The easiest way to use the project is to install the latest pypi release via pip.

pip install clipy-hooks

License

The source of this repo maintains the Apache 2.0 open-source license of the original code, for details on the current licensing see LICENSE or click the badge above.

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

clipy-hooks-0.2.2.tar.gz (9.1 kB view details)

Uploaded Source

Built Distribution

clipy_hooks-0.2.2-py2.py3-none-any.whl (8.8 kB view details)

Uploaded Python 2Python 3

File details

Details for the file clipy-hooks-0.2.2.tar.gz.

File metadata

  • Download URL: clipy-hooks-0.2.2.tar.gz
  • Upload date:
  • Size: 9.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for clipy-hooks-0.2.2.tar.gz
Algorithm Hash digest
SHA256 722524413b04ce6312b76dd5c3a4fb2480c61640a156b38114d55ab8e3184a06
MD5 9a0b1c7c55183d22dd0c134f876d238a
BLAKE2b-256 ca2e04ab846a67f7c0782b0ba12c0e9d0c6fdb35a2d20e531fac55185dc72b29

See more details on using hashes here.

File details

Details for the file clipy_hooks-0.2.2-py2.py3-none-any.whl.

File metadata

  • Download URL: clipy_hooks-0.2.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for clipy_hooks-0.2.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f318d6a54b071011697e7035f7fbf39ed407bed195d63d8104733f56f60e6f79
MD5 faa105ee2ac37597dd7ffc06d6cb98e1
BLAKE2b-256 7b94a92f9d32283b0609ca1849804bde28de606567114e16b012bfec7bd7a1b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page