darker
brew install darker
v3.0.0_1
BSD-3-Clause
Apply Black formatting only in regions changed since last commit
11
30-day installs · #8444
47
90-day · #7507
154
365-day · #8024
685
★ GitHub stars · updated 10mo ago
Runtime dependencies
GitHub topics
python
python3
Links
- https://github.com/akaihola/darker
- GitHub: akaihola/darker
- Brew formula source: Formula/d/darker.rb
Raw metadata
{
"aliases": [],
"alternatives": [],
"build_dependencies": [],
"categories": [],
"caveats": null,
"conflicts_with": [],
"dependencies": [
"python@3.14"
],
"deprecated": 0,
"deprecation_reason": null,
"desc": "Apply Black formatting only in regions changed since last commit",
"disable_reason": null,
"disabled": 0,
"enrichment_fetched_at": "2026-06-20T23:36:49+00:00",
"first_seen": "2026-06-20T23:34:18+00:00",
"full_name": "darker",
"github_default_branch": "master",
"github_last_commit_at": "2025-10-22T20:11:15Z",
"github_readme_excerpt": "========================================\n Darker \u2013 reformat modified Python code\n========================================\n\n|build-badge| |license-badge| |pypi-badge| |downloads-badge| |black-badge| |changelog-badge|\n\n.. |build-badge| image:: https://github.com/akaihola/darker/actions/workflows/python-package.yml/badge.svg\n :alt: master branch build status\n :target: https://github.com/akaihola/darker/actions/workflows/python-package.yml?query=branch%3Amaster\n.. |license-badge| image:: https://img.shields.io/badge/License-BSD%203--Clause-blue.svg\n :alt: BSD 3 Clause license\n :target: https://github.com/akaihola/darker/blob/master/LICENSE.rst\n.. |pypi-badge| image:: https://img.shields.io/pypi/v/darker\n :alt: Latest release on PyPI\n :target: https://pypi.org/project/darker/\n.. |downloads-badge| image:: https://pepy.tech/badge/darker\n :alt: Number of downloads\n :target: https://pepy.tech/project/darker\n.. |black-badge| image:: https://img.shields.io/badge/code%20style-black-000000.svg\n :alt: Source code formatted using Black\n :target: https://github.com/psf/black\n.. |changelog-badge| image:: https://img.shields.io/badge/-change%20log-purple\n :alt: Change log\n :target: https://github.com/akaihola/darker/blob/master/CHANGES.rst\n.. |next-milestone| image:: https://img.shields.io/github/milestones/progress/akaihola/darker/25?color=red\u0026label=release%203.0.1\n :alt: Next milestone\n :target: https://github.com/akaihola/darker/milestone/24\n\n\nWhat?\n=====\n\nThis utility reformats Python source code files.\nHowever, when run in a Git repository, it compares an old revision of the source tree\nto a newer revision (or the working tree). It then only applies reformatting\nin regions which have changed in the Git working tree between the two revisions.\n\nThe reformatters supported are:\n\n- Black_ and `the Ruff formatter`_ for code reformatting\n- isort_ for sorting imports\n- flynt_ for turning old-style format strings to f-strings\n- pyupgrade_ for upgrading syntax ",
"github_repo": "akaihola/darker",
"github_stars": 685,
"github_topics": [
"python",
"python3"
],
"homepage": "https://github.com/akaihola/darker",
"homepage_og_description": null,
"homepage_og_image": null,
"homepage_title": null,
"installs_30d": 11,
"installs_365d": 154,
"installs_90d": 47,
"keg_only": 0,
"keg_only_reason": null,
"last_seen": "2026-06-20T23:34:18+00:00",
"license": "BSD-3-Clause",
"llm_generated_at": null,
"llm_model": null,
"name": "darker",
"oldnames": [],
"one_liner": null,
"optional_dependencies": [],
"rank_30d": 8444,
"rank_365d": 8024,
"rank_90d": 7507,
"raw_hash": "33eb49b8e23d8610",
"recommended_dependencies": [],
"revision": 1,
"ruby_source_path": "Formula/d/darker.rb",
"tap": "homebrew/core",
"test_dependencies": [],
"uses_from_macos": [],
"version_head": null,
"version_stable": "3.0.0",
"versioned_formulae": [],
"why_use_this": null
}