Skip to main content

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

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 details)

Uploaded Source

File details

Details for the file gitimport-1.2.0.tar.gz.

File metadata

  • Download URL: gitimport-1.2.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gitimport-1.2.0.tar.gz
Algorithm Hash digest
SHA256 ea886c69d5b82a205799c6f602cd65ae26565e9038634389667ca5f0adaf022d
MD5 5c9e00cd1380586bcd283cea87aeb99e
BLAKE2b-256 7e117c2b96130fb1f3573e5ae6ef168ce5d87b9002e3275a2e2246c97eed464a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.2.0 This release

1 file

1.1.0

1 file

1.0.1

1 file

1.0.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page