Fetch and visualize PyPI package download trends directly from the terminal.
Project description
What is PyTrendx?
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
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
=============================================
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pytrendx-1.2.1.tar.gz.
File metadata
- Download URL: pytrendx-1.2.1.tar.gz
- Upload date:
- Size: 4.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a779ec6dc75ea76c67743c233e6902cee1a03723d05038930a7df4933fd241f
|
|
| MD5 |
fafec0c8d8f85f7ce14c4da7c2c5b774
|
|
| BLAKE2b-256 |
8509773c675eca078efaa05f390f17508be2b7666bb97a6930ee788dc2239ab2
|
File details
Details for the file pytrendx-1.2.1-py3-none-any.whl.
File metadata
- Download URL: pytrendx-1.2.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
61e627ca25f485a2a2de7f73d0d72f88ad724966990113053aa92a7873cdda5e
|
|
| MD5 |
d9498d0e8676e5538c690990ad8d2583
|
|
| BLAKE2b-256 |
77f0f137fbdae6a09eafee90e7b06a1a2343d59da222f739a5cebb5607b7d2e1
|