Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

repo-people

Latest version: v1.2.0

Overview

Last scanned
29 Nov 2026
Published
29 Nov 2026
PyPI package Publisher: amckenna41
0 Stars
0 Forks
1 Versions
Python Repo language

Scan summary

repo-people was last scanned on 29 Nov 2026 at version 1.2.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: First and only release on 29 Nov 2026.
  • Findings: No rules fired in version 1.2.0.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
1.2.0 LATEST 29 Nov 2026 No rules fired

No rules fired in 1.2.0

Findings

Findings for v1.2.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 1.2.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

repo-people

Platforms PythonV License: MIT Issues

repo-people is a Python package that collects and exports the full GitHub profile for every person associated with a repository — contributors, maintainers, stargazers, watchers, issue/PR authors, fork owners, commit authors and dependents.

Table of Contents

  • Introduction
  • Background
  • Requirements
  • Installation
  • Documentation
  • Usage
  • Command Line
  • Directories
  • Responsible use
  • Issues
  • License
  • Contact

Introduction

repo-people provides a single-call pipeline to collect every GitHub user associated with a repository across 10 role categories, fetch 40+ profile fields for each person from the GitHub API, and export the results to JSON, CSV, Excel, Markdown or SQLite — plus a shareable, aggregate-only HTML report. It is designed for research, open-source community analysis, and developer intelligence workflows.

Key capabilities:

  • Collects users from 10 role categories in a single call
  • Fetches 40+ profile fields per user (bio, location, company, followers, orgs, languages, …)
  • Computes derived metrics: account age, followers/following ratio, repos/year, recently-active flag, country code, bot detection
  • GraphQL fast paths — all flat-list roles in one query, and PR reviewers ~100× cheaper than the REST N+1 walk. Falls back to REST automatically
  • Batched GraphQL profiles — 50 users per query instead of 2–3 REST calls each; bots, organisations and unresolvable logins fall back to REST automatically
  • --wait-on-ratelimit — sleep through a rate-limit window with a countdown instead of failing, so huge repos can run unattended
  • On-disk ETag cache — repeat runs send conditional requests, and GitHub's 304 Not Modified responses do not count against your rate limit
  • --dry-run — collect usernames only and estimate the API budget a full run would need
  • Incremental fetch with save_each_iteration and resume — safe to interrupt (Ctrl-C saves progress) and restart on large repos
  • Flexible filtering: roles, exclude (case-insensitive), exclude_bots, limit, fields
  • Concurrent fetching via workers — uses ThreadPoolExecutor to fetch multiple profiles in parallel
  • Async fetching via get_users_async() — uses asyncio + aiohttp, with rate-limit back-off and bounded concurrency
  • Opt-in social accounts via include_social_accounts — fetches linked LinkedIn, Mastodon, npm, and other accounts
  • Export to JSON, JSONL, CSV, Excel, Markdown and SQLite; spreadsheet exports neutralise formula injection from profile text
  • HTML community report — charts of countries, companies, account age, activity and role overlap, with no individual data, safe to share
  • Analysis helpers: summarise(), top_users(), compare() and diff_snapshots()
  • Token resolved from the token argument or the GITHUB_TOKEN environment variable, and validated on startup — invalid or expired tokens raise ConnectionError immediately
  • owner and repo validated on construction — invalid characters raise ValueError immediately
  • Rate-limit progress printed every 50 users with remaining request count and reset time
  • Role failures are isolated — one role failing returns an empty list for that role (recorded in rp.last_failed_roles) instead of discarding the whole collection; a rate limit never produces a silently truncated list
  • CLI exits 2 when some profiles or roles could not be fetched, so CI can detect an incomplete dataset

Background

Understanding who contributes to, uses, and maintains an open-source project is valuable for community health analysis, academic research, and competitive intelligence. GitHub exposes this information across many endpoints (contributors, stargazers, watchers, forks, issues, pull requests, CODEOWNERS, commit history), but collecting and joining it requires many paginated API calls.

repo-people automates that collection, deduplicates users across all roles, enriches each record with the full GitHub profile, and computes additional signals (account age, activity recency, bot detection) in a single pipeline call.


Requirements

  • Python ^3.10
  • PyGithub ^2.0.0 — GitHub API client
  • requests ^2.31.0 — HTTP requests for REST endpoints
  • beautifulsoup4 ^4.12.0 — HTML scraping for dependents
  • aiohttp ^3.9 — optional ([async] extra), async HTTP client for get_users_async()
  • openpyxl ^3.1 — optional ([excel] extra), for export_to_xlsx()
  • tqdm ^4.0 — optional ([progress] extra), for progress bars

SQLite export uses the standard library, so it needs no extra dependency.

A GitHub personal access token is strongly recommended. Unauthenticated requests are limited to 60/hour; authenticated requests allow 5,000/hour.


Installation

Install the latest version of repo-people via [PyPi] using pip:

pip3 install repo-people --upgrade

To enable the async pipeline (get_users_async) install with the async extra:

pip3 install "repo-people[async]"

Other optional extras — Excel export, progress bars, or everything at once:

pip3 install "repo-people[excel]"
pip3 install "repo-people[progress]"
pip3 install "repo-people[async,excel,progress]"

Installation from source:

git clone -b main https://github.com/amckenna41/repo-people.git
cd repo-people
pip3 install .

Documentation

  • Read the Docs — full package documentation
  • FIELDS.md — full reference table of every output field with descriptions
  • CHANGELOG.md — version history and release notes
  • [Deep Wiki][deepwiki] — structured wiki of the repo, generated by DeepWiki

Usage

Quick Start
from repo_people import RepoPeople

rp = RepoPeople("owner", "repo")          # token read from GITHUB_TOKEN
user_data = rp.get_users(export=True)     # writes outputs/owner_repo_user_details.json
# Returns a dict keyed by username, with 40+ profile fields per user
repo-people owner repo --export-json --export-html
How to get a GitHub Personal Access Token

Grant the least access that works — everything repo-people reads about a public repository is public data.

  1. Sign in to github.com and go to Settings → Developer settings → Personal access tokens → Tokens (classic).
  2. Click Generate new token (classic), give it a descriptive name and an expiry date.
  3. Select scopes:
    • Public repositories: no scopes are needed. The token only raises your rate limit (60 → 5,000 requests/hour) and enables the GraphQL fast paths.
    • Private repositories: repo, so the token can read the repository's contributors, issues and collaborators.
    • The maintainers role lists collaborators only when the token has push access to the repository; otherwise it uses CODEOWNERS alone.
  4. Click Generate token and copy it immediately — it won't be shown again.
  5. Store it securely and expose it as GITHUB_TOKEN (or pipe it in with --token-stdin).

Fine-grained tokens: these can be limited to selected repositories, and some endpoints (for example the stargazer list) may then answer "Resource not accessible by personal access token" for other repositories. That role is reported as failed (exit code 2) rather than silently empty; use a no-scope classic token for public repositories if you hit it.

Tip: Unauthenticated requests are limited to 60/hour and cannot use GraphQL, making a token essential for any non-trivial repo.

Authentication
import os
rp = RepoPeople("owner", "repo", token=os.environ["GITHUB_TOKEN"])

# Or rely on the environment — token=None reads GITHUB_TOKEN automatically
rp = RepoPeople("owner", "repo")

The token is resolved from the token argument first, then from the GITHUB_TOKEN environment variable. It is validated immediately on construction — an invalid or expired token raises ConnectionError before any collection begins. If neither source provides a token, a UserWarning is emitted up front noting the 60-requests/hour unauthenticated limit.

RepoPeople() Constructor
RepoPeople(owner, repo, token=None, outdir=None, skip_codeowners=False,
           skip_collaborators=False, use_cache=True, use_graphql=True,
           use_graphql_profiles=None, wait_on_ratelimit=False)
Parameter Type Default Description
owner str — GitHub username or organisation that owns the repo. Must contain only [A-Za-z0-9_.-] characters and must not be . or ..; raises ValueError on construction otherwise.
repo str — Repository name. Same character restrictions as owner.
token str \| None None Personal access token. Falls back to the GITHUB_TOKEN environment variable. Validated immediately on init; raises ConnectionError for invalid tokens.
outdir str \| None "outputs" Directory where all output files are written.
skip_codeowners bool False Skip CODEOWNERS file when collecting maintainers.
skip_collaborators bool False Skip repo collaborators when collecting maintainers.
use_cache bool True Use the on-disk ETag cache, so unchanged pages come back as 304 responses that don't count against the rate limit.
use_graphql bool True Use the GraphQL fast paths for role collection when a token is available. Falls back to REST automatically.
use_graphql_profiles bool \| None None Fetch user profiles in batched GraphQL queries when a token is available, with automatic REST fallback. None follows use_graphql.
wait_on_ratelimit bool False Sleep through a rate-limit window (with a countdown) instead of failing the affected role or request.
get_users() Parameters

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • pypi-releases repo-people

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Frame 2085668439 (1)
Group 1261154229