A tool to set up Git hooks for your target local git repo, that automatically synchronize and updates for requirements.txt and virtual environments, streamlining the process of managing development environment for projects.
Project description
envsync
envsync is a Python package to manage coding environments and projects using Python virtual environments and Git hooks.
Installation
You can install envsync from PyPI:
pip install envsync
Usage
To initialize a local Git repository with the necessary hooks, run:
envsync /path/to/local_git_repo_folder
This command will set up the following hooks:
post-checkout: Updatesrequirements.txtwhenever you checkout a new branch or commit.pre-commit: Prevents committing files larger than 100MB.post-merge: Updates the virtual environment ifrequirements.txtchanges after a merge.
License
This project is licensed under the MIT License.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file envsync-0.1.1.tar.gz.
File metadata
- Download URL: envsync-0.1.1.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d9624fca30e1b763936c713182393335409d6d649304e851ee21caeaa729b41e
|
|
| MD5 |
ea724f11cd6b09437066a1aa94e8f391
|
|
| BLAKE2b-256 |
3dc026fc8f1c36174d4e188d72b39bb626331426482b890c5b5d92cd8e78dda8
|
File details
Details for the file envsync-0.1.1-py3-none-any.whl.
File metadata
- Download URL: envsync-0.1.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0d1fe7af1e4f0b2774498e239a28a552d1f388efd9dd78ae433c66c0059ae034
|
|
| MD5 |
ac04cac29b9a428b5592eb55ffc9ae0c
|
|
| BLAKE2b-256 |
0850e29f88687babba55785c20c582a1262a0fe7e83cf291e696267567cac792
|