git_nb
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()
Metadata
Release files for git-nb 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| git_nb-0.1.4.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| git_nb-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.8 kB
Release files / git_nb-0.1.4.tar.gz
| Download URL | git_nb-0.1.4.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6c1c3f2671a680bfcc5820b2944293b75a70771f563696d465efde84ceaebf27
|
|
BLAKE2b-256 checksum How to use checksums |
baabc6674ad266fa9290a96896f80506eeee645759e325ca529ff10042d964ea
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / git_nb-0.1.4-py3-none-any.whl
| Download URL | git_nb-0.1.4-py3-none-any.whl |
|---|---|
| Size | 2.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0c87ae9f477a287c3378756176de39cd3febf480193baf5c95548f5002b28cf8
|
|
BLAKE2b-256 checksum How to use checksums |
5c4b687aae11dee5595dba8cdb63c25706b29e97d735f432ce80b258cbe23f2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|