[{"data":1,"prerenderedAt":178},["ShallowReactive",2],{"repo-psf-black-en":3,"i18n-psf-black-en":175},{"mirrorPool":4,"detail":13,"relatedProjects":174},[5,9],{"key":6,"label":7,"base":8,"type":6},"github","mirror.github","https:\u002F\u002Fgithub.com\u002F",{"key":10,"label":11,"base":12,"type":10},"auto-proxy","mirror.autoProxy","https:\u002F\u002Fgithub.xxlab.tech\u002F",{"owner":14,"repo":15,"repoId":16,"repoUrl":17,"starCount":18,"language":19,"description":20,"languages":21,"screenshots":26,"homepage":27,"pushedAt":28,"ownerAvatar":29,"ownerName":30,"ownerBio":31,"lastSyncTime":32,"lastReleaseTime":33,"tags":34,"license":44,"category":45,"subgroup":46,"releases":47},"psf","black",125266328,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack",41954,"Python","The uncompromising Python code formatter",{"Python":22,"Vim Script":23,"Jupyter Notebook":24,"Dockerfile":25},99.7,0.2,0.1,0,[],"https:\u002F\u002Fblack.readthedocs.io\u002Fen\u002Fstable\u002F","2026-10-19","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F50630501?v=4","Python Software Foundation","Official repositories for the Python Software Foundation, the nonprofit steward of Python—supporting the language, community, infrastructure, grants, and PyCon ","2026-10-20T10:24:45.289243+00:00","2026-10-10T04:11:33Z",[35,36,37,38,39,40,41,42,43],"autopep8","code","codeformatter","formatter","gofmt","hacktoberfest","pre-commit-hook","python","yapf","MIT","development","",[48,68,83,99,113,129,143,158],{"tag":49,"publishAt":33,"semVer":50,"prerelease":54,"assets":55},"26.10.1",[51,52,53],26,10,1,false,[56,62],{"fileName":57,"sizeMb":58,"sha256":59,"downloadCount":60,"originUrl":61},"black_windows-arm.exe",13.1,"8b2233f85d92cef5f916c44b6b9b51530dd3502c6a396ecf8ddda807544b3d0c",16,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.10.1\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":64,"sha256":65,"downloadCount":66,"originUrl":67},"black_windows.exe",13.36,"9901f869bcfe0df3304ee7a42913dc3a8f6d85ad4feff6f6c30c26bfd7063dd4",65,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.10.1\u002Fblack_windows.exe",{"tag":69,"publishAt":70,"semVer":71,"prerelease":54,"assets":72},"26.10.0","2026-10-04T16:50:23Z",[51,52,25],[73,78],{"fileName":57,"sizeMb":74,"sha256":75,"downloadCount":76,"originUrl":77},13.12,"2bc1eb682574e603ed67690bfa088855ceb457714e6257838341814b01e70721",88,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.10.0\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":79,"sha256":80,"downloadCount":81,"originUrl":82},13.4,"e0f372391d2bec44689e69b3d699fecf85d9ac5f0da1b7c31317ed68fef82925",98,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.10.0\u002Fblack_windows.exe",{"tag":84,"publishAt":85,"semVer":86,"prerelease":54,"assets":88},"26.5.1","2026-05-18T16:52:38Z",[51,87,53],5,[89,94],{"fileName":57,"sizeMb":90,"sha256":91,"downloadCount":92,"originUrl":93},11.46,"c832511835f05327c90d3e764b754da3518a9ecca58b06d4aee00a307a6e7db0",70,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.5.1\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":95,"sha256":96,"downloadCount":97,"originUrl":98},11.7,"d3d971d1e86ddde7f9c114e4b8170cf1d5df841c021014c288a08caf699e1dd8",1126,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.5.1\u002Fblack_windows.exe",{"tag":100,"publishAt":101,"semVer":102,"prerelease":54,"assets":103},"26.5.0","2026-05-16T17:56:23Z",[51,87,25],[104,108],{"fileName":57,"sizeMb":90,"sha256":105,"downloadCount":106,"originUrl":107},"d391553c021283b17ff01d854047341d663408a7564d5665064c01daafbf9531",18,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.5.0\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":109,"sha256":110,"downloadCount":111,"originUrl":112},11.69,"c91395baa0daadedc964cd475a05e59c046f3fd18e55ccabf84afb302d31edd6",22,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.5.0\u002Fblack_windows.exe",{"tag":114,"publishAt":115,"semVer":116,"prerelease":54,"assets":118},"26.3.1","2026-03-12T03:35:15Z",[51,117,53],3,[119,124],{"fileName":57,"sizeMb":120,"sha256":121,"downloadCount":122,"originUrl":123},11.41,"b40972f71496bb0ad55308779b52a84e167c3493f892a8741d338e84e92b1fff",29,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.3.1\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":125,"sha256":126,"downloadCount":127,"originUrl":128},11.64,"d76aff80a9349c3185d94f42b44cc667be3d3b616b346dcecd57f75453518e67",130,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.3.1\u002Fblack_windows.exe",{"tag":130,"publishAt":131,"semVer":132,"prerelease":54,"assets":133},"26.3.0","2026-03-06T17:41:48Z",[51,117,25],[134,139],{"fileName":57,"sizeMb":135,"sha256":136,"downloadCount":137,"originUrl":138},11.4,"3c8e05c79db9dc6f86d80b06975e9b5094c4a455c276a7f0c2fa9f7706383ea0",15,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.3.0\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":140,"sha256":141,"downloadCount":106,"originUrl":142},11.63,"f6c883b3af94d0ad98f95585b56b8f84f1009bf869c8d46737bdd5514a11888c","https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.3.0\u002Fblack_windows.exe",{"tag":144,"publishAt":145,"semVer":146,"prerelease":54,"assets":147},"26.1.0","2026-01-18T04:49:25Z",[51,53,25],[148,153],{"fileName":57,"sizeMb":149,"sha256":150,"downloadCount":151,"originUrl":152},11.51,"f236ddb08cac12dbbc6a82e9f20ed47d8817e3b357b8184bbb8ac82310d93ce7",20,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.1.0\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":154,"sha256":155,"downloadCount":156,"originUrl":157},11.65,"50d28ab3f46d408f60f26158e5528f3956f4b4e028efe5345df20378943464df",152,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.1.0\u002Fblack_windows.exe",{"tag":159,"publishAt":160,"semVer":161,"prerelease":162,"assets":163},"26.1a1","2025-12-08T01:46:21Z",[25,25,25],true,[164,169],{"fileName":57,"sizeMb":165,"sha256":166,"downloadCount":167,"originUrl":168},11.47,"a1c9b65049e24339db6804f2f4522a7ab75363ec6c29e79ed6c827374c42f6e1",11,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.1a1\u002Fblack_windows-arm.exe",{"fileName":63,"sizeMb":170,"sha256":171,"downloadCount":172,"originUrl":173},11.62,"d050013219d196ea61866161b7e8142d41dd3abc8a1fc8d427050a2e50e2c160",14,"https:\u002F\u002Fgithub.com\u002Fpsf\u002Fblack\u002Freleases\u002Fdownload\u002F26.1a1\u002Fblack_windows.exe",[],{"description":176,"readmeHtml":177},"Black is the uncompromising Python code formatter that reformats code in a fixed style, ending format debates and keeping code review focused on content.","\u003Ch2 id=\"project-overview\">Project Overview\u003C\u002Fh2>\u003Cp>Black is one of the most popular Python code formatters, known as the uncompromising one: style options are deliberately few, and results are deterministic and consistent across projects. You cede control over formatting minutiae in return for speed, determinism, and freedom from style nagging. Blackened code looks the same in every project and produces minimal diffs for faster code review.\u003C\u002Fp>\n\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Item\u003C\u002Fth>\n\u003Cth>Value\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>Language\u003C\u002Ftd>\n\u003Ctd>Python\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Runtime\u003C\u002Ftd>\n\u003Ctd>Python 3.10+\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Style basis\u003C\u002Ftd>\n\u003Ctd>PEP 8\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>License\u003C\u002Ftd>\n\u003Ctd>MIT\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Cblockquote>\n\u003Cp>Leave formatting to Black and spend the energy on the code itself.\u003C\u002Fp>\n\u003C\u002Fblockquote>\n\u003Ch2 id=\"key-features\">Key Features\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Auto formatting\u003C\u002Fstrong>: reformats entire files so style is uniform without debate\u003C\u002Fli>\n\u003Cli>\u003Cstrong>PEP 8 compliant\u003C\u002Fstrong>: makes deterministic style decisions on top of PEP 8\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Minimal diffs\u003C\u002Fstrong>: produces the smallest possible changes for focused review\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Safety check\u003C\u002Fstrong>: verifies AST equivalence by default so semantics never change\u003C\u002Fli>\n\u003Cli>\u003Cstrong>pyproject config\u003C\u002Fstrong>: supports include and exclude options via pyproject.toml\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Notebook support\u003C\u002Fstrong>: install black[jupyter] to format Jupyter Notebooks\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Pre-commit hooks\u003C\u002Fstrong>: commonly paired with pre-commit for automatic formatting\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"target-audience\">Target Audience\u003C\u002Fh2>\u003Cul>\n\u003Cli>Python developers\u003C\u002Fli>\n\u003Cli>Open-source maintainers\u003C\u002Fli>\n\u003Cli>Teams ending style debates\u003C\u002Fli>\n\u003Cli>Tech leads who value review efficiency\u003C\u002Fli>\n\u003Cli>CI pipeline maintainers\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"quick-start\">Quick Start\u003C\u002Fh2>\u003Col>\n\u003Cli>Install Black\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\">pip install black\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"2\">\n\u003Cli>Format a file or directory\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Cdiv class=\"code-block\">\u003Cpre>\u003Ccode class=\"hljs language-bash\">black {source_file_or_directory}\u003C\u002Fcode>\u003C\u002Fpre>\u003C\u002Fdiv>\u003Col start=\"3\">\n\u003Cli>\u003Cp>On machines without Python, download a standalone executable from GitHub Releases\u003C\u002Fp>\n\u003C\u002Fli>\n\u003Cli>\u003Cp>Optionally configure include and exclude patterns in pyproject.toml\u003C\u002Fp>\n\u003C\u002Fli>\n\u003C\u002Fol>\n\u003Ch2 id=\"core-advantages\">Core Advantages\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Zero style debates\u003C\u002Fstrong>: few options mean teams stop spending time on style\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Deterministic\u003C\u002Fstrong>: the same input always yields the same output\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Semantically safe\u003C\u002Fstrong>: AST equivalence is verified so formatting never changes behavior\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Battle tested\u003C\u002Fstrong>: used long-term by Django, SQLAlchemy, pandas, and many more\u003C\u002Fli>\n\u003C\u002Ful>\n\u003Ch2 id=\"system-requirements\">System Requirements\u003C\u002Fh2>\u003Ctable>\n\u003Cthead>\n\u003Ctr>\n\u003Cth>Item\u003C\u002Fth>\n\u003Cth>Requirement\u003C\u002Fth>\n\u003C\u002Ftr>\n\u003C\u002Fthead>\n\u003Ctbody>\u003Ctr>\n\u003Ctd>OS\u003C\u002Ftd>\n\u003Ctd>Linux, macOS, Windows\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Runtime\u003C\u002Ftd>\n\u003Ctd>Python 3.10 or later\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003Ctr>\n\u003Ctd>Notebooks\u003C\u002Ftd>\n\u003Ctd>extra black[jupyter] dependencies required\u003C\u002Ftd>\n\u003C\u002Ftr>\n\u003C\u002Ftbody>\u003C\u002Ftable>\n\u003Ch2 id=\"notes\">Notes\u003C\u002Fh2>\u003Cul>\n\u003Cli>\u003Cstrong>Stable style\u003C\u002Fstrong>: the project is stable and no longer makes large style changes\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Exceptions\u003C\u002Fstrong>: some pragmatism exceptions exist; consult the docs before filing issues\u003C\u002Fli>\n\u003Cli>\u003Cstrong>Speed tradeoff\u003C\u002Fstrong>: the AST safety check slows processing slightly; use \u003Ccode>--fast\u003C\u002Fcode> if confident\u003C\u002Fli>\n\u003C\u002Ful>\n",1793197927205]