Skip to main content

gitimport

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

Metadata

Release files for gitimport 1.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gitimport 1.2.0
File Size Uploaded Provenance Actions
gitimport-1.2.0.tar.gz 2.7 kB Without provenance Details for gitimport-1.2.0.tar.gz

Release files / gitimport-1.2.0.tar.gz

Download URL gitimport-1.2.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ea886c69d5b82a205799c6f602cd65ae26565e9038634389667ca5f0adaf022d
BLAKE2b-256 checksum
How to use checksums
7e117c2b96130fb1f3573e5ae6ef168ce5d87b9002e3275a2e2246c97eed464a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for gitimport 1.2.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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