Skip to main content

A Git hook to automate your Pipenv and Django workflows

Project description

Hook Me Up

PyPI - License Travis (.com) AppVeyor PyPI Coverage Status

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.

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.2.tar.gz (22.6 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.2-py2.py3-none-any.whl (12.6 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

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

File hashes

Hashes for hookmeup-1.0.2.tar.gz
Algorithm Hash digest
SHA256 cd20f4a73db367849a73d4b5a712e7d066d1875a6d21fda4e826bf55146f81ec
MD5 2faefb7b0b51ba5c3c75b847f355abdf
BLAKE2b-256 e9d12c36a01c0983cd545b644d194b58c4b9048b378bea795f3cf952b5ec78b7

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for hookmeup-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4f9f6a1411ffe1c10ef5d40361f9e9475878458a283030689b155dcfee7fd878
MD5 ad35f382f506ba31ad799953f3327bec
BLAKE2b-256 9eaafd4e2730f746d8725bc9e2f62dde310ef6b8eb3ad2030f8e3c7b0e9d15f0

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