Skip to main content

如果找到就导入包,如果不存在则从 pypi 下载。这个项目是为了绕过导入任何包时的错误。

项目描述

pipincluder 用于导入包而不会出现不可用的错误。

如果找到就导入包,如果不存在则从 pypi 下载。这个项目是为了绕过导入任何包时的错误。

安装:

pip install pipincluder==1.0.6

用法:

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

例子:

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())

变更日志:

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

链接素 网站 推特 Instagram Facebook YouTube 皮皮

比特币:16mUJYXdNh9VkjN3MQawA8wvYJqL9F5CKZ

科菲

yasserbdj96

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

pipincluder-1.0.6.tar.gz (4.6 kB 查看哈希

已上传 source

内置分布

pipincluder-1.0.6-py3-none-any.whl (5.5 kB 查看哈希

已上传 py3