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.3.tar.gz (54.1 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.3-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: invoke_toolkit-0.0.3.tar.gz
  • Upload date:
  • Size: 54.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for invoke_toolkit-0.0.3.tar.gz
Algorithm Hash digest
SHA256 05021df209b0f39719dc6f7997bb65583c8c8bdb7eef5ab777142fecd1c6b4d4
MD5 3e7e0d29109c31ee55a05269adf4f5cf
BLAKE2b-256 fac47fea90c343885599acb36b19f9be87e7bfb7b5280a1d7da830d2e06bb274

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for invoke_toolkit-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 8f30fab9eadc0d44893ca3e0f8b281460abe0afb4be148a5011a15d65b6b8fd6
MD5 00e44bae1d1196ce725f6124b4ae61dd
BLAKE2b-256 26f72b668f3c5081aed1e096eae5f77fac4e03a2b5a4c25a706d68d7a28c375c

See more details on using hashes here.

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