Giter Site home page Giter Site logo

jonnyarnold / pip-outdated Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eight04/pip-outdated

0.0 0.0 0.0 31 KB

Find outdated dependencies in your requirements.txt or setup.cfg file. Report missing/outdated/incompatible packages with table and colors.

Python 100.00%

pip-outdated's Introduction

pip-outdated

https://travis-ci.com/eight04/pip-outdated.svg?branch=master

Find outdated dependencies in your requirements.txt or setup.cfg file. Report missing/outdated/incompatible packages with table and colors.

This tool compares the version number with the version specifier in requirements.txt or setup.cfg. If you just want to list all updatable package, simply use pip list --outdated command.

Installation

From pypi

pip install pip-outdated

Usage

usage: pip-outdated [-h] [-v] [-q] [<file> [<file> ...]]

Find outdated dependencies in your requirements.txt or setup.cfg file.

positional arguments:
  <file>         Read dependencies from requirements files. This option
                 accepts glob pattern. (default: ['requirements.txt',
                 'setup.cfg'])

optional arguments:
  -h, --help     show this help message and exit
  -v, --verbose  Print verbose information. (default: False)
  -q, --quiet    Don't return exit code 1 if not everything is up to date.
                 (default: False)

Check multiple files e.g. test-requirements.txt and dev-requirements.txt:

pip-outdated *-requirements.txt

Check files under requirements folder:

pip-outdated requirements/*.txt

Todos

  • Add options to update the package?
  • Add options to update the requirements.txt/setup.cfg file?
  • Add options to list all packages? (e.g. -g, --global)

Changelog

  • 0.6.0 (Jan 1, 2023)
    • Bump dependencies.
    • Drop cchardet.
    • Change: fetch package version from pip CLI, so we can get package version in venv.
  • 0.5.0 (Jan 12, 2022)
    • Bump dependencies.
    • Add: typehint.
  • 0.4.0 (Jan 30, 2020)
    • Breaking: bump Python to 3.7
    • Add: request in parallel.
    • Add: --quiet option.
  • 0.3.0 (Oct 13, 2019)
    • Breaking: set exit code to 1 if not all good.
    • Fix: don't check prereleases.
    • Add: check setup_requires and extras_require in cfg files.
  • 0.2.0 (Feb 10, 2019)
  • 0.1.0 (May 12, 2018)
    • First release.

pip-outdated's People

Contributors

eight04 avatar jonnyarnold avatar mhindery avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.