Skip to main content

Import python packages directly from a git repository

Project description

Import python packages directly from a git repository

https://travis-ci.org/fourplusone/gitimport.svg?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

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

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

gitimport-1.2.0.tar.gz (2.7 kB view hashes)

Uploaded Source

Supported by

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