kisama-agent 0.5.0__tar.gz
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.
- kisama_agent-0.5.0/PKG-INFO +40 -0
- kisama_agent-0.5.0/README.md +17 -0
- kisama_agent-0.5.0/pyproject.toml +36 -0
- kisama_agent-0.5.0/pyproject.toml.orig +36 -0
- kisama_agent-0.5.0/src/kisama_agent/__init__.py +2 -0
- kisama_agent-0.5.0/src/kisama_agent/__main__.py +4 -0
- kisama_agent-0.5.0/src/kisama_agent/agent.py +4069 -0
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
Metadata-Version: 2.3
|
|
2
|
+
Name: kisama-agent
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
Summary: kisama agent for python
|
|
5
|
+
Author: liming
|
|
6
|
+
Author-email: liming <liming2038@gmail.com>
|
|
7
|
+
Requires-Dist: aiohttp>=3.14.1
|
|
8
|
+
Requires-Dist: croniter>=6.2.3
|
|
9
|
+
Requires-Dist: ecdsa>=0.19.2
|
|
10
|
+
Requires-Dist: fastapi>=0.139.0
|
|
11
|
+
Requires-Dist: cryptography>=44.0.0
|
|
12
|
+
Requires-Dist: noiseprotocol>=0.3.1
|
|
13
|
+
Requires-Dist: psutil>=7.2.2
|
|
14
|
+
Requires-Dist: pydantic>=2.13.4
|
|
15
|
+
Requires-Dist: starlette>=1.3.1
|
|
16
|
+
Requires-Dist: uvicorn>=0.49.0
|
|
17
|
+
Requires-Dist: websockets>=16.0
|
|
18
|
+
Requires-Dist: eciespy>=0.4.6 ; extra == 'speed'
|
|
19
|
+
Requires-Dist: pycryptodome>=3.23.0 ; extra == 'speed'
|
|
20
|
+
Requires-Python: >=3.10
|
|
21
|
+
Provides-Extra: speed
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
|
|
24
|
+
# 快速使用
|
|
25
|
+
|
|
26
|
+
## 环境变量设置
|
|
27
|
+
```
|
|
28
|
+
export ECDSA_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
29
|
+
export ECIES_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
30
|
+
exprot KPORT=8000
|
|
31
|
+
```
|
|
32
|
+
## pip运行
|
|
33
|
+
```
|
|
34
|
+
pip install kisama-agent
|
|
35
|
+
kisama-agent
|
|
36
|
+
```
|
|
37
|
+
## uv运行
|
|
38
|
+
```
|
|
39
|
+
uv run --with kisama-agent kisama-agent
|
|
40
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# 快速使用
|
|
2
|
+
|
|
3
|
+
## 环境变量设置
|
|
4
|
+
```
|
|
5
|
+
export ECDSA_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
6
|
+
export ECIES_PUBKEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
|
|
7
|
+
exprot KPORT=8000
|
|
8
|
+
```
|
|
9
|
+
## pip运行
|
|
10
|
+
```
|
|
11
|
+
pip install kisama-agent
|
|
12
|
+
kisama-agent
|
|
13
|
+
```
|
|
14
|
+
## uv运行
|
|
15
|
+
```
|
|
16
|
+
uv run --with kisama-agent kisama-agent
|
|
17
|
+
```
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "kisama-agent"
|
|
3
|
+
version = "0.5.0"
|
|
4
|
+
description = "kisama agent for python"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
7
|
+
dependencies = [
|
|
8
|
+
"aiohttp>=3.14.1",
|
|
9
|
+
"croniter>=6.2.3",
|
|
10
|
+
"ecdsa>=0.19.2",
|
|
11
|
+
"fastapi>=0.139.0",
|
|
12
|
+
"cryptography>=44.0.0",
|
|
13
|
+
"noiseprotocol>=0.3.1",
|
|
14
|
+
"psutil>=7.2.2",
|
|
15
|
+
"pydantic>=2.13.4",
|
|
16
|
+
"starlette>=1.3.1",
|
|
17
|
+
"uvicorn>=0.49.0",
|
|
18
|
+
"websockets>=16.0",
|
|
19
|
+
]
|
|
20
|
+
|
|
21
|
+
[[project.authors]]
|
|
22
|
+
name = "liming"
|
|
23
|
+
email = "liming2038@gmail.com"
|
|
24
|
+
|
|
25
|
+
[project.optional-dependencies]
|
|
26
|
+
speed = [
|
|
27
|
+
"eciespy>=0.4.6",
|
|
28
|
+
"pycryptodome>=3.23.0",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.scripts]
|
|
32
|
+
kisama-agent = "kisama_agent.agent:cli"
|
|
33
|
+
|
|
34
|
+
[build-system]
|
|
35
|
+
requires = ["uv_build>=0.11.26,<0.12.0"]
|
|
36
|
+
build-backend = "uv_build"
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "kisama-agent"
|
|
3
|
+
version = "0.5.0"
|
|
4
|
+
description = "kisama agent for python"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
authors = [
|
|
7
|
+
{ name = "liming", email = "liming2038@gmail.com" }
|
|
8
|
+
]
|
|
9
|
+
requires-python = ">=3.10"
|
|
10
|
+
dependencies = [
|
|
11
|
+
"aiohttp>=3.14.1",
|
|
12
|
+
"croniter>=6.2.3",
|
|
13
|
+
"ecdsa>=0.19.2",
|
|
14
|
+
"fastapi>=0.139.0",
|
|
15
|
+
"cryptography>=44.0.0",
|
|
16
|
+
"noiseprotocol>=0.3.1",
|
|
17
|
+
"psutil>=7.2.2",
|
|
18
|
+
"pydantic>=2.13.4",
|
|
19
|
+
"starlette>=1.3.1",
|
|
20
|
+
"uvicorn>=0.49.0",
|
|
21
|
+
"websockets>=16.0",
|
|
22
|
+
]
|
|
23
|
+
|
|
24
|
+
[project.optional-dependencies]
|
|
25
|
+
# 原生加速 (libsecp256k1); 无对应平台 wheel (如 Python 3.14) 时可不装, 自动回退 ecdsa+cryptography
|
|
26
|
+
speed = [
|
|
27
|
+
"eciespy>=0.4.6",
|
|
28
|
+
"pycryptodome>=3.23.0",
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.scripts]
|
|
32
|
+
kisama-agent = "kisama_agent.agent:cli"
|
|
33
|
+
|
|
34
|
+
[build-system]
|
|
35
|
+
requires = ["uv_build>=0.11.26,<0.12.0"]
|
|
36
|
+
build-backend = "uv_build"
|