$npx skillfedfor your agent

pyink

Pyink is a python formatter, forked from Black with slightly different behavior.

With conditionsPyPI Python ModulesReleased Jan 2026467.2K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — pyink-25.12.0-py3-none-any.whl
v25.12.0 · released 2026-01-02 · Python >=3.10 · 9 runtime deps: black, click, mypy-extensions, packaging, pathspec, platformdirs, pytokens, tomli

Yes, if you need Black-compatible formatting with specific behavioral customizations (two-space indentation, majority quotes, pragma preservation) or are managing a gradual migration to Black in a large codebase. The package is actively maintained, has no known vulnerabilities, and low install friction. Not necessary if you are already using Black or do not need its specific formatting variants.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 a pure-Python wheel distribution.
  • Actively maintained as of August 2026 with recent commits and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

last release 2026-01-02 (224 days) · last repo commit 2026-08-06 · 295 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 467,199 downloads/mo, #6,499 on PyPI

Verify before relying

pip install pyink

pyink --help
pyink myfile.py
pyink --pyink-indentation 2 myfile.py
  • Whether Pyink's patches remain synchronized with Black's latest releases and how often rebasing occurs.
  • Performance characteristics compared to Black on large codebases or monorepos.
  • Community adoption rate and stability of the formatting rules across versions.
Same gist for agents: .md · .json

What it is and what it does

Pyink is a Python formatter maintained by Google as a medium-term adoption bridge for teams that cannot immediately migrate to Black. It forks Black's codebase and applies several localized patches that change how code is wrapped and indented, while remaining compatible with Black's command-line interface and configuration structure.

The main differences include support for two-space indentation, inferring quote style from file majority, preserving trailing pragma comments without wrapping, and keeping parentheses around multi-line strings in function arguments. Pyink is designed to be gradually phased out as its patches are upstreamed to Black or teams migrate fully. It depends on Black, click, mypy-extensions, packaging, pathspec, platformdirs, pytokens, tomli, and typing-extensions, and runs on Python 3.10 and later.

Use it for

  • Gradually migrate a large monorepo from inconsistent formatting to Black-compatible style without disrupting all developers at once.
  • Enforce two-space indentation in Python projects that prefer it over Black's default four-space standard.
  • Maintain consistent quote style across a codebase by automatically inferring single or double quotes based on file majority.
  • Format code while preserving trailing pragma comments (e.g., `# pylint: disable`) without line wrapping.
  • Use as a drop-in Black replacement in CI/CD pipelines with minimal configuration changes.

Worth the install?

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

With conditions

Yes, if you need Black-compatible formatting with specific behavioral customizations (two-space indentation, majority quotes, pragma preservation) or are managing a gradual migration to Black in a large codebase.

The package is actively maintained, has no known vulnerabilities, and low install friction. Not necessary if you are already using Black or do not need its specific formatting variants.

Install

pyink on PyPI

Before you install

Low install friction with a pure-Python wheel distribution. Actively maintained as of August 2026 with recent commits and no known vulnerabilities. Depends on Black and related tooling libraries, all of which are stable and widely used.

Requires Python 3.10 or later.

License in practice

MIT license permits unrestricted use, modification, and distribution in both open-source and proprietary projects with minimal obligations.

Quickstart

pip install pyink

pyink --help
pyink myfile.py
pyink --pyink-indentation 2 myfile.py

Verify before relying

  • Whether Pyink's patches remain synchronized with Black's latest releases and how often rebasing occurs.
  • Performance characteristics compared to Black on large codebases or monorepos.
  • Community adoption rate and stability of the formatting rules across versions.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
9 packages
blackclickmypy-extensionspackagingpathspecplatformdirspytokenstomlityping-extensions
MaintenanceActively maintained 224 days since the last release
Last repo commit
First released
Downloads467,199 / month, #6,499 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: Quality Assurance

Evidence: pyink-25.12.0-py3-none-any.whl

Tags

Capabilities
python code formatterblack alternative formattercode style enforcementpython linting and formattingconfigurable indentation formatterquote style normalizationautomated code formatting
Topics
code-formatterblack-forkstyle-enforcement

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 › “black alternative formatter”

  • pyinkPyink is a Python code formatter forked from Black that applies…
  • blackBlack reformats Python source code to a consistent style by parsing…
  • mdformat-blackA plugin for mdformat that automatically formats Python code blocks…

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

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also black · mdformat-black · config-formatter · paragraphs · darker · ruff · docstrfmt · autopep8 · wadler-lindig · dprint-py