7 रिपॉजिटरी
Tools specifically designed to reformat Python source code to adhere to defined style guides.
Distinct from Python: None of the candidates focus on the actual rewriting of Python source for style, rather than linting or standards
Explore 7 awesome GitHub repositories matching programming languages & runtimes · Python Code Formatters. Refine with filters or upvote what's useful.
YAPF एक पायथन कोड फ़ॉर्मेटर और स्टाइल अनुपालन टूल है। यह एक AST-आधारित रिफ़ॉर्मेटर के रूप में कार्य करता है जो स्रोत फ़ाइलों में संरचनात्मक स्थिरता और एक समान दृश्य प्रस्तुति सुनिश्चित करने के लिए कंक्रीट सिंटैक्स ट्री का उपयोग करता है। इंजन विभिन्न स्वरूपण विकल्पों के लिए संख्यात्मक लागत की गणना करके सर्वोत्तम लाइन ब्रेक निर्धारित करने के लिए दंड-आधारित लेआउट ऑप्टिमाइज़र का उपयोग करता है। यह कई फ़ाइलों के स्वरूपण को कई CPU कोर में वितरित करने के लिए एक मल्टी-प्रोसेस कोड प्रोसेसर का उपयोग करता है। टूल इन-प्लेस फ़ाइल संशोधनों, अंतर विश्लेषण और आंशिक कोड टुकड़ों के प्रसंस्करण के माध्यम से स्रोत कोड रिफ़ॉर्मेटिंग को कवर करता है। इसमें स्टाइल प्रीसेट, लेआउट नियमों और प्रोजेक्ट-स्तरीय सेटिंग्स को प्रबंधित करने के लिए एक नियम-आधारित कॉन्फ़िगरेशन सिस्टम शामिल है। एकीकरण क्षमताओं में निरंतर एकीकरण पाइपलाइनों के लिए स्टाइल अनुपालन सत्यापन, git हुक ऑटोमेशन, और एडिटर-आधारित फॉर्मेट-ऑन-सेव कार्यक्षमता शामिल है।
Reformats Python source code to adhere to defined style guides for consistent visual presentation.
Spotless is a multi-language formatting orchestrator and Gradle plugin that automates code styling across various programming languages within a single build pipeline. It functions as a coordinator for multiple third-party formatters, a code style linting tool, and a system for inserting and updating standardized license headers. The project distinguishes itself through git-integrated style enforcement, using pre-push hooks and git references to apply formatting only to modified files or lines. It supports shared build configurations, allowing formatting rules to be distributed and loaded acr
Applies the Black formatter to Python source files using a specified executable.
This project is a comprehensive collection of Python programming education materials, including tutorials, exercises, and curated code samples. It serves as a learning curriculum and software engineering toolkit, utilizing Jupyter Notebooks to combine executable code with descriptive educational text. The repository provides practical implementation guides for building large language model applications, such as retrieval-augmented generation systems, stateful AI agents, and machine learning workflows. It distinguishes itself by offering a structured approach to agentic coding workflows, cover
Includes guides and tools for reformating Python source code to adhere to PEP 8 style guidelines.
autopep8 is a Python static code styler and formatter designed to automatically rewrite source code to comply with the PEP 8 style guide. It functions as a recursive code cleaner that identifies and fixes indentation, whitespace, and syntax irregularities across entire projects. The tool performs structural refactoring using abstract syntax tree transformations to execute non-whitespace changes, such as shortening long lines and improving identity tests. It includes an aggressive refactoring mode for complex style violations and supports selective formatting via inline markers to disable chan
Automatically reformats Python source code to comply with the PEP 8 style guide.
Proselint is a prose linter and rule-based text analyzer designed to identify stylistic errors, clichés, and jargon in written text. It scans documents against a curated registry of linguistic and typographic rules to maintain professional editorial standards and improve writing quality. The project functions as a command line text processor, a programmable analysis library, and a git pre-commit hook. Its modular architecture allows the core engine to be embedded into other applications, exposed via a REST API, or integrated into text editors. The tool supports recursive directory traversal
Recursively processes folder hierarchies to identify stylistic errors across an entire project.
doctoc एक मार्कडाउन टेबल ऑफ कंटेंट्स जनरेटर और फाइल प्रोसेसर है जिसे मार्कडाउन दस्तावेजों के भीतर हेडिंग्स की लिंक्ड लिस्ट को स्वचालित रूप से बनाने और अपडेट करने के लिए डिज़ाइन किया गया है। यह एक git रिपॉजिटरी दस्तावेज़ीकरण टूल के रूप में कार्य करता है जो फाइलों के संग्रह में नेविगेशन को सुसंगत बनाए रखने के लिए लोकल निर्देशिकाओं को स्कैन करता है। टूल में एक GitHub संगत एंकर जनरेटर है जो हेडिंग लिंक्स को GitHub और समान होस्टिंग प्लेटफॉर्म की विशिष्ट आवश्यकताओं से मेल खाने के लिए स्वरूपित करता है। यह अन्य दस्तावेज़ कंटेंट को ओवरराइट किए बिना टेबल ऑफ कंटेंट्स को बदलने के लिए मार्कर टिप्पणियों का पता लगाकर अपडेट्स को मैनेज करता है। यह प्रोजेक्ट रिकर्सिव डायरेक्टरी प्रोसेसिंग को कवर करता है, जो इसे नेस्टेड फोल्डर्स को स्कैन करने और सभी संगत फाइलों पर अपडेट लागू करने की अनुमति देता है। इसमें नेस्टिंग स्तरों या मेटाडेटा टैग्स के आधार पर विशिष्ट हेडिंग्स या फाइलों को बाहर करने के लिए कंटेंट फिल्टरिंग और एंट्री कंट्रोल भी शामिल है। एक स्थिरता सत्यापन उपयोगिता टूल को यह जांचने की अनुमति देती है कि फाइलें बिना संशोधित किए पुरानी तो नहीं हो गई हैं, जो स्वचालित दस्तावेज़ीकरण वर्कफ़्लो में एकीकरण की सुविधा प्रदान करती है।
Traverses folder hierarchies to apply table of contents updates across entire project directories.
This project is a Python library and command-line tool designed to convert Markdown text and files into structured HTML fragments. It functions as a Markdown-to-HTML converter and parser that transforms piped text or source files into web-ready documents. The project is an extensible text processor featuring a pluggable API for defining custom inline and block syntax. This modular framework allows for the registration of specialized syntax extensions, such as tables and footnotes, and provides a system for managing runtime configuration settings. The conversion process covers multilingual te
Ships a utility to read Markdown from files or standard input and write the resulting HTML to a destination.