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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for pip_author_stats-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c228316073d7120b8ec5426828e5085f0273000477de233c7446f4e9c420c5be |
|
MD5 | df2bb37d38d44083abdbc97000c6a3f0 |
|
BLAKE2b-256 | fc644b6e5f15b742677d5c313ef0c9ed057206340a377a69cecab830df4c25c7 |