skillfed

actions-toolkit

đź›  The GitHub ToolKit for developing GitHub Actions in Python.

actions-toolkit v0.1.15 238.3K downloads/30d#8,943 on PyPI38
Permissive license MIT DORMANT released

What it is and what it does

Actions Toolkit is a Python SDK designed to simplify the creation of GitHub Actions. It wraps common GitHub Actions patterns—reading environment-based inputs, writing structured log output (error, info, warning), and setting action status—into a straightforward API. The package depends on requests and PyGithub to handle HTTP communication and GitHub API interactions.

Typical use involves importing the core module to read action inputs from environment variables, perform work, and report results back to GitHub's action runner using standardized output formats. It's intended for developers writing custom GitHub Actions in Python rather than for general-purpose GitHub API clients.

Use it for:

  • Read inputs from a GitHub Actions workflow and log structured messages back to the runner.
  • Set action status and emit error messages that GitHub displays in the workflow UI.
  • Build a custom GitHub Action that needs to interact with the GitHub API via PyGithub.
  • Automate CI/CD tasks that require reading workflow context and reporting results to GitHub.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides a Python SDK for building GitHub Actions with utilities for reading inputs, writing outputs, and interacting with the GitHub API.

Yes, if you are writing a GitHub Action in Python and need a lightweight SDK for input/output handling. The low install friction and permissive license are favorable. However, the dormant maintenance status (last release 2022-10-28) means you should verify that it works with your target Python version and GitHub Actions environment before committing to production use.

Install

actions-toolkit on PyPI

pip

pip install actions-toolkit

uv

uv add actions-toolkit

poetry

poetry add actions-toolkit

Installing actions-toolkit

Before you install

Low install friction with only two runtime dependencies (requests and PyGithub). Maintenance is dormant—last release was 2022-10-28 and last commit 2024-02-27—so expect no active bug fixes or feature updates.

License in practice

MIT license is permissive and poses no significant restrictions on use, modification, or distribution.

Quickstart

import os
from actions_toolkit import core
os.environ['INPUT_NAME'] = 'Actions Toolkit'
core.get_input('name', required=True)
core.error('Something went wrong.')
core.info('Run successfully.')

Requires Python 3.6 or later; designed for use within GitHub Actions environments.

Verify before relying

  • Whether the package works reliably with GitHub Actions environments beyond the tested Python versions.
  • Whether dormant status means the package is stable enough for production use or if it has unresolved issues.

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.6)
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, PyGithub
Maintenance dormant — 1,386 days since the last release
Last repo commit
First released
Downloads 238,279/month — #8,943 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: actions_toolkit-0.1.15-py3-none-any.whl

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

github actions python sdkgithub actions toolkitbuild github actions in pythongithub actions logging and outputgithub api integration python
github-actionsci-cd

More Build Tools packages