A set of extended APIs for PyInvoke for composable scripts, plugins and richer output
Project description
invoke-toolkit
A set of extensions for rich output, more options in collection/config discovery through entry-points.
This extends the Collection from Invoke so it can create automatically collections.
Table of Contents
Features
- Task discovery by namespace for extendable/composable CLIs
- Discovery to plain old tasks.py (or any other name)
- Integration with stand alone binaries for specific tasks
- Future Download binaries
Do I need this package
If you have...
- Used
invokefor a while and... - Have a large
tasks.pythat needs to be modularized - Have a lot of copy/pasted code in multiple
tasks.pyacross multiple repos. - Have exceeded the approach of a repository cloned as
~/tasks/with more .py files that you want to manage. - Or you want to combine various tasks defined in multiple directories
- You want to create a zipped (shiv) redistribute script for container environments like Kubernetes based CI environments with only requiring the Python interpreter.
Installation
pip install invoke-toolkit
Development
This project utilizes the pre-commit framework, make sure you run:
pre-commit install
With uvx:
uvx --with pre-commit-uv pre-commit install
License
invoke-toolkit is distributed under the terms of the MIT license.
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 invoke_toolkit-0.0.30.tar.gz.
File metadata
- Download URL: invoke_toolkit-0.0.30.tar.gz
- Upload date:
- Size: 132.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1954346955b3c983a190d42e77c0e46ceca80982cec4761c97bad6cfd7eac20c
|
|
| MD5 |
40e3de7cfea1a6d34730e86514cfc0b1
|
|
| BLAKE2b-256 |
85fc8520317ef27de8be7b385c959775c7e8047d475e1442ce12508deb83db6d
|
Provenance
The following attestation bundles were made for invoke_toolkit-0.0.30.tar.gz:
Publisher:
test-release-and-publish.yaml on D3f0/invoke-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invoke_toolkit-0.0.30.tar.gz -
Subject digest:
1954346955b3c983a190d42e77c0e46ceca80982cec4761c97bad6cfd7eac20c - Sigstore transparency entry: 676005912
- Sigstore integration time:
-
Permalink:
D3f0/invoke-toolkit@1e2f10e131768207d45ea31f9459a55036ed8c1e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/D3f0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-release-and-publish.yaml@1e2f10e131768207d45ea31f9459a55036ed8c1e -
Trigger Event:
push
-
Statement type:
File details
Details for the file invoke_toolkit-0.0.30-py3-none-any.whl.
File metadata
- Download URL: invoke_toolkit-0.0.30-py3-none-any.whl
- Upload date:
- Size: 38.8 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 |
2e3f5dfdf6f4fc0197ab4b605849b57576ad6eb0ae24aaff745c432f45a81e4a
|
|
| MD5 |
6726b32b388255fad32973d8526bb7ab
|
|
| BLAKE2b-256 |
b8c0eeab4aee2a8fc634f546c15da551b3b2096a07f701413314b672f4fae288
|
Provenance
The following attestation bundles were made for invoke_toolkit-0.0.30-py3-none-any.whl:
Publisher:
test-release-and-publish.yaml on D3f0/invoke-toolkit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
invoke_toolkit-0.0.30-py3-none-any.whl -
Subject digest:
2e3f5dfdf6f4fc0197ab4b605849b57576ad6eb0ae24aaff745c432f45a81e4a - Sigstore transparency entry: 676005915
- Sigstore integration time:
-
Permalink:
D3f0/invoke-toolkit@1e2f10e131768207d45ea31f9459a55036ed8c1e -
Branch / Tag:
refs/heads/main - Owner: https://github.com/D3f0
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
test-release-and-publish.yaml@1e2f10e131768207d45ea31f9459a55036ed8c1e -
Trigger Event:
push
-
Statement type: