Skip to content

fourplusone/gitimport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gitimport

Import python packages directly from a git repository

https://travis-ci.org/fourplusone/gitimport.svg?branch=master https://coveralls.io/repos/fourplusone/gitimport/badge.svg?branch=master&service=github

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

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

About

Import python packages directly from a git repository

Resources

License

Stars

Watchers

Forks

Packages

No packages published