Skip to main content

A Git hook to automate your Pipenv and Django workflows

Project description

Hook Me Up

PyPI - License Build Status AppVeyor PyPI

A Git hook to automate your Pipenv and Django workflows

Requirements

  • Python 2.7+

Features

  • Fires whenever you switch branches with git checkout, or whenever you run git pull, or basically any time Git checks files out into your worktree
  • Cleans and Syncs your Pipenv if there are changes to Pipfile or Pipfile.lock
  • Migrates your Django DB to it's current working state, applying and unapplying migrations as necessary

The hook detects if Pipenv and/or Django are in use in the current repo, so you don't need to be using both to take advantage of Hookmeup.

Usage

$ pip install hookmeup
$ cd $YOUR_PROJECT
$ hookmeup install

More details are available by running hookmeup --help.

Contributing

Pull requests are welcome, preferably via emailed output of git request-pull sent to the maintainer (see here for more information). Bug reports should also be directed to the maintainer via email.

Releases

Release tags will always be signed with the maintainer's PGP key (also available on any public keyserver). PGP-signed versions of release tarballs and pre-built wheel packages are available on PyPI, with the signature files living alongside the corresponding artifact (simply append an .asc extension). Because the maintainers of PyPI do not consider PGP signatures to be a user-facing feature, the extension must be added manually in your browser's URL bar in order to download the signature files.

Acknowledgments

hookmeup is inspired by Tim Pope's hookup utility for Ruby/Rails (and hence so is the name).

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

hookmeup-1.0.4.tar.gz (23.4 kB view hashes)

Uploaded Source

Built Distribution

hookmeup-1.0.4-py2.py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 2 Python 3

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