typeagent-py 0.1.3__py3-none-any.whl → 0.1.5__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.
- typeagent_py-0.1.5.dist-info/METADATA +90 -0
- {typeagent_py-0.1.3.dist-info → typeagent_py-0.1.5.dist-info}/RECORD +5 -5
- typeagent_py-0.1.3.dist-info/METADATA +0 -28
- {typeagent_py-0.1.3.dist-info → typeagent_py-0.1.5.dist-info}/WHEEL +0 -0
- {typeagent_py-0.1.3.dist-info → typeagent_py-0.1.5.dist-info}/licenses/LICENSE +0 -0
- {typeagent_py-0.1.3.dist-info → typeagent_py-0.1.5.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,90 @@
|
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: typeagent-py
|
3
|
+
Version: 0.1.5
|
4
|
+
Summary: TypeAgent implements an agentic memory framework.
|
5
|
+
Author: Steven Lucco, Umesh Madan, Guido van Rossum
|
6
|
+
Author-email: Guido van Rossum <gvanrossum@microsoft.com>
|
7
|
+
Project-URL: Homepage, https://github.com/microsoft/TypeAgent/tree/main/python/ta
|
8
|
+
Requires-Python: <3.14,>=3.12
|
9
|
+
Description-Content-Type: text/markdown
|
10
|
+
License-File: LICENSE
|
11
|
+
Requires-Dist: azure-identity>=1.22.0
|
12
|
+
Requires-Dist: black>=25.1.0
|
13
|
+
Requires-Dist: build>=1.2.2.post1
|
14
|
+
Requires-Dist: colorama>=0.4.6
|
15
|
+
Requires-Dist: coverage[toml]>=7.9.1
|
16
|
+
Requires-Dist: logfire>=4.1.0
|
17
|
+
Requires-Dist: mcp[cli]>=1.12.1
|
18
|
+
Requires-Dist: numpy>=2.2.6
|
19
|
+
Requires-Dist: openai>=1.81.0
|
20
|
+
Requires-Dist: opentelemetry-instrumentation-httpx>=0.57b0
|
21
|
+
Requires-Dist: pydantic>=2.11.4
|
22
|
+
Requires-Dist: pydantic-ai-slim[openai]>=0.5.0
|
23
|
+
Requires-Dist: pyright>=1.1.405
|
24
|
+
Requires-Dist: pytest>=8.3.5
|
25
|
+
Requires-Dist: pytest-asyncio>=0.26.0
|
26
|
+
Requires-Dist: pytest-mock>=3.14.0
|
27
|
+
Requires-Dist: python-dotenv>=1.1.0
|
28
|
+
Requires-Dist: typechat
|
29
|
+
Dynamic: license-file
|
30
|
+
|
31
|
+
# Python package 'typeagent'
|
32
|
+
|
33
|
+
### This is an experimental prototype
|
34
|
+
|
35
|
+
Working toward a shared understanding of the MVP for structured RAG.
|
36
|
+
|
37
|
+
### This is sample code
|
38
|
+
|
39
|
+
This is an in-progress project aiming at a Pythonic translation of
|
40
|
+
`TypeAgent/ts/packages/knowPro` and a few related packages to Python.
|
41
|
+
(Pythonic because it uses Python conventions and types as appropriate.)
|
42
|
+
|
43
|
+
### Original description
|
44
|
+
|
45
|
+
(Not all of this matches the current state of the code.)
|
46
|
+
|
47
|
+
- Python class names correspond 1:1 to TS interface or type names.
|
48
|
+
(Much has changed here.)
|
49
|
+
- Field and method names are converted from camelCase to python_case.
|
50
|
+
- I-named interfaces become `Protocol` classes.
|
51
|
+
(Or in some cases `ABC`s.)
|
52
|
+
- Other interfaces and structured types become dataclasses.
|
53
|
+
- Union types remain union types.
|
54
|
+
- Except unions of string literals become `Literal` types.
|
55
|
+
- Not all of the TS class hierarchy is translated literally.
|
56
|
+
|
57
|
+
### How to build
|
58
|
+
|
59
|
+
Tested on Mac and on Ubuntu 22 under WSL.
|
60
|
+
Should work on most UNIXoids.
|
61
|
+
(For Windows, look at the `make.bat` script.)
|
62
|
+
|
63
|
+
- Install Python 3.12 or higher (get it from
|
64
|
+
[python.org](https://www.python.org/downloads/) for Mac,
|
65
|
+
or run `sudo apt install python3.12` for Linux)
|
66
|
+
- Run `make all`
|
67
|
+
- You should now have a wheel file under `dist/`
|
68
|
+
- To install: `python3.12 -m pip install dist/typeagent-0.1.0-py3-none-any.whl`
|
69
|
+
- TODO: Upload that wheel to PyPI
|
70
|
+
- To clean up, run `make clean`
|
71
|
+
|
72
|
+
### How to test
|
73
|
+
|
74
|
+
- Set your environment to contain the necessary OpenAI or Azure API keys
|
75
|
+
(OPENAI_API_KEY or AZURE_OPENAI_API_KEY)
|
76
|
+
- Run unit tests: `make test`
|
77
|
+
- Review coverage with `make coverage`
|
78
|
+
- Interactively testing queries: `make demo`
|
79
|
+
- Comparing to a validated set of questions and expected answers:
|
80
|
+
- Obtain or construct a JSON file of q/a pairs and install in testdata
|
81
|
+
- Run `make compare` (takes about 5-10 seconds per q/a pair)
|
82
|
+
|
83
|
+
## Trademarks
|
84
|
+
|
85
|
+
This project may contain trademarks or logos for projects, products, or services.
|
86
|
+
Authorized use of Microsoft trademarks or logos is subject to and must follow
|
87
|
+
[Microsoft's Trademark & Brand Guidelines](https://www.microsoft.com/en-us/legal/intellectualproperty/trademarks/usage/general).
|
88
|
+
Use of Microsoft trademarks or logos in modified versions of this project
|
89
|
+
must not cause confusion or imply Microsoft sponsorship.
|
90
|
+
Any use of third-party trademarks or logos are subject to those third-party's policies.
|
@@ -48,7 +48,7 @@ typeagent/storage/sqlite/reltermsindex.py,sha256=VwmUH-awNZ5YeMZTuFVfKP-8G0WQQ1k
|
|
48
48
|
typeagent/storage/sqlite/schema.py,sha256=c5-dff8wdIA37SegPOI-_h-w2eCPSnpnPQAC3vcNzYo,8061
|
49
49
|
typeagent/storage/sqlite/semrefindex.py,sha256=eqHrQMyVdFS9HOXV1dLvp0bMs8JKoPQLmV46Cs0HQJM,5456
|
50
50
|
typeagent/storage/sqlite/timestampindex.py,sha256=gnmmwgRKCwFi2iGzGJVe7Zz12rblB-5-5WZkqpDgySM,4764
|
51
|
-
typeagent_py-0.1.
|
51
|
+
typeagent_py-0.1.5.dist-info/licenses/LICENSE,sha256=ws_MuBL-SCEBqPBFl9_FqZkaaydIJmxHrJG2parhU4M,1141
|
52
52
|
typechat/__about__.py,sha256=F0kn08wLCg190drfEY4vhGV_b3clBZFZKvkdIrhp7EY,177
|
53
53
|
typechat/__init__.py,sha256=am0jO5aHQ7BThefNd0DE3t6jb39TILpOuI-mKpwOfQw,979
|
54
54
|
typechat/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -62,7 +62,7 @@ typechat/_internal/ts_conversion/__init__.py,sha256=mkvVqsqnDDExBNyu4372IYewYE-u
|
|
62
62
|
typechat/_internal/ts_conversion/python_type_to_ts_nodes.py,sha256=XTaaBQqe2Utp0d7n2_IIs3qAQgK9H3hf9NZV6r4NV-g,17983
|
63
63
|
typechat/_internal/ts_conversion/ts_node_to_string.py,sha256=s2_GQLmgvpgmUVJ28xliN97xPtKJtGP95M66GCPe1VQ,4334
|
64
64
|
typechat/_internal/ts_conversion/ts_type_nodes.py,sha256=ZPrRFCU2oj2O9dve10vFKoR_ZzQlyasuYgW2I2fU_R4,2127
|
65
|
-
typeagent_py-0.1.
|
66
|
-
typeagent_py-0.1.
|
67
|
-
typeagent_py-0.1.
|
68
|
-
typeagent_py-0.1.
|
65
|
+
typeagent_py-0.1.5.dist-info/METADATA,sha256=lU6wAYrTgQFUei0h9w0FuzbodR37JpRnOP9ZM80qJ10,3434
|
66
|
+
typeagent_py-0.1.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
67
|
+
typeagent_py-0.1.5.dist-info/top_level.txt,sha256=CvJe8hnRs8A7kg7LXtgnH6Uj5MsGftIb_aryk_aoE6M,19
|
68
|
+
typeagent_py-0.1.5.dist-info/RECORD,,
|
@@ -1,28 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.4
|
2
|
-
Name: typeagent-py
|
3
|
-
Version: 0.1.3
|
4
|
-
Summary: TypeAgent implements an agentic memory framework.
|
5
|
-
Author: Steven Lucco, Umesh Madan, Guido van Rossum
|
6
|
-
Author-email: Guido van Rossum <gvanrossum@microsoft.com>
|
7
|
-
Project-URL: Homepage, https://github.com/microsoft/TypeAgent/tree/main/python/ta
|
8
|
-
Requires-Python: <3.14,>=3.12
|
9
|
-
License-File: LICENSE
|
10
|
-
Requires-Dist: azure-identity>=1.22.0
|
11
|
-
Requires-Dist: black>=25.1.0
|
12
|
-
Requires-Dist: build>=1.2.2.post1
|
13
|
-
Requires-Dist: colorama>=0.4.6
|
14
|
-
Requires-Dist: coverage[toml]>=7.9.1
|
15
|
-
Requires-Dist: logfire>=4.1.0
|
16
|
-
Requires-Dist: mcp[cli]>=1.12.1
|
17
|
-
Requires-Dist: numpy>=2.2.6
|
18
|
-
Requires-Dist: openai>=1.81.0
|
19
|
-
Requires-Dist: opentelemetry-instrumentation-httpx>=0.57b0
|
20
|
-
Requires-Dist: pydantic>=2.11.4
|
21
|
-
Requires-Dist: pydantic-ai-slim[openai]>=0.5.0
|
22
|
-
Requires-Dist: pyright>=1.1.405
|
23
|
-
Requires-Dist: pytest>=8.3.5
|
24
|
-
Requires-Dist: pytest-asyncio>=0.26.0
|
25
|
-
Requires-Dist: pytest-mock>=3.14.0
|
26
|
-
Requires-Dist: python-dotenv>=1.1.0
|
27
|
-
Requires-Dist: typechat
|
28
|
-
Dynamic: license-file
|
File without changes
|
File without changes
|
File without changes
|