yasserbdj96 / pipincluder

To import packages if they are found, or download them from pypi if they are not present. This project is in order to bypass errors during importing any package.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pipincluder for import packages without errors of unavailability.

To import packages if they are found, or download them from pypi if they are not present.This project is in order to bypass errors during importing any package.

Installation:

pip install pipincluder==1.0.6

Usage:

from pipincluder import pipincluder
exec(pipincluder(<YOUR_PACKAGES>).modules())

Examples:

try:
    from pipincluder import pipincluder
except:
    print("please use this command : pip install pipincluder")
    exit()
# Example:1
exec(pipincluder("from os import path",
                 "from hexor import hexor",
                 "from ashar import ashar").modules())
#test ashar package:
print(ashar("123","this is just an example :)").encode())

Changelog:

## 1.0.6
 - fix bugs.
## 1.0.5
 - fix bugs.
 - new build 
## 0.0.1
 - First public release.

linkedin website twitter instagram facebook youtube pypi

BTC : 16mUJYXdNh9VkjN3MQawA8wvYJqL9F5CKZ

ko-fi

yasserbdj96

About

To import packages if they are found, or download them from pypi if they are not present. This project is in order to bypass errors during importing any package.

License:Other


Languages

Language:Python 100.0%