Skip to main content

Fetch and visualize PyPI package download trends directly from the terminal.

Project description

What is PyTrendx?

PyPI version Downloads Python 3.8+ License Discord

PyTrendx is a modern CLI tool that allows you to easily fetch, visualize, analyze, and predict PyPI package download statistics directly from your terminal.

It combines pypistats, matplotlib, NumPy, and scikit-learn to make data analysis effortless — right from your console.


Features

  • Fetch PyPI download stats (--get)
  • Graph visualization of download trends (--graph)
  • Statistical analysis using NumPy (--analyze)
  • Predict future download trends with machine learning (--predict)

Installation

pip install pytrendx

Usage

Fetch current download stats

ptx --get pillow
📦 Fetching PyPI stats for 'pillow'...

📊 Download stats for 'pillow':
========================================
Last day:   N/A
Last week:  53472343
Last month: N/A
========================================

Graph download trends

ptx --graph pillow

graph

Analyze download statistics

ptx --analyze pillow
📊 Statistical Analysis for 'pillow':
=============================================
Total downloads: 2,252,527,225
Average:         6,222,450.90
Median:          6,421,581.00
Std Deviation:   1,608,374.11
=============================================

Predict future trends

ptx --predict pillow
🔮 Predicted Downloads for 'pillow' (next 14 days):
=============================================
Day +1: 6,912,699 downloads
Day +2: 6,916,502 downloads
Day +3: 6,920,305 downloads
Day +4: 6,924,108 downloads
Day +5: 6,927,911 downloads
Day +6: 6,931,714 downloads
Day +7: 6,935,517 downloads
Day +8: 6,939,320 downloads
Day +9: 6,943,123 downloads
Day +10: 6,946,926 downloads
Day +11: 6,950,729 downloads
Day +12: 6,954,532 downloads
Day +13: 6,958,335 downloads
Day +14: 6,962,138 downloads
=============================================

predict

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

pytrendx-1.2.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pytrendx-1.2.5-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

Details for the file pytrendx-1.2.5.tar.gz.

File metadata

  • Download URL: pytrendx-1.2.5.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pytrendx-1.2.5.tar.gz
Algorithm Hash digest
SHA256 c64ae1256a024ab7d8b1aea2d95178c2b6140154cec103d4155e17eec1afbbf5
MD5 f5f05e5440d58ff4a1c6409165a5394e
BLAKE2b-256 8ea17a938713f4827129b2b5d52bd68dbda030aefd27ca9b232c655b991a4f56

See more details on using hashes here.

File details

Details for the file pytrendx-1.2.5-py3-none-any.whl.

File metadata

  • Download URL: pytrendx-1.2.5-py3-none-any.whl
  • Upload date:
  • Size: 5.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.2

File hashes

Hashes for pytrendx-1.2.5-py3-none-any.whl
Algorithm Hash digest
SHA256 23f50bf06a59fc1d1cdec0cdf34c8756540cd5d199a36013938abf877d8716b6
MD5 0f33561e5b3a12806bd8acec8ef856e2
BLAKE2b-256 29b1a3c9d0e61e8984e2a0227f60fa2c7b51c8ba262129ee42ab15500e08f570

See more details on using hashes here.

Supported by

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