ase-python 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (69) hide show
  1. ase/__init__.py +21 -0
  2. ase/adapters/__init__.py +14 -0
  3. ase/adapters/contract.py +28 -0
  4. ase/adapters/frameworks/__init__.py +17 -0
  5. ase/adapters/frameworks/base.py +259 -0
  6. ase/adapters/frameworks/langgraph.py +19 -0
  7. ase/adapters/frameworks/mcp.py +68 -0
  8. ase/adapters/frameworks/openai_agents.py +19 -0
  9. ase/adapters/frameworks/pydantic_ai.py +19 -0
  10. ase/adapters/io.py +50 -0
  11. ase/adapters/model.py +89 -0
  12. ase/adapters/protocol.py +72 -0
  13. ase/adapters/replay.py +261 -0
  14. ase/cli/__init__.py +7 -0
  15. ase/cli/_trace_outputs.py +40 -0
  16. ase/cli/adapter_cmd.py +38 -0
  17. ase/cli/certify_cmd.py +74 -0
  18. ase/cli/compare.py +145 -0
  19. ase/cli/doctor_cmd.py +45 -0
  20. ase/cli/examples_cmd.py +27 -0
  21. ase/cli/history_cmd.py +126 -0
  22. ase/cli/import_cmd.py +34 -0
  23. ase/cli/main.py +134 -0
  24. ase/cli/replay_cmd.py +48 -0
  25. ase/cli/report.py +115 -0
  26. ase/cli/spec_cmd.py +53 -0
  27. ase/cli/test_cmd.py +121 -0
  28. ase/config/env_loader.py +71 -0
  29. ase/config/loader.py +82 -0
  30. ase/config/model.py +51 -0
  31. ase/conformance/__init__.py +7 -0
  32. ase/conformance/matrix.py +111 -0
  33. ase/conformance/model.py +91 -0
  34. ase/conformance/schema.py +37 -0
  35. ase/conformance/service.py +194 -0
  36. ase/core/engine.py +348 -0
  37. ase/errors.py +59 -0
  38. ase/evaluation/__init__.py +7 -0
  39. ase/evaluation/base.py +63 -0
  40. ase/evaluation/consistency.py +79 -0
  41. ase/evaluation/correctness.py +117 -0
  42. ase/evaluation/efficiency.py +145 -0
  43. ase/evaluation/engine.py +182 -0
  44. ase/evaluation/policy.py +134 -0
  45. ase/evaluation/scoring.py +64 -0
  46. ase/evaluation/trace_summary.py +36 -0
  47. ase/examples_matrix.py +118 -0
  48. ase/reporting/__init__.py +7 -0
  49. ase/reporting/json_report.py +45 -0
  50. ase/reporting/junit.py +38 -0
  51. ase/reporting/markdown.py +32 -0
  52. ase/reporting/terminal.py +66 -0
  53. ase/scenario/__init__.py +7 -0
  54. ase/scenario/model.py +294 -0
  55. ase/scenario/parser.py +40 -0
  56. ase/storage/__init__.py +7 -0
  57. ase/storage/trace_store.py +136 -0
  58. ase/trace/__init__.py +7 -0
  59. ase/trace/builder.py +175 -0
  60. ase/trace/model.py +264 -0
  61. ase/trace/otel_export.py +75 -0
  62. ase/trace/otel_import.py +96 -0
  63. ase/trace/redaction.py +10 -0
  64. ase/trace/serializer.py +50 -0
  65. ase_python-0.1.0.dist-info/METADATA +184 -0
  66. ase_python-0.1.0.dist-info/RECORD +69 -0
  67. ase_python-0.1.0.dist-info/WHEEL +4 -0
  68. ase_python-0.1.0.dist-info/entry_points.txt +2 -0
  69. ase_python-0.1.0.dist-info/licenses/LICENSE +105 -0
@@ -0,0 +1,184 @@
1
+ Metadata-Version: 2.4
2
+ Name: ase-python
3
+ Version: 0.1.0
4
+ Summary: Agent Simulation Engine — pytest for AI agent tool calls
5
+ Project-URL: Homepage, https://github.com/rkd0608/ase-python
6
+ Project-URL: Repository, https://github.com/rkd0608/ase-python
7
+ Project-URL: Documentation, https://github.com/rkd0608/ase-python/tree/main/docs
8
+ Project-URL: Issues, https://github.com/rkd0608/ase-python/issues
9
+ License: Apache License
10
+ Version 2.0, January 2004
11
+ http://www.apache.org/licenses/
12
+
13
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
14
+
15
+ 1. Definitions.
16
+
17
+ "License" shall mean the terms and conditions for use, reproduction, and
18
+ distribution as defined by Sections 1 through 9 of this document.
19
+
20
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
21
+ owner that is granting the License.
22
+
23
+ "Legal Entity" shall mean the union of the acting entity and all other entities
24
+ that control, are controlled by, or are under common control with that entity.
25
+ For the purposes of this definition, "control" means (i) the power, direct or
26
+ indirect, to cause the direction or management of such entity, whether by
27
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
28
+ outstanding shares, or (iii) beneficial ownership of such entity.
29
+
30
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
31
+ permissions granted by this License.
32
+
33
+ "Source" form shall mean the preferred form for making modifications, including
34
+ but not limited to software source code, documentation source, and configuration
35
+ files.
36
+
37
+ "Object" form shall mean any form resulting from mechanical transformation or
38
+ translation of a Source form, including but not limited to compiled object code,
39
+ generated documentation, and conversions to other media types.
40
+
41
+ "Work" shall mean the work of authorship, whether in Source or Object form, made
42
+ available under the License, as indicated by a copyright notice that is included
43
+ in or attached to the work.
44
+
45
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
46
+ is based on (or derived from) the Work and for which the editorial revisions,
47
+ annotations, elaborations, or other modifications represent, as a whole, an
48
+ original work of authorship. For the purposes of this License, Derivative Works
49
+ shall not include works that remain separable from, or merely link (or bind by
50
+ name) to the interfaces of, the Work and Derivative Works thereof.
51
+
52
+ "Contribution" shall mean any work of authorship, including the original version
53
+ of the Work and any modifications or additions to that Work or Derivative Works
54
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
55
+ by the copyright owner or by an individual or Legal Entity authorized to submit
56
+ on behalf of the copyright owner.
57
+
58
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
59
+ of whom a Contribution has been received by Licensor and subsequently
60
+ incorporated within the Work.
61
+
62
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
63
+ License, each Contributor hereby grants to You a perpetual, worldwide,
64
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
65
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
66
+ sublicense, and distribute the Work and such Derivative Works in Source or
67
+ Object form.
68
+
69
+ 3. Grant of Patent License. Subject to the terms and conditions of this License,
70
+ each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
71
+ no-charge, royalty-free, irrevocable patent license to make, have made, use,
72
+ offer to sell, sell, import, and otherwise transfer the Work.
73
+
74
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
75
+ Derivative Works thereof in any medium, with or without modifications, and in
76
+ Source or Object form, provided that You meet the following conditions:
77
+
78
+ (a) You must give any other recipients of the Work or Derivative Works a copy of
79
+ this License; and
80
+
81
+ (b) You must cause any modified files to carry prominent notices stating that You
82
+ changed the files; and
83
+
84
+ (c) You must retain, in the Source form of any Derivative Works that You
85
+ distribute, all copyright, patent, trademark, and attribution notices from the
86
+ Source form of the Work; and
87
+
88
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then
89
+ any Derivative Works that You distribute must include a readable copy of the
90
+ attribution notices contained within such NOTICE file.
91
+
92
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
93
+ Contribution intentionally submitted for inclusion in the Work by You to the
94
+ Licensor shall be under the terms and conditions of this License.
95
+
96
+ 6. Trademarks. This License does not grant permission to use the trade names,
97
+ trademarks, service marks, or product names of the Licensor, except as required
98
+ for reasonable and customary use in describing the origin of the Work.
99
+
100
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
101
+ writing, Licensor provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR
102
+ CONDITIONS OF ANY KIND.
103
+
104
+ 8. Limitation of Liability. In no event and under no legal theory shall any
105
+ Contributor be liable to You for damages arising in any way out of the use or
106
+ inability to use the Work.
107
+
108
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
109
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
110
+ acceptance of support, warranty, indemnity, or other liability obligations.
111
+
112
+ END OF TERMS AND CONDITIONS
113
+
114
+ License-File: LICENSE
115
+ Keywords: ai agents,cli,evaluation,testing,trace
116
+ Classifier: Development Status :: 3 - Alpha
117
+ Classifier: Environment :: Console
118
+ Classifier: License :: OSI Approved :: Apache Software License
119
+ Classifier: Programming Language :: Python :: 3
120
+ Classifier: Programming Language :: Python :: 3.11
121
+ Classifier: Programming Language :: Python :: 3.12
122
+ Classifier: Topic :: Software Development :: Testing
123
+ Requires-Python: >=3.11
124
+ Requires-Dist: aiosqlite>=0.20
125
+ Requires-Dist: duckdb>=1.0
126
+ Requires-Dist: httpx>=0.27
127
+ Requires-Dist: jsonschema>=4.0
128
+ Requires-Dist: mitmproxy>=10.0
129
+ Requires-Dist: pydantic>=2.0
130
+ Requires-Dist: pyyaml>=6.0
131
+ Requires-Dist: rich>=13.0
132
+ Requires-Dist: structlog>=24.0
133
+ Requires-Dist: typer>=0.9
134
+ Requires-Dist: ulid-py>=1.1.0
135
+ Provides-Extra: dev
136
+ Requires-Dist: mypy>=1.10; extra == 'dev'
137
+ Requires-Dist: pytest-asyncio>=0.23; extra == 'dev'
138
+ Requires-Dist: pytest>=8.0; extra == 'dev'
139
+ Requires-Dist: ruff>=0.4; extra == 'dev'
140
+ Description-Content-Type: text/markdown
141
+
142
+ # ASE
143
+
144
+ ASE is the open pre-production testing and certification layer for agent systems.
145
+
146
+ ASE helps teams validate what an agent **did**, not just what it **said**:
147
+
148
+ - `ase watch` shows live tool calls
149
+ - `ase test` runs scenarios with assertions on behavior
150
+ - `ase compare` diffs two runs after a prompt, model, or adapter change
151
+
152
+ ## Install
153
+
154
+ ```bash
155
+ python3.11 -m venv .venv
156
+ source .venv/bin/activate
157
+ pip install ase-python
158
+ ```
159
+
160
+ ## Quickstart
161
+
162
+ ```bash
163
+ ase test examples/customer-support/scenarios/refund-happy-path.yaml
164
+ ase compare /tmp/baseline.trace.json /tmp/candidate.trace.json
165
+ ```
166
+
167
+ ## What ASE Does
168
+
169
+ - captures tool calls, state transitions, handoffs, and protocol events
170
+ - evaluates traces with assertions like `tool_called`, `max_tool_calls`, and policy checks
171
+ - certifies adapter-backed frameworks through a neutral event protocol
172
+ - works across proxy, instrumented, and adapter-backed agent runtimes
173
+
174
+ ## Project Links
175
+
176
+ - Source repository: see the project homepage that publishes this package
177
+ - Documentation: see `README.md` and `docs/` in the source repository
178
+
179
+ ## Status
180
+
181
+ ASE is release-hardening toward a broader framework certification story. The
182
+ current public positioning is:
183
+
184
+ > the open pre-production testing and certification layer for agent systems
@@ -0,0 +1,69 @@
1
+ ase/__init__.py,sha256=3TLIMUzW1O1gIRzUmCGpqyjL8vMb-MWX2MQyZfJMn5U,564
2
+ ase/errors.py,sha256=wzag8N56PhPcZW1lCMZzJ7_vqtAfy_g3_SSPGySxvkQ,1656
3
+ ase/examples_matrix.py,sha256=zSMwlaeEFtFFxytaJKhVv1Z1s1qyz7cSFVSGejI19O0,3839
4
+ ase/adapters/__init__.py,sha256=-2JBYD4Mkl9DHz3adMBHVKisZzwbYujsFi81LWaV5rs,369
5
+ ase/adapters/contract.py,sha256=_UhM42s02JpxbPXImilno6BrN8R_xqYnl-fmu9G6Nzs,948
6
+ ase/adapters/io.py,sha256=0Ad_3x9H5ASUHzW96dhfjfT3aCQggD4FoN9IhSphTfQ,1578
7
+ ase/adapters/model.py,sha256=3DTmUXDXJdcRlu7i5xkWWkUI36VPy9zdFST9jTC9F0w,3089
8
+ ase/adapters/protocol.py,sha256=xszqF3QxpvX0z4EGwV6Lcz8cr8CY1AnLwBHXhOMnf9M,2734
9
+ ase/adapters/replay.py,sha256=JfLuIHGzE9kxGxlbVVEDlpSfCdkPul_GroU3o_zHWOM,9477
10
+ ase/adapters/frameworks/__init__.py,sha256=ky8qNwV2JcaXWh5a-F7ouk3iGisJdGlQwPNPz4cBRdQ,532
11
+ ase/adapters/frameworks/base.py,sha256=2O6zx8qslqabw-gZO0mrUAN0FIjTCKqiX59bwT_a-zE,7584
12
+ ase/adapters/frameworks/langgraph.py,sha256=kHeRNN_SYuE5mqssLGp4NBzwO9hRf0HPq1lImRkpKyc,599
13
+ ase/adapters/frameworks/mcp.py,sha256=gt_OSX6i_wHE7XpGTLLQ9bb3He5xQLMYlb9uE5OIKV0,1923
14
+ ase/adapters/frameworks/openai_agents.py,sha256=agt4OZgyHUGpuDlOsSiFbl5NWV7cVJFpnddQZlj9dlQ,618
15
+ ase/adapters/frameworks/pydantic_ai.py,sha256=y_5qOoO4CoMhNwfkGI4dIIXbATfVQ4fj19uEMsWMnZ8,606
16
+ ase/cli/__init__.py,sha256=3T4MVHGPhJ4fR6VK1JDxOPw8OI5SOCe4nNXZXibAdmE,183
17
+ ase/cli/_trace_outputs.py,sha256=fiAEVfYSDkrwthj8k5kmQiZyOJjUYGAGbrr99PcLhM4,1303
18
+ ase/cli/adapter_cmd.py,sha256=BqzfFZNnXWjG_60zik36rsDokPUDsMwmTR4jwYWZ200,1240
19
+ ase/cli/certify_cmd.py,sha256=E3v7_K11cOlugCeaP51JTyNh1WNN9D9MUPwl1ZjGwbw,2592
20
+ ase/cli/compare.py,sha256=YToyia5RjfWVF3p0PYneonblp_PGvB3JT9AZGJDtGAc,5656
21
+ ase/cli/doctor_cmd.py,sha256=D0tvIoqkSzqqlNdJMTJ5Ax5dcXELu9vupyIFjVovfcA,1482
22
+ ase/cli/examples_cmd.py,sha256=yvj6ycMOqU3N5M8ShYgRaAnLzLlfhnmHEuIrazEhy7I,744
23
+ ase/cli/history_cmd.py,sha256=D0orKlQbzu4-E0qcsJU2fAd3gUgX6gmRtLwMyPbrjDc,4495
24
+ ase/cli/import_cmd.py,sha256=CyjXxK6gd9hzDlPQES-RJT2cEl3mXLSGiPHu_NWVvEE,1216
25
+ ase/cli/main.py,sha256=NPVE-qLYhX9Ly4GQiIsj46VjlSMpPUK0W73phbMkaHY,4127
26
+ ase/cli/replay_cmd.py,sha256=wR8pdewYiWTLs3EtwyB-o5yMXlAUAbHSidwjMv4phuc,1709
27
+ ase/cli/report.py,sha256=PGxXmpHMjRcJCSWxemjdANUd3pnOwH0ol2x1qvw07lw,4149
28
+ ase/cli/spec_cmd.py,sha256=DVle6C3NkNmHIRrhrYcCDOzDPitwiUpvilU1aayd-m4,1692
29
+ ase/cli/test_cmd.py,sha256=HmKZ5eOt1jxufdLJBoh63pyB-bzjSP-l1G4hhSlD2qg,4905
30
+ ase/config/env_loader.py,sha256=Twte2Bd_vjpEBoAk4BKe4iU_p_tUGOHujIv0DvmT4Ik,2310
31
+ ase/config/loader.py,sha256=7IdVx3S3-e2OkeeRX7K3fJwIi36gSUMfH7GlzmbCJi4,2904
32
+ ase/config/model.py,sha256=0aZ861tlq01FuH78HDR3pmtuAintv38T_mGmofDFVp8,1441
33
+ ase/conformance/__init__.py,sha256=iMiS0rkc6H3vg2T90-EAQO8KZ3aL-1yllzYcjMvwfvc,191
34
+ ase/conformance/matrix.py,sha256=gveQfSw9T4qi6skA2VnEy_lOpiqjq_zT1F6LZp154Tc,3991
35
+ ase/conformance/model.py,sha256=VmPRdtAKeJXmDSpf0HdQwjnOosIc26TLt--nvk5tOHE,2913
36
+ ase/conformance/schema.py,sha256=lCzEa1NZqOetMsYSexrQT27aVA5UOqYNXaiBZC575jU,1396
37
+ ase/conformance/service.py,sha256=tpqxzQbWKAjMVFHur42XcSZb1QKXFzn4oYPbH-CKbbI,7282
38
+ ase/core/engine.py,sha256=4Y_HSB725Kv103PvI1wVvwSUlk4_3CShviKEAW93J-w,13632
39
+ ase/evaluation/__init__.py,sha256=aZ-HwfwioanjlGab9GtrHHLIBjeJIRzLuFsqoVkkcTI,190
40
+ ase/evaluation/base.py,sha256=-IYqLbNSoVkulwApWJ1Zm0dQDpIiKwADhgRzffVe-T8,1653
41
+ ase/evaluation/consistency.py,sha256=ANiCiPHhM8e42vNrTLHIqUeCPprunUFiI-ot-DpnQ9U,2748
42
+ ase/evaluation/correctness.py,sha256=LzS7fsa9CXGdZYfLJt8VwRvRPjT19WMVhhLwpq_MRVw,3773
43
+ ase/evaluation/efficiency.py,sha256=vqOBB46I4RyDOpn6tvxXm73ybXKmvUAmPIxpv_smH8I,4852
44
+ ase/evaluation/engine.py,sha256=RE-iZFAHEhT4kDO2lNwVutrCS_5GFo88Yj-cVirtb8U,6199
45
+ ase/evaluation/policy.py,sha256=EB_3rroiU7fa8hv-RcsZ7YN-1Sn9XwmoaT5TMUCkajk,3909
46
+ ase/evaluation/scoring.py,sha256=LEniJoo3XmwDZ3C1W2iswRBiF9slGVRKtNaiEhPs8fk,2093
47
+ ase/evaluation/trace_summary.py,sha256=yxATtpTanNyI6gCDM5s0ODlPCOlibTxnCBQBl-cCEwc,1256
48
+ ase/reporting/__init__.py,sha256=ZBrsBulLgJiRsJSQNoD1p1OZlGA3QoyCgE_i5mrXpns,189
49
+ ase/reporting/json_report.py,sha256=5ouv4Y-uqG-xxA-TJrYemGHyDwlVnToyfgsOqUvGNNA,1414
50
+ ase/reporting/junit.py,sha256=a9NaJwrChcLDajJ2mZ4C5kJA8hxtGOOrH3ZpIj3hUjc,1215
51
+ ase/reporting/markdown.py,sha256=o02zbvS82FaAqLWOOF-Ks9du92hf6h15211orZfXqEY,1077
52
+ ase/reporting/terminal.py,sha256=pm_OP6q3wXggGObApdEPkBVxyICWODRneNLTVgNwTNI,2060
53
+ ase/scenario/__init__.py,sha256=zGZKdecugBqsW5EU90-voU2SfaalOM6W2sqGn3GeQbU,188
54
+ ase/scenario/model.py,sha256=aDh8LTQVkp4FFY_HjxBCY_zCPhVtyshX1VRgYgs88Q0,8878
55
+ ase/scenario/parser.py,sha256=4-7VOnckzcSQoxPhidii-IyKgiamcnPH3x0BZ11vaCs,1452
56
+ ase/storage/__init__.py,sha256=Nv5IEjzcXK2IY4iDyRbdrSbc7tPEVX9QjWfI0siylEQ,187
57
+ ase/storage/trace_store.py,sha256=VVeHgaY3PC34BgI5YmgDNXfw-uRlXB7qUcsjx_vp58w,4812
58
+ ase/trace/__init__.py,sha256=4Br1-KMxy7wi4FMCyJartQpYw9yn6d7ssB_CXhawYwE,185
59
+ ase/trace/builder.py,sha256=CE6TVdPZYT2jmQDkgCIH2JXW2dquEipEYsIlJ0wT8X4,5864
60
+ ase/trace/model.py,sha256=voUrzm_iziwG2V13L2Gq3-Is-L7_t5zbUy3sbxx6eHc,7814
61
+ ase/trace/otel_export.py,sha256=aRY1DyCOmvEd7bumX9dR2qTkeiGCO2-4W7g9tmeE7xo,2652
62
+ ase/trace/otel_import.py,sha256=OfiZxca9ZKQYsRleE0uSxzyiQw2gWxVI52CLwRooOIk,3430
63
+ ase/trace/redaction.py,sha256=QBlx2vRcs45iOQyRUijgSTk_6MBt7f4PbZ7GHDLf9GI,264
64
+ ase/trace/serializer.py,sha256=TV4UF2BkpIyDfNa5d7navG1Kzm2ptiMqhBaK011RrZk,1835
65
+ ase_python-0.1.0.dist-info/METADATA,sha256=_dBxmDovZkhbaUCaQzUUThUTorPAoYB1gflNUL5qszY,8632
66
+ ase_python-0.1.0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
67
+ ase_python-0.1.0.dist-info/entry_points.txt,sha256=AKOuxv5Mcjuub9-rZ75Pf2Xbr6D-fCTW0cS2eE_ROPg,41
68
+ ase_python-0.1.0.dist-info/licenses/LICENSE,sha256=Vb92UA2WJu7-iwzzFmJrozmxbW3BLQOwI3e22VEYJ14,5132
69
+ ase_python-0.1.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.29.0
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ ase = ase.cli.main:app
@@ -0,0 +1,105 @@
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, and
10
+ distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by the copyright
13
+ owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all other entities
16
+ that control, are controlled by, or are under common control with that entity.
17
+ For the purposes of this definition, "control" means (i) the power, direct or
18
+ indirect, to cause the direction or management of such entity, whether by
19
+ contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the
20
+ outstanding shares, or (iii) beneficial ownership of such entity.
21
+
22
+ "You" (or "Your") shall mean an individual or Legal Entity exercising
23
+ permissions granted by this License.
24
+
25
+ "Source" form shall mean the preferred form for making modifications, including
26
+ but not limited to software source code, documentation source, and configuration
27
+ files.
28
+
29
+ "Object" form shall mean any form resulting from mechanical transformation or
30
+ translation of a Source form, including but not limited to compiled object code,
31
+ generated documentation, and conversions to other media types.
32
+
33
+ "Work" shall mean the work of authorship, whether in Source or Object form, made
34
+ available under the License, as indicated by a copyright notice that is included
35
+ in or attached to the work.
36
+
37
+ "Derivative Works" shall mean any work, whether in Source or Object form, that
38
+ is based on (or derived from) the Work and for which the editorial revisions,
39
+ annotations, elaborations, or other modifications represent, as a whole, an
40
+ original work of authorship. For the purposes of this License, Derivative Works
41
+ shall not include works that remain separable from, or merely link (or bind by
42
+ name) to the interfaces of, the Work and Derivative Works thereof.
43
+
44
+ "Contribution" shall mean any work of authorship, including the original version
45
+ of the Work and any modifications or additions to that Work or Derivative Works
46
+ thereof, that is intentionally submitted to Licensor for inclusion in the Work
47
+ by the copyright owner or by an individual or Legal Entity authorized to submit
48
+ on behalf of the copyright owner.
49
+
50
+ "Contributor" shall mean Licensor and any individual or Legal Entity on behalf
51
+ of whom a Contribution has been received by Licensor and subsequently
52
+ incorporated within the Work.
53
+
54
+ 2. Grant of Copyright License. Subject to the terms and conditions of this
55
+ License, each Contributor hereby grants to You a perpetual, worldwide,
56
+ non-exclusive, no-charge, royalty-free, irrevocable copyright license to
57
+ reproduce, prepare Derivative Works of, publicly display, publicly perform,
58
+ sublicense, and distribute the Work and such Derivative Works in Source or
59
+ Object form.
60
+
61
+ 3. Grant of Patent License. Subject to the terms and conditions of this License,
62
+ each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
63
+ no-charge, royalty-free, irrevocable patent license to make, have made, use,
64
+ offer to sell, sell, import, and otherwise transfer the Work.
65
+
66
+ 4. Redistribution. You may reproduce and distribute copies of the Work or
67
+ Derivative Works thereof in any medium, with or without modifications, and in
68
+ Source or Object form, provided that You meet the following conditions:
69
+
70
+ (a) You must give any other recipients of the Work or Derivative Works a copy of
71
+ this License; and
72
+
73
+ (b) You must cause any modified files to carry prominent notices stating that You
74
+ changed the files; and
75
+
76
+ (c) You must retain, in the Source form of any Derivative Works that You
77
+ distribute, all copyright, patent, trademark, and attribution notices from the
78
+ Source form of the Work; and
79
+
80
+ (d) If the Work includes a "NOTICE" text file as part of its distribution, then
81
+ any Derivative Works that You distribute must include a readable copy of the
82
+ attribution notices contained within such NOTICE file.
83
+
84
+ 5. Submission of Contributions. Unless You explicitly state otherwise, any
85
+ Contribution intentionally submitted for inclusion in the Work by You to the
86
+ Licensor shall be under the terms and conditions of this License.
87
+
88
+ 6. Trademarks. This License does not grant permission to use the trade names,
89
+ trademarks, service marks, or product names of the Licensor, except as required
90
+ for reasonable and customary use in describing the origin of the Work.
91
+
92
+ 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
93
+ writing, Licensor provides the Work on an "AS IS" BASIS, WITHOUT WARRANTIES OR
94
+ CONDITIONS OF ANY KIND.
95
+
96
+ 8. Limitation of Liability. In no event and under no legal theory shall any
97
+ Contributor be liable to You for damages arising in any way out of the use or
98
+ inability to use the Work.
99
+
100
+ 9. Accepting Warranty or Additional Liability. While redistributing the Work or
101
+ Derivative Works thereof, You may choose to offer, and charge a fee for,
102
+ acceptance of support, warranty, indemnity, or other liability obligations.
103
+
104
+ END OF TERMS AND CONDITIONS
105
+