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.
BTC : 16mUJYXdNh9VkjN3MQawA8wvYJqL9F5CKZ