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.
Project description
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.5
Usage:
# USAGE :
#s
from pipincluder import pipincluder
exec(pipincluder(<YOUR_PACKAGES>).modules())
#e
Examples:
# EXAMPLES :
#s
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())
#e
Changelog:
## 1.0.5
- fix bugs.
- new build
## 0.0.1
- First public release.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pipincluder-1.0.5.tar.gz
(4.0 kB
view hashes)
Built Distribution
Close
Hashes for pipincluder-1.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2b6f79e053ba3922b3f4358ce877b177d9d979df9c8f5db5d6f2d8fbe28c8e4 |
|
MD5 | 88832b3d9a32d73de6a8cb3b6b45b222 |
|
BLAKE2b-256 | e24c91d5342b74873fdbccf283f2d7c6a54833848b276aed8ab0e8f5e48df235 |