everyinfra 0.3.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- everyinfra/__init__.py +20 -0
- everyinfra/__main__.py +4 -0
- everyinfra/catalog.py +839 -0
- everyinfra/cli.py +1261 -0
- everyinfra/client.py +395 -0
- everyinfra/skills/everyinfra-cli/SKILL.md +82 -0
- everyinfra/webhooks.py +48 -0
- everyinfra-0.3.0.dist-info/METADATA +219 -0
- everyinfra-0.3.0.dist-info/RECORD +12 -0
- everyinfra-0.3.0.dist-info/WHEEL +5 -0
- everyinfra-0.3.0.dist-info/entry_points.txt +2 -0
- everyinfra-0.3.0.dist-info/top_level.txt +1 -0
everyinfra/__init__.py
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"""EveryInfra 官方 Python 客户端。
|
|
2
|
+
|
|
3
|
+
pip install everyinfra
|
|
4
|
+
|
|
5
|
+
备选:直接装 GitHub Release 里的同一份 wheel
|
|
6
|
+
pip install https://github.com/everyinfra/everyinfra-agent-plugins/releases/download/sdk-v0.3.0/everyinfra-0.3.0-py3-none-any.whl
|
|
7
|
+
|
|
8
|
+
一把 Key、一个钱包,接入数据采集、验证码和搜索;充值过的账户还可以免费用 OpenAI 兼容的 AI 接口。
|
|
9
|
+
完整文档 https://everyinfra.com/docs
|
|
10
|
+
账户 Webhook 的签名校验:``from everyinfra.webhooks import verify_signature``。
|
|
11
|
+
命令行:``everyinfra --help``(同一个包,见 ``everyinfra/cli.py``)。
|
|
12
|
+
"""
|
|
13
|
+
from .client import (AccountDisabled, AuthError, BadRequest, EveryInfra,
|
|
14
|
+
EveryInfraError, OutcomeUnknown, PermissionDenied, QuotaExhausted,
|
|
15
|
+
RateLimited, UpstreamError)
|
|
16
|
+
|
|
17
|
+
__version__ = "0.3.0"
|
|
18
|
+
__all__ = ["EveryInfra", "EveryInfraError", "AuthError", "AccountDisabled",
|
|
19
|
+
"PermissionDenied", "OutcomeUnknown",
|
|
20
|
+
"QuotaExhausted", "RateLimited", "BadRequest", "UpstreamError"]
|
everyinfra/__main__.py
ADDED