# 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:
```bash
pip install requests pandas matplotlib json5 bs4
```
## Usage
To use the script, simply run it with Python and specify the PyPI author:
```python
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.
Raw data
{
"_id": null,
"home_page": "https://github.com/chigwell/pip_author_stats",
"name": "pip-author-stats",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6",
"maintainer_email": "",
"keywords": "",
"author": "Eugene Evstafev",
"author_email": "chigwel@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/39/89/fb9b904a6303d8d18ac87f01d9cc1f718cd92acc4a941b6a31c0cb5f8456/pip_author_stats-0.0.1.tar.gz",
"platform": null,
"description": "# PyPI Author Stats Reporter\n\nThis 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.\n\n## Features\n\n- Fetches package names associated with a specific PyPI author.\n- Retrieves download statistics for each package.\n- Generates a detailed JSON report including summary statistics and individual package data.\n\n## Installation\n\nEnsure you have Python and the required packages installed:\n\n```bash\npip install requests pandas matplotlib json5 bs4\n```\n\n## Usage\n\nTo use the script, simply run it with Python and specify the PyPI author:\n\n```python\nauthor = \"your-pypi-author-username\"\nreport = generate_report(author)\nprint(report)\n```\n\nThe script will output a JSON formatted report with detailed statistics about the author's packages on PyPI.\n\n## Report Details\n\nThe generated report contains:\n\n- Total number of packages by the author.\n- Total number of downloads across all packages.\n- Average number of downloads per package.\n- Maximum and minimum number of downloads for individual packages.\n- The name of the most downloaded package.\n\n## Contributing\n\nContributions to improve this script are welcome. Please feel free to fork, modify, and make pull requests.\n\n## License\n\nThis script is open-sourced software licensed under the MIT license.\n\n\n",
"bugtrack_url": null,
"license": "",
"summary": "A tool to generate statistics report for PyPI authors",
"version": "0.0.1",
"project_urls": {
"Homepage": "https://github.com/chigwell/pip_author_stats"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "fc644b6e5f15b742677d5c313ef0c9ed057206340a377a69cecab830df4c25c7",
"md5": "df2bb37d38d44083abdbc97000c6a3f0",
"sha256": "c228316073d7120b8ec5426828e5085f0273000477de233c7446f4e9c420c5be"
},
"downloads": -1,
"filename": "pip_author_stats-0.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "df2bb37d38d44083abdbc97000c6a3f0",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6",
"size": 4224,
"upload_time": "2024-01-14T00:05:08",
"upload_time_iso_8601": "2024-01-14T00:05:08.443449Z",
"url": "https://files.pythonhosted.org/packages/fc/64/4b6e5f15b742677d5c313ef0c9ed057206340a377a69cecab830df4c25c7/pip_author_stats-0.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3989fb9b904a6303d8d18ac87f01d9cc1f718cd92acc4a941b6a31c0cb5f8456",
"md5": "7fc077a9cc3f7f3cef36fbda0308583b",
"sha256": "c00ae9d8fd427949cc2b6a540bf6ab4edadaa1eb8ceb2014acda269f28741bc8"
},
"downloads": -1,
"filename": "pip_author_stats-0.0.1.tar.gz",
"has_sig": false,
"md5_digest": "7fc077a9cc3f7f3cef36fbda0308583b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.6",
"size": 3141,
"upload_time": "2024-01-14T00:05:10",
"upload_time_iso_8601": "2024-01-14T00:05:10.336292Z",
"url": "https://files.pythonhosted.org/packages/39/89/fb9b904a6303d8d18ac87f01d9cc1f718cd92acc4a941b6a31c0cb5f8456/pip_author_stats-0.0.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-01-14 00:05:10",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "chigwell",
"github_project": "pip_author_stats",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pip-author-stats"
}