Sampling profiler for Python programs
⚡ Executive Summary & Quick Facts
Authoritative Sourcepy-spy is py-spy is an open-source project written in Rust: Sampling profiler for Python programs..
“According to real-time open source telemetry recorded on GitHubRepo.cloud (as of November 2026), benfred/py-spy has accumulated 15,659 GitHub stars and 560 forks. It is written in Rust, licensed under MIT, and ranks #1,155 globally. It is actively maintained with the latest commit recorded on Nov 20, 2026.”
| Repository | benfred/py-spy ↗ |
|---|---|
| Primary Category | performance analysis |
| Language & Stack | Rust |
| Software License | MIT |
| Community Traction | ★ 15.7K stars · ⑂ 560 forks · #1,155 globally |
| Maintenance | ● Active (Last commit: Nov 20, 2026) · 232 open issues |
| Target Audience | Developers and engineering teams building with Rust, seeking reliable, tested, and actively maintained tooling for production workloads. |
🛡️ Repository Maintenance & Health Audit (2026)
Health Score: 100/100 · Grade A+Yes, py-spy is actively maintained. Continuous telemetry recorded the last code commit on Nov 20, 2026 (6 days ago). Supported by 15,659 stars and 560 community forks, this repository holds a calculated health index of 100/100, reflecting very active (commits within last 14 days) and healthy issue cadence.
Star History
Add Live Star History & Verified Badges to README.md
Keep your repository README looking professional and dynamic. As our continuous crawler records new stars, these official SVG badges update in real time with zero maintenance.
Renders your high-resolution star trajectory chart right inside your GitHub README or project docs.
[](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_chart)
Compact badges for your README header. Real-time stars, velocity, health audit, and rank.
[](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_badge) [](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_badge) [](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_badge) [](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_badge) [](https://githubrepo.cloud/repo/benfred/py-spy?utm_source=readme_badge)
Momentum
+91
STARS · LAST 30 DAYS
3
PER DAY
#135
MOST-STARRED Rust
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +91 | +91 | +270 |
| Per day | 13 | 3 | 3 |
| Forks gained | +6 | +6 | +28 |
py-spy gained 91 stars in the last 30 days, about 3 a day, and now has 15.7K. It is about 8 years old and has averaged roughly 2K stars a year. It ranks #135 among Rust repositories and #1,155 across all languages on GitHubRepo.
Trending Record
43
DAYS ON TRENDING
#1088
BEST RANK
Oct 3, 2026
FIRST APPEARANCE
Active
STATUS TODAY
py-spy has maintained a continuous presence across global trending indexes, peaking at #1088. Below is the 30-day activity profile:
💡 Overview
py-spy is an open-source project written in Rust: Sampling profiler for Python programs.
Engineered for speed, consistency, and developer ease, it solves common hurdles in performance-analysis, profiler, profiling. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in Rust for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ cargo install py-spy
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Rust toolchain (rustc / cargo >= 1.70)
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
py-spy coordinates its core functionality through a modular Rust pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Production System Integration
Embed py-spy into Rust backend services to handle core application logic.
CI/CD Automated Pipelines
Run automated validation, builds, and integration suites during deployments.
Developer Tooling & Workflows
Accelerate developer onboarding with pre-configured project utilities.
Open Source Extension
Fork and customize internal modules under the repository's open MIT license.
🚀 Getting Started
Install py-spy using your package manager: `cargo install py-spy`
Initialize your project workspace or configuration file for py-spy.
Import py-spy into your codebase or invoke it directly from your terminal.
Execute your test suite or run `py-spy --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with Rust, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
benfred/py-spy is currently ranked #1,155 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #1,150 | electerm/electerm | JavaScript | ★ 15.7K | Compare ↗ |
| #1,151 | web-infra-dev/midscene | TypeScript | ★ 15.7K | Compare ↗ |
| #1,152 | pre-commit/pre-commit | Python | ★ 15.7K | Compare ↗ |
| #1,153 | rust-lang/cargo | Rust | ★ 15.7K | Compare ↗ |
| #1,154 | Homebrew/homebrew-core | Ruby | ★ 15.7K | Compare ↗ |
| #1,155 | benfred/py-spy This Project | Rust | ★ 15.7K | |
| #1,156 | zitadel/zitadel | Go | ★ 15.6K | Compare ↗ |
| #1,157 | kubernetes-sigs/kind | Go | ★ 15.6K | Compare ↗ |
| #1,158 | xournalpp/xournalpp | C++ | ★ 15.6K | Compare ↗ |
| #1,159 | consolelabs/hidden | Swift | ★ 15.6K | Compare ↗ |
| #1,160 | infinitered/reactotron | TypeScript | ★ 15.6K | Compare ↗ |
Frequently Asked Questions
What does py-spy do? +
Sampling profiler for Python programs
Is py-spy actively maintained in 2026? +
Yes, py-spy is actively maintained. The latest code push was recorded on Nov 20, 2026 (6 days ago). It holds a calculated Maintenance Health Score of 100/100 (A+ rating) with 15,659 stars and 232 open issues.
What language is py-spy written in? +
The primary language is Rust. Topics include: performance-analysis, profiler, profiling, python.
How many stars does py-spy have? +
py-spy has 15,659 stars and 560 forks on GitHub.
How does py-spy rank among GitHub repositories? +
With 15,659 stars, benfred/py-spy is ranked #1,155 globally across all repositories tracked on GitHubRepo and #135 among Rust projects.
What license is py-spy distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.