pramagent 0.5.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.
- pramagent-0.5.0/CHANGELOG.md +161 -0
- pramagent-0.5.0/LICENSE +201 -0
- pramagent-0.5.0/MANIFEST.in +3 -0
- pramagent-0.5.0/PKG-INFO +333 -0
- pramagent-0.5.0/README.md +257 -0
- pramagent-0.5.0/docs/COMPLIANCE_MAPPING.md +37 -0
- pramagent-0.5.0/docs/DEMO_SCRIPT.md +58 -0
- pramagent-0.5.0/docs/DEPLOYMENT.md +177 -0
- pramagent-0.5.0/docs/HARDENING_GUIDE.md +129 -0
- pramagent-0.5.0/docs/IMPLEMENTATION_STATUS.md +98 -0
- pramagent-0.5.0/docs/LIVE_TEST_RESULTS.md +175 -0
- pramagent-0.5.0/docs/LOAD_TEST.md +57 -0
- pramagent-0.5.0/docs/LOAD_TEST_RESULTS.md +118 -0
- pramagent-0.5.0/docs/REDTEAM_RESULTS.md +45 -0
- pramagent-0.5.0/docs/RELEASE.md +108 -0
- pramagent-0.5.0/pramagent/__init__.py +97 -0
- pramagent-0.5.0/pramagent/anchoring/__init__.py +5 -0
- pramagent-0.5.0/pramagent/anchoring/ethereum.py +204 -0
- pramagent-0.5.0/pramagent/api/__init__.py +7 -0
- pramagent-0.5.0/pramagent/api/app.py +733 -0
- pramagent-0.5.0/pramagent/audit/__init__.py +198 -0
- pramagent-0.5.0/pramagent/auth.py +175 -0
- pramagent-0.5.0/pramagent/backends/__init__.py +21 -0
- pramagent-0.5.0/pramagent/backends/migrations.py +172 -0
- pramagent-0.5.0/pramagent/backends/redis_backend.py +519 -0
- pramagent-0.5.0/pramagent/classifier.py +414 -0
- pramagent-0.5.0/pramagent/cli.py +333 -0
- pramagent-0.5.0/pramagent/compliance.py +253 -0
- pramagent-0.5.0/pramagent/config.py +211 -0
- pramagent-0.5.0/pramagent/core.py +325 -0
- pramagent-0.5.0/pramagent/errors.py +210 -0
- pramagent-0.5.0/pramagent/hitl/__init__.py +28 -0
- pramagent-0.5.0/pramagent/hitl/adapters.py +372 -0
- pramagent-0.5.0/pramagent/hitl/slack.py +292 -0
- pramagent-0.5.0/pramagent/hitl/workflow.py +334 -0
- pramagent-0.5.0/pramagent/layers/__init__.py +265 -0
- pramagent-0.5.0/pramagent/layers/isolation.py +178 -0
- pramagent-0.5.0/pramagent/layers/llm_judge.py +316 -0
- pramagent-0.5.0/pramagent/layers/observability.py +58 -0
- pramagent-0.5.0/pramagent/layers/tool_guard.py +885 -0
- pramagent-0.5.0/pramagent/otel.py +53 -0
- pramagent-0.5.0/pramagent/providers/__init__.py +354 -0
- pramagent-0.5.0/pramagent/ratelimit.py +52 -0
- pramagent-0.5.0/pramagent/rca.py +169 -0
- pramagent-0.5.0/pramagent/redteam.py +341 -0
- pramagent-0.5.0/pramagent/store.py +248 -0
- pramagent-0.5.0/pramagent/store_encrypted.py +221 -0
- pramagent-0.5.0/pramagent/store_postgres.py +435 -0
- pramagent-0.5.0/pramagent/store_s3.py +214 -0
- pramagent-0.5.0/pramagent/telemetry.py +240 -0
- pramagent-0.5.0/pramagent/types.py +119 -0
- pramagent-0.5.0/pramagent/usage.py +600 -0
- pramagent-0.5.0/pramagent.egg-info/PKG-INFO +333 -0
- pramagent-0.5.0/pramagent.egg-info/SOURCES.txt +87 -0
- pramagent-0.5.0/pramagent.egg-info/dependency_links.txt +1 -0
- pramagent-0.5.0/pramagent.egg-info/entry_points.txt +2 -0
- pramagent-0.5.0/pramagent.egg-info/requires.txt +61 -0
- pramagent-0.5.0/pramagent.egg-info/top_level.txt +1 -0
- pramagent-0.5.0/pyproject.toml +89 -0
- pramagent-0.5.0/setup.cfg +4 -0
- pramagent-0.5.0/tests/test_adapters.py +132 -0
- pramagent-0.5.0/tests/test_adversarial.py +441 -0
- pramagent-0.5.0/tests/test_adversarial_extra.py +138 -0
- pramagent-0.5.0/tests/test_anchoring.py +40 -0
- pramagent-0.5.0/tests/test_api.py +304 -0
- pramagent-0.5.0/tests/test_auth.py +177 -0
- pramagent-0.5.0/tests/test_classifier.py +222 -0
- pramagent-0.5.0/tests/test_compliance.py +37 -0
- pramagent-0.5.0/tests/test_compliance_reports.py +119 -0
- pramagent-0.5.0/tests/test_dashboard_security.py +153 -0
- pramagent-0.5.0/tests/test_encryption.py +142 -0
- pramagent-0.5.0/tests/test_ethereum_anchor.py +144 -0
- pramagent-0.5.0/tests/test_isolation.py +132 -0
- pramagent-0.5.0/tests/test_load_smoke.py +28 -0
- pramagent-0.5.0/tests/test_migrations.py +76 -0
- pramagent-0.5.0/tests/test_new_modules.py +302 -0
- pramagent-0.5.0/tests/test_otel.py +20 -0
- pramagent-0.5.0/tests/test_persistence.py +108 -0
- pramagent-0.5.0/tests/test_pipeline.py +65 -0
- pramagent-0.5.0/tests/test_providers.py +128 -0
- pramagent-0.5.0/tests/test_ratelimit.py +65 -0
- pramagent-0.5.0/tests/test_rca_graph.py +66 -0
- pramagent-0.5.0/tests/test_redteam.py +560 -0
- pramagent-0.5.0/tests/test_retention.py +89 -0
- pramagent-0.5.0/tests/test_slack_hitl.py +137 -0
- pramagent-0.5.0/tests/test_store_s3.py +98 -0
- pramagent-0.5.0/tests/test_syntax_health.py +26 -0
- pramagent-0.5.0/tests/test_tool_guard.py +162 -0
- pramagent-0.5.0/tests/test_usage.py +192 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## v0.5.0 - 2026-06-02
|
|
4
|
+
|
|
5
|
+
This release completes the public rebrand to Pramagent. It is a
|
|
6
|
+
breaking package-name and import-path change.
|
|
7
|
+
|
|
8
|
+
### Changed
|
|
9
|
+
|
|
10
|
+
- PyPI/project package renamed to `pramagent`.
|
|
11
|
+
- Python import path renamed to `pramagent`.
|
|
12
|
+
- Console command renamed to `pramagent`.
|
|
13
|
+
- Public API class renamed to `Pramagent`.
|
|
14
|
+
- Environment variables, Docker Compose service config, dashboard cookies,
|
|
15
|
+
docs, release notes, and deployment examples now use `PRAMAGENT_*` and
|
|
16
|
+
Pramagent naming.
|
|
17
|
+
- Design document filename changed to `docs/Pramagent-Design-Document.docx`.
|
|
18
|
+
|
|
19
|
+
### Migration
|
|
20
|
+
|
|
21
|
+
- New installs: `pip install pramagent`
|
|
22
|
+
- New imports: `from pramagent import Pramagent`
|
|
23
|
+
- New CLI: `pramagent --help`
|
|
24
|
+
|
|
25
|
+
### Still Not Proven
|
|
26
|
+
|
|
27
|
+
- This remains Alpha software. The rebrand does not add external certification,
|
|
28
|
+
SSO/OIDC/RBAC, or third-party jailbreak assurance.
|
|
29
|
+
|
|
30
|
+
## v0.4.4 - 2026-06-02
|
|
31
|
+
|
|
32
|
+
This is a PyPI listing cleanup patch. It does not change runtime behavior.
|
|
33
|
+
|
|
34
|
+
### Changed
|
|
35
|
+
|
|
36
|
+
- Removed the external Pepy downloads badge from README because it rendered as
|
|
37
|
+
a broken image on PyPI for the newly published project.
|
|
38
|
+
- Package/API version bumped to `0.4.4`.
|
|
39
|
+
|
|
40
|
+
## v0.4.3 - 2026-06-02
|
|
41
|
+
|
|
42
|
+
This is a PyPI/GitHub listing-quality patch. It does not add new runtime
|
|
43
|
+
security claims.
|
|
44
|
+
|
|
45
|
+
### Changed
|
|
46
|
+
|
|
47
|
+
- README doc links now use absolute GitHub URLs so PyPI does not rewrite them
|
|
48
|
+
into broken `pypi.org/project/pramagent/docs/...` links.
|
|
49
|
+
- README now leads with badges, a sharper ToolGuard-first pitch, an inline
|
|
50
|
+
trust-stack diagram, and a bare-install example that works with
|
|
51
|
+
`pip install pramagent`.
|
|
52
|
+
- README no longer contains pre-launch wording about PyPI publication.
|
|
53
|
+
- Project metadata now includes an Author URL.
|
|
54
|
+
- Release checklist and deployment example were updated for `v0.4.3`.
|
|
55
|
+
|
|
56
|
+
### Still Not Proven
|
|
57
|
+
|
|
58
|
+
- This remains an Alpha release: no external penetration test, no SSO/OIDC/RBAC,
|
|
59
|
+
no production compliance certification, and no third-party jailbreak
|
|
60
|
+
assurance.
|
|
61
|
+
|
|
62
|
+
## v0.4.2 - 2026-06-02
|
|
63
|
+
|
|
64
|
+
### Added
|
|
65
|
+
|
|
66
|
+
- In-memory hash-chain usage ledger for pilot billing/analytics evidence.
|
|
67
|
+
- `/v1/usage/ledger` and `/usage/ledger` endpoints for ledger inspection.
|
|
68
|
+
- `ServiceNowNotifier` as a notify-only HITL escalation adapter.
|
|
69
|
+
- Hardening guide that turns the release-gap critique into concrete next steps.
|
|
70
|
+
- `MANIFEST.in` and wheel data-file config so implementation status,
|
|
71
|
+
hardening, live-test, red-team, load-test, deployment, and release docs ship
|
|
72
|
+
with distributions.
|
|
73
|
+
- Live OpenAI and local Ollama smoke-test results in `docs/LIVE_TEST_RESULTS.md`.
|
|
74
|
+
- GitHub Actions test matrix now covers Python 3.10, 3.11, 3.12, and 3.13 with
|
|
75
|
+
upgraded pip/setuptools/wheel.
|
|
76
|
+
|
|
77
|
+
### Changed
|
|
78
|
+
|
|
79
|
+
- Usage event sink failures now re-raise when `fail_open=False`.
|
|
80
|
+
- README, deployment docs, and implementation status now distinguish local
|
|
81
|
+
ledger evidence from Stripe/Chargebee-grade billing.
|
|
82
|
+
- PyPI/package positioning now explicitly says Alpha and points users to live
|
|
83
|
+
test results, implementation status, and the hardening guide.
|
|
84
|
+
- OpenAI-compatible providers now retry with `max_completion_tokens` when a
|
|
85
|
+
newer OpenAI model rejects legacy `max_tokens`.
|
|
86
|
+
- The `dashboard` extra now includes FastAPI/uvicorn so it can be installed
|
|
87
|
+
independently from the `api` extra.
|
|
88
|
+
|
|
89
|
+
## v0.4.1 - 2026-06-01
|
|
90
|
+
|
|
91
|
+
This is a release-hardening patch for packaging, CLI validation, and red-team
|
|
92
|
+
smoke testing.
|
|
93
|
+
|
|
94
|
+
### Added
|
|
95
|
+
|
|
96
|
+
- PyPI-facing project metadata: classifiers, project URLs, and an `all` extra.
|
|
97
|
+
- README install instructions for PyPI and source installs.
|
|
98
|
+
- Release checklist covering build, twine check, GitHub tag/release, and PyPI
|
|
99
|
+
publish commands.
|
|
100
|
+
- Dynamic red-team validation result:
|
|
101
|
+
`pramagent redteam --json --dynamic --attacks 200 --seed 999`.
|
|
102
|
+
|
|
103
|
+
### Verified
|
|
104
|
+
|
|
105
|
+
- `pramagent --help` works from the installed console script.
|
|
106
|
+
- `[project.scripts]` exposes `pramagent = "pramagent.cli:main"`.
|
|
107
|
+
- `pip install -e .` succeeds.
|
|
108
|
+
- Dynamic red-team run caught 200/200 prompts with 0 false positives for seed
|
|
109
|
+
`999`.
|
|
110
|
+
|
|
111
|
+
### Still Not Proven
|
|
112
|
+
|
|
113
|
+
- Package is prepared for PyPI, but publishing still requires a PyPI API token.
|
|
114
|
+
- Dashboard auth remains MVP-level; no SSO/OIDC/RBAC yet.
|
|
115
|
+
- Dynamic red-team mode is useful smoke testing, not third-party jailbreak
|
|
116
|
+
assurance.
|
|
117
|
+
|
|
118
|
+
## v0.4.0 - 2026-06-01
|
|
119
|
+
|
|
120
|
+
This release adds two high-leverage production-adjacent capabilities while
|
|
121
|
+
keeping the claims honest: Pramagent is stronger guardrail and audit middleware,
|
|
122
|
+
not certified bank-grade infrastructure.
|
|
123
|
+
|
|
124
|
+
### Added
|
|
125
|
+
|
|
126
|
+
- Optional Ethereum/Sepolia anchoring for audit hash heads via `web3.py`.
|
|
127
|
+
- Trace anchor metadata: transaction hash, block number, status, chain ID, and
|
|
128
|
+
anchored hash.
|
|
129
|
+
- Optional encrypted S3 cold archive wrapper for retention and erasure flows.
|
|
130
|
+
- Tests for Ethereum anchoring, fail-open behavior, S3 archive/restore, and
|
|
131
|
+
tenant-scoped archive access.
|
|
132
|
+
- Live Sepolia validation:
|
|
133
|
+
`0x8d0d7bd15c377224acee00f397272bab1007c757080f19523cfc66c8461b5d99`.
|
|
134
|
+
- Live AWS S3 archive/restore validation with encrypted fake trace data.
|
|
135
|
+
- First published local smoke-load result.
|
|
136
|
+
- Authenticated Docker Compose load validation: 10 minutes, 12,000 requests,
|
|
137
|
+
0 errors, 0 HTTP 5xx, with Redis/Postgres/dashboard healthy after the run.
|
|
138
|
+
- Red-team CLI can now run a 100-prompt built-in smoke corpus with
|
|
139
|
+
`pramagent redteam --json --attacks 100`.
|
|
140
|
+
- Red-team CLI now supports runtime prompt mutation with reproducible seeds:
|
|
141
|
+
`pramagent redteam --json --dynamic --attacks 100 --seed 123`.
|
|
142
|
+
|
|
143
|
+
### Changed
|
|
144
|
+
|
|
145
|
+
- Package/API version bumped to `0.4.0`.
|
|
146
|
+
- Design and status docs now call out Ethereum and S3 as MVP features with
|
|
147
|
+
clear hardening gaps.
|
|
148
|
+
- Keyword fallback catches classic developer-mode, DAN, indirect tool-output,
|
|
149
|
+
delimiter, and exfiltration jailbreaks in the bundled corpus.
|
|
150
|
+
- Keyword fallback was tightened against dynamic variants such as debug mode,
|
|
151
|
+
unrestricted persona, supersede/replace overrides, private data, and system
|
|
152
|
+
directive exfiltration.
|
|
153
|
+
|
|
154
|
+
### Still Not Proven
|
|
155
|
+
|
|
156
|
+
- No third-party red-team benchmark, chaos run, or external penetration test has
|
|
157
|
+
been completed.
|
|
158
|
+
- No mainnet anchoring, deployed verifier contract, or production key-management
|
|
159
|
+
runbook exists yet.
|
|
160
|
+
- No external penetration test, SSO/RBAC dashboard hardening, or formal
|
|
161
|
+
compliance certification exists yet.
|
pramagent-0.5.0/LICENSE
ADDED
|
@@ -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. Do not 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 [yyyy] [name of copyright owner]
|
|
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.
|