gcf-python 0.1.1__py3-none-any.whl → 0.1.2__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.
- gcf/__init__.py +1 -1
- gcf/generic.py +3 -2
- {gcf_python-0.1.1.dist-info → gcf_python-0.1.2.dist-info}/METADATA +1 -1
- {gcf_python-0.1.1.dist-info → gcf_python-0.1.2.dist-info}/RECORD +7 -7
- {gcf_python-0.1.1.dist-info → gcf_python-0.1.2.dist-info}/WHEEL +0 -0
- {gcf_python-0.1.1.dist-info → gcf_python-0.1.2.dist-info}/entry_points.txt +0 -0
- {gcf_python-0.1.1.dist-info → gcf_python-0.1.2.dist-info}/licenses/LICENSE +0 -0
gcf/__init__.py
CHANGED
gcf/generic.py
CHANGED
|
@@ -140,8 +140,9 @@ def _format_value(value: Any) -> str:
|
|
|
140
140
|
if isinstance(value, (int, float)):
|
|
141
141
|
return str(value)
|
|
142
142
|
s = str(value)
|
|
143
|
-
if "|" in s or "\n" in s:
|
|
144
|
-
|
|
143
|
+
if "|" in s or "\n" in s or s == "":
|
|
144
|
+
escaped = s.replace("\\", "\\\\").replace('"', '\\"')
|
|
145
|
+
return f'"{escaped}"'
|
|
145
146
|
return s
|
|
146
147
|
|
|
147
148
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gcf-python
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Python implementation of GCF (Graph Compact Format): token-optimized wire format for LLM tool responses
|
|
5
5
|
Project-URL: Homepage, https://github.com/blackwell-systems/gcf-python
|
|
6
6
|
Project-URL: Documentation, https://blackwell-systems.github.io/gcf/
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
gcf/__init__.py,sha256=
|
|
1
|
+
gcf/__init__.py,sha256=bhnoIK9Qk7tMgWX_3q6HFvE3w55yw5rw2jyFHx7Bqx8,1541
|
|
2
2
|
gcf/cli.py,sha256=2hSTBqiYcn1_EgGXuO65MHiEGh0C4DRMvspTd2zUaso,4258
|
|
3
3
|
gcf/constants.py,sha256=cmZ8YJSOB0im_eyfN8v4UvrLpBC6Fuf4cfcKZGbutxY,638
|
|
4
4
|
gcf/decode.py,sha256=gkBW9fmcurQ9bfcDXbaCOWemMmljo_MiZMj3-1rYvsw,5198
|
|
5
5
|
gcf/delta.py,sha256=xU0ujtSq1iF7yU8yk_WNQKh8iove-WUV_nKSuvW1XVk,1656
|
|
6
6
|
gcf/encode.py,sha256=WZCRv1Vj2PDTYvBgv__2P8GHh8FapxfAZmt5zo0k9Jc,2700
|
|
7
|
-
gcf/generic.py,sha256=
|
|
7
|
+
gcf/generic.py,sha256=N4rhf3JAdQHcWA9HEbTPxWnMfvdac6oZzQHQSnZdXdE,5105
|
|
8
8
|
gcf/session.py,sha256=F8OTJCMRMCY7Yzcvd7aU8wlbER0LZAMUcB4W9kHeSq4,4508
|
|
9
9
|
gcf/types.py,sha256=AWm-LQoSqLHAYtEjcAxWQZqJ4JXqNreLUKO2mJFgNMA,1465
|
|
10
|
-
gcf_python-0.1.
|
|
11
|
-
gcf_python-0.1.
|
|
12
|
-
gcf_python-0.1.
|
|
13
|
-
gcf_python-0.1.
|
|
14
|
-
gcf_python-0.1.
|
|
10
|
+
gcf_python-0.1.2.dist-info/METADATA,sha256=FumNV9D2FUZfkUor89SPotIgLTo2QXmUhT9RHZc4DYk,7320
|
|
11
|
+
gcf_python-0.1.2.dist-info/WHEEL,sha256=mffPy8wBnZQn2VnJUU5jE99KsxaSfiyMHV9Yt0aLVxs,87
|
|
12
|
+
gcf_python-0.1.2.dist-info/entry_points.txt,sha256=aFT6gqlkh8iGfM8cblE-LUMxHH08_v71IIoZtDdRIVA,37
|
|
13
|
+
gcf_python-0.1.2.dist-info/licenses/LICENSE,sha256=txSvg3E4LugiB7MOOTci6WKd6wMOrOJTvaITeFJ2SgU,1074
|
|
14
|
+
gcf_python-0.1.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|