Skip to main content

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.4.tar.gz (1.7 kB view hashes)

Uploaded Source

Built Distribution

git_nb-0.1.4-py3-none-any.whl (2.0 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