Skip to main content

Update python, node, go, docker, and other dependencies

Project description

req-update

PyPI PyPI - Python Version PyPI - License

Build Status Maintainability Code Coverage

req-update is a CLI tool to automatically update python, go, node, and git submodule dependencies.

Usage

req-update requires no command line arguments. Running req-update will create a branch dep-update, check for outdated packages, and commit a series of commits to update packages.

$ req_update.py -h
usage: req_update.py [-h] [-l LANGUAGE] [-p] [-i] [-d] [-v] [--version]

Update python, go, node, and git submodule dependencies for your project with git integration

https://github.com/albertyw/req-update

options:
  -h, --help            show this help message and exit
  -l, --language LANGUAGE
                        Language/package manager to update.  Options are: docker, drone, githubworkflow, gitsubmodule, go, node, python
  -p, --push            Push commits individually to remote origin
  -i, --ignore-cleanliness
                        Ignore checking if the repository is clean
  -d, --dryrun          Dry run
  -v, --verbose         Verbose output
  --version             show program's version number and exit

Features

  • Update python dependencies in requirements*.txt pip.
  • Update go dependencies in go.mod and go.sum with go modules.
  • Update node dependencies in package-lock.json with npm.
  • Update git submodules in .gitmodules with git.
  • Integrates with git, creating a branch with one commit per updated dependency
  • No third party dependencies beyond python 3 standard library
  • Automatic detection of python, go, node, and git dependencies; no CLI arguments required

Comparisons

  • req-upgrader - req-update integrates with git

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

req_update-2.9.0.tar.gz (17.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

req_update-2.9.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file req_update-2.9.0.tar.gz.

File metadata

  • Download URL: req_update-2.9.0.tar.gz
  • Upload date:
  • Size: 17.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for req_update-2.9.0.tar.gz
Algorithm Hash digest
SHA256 241a57b5231c653c684bb67015b643313da89e774d0a6781e676c747af5ebb96
MD5 29c61fbd50f34d1c5471be7238b03865
BLAKE2b-256 39f72e671b327d6a2708ee6c0bfe6d709b5f6cf970c2e228eb86a774670d7dcb

See more details on using hashes here.

File details

Details for the file req_update-2.9.0-py3-none-any.whl.

File metadata

  • Download URL: req_update-2.9.0-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.2

File hashes

Hashes for req_update-2.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 beb5f452683e9e1c0e0c75452d1d181bddf8d261a029ab60f71d0621adaa84be
MD5 d95ca9f1bb82648407488447a54e78ef
BLAKE2b-256 5c499b4186f5234e77361239ccec4f3e9bdb90cba881207b6e5536398e9324ce

See more details on using hashes here.

Supported by

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