gcf-python 2.5.2__py3-none-any.whl → 2.5.3__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/scalar.py +4 -2
- {gcf_python-2.5.2.dist-info → gcf_python-2.5.3.dist-info}/METADATA +2 -2
- {gcf_python-2.5.2.dist-info → gcf_python-2.5.3.dist-info}/RECORD +6 -6
- {gcf_python-2.5.2.dist-info → gcf_python-2.5.3.dist-info}/WHEEL +0 -0
- {gcf_python-2.5.2.dist-info → gcf_python-2.5.3.dist-info}/entry_points.txt +0 -0
- {gcf_python-2.5.2.dist-info → gcf_python-2.5.3.dist-info}/licenses/LICENSE +0 -0
gcf/scalar.py
CHANGED
|
@@ -9,8 +9,10 @@ from typing import Any
|
|
|
9
9
|
# \Z (end of string), not $, so a trailing newline does not count as the end:
|
|
10
10
|
# in Python $ also matches just before a final \n, which would misclassify a
|
|
11
11
|
# string like "5\n" as a number or "W\n" as a bare key and break round-trip.
|
|
12
|
-
|
|
13
|
-
|
|
12
|
+
# Digits are ASCII 0-9 (SPEC 2.3): \d is avoided because in Python's re it also
|
|
13
|
+
# matches Unicode decimal digits (\p{Nd}), which would accept e.g. "1.<U+0665>".
|
|
14
|
+
_JSON_NUMBER_RE = re.compile(r"^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?\Z")
|
|
15
|
+
_NUMERIC_LIKE_RE = re.compile(r"^[+-]\.?[0-9]|^\.[0-9]|^0[0-9]")
|
|
14
16
|
_INLINE_ARRAY_RE = re.compile(r"\[[^\]]*\]\s*:")
|
|
15
17
|
_BARE_KEY_RE = re.compile(r"^[a-zA-Z_][a-zA-Z0-9_]*\Z")
|
|
16
18
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gcf-python
|
|
3
|
-
Version: 2.5.
|
|
3
|
+
Version: 2.5.3
|
|
4
4
|
Summary: The AI-native wire format for structured data. 50-92% fewer tokens than JSON, with multi-turn delta encoding for agent loops. 100% comprehension on every frontier model. Zero dependencies.
|
|
5
5
|
Project-URL: Homepage, https://github.com/blackwell-systems/gcf-python
|
|
6
6
|
Project-URL: Documentation, https://gcformat.com/
|
|
@@ -304,7 +304,7 @@ GCF wins 15/16 datasets on the expanded [token efficiency benchmark](https://git
|
|
|
304
304
|
|
|
305
305
|
**Zero runtime dependencies. Permanently.** All six implementations depend only on their language's standard library. No transitive dependencies. No supply chain risk. This is a permanent commitment: GCF will never take on external runtime dependencies. MIT licensed. All implementations support both generic profile (`encodeGeneric`) and graph profile (`encode`). CLI included in all 6 languages.
|
|
306
306
|
|
|
307
|
-
**Specification:** [SPEC v3.5.
|
|
307
|
+
**Specification:** [SPEC v3.5.2 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 269 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. Current versions: Go v1.6.2, TypeScript v2.5.2, Python v2.5.3, Rust v2.5.3, Swift v2.6.2, Kotlin v2.5.2, .NET v0.1.2. Cross-language conformance verified across all seven SDKs.
|
|
308
308
|
|
|
309
309
|
## Adopted by
|
|
310
310
|
|
|
@@ -10,13 +10,13 @@ gcf/generic.py,sha256=1c53utF2GcD8lS_wks2opQw08hMz4KGL-7C8g7JB5bA,21577
|
|
|
10
10
|
gcf/generic_delta.py,sha256=5KSUT_QUeH7OILLWfu9JveaXRSrqRIi3c6E8WjlgC4Q,18785
|
|
11
11
|
gcf/keyed_map.py,sha256=qCwhehXB1FQ2iYCPhcvXOqGwrVqdXhGYZGxv56CSUgc,3644
|
|
12
12
|
gcf/packroot.py,sha256=0rZY7TEVcLzA8XhoIOc6_g9lbRCn-MUr54YTRVhzsO4,2019
|
|
13
|
-
gcf/scalar.py,sha256=
|
|
13
|
+
gcf/scalar.py,sha256=WLNJuktGRPZ-kLUm2SLlBcJJBFZfApoyh_MDRrPDCZk,10035
|
|
14
14
|
gcf/session.py,sha256=rPqR4xsHKpi_G37t1ODwkTUdHhVAGa3Uig8F60h34Ms,5335
|
|
15
15
|
gcf/stream.py,sha256=3eyzmLMZPyEGC1MS9pujxio2x_t7rCL-eNuJ4DjYkaA,5938
|
|
16
16
|
gcf/stream_generic.py,sha256=h2mJ-jI-c1H2L0uoQVhrvDc7uJEcOwS1MB51k4SCPNM,5775
|
|
17
17
|
gcf/types.py,sha256=AWm-LQoSqLHAYtEjcAxWQZqJ4JXqNreLUKO2mJFgNMA,1465
|
|
18
|
-
gcf_python-2.5.
|
|
19
|
-
gcf_python-2.5.
|
|
20
|
-
gcf_python-2.5.
|
|
21
|
-
gcf_python-2.5.
|
|
22
|
-
gcf_python-2.5.
|
|
18
|
+
gcf_python-2.5.3.dist-info/METADATA,sha256=SEVTaCwxPj9U8h_zp2vzfNxiwMYvThrwrnioG5v5L1s,16165
|
|
19
|
+
gcf_python-2.5.3.dist-info/WHEEL,sha256=lCkmxWfQsSc9CfIClYeavTdQeEX2toPqufh9gI35EQA,87
|
|
20
|
+
gcf_python-2.5.3.dist-info/entry_points.txt,sha256=aFT6gqlkh8iGfM8cblE-LUMxHH08_v71IIoZtDdRIVA,37
|
|
21
|
+
gcf_python-2.5.3.dist-info/licenses/LICENSE,sha256=2Fit9wnaIe--RMSAgyQqxC5hfZTyZqn4fIdBtp9qPDw,1072
|
|
22
|
+
gcf_python-2.5.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|