Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fourplusone/gitimport

Import python packages directly from a git repository
https://github.com/fourplusone/gitimport

Last synced: about 1 month ago
JSON representation

Import python packages directly from a git repository

Awesome Lists containing this project

README

        

gitimport
=========

Import python packages directly from a git repository

.. image:: https://travis-ci.org/fourplusone/gitimport.svg?branch=master
:target: https://travis-ci.org/fourplusone/gitimport

.. image:: https://coveralls.io/repos/fourplusone/gitimport/badge.svg?branch=master&service=github
:target: https://coveralls.io/github/fourplusone/gitimport?branch=master

System Requirements
-------------------

- Python 3.4 or higher
- libgit2 installed

Installation
------------

Mac OS X
~~~~~~~~

`brew install libgit2`

All Platforms
~~~~~~~~~~~~~

`pip3 install gitimport`

Usage
-----

A simple example
~~~~~~~~~~~~~~~~

.. code:: python

import gitimport

gitimport.add_repository_to_path('/path/to/your/repo', rev='demo')

# Now you can import 'your_module' from the git repository

import your_module