{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/11"},{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Pyink is a Python code formatter forked from Black that applies Black's formatting rules with several customizable behavioral differences, including optional two-space indentation and majority-quote inference.","skillfed_tags":["code-formatter","black-fork","style-enforcement"],"use_cases":["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."],"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.\n\nThe 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.","worth_installing":"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."},"id":"pyink","links":{"html":"https://skillfed.io/packages/pyink","md":"https://skillfed.io/packages/pyink.md","pypi":"https://pypi.org/project/pyink/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-01-02","license_spdx":"MIT","license_treatment":"permissive","name":"pyink","python_support":"supports_current","summary":"Pyink is a python formatter, forked from Black with slightly different behavior."},"popularity":{"monthly_downloads":467199,"position":6499,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"25.12.0"}
