Skip to main content

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: Updates requirements.txt whenever you checkout a new branch or commit.
  • pre-commit: Prevents committing files larger than 100MB.
  • post-merge: Updates the virtual environment if requirements.txt changes after a merge.

License

This project is licensed under the MIT License.

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

envsync-0.1.0.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

envsync-0.1.0-py3-none-any.whl (3.9 kB view hashes)

Uploaded 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