$npx skillfedfor your agent

lightning-utilities

Lightning toolbox for across the our ecosystem.

With conditionsPyPI Build ToolsReleased Feb 202611.5M downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — lightning_utilities-0.15.3-py3-none-any.whl
v0.15.3 · released 2026-02-22 · Python >=3.10 · 2 runtime deps: packaging, typing_extensions

Yes, if you maintain multiple Python projects or use GitHub Actions for CI/CD. The package is actively maintained, has low install friction, and offers genuine value through workflow reuse and utility functions. The Apache-2.0 license is permissive. Install only if you actually use the GitHub workflows or need the CLI and import utilities; it is not a general-purpose dependency.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with only two lightweight runtime dependencies (packaging and typing_extensions).
  • Actively maintained with recent commits; marked as Alpha status.

License · maintenance · safety

Apache-2.0 (permissive) — Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

last release 2026-02-22 (173 days) · last repo commit 2026-08-03 · 62 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 11,451,044 downloads/mo, #1,395 on PyPI

Verify before relying

pip install lightning_utilities

from lightning_utilities.core.imports import module_available

if module_available("package_name"):
    # handle optional dependency
  • Whether the GitHub workflows and composite actions are compatible with non-Lightning-AI projects or require specific repository structure.
  • Performance characteristics of the CLI requirement-version management for large dependency trees.
  • Specific use cases and limitations of the module_available utility function.
Same gist for agents: .md · .json

What it is and what it does

Lightning Utilities is a collection of shared development tools for Python projects, centered on CI/CD automation and common utility functions. It offers reusable GitHub workflows for schema checks and code validation, composite GitHub actions for caching and environment setup, and a Python module with utilities for handling optional imports and a CLI for managing requirement versions.

The package is designed to reduce duplication across projects by centralizing workflow definitions and common patterns. It depends only on packaging and typing_extensions, making it lightweight to add to projects. The CLI can automatically pin or unpin dependency versions in requirements files, and the core imports module helps handle optional dependencies gracefully.

Use it for

  • Standardize CI/CD checks across multiple repositories by referencing shared workflows from a central location.
  • Manage Python requirement versions programmatically, converting version ranges to pinned versions or vice versa.
  • Handle optional dependencies safely without hard failures when packages are not installed.
  • Set up consistent caching strategies in GitHub Actions across projects using composite actions.
  • Reduce boilerplate in GitHub Actions workflows by reusing tested composite action definitions.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you maintain multiple Python projects or use GitHub Actions for CI/CD.

The package is actively maintained, has low install friction, and offers genuine value through workflow reuse and utility functions. The Apache-2.0 license is permissive. Install only if you actually use the GitHub workflows or need the CLI and import utilities; it is not a general-purpose dependency.

Install

lightning-utilities on PyPI

Before you install

Low install friction with only two lightweight runtime dependencies (packaging and typing_extensions). Actively maintained with recent commits; marked as Alpha status.

Requires Python 3.10 or later.

License in practice

Licensed under Apache-2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions.

Quickstart

pip install lightning_utilities

from lightning_utilities.core.imports import module_available

if module_available("package_name"):
    # handle optional dependency

Verify before relying

  • Whether the GitHub workflows and composite actions are compatible with non-Lightning-AI projects or require specific repository structure.
  • Performance characteristics of the CLI requirement-version management for large dependency trees.
  • Specific use cases and limitations of the module_available utility function.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
packagingtyping_extensions
MaintenanceActively maintained 173 days since the last release
Last repo commit
First released
Downloads11,451,044 / month, #1,395 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaEnvironment :: ConsoleIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Evidence: lightning_utilities-0.15.3-py3-none-any.whl

Tags

Capabilities
github workflows reusableci/cd utilitiesgithub actions compositepython devops toolsrequirement version managementworkflow automationlightning utilities
Topics
ci-cdgithub-actionsdevops
PyPI keywords
UtilitiesDevOpsCI/CD

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “github workflows reusable”

  • lightning-utilitiesProvides reusable GitHub workflows, composite actions, and Python…
  • ghapighapi provides a complete, always-current Python client for the…
  • aip-agents-binaryA local execution agent library for building and running AI agents…

Give your agent the search over MCP, or paste the wish link into any chat.

More Build Tools packages

packaging Worth it
PyPI · Build Tools · released Aug 2026

Provides reusable utilities for Python packaging interoperability, including version handling, specifiers, markers, requirements, tags, and metadata parsing according to standards like PEP 440 and PEP 425.

Apache-2.0 OR BSD-2-Clausepure Python · 3.9+
2.2Bdownloads / mo
tqdm Worth it
PyPI · Libraries · released Jul 2026

Wraps any iterable to display a real-time progress bar in the terminal or Jupyter notebook, showing iteration count, elapsed time, and estimated time remaining.

copyleftpure Python · 3.8+
648.6Mdownloads / mo
pip Worth it
PyPI · Build Tools · released Aug 2026

pip is the standard installer for Python packages, enabling you to download and install packages from the Python Package Index and other indexes into your Python environment.

MITpure Python · 3.10+
617.5Mdownloads / mo
hatchling Worth it
PyPI · Python Modules · released Aug 2026

Hatchling is a standards-compliant Python build backend that handles packaging, metadata, and distribution of Python projects when configured in a project's pyproject.toml file.

MITpure Python · 3.10+
484.2Mdownloads / mo
grpcio-tools Worth it
PyPI · Build Tools · released Jul 2026

Generates Python gRPC service stubs and message classes from Protocol Buffer definitions, enabling developers to build gRPC clients and servers.

Apache-2.0compiled wheel · 3.10+
278.2Mdownloads / mo
pre-commit Worth it
PyPI · Build Tools · released Aug 2026

pre-commit is a framework for installing and running git hooks written in any language before commits are made, automating code quality and validation checks across multi-language projects.

Install it if your team needs consistent, automated validation at commit time.

permissive licensepure Python · 3.10+
179.9Mdownloads / mo

See also actionlint-py · tox-gh-actions · pytest-github-actions-annotate-failures · scverse-misc · lightning-sdk · lightning · pytorch-lightning · pyproject2conda · azure-devops · lightning-cloud