Skip to main content

repokit

PyPI

A small toolkit for scripts that operate over a GitHub account's repos: fetch them via asyncgh, keep the non-archived/non-fork (by default) ones matching an only/skip filter, run an async CLI entrypoint with shared-client cleanup (run_cli), and fan work out over the repos in bounded parallel via reconcilekit (run_parallel). No config-file loading, no sops, no fork/exclude policy — those are a caller concern, which is why list_repos's include_forks defaults to none included rather than reading any file.

Published to PyPI as hugoh-repokit; imported as repokit.

API

Full API reference, generated from the docstrings: hugoh.github.io/fleet-tools/repokit (rebuilt on every push that touches this package — see .github/workflows/docs.yml).

Example

import asyncio
import os

from repokit import list_repos, run_cli


async def main(args) -> int:
    repos = await list_repos(os.environ["GH_OWNER"], only=args.only, skip=args.skip)
    for repo in repos:
        print(repo.name)
    return 0


def cli(argv: list[str]) -> int:
    return run_cli(main, parse_args(argv))

Consumers

repo-admin/ (in this repo) uses the full surface for repo_admin.py/activity.py, consumed as a uv workspace member — repo-admin/lib.py layers its own config-file-backed fork/exclude policy, sops-based secrets, and console/progress_bar/etc. re-exports from asyncgh/reconcilekit on top, kept local since none of that is generic. digest-action (a separate repo, since GitHub Marketplace only publishes actions from a repository root) consumes it as a regular PyPI dependency for list_repos + run_cli.

Metadata

Release files for hugoh-repokit 0.3.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hugoh-repokit 0.3.2
File Size Uploaded Provenance Actions
hugoh_repokit-0.3.2.tar.gz 6.0 kB With provenance Details for hugoh_repokit-0.3.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hugoh-repokit 0.3.2
File Interpreter ABI Platform Actions
hugoh_repokit-0.3.2-py3-none-any.whl Python 3 none any Details for hugoh_repokit-0.3.2-py3-none-any.whl

Total release size: 12.0 kB

Release files / hugoh_repokit-0.3.2.tar.gz

Download URL hugoh_repokit-0.3.2.tar.gz
Size 6.0 kB
Tags Source
SHA-256 checksum
How to use checksums
4afb7f4b05d6ee4341acf2f87a33401aa44869d91b3746485c89f7643692b298
BLAKE2b-256 checksum
How to use checksums
8a12f68d90f0b190632839a72b39723fdb8ea55766910da4532ff7f30e11e08e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Release files / hugoh_repokit-0.3.2-py3-none-any.whl

Download URL hugoh_repokit-0.3.2-py3-none-any.whl
Size 6.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c5779a9f3c74bdcc06e1a5b3d2de23625c1b5e996379ea788230897bd5fc34cf
BLAKE2b-256 checksum
How to use checksums
9e0cefa1b7c6ef31b59f17626b3361ea8fcda4cee4cb0e0cf0a37bbafd62325c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

Security for hugoh-repokit 0.3.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hugoh_repokit-0.3.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page