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.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypiage-0.1.3.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.3.tar.gz
Algorithm Hash digest
SHA256 61f8029cc0bc218002b74b86513410fdb1cd5e3507b946b14eea8e254b6385df
MD5 819d0130c8ea763e47fead23a2f14545
BLAKE2b-256 b71573b0ade7ac98322759df8ee7481d5dd63d6f986f34c8b676fbc2b0b87939

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pypiage-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f1506505f21f345a2bf968b8ba6dcd49e758850a92cb96f7f4340a92c17712f5
MD5 5a804a135b4e125c8fa7706d7ccc4f27
BLAKE2b-256 61be355920db2de3b0f02b05d1993ef350e4938b0c806676822f2297042582da

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