CLI tool to check the latest version of a PyPI package
Project description
📦 Latest PyPI Version
A simple CLI tool to check the latest version of any package on PyPI.
🌟 Features
- Fetch the latest version of any PyPI package directly from your terminal
- Display detailed package information with verbose mode
- Fast and lightweight with minimal dependencies
🚀 Installation
Using pip
pip install latest-pypi-version
From Source
Clone the repository and install using Poetry and Taskfile:
git clone https://github.com/yourusername/latest-pypi-version.git
cd latest-pypi-version
task install # This will set up a virtual environment and install dependencies
🔧 Usage
Basic Usage
Check the latest version of any package:
latest-pypi-version requests
Example output:
requests latest version: 2.32.3
Verbose Mode
Get more detailed package information:
latest-pypi-version requests --verbose
Example output:
Package: requests
Latest version: 2.31.0
Author: Kenneth Reitz
Homepage: https://requests.readthedocs.io
Summary: Python HTTP for Humans.
Upload date: 2023-05-22
📜 License
This project is licensed under the MIT License - see the LICENSE file for details.
🤝 Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
Setting Up Development Environment
# Clone the repository
git clone https://github.com/yourusername/latest-pypi-version.git
cd latest-pypi-version
# Install development dependencies
task install
Development Tasks
The project includes a Taskfile with useful commands:
task install- Set up the development environmenttask run- Run the CLI tooltask cq- Run code quality checks (formatting, linting, and type checking)task clean- Clean up temporary files and build artifacts
📝 TODOs
- Add CI/CD pipeline
- Add tests
- Add support for specifying a specific index URL
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 latest_pypi_version-1.0.0.tar.gz.
File metadata
- Download URL: latest_pypi_version-1.0.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.2 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
087ecc24f6428979b128d90b04cb0005839838cce78488e28f973344e7299284
|
|
| MD5 |
e87fe237c1b9c49cd6c83d9b321b4b95
|
|
| BLAKE2b-256 |
f58a58291f578ec7f3a2a9ca60f206acf469eb0d1fb828c92f98877486bb2423
|
File details
Details for the file latest_pypi_version-1.0.0-py3-none-any.whl.
File metadata
- Download URL: latest_pypi_version-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.12.2 Darwin/23.3.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
68b168c78c3e0b84e955896c14be8c416ab38d7fb5792169e1f3e2e2e70dd981
|
|
| MD5 |
b4e938d1ad63375f2de3f3e19fb49c6e
|
|
| BLAKE2b-256 |
f94ecf93f57501600db15fc780efb5f2c444b1039eb970d63f4a2e4d0580d2bd
|