mudra-interact 0.2.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.
- mudra_interact-0.2.0/LICENSE +201 -0
- mudra_interact-0.2.0/NOTICE +11 -0
- mudra_interact-0.2.0/PKG-INFO +119 -0
- mudra_interact-0.2.0/README.md +102 -0
- mudra_interact-0.2.0/pyproject.toml +39 -0
- mudra_interact-0.2.0/setup.cfg +4 -0
- mudra_interact-0.2.0/src/mudra_interact.egg-info/PKG-INFO +119 -0
- mudra_interact-0.2.0/src/mudra_interact.egg-info/SOURCES.txt +45 -0
- mudra_interact-0.2.0/src/mudra_interact.egg-info/dependency_links.txt +1 -0
- mudra_interact-0.2.0/src/mudra_interact.egg-info/entry_points.txt +2 -0
- mudra_interact-0.2.0/src/mudra_interact.egg-info/top_level.txt +1 -0
- mudra_interact-0.2.0/src/mudra_interact_core/__init__.py +41 -0
- mudra_interact-0.2.0/src/mudra_interact_core/__main__.py +4 -0
- mudra_interact-0.2.0/src/mudra_interact_core/catalog/mudra_catalog.json +65 -0
- mudra_interact-0.2.0/src/mudra_interact_core/catalog.py +124 -0
- mudra_interact-0.2.0/src/mudra_interact_core/cli.py +371 -0
- mudra_interact-0.2.0/src/mudra_interact_core/coordinates.py +43 -0
- mudra_interact-0.2.0/src/mudra_interact_core/errors.py +49 -0
- mudra_interact-0.2.0/src/mudra_interact_core/frame.py +224 -0
- mudra_interact-0.2.0/src/mudra_interact_core/protocol.py +364 -0
- mudra_interact-0.2.0/src/mudra_interact_core/py.typed +0 -0
- mudra_interact-0.2.0/src/mudra_interact_core/recognition.py +169 -0
- mudra_interact-0.2.0/src/mudra_interact_core/schemas/__init__.py +1 -0
- mudra_interact-0.2.0/src/mudra_interact_core/schemas/v2/__init__.py +1 -0
- mudra_interact-0.2.0/src/mudra_interact_core/schemas/v2/contract.schema.json +132 -0
- mudra_interact-0.2.0/src/mudra_interact_core/schemas/v2/version-map.json +10 -0
- mudra_interact-0.2.0/src/mudra_interact_core/session.py +411 -0
- mudra_interact-0.2.0/src/mudra_interact_core/validation.py +246 -0
- mudra_interact-0.2.0/tests/test_adapter_contract.py +71 -0
- mudra_interact-0.2.0/tests/test_catalog.py +97 -0
- mudra_interact-0.2.0/tests/test_cli.py +284 -0
- mudra_interact-0.2.0/tests/test_consent.py +133 -0
- mudra_interact-0.2.0/tests/test_contract_spec.py +153 -0
- mudra_interact-0.2.0/tests/test_coordinates.py +91 -0
- mudra_interact-0.2.0/tests/test_distribution.py +549 -0
- mudra_interact-0.2.0/tests/test_event.py +64 -0
- mudra_interact-0.2.0/tests/test_fuzz.py +113 -0
- mudra_interact-0.2.0/tests/test_json_boundary.py +75 -0
- mudra_interact-0.2.0/tests/test_licensing.py +77 -0
- mudra_interact-0.2.0/tests/test_mutations.py +30 -0
- mudra_interact-0.2.0/tests/test_privacy.py +149 -0
- mudra_interact-0.2.0/tests/test_protocol.py +73 -0
- mudra_interact-0.2.0/tests/test_recognition.py +66 -0
- mudra_interact-0.2.0/tests/test_release_recovery.py +836 -0
- mudra_interact-0.2.0/tests/test_session.py +177 -0
- mudra_interact-0.2.0/tests/test_validation.py +224 -0
- mudra_interact-0.2.0/tests/test_verification_tools.py +214 -0
|
@@ -0,0 +1,201 @@
|
|
|
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
|
+
(an example is provided in the Appendix below).
|
|
39
|
+
|
|
40
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
41
|
+
form, that is based on (or derived from) the Work and for which the
|
|
42
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
43
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
44
|
+
of this License, Derivative Works shall not include works that remain
|
|
45
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
46
|
+
the Work and Derivative Works thereof.
|
|
47
|
+
|
|
48
|
+
"Contribution" shall mean any work of authorship, including
|
|
49
|
+
the original version of the Work and any modifications or additions
|
|
50
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
51
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
52
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
53
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
54
|
+
means any form of electronic, verbal, or written communication sent
|
|
55
|
+
to the Licensor or its representatives, including but not limited to
|
|
56
|
+
communication on electronic mailing lists, source code control systems,
|
|
57
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
58
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
59
|
+
excluding communication that is conspicuously marked or otherwise
|
|
60
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
61
|
+
|
|
62
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
63
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
64
|
+
subsequently incorporated within the Work.
|
|
65
|
+
|
|
66
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
67
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
68
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
69
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
70
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
71
|
+
Work and such Derivative Works in Source or Object form.
|
|
72
|
+
|
|
73
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
74
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
75
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
76
|
+
(except as stated in this section) patent license to make, have made,
|
|
77
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
78
|
+
where such license applies only to those patent claims licensable
|
|
79
|
+
by such Contributor that are necessarily infringed by their
|
|
80
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
81
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
82
|
+
institute patent litigation against any entity (including a
|
|
83
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
84
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
85
|
+
or contributory patent infringement, then any patent licenses
|
|
86
|
+
granted to You under this License for that Work shall terminate
|
|
87
|
+
as of the date such litigation is filed.
|
|
88
|
+
|
|
89
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
90
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
91
|
+
modifications, and in Source or Object form, provided that You
|
|
92
|
+
meet the following conditions:
|
|
93
|
+
|
|
94
|
+
(a) You must give any other recipients of the Work or
|
|
95
|
+
Derivative Works a copy of this License; and
|
|
96
|
+
|
|
97
|
+
(b) You must cause any modified files to carry prominent notices
|
|
98
|
+
stating that You changed the files; and
|
|
99
|
+
|
|
100
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
101
|
+
that You distribute, all copyright, patent, trademark, and
|
|
102
|
+
attribution notices from the Source form of the Work,
|
|
103
|
+
excluding those notices that do not pertain to any part of
|
|
104
|
+
the Derivative Works; and
|
|
105
|
+
|
|
106
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
107
|
+
distribution, then any Derivative Works that You distribute must
|
|
108
|
+
include a readable copy of the attribution notices contained
|
|
109
|
+
within such NOTICE file, excluding those notices that do not
|
|
110
|
+
pertain to any part of the Derivative Works, in at least one
|
|
111
|
+
of the following places: within a NOTICE text file distributed
|
|
112
|
+
as part of the Derivative Works; within the Source form or
|
|
113
|
+
documentation, if provided along with the Derivative Works; or,
|
|
114
|
+
within a display generated by the Derivative Works, if and
|
|
115
|
+
wherever such third-party notices normally appear. The contents
|
|
116
|
+
of the NOTICE file are for informational purposes only and
|
|
117
|
+
do not modify the License. You may add Your own attribution
|
|
118
|
+
notices within Derivative Works that You distribute, alongside
|
|
119
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
120
|
+
that such additional attribution notices cannot be construed
|
|
121
|
+
as modifying the License.
|
|
122
|
+
|
|
123
|
+
You may add Your own copyright statement to Your modifications and
|
|
124
|
+
may provide additional or different license terms and conditions
|
|
125
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
126
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
127
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
128
|
+
the conditions stated in this License.
|
|
129
|
+
|
|
130
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
131
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
132
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
133
|
+
this License, without any additional terms or conditions.
|
|
134
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
135
|
+
the terms of any separate license agreement you may have executed
|
|
136
|
+
with Licensor regarding such Contributions.
|
|
137
|
+
|
|
138
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
139
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
140
|
+
except as required for reasonable and customary use in describing the
|
|
141
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
142
|
+
|
|
143
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
144
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
145
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
146
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
147
|
+
implied, including, without limitation, any warranties or conditions
|
|
148
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
149
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
150
|
+
appropriateness of using or redistributing the Work and assume any
|
|
151
|
+
risks associated with Your exercise of permissions under this License.
|
|
152
|
+
|
|
153
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
154
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
155
|
+
unless required by applicable law (such as deliberate and grossly
|
|
156
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
157
|
+
liable to You for damages, including any direct, indirect, special,
|
|
158
|
+
incidental, or consequential damages of any character arising as a
|
|
159
|
+
result of this License or out of the use or inability to use the
|
|
160
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
161
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
162
|
+
other commercial damages or losses), even if such Contributor
|
|
163
|
+
has been advised of the possibility of such damages.
|
|
164
|
+
|
|
165
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
166
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
167
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
168
|
+
or other liability obligations and/or rights consistent with this
|
|
169
|
+
License. However, in accepting such obligations, You may act only
|
|
170
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
171
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
172
|
+
defend, and hold each Contributor harmless for any liability
|
|
173
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
174
|
+
of your accepting any such warranty or additional liability.
|
|
175
|
+
|
|
176
|
+
END OF TERMS AND CONDITIONS
|
|
177
|
+
|
|
178
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
179
|
+
|
|
180
|
+
To apply the Apache License to your work, attach the following
|
|
181
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
182
|
+
replaced with your own identifying information. (Don't include
|
|
183
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
184
|
+
comment syntax for the file format. We also recommend that a
|
|
185
|
+
file or class name and description of purpose be included on the
|
|
186
|
+
same "printed page" as the copyright notice for easier
|
|
187
|
+
identification within third-party archives.
|
|
188
|
+
|
|
189
|
+
Copyright 2026 MAYAYAI
|
|
190
|
+
|
|
191
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
|
+
you may not use this file except in compliance with the License.
|
|
193
|
+
You may obtain a copy of the License at
|
|
194
|
+
|
|
195
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
196
|
+
|
|
197
|
+
Unless required by applicable law or agreed to in writing, software
|
|
198
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
199
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
200
|
+
See the License for the specific language governing permissions and
|
|
201
|
+
limitations under the License.
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
Mudra Interact
|
|
2
|
+
Copyright 2026 MAYAYAI
|
|
3
|
+
|
|
4
|
+
This distribution contains original Mudra Interact source code licensed
|
|
5
|
+
under Apache License 2.0.
|
|
6
|
+
|
|
7
|
+
No third-party runtime library, model weight, dataset, Sanskrit source text,
|
|
8
|
+
mantra, or benefit claim is bundled in version 0.1.0.
|
|
9
|
+
|
|
10
|
+
Potential optional adapters must retain their own required notices. See
|
|
11
|
+
licenses/approved_components.json and README.md before packaging an adapter.
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mudra-interact
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Apache-2.0 landmark protocol and conservative Mudra interaction recognizer
|
|
5
|
+
Author: MAYAYAI
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Documentation, https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/docs/API.md
|
|
8
|
+
Project-URL: Changelog, https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/CHANGELOG.md
|
|
9
|
+
Project-URL: Issues, https://github.com/mayayaiinfra/Mudra-Interact-Core/issues
|
|
10
|
+
Project-URL: Repository, https://github.com/mayayaiinfra/Mudra-Interact-Core
|
|
11
|
+
Keywords: gesture,mudra,landmarks,human-agent-interaction,privacy
|
|
12
|
+
Requires-Python: >=3.11
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
License-File: NOTICE
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
# Mudra Interact
|
|
19
|
+
|
|
20
|
+
Mudra Interact is an Apache-2.0, offline-capable Python library for a
|
|
21
|
+
conservative, image-free gesture interaction protocol. It accepts normalized
|
|
22
|
+
21-point hand landmarks, reports bounded recognition states, and emits a
|
|
23
|
+
`MudraEvent` only after distinct-frame stability plus explicit consent and
|
|
24
|
+
confirmation.
|
|
25
|
+
|
|
26
|
+
This release is `mudra-interact==0.2.0`. The [release runbook](docs/RELEASE_RUNBOOK.md)
|
|
27
|
+
defines the evidence required before treating a published artifact as verified.
|
|
28
|
+
Check the exact-version pages and artifact digests before installing; a missing
|
|
29
|
+
package page alone does not prove that its name is available or authorize
|
|
30
|
+
claiming it. First publication may use an owner-authorized pending Trusted
|
|
31
|
+
Publisher as described in the runbook.
|
|
32
|
+
|
|
33
|
+
These exact-version pages are the distribution sources:
|
|
34
|
+
|
|
35
|
+
- [PyPI project, version 0.2.0](https://pypi.org/project/mudra-interact/0.2.0/)
|
|
36
|
+
- [GitHub release, tag v0.2.0](https://github.com/mayayaiinfra/Mudra-Interact-Core/releases/tag/v0.2.0)
|
|
37
|
+
- [Source repository](https://github.com/mayayaiinfra/Mudra-Interact-Core)
|
|
38
|
+
|
|
39
|
+
After publication is verified, install the exact release and run the synthetic
|
|
40
|
+
example from a source checkout (the examples are repository fixtures):
|
|
41
|
+
|
|
42
|
+
```powershell
|
|
43
|
+
python -m pip install --no-deps mudra-interact==0.2.0
|
|
44
|
+
git clone --branch v0.2.0 --depth 1 https://github.com/mayayaiinfra/Mudra-Interact-Core.git
|
|
45
|
+
Set-Location Mudra-Interact-Core
|
|
46
|
+
mudra-interact --input examples/v2/frame.json
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
On Windows, use `mudra-interact.exe` if the scripts directory is not on PATH.
|
|
50
|
+
The runtime has no third-party Python dependencies; `--no-deps` prevents an
|
|
51
|
+
unreviewed dependency from being pulled into the environment.
|
|
52
|
+
|
|
53
|
+
For an owner-authorized TestPyPI candidate, select that index explicitly. Do
|
|
54
|
+
not add PyPI as an extra index fallback:
|
|
55
|
+
|
|
56
|
+
```powershell
|
|
57
|
+
python -m pip install --no-deps --index-url https://test.pypi.org/simple mudra-interact==0.2.0
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
TestPyPI may not host runtime dependencies required by another package; this
|
|
61
|
+
library has none. A successful source push or GitHub Actions run does not mean
|
|
62
|
+
the package is available. Check both exact-version pages and verify the
|
|
63
|
+
published artifacts before following these commands.
|
|
64
|
+
|
|
65
|
+
## What it provides
|
|
66
|
+
|
|
67
|
+
The longer-term direction is a communication language for human-human,
|
|
68
|
+
human-agent and agent-agent interaction. This release supplies the gesture/event
|
|
69
|
+
foundation only. The [reviewed follow-on design](docs/COMMUNICATION_LANGUAGE_CONTRACT.md)
|
|
70
|
+
is not implemented or claimed as language, creative-plugin, MCP or A2A support
|
|
71
|
+
in `0.2.0`.
|
|
72
|
+
|
|
73
|
+
- Strict validation for MediaPipe-order 21-point landmarks, bounded JSON and
|
|
74
|
+
protocol versions.
|
|
75
|
+
- A small geometric rule oracle with explicit candidate, stable, uncertain and
|
|
76
|
+
rejected states; scores are heuristic and are not calibrated probabilities.
|
|
77
|
+
- Distinct-frame temporal stability, scope-bound consent and one-use event
|
|
78
|
+
confirmation.
|
|
79
|
+
- A neutral catalogue, closed schemas, local CLI and reproducible wheel/sdist.
|
|
80
|
+
- Image-free events that can be consumed by ALLYK or another compatible client.
|
|
81
|
+
|
|
82
|
+
## What it does not provide
|
|
83
|
+
|
|
84
|
+
- Camera capture, browser UI, model downloads, hosted services or remote
|
|
85
|
+
inference. A local camera adapter is designed separately and is not
|
|
86
|
+
implemented in this package.
|
|
87
|
+
- Identity, sensitive-trait or health inference; therapeutic, religious or
|
|
88
|
+
cultural authority; or an automatic action in ALLYK.
|
|
89
|
+
- A claim of state-of-the-art recognition accuracy, independent user research,
|
|
90
|
+
accessibility qualification or human cultural review.
|
|
91
|
+
- A way to distinguish Gyan from Chin using contact points alone.
|
|
92
|
+
|
|
93
|
+
The intended data path is:
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
local device adapter -> normalized landmarks -> conservative candidate
|
|
97
|
+
-> temporal stability and explicit confirmation -> image-free MudraEvent
|
|
98
|
+
-> ALLYK or another compatible application
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
For the contract and integration boundary, see [API](docs/API.md),
|
|
102
|
+
[migration notes](docs/MIGRATION.md), [support matrix](docs/COMPATIBILITY.md),
|
|
103
|
+
and the [release runbook](docs/RELEASE_RUNBOOK.md). Implementation and
|
|
104
|
+
verification status is tracked in the [backlog ledger](IMPLEMENTATION_BACKLOG.json)
|
|
105
|
+
and [acceptance contract](docs/ACCEPTANCE.md).
|
|
106
|
+
|
|
107
|
+
## Development check
|
|
108
|
+
|
|
109
|
+
Use the locked verification dependencies and run the applicable acceptance
|
|
110
|
+
gate. See [Luna handoff](docs/LUNA_HANDOFF.md) for the repository verification
|
|
111
|
+
rules. The checked-in synthetic examples contain no camera frames or user data.
|
|
112
|
+
|
|
113
|
+
## Licensing and cultural boundary
|
|
114
|
+
|
|
115
|
+
The core is Apache-2.0 and ships `LICENSE` and `NOTICE`. Runtime dependencies
|
|
116
|
+
are empty. Optional adapters, model weights, datasets and expanded meanings
|
|
117
|
+
need their own source, licence, provenance and domain review before inclusion.
|
|
118
|
+
The bundled catalogue contains constrained learning labels only; it does not
|
|
119
|
+
establish cultural or religious interpretation.
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
# Mudra Interact
|
|
2
|
+
|
|
3
|
+
Mudra Interact is an Apache-2.0, offline-capable Python library for a
|
|
4
|
+
conservative, image-free gesture interaction protocol. It accepts normalized
|
|
5
|
+
21-point hand landmarks, reports bounded recognition states, and emits a
|
|
6
|
+
`MudraEvent` only after distinct-frame stability plus explicit consent and
|
|
7
|
+
confirmation.
|
|
8
|
+
|
|
9
|
+
This release is `mudra-interact==0.2.0`. The [release runbook](docs/RELEASE_RUNBOOK.md)
|
|
10
|
+
defines the evidence required before treating a published artifact as verified.
|
|
11
|
+
Check the exact-version pages and artifact digests before installing; a missing
|
|
12
|
+
package page alone does not prove that its name is available or authorize
|
|
13
|
+
claiming it. First publication may use an owner-authorized pending Trusted
|
|
14
|
+
Publisher as described in the runbook.
|
|
15
|
+
|
|
16
|
+
These exact-version pages are the distribution sources:
|
|
17
|
+
|
|
18
|
+
- [PyPI project, version 0.2.0](https://pypi.org/project/mudra-interact/0.2.0/)
|
|
19
|
+
- [GitHub release, tag v0.2.0](https://github.com/mayayaiinfra/Mudra-Interact-Core/releases/tag/v0.2.0)
|
|
20
|
+
- [Source repository](https://github.com/mayayaiinfra/Mudra-Interact-Core)
|
|
21
|
+
|
|
22
|
+
After publication is verified, install the exact release and run the synthetic
|
|
23
|
+
example from a source checkout (the examples are repository fixtures):
|
|
24
|
+
|
|
25
|
+
```powershell
|
|
26
|
+
python -m pip install --no-deps mudra-interact==0.2.0
|
|
27
|
+
git clone --branch v0.2.0 --depth 1 https://github.com/mayayaiinfra/Mudra-Interact-Core.git
|
|
28
|
+
Set-Location Mudra-Interact-Core
|
|
29
|
+
mudra-interact --input examples/v2/frame.json
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
On Windows, use `mudra-interact.exe` if the scripts directory is not on PATH.
|
|
33
|
+
The runtime has no third-party Python dependencies; `--no-deps` prevents an
|
|
34
|
+
unreviewed dependency from being pulled into the environment.
|
|
35
|
+
|
|
36
|
+
For an owner-authorized TestPyPI candidate, select that index explicitly. Do
|
|
37
|
+
not add PyPI as an extra index fallback:
|
|
38
|
+
|
|
39
|
+
```powershell
|
|
40
|
+
python -m pip install --no-deps --index-url https://test.pypi.org/simple mudra-interact==0.2.0
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
TestPyPI may not host runtime dependencies required by another package; this
|
|
44
|
+
library has none. A successful source push or GitHub Actions run does not mean
|
|
45
|
+
the package is available. Check both exact-version pages and verify the
|
|
46
|
+
published artifacts before following these commands.
|
|
47
|
+
|
|
48
|
+
## What it provides
|
|
49
|
+
|
|
50
|
+
The longer-term direction is a communication language for human-human,
|
|
51
|
+
human-agent and agent-agent interaction. This release supplies the gesture/event
|
|
52
|
+
foundation only. The [reviewed follow-on design](docs/COMMUNICATION_LANGUAGE_CONTRACT.md)
|
|
53
|
+
is not implemented or claimed as language, creative-plugin, MCP or A2A support
|
|
54
|
+
in `0.2.0`.
|
|
55
|
+
|
|
56
|
+
- Strict validation for MediaPipe-order 21-point landmarks, bounded JSON and
|
|
57
|
+
protocol versions.
|
|
58
|
+
- A small geometric rule oracle with explicit candidate, stable, uncertain and
|
|
59
|
+
rejected states; scores are heuristic and are not calibrated probabilities.
|
|
60
|
+
- Distinct-frame temporal stability, scope-bound consent and one-use event
|
|
61
|
+
confirmation.
|
|
62
|
+
- A neutral catalogue, closed schemas, local CLI and reproducible wheel/sdist.
|
|
63
|
+
- Image-free events that can be consumed by ALLYK or another compatible client.
|
|
64
|
+
|
|
65
|
+
## What it does not provide
|
|
66
|
+
|
|
67
|
+
- Camera capture, browser UI, model downloads, hosted services or remote
|
|
68
|
+
inference. A local camera adapter is designed separately and is not
|
|
69
|
+
implemented in this package.
|
|
70
|
+
- Identity, sensitive-trait or health inference; therapeutic, religious or
|
|
71
|
+
cultural authority; or an automatic action in ALLYK.
|
|
72
|
+
- A claim of state-of-the-art recognition accuracy, independent user research,
|
|
73
|
+
accessibility qualification or human cultural review.
|
|
74
|
+
- A way to distinguish Gyan from Chin using contact points alone.
|
|
75
|
+
|
|
76
|
+
The intended data path is:
|
|
77
|
+
|
|
78
|
+
```text
|
|
79
|
+
local device adapter -> normalized landmarks -> conservative candidate
|
|
80
|
+
-> temporal stability and explicit confirmation -> image-free MudraEvent
|
|
81
|
+
-> ALLYK or another compatible application
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
For the contract and integration boundary, see [API](docs/API.md),
|
|
85
|
+
[migration notes](docs/MIGRATION.md), [support matrix](docs/COMPATIBILITY.md),
|
|
86
|
+
and the [release runbook](docs/RELEASE_RUNBOOK.md). Implementation and
|
|
87
|
+
verification status is tracked in the [backlog ledger](IMPLEMENTATION_BACKLOG.json)
|
|
88
|
+
and [acceptance contract](docs/ACCEPTANCE.md).
|
|
89
|
+
|
|
90
|
+
## Development check
|
|
91
|
+
|
|
92
|
+
Use the locked verification dependencies and run the applicable acceptance
|
|
93
|
+
gate. See [Luna handoff](docs/LUNA_HANDOFF.md) for the repository verification
|
|
94
|
+
rules. The checked-in synthetic examples contain no camera frames or user data.
|
|
95
|
+
|
|
96
|
+
## Licensing and cultural boundary
|
|
97
|
+
|
|
98
|
+
The core is Apache-2.0 and ships `LICENSE` and `NOTICE`. Runtime dependencies
|
|
99
|
+
are empty. Optional adapters, model weights, datasets and expanded meanings
|
|
100
|
+
need their own source, licence, provenance and domain review before inclusion.
|
|
101
|
+
The bundled catalogue contains constrained learning labels only; it does not
|
|
102
|
+
establish cultural or religious interpretation.
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "mudra-interact"
|
|
7
|
+
version = "0.2.0"
|
|
8
|
+
description = "Apache-2.0 landmark protocol and conservative Mudra interaction recognizer"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
requires-python = ">=3.11"
|
|
11
|
+
license = {text = "Apache-2.0"}
|
|
12
|
+
authors = [{name = "MAYAYAI"}]
|
|
13
|
+
keywords = ["gesture", "mudra", "landmarks", "human-agent-interaction", "privacy"]
|
|
14
|
+
|
|
15
|
+
[project.urls]
|
|
16
|
+
Documentation = "https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/docs/API.md"
|
|
17
|
+
Changelog = "https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/CHANGELOG.md"
|
|
18
|
+
Issues = "https://github.com/mayayaiinfra/Mudra-Interact-Core/issues"
|
|
19
|
+
Repository = "https://github.com/mayayaiinfra/Mudra-Interact-Core"
|
|
20
|
+
|
|
21
|
+
[project.scripts]
|
|
22
|
+
mudra-interact = "mudra_interact_core.cli:main"
|
|
23
|
+
|
|
24
|
+
[tool.setuptools]
|
|
25
|
+
package-dir = {"" = "src"}
|
|
26
|
+
include-package-data = true
|
|
27
|
+
|
|
28
|
+
[tool.setuptools.data-files]
|
|
29
|
+
"" = ["LICENSE", "NOTICE"]
|
|
30
|
+
|
|
31
|
+
[tool.setuptools.packages.find]
|
|
32
|
+
where = ["src"]
|
|
33
|
+
|
|
34
|
+
[tool.setuptools.package-data]
|
|
35
|
+
mudra_interact_core = ["catalog/*.json", "schemas/v2/*.json", "py.typed"]
|
|
36
|
+
|
|
37
|
+
[tool.pytest.ini_options]
|
|
38
|
+
markers = ["acceptance(case_id): required Mudra contract or verification case"]
|
|
39
|
+
pythonpath = ["src"]
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: mudra-interact
|
|
3
|
+
Version: 0.2.0
|
|
4
|
+
Summary: Apache-2.0 landmark protocol and conservative Mudra interaction recognizer
|
|
5
|
+
Author: MAYAYAI
|
|
6
|
+
License: Apache-2.0
|
|
7
|
+
Project-URL: Documentation, https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/docs/API.md
|
|
8
|
+
Project-URL: Changelog, https://github.com/mayayaiinfra/Mudra-Interact-Core/blob/v0.2.0/CHANGELOG.md
|
|
9
|
+
Project-URL: Issues, https://github.com/mayayaiinfra/Mudra-Interact-Core/issues
|
|
10
|
+
Project-URL: Repository, https://github.com/mayayaiinfra/Mudra-Interact-Core
|
|
11
|
+
Keywords: gesture,mudra,landmarks,human-agent-interaction,privacy
|
|
12
|
+
Requires-Python: >=3.11
|
|
13
|
+
Description-Content-Type: text/markdown
|
|
14
|
+
License-File: LICENSE
|
|
15
|
+
License-File: NOTICE
|
|
16
|
+
Dynamic: license-file
|
|
17
|
+
|
|
18
|
+
# Mudra Interact
|
|
19
|
+
|
|
20
|
+
Mudra Interact is an Apache-2.0, offline-capable Python library for a
|
|
21
|
+
conservative, image-free gesture interaction protocol. It accepts normalized
|
|
22
|
+
21-point hand landmarks, reports bounded recognition states, and emits a
|
|
23
|
+
`MudraEvent` only after distinct-frame stability plus explicit consent and
|
|
24
|
+
confirmation.
|
|
25
|
+
|
|
26
|
+
This release is `mudra-interact==0.2.0`. The [release runbook](docs/RELEASE_RUNBOOK.md)
|
|
27
|
+
defines the evidence required before treating a published artifact as verified.
|
|
28
|
+
Check the exact-version pages and artifact digests before installing; a missing
|
|
29
|
+
package page alone does not prove that its name is available or authorize
|
|
30
|
+
claiming it. First publication may use an owner-authorized pending Trusted
|
|
31
|
+
Publisher as described in the runbook.
|
|
32
|
+
|
|
33
|
+
These exact-version pages are the distribution sources:
|
|
34
|
+
|
|
35
|
+
- [PyPI project, version 0.2.0](https://pypi.org/project/mudra-interact/0.2.0/)
|
|
36
|
+
- [GitHub release, tag v0.2.0](https://github.com/mayayaiinfra/Mudra-Interact-Core/releases/tag/v0.2.0)
|
|
37
|
+
- [Source repository](https://github.com/mayayaiinfra/Mudra-Interact-Core)
|
|
38
|
+
|
|
39
|
+
After publication is verified, install the exact release and run the synthetic
|
|
40
|
+
example from a source checkout (the examples are repository fixtures):
|
|
41
|
+
|
|
42
|
+
```powershell
|
|
43
|
+
python -m pip install --no-deps mudra-interact==0.2.0
|
|
44
|
+
git clone --branch v0.2.0 --depth 1 https://github.com/mayayaiinfra/Mudra-Interact-Core.git
|
|
45
|
+
Set-Location Mudra-Interact-Core
|
|
46
|
+
mudra-interact --input examples/v2/frame.json
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
On Windows, use `mudra-interact.exe` if the scripts directory is not on PATH.
|
|
50
|
+
The runtime has no third-party Python dependencies; `--no-deps` prevents an
|
|
51
|
+
unreviewed dependency from being pulled into the environment.
|
|
52
|
+
|
|
53
|
+
For an owner-authorized TestPyPI candidate, select that index explicitly. Do
|
|
54
|
+
not add PyPI as an extra index fallback:
|
|
55
|
+
|
|
56
|
+
```powershell
|
|
57
|
+
python -m pip install --no-deps --index-url https://test.pypi.org/simple mudra-interact==0.2.0
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
TestPyPI may not host runtime dependencies required by another package; this
|
|
61
|
+
library has none. A successful source push or GitHub Actions run does not mean
|
|
62
|
+
the package is available. Check both exact-version pages and verify the
|
|
63
|
+
published artifacts before following these commands.
|
|
64
|
+
|
|
65
|
+
## What it provides
|
|
66
|
+
|
|
67
|
+
The longer-term direction is a communication language for human-human,
|
|
68
|
+
human-agent and agent-agent interaction. This release supplies the gesture/event
|
|
69
|
+
foundation only. The [reviewed follow-on design](docs/COMMUNICATION_LANGUAGE_CONTRACT.md)
|
|
70
|
+
is not implemented or claimed as language, creative-plugin, MCP or A2A support
|
|
71
|
+
in `0.2.0`.
|
|
72
|
+
|
|
73
|
+
- Strict validation for MediaPipe-order 21-point landmarks, bounded JSON and
|
|
74
|
+
protocol versions.
|
|
75
|
+
- A small geometric rule oracle with explicit candidate, stable, uncertain and
|
|
76
|
+
rejected states; scores are heuristic and are not calibrated probabilities.
|
|
77
|
+
- Distinct-frame temporal stability, scope-bound consent and one-use event
|
|
78
|
+
confirmation.
|
|
79
|
+
- A neutral catalogue, closed schemas, local CLI and reproducible wheel/sdist.
|
|
80
|
+
- Image-free events that can be consumed by ALLYK or another compatible client.
|
|
81
|
+
|
|
82
|
+
## What it does not provide
|
|
83
|
+
|
|
84
|
+
- Camera capture, browser UI, model downloads, hosted services or remote
|
|
85
|
+
inference. A local camera adapter is designed separately and is not
|
|
86
|
+
implemented in this package.
|
|
87
|
+
- Identity, sensitive-trait or health inference; therapeutic, religious or
|
|
88
|
+
cultural authority; or an automatic action in ALLYK.
|
|
89
|
+
- A claim of state-of-the-art recognition accuracy, independent user research,
|
|
90
|
+
accessibility qualification or human cultural review.
|
|
91
|
+
- A way to distinguish Gyan from Chin using contact points alone.
|
|
92
|
+
|
|
93
|
+
The intended data path is:
|
|
94
|
+
|
|
95
|
+
```text
|
|
96
|
+
local device adapter -> normalized landmarks -> conservative candidate
|
|
97
|
+
-> temporal stability and explicit confirmation -> image-free MudraEvent
|
|
98
|
+
-> ALLYK or another compatible application
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
For the contract and integration boundary, see [API](docs/API.md),
|
|
102
|
+
[migration notes](docs/MIGRATION.md), [support matrix](docs/COMPATIBILITY.md),
|
|
103
|
+
and the [release runbook](docs/RELEASE_RUNBOOK.md). Implementation and
|
|
104
|
+
verification status is tracked in the [backlog ledger](IMPLEMENTATION_BACKLOG.json)
|
|
105
|
+
and [acceptance contract](docs/ACCEPTANCE.md).
|
|
106
|
+
|
|
107
|
+
## Development check
|
|
108
|
+
|
|
109
|
+
Use the locked verification dependencies and run the applicable acceptance
|
|
110
|
+
gate. See [Luna handoff](docs/LUNA_HANDOFF.md) for the repository verification
|
|
111
|
+
rules. The checked-in synthetic examples contain no camera frames or user data.
|
|
112
|
+
|
|
113
|
+
## Licensing and cultural boundary
|
|
114
|
+
|
|
115
|
+
The core is Apache-2.0 and ships `LICENSE` and `NOTICE`. Runtime dependencies
|
|
116
|
+
are empty. Optional adapters, model weights, datasets and expanded meanings
|
|
117
|
+
need their own source, licence, provenance and domain review before inclusion.
|
|
118
|
+
The bundled catalogue contains constrained learning labels only; it does not
|
|
119
|
+
establish cultural or religious interpretation.
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
NOTICE
|
|
3
|
+
README.md
|
|
4
|
+
pyproject.toml
|
|
5
|
+
src/mudra_interact.egg-info/PKG-INFO
|
|
6
|
+
src/mudra_interact.egg-info/SOURCES.txt
|
|
7
|
+
src/mudra_interact.egg-info/dependency_links.txt
|
|
8
|
+
src/mudra_interact.egg-info/entry_points.txt
|
|
9
|
+
src/mudra_interact.egg-info/top_level.txt
|
|
10
|
+
src/mudra_interact_core/__init__.py
|
|
11
|
+
src/mudra_interact_core/__main__.py
|
|
12
|
+
src/mudra_interact_core/catalog.py
|
|
13
|
+
src/mudra_interact_core/cli.py
|
|
14
|
+
src/mudra_interact_core/coordinates.py
|
|
15
|
+
src/mudra_interact_core/errors.py
|
|
16
|
+
src/mudra_interact_core/frame.py
|
|
17
|
+
src/mudra_interact_core/protocol.py
|
|
18
|
+
src/mudra_interact_core/py.typed
|
|
19
|
+
src/mudra_interact_core/recognition.py
|
|
20
|
+
src/mudra_interact_core/session.py
|
|
21
|
+
src/mudra_interact_core/validation.py
|
|
22
|
+
src/mudra_interact_core/catalog/mudra_catalog.json
|
|
23
|
+
src/mudra_interact_core/schemas/__init__.py
|
|
24
|
+
src/mudra_interact_core/schemas/v2/__init__.py
|
|
25
|
+
src/mudra_interact_core/schemas/v2/contract.schema.json
|
|
26
|
+
src/mudra_interact_core/schemas/v2/version-map.json
|
|
27
|
+
tests/test_adapter_contract.py
|
|
28
|
+
tests/test_catalog.py
|
|
29
|
+
tests/test_cli.py
|
|
30
|
+
tests/test_consent.py
|
|
31
|
+
tests/test_contract_spec.py
|
|
32
|
+
tests/test_coordinates.py
|
|
33
|
+
tests/test_distribution.py
|
|
34
|
+
tests/test_event.py
|
|
35
|
+
tests/test_fuzz.py
|
|
36
|
+
tests/test_json_boundary.py
|
|
37
|
+
tests/test_licensing.py
|
|
38
|
+
tests/test_mutations.py
|
|
39
|
+
tests/test_privacy.py
|
|
40
|
+
tests/test_protocol.py
|
|
41
|
+
tests/test_recognition.py
|
|
42
|
+
tests/test_release_recovery.py
|
|
43
|
+
tests/test_session.py
|
|
44
|
+
tests/test_validation.py
|
|
45
|
+
tests/test_verification_tools.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
mudra_interact_core
|