Metadata-Version: 2.1
Name: git-nb
Version: 0.1.4
Summary: Python package to execute git command in notebook
Home-page: http://github.com/yohann84L/git_nb
Author: Yohann Lereclus
Author-email: lereclus84L@gmail.com
License: MIT
Keywords: git python repo repository pull clone notebook nb
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Description-Content-Type: text/x-rst

git_nb
============

Python package to execute basic git command in notebook.

Installation
------------
Using pip :

.. code:: sh

    pip install git_nb


Example
-------

Set your config
~~~~~~~~~~~~~~~

.. code:: python

    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.

.. code:: python

    import git_nb
    from git_nb import cfg

    cfg.repo_name = "yourrepo"
    git_nb.git_clone()

Pull
~~~~

.. code:: python

    import git_nb

    git_nb.git_pull()


