Skip to main content

A tool to generate statistics report for PyPI authors

Project description

PyPI Author Stats Reporter

This tool is designed to fetch and analyze package data from PyPI for a specific author. It generates comprehensive reports about the packages including total downloads, average downloads, and identifies the most downloaded package.

Features

  • Fetches package names associated with a specific PyPI author.
  • Retrieves download statistics for each package.
  • Generates a detailed JSON report including summary statistics and individual package data.

Installation

Ensure you have Python and the required packages installed:

pip install requests pandas matplotlib json5 bs4

Usage

To use the script, simply run it with Python and specify the PyPI author:

author = "your-pypi-author-username"
report = generate_report(author)
print(report)

The script will output a JSON formatted report with detailed statistics about the author's packages on PyPI.

Report Details

The generated report contains:

  • Total number of packages by the author.
  • Total number of downloads across all packages.
  • Average number of downloads per package.
  • Maximum and minimum number of downloads for individual packages.
  • The name of the most downloaded package.

Contributing

Contributions to improve this script are welcome. Please feel free to fork, modify, and make pull requests.

License

This script is open-sourced software licensed under the MIT license.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip_author_stats-0.0.1.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

pip_author_stats-0.0.1-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page