Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/fourplusone/gitimport
- Owner: fourplusone
- License: mit
- Created: 2015-11-08T14:55:36.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-14T09:58:50.000Z (about 9 years ago)
- Last Synced: 2024-10-04T19:43:00.079Z (3 months ago)
- Language: Python
- Homepage: https://pypi.python.org/pypi/gitimport
- Size: 0 Bytes
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
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=masterSystem Requirements
-------------------- Python 3.4 or higher
- libgit2 installedInstallation
------------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