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.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
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.6.tar.gz
(4.6 kB
view hashes)
Built Distribution
Close
Hashes for pipincluder-1.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e062ab124da6b0b60ee0aacdb94223dddff977699b09a9f6b58610e350effbaa |
|
MD5 | 011a9bca947242256fb96a3f590ad558 |
|
BLAKE2b-256 | 44c3a50dac26da76940d5b6128e3074b975e34b80b183a15aa3c9d41496b5300 |