SkillAgentSearch skills...

Codeowners

:honeybee: A Python library for codeowners files

Install / Use

/learn @sbdchd/Codeowners
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

codeowners CircleCI pypi

Python codeowners parser based on softprops's Rust library and hmarr's Go library.

Why?

To allow Python users to parse codeowners files in Python.

Install

pip install codeowners

Usage

from codeowners import CodeOwners

example_file = """\
# owners for js files
*.js    @ghost
# python
*.py user@example.com
# misc
/build/logs/ @dmin
docs/*  docs@example.com
"""

owners = CodeOwners(example_file)
assert owners.of("test.js") ==  [('USERNAME', '@ghost')]

Dev

poetry install

s/test

s/lint

Releasing a New Version

# bump version in pyproject.toml

# update CHANGELOG.md

# commit release commit to GitHub

# build and publish
poetry publish --build

# create a release in the GitHub UI
View on GitHub
GitHub Stars45
CategoryDevelopment
Updated7mo ago
Forks19

Languages

Python

Security Score

87/100

Audited on Aug 17, 2025

No findings