Downloads a python project and allows to import it from anywhere. Very useful when the repo is not a package
Project description
# packyou
[![Build Status](https://travis-ci.org/llazzaro/packyou.svg?branch=master)](https://travis-ci.org/llazzaro/packyou) [![Code Health](https://landscape.io/github/llazzaro/packyou/master/landscape.svg?style=flat)](https://landscape.io/github/llazzaro/packyou/master) [![Coverage Status](https://coveralls.io/repos/github/llazzaro/packyou/badge.svg)](https://coveralls.io/github/llazzaro/packyou)
## Description
Downloads a python project from github and allows to import it from anywhere. Very useful when the repo is not a package
## Demo
![](https://cloud.githubusercontent.com/assets/568181/18405569/63b0cf9e-76c9-11e6-845e-594101c36136.gif)
## 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:
```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:
```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.
## Features
--------
* Add support for bitbucket, gitlab
=======
History
=======
0.1.0 (2016-09-06)
------------------
* First release on PyPI.
[![Build Status](https://travis-ci.org/llazzaro/packyou.svg?branch=master)](https://travis-ci.org/llazzaro/packyou) [![Code Health](https://landscape.io/github/llazzaro/packyou/master/landscape.svg?style=flat)](https://landscape.io/github/llazzaro/packyou/master) [![Coverage Status](https://coveralls.io/repos/github/llazzaro/packyou/badge.svg)](https://coveralls.io/github/llazzaro/packyou)
## Description
Downloads a python project from github and allows to import it from anywhere. Very useful when the repo is not a package
## Demo
![](https://cloud.githubusercontent.com/assets/568181/18405569/63b0cf9e-76c9-11e6-845e-594101c36136.gif)
## 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:
```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:
```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.
## Features
--------
* Add support for bitbucket, gitlab
=======
History
=======
0.1.0 (2016-09-06)
------------------
* First release on PyPI.
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
packyou-0.1.3.tar.gz
(12.9 kB
view details)
File details
Details for the file packyou-0.1.3.tar.gz
.
File metadata
- Download URL: packyou-0.1.3.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd851c210179a5621e91563f57e5b21fdc98f32a1dbfa3a77c34e1a32fd87f22 |
|
MD5 | 7f65843bcbfc8470e6e4973ae325e210 |
|
BLAKE2b-256 | fe0c4bca0a257284e6f310c0d85fb3889dadcefa709944b8de4ac141a03db0cd |