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 details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 2Python 3

File details

Details for the file hookmeup-1.0.4.tar.gz.

File metadata

  • Download URL: hookmeup-1.0.4.tar.gz
  • Upload date:
  • Size: 23.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for hookmeup-1.0.4.tar.gz
Algorithm Hash digest
SHA256 4a7f1be5b0ab20e1209235cebe14b18f08b2239abd56a7b94566fc1c9ab94d8a
MD5 ff3675779446ea918517146035ed82f7
BLAKE2b-256 34766ee00609c06745237307bbc795ddb3c2c0ed30027fec86b883470df34962

See more details on using hashes here.

File details

Details for the file hookmeup-1.0.4-py2.py3-none-any.whl.

File metadata

  • Download URL: hookmeup-1.0.4-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for hookmeup-1.0.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 087f850f54a385d9d4b5b2994efee991024c21c26d3cf468e738d9c2d1ed3bfe
MD5 df84a9215908222ea463ca6a799ed07d
BLAKE2b-256 6eb85cfed7b1d00d2d37a60e0f68b16d6ac92292c79f524b285e4537e224accc

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