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.1.tar.gz (17.8 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.1-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for req_update-2.9.1.tar.gz
Algorithm Hash digest
SHA256 71fdd111a09bf44d6feefca77383f119cb6e2d09c337f35ad72a5999f56d4e79
MD5 b4e60ba053fe31f414eb9bd619c3abe5
BLAKE2b-256 ef3c7b61fd7e6998cf4038e893f6f26390f31c7f88f2f46e5a9595b9b91edfc4

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for req_update-2.9.1-py3-none-any.whl
Algorithm Hash digest
SHA256 17af4b160eb30fe96c4e4ff18e1b96da01b659703321ab6bee2414dfc7834b04
MD5 73e2aeb9d2ad540a08b95973e0651f3d
BLAKE2b-256 9d1efeba4d6c89f33ae29f5a641183d2e3903bac32106405026ab16e6869fc06

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