Skip to main content

Tool to monitor aging packages in order to detect obsolescence or updates

Project description

packmon is a cli tool to monitor aging packages in order to see if somes become obsolete or updates are availables.

Philosophy

As a simple monitoring tool, packmon is pure-python in order to simplify its use.

Usage

  1. Install packmon globally on your system
  2. Use it to detect obsolescence and vulnerabilities in any of your project (virtual environment or not)

Example

System level installation:

apt install packmon

Then use it:

packmon myproject/requirements.txt

or

pip freeze |packmon

event through pipes:

curl -s https://raw.githubusercontent.com/AFPy/Potodo/master/requirements.txt |packmon

Result :

sample

Options

Cache management

Those options help you to manage packages informations from packmon's cache. Cache file is stored into HOME_USER/.packmon/packmon.json.

clear-cache

Simply delete the cache file.

show-cache

Shows some informations about actual cache.

update-cache

Update each package from cache.

no-cache

Does not use cache when using packmon. With this option set, each package will call pypi to retrieve informations.

no-update

Does not try to refresh a package information, even if it's over than the max dayslimit.

Output management

no-color

Packmon will try to display colorized results to help user to see potential problems for each package. With this option set, no color will be used.

quiet

With this option set, packmon will write nothing on the standard output (errors will still be displayed using error output though).

only-problems

This option will limit the results only to obsolete packages.

CI compatibility

ci

With this option set, packmon will return 1 if any package is obsolete or to update.

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

packmon-0.3.1.tar.gz (21.2 kB view details)

Uploaded Source

Built Distribution

packmon-0.3.1-py3-none-any.whl (20.6 kB view details)

Uploaded Python 3

File details

Details for the file packmon-0.3.1.tar.gz.

File metadata

  • Download URL: packmon-0.3.1.tar.gz
  • Upload date:
  • Size: 21.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for packmon-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ffd5830d8ba6c56a290c7c60d8c5a26dae03640a220fe369fcd504bb11382387
MD5 4e2fe896bb9f06d18d4fd54396890ad6
BLAKE2b-256 4e5f72be2a995a85606926c3895921c7bf6c9d42bac0a75a3a91abb88b38c401

See more details on using hashes here.

File details

Details for the file packmon-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: packmon-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 20.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for packmon-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cb47bc869b2c77d7a018b8fe2797d15e832fd65dd63330e2de1fa753bea79ca3
MD5 50d6f663dd227e74174c5342b466cafb
BLAKE2b-256 a597ff05b080a475910aea0d2ba3cad3845f238353f50599739b0d3c042c35fa

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