Skip to content

PypiMeter is a web application built using Streamlit that provides statistics and insights about Python packages from PyPI (Python Package Index). It fetches data from the PyPI Stats API and displays various statistics including recent downloads, overall downloads, system stats, and Python version stats for a given Python package.

License

Notifications You must be signed in to change notification settings

Pinak-Datta/PypiMeter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📈 PypiMeter 📈

PypiMeter is a web application built using Streamlit that provides statistics and insights about Python packages from PyPI (Python Package Index).

🔍 Overview 🔍

PypiMeter fetches data from the PyPI Stats API to display various statistics including recent downloads, overall downloads, system stats, and Python version stats for a given Python package. It allows users to input the package name and view the relevant statistics in an interactive and user-friendly manner.

💻 Features 💻

  • Recent Download Stats: Displays the recent download statistics for the specified package.
  • Overall Stats: Provides overall download statistics with and without mirrors for the specified package.
  • System Stats: Shows download statistics based on different operating systems.
  • Python Version Stats: Displays download statistics based on Python major and minor versions.

💽 Caching Mechanism Implented 💽

PypiMeter implements a caching mechanism to prevent unnecessary calls to the PyPI Stats API. Since the data is updated daily, the application caches the fetched data locally. If the user requests the same package statistics within the same day, the application retrieves the data from the cache instead of making a new API call, thus reducing server load and improving performance.

🌐 Usage 🌐

To use PypiMeter, simply input the name of the Python package you're interested in, then click Submit, and the app will fetch and display the relevant statistics. You can see the progress of retrieval using the Progress box.

If any invalid package name is provided (basically a package name that does not exist on PyPI library), it throws a relevant warning message!

✏️ Contributing ✏️

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

📜 License 📜

This project is licensed under the MIT License.

About

PypiMeter is a web application built using Streamlit that provides statistics and insights about Python packages from PyPI (Python Package Index). It fetches data from the PyPI Stats API and displays various statistics including recent downloads, overall downloads, system stats, and Python version stats for a given Python package.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Languages