A Python library to detect and install Git across different platforms.
Install using pip:
pip install git-installerfrom git_installer import GitInstaller
# Ensure Git is installed
GitInstaller.ensure_git()This project is dual-licensed. You can choose to use it under:
-
The MIT License, which is commonly used and allows you to do pretty much anything with this software, provided you include the copyright notice and the license text.
-
The WTFPL (Do What The F*** You Want To Public License), which is even more permissive and lets you do literally anything with the software, without conditions.
This software is provided "AS IS", WITHOUT WARRANTY OF ANY KIND. Use at your own risk. Seriously. Don't blame me for anything.