Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/llazzaro/packyou
Import any python project from github easily
https://github.com/llazzaro/packyou
Last synced: 4 days ago
JSON representation
Import any python project from github easily
- Host: GitHub
- URL: https://github.com/llazzaro/packyou
- Owner: llazzaro
- License: mit
- Created: 2016-09-09T02:58:06.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-11-28T23:59:04.000Z (11 months ago)
- Last Synced: 2024-10-14T20:06:41.322Z (20 days ago)
- Language: Python
- Size: 98.6 KB
- Stars: 195
- Watchers: 9
- Forks: 14
- Open Issues: 8
-
Metadata Files:
- Readme: README.rst
- Changelog: HISTORY.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - packyou - Import any python project from github easily (Python)
README
packyou
=======|Build Status| |Code Health| |Coverage Status|
Description
-----------Downloads a python project from github and allows to import it from
anywhere. Very useful when the repo is not a packageDemo
----.. figure:: https://cloud.githubusercontent.com/assets/568181/18405569/63b0cf9e-76c9-11e6-845e-594101c36136.gif
:alt:Introduction
------------Sometimes is usefull to be able to import a project from github. If the
project is configured as a python package it could be installed with pip
and git. But still lot of project are not using setuptools which makes
difficult to use them from python easily. Some people could be using git
submodules, but it also requires adding a **init**.py file in the
project root.With packyou it is possible to import any pure python project from
github justo with a simple import statement like:.. code:: python
from packyou.github.username.repository_name import external_github_module
Install
-------::
pip install packyou
Example of usage
----------------Supose you want to use something from sqlmap project. since sqlmap
proyect is not yet a python package you can import anything from sqlmap
like this:.. code:: python
from packyou.github.sqlmapproject.sqlmap.lib.utils.hash import mysql_passwd
mysql_passwd(password='testpass', uppercase=True)
# '*00E247AC5F9AF26AE0194B41E1E769DEE1429A29'screenshot!
- Free software: MIT license
- Documentation: https://packyou.readthedocs.io.TODO
-----------
- Add support for bitbucket, gitlab
- Specify version of each project.. |Build Status| image:: https://travis-ci.org/llazzaro/packyou.svg?branch=master
:target: https://travis-ci.org/llazzaro/packyou
.. |Code Health| image:: https://landscape.io/github/llazzaro/packyou/master/landscape.svg?style=flat
:target: https://landscape.io/github/llazzaro/packyou/master
.. |Coverage Status| image:: https://coveralls.io/repos/github/llazzaro/packyou/badge.svg?branch=master
:target: https://coveralls.io/github/llazzaro/packyou?branch=master