A package for finding the least updated packages your project depends on.
Project description
pypiage
A package for finding the least updated packages your project depends on.
Install
pip install pypiage
Usage
Quickly get the least updated packages referenced in your requirements.txt:
cat requirements.txt | pypiage
Find our when a certain python package was last updated:
echo django | pypiage
Output
You get a pipe |
separated list of <package-name>|<upload-date>
where upload-date
is the last recorded time the package was uploaded
to PyPi.
For example:
Given a requirements.txt like:
Flask==2.2.0
requests==2.28.0
numpy==1.24.2
When you give that file to pypiage
:
pypiage requirements.txt
The output will list the latest uploaded date of the packages you gave pypiage
:
INFO:pypiage:Getting package info for Flask
INFO:pypiage:Getting package info for requests
INFO:pypiage:Getting package info for numpy
requests|2023-01-12 16:24:54
numpy|2023-02-05 20:12:05
Flask|2023-02-15 22:43:57
Note:
If you don't like theINFO
log output, then you can turn logging off with:PYTHON_LOGLEVEL=ERROR pypiage requirements.txt
to get less verbose output:
requests|2023-01-12 16:24:54
numpy|2023-02-05 20:12:05
Flask|2023-02-15 22:43:57
Remember you can also cat
a list of packages to pypiage
and it
will read from standard input:
cat requirements.txt | pypiage
Why does this exist?
I found myself with a large codebase and wanted to quicky get a sense of which package dependencies were likley no longer maintained (and therefore candidates for removal), and checking their last upload date is a reasonable first pass check.
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
Built Distribution
File details
Details for the file pypiage-0.1.5.tar.gz
.
File metadata
- Download URL: pypiage-0.1.5.tar.gz
- Upload date:
- Size: 2.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f3c2ca229d96746e86f15fb684d5574f1766dcf2df5c3fb980cba6d9af1f193 |
|
MD5 | bdc76dda80cc04c0ae91973e3efcb2f5 |
|
BLAKE2b-256 | e1118525113bc2cd1a679e01ac4aadbb45ed3c3df1ba63a3215defb21c0c8646 |
File details
Details for the file pypiage-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: pypiage-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0ff78ffbc2f44ee83a046877a8220c74796f93c6bf9b8d660fdc707280eaf69d |
|
MD5 | 86d151d626df60e069ff00bb621491bf |
|
BLAKE2b-256 | 3d914d993002d953d3e1b2e2e67233c0ac3a9ca2eaae4bc3264e120cbb2f0893 |