awesome-repositories.com
Blog
awesome-repositories.com

Entdecke die besten Open-Source-Repositories mit KI-gestützter Suche.

EntdeckenKuratierte SuchenOpen-Source-AlternativenSelf-hosted SoftwareBlogSitemap
ProjektÜber unsRanking-MethodikPresseMCP-Server
RechtlichesDatenschutzAGB
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
psf avatar

psf/black

0
View on GitHub↗
41,578 Stars·2,779 Forks·Python·MIT·14 Aufrufeblack.readthedocs.io/en/stable↗

Black

Dieses Projekt ist ein kompromissloser, deterministischer Code-Formatter für Python. Er funktioniert, indem er Quellcode in einen abstrakten Syntaxbaum parst und ihn gemäß einer starren, meinungsstarken Menge von Stilregeln neu generiert. Durch die Automatisierung des Formatierungsprozesses werden manuelle Stildiskussionen und Konfigurationsaufwand eliminiert, wodurch sichergestellt wird, dass der Code über ganze Projekte hinweg konsistent bleibt, unabhängig von der ursprünglichen Eingabe.

Das Tool zeichnet sich durch seinen Fokus auf Geschwindigkeit und nahtlose Integration in Entwicklungsworkflows aus. Es nutzt inhaltsbasiertes Datei-Caching und parallele Verarbeitung, um eine hohe Leistung bei großen Codebasen aufrechtzuerhalten, während es gleichzeitig Versionskontroll-Hooks unterstützt, um die Stil-Konsistenz vor dem Commit sicherzustellen. Um die Projekthistorie zu bewahren, bietet es Mechanismen, um spezifische Commits in der Versionskontroll-Blame-Verfolgung zu ignorieren, wodurch sichergestellt wird, dass automatisierte Stiländerungen die ursprüngliche Autorenschaft nicht verdecken.

Über Standard-Quelldateien hinaus erweitert der Formatter seine Fähigkeiten auf Jupyter-Notebooks, Typ-Stubs und eingebettete Codebeispiele innerhalb der Dokumentation. Er bietet breite Kompatibilität durch Plugins für gängige Texteditoren und integrierte Entwicklungsumgebungen sowie Unterstützung für das Language Server Protocol. Die Konfiguration wird über projektweite Dateien verwaltet, die automatisch innerhalb der Verzeichnishierarchie entdeckt werden, was ein konsistentes Verhalten über verschiedene Entwicklungsumgebungen hinweg ermöglicht.

Features

  • Code Formatters - Automatically enforces a strict, uniform style across source files.
  • Python Development Tools - Provides an uncompromising, deterministic code formatter for the Python ecosystem.
  • Automated Formatting Frameworks - Enforces a consistent style across a codebase by automatically applying opinionated rules to source files.
  • Python Tooling - Applies opinionated style rules to Python source code, supporting customizable line lengths and target versions.
  • VS Code Extensions - Automates code styling within VS Code via extensions.
  • Parsers & Lexers - Parses and reconstructs source code according to predefined syntactic rules.
  • Code Analysis - Listed in the “Code Analysis” section of the Awesome Python awesome list.
  • Code Analysis and Quality - Uncompromising, opinionated code formatter.
  • Code Formatters - Uncompromising and opinionated automatic code formatter.
  • Tools für Codequalität - Formats Python code automatically.
  • Developer Tools - Uncompromising Python code formatter.
  • Linting And Formatting - Uncompromising Python code formatter.
  • Python Packages - Code formatting for Python.
  • Notebook Formatting Tools - Applies consistent styling to Jupyter notebook files.
  • Development Workflow Integrations - Connects automated styling tools directly into text editors and continuous integration pipelines.
  • Language Server Protocols - Connects code editors to formatting tools using standard protocols.
  • Git Hooks - Ensures only properly formatted code enters the repository history via pre-commit checks.
  • Import Sorters - Aligns import sorting behavior with project style guidelines.
  • Project Configuration Discovery - Defines project-specific formatting defaults and exclusion patterns in a configuration file that is automatically discovered.
  • Notebook Automation Tools - Integrates notebook file processing into development workflows.
  • Notebook Formatters - Applies consistent styling to interactive notebook files to improve readability.
  • Build Caches - Stores results on disk to skip unmodified files and speed up workflows.
  • Build Caching Systems - Stores hashes of processed files to skip redundant formatting operations and significantly improve performance on large codebases.
  • File Exclusion Rules - Allows preventing specific files or directories from being modified.
  • Line Wrapping Engines - Wraps long lines of code by applying uniform whitespace rules and bracket-based indentation.
  • Version Control Ignore Parsers - Automatically skips files listed in version control ignore files.
  • Version Control Utilities - Supports excluding specific commits from history tracking to preserve accurate code authorship during automated formatting.

Star-Verlauf

Star-Verlauf für psf/blackStar-Verlauf für psf/black

KI-Suche

Entdecke weitere awesome Repositories

Beschreibe in einfachen Worten, was du brauchst — die KI bewertet tausende kuratierte Open-Source-Projekte nach Relevanz.

Start searching with AI

Open-Source-Alternativen zu Black

Ähnliche Open-Source-Projekte, sortiert nach der Anzahl der gemeinsamen Funktionen mit Black.
  • astral-sh/ruffAvatar von astral-sh

    astral-sh/ruff

    48,177Auf GitHub ansehen↗

    Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions as a comprehensive engine that scans source code to detect programming errors, security vulnerabilities, and deviations from established coding standards. By parsing source code into a structured tree representation, it provides both automated linting and style enforcement across entire projects. The tool distinguishes itself through its speed and deep integration into the development lifecycle. It utilizes parallelized file processing to maximize throughput on large codebases

    Rustlinterpep8python
    Auf GitHub ansehen↗48,177
  • astral-sh/tyAvatar von astral-sh

    astral-sh/ty

    17,287Auf GitHub ansehen↗

    This project is a high-performance static type checker and comprehensive development toolkit for Python. It functions as a core analysis engine that identifies type inconsistencies and enforces code correctness, while simultaneously providing a language server implementation to deliver real-time diagnostics and intelligence directly within development environments. The tool distinguishes itself through a parallelized execution engine that maximizes performance across large-scale codebases and monorepo structures. It supports gradual type adoption, allowing developers to integrate type checkin

    Python
    Auf GitHub ansehen↗17,287
  • koalaman/shellcheckAvatar von koalaman

    koalaman/shellcheck

    39,574Auf GitHub ansehen↗

    This project is a static analysis tool and linter designed to improve the quality, reliability, and portability of shell scripts. By performing deep structural analysis, it identifies common programming pitfalls, syntax errors, and security vulnerabilities before scripts are executed. It functions as an automated code reviewer that enforces best practices and helps developers maintain consistent, robust code across different operating environments. The tool distinguishes itself through its dialect-aware grammar resolution, which adapts its parsing logic based on the specific shell interpreter

    Haskellbashdeveloper-toolshaskell
    Auf GitHub ansehen↗39,574
  • viatsko/awesome-vscodeAvatar von viatsko

    viatsko/awesome-vscode

    28,754Auf GitHub ansehen↗

    This project is a curated directory of resources, extensions, and themes designed to extend the functionality of the Visual Studio Code editor. It serves as a comprehensive index for developers seeking to enhance their coding environment, offering a structured collection of community-driven tools that streamline development workflows and improve editor productivity. The directory distinguishes itself by organizing a vast ecosystem of plugins into logical categories, ranging from language-specific intelligence and version control integrations to advanced productivity utilities. It highlights t

    JavaScriptawesomeawesome-listlist
    Auf GitHub ansehen↗28,754
Alle 30 Alternativen zu Black anzeigen→

Häufig gestellte Fragen

Was macht psf/black?

Dieses Projekt ist ein kompromissloser, deterministischer Code-Formatter für Python. Er funktioniert, indem er Quellcode in einen abstrakten Syntaxbaum parst und ihn gemäß einer starren, meinungsstarken Menge von Stilregeln neu generiert. Durch die Automatisierung des Formatierungsprozesses werden manuelle Stildiskussionen und Konfigurationsaufwand eliminiert, wodurch sichergestellt wird, dass der Code über ganze Projekte hinweg konsistent bleibt, unabhängig von der…

Was sind die Hauptfunktionen von psf/black?

Die Hauptfunktionen von psf/black sind: Code Formatters, Python Development Tools, Automated Formatting Frameworks, Python Tooling, VS Code Extensions, Parsers & Lexers, Code Analysis, Code Analysis and Quality.

Welche Open-Source-Alternativen gibt es zu psf/black?

Open-Source-Alternativen zu psf/black sind unter anderem: astral-sh/ruff — Ruff is a high-performance static analysis and code formatting tool designed for Python. Built in Rust, it functions… astral-sh/ty — This project is a high-performance static type checker and comprehensive development toolkit for Python. It functions… koalaman/shellcheck — This project is a static analysis tool and linter designed to improve the quality, reliability, and portability of… viatsko/awesome-vscode — This project is a curated directory of resources, extensions, and themes designed to extend the functionality of the… pycqa/isort — isort is a Python import sorter and code formatter that organizes import statements into alphabetical groups and… google/yapf — YAPF is a Python code formatter and style compliance tool. It operates as an AST-based reformatter that uses concrete…