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 details)
Built Distribution
File details
Details for the file pipincluder-1.0.6.tar.gz
.
File metadata
- Download URL: pipincluder-1.0.6.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f5930383685d2516b8eb1efb8033e2571790fce29a7b541f3983aaa5dff1228 |
|
MD5 | ddaf5911729690331c55ae8b91abfe7f |
|
BLAKE2b-256 | 4838b0a0d0d996c20ab183c65e2da2704b3d4296dd0514819eaf97e17610d405 |
File details
Details for the file pipincluder-1.0.6-py3-none-any.whl
.
File metadata
- Download URL: pipincluder-1.0.6-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e062ab124da6b0b60ee0aacdb94223dddff977699b09a9f6b58610e350effbaa |
|
MD5 | 011a9bca947242256fb96a3f590ad558 |
|
BLAKE2b-256 | 44c3a50dac26da76940d5b6128e3074b975e34b80b183a15aa3c9d41496b5300 |