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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

git_nb-0.1.4-py3-none-any.whl (2.0 kB view details)

Uploaded Python 3

File details

Details for the file git_nb-0.1.4.tar.gz.

File metadata

  • Download URL: git_nb-0.1.4.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.1

File hashes

Hashes for git_nb-0.1.4.tar.gz
Algorithm Hash digest
SHA256 6c1c3f2671a680bfcc5820b2944293b75a70771f563696d465efde84ceaebf27
MD5 27d2c42557b7c43230094ce30c2dbc49
BLAKE2b-256 baabc6674ad266fa9290a96896f80506eeee645759e325ca529ff10042d964ea

See more details on using hashes here.

File details

Details for the file git_nb-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: git_nb-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 2.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.1

File hashes

Hashes for git_nb-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0c87ae9f477a287c3378756176de39cd3febf480193baf5c95548f5002b28cf8
MD5 9e0c18a6827d3c1ddc938fddd790d889
BLAKE2b-256 5c4b687aae11dee5595dba8cdb63c25706b29e97d735f432ce80b258cbe23f2f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page