A command line interface for working with git written in python with the help of py_cui.
Project description
pyautogit
A command line interface for working with git written in python with the help of py_cui.
Installation
An obvious prerequisit to installing pyautogit
is to have git
installed and in your system path. You will also require python 3.4+, and
python3
and python
must be reachable on your system PATH
for operations that require git credentials.
Once this is done, you may install the module.
To install pyautogit
, it is recommended to use pip
:
pip install pyautogit
This will also install py_cui
, the Command Line UI builder library upon which the project is based, and windows-curses
if running on windows, which is a curses
emulator for the win32 platform.
Alternatively, you can install from source. Clone this repository and use pip
to install:
git clone https://github.com/jwlodek/pyautogit
cd pyautogit
pip install .
If pyautogit
is already installed and you would like to update it, use:
pip install --upgrade pyautogit
or
cd pyautogit
git pull
pip install --upgrade .
if updating a local version.
Note that you may require root access for installing with pip
depending on your system's python configuration.
Demo
Below is a quick demo of using pyautogit
to do some common git actions.
Usage
Once pyautogit
is installed, open a command line client (note that Windows Terminal is not yet supported), then navigate to a directory and type:
pyautogit
You can also specify an external directory:
pyautogit -w /home/jwlodek/repos
If you open pyautogit
in a directory that contains a .git
folder, it will treat it as a repository, while if it cannot find said folder, the target location will be treated as a workspace.
Use the keyboard shortcut descriptions listed in the status bar at the bottom of the window to navigate the interface and menus.
License
BSD 3-Clause License
Copyright (c) 2020, Jakub Wlodek All rights reserved.
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
Built Distribution
File details
Details for the file pyautogit-0.0.5.tar.gz
.
File metadata
- Download URL: pyautogit-0.0.5.tar.gz
- Upload date:
- Size: 28.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8971b4159aa75aad72c25afe90a0d1ae0faf68152ff03dd4da9ccbb8c0a0cdea |
|
MD5 | 474d4c0c4d9ac9e128899465d8b4efee |
|
BLAKE2b-256 | a942af2c061cd92153ccc73f54f800a18fd14e2a6265bcbf2e63f39999cb12ea |
File details
Details for the file pyautogit-0.0.5-py3-none-any.whl
.
File metadata
- Download URL: pyautogit-0.0.5-py3-none-any.whl
- Upload date:
- Size: 33.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.4.2 requests/2.22.0 setuptools/46.4.0 requests-toolbelt/0.8.0 tqdm/4.30.0 CPython/3.8.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 67ec1f1f6005ac06ae64fc73142d33bdd3018cc066288136186e5c29c1fdd05e |
|
MD5 | 2311cfa0c526864e567293c51512b359 |
|
BLAKE2b-256 | d6cf300813fcce54b7dffeec0b4e34b5f765a7d070e75c7b65909fbf42d17ebf |