Skip to main content

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 the INFO 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

pypiage-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

pypiage-0.1.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file pypiage-0.1.2.tar.gz.

File metadata

  • Download URL: pypiage-0.1.2.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

Hashes for pypiage-0.1.2.tar.gz
Algorithm Hash digest
SHA256 dd8e221f8b6779634cdf18cf22ca60b2e86b98a45a1849ad8b37b3e39d0d1831
MD5 d0201b235af658fea82bb6383e54bef0
BLAKE2b-256 2d334eda79efb08069ea3cfff078a02d8ed0916791d0151aff14395db542f3ed

See more details on using hashes here.

File details

Details for the file pypiage-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pypiage-0.1.2-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

Hashes for pypiage-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e81c3c47632a5f557b77f8c8bf0490c66004c4e599f1cbb6da2410635a4dd49c
MD5 61a5933f144611776c6bec3f74293522
BLAKE2b-256 cf7098722ffc27b08ff9f584969c98da56522682734143b0fea72425dba7182d

See more details on using hashes here.

Supported by

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