Skip to main content

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.

PyPI - Version PyPI - Python Version


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 invoke for a while and...
  • Have a large tasks.py that needs to be modularized
  • Have a lot of copy/pasted code in multiple tasks.py across 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

invoke_toolkit-0.0.28.tar.gz (125.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

invoke_toolkit-0.0.28-py3-none-any.whl (38.3 kB view details)

Uploaded Python 3

File details

Details for the file invoke_toolkit-0.0.28.tar.gz.

File metadata

  • Download URL: invoke_toolkit-0.0.28.tar.gz
  • Upload date:
  • Size: 125.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for invoke_toolkit-0.0.28.tar.gz
Algorithm Hash digest
SHA256 1b6c0b8a92ecad10664ce9b6e19bd9b1312d34b1070b7fb62299b4a1dc0be705
MD5 07f3268e65d1b2508c9bb9e8c0807abc
BLAKE2b-256 8be92704b6f6b314094cb26c3fb5a1cbd28fcd13ff36c0bbd169f51ef1cc481e

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_toolkit-0.0.28.tar.gz:

Publisher: test-release-and-publish.yaml on D3f0/invoke-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file invoke_toolkit-0.0.28-py3-none-any.whl.

File metadata

File hashes

Hashes for invoke_toolkit-0.0.28-py3-none-any.whl
Algorithm Hash digest
SHA256 78789d441234bb8dfceb5b832970bb0c9fd4196487a5754b022c1aa2b5ead372
MD5 f65479868d4f5b760a2e0cc0189e59da
BLAKE2b-256 df4624d49329f3b286cbfa8419f7f935c45e5fb240b72c9f0c7843ed6d58ca1f

See more details on using hashes here.

Provenance

The following attestation bundles were made for invoke_toolkit-0.0.28-py3-none-any.whl:

Publisher: test-release-and-publish.yaml on D3f0/invoke-toolkit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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