gcf-python 2.7.1__tar.gz → 2.8.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.
- {gcf_python-2.7.1 → gcf_python-2.8.0}/CHANGELOG.md +8 -0
- gcf_python-2.8.0/CLA.md +24 -0
- gcf_python-2.8.0/CONTRIBUTING.md +24 -0
- gcf_python-2.8.0/LICENSE +202 -0
- gcf_python-2.8.0/NOTICE +4 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/PKG-INFO +6 -5
- {gcf_python-2.7.1 → gcf_python-2.8.0}/README.md +2 -2
- {gcf_python-2.7.1 → gcf_python-2.8.0}/pyproject.toml +3 -3
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/__init__.py +2 -0
- gcf_python-2.8.0/src/gcf/constant_grouping.py +549 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/decode_generic.py +35 -1
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/generic.py +49 -5
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_conformance_v2.py +7 -3
- gcf_python-2.8.0/tests/test_constant_grouping_fuzz.py +367 -0
- gcf_python-2.7.1/LICENSE +0 -21
- {gcf_python-2.7.1 → gcf_python-2.8.0}/.github/FUNDING.yml +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/.github/workflows/ci.yml +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/.github/workflows/publish.yml +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/.gitignore +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/assets/divider-wave-2.png +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/assets/divider.png +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/assets/gcf-hero-wire-delta.png +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/assets/gcf-python-diagram.png +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/__main__.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/cli.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/constants.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/decode.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/delta.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/encode.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/fastmcp.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/generic_delta.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/keyed_map.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/packroot.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/scalar.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/session.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/stream.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/stream_generic.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/src/gcf/types.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/__init__.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_decode.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_delta.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_encode.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_fastmcp.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_generic.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_generic_delta.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_generic_delta_fuzz.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_generic_delta_session.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_keyed_map_fuzz.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_roundtrip.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_roundtrip_v2.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_session.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_stream.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_stream_fielddecl.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/tests/test_stream_generic.py +0 -0
- {gcf_python-2.7.1 → gcf_python-2.8.0}/uv.lock +0 -0
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v2.8.0 (2026-10-02)
|
|
4
|
+
|
|
5
|
+
### Spec v3.6.0: constant-column factoring and value-grouping
|
|
6
|
+
|
|
7
|
+
- Constant-column factoring (SPEC 7.4.7): a column holding the same scalar in every record of a top-level tabular array is declared once in the header as `name=value` and omitted from the rows. Mandatory in the default encode path; decode support is universal (any tabular position).
|
|
8
|
+
- Value-grouping (SPEC 7.4.8): opt-in `encode_generic_grouped(data, key_field, group_field)` clusters a keyed set by one low-cardinality column, with an `@`-marked unique key column, a `group=<col>` header clause, and per-group `<col>=<value> [count]` subheaders. Decode support is mandatory.
|
|
9
|
+
- A `^{`-prefixed constant or grouped value with no closing `}` (e.g. `^{abc`) is a literal string: the attachment-marker reject matches only a complete marker (bare `^` or `^{...}` ending in `}`).
|
|
10
|
+
|
|
3
11
|
## v2.7.1 (2026-08-16)
|
|
4
12
|
|
|
5
13
|
- gcf.fastmcp: the response middleware now uses GCF only when the wire is smaller than the JSON it replaces (never-grow), so a small tool result is never enlarged.
|
gcf_python-2.8.0/CLA.md
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Contributor License Agreement (CLA)
|
|
2
|
+
|
|
3
|
+
**Note:** This is a working template. Have it reviewed by counsel before relying on it, and collect signatures through a mechanism that creates a durable record (a CLA-assistant bot on pull requests, or a signed file). The purpose of this CLA is to keep the project's copyright chain clean so the maintainer retains the right to license the project (including under future or commercial terms). Without it, outside contributions can prevent relicensing.
|
|
4
|
+
|
|
5
|
+
## Individual Contributor License Agreement
|
|
6
|
+
|
|
7
|
+
Thank you for contributing to **gcf-python** (the "Project"), maintained by **Dayna Blackwell / Blackwell Systems** (the "Maintainer"). To keep the Project's licensing clean and flexible, the Maintainer needs the rights below. By submitting a Contribution (any code, documentation, or other material you intentionally submit to the Project), you agree to the following. This does not change your rights to use your own Contribution for any other purpose.
|
|
8
|
+
|
|
9
|
+
1. **Definitions.** "You" is the individual (or legal entity) making a Contribution. "Contribution" is any original work of authorship you intentionally submit to the Project for inclusion.
|
|
10
|
+
|
|
11
|
+
2. **Copyright license.** You grant the Maintainer and recipients of software distributed by the Maintainer a perpetual, worldwide, non-exclusive, royalty-free, irrevocable copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, sublicense, and distribute your Contribution and derivative works. **You expressly grant the Maintainer the right to license and relicense your Contribution, and works that include it, under any license terms the Maintainer chooses, including open-source, proprietary, or commercial terms.** You retain ownership of the copyright in your Contribution.
|
|
12
|
+
|
|
13
|
+
3. **Patent license.** You grant the Maintainer and recipients a perpetual, worldwide, non-exclusive, royalty-free, irrevocable (except as stated below) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer your Contribution, where such license applies only to those patent claims licensable by You that are necessarily infringed by your Contribution alone or by combination of your Contribution with the Project. If any entity institutes patent litigation alleging that the Project or a Contribution infringes a patent, the patent licenses granted to that entity under this CLA terminate.
|
|
14
|
+
|
|
15
|
+
4. **Your representations.** You represent that: (a) each Contribution is your original creation, or you have the right to submit it; (b) your Contribution does not knowingly include third-party material under terms incompatible with the Project's license, and any such material is clearly identified; and (c) if your employer has rights to intellectual property you create, you have received permission to make the Contribution on behalf of that employer, or the employer has waived such rights, or the employer has signed a corporate CLA.
|
|
16
|
+
|
|
17
|
+
5. **No obligation.** You are not expected to provide support for your Contribution, and it is provided "as is" without warranties, except as required by law.
|
|
18
|
+
|
|
19
|
+
## How to sign
|
|
20
|
+
|
|
21
|
+
- **Individuals:** sign via the CLA-assistant check on your first pull request (or add your name, GitHub handle, and date to `CONTRIBUTORS` and state "I have read and agree to the CLA").
|
|
22
|
+
- **On behalf of an organization:** contact the Maintainer for a Corporate CLA.
|
|
23
|
+
|
|
24
|
+
Alternative: the Project may accept the **Developer Certificate of Origin (DCO)** via `Signed-off-by` on commits for lightweight provenance, but the copyright and relicensing grants above are what preserve the Maintainer's licensing flexibility, so the CLA is preferred for non-trivial Contributions.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Contributing to gcf-python
|
|
2
|
+
|
|
3
|
+
Thanks for your interest. A few things keep the project healthy and its licensing clean.
|
|
4
|
+
|
|
5
|
+
## License and CLA
|
|
6
|
+
|
|
7
|
+
gcf-python is licensed under **Apache-2.0** (see `LICENSE` and `NOTICE`). By contributing, you agree to the **Contributor License Agreement** in [`CLA.md`](CLA.md). The CLA grants the maintainer the rights needed to keep the project relicensable (including future commercial terms); without it, outside contributions can block relicensing. Sign it on your first pull request (CLA-assistant check) or as described in `CLA.md`.
|
|
8
|
+
|
|
9
|
+
## IP hygiene (please read)
|
|
10
|
+
|
|
11
|
+
- **Contribute only your own work**, or work you have the right to submit.
|
|
12
|
+
- **No copyleft or license-incompatible dependencies.** Do not add GPL/AGPL/SSPL dependencies or copy code under terms incompatible with Apache-2.0. New dependencies should be permissive (Apache-2.0, MIT, BSD, ISC); flag anything unusual in the PR.
|
|
13
|
+
- **No employer-owned code** unless you have permission or your employer has signed a corporate CLA.
|
|
14
|
+
- Clearly identify any third-party material you include and its license.
|
|
15
|
+
|
|
16
|
+
## Development
|
|
17
|
+
|
|
18
|
+
- Match the surrounding code style and run the project's formatter/linter.
|
|
19
|
+
- Add or update tests; the test suite should pass.
|
|
20
|
+
- Keep changes focused; describe the why in the PR.
|
|
21
|
+
|
|
22
|
+
## Reporting issues
|
|
23
|
+
|
|
24
|
+
Open a GitHub issue with a minimal reproduction where possible.
|
gcf_python-2.8.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
gcf_python-2.8.0/NOTICE
ADDED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: gcf-python
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.8.0
|
|
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/
|
|
7
7
|
Project-URL: Specification, https://github.com/blackwell-systems/gcf
|
|
8
8
|
Author: Blackwell Systems
|
|
9
|
-
License:
|
|
9
|
+
License: Apache-2.0
|
|
10
10
|
License-File: LICENSE
|
|
11
|
+
License-File: NOTICE
|
|
11
12
|
Keywords: agents,delta,gcf,graph,llm,mcp,multi-turn,token-efficient,wire-format
|
|
12
13
|
Classifier: Development Status :: 5 - Production/Stable
|
|
13
14
|
Classifier: Intended Audience :: Developers
|
|
14
|
-
Classifier: License :: OSI Approved ::
|
|
15
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
15
16
|
Classifier: Programming Language :: Python :: 3
|
|
16
17
|
Classifier: Programming Language :: Python :: 3.9
|
|
17
18
|
Classifier: Programming Language :: Python :: 3.10
|
|
@@ -29,7 +30,7 @@ Description-Content-Type: text/markdown
|
|
|
29
30
|
<a href="https://gcformat.com/playground.html"><img src="https://img.shields.io/badge/playground-live-2563eb?style=for-the-badge" alt="Playground"></a>
|
|
30
31
|
<a href="https://gcformat.com/guide/benchmarks.html"><img src="https://img.shields.io/badge/benchmarks-2%2C500%2B%20evals-22c55e?style=for-the-badge" alt="Benchmarks"></a>
|
|
31
32
|
<a href="https://pypi.org/project/gcf-python/"><img src="https://img.shields.io/pypi/v/gcf-python?style=for-the-badge&logo=python&logoColor=white&color=3776AB" alt="PyPI"></a>
|
|
32
|
-
<a href="https://github.com/blackwell-systems/gcf-python/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-
|
|
33
|
+
<a href="https://github.com/blackwell-systems/gcf-python/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache_2.0-333?style=for-the-badge" alt="License"></a>
|
|
33
34
|
</p>
|
|
34
35
|
|
|
35
36
|
<p align="center">
|
|
@@ -322,7 +323,7 @@ GCF wins 15/16 datasets on the expanded [token efficiency benchmark](https://git
|
|
|
322
323
|
|
|
323
324
|
**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.
|
|
324
325
|
|
|
325
|
-
**Specification:** [SPEC v3.5.3 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 281 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. Current versions: Go v1.7.1, TypeScript v2.6.1, Python v2.7.
|
|
326
|
+
**Specification:** [SPEC v3.5.3 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 281 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. Current versions: Go v1.7.1, TypeScript v2.6.1, Python v2.7.1, Rust v3.0.1, Swift v2.7.1, Kotlin v2.6.1, .NET v0.2.1. Cross-language conformance verified across all seven SDKs.
|
|
326
327
|
|
|
327
328
|
## Adopted by
|
|
328
329
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<a href="https://gcformat.com/playground.html"><img src="https://img.shields.io/badge/playground-live-2563eb?style=for-the-badge" alt="Playground"></a>
|
|
3
3
|
<a href="https://gcformat.com/guide/benchmarks.html"><img src="https://img.shields.io/badge/benchmarks-2%2C500%2B%20evals-22c55e?style=for-the-badge" alt="Benchmarks"></a>
|
|
4
4
|
<a href="https://pypi.org/project/gcf-python/"><img src="https://img.shields.io/pypi/v/gcf-python?style=for-the-badge&logo=python&logoColor=white&color=3776AB" alt="PyPI"></a>
|
|
5
|
-
<a href="https://github.com/blackwell-systems/gcf-python/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-
|
|
5
|
+
<a href="https://github.com/blackwell-systems/gcf-python/blob/main/LICENSE"><img src="https://img.shields.io/badge/license-Apache_2.0-333?style=for-the-badge" alt="License"></a>
|
|
6
6
|
</p>
|
|
7
7
|
|
|
8
8
|
<p align="center">
|
|
@@ -295,7 +295,7 @@ GCF wins 15/16 datasets on the expanded [token efficiency benchmark](https://git
|
|
|
295
295
|
|
|
296
296
|
**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.
|
|
297
297
|
|
|
298
|
-
**Specification:** [SPEC v3.5.3 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 281 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. Current versions: Go v1.7.1, TypeScript v2.6.1, Python v2.7.
|
|
298
|
+
**Specification:** [SPEC v3.5.3 Stable](https://github.com/blackwell-systems/gcf/blob/main/SPEC.md) with 281 conformance fixtures, 43,000,000,000+ lossless round-trips verified across 5 formats and 6 languages. Current versions: Go v1.7.1, TypeScript v2.6.1, Python v2.7.1, Rust v3.0.1, Swift v2.7.1, Kotlin v2.6.1, .NET v0.2.1. Cross-language conformance verified across all seven SDKs.
|
|
299
299
|
|
|
300
300
|
## Adopted by
|
|
301
301
|
|
|
@@ -4,10 +4,10 @@ build-backend = "hatchling.build"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "gcf-python"
|
|
7
|
-
version = "2.
|
|
7
|
+
version = "2.8.0"
|
|
8
8
|
description = "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."
|
|
9
9
|
readme = "README.md"
|
|
10
|
-
license = {text = "
|
|
10
|
+
license = { text = "Apache-2.0" }
|
|
11
11
|
requires-python = ">=3.9"
|
|
12
12
|
authors = [
|
|
13
13
|
{ name = "Blackwell Systems" },
|
|
@@ -16,7 +16,7 @@ keywords = ["gcf", "llm", "mcp", "token-efficient", "graph", "wire-format", "del
|
|
|
16
16
|
classifiers = [
|
|
17
17
|
"Development Status :: 5 - Production/Stable",
|
|
18
18
|
"Intended Audience :: Developers",
|
|
19
|
-
"License :: OSI Approved ::
|
|
19
|
+
"License :: OSI Approved :: Apache Software License",
|
|
20
20
|
"Programming Language :: Python :: 3",
|
|
21
21
|
"Programming Language :: Python :: 3.9",
|
|
22
22
|
"Programming Language :: Python :: 3.10",
|
|
@@ -39,6 +39,7 @@ from .decode import DecodeError, decode
|
|
|
39
39
|
from .delta import decode_delta, encode_delta, verify_delta
|
|
40
40
|
from .encode import encode
|
|
41
41
|
from .generic import encode_generic, GenericOptions
|
|
42
|
+
from .constant_grouping import encode_generic_grouped
|
|
42
43
|
from .generic_delta import (
|
|
43
44
|
GenericSet,
|
|
44
45
|
GenericDeltaPayload,
|
|
@@ -82,6 +83,7 @@ __all__ = [
|
|
|
82
83
|
"encode_delta",
|
|
83
84
|
"verify_delta",
|
|
84
85
|
"encode_generic",
|
|
86
|
+
"encode_generic_grouped",
|
|
85
87
|
"GenericOptions",
|
|
86
88
|
"encode_with_session",
|
|
87
89
|
"GenericSet",
|