{"id":23544430,"url":"https://github.com/d3f0/invoke-toolkit","last_synced_at":"2025-12-24T13:46:32.090Z","repository":{"id":251648719,"uuid":"837105687","full_name":"D3f0/invoke-toolkit","owner":"D3f0","description":"A set of API extension to Invoke API to enhance CLI writing","archived":false,"fork":false,"pushed_at":"2025-07-04T14:03:56.000Z","size":105,"stargazers_count":0,"open_issues_count":6,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-08-16T21:38:48.314Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/D3f0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-02T08:18:04.000Z","updated_at":"2024-08-05T16:10:22.000Z","dependencies_parsed_at":"2025-04-06T09:30:33.256Z","dependency_job_id":null,"html_url":"https://github.com/D3f0/invoke-toolkit","commit_stats":null,"previous_names":["d3f0/invoke-toolkit"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/D3f0/invoke-toolkit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3f0%2Finvoke-toolkit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3f0%2Finvoke-toolkit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3f0%2Finvoke-toolkit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3f0%2Finvoke-toolkit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/D3f0","download_url":"https://codeload.github.com/D3f0/invoke-toolkit/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/D3f0%2Finvoke-toolkit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272619383,"owners_count":24965415,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-29T02:00:10.610Z","response_time":87,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-26T07:15:12.388Z","updated_at":"2025-12-24T13:46:32.085Z","avatar_url":"https://github.com/D3f0.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# invoke-toolkit\n\nA set of extensions for rich output, more options in collection/config discovery through `entry-points`.\n\nThis extends the Collection from Invoke so it can create automatically collections.\n\n[![PyPI - Version](https://img.shields.io/pypi/v/invoke-toolkit.svg)](https://pypi.org/project/invoke-toolkit)\n[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/invoke-toolkit.svg)](https://pypi.org/project/invoke-toolkit)\n\n-----\n\n## Table of Contents\n\n- [invoke-toolkit](#invoke-toolkit)\n  - [Table of Contents](#table-of-contents)\n  - [Features](#features)\n  - [Do I need this package](#do-i-need-this-package)\n  - [Installation](#installation)\n  - [Development](#development)\n  - [License](#license)\n\n## Features\n\n- Task discovery by namespace for extendable/composable CLIs\n- Discovery to *plain old* tasks.py (or any other name)\n- Local tasks discovery from `local_tasks.py` in the current directory\n- Integration with stand alone binaries for specific tasks\n- **Future** Download binaries\n\n## Do I need this package\n\nIf you have...\n\n- Used `invoke` for a while and...\n- Have a large `tasks.py` that needs to be modularized\n- Have a lot of copy/pasted code in multiple `tasks.py` across multiple repos.\n- Have exceeded the approach of a repository cloned as `~/tasks/` with more .py files that you want to manage.\n- Or you want to combine various tasks defined in multiple directories\n- You want to create a zipped (shiv) redistribute script for container environments\n  like Kubernetes based CI environments with only requiring the Python interpreter.\n\n## Installation\n\n```console\npip install invoke-toolkit\n```\n\n## Quick Start\n\n### Using Local Tasks\n\nCreate a `local_tasks.py` file in your project directory with your tasks:\n\n```python\nfrom invoke_toolkit import task\n\n@task()\ndef my_task(ctx):\n    \"\"\"Do something useful\"\"\"\n    print(\"Hello from local tasks!\")\n```\n\nThen run it with:\n\n```console\nintk local.my-task\n```\n\nLocal tasks are automatically discovered and added to the `local` namespace, allowing you to keep project-specific tasks separate from your main task collection.\n\n## Development\n\nThis project utilizes the `pre-commit` framework, make sure you run:\n\n`pre-commit install`\n\nWith `uvx`:\n\n`uvx --with pre-commit-uv pre-commit install`\n\n## License\n\n`invoke-toolkit` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3f0%2Finvoke-toolkit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fd3f0%2Finvoke-toolkit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fd3f0%2Finvoke-toolkit/lists"}