Skip to content

lfany/pyup

 
 

Repository files navigation

image

Updates

image

image

Documentation Status

image

A tool to update all your project's requirement files with on GitHub.

image

About

This repo contains the bot that is running at pyup.io. The online service comes with a user interface to manage all your project dependencies at a single place and a lot of additional features.

Installation

To install pyup, run:

$ pip install pyupio

Obtain Token

In order to communicate with the github API, you need to create an oauth token for your account:

  • Log in to your github account
  • Click on settings -> Personal access tokens
  • Click on Generate new token
  • Make sure to check repo and email and click on Generate token

Run your first Update

Run:

$ pyup --repo=username/repo --user-token=<YOUR_TOKEN> --initial

This will check all your requirement files and search for new package versions. If there are updates available, pyup will create a new branch on your repository and create a new commit for every single update. Once all files are up to date, pyup will create a single pull request containing all commits.

Once your repository is up to date and the initial update is merged in, remove the --initial flag and run:

$ pyup --repo=username/repo --user-token=<YOUR_TOKEN>

This will create a new branch and a pull request for every single update. Run a cronjob or a scheduled task somewhere that auto-updates your repository once in a while (e.g. every day) to stay on latest.

Pyup also has experimental support for Gitlab. Generate a personal access token from your profile settings (eg. https://gitlab.com/profile/personal_access_tokens), then run pyup from the cli:

# gitlab.com:
$ pyup --repo=username/repo --user-token=<YOUR_TOKEN>

# other:
$ pyup --repo=username/repo --user-token=<YOUR_TOKEN>@https://your.gitlab/

About

A tool to update all your project's requirement files with a single command directly on github.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%