Skip to main content

License: MIT Downloads

PyPI Author Stats Reporter

The PyPI Author Stats Reporter is a Python package designed to fetch and analyze PyPI package data for a specific author. It generates comprehensive reports detailing package downloads and other statistics, offering valuable insights into the usage and popularity of an author's packages.

Installation

To install PyPI Author Stats Reporter, use pip:

pip install pip-author-stats

Usage

As a Python Module

PyPI Author Stats Reporter can also be integrated into your Python scripts.

Example:

from pip_author_stats.report_generator import generate_report

# Generate a report for a specific PyPI author
report = generate_report('your-pypi-author-username')
print(report)

Report Details

The generated report includes:

  • 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.

Output Example

When you run PyPI Author Stats Reporter, it outputs a JSON formatted report with detailed statistics. Here is an example snippet:

{
  "Summary Report": {
    "Total Packages": 5,
    "Total Downloads": 15000,
    "Average Downloads": 3000,
    "Max Downloads": 5000,
    "Min Downloads": 1000,
    "Package with Most Downloads": "example-package"
  },
  "Detailed Report": [
    {
      "package": "example-package",
      "total_downloads": 5000
    },
    // More package data...
  ]
}

Contributing

Contributions, issues, and feature requests are welcome! Feel free to fork, modify, and make pull requests to enhance the functionalities of this tool.

License

MIT

Metadata

Release files for pip-author-stats 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pip-author-stats 0.0.2
File Size Uploaded Provenance Actions
pip_author_stats-0.0.2.tar.gz 3.4 kB Without provenance Details for pip_author_stats-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for pip-author-stats 0.0.2
File Interpreter ABI Platform Actions
pip_author_stats-0.0.2-py3-none-any.whl Python 3 none any Details for pip_author_stats-0.0.2-py3-none-any.whl

Total release size: 7.8 kB

Release files / pip_author_stats-0.0.2.tar.gz

Download URL pip_author_stats-0.0.2.tar.gz
Size 3.4 kB
Tags Source
SHA-256 checksum
How to use checksums
ffffdd9ae786486940c02b7220ea5ef5ad727dfaa651a59d31d8bebf2d104389
BLAKE2b-256 checksum
How to use checksums
997268ddc475287c5645ec6993751a33f143522aaa36b340ed3cdb0eeff5804e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Release files / pip_author_stats-0.0.2-py3-none-any.whl

Download URL pip_author_stats-0.0.2-py3-none-any.whl
Size 4.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c363809ba843692bf6926259198766db0763fea42f8f576f1e02e4fee6660579
BLAKE2b-256 checksum
How to use checksums
9d547728d64eadd1e7fce929252098b89dca5fb91eda40c3ab2d0c9b9773ff1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.8.3

Security for pip-author-stats 0.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page