codeowners
Codeowners parser for Python
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no dependencies, installs cleanly, carries no known vulnerabilities, and is licensed permissively under MIT. Install it if you need to programmatically parse CODEOWNERS files in Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low friction install with no runtime dependencies.
- Actively maintained with recent release activity and support for current Python versions (3.10–3.15).
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution with minimal legal constraints.
last release 2026-06-28 (47 days) · last repo commit 2026-06-28 · 45 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,020,596 downloads/mo, #1,253 on PyPI
Alternatives
Verify before relying
from codeowners import CodeOwners
example = "*.js @ghost\n*.py user@example.com"
owners = CodeOwners(example)
print(owners.of("test.js"))What it is and what it does
codeowners is a Python parser for GitHub's CODEOWNERS file format. It reads CODEOWNERS syntax—which defines ownership rules for files and directories using glob patterns and owner identifiers—and provides a programmatic interface to query which owners are responsible for a given file path.
The package has no runtime dependencies and is designed for developers who need to automate workflows around code ownership: integrating ownership data into CI/CD pipelines, validating pull request reviewers, or building tools that reason about team responsibilities. It supports the full CODEOWNERS syntax including comments, glob patterns, and multiple owner formats.
Use it for
- Validate that pull requests have been reviewed by the correct code owners before merging.
- Generate ownership reports or dashboards showing which teams own which parts of a codebase.
- Automate reviewer assignment in CI/CD by querying owners for changed files.
- Audit or migrate ownership data from CODEOWNERS files into other systems or formats.
- Build linting tools that check CODEOWNERS file syntax and consistency.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no dependencies, installs cleanly, carries no known vulnerabilities, and is licensed permissively under MIT. Install it if you need to programmatically parse CODEOWNERS files in Python.
Install
codeowners on PyPI
Before you install
Low friction install with no runtime dependencies. Actively maintained with recent release activity and support for current Python versions (3.10–3.15).
License in practice
MIT license permits unrestricted use, modification, and distribution with minimal legal constraints.
Quickstart
from codeowners import CodeOwners
example = "*.js @ghost\n*.py user@example.com"
owners = CodeOwners(example)
print(owners.of("test.js"))
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 47 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 14,020,596 / month, #1,253 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Programming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.15 |
Evidence: codeowners-0.9.0-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 › “codeowners file parser”
- codeownersParses GitHub CODEOWNERS files to extract ownership rules and…
- INIToolsINITools parses and manipulates INI-style configuration files through…
- iniparseiniparse is an INI file parser that preserves formatting (comments,…
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 tree-sitter-zig · tree-sitter-go · tree-sitter-php · tree-sitter-python · tree-sitter-css · tree-sitter-c · tree-sitter-objc · git-url-parse · tree-sitter-java · sybil