Python package to execute git command in notebook
Project description
Python package to execute basic git command in notebook.
Installation
Using pip :
pip install git_nb
Example
Set your config
from git_nb import cfg
cfg.username = "yourusername"
cfg.email = "youremail"
Clone a repository
If the repository is private, you will be invited to write your password.
import git_nb
from git_nb import cfg
cfg.repo_name = "yourrepo"
git_nb.git_clone()
Pull
import git_nb
git_nb.git_pull()
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
git_nb-0.1.3.tar.gz
(2.4 kB
view hashes)
Built Distribution
git_nb-0.1.3-py3-none-any.whl
(3.1 kB
view hashes)