signify-ai 0.1.0a2__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.
@@ -0,0 +1,209 @@
1
+ # Compiled Python files
2
+ __pycache__/
3
+ *.py[cod]
4
+ *$py.class
5
+
6
+ # C extensions
7
+ *.so
8
+
9
+ # Distribution / packaging
10
+ .Python
11
+ build/
12
+ develop-eggs/
13
+ dist/
14
+ downloads/
15
+ eggs/
16
+ .eggs/
17
+ lib/
18
+ lib64/
19
+ parts/
20
+ sdist/
21
+ var/
22
+ *.egg-info/
23
+ .installed.cfg
24
+ *.egg
25
+ MANIFEST
26
+
27
+ # PyInstaller
28
+ *.manifest
29
+ *.spec
30
+
31
+ # Installer logs
32
+ pip-log.txt
33
+ pip-delete-this-directory.txt
34
+
35
+ # Unit test / coverage
36
+ htmlcov/
37
+ .tox/
38
+ .nox/
39
+ .coverage
40
+ .coverage.*
41
+ .cache
42
+ .pytest_cache/
43
+ nosetests.xml
44
+ coverage.xml
45
+ *.cover
46
+ *.py,cover
47
+
48
+ # Translations
49
+ *.mo
50
+ *.pot
51
+
52
+ # Jupyter Notebook
53
+ .ipynb_checkpoints
54
+
55
+ # IPython
56
+ profile_default/
57
+ ipython_config.py
58
+
59
+ # pyenv
60
+ .python-version
61
+
62
+ # pipenv
63
+ Pipfile.lock
64
+
65
+ # PEP 582
66
+ __pypackages__/
67
+
68
+ # Virtual environments
69
+ .venv/
70
+ venv/
71
+ ENV/
72
+ env.bak/
73
+ venv.bak/
74
+
75
+ # Environment variable files — never commit secrets
76
+ # Keep .env.example tracked as a safe template
77
+ .env
78
+ **/.env
79
+ !.env.example
80
+ !**/.env.example
81
+
82
+ # Editor / IDE
83
+ .vscode/
84
+ .idea/
85
+ *.sublime-project
86
+ *.sublime-workspace
87
+
88
+ # Spyder
89
+ .spyderproject
90
+ .spyproject
91
+
92
+ # Rope
93
+ .ropeproject
94
+
95
+ # mypy
96
+ .mypy_cache/
97
+ .dmypy.json
98
+ dmypy.json
99
+
100
+ # Pyre
101
+ .pyre/
102
+
103
+ # Django stuff:
104
+ *.log
105
+ local_settings.py
106
+ db.sqlite3
107
+ db.sqlite3-journal
108
+ media/
109
+
110
+ # Flask instance folder
111
+ instance/
112
+
113
+ # Coverage and testing artifacts
114
+ .coverage.*
115
+ coverage.xml
116
+ .cache/
117
+
118
+ # Misc
119
+ *.pid
120
+ *.seed
121
+ *.tgz
122
+ *.log
123
+ *.sql
124
+ *.sqlite3
125
+ *.bak
126
+ *.swp
127
+
128
+ runs/*
129
+ sample_dataset/*
130
+ features/*
131
+ wrangler/*
132
+
133
+ # Generated preprocessing artifacts (retain locally, do not track in git)
134
+ proc/failed_videos.csv
135
+ proc/global_stats.npz
136
+ proc/processed_metadata.csv
137
+ proc/sentence_variations.json
138
+
139
+ # Node
140
+ node_modules/
141
+ npm-debug.log*
142
+ yarn-debug.log*
143
+ pnpm-debug.log*
144
+ yarn-error.log*
145
+ report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
146
+ .pnp/
147
+ .pnp.js
148
+ .pnp.cjs
149
+ .pnp.loader.mjs
150
+ .pnp.loader.cjs
151
+ .lock-wscript
152
+ .build/
153
+ jspm_packages/
154
+ bower_components/
155
+ .npm/
156
+ .nyc_output/
157
+ coverage/
158
+ *.tsbuildinfo
159
+ *.tgz
160
+ *.log
161
+
162
+ # React / front-end frameworks
163
+ # Create React App / Next / Gatsby / Nuxt / Vite / Parcel
164
+ build/
165
+ dist/
166
+ .out/
167
+ .next/
168
+ .nuxt/
169
+ .public/
170
+ .cache/
171
+ .parcel-cache/
172
+ .cache-loader/
173
+ .cache/
174
+ .cache/vite/
175
+ .storybook-static/
176
+ .serverless/
177
+ .vercel/
178
+ .now/
179
+ netlify.toml
180
+ /.firebase/
181
+ .sass-cache/
182
+
183
+ # Environment files (sensitive)
184
+ .env.local
185
+ .env.development.local
186
+ .env.test.local
187
+ .env.production.local
188
+ .env.*.local
189
+
190
+ # Editor / tooling caches
191
+ .eslintcache
192
+ .idea/
193
+ .vscode/
194
+ *.sublime-workspace
195
+ *.sublime-project
196
+
197
+ # Misc
198
+ /.expo/
199
+ .DS_Store
200
+ docs/GCP_VMs/logs
201
+ AGENTS.md
202
+
203
+ # Credential files + folders
204
+ .credentials/
205
+ .collab/
206
+ .agents/
207
+ .claude/
208
+ .codex/
209
+ .github/agents
@@ -0,0 +1,14 @@
1
+ # Changelog
2
+
3
+ ## 0.1.0a2 — 2026-08-08
4
+
5
+ - Preserve the immutable `0.1.0a1` baseline while advancing the release candidate.
6
+ - Harden retries, async streaming cleanup, artifact inspection, and release provenance.
7
+ - Add the durable Signify project/environment binding expected by the commercial API.
8
+
9
+ ## 0.1.0a1 — 2026-08-07
10
+
11
+ - Initial experimental sync and async clients.
12
+ - Text-to-sign generation and NDJSON streaming.
13
+ - Sign-to-text translation and capability discovery.
14
+ - Typed responses, structured errors, safe retries, request IDs, and optional NumPy conversion.
@@ -0,0 +1,190 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work.
38
+
39
+ "Derivative Works" shall mean any work, whether in Source or Object
40
+ form, that is based on (or derived from) the Work and for which the
41
+ editorial revisions, annotations, elaborations, or other modifications
42
+ represent, as a whole, an original work of authorship. For the purposes
43
+ of this License, Derivative Works shall not include works that remain
44
+ separable from, or merely link (or bind by name) to the interfaces of,
45
+ the Work and Derivative Works thereof.
46
+
47
+ "Contribution" shall mean any work of authorship, including
48
+ the original version of the Work and any modifications or additions
49
+ to that Work or Derivative Works thereof, that is intentionally
50
+ submitted to Licensor for inclusion in the Work by the copyright owner
51
+ or by an individual or Legal Entity authorized to submit on behalf of
52
+ the copyright owner. For the purposes of this definition, "submitted"
53
+ means any form of electronic, verbal, or written communication sent
54
+ to the Licensor or its representatives, including but not limited to
55
+ communication on electronic mailing lists, source code control systems,
56
+ and issue tracking systems that are managed by, or on behalf of, the
57
+ Licensor for the purpose of discussing and improving the Work, but
58
+ excluding communication that is conspicuously marked or otherwise
59
+ designated in writing by the copyright owner as "Not a Contribution."
60
+
61
+ "Contributor" shall mean Licensor and any individual or Legal Entity
62
+ on behalf of whom a Contribution has been received by Licensor and
63
+ subsequently incorporated within the Work.
64
+
65
+ 2. Grant of Copyright License. Subject to the terms and conditions of
66
+ this License, each Contributor hereby grants to You a perpetual,
67
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
68
+ copyright license to reproduce, prepare Derivative Works of,
69
+ publicly display, publicly perform, sublicense, and distribute the
70
+ Work and such Derivative Works in Source or Object form.
71
+
72
+ 3. Grant of Patent License. Subject to the terms and conditions of
73
+ this License, each Contributor hereby grants to You a perpetual,
74
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
75
+ (except as stated in this section) patent license to make, have made,
76
+ use, offer to sell, sell, import, and otherwise transfer the Work,
77
+ where such license applies only to those patent claims licensable
78
+ by such Contributor that are necessarily infringed by their
79
+ Contribution(s) alone or by combination of their Contribution(s)
80
+ with the Work to which such Contribution(s) was submitted. If You
81
+ institute patent litigation against any entity alleging that the Work
82
+ or a Contribution incorporated within the Work constitutes direct
83
+ or contributory patent infringement, then any patent licenses
84
+ granted to You under this License for that Work shall terminate
85
+ as of the date such litigation is filed.
86
+
87
+ 4. Redistribution. You may reproduce and distribute copies of the
88
+ Work or Derivative Works thereof in any medium, with or without
89
+ modifications, and in Source or Object form, provided that You
90
+ meet the following conditions:
91
+
92
+ (a) You must give any other recipients of the Work or
93
+ Derivative Works a copy of this License; and
94
+
95
+ (b) You must cause any modified files to carry prominent notices
96
+ stating that You changed the files; and
97
+
98
+ (c) You must retain, in the Source form of any Derivative Works
99
+ that You distribute, all copyright, patent, trademark, and
100
+ attribution notices from the Source form of the Work,
101
+ excluding those notices that do not pertain to any part of
102
+ the Derivative Works; and
103
+
104
+ (d) If the Work includes a "NOTICE" text file as part of its
105
+ distribution, then any Derivative Works that You distribute must
106
+ include a readable copy of the attribution notices contained
107
+ within such NOTICE file, excluding those notices that do not
108
+ pertain to any part of the Derivative Works, in at least one
109
+ of the following places: within a NOTICE text file distributed
110
+ as part of the Derivative Works; within the Source form or
111
+ documentation, if provided along with the Derivative Works; or,
112
+ within a display generated by the Derivative Works, if and
113
+ wherever such third-party notices normally appear. The contents
114
+ of the NOTICE file are for informational purposes only and
115
+ do not modify the License. You may add Your own attribution
116
+ notices within Derivative Works that You distribute, alongside
117
+ or as an addendum to the NOTICE text from the Work, provided
118
+ that such additional attribution notices cannot be construed
119
+ as modifying the License.
120
+
121
+ You may add Your own copyright statement to Your modifications and
122
+ may provide additional or different license terms and conditions
123
+ for use, reproduction, or distribution of Your modifications, or
124
+ for any such Derivative Works as a whole, provided Your use,
125
+ reproduction, and distribution of the Work otherwise complies with
126
+ the conditions stated in this License.
127
+
128
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
129
+ any Contribution intentionally submitted for inclusion in the Work
130
+ by You to the Licensor shall be under the terms and conditions of
131
+ this License, without any additional terms or conditions.
132
+ Notwithstanding the above, nothing herein shall supersede or modify
133
+ the terms of any separate license agreement you may have executed
134
+ with Licensor regarding such Contributions.
135
+
136
+ 6. Trademarks. This License does not grant permission to use the trade
137
+ names, trademarks, service marks, or product names of the Licensor,
138
+ except as required for reasonable and customary use in describing the
139
+ origin of the Work and reproducing the content of the NOTICE file.
140
+
141
+ 7. Disclaimer of Warranty. Unless required by applicable law or
142
+ agreed to in writing, Licensor provides the Work (and each
143
+ Contributor provides its Contributions) on an "AS IS" BASIS,
144
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
145
+ implied, including, without limitation, any warranties or conditions
146
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
147
+ PARTICULAR PURPOSE. You are solely responsible for determining the
148
+ appropriateness of using or redistributing the Work and assume any
149
+ risks associated with Your exercise of permissions under this License.
150
+
151
+ 8. Limitation of Liability. In no event and under no legal theory,
152
+ whether in tort (including negligence), contract, or otherwise,
153
+ unless required by applicable law (such as deliberate and grossly
154
+ negligent acts) or agreed to in writing, shall any Contributor be
155
+ liable to You for damages, including any direct, indirect, special,
156
+ incidental, or consequential damages of any character arising as a
157
+ result of this License or out of the use or inability to use the
158
+ Work (including but not limited to damages for loss of goodwill,
159
+ work stoppage, computer failure or malfunction, or any and all
160
+ other commercial damages or losses), even if such Contributor
161
+ has been advised of the possibility of such damages.
162
+
163
+ 9. Accepting Warranty or Additional Liability. While redistributing
164
+ the Work or Derivative Works thereof, You may choose to offer,
165
+ and charge a fee for, acceptance of support, warranty, indemnity,
166
+ or other liability obligations and/or rights consistent with this
167
+ License. However, in accepting such obligations, You may act only
168
+ on Your own behalf and on Your sole responsibility, not on behalf
169
+ of any other Contributor, and only if You agree to indemnify,
170
+ defend, and hold each Contributor harmless for any liability
171
+ incurred by, or claims asserted against, such Contributor by reason
172
+ of your accepting any such warranty or additional liability.
173
+
174
+ END OF TERMS AND CONDITIONS
175
+
176
+ APPENDIX: How to apply the Apache License to your work.
177
+
178
+ Copyright 2026 Signify AI
179
+
180
+ Licensed under the Apache License, Version 2.0 (the "License");
181
+ you may not use this file except in compliance with the License.
182
+ You may obtain a copy of the License at
183
+
184
+ http://www.apache.org/licenses/LICENSE-2.0
185
+
186
+ Unless required by applicable law or agreed to in writing, software
187
+ distributed under the License is distributed on an "AS IS" BASIS,
188
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
189
+ See the License for the specific language governing permissions and
190
+ limitations under the License.
@@ -0,0 +1,145 @@
1
+ Metadata-Version: 2.4
2
+ Name: signify-ai
3
+ Version: 0.1.0a2
4
+ Summary: Official Python client for the hosted Signify sign-language API
5
+ Project-URL: Documentation, https://github.com/zahemen9900/gsl-tests/tree/enhancements/sdks/python
6
+ Project-URL: Changelog, https://github.com/zahemen9900/gsl-tests/blob/enhancements/sdks/python/CHANGELOG.md
7
+ Project-URL: Issues, https://github.com/zahemen9900/gsl-tests/issues
8
+ Project-URL: Source, https://github.com/zahemen9900/gsl-tests
9
+ Author: Signify AI
10
+ Maintainer-email: David Yeboah <zahemen9900@gmail.com>
11
+ License-Expression: Apache-2.0
12
+ License-File: LICENSE
13
+ Classifier: Development Status :: 3 - Alpha
14
+ Classifier: Intended Audience :: Developers
15
+ Classifier: License :: OSI Approved :: Apache Software License
16
+ Classifier: Programming Language :: Python :: 3
17
+ Classifier: Programming Language :: Python :: 3.10
18
+ Classifier: Programming Language :: Python :: 3.11
19
+ Classifier: Programming Language :: Python :: 3.12
20
+ Classifier: Programming Language :: Python :: 3.13
21
+ Classifier: Programming Language :: Python :: 3.14
22
+ Classifier: Typing :: Typed
23
+ Requires-Python: >=3.10
24
+ Requires-Dist: httpx<1,>=0.27
25
+ Provides-Extra: dev
26
+ Requires-Dist: build>=1.2; extra == 'dev'
27
+ Requires-Dist: hatchling<2,>=1.27; extra == 'dev'
28
+ Requires-Dist: mypy>=1.13; extra == 'dev'
29
+ Requires-Dist: pip-audit>=2.7; extra == 'dev'
30
+ Requires-Dist: pytest-asyncio>=0.24; extra == 'dev'
31
+ Requires-Dist: pytest>=8.3; extra == 'dev'
32
+ Requires-Dist: ruff>=0.8; extra == 'dev'
33
+ Requires-Dist: twine>=5.1; extra == 'dev'
34
+ Provides-Extra: numpy
35
+ Requires-Dist: numpy>=1.26; extra == 'numpy'
36
+ Description-Content-Type: text/markdown
37
+
38
+ # Signify AI Python SDK
39
+
40
+ Experimental Python client for the hosted Signify Ghanaian Sign Language API.
41
+
42
+ ```bash
43
+ pip install --pre signify-ai
44
+ export SIGNIFY_API_KEY="your-api-key"
45
+ ```
46
+
47
+ Create and revoke scoped keys from the Signify dashboard after accepting the
48
+ current Terms and Privacy Notice. A newly created secret is shown once. Store it
49
+ in a secret manager or local environment variable; it cannot be retrieved later.
50
+
51
+ ```python
52
+ from signify_ai import Signify
53
+
54
+ with Signify() as client:
55
+ result = client.text_to_sign.generate(text="Good morning")
56
+ print(result.pose_format, result.duration_seconds)
57
+ ```
58
+
59
+ Async usage:
60
+
61
+ ```python
62
+ from signify_ai import AsyncSignify
63
+
64
+ async with AsyncSignify() as client:
65
+ result = await client.text_to_sign.generate(text="Welcome")
66
+ ```
67
+
68
+ Streaming does not buffer the full motion:
69
+
70
+ ```python
71
+ with Signify() as client:
72
+ with client.text_to_sign.stream(text="Good morning") as chunks:
73
+ for chunk in chunks:
74
+ print(chunk.index, chunk.start_frame, chunk.end_frame)
75
+ ```
76
+
77
+ Sign-to-text accepts finite frame vectors and explicit metadata:
78
+
79
+ ```python
80
+ translation = client.sign_to_text.translate(
81
+ frames=frames,
82
+ fps=30.0,
83
+ pose_format="mediapipe540",
84
+ )
85
+ ```
86
+
87
+ The constructor argument takes precedence over `SIGNIFY_API_KEY`. Both sync and
88
+ async clients support custom `base_url`, timeout, retry count, and `httpx`
89
+ transport values for testing. POST retries require an idempotency key; generated
90
+ SDK operations create one automatically. Rate-limit responses respect
91
+ `Retry-After` and expose `request_id` on typed exceptions.
92
+
93
+ ```python
94
+ from signify_ai import RateLimitError, Signify, SignifyError
95
+
96
+ try:
97
+ result = Signify(timeout=45.0, max_retries=2).text_to_sign.generate(
98
+ text="Good morning",
99
+ idempotency_key="your-stable-request-uuid",
100
+ )
101
+ except RateLimitError as exc:
102
+ print(exc.code, exc.request_id, exc.retryable)
103
+ except SignifyError as exc:
104
+ print(exc.code, exc.request_id)
105
+ ```
106
+
107
+ The service returns `RateLimit-Limit`, `RateLimit-Remaining`, and
108
+ `RateLimit-Reset` where applicable, plus `Retry-After` when a request can be
109
+ retried. The public alpha has conservative request, daily quota, and concurrent
110
+ inference limits because the current hosted worker is CPU-bound.
111
+
112
+ Core results are immutable Python values. Install `signify-ai[numpy]` and call
113
+ `result.to_numpy()` for a `float32` array.
114
+
115
+ ## Versioning and data use
116
+
117
+ The SDK version, `Signify-API-Version`, hosted model version, and pose-schema
118
+ version are independent. This alpha sends API contract version `2026-08-07`.
119
+ Capability responses report the effective hosted data-use policy. Public-alpha
120
+ payloads may be retained for safety, evaluation, debugging, and model improvement
121
+ under the Signify Terms and Privacy Notice. Contracted organization opt-out is
122
+ server-enforced; an SDK flag cannot override organization policy.
123
+
124
+ Raw payload-improvement storage and unrestricted onboarding are disabled for
125
+ this release candidate until the legal notices, retention schedule, deletion
126
+ workflow, and governed encrypted store are approved. Operational usage metadata
127
+ does not include raw prompts, pose arrays, outputs, or API-key secrets. To make
128
+ safe idempotent retries possible, the hosted API keeps an encrypted response
129
+ replay entry for a bounded period (24 hours by default); this is separate from
130
+ usage events and is automatically expired.
131
+
132
+ This client is alpha software. Compatibility may change before 1.0. Handle
133
+ `SignifyError` subclasses and pin versions for production experiments.
134
+
135
+ ## Security
136
+
137
+ Never commit API keys. Rotate a key immediately if it is exposed. Report security
138
+ issues privately to `zahemen9900@gmail.com`; do not open a public exploit issue.
139
+
140
+ ## License boundary
141
+
142
+ Apache-2.0 covers only this SDK client. Use of the hosted API is governed by the
143
+ Signify Terms of Service. This package grants no model license, model weights,
144
+ inference implementation, trademark rights, licensed avatar/reconstruction assets,
145
+ or proprietary server rights.
@@ -0,0 +1,108 @@
1
+ # Signify AI Python SDK
2
+
3
+ Experimental Python client for the hosted Signify Ghanaian Sign Language API.
4
+
5
+ ```bash
6
+ pip install --pre signify-ai
7
+ export SIGNIFY_API_KEY="your-api-key"
8
+ ```
9
+
10
+ Create and revoke scoped keys from the Signify dashboard after accepting the
11
+ current Terms and Privacy Notice. A newly created secret is shown once. Store it
12
+ in a secret manager or local environment variable; it cannot be retrieved later.
13
+
14
+ ```python
15
+ from signify_ai import Signify
16
+
17
+ with Signify() as client:
18
+ result = client.text_to_sign.generate(text="Good morning")
19
+ print(result.pose_format, result.duration_seconds)
20
+ ```
21
+
22
+ Async usage:
23
+
24
+ ```python
25
+ from signify_ai import AsyncSignify
26
+
27
+ async with AsyncSignify() as client:
28
+ result = await client.text_to_sign.generate(text="Welcome")
29
+ ```
30
+
31
+ Streaming does not buffer the full motion:
32
+
33
+ ```python
34
+ with Signify() as client:
35
+ with client.text_to_sign.stream(text="Good morning") as chunks:
36
+ for chunk in chunks:
37
+ print(chunk.index, chunk.start_frame, chunk.end_frame)
38
+ ```
39
+
40
+ Sign-to-text accepts finite frame vectors and explicit metadata:
41
+
42
+ ```python
43
+ translation = client.sign_to_text.translate(
44
+ frames=frames,
45
+ fps=30.0,
46
+ pose_format="mediapipe540",
47
+ )
48
+ ```
49
+
50
+ The constructor argument takes precedence over `SIGNIFY_API_KEY`. Both sync and
51
+ async clients support custom `base_url`, timeout, retry count, and `httpx`
52
+ transport values for testing. POST retries require an idempotency key; generated
53
+ SDK operations create one automatically. Rate-limit responses respect
54
+ `Retry-After` and expose `request_id` on typed exceptions.
55
+
56
+ ```python
57
+ from signify_ai import RateLimitError, Signify, SignifyError
58
+
59
+ try:
60
+ result = Signify(timeout=45.0, max_retries=2).text_to_sign.generate(
61
+ text="Good morning",
62
+ idempotency_key="your-stable-request-uuid",
63
+ )
64
+ except RateLimitError as exc:
65
+ print(exc.code, exc.request_id, exc.retryable)
66
+ except SignifyError as exc:
67
+ print(exc.code, exc.request_id)
68
+ ```
69
+
70
+ The service returns `RateLimit-Limit`, `RateLimit-Remaining`, and
71
+ `RateLimit-Reset` where applicable, plus `Retry-After` when a request can be
72
+ retried. The public alpha has conservative request, daily quota, and concurrent
73
+ inference limits because the current hosted worker is CPU-bound.
74
+
75
+ Core results are immutable Python values. Install `signify-ai[numpy]` and call
76
+ `result.to_numpy()` for a `float32` array.
77
+
78
+ ## Versioning and data use
79
+
80
+ The SDK version, `Signify-API-Version`, hosted model version, and pose-schema
81
+ version are independent. This alpha sends API contract version `2026-08-07`.
82
+ Capability responses report the effective hosted data-use policy. Public-alpha
83
+ payloads may be retained for safety, evaluation, debugging, and model improvement
84
+ under the Signify Terms and Privacy Notice. Contracted organization opt-out is
85
+ server-enforced; an SDK flag cannot override organization policy.
86
+
87
+ Raw payload-improvement storage and unrestricted onboarding are disabled for
88
+ this release candidate until the legal notices, retention schedule, deletion
89
+ workflow, and governed encrypted store are approved. Operational usage metadata
90
+ does not include raw prompts, pose arrays, outputs, or API-key secrets. To make
91
+ safe idempotent retries possible, the hosted API keeps an encrypted response
92
+ replay entry for a bounded period (24 hours by default); this is separate from
93
+ usage events and is automatically expired.
94
+
95
+ This client is alpha software. Compatibility may change before 1.0. Handle
96
+ `SignifyError` subclasses and pin versions for production experiments.
97
+
98
+ ## Security
99
+
100
+ Never commit API keys. Rotate a key immediately if it is exposed. Report security
101
+ issues privately to `zahemen9900@gmail.com`; do not open a public exploit issue.
102
+
103
+ ## License boundary
104
+
105
+ Apache-2.0 covers only this SDK client. Use of the hosted API is governed by the
106
+ Signify Terms of Service. This package grants no model license, model weights,
107
+ inference implementation, trademark rights, licensed avatar/reconstruction assets,
108
+ or proprietary server rights.
@@ -0,0 +1,5 @@
1
+ from signify_ai import Signify
2
+
3
+ with Signify() as client:
4
+ result = client.text_to_sign.generate(text="Good morning")
5
+ print(result.generation_id, result.duration_seconds, result.pose_format)