EditorConfig
EditorConfig File Locator and Interpreter for Python
Decision gist · record as of 2026-08-14
Yes. This is a well-maintained, dependency-free library that solves a real problem: reading EditorConfig files in Python. It's actively developed, supports current Python versions, carries no security vulnerabilities, and uses a permissive license. Install it if you're building tools that need to respect EditorConfig conventions.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction: pure Python wheel with no runtime dependencies.
- Actively maintained with a recent commit on 2026-08-01 and support for current Python versions (3.9–3.13, including PyPy).
License · maintenance · safety
PSF-2.0 (permissive) — Licensed under PSF-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
last release 2025-06-09 (431 days) · last repo commit 2026-08-01 · 103 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,093,752 downloads/mo, #1,972 on PyPI
Alternatives
Verify before relying
pip install editorconfig
from editorconfig import get_properties, EditorConfigError
filename = "/path/to/file.py"
try:
options = get_properties(filename)
for key, value in options.items():
print(f"{key}={value}")
except EditorConfigError:
print("Error reading EditorConfig properties")- Whether the library handles all EditorConfig file format edge cases identically to the C Core reference implementation.
- Performance characteristics when processing deeply nested directory structures or large numbers of files.
What it is and what it does
EditorConfig Python Core reads .editorconfig files and returns the style properties that apply to a given file path. It mirrors the functionality of the EditorConfig C Core, making it useful for tools and editors that need to enforce consistent coding conventions across teams and projects without requiring manual configuration in each editor.
The package works as both a standalone command-line utility and as an importable Python library. It has no runtime dependencies and supports modern Python versions (3.9 through 3.13), making it straightforward to integrate into build systems, linters, formatters, or editor plugins that need to respect EditorConfig conventions.
Use it for
- Integrate EditorConfig support into a Python-based linter or code formatter to automatically apply project style rules.
- Build an editor plugin or IDE extension that reads .editorconfig files to configure indentation, line endings, and charset.
- Validate that a codebase's actual formatting matches the rules defined in its .editorconfig file as part of CI/CD.
- Create a development tool that queries EditorConfig properties for a file to guide code generation or refactoring.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
This is a well-maintained, dependency-free library that solves a real problem: reading EditorConfig files in Python. It's actively developed, supports current Python versions, carries no security vulnerabilities, and uses a permissive license. Install it if you're building tools that need to respect EditorConfig conventions.
Install
editorconfig on PyPI
Before you install
Low friction: pure Python wheel with no runtime dependencies. Actively maintained with a recent commit on 2026-08-01 and support for current Python versions (3.9–3.13, including PyPy).
License in practice
Licensed under PSF-2.0 (permissive), allowing free use, modification, and distribution with minimal restrictions—suitable for both open-source and proprietary projects.
Quickstart
pip install editorconfig
from editorconfig import get_properties, EditorConfigError
filename = "/path/to/file.py"
try:
options = get_properties(filename)
for key, value in options.items():
print(f"{key}={value}")
except EditorConfigError:
print("Error reading EditorConfig properties")
Verify before relying
- Whether the library handles all EditorConfig file format edge cases identically to the C Core reference implementation.
- Performance characteristics when processing deeply nested directory structures or large numbers of files.
Package facts
| License | PSF-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 431 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 6,093,752 / month, #1,972 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: Python Software Foundation LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: PyPy |
Evidence: editorconfig-0.17.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “editorconfig parser python”
- EditorConfigParses and applies EditorConfig files to determine coding style…
- beautyshBeautysh automatically formats and beautifies Bash shell scripts with…
- jsbeautifierBeautifies, unpacks, and deobfuscates JavaScript code, including…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also cmakelint · python-editor · beautysh · cmake-format · cmake · cmakelang · oslo.config · INITools · editor · scikit-build-core