Hook Me Up
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 rungit pull, or basically any time Git checks files out into your worktree - Cleans and Syncs your Pipenv if there are changes to
PipfileorPipfile.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).
Release files for hookmeup 1.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hookmeup-1.0.5.tar.gz | 23.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hookmeup-1.0.5-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 36.5 kB
Release files / hookmeup-1.0.5.tar.gz
| Download URL | hookmeup-1.0.5.tar.gz |
|---|---|
| Size | 23.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a3637bc3dc994c2f20e3c2cc914673cb9162eac448194e3e0526fae7a7e89c41
|
|
BLAKE2b-256 checksum How to use checksums |
a7f7e19e6481dfd7d5aff7cc237a3f0f11ad4dbfbb6111947333878e5bac1d93
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / hookmeup-1.0.5-py2.py3-none-any.whl
| Download URL | hookmeup-1.0.5-py2.py3-none-any.whl |
|---|---|
| Size | 13.1 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e1be532dcd1f6f66952cbfc40de9e0b8737ca4ad473851aeec8e73f464a94cb9
|
|
BLAKE2b-256 checksum How to use checksums |
613e9784be009243c4bd964078b4f80360da3155cda53dd6af7c0412629392ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|