docketry 0.1.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.
- docketry-0.1.0/.github/workflows/ci.yml +26 -0
- docketry-0.1.0/.github/workflows/release.yml +50 -0
- docketry-0.1.0/.gitignore +9 -0
- docketry-0.1.0/FEATURES.md +130 -0
- docketry-0.1.0/LICENSE +202 -0
- docketry-0.1.0/NOTICE +4 -0
- docketry-0.1.0/PKG-INFO +343 -0
- docketry-0.1.0/README.md +118 -0
- docketry-0.1.0/docketry/__init__.py +8 -0
- docketry-0.1.0/docketry/cite.py +253 -0
- docketry-0.1.0/docketry/cite_client.py +68 -0
- docketry-0.1.0/docketry/classify.py +60 -0
- docketry-0.1.0/docketry/cli.py +634 -0
- docketry-0.1.0/docketry/config.py +77 -0
- docketry-0.1.0/docketry/envelope.py +166 -0
- docketry-0.1.0/docketry/extract.py +195 -0
- docketry-0.1.0/docketry/gates/__init__.py +28 -0
- docketry-0.1.0/docketry/gates/builtin.py +164 -0
- docketry-0.1.0/docketry/gates/classifier.py +28 -0
- docketry-0.1.0/docketry/gates/notice.py +59 -0
- docketry-0.1.0/docketry/lint.py +172 -0
- docketry-0.1.0/docketry/mailbox.py +77 -0
- docketry-0.1.0/docketry/manifest.py +105 -0
- docketry-0.1.0/docketry/notices.py +268 -0
- docketry-0.1.0/docketry/pipeline.py +157 -0
- docketry-0.1.0/docketry/store.py +340 -0
- docketry-0.1.0/docketry/webui.py +202 -0
- docketry-0.1.0/docketry_app.py +14 -0
- docketry-0.1.0/examples/adapters.toml +23 -0
- docketry-0.1.0/examples/guardrails-litigation-team.toml +41 -0
- docketry-0.1.0/examples/guardrails-solo-strict.toml +32 -0
- docketry-0.1.0/examples/guardrails.toml +49 -0
- docketry-0.1.0/examples/lint-rules.toml +14 -0
- docketry-0.1.0/pyproject.toml +32 -0
- docketry-0.1.0/skills/classify-document/SKILL.md +36 -0
- docketry-0.1.0/skills/classify-document/evals/runs-classifier/graders/asks-for-approver.md +6 -0
- docketry-0.1.0/skills/classify-document/evals/runs-classifier/graders/no-unattributed-apply.md +11 -0
- docketry-0.1.0/skills/classify-document/evals/runs-classifier/graders/ran-classify.md +9 -0
- docketry-0.1.0/skills/classify-document/evals/runs-classifier/prompt.md +11 -0
- docketry-0.1.0/skills/intake-triage/SKILL.md +38 -0
- docketry-0.1.0/skills/intake-triage/evals/prepares-but-never-approves/graders/inspected-queue.md +8 -0
- docketry-0.1.0/skills/intake-triage/evals/prepares-but-never-approves/graders/never-approved.md +11 -0
- docketry-0.1.0/skills/intake-triage/evals/prepares-but-never-approves/graders/prepared-commands.md +6 -0
- docketry-0.1.0/skills/intake-triage/evals/prepares-but-never-approves/prompt.md +10 -0
- docketry-0.1.0/skills/review-draft/SKILL.md +42 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/case.yaml +4 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/graders/no-false-assurance.md +6 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/graders/ran-verify-draft.md +10 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/graders/says-not-verified.md +10 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/prompt.md +12 -0
- docketry-0.1.0/skills/review-draft/evals/reports-unverified-honestly/scaffold.sh +3 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/case.yaml +4 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/graders/no-model-verdict.md +6 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/graders/ran-lint.md +8 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/graders/ran-verify-draft.md +10 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/prompt.md +15 -0
- docketry-0.1.0/skills/review-draft/evals/uses-verifier-not-knowledge/scaffold.sh +2 -0
- docketry-0.1.0/tests/test_cite.py +143 -0
- docketry-0.1.0/tests/test_cite_client.py +73 -0
- docketry-0.1.0/tests/test_classify.py +94 -0
- docketry-0.1.0/tests/test_cli.py +269 -0
- docketry-0.1.0/tests/test_config.py +40 -0
- docketry-0.1.0/tests/test_envelope.py +65 -0
- docketry-0.1.0/tests/test_examples.py +55 -0
- docketry-0.1.0/tests/test_extract.py +129 -0
- docketry-0.1.0/tests/test_gates.py +94 -0
- docketry-0.1.0/tests/test_lint.py +86 -0
- docketry-0.1.0/tests/test_mailbox.py +87 -0
- docketry-0.1.0/tests/test_manifest.py +43 -0
- docketry-0.1.0/tests/test_no_leaks.py +88 -0
- docketry-0.1.0/tests/test_notices.py +166 -0
- docketry-0.1.0/tests/test_pipeline.py +103 -0
- docketry-0.1.0/tests/test_soak.py +169 -0
- docketry-0.1.0/tests/test_stats.py +86 -0
- docketry-0.1.0/tests/test_webui.py +120 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
name: CI
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
pull_request:
|
|
7
|
+
|
|
8
|
+
jobs:
|
|
9
|
+
test:
|
|
10
|
+
runs-on: ubuntu-latest
|
|
11
|
+
strategy:
|
|
12
|
+
matrix:
|
|
13
|
+
python-version: ["3.11", "3.12", "3.13"]
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
- uses: actions/setup-python@v5
|
|
17
|
+
with:
|
|
18
|
+
python-version: ${{ matrix.python-version }}
|
|
19
|
+
- name: Install feature extras
|
|
20
|
+
run: pip install pypdf python-docx eyecite httpx coverage
|
|
21
|
+
- name: Run tests with coverage
|
|
22
|
+
env:
|
|
23
|
+
DOCKETRY_LEAK_SALT: ${{ secrets.DOCKETRY_LEAK_SALT }}
|
|
24
|
+
run: |
|
|
25
|
+
coverage run --source=docketry -m unittest discover -s tests -v
|
|
26
|
+
coverage report --fail-under=85
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
name: Release binaries
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
tags: ["v*"]
|
|
6
|
+
|
|
7
|
+
jobs:
|
|
8
|
+
build:
|
|
9
|
+
strategy:
|
|
10
|
+
matrix:
|
|
11
|
+
include:
|
|
12
|
+
- os: windows-latest
|
|
13
|
+
artifact: docketry-windows.exe
|
|
14
|
+
- os: macos-latest
|
|
15
|
+
artifact: docketry-macos
|
|
16
|
+
- os: ubuntu-latest
|
|
17
|
+
artifact: docketry-linux
|
|
18
|
+
runs-on: ${{ matrix.os }}
|
|
19
|
+
steps:
|
|
20
|
+
- uses: actions/checkout@v4
|
|
21
|
+
- uses: actions/setup-python@v5
|
|
22
|
+
with:
|
|
23
|
+
python-version: "3.12"
|
|
24
|
+
- name: Build single-file executable
|
|
25
|
+
run: |
|
|
26
|
+
pip install pyinstaller pypdf python-docx eyecite httpx
|
|
27
|
+
pyinstaller --onefile --name docketry --collect-data reporters_db --collect-data courts_db docketry_app.py
|
|
28
|
+
- name: Rename artifact
|
|
29
|
+
shell: bash
|
|
30
|
+
run: mv dist/docketry* "dist/${{ matrix.artifact }}" 2>/dev/null || mv dist/docketry.exe "dist/${{ matrix.artifact }}"
|
|
31
|
+
- uses: actions/upload-artifact@v4
|
|
32
|
+
with:
|
|
33
|
+
name: ${{ matrix.artifact }}
|
|
34
|
+
path: dist/${{ matrix.artifact }}
|
|
35
|
+
|
|
36
|
+
release:
|
|
37
|
+
needs: build
|
|
38
|
+
runs-on: ubuntu-latest
|
|
39
|
+
permissions:
|
|
40
|
+
contents: write
|
|
41
|
+
steps:
|
|
42
|
+
- uses: actions/download-artifact@v4
|
|
43
|
+
with:
|
|
44
|
+
merge-multiple: true
|
|
45
|
+
path: dist
|
|
46
|
+
- name: Attach to release
|
|
47
|
+
uses: softprops/action-gh-release@v2
|
|
48
|
+
with:
|
|
49
|
+
files: dist/*
|
|
50
|
+
generate_release_notes: true
|
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
# Feature manifest
|
|
2
|
+
|
|
3
|
+
The roadmap as a dependency graph. **Internal** dependencies are other
|
|
4
|
+
features in this family; **external** dependencies are third-party libraries
|
|
5
|
+
or binaries, always declared as optional extras so the core stays
|
|
6
|
+
stdlib-only. A feature marked *(gate)* ships as a gate implementation that a
|
|
7
|
+
`guardrails.toml` can bind.
|
|
8
|
+
|
|
9
|
+
Scope rules that bind every feature: local-first (nothing hosted by us), no
|
|
10
|
+
cybersecurity claims, no currency claims (nothing that promises rules or law
|
|
11
|
+
are up to date), Apache-2.0.
|
|
12
|
+
|
|
13
|
+
## Graph
|
|
14
|
+
|
|
15
|
+
```mermaid
|
|
16
|
+
graph TD
|
|
17
|
+
F0[F0 email port - base] --> F1[F1 gate runner + manifest]
|
|
18
|
+
F0 --> F2[F2 text extraction layer]
|
|
19
|
+
F0 --> F3[F3 e-service notice parser]
|
|
20
|
+
F2 --> F4[F4 document classifier]
|
|
21
|
+
F2 --> F5[F5 citation verifier]
|
|
22
|
+
F2 --> F6[F6 brief linter]
|
|
23
|
+
F5 --> F6
|
|
24
|
+
F1 --> F8[F8 review queue UI]
|
|
25
|
+
F4 --> F9[F9 skills starter pack]
|
|
26
|
+
F5 --> F9
|
|
27
|
+
F6 --> F9
|
|
28
|
+
F6 --> F7[F7 redline emitter]
|
|
29
|
+
F0 --> F10[F10 provider connectors]
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Features
|
|
33
|
+
|
|
34
|
+
### F0 — Email port (base) — SHIPPED v0.1
|
|
35
|
+
Drains a dedicated intake mailbox over IMAP (read-only, UID cursor),
|
|
36
|
+
normalizes each message to a provenance-stamped envelope, stores everything
|
|
37
|
+
in SQLite on local disk.
|
|
38
|
+
- Internal: none.
|
|
39
|
+
- External: none (stdlib).
|
|
40
|
+
|
|
41
|
+
### F1 — Gate runner + guardrail manifest — SHIPPED v0.1
|
|
42
|
+
Stages, gates, block/bounce/warn, role-scoped approvals, audit trail,
|
|
43
|
+
load-time validation incl. allowed-stages scoping.
|
|
44
|
+
- Internal: F0 (envelope, store).
|
|
45
|
+
- External: none (stdlib `tomllib`).
|
|
46
|
+
|
|
47
|
+
### F2 — Text extraction layer — SHIPPED v0.3
|
|
48
|
+
One interface: attachment in, text + page map out. PDF text natively; OCR
|
|
49
|
+
fallback for scans; DOCX text.
|
|
50
|
+
- Internal: F0 (attachment store).
|
|
51
|
+
- External: `pypdf` (extra `pdf`); **Tesseract binary** + `pytesseract`,
|
|
52
|
+
`Pillow` (extra `ocr`); `python-docx` (extra `docx`). OCR quality drives
|
|
53
|
+
everything downstream, so the extractor must report per-page confidence and
|
|
54
|
+
fail loudly rather than emit garbage silently.
|
|
55
|
+
|
|
56
|
+
### F3 — Court-notice parser *(gate)* — SHIPPED v0.2
|
|
57
|
+
Source-adapter registry over court notification emails: built-in adapters for
|
|
58
|
+
the Florida ePortal (service), PACER/CM-ECF NEFs (federal service; the
|
|
59
|
+
one-time "free look" link is captured as data, never fetched), JACS and JAWS
|
|
60
|
+
hearing notices, and Tyler e-filing receipts — plus firm-defined adapters as
|
|
61
|
+
TOML config (`adapters.toml`, consulted before built-ins) so any local
|
|
62
|
+
court's format can be added or overridden without code. Common schema across
|
|
63
|
+
a three-type taxonomy: service_notice / filing_receipt / hearing_notice.
|
|
64
|
+
Format parsing only; a matched notice missing a required field bounces to the
|
|
65
|
+
review queue — template drift fails loudly, never silently.
|
|
66
|
+
- Internal: F0 (envelope). Does **not** need F2 (works on the email body).
|
|
67
|
+
- External: none.
|
|
68
|
+
|
|
69
|
+
### F4 — Document classifier — SHIPPED v0.6
|
|
70
|
+
Types an attachment (motion / order / notice / discovery / correspondence…)
|
|
71
|
+
deterministically (title + text anchors). All downstream writes are
|
|
72
|
+
stage-for-approval, fill-only.
|
|
73
|
+
- Internal: F2 (needs text).
|
|
74
|
+
- External: none for the deterministic tier. An optional LLM tier would add a
|
|
75
|
+
model API dependency — off by default, bring-your-own key, never required.
|
|
76
|
+
|
|
77
|
+
### F5 — Citation verifier — SHIPPED v0.4 (CLI; gate lands with F8's draft flow)
|
|
78
|
+
The "lint for briefs" existence+name+quote+pin check: extracts citations from
|
|
79
|
+
a draft, verifies against CourtListener that the case exists, the case name
|
|
80
|
+
matches the reporter cite, quoted language appears in the opinion, and pin
|
|
81
|
+
cites resolve. Reports mismatches; never asserts anything is good law.
|
|
82
|
+
- Internal: F2 (draft text from DOCX/PDF).
|
|
83
|
+
- External: `eyecite` (+ its `reporters-db`/`courts-db` data), `httpx`;
|
|
84
|
+
network access to the CourtListener API — which now requires a (free)
|
|
85
|
+
account token for citation-lookup, via COURTLISTENER_TOKEN. Degraded
|
|
86
|
+
offline/no-token mode = extraction-only with a loud notice, exit code 2,
|
|
87
|
+
never a silent pass.
|
|
88
|
+
|
|
89
|
+
### F6 — Brief linter — SHIPPED v0.5 (CLI; gate lands with F8's draft flow)
|
|
90
|
+
Deterministic writing checks for litigation drafts: credibility-language in
|
|
91
|
+
summary-judgment briefing, sworn-testimony assertions lacking a record
|
|
92
|
+
pin-cite on the line, internal date contradictions, citation-format lint.
|
|
93
|
+
- Internal: F2 (DOCX); F5 optional (shares citation extraction when present).
|
|
94
|
+
- External: `python-docx` (extra `docx`).
|
|
95
|
+
|
|
96
|
+
### F7 — Redline emitter
|
|
97
|
+
Turns accepted lint/edit findings into native Word tracked changes.
|
|
98
|
+
- Internal: F6.
|
|
99
|
+
- External: `python-redlines` or `adeu` (both wrap a .NET comparison engine —
|
|
100
|
+
heaviest external dependency in the family; isolate behind an interface so
|
|
101
|
+
it can be swapped).
|
|
102
|
+
|
|
103
|
+
### F8 — Review queue UI — SHIPPED v0.8
|
|
104
|
+
A small local web view of the queue/approve flow the CLI already provides.
|
|
105
|
+
Same store, same endpoints-of-record — never a parallel path around the gates.
|
|
106
|
+
- Internal: F1.
|
|
107
|
+
- External: none planned (stdlib `http.server` tier) — revisit only if real
|
|
108
|
+
usage demands more.
|
|
109
|
+
|
|
110
|
+
### F9 — Skills starter pack — SHIPPED v0.7
|
|
111
|
+
Light agent skills wrapping the tools: review-my-draft (F5+F6),
|
|
112
|
+
classify-this (F4), plus 2–3 example manifests. Skills call the same gates as
|
|
113
|
+
the pipeline — never a prompt-only parallel path.
|
|
114
|
+
- Internal: F4, F5, F6.
|
|
115
|
+
- External: none beyond what those features already declare.
|
|
116
|
+
|
|
117
|
+
### F10 — Provider connectors (phase 3)
|
|
118
|
+
Optional narrow API connectors (Microsoft Graph, Gmail API) for firms that
|
|
119
|
+
outgrow forwarding; bring-your-own OAuth app, per-mailbox scoping.
|
|
120
|
+
- Internal: F0 (same envelope contract).
|
|
121
|
+
- External: `msal` / Google API client, per connector; each an extra.
|
|
122
|
+
|
|
123
|
+
## Build order
|
|
124
|
+
|
|
125
|
+
F0/F1 (shipped) -> F3 (no new deps, immediately useful) -> F2 -> F5 -> F6 ->
|
|
126
|
+
F4 -> F9 -> F8 -> F7 -> F10.
|
|
127
|
+
|
|
128
|
+
F3 before F2 because it needs nothing but the envelope and proves the
|
|
129
|
+
gate-plugin story end to end; F5 before F6 because the linter borrows the
|
|
130
|
+
verifier's citation extraction.
|
docketry-0.1.0/LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
|
|
2
|
+
Apache License
|
|
3
|
+
Version 2.0, January 2004
|
|
4
|
+
http://www.apache.org/licenses/
|
|
5
|
+
|
|
6
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
+
|
|
8
|
+
1. Definitions.
|
|
9
|
+
|
|
10
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
+
|
|
13
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
+
the copyright owner that is granting the License.
|
|
15
|
+
|
|
16
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
+
other entities that control, are controlled by, or are under common
|
|
18
|
+
control with that entity. For the purposes of this definition,
|
|
19
|
+
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
+
direction or management of such entity, whether by contract or
|
|
21
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
+
|
|
24
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
+
exercising permissions granted by this License.
|
|
26
|
+
|
|
27
|
+
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
+
including but not limited to software source code, documentation
|
|
29
|
+
source, and configuration files.
|
|
30
|
+
|
|
31
|
+
"Object" form shall mean any form resulting from mechanical
|
|
32
|
+
transformation or translation of a Source form, including but
|
|
33
|
+
not limited to compiled object code, generated documentation,
|
|
34
|
+
and conversions to other media types.
|
|
35
|
+
|
|
36
|
+
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
+
Object form, made available under the License, as indicated by a
|
|
38
|
+
copyright notice that is included in or attached to the work
|
|
39
|
+
(an example is provided in the Appendix below).
|
|
40
|
+
|
|
41
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
+
form, that is based on (or derived from) the Work and for which the
|
|
43
|
+
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
+
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
+
of this License, Derivative Works shall not include works that remain
|
|
46
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
+
the Work and Derivative Works thereof.
|
|
48
|
+
|
|
49
|
+
"Contribution" shall mean any work of authorship, including
|
|
50
|
+
the original version of the Work and any modifications or additions
|
|
51
|
+
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
+
means any form of electronic, verbal, or written communication sent
|
|
56
|
+
to the Licensor or its representatives, including but not limited to
|
|
57
|
+
communication on electronic mailing lists, source code control systems,
|
|
58
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
+
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
+
excluding communication that is conspicuously marked or otherwise
|
|
61
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
+
|
|
63
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
+
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
+
subsequently incorporated within the Work.
|
|
66
|
+
|
|
67
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
+
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
+
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
+
Work and such Derivative Works in Source or Object form.
|
|
73
|
+
|
|
74
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
+
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
+
(except as stated in this section) patent license to make, have made,
|
|
78
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
+
where such license applies only to those patent claims licensable
|
|
80
|
+
by such Contributor that are necessarily infringed by their
|
|
81
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
+
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
+
institute patent litigation against any entity (including a
|
|
84
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
+
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
+
or contributory patent infringement, then any patent licenses
|
|
87
|
+
granted to You under this License for that Work shall terminate
|
|
88
|
+
as of the date such litigation is filed.
|
|
89
|
+
|
|
90
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
+
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
+
modifications, and in Source or Object form, provided that You
|
|
93
|
+
meet the following conditions:
|
|
94
|
+
|
|
95
|
+
(a) You must give any other recipients of the Work or
|
|
96
|
+
Derivative Works a copy of this License; and
|
|
97
|
+
|
|
98
|
+
(b) You must cause any modified files to carry prominent notices
|
|
99
|
+
stating that You changed the files; and
|
|
100
|
+
|
|
101
|
+
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
+
that You distribute, all copyright, patent, trademark, and
|
|
103
|
+
attribution notices from the Source form of the Work,
|
|
104
|
+
excluding those notices that do not pertain to any part of
|
|
105
|
+
the Derivative Works; and
|
|
106
|
+
|
|
107
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
+
distribution, then any Derivative Works that You distribute must
|
|
109
|
+
include a readable copy of the attribution notices contained
|
|
110
|
+
within such NOTICE file, excluding those notices that do not
|
|
111
|
+
pertain to any part of the Derivative Works, in at least one
|
|
112
|
+
of the following places: within a NOTICE text file distributed
|
|
113
|
+
as part of the Derivative Works; within the Source form or
|
|
114
|
+
documentation, if provided along with the Derivative Works; or,
|
|
115
|
+
within a display generated by the Derivative Works, if and
|
|
116
|
+
wherever such third-party notices normally appear. The contents
|
|
117
|
+
of the NOTICE file are for informational purposes only and
|
|
118
|
+
do not modify the License. You may add Your own attribution
|
|
119
|
+
notices within Derivative Works that You distribute, alongside
|
|
120
|
+
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
+
that such additional attribution notices cannot be construed
|
|
122
|
+
as modifying the License.
|
|
123
|
+
|
|
124
|
+
You may add Your own copyright statement to Your modifications and
|
|
125
|
+
may provide additional or different license terms and conditions
|
|
126
|
+
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
+
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
+
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
+
the conditions stated in this License.
|
|
130
|
+
|
|
131
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
+
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
+
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
+
this License, without any additional terms or conditions.
|
|
135
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
+
the terms of any separate license agreement you may have executed
|
|
137
|
+
with Licensor regarding such Contributions.
|
|
138
|
+
|
|
139
|
+
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
+
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
+
except as required for reasonable and customary use in describing the
|
|
142
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
+
|
|
144
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
+
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
+
implied, including, without limitation, any warranties or conditions
|
|
149
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
+
appropriateness of using or redistributing the Work and assume any
|
|
152
|
+
risks associated with Your exercise of permissions under this License.
|
|
153
|
+
|
|
154
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
+
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
+
unless required by applicable law (such as deliberate and grossly
|
|
157
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
+
liable to You for damages, including any direct, indirect, special,
|
|
159
|
+
incidental, or consequential damages of any character arising as a
|
|
160
|
+
result of this License or out of the use or inability to use the
|
|
161
|
+
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
+
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
+
other commercial damages or losses), even if such Contributor
|
|
164
|
+
has been advised of the possibility of such damages.
|
|
165
|
+
|
|
166
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
+
or other liability obligations and/or rights consistent with this
|
|
170
|
+
License. However, in accepting such obligations, You may act only
|
|
171
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
+
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
+
defend, and hold each Contributor harmless for any liability
|
|
174
|
+
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
+
of your accepting any such warranty or additional liability.
|
|
176
|
+
|
|
177
|
+
END OF TERMS AND CONDITIONS
|
|
178
|
+
|
|
179
|
+
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
+
|
|
181
|
+
To apply the Apache License to your work, attach the following
|
|
182
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
+
replaced with your own identifying information. (Don't include
|
|
184
|
+
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
+
comment syntax for the file format. We also recommend that a
|
|
186
|
+
file or class name and description of purpose be included on the
|
|
187
|
+
same "printed page" as the copyright notice for easier
|
|
188
|
+
identification within third-party archives.
|
|
189
|
+
|
|
190
|
+
Copyright [yyyy] [name of copyright owner]
|
|
191
|
+
|
|
192
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
+
you may not use this file except in compliance with the License.
|
|
194
|
+
You may obtain a copy of the License at
|
|
195
|
+
|
|
196
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
+
|
|
198
|
+
Unless required by applicable law or agreed to in writing, software
|
|
199
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
+
See the License for the specific language governing permissions and
|
|
202
|
+
limitations under the License.
|
docketry-0.1.0/NOTICE
ADDED