Skip to content

ultralytics/stars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Ultralytics logo

Ultralytics Analytics & Star Tracking ⭐️

Track GitHub stars, contributors, and PyPI downloads for Ultralytics projects.

Ultralytics Actions Ultralytics Discord Ultralytics Forums Ultralytics Reddit

Update Analytics

📊 Analytics API

Real-time analytics updated daily at 02:07 UTC via GitHub Actions.

GitHub Stars & Contributors

https://raw.githubusercontent.com/ultralytics/stars/main/data/org_stars.json

Fields:

  • total_stars: Total stars across all public repos
  • total_contributors: Sum of contributors across all repos (may include duplicates)
  • public_repos: Number of public repositories
  • timestamp: Last update time (ISO 8601)
  • repos: Array with per-repo name, stars, and contributors

PyPI Downloads

https://raw.githubusercontent.com/ultralytics/stars/main/data/pypi_downloads.json

Packages tracked:

  • ultralytics - Main YOLO11 package
  • ultralytics-actions - GitHub Actions
  • ultralytics-thop - PyTorch ops profiling
  • hub-sdk - Ultralytics HUB SDK
  • mkdocs-ultralytics-plugin - Documentation plugin
  • ultralytics-autoimport - Auto-import utilities

Fields:

  • total_downloads: Combined all-time downloads across all packages
  • total_last_month: Combined downloads across all packages (last 30 days)
  • timestamp: Last update time (ISO 8601)
  • packages: Array with per-package last_day, last_week, last_month, and total downloads

Example Usage

REST API:

curl https://raw.githubusercontent.com/ultralytics/stars/main/data/org_stars.json
curl https://raw.githubusercontent.com/ultralytics/stars/main/data/pypi_downloads.json

Python:

import requests

stars = requests.get("https://raw.githubusercontent.com/ultralytics/stars/main/data/org_stars.json").json()
downloads = requests.get("https://raw.githubusercontent.com/ultralytics/stars/main/data/pypi_downloads.json").json()
print(f"Total stars: {stars['total_stars']:,}")
print(f"Total contributors: {stars['total_contributors']:,}")
print(f"PyPI downloads (total): {downloads['total_downloads']:,}")
print(f"PyPI downloads (30d): {downloads['total_last_month']:,}")

🔧 Repository Structure

stars/
├── fetch_stats.py          # Unified analytics fetcher (GitHub + PyPI)
├── count_stars.py          # Historical star tracking script
├── utils.py                # Shared utilities
├── data/
│   ├── org_stars.json     # GitHub analytics (updated daily)
│   └── pypi_downloads.json # PyPI analytics (updated daily)
└── .github/workflows/
    ├── analytics.yml       # Daily analytics update
    └── format.yml         # Code formatting

📈 Historical Star Tracking

Track star growth over time for any GitHub repositories using count_stars.py.

Setup

pip install -r requirements.txt

Usage

python count_stars.py --token YOUR_GITHUB_TOKEN --days 30 --save

Arguments:

  • --token: GitHub Personal Access Token (create one)
  • --days: Number of trailing days to analyze (default: 30)
  • --save: Save user information to CSV (optional)

Tracked repositories are defined in count_stars.py and include:

  • Ultralytics projects (ultralytics, yolov5, yolov3)
  • YOLO variants (yolov6, yolov7, YOLOX)
  • FAANG repos (detectron2, segment-anything, deepmind-research)
  • ML frameworks (PyTorch Lightning, fastai, ray)
  • And 30+ more popular CV/ML repositories

Edit the REPOS list in count_stars.py to customize tracked repositories.

Example Output

Counting stars for last 30.0 days from 08 October 2025

ultralytics/ultralytics                 1572 stars  (52.4/day)  :   6%|▌         | 1572/46959 [00:16<04:15, 94.53it/s]
ultralytics/yolov5                      391 stars   (13.0/day)  :   2%|▏         | 391/55572 [00:04<03:56, 85.86it/s]
...

💡 Contribute

Contributions are the lifeblood of the open-source community, and we greatly appreciate your input! Whether it's bug fixes, feature suggestions, or documentation improvements, every contribution helps.

Please see our Contributing Guide for detailed instructions on how to get involved. We also encourage you to fill out our Survey to share your feedback. Thank you 🙏 to everyone who contributes!

Ultralytics open-source contributors

📝 License

Ultralytics provides two licensing options to accommodate different use cases:

  • AGPL-3.0 License: Ideal for students and enthusiasts, this OSI-approved open-source license promotes collaboration and knowledge sharing. See the LICENSE file for details.
  • Enterprise License: Designed for commercial applications, this license allows for the integration of Ultralytics software and AI models into commercial products and services. For more information, visit Ultralytics Licensing.

📬 Contact Us

If you encounter bugs, have feature requests, or wish to contribute, please visit GitHub Issues. For broader discussions and questions about Ultralytics projects, join our vibrant community on Discord!


Ultralytics GitHub space Ultralytics LinkedIn space Ultralytics Twitter space Ultralytics YouTube space Ultralytics TikTok space Ultralytics BiliBili space Ultralytics Discord

Releases

No releases published

Packages

No packages published

Contributors 6

Languages