pyannotators-patterns 0.6.7__tar.gz → 0.6.11__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.
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/.gitignore +1 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/Jenkinsfile +1 -1
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/PKG-INFO +30 -2
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/README.md +26 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/pyproject.toml +2 -1
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/src/pyannotators_patterns/__init__.py +1 -1
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/.bumpversion.cfg +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/.github/workflows/main.yml +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/.pre-commit-config.yaml +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/.readthedocs.yml +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/AUTHORS.md +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/CHANGELOG.md +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/Dockerfile +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/LICENSE +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/MIGRATION.md +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/RELEASE.md +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/bumpversion.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/.gitignore +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/CHANGELOG.md +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/LICENSE +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/_static/.gitkeep +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/_templates/.gitkeep +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/conf.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/docs/index.rst +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/mypy.ini +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/src/pyannotators_patterns/named_pattern_recognizer.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/src/pyannotators_patterns/patterns.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/assertions.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/coords-document.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/coords.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/mgrs-document.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/mgrs.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/tel-document.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/tel.json +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_annotator.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_coords.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_credit_cards.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_emails.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_mgrs.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_tel.py +0 -0
- {pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/test_zip.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: pyannotators-patterns
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.11
|
|
4
4
|
Summary: Annotator based on Presidio pattern recognizer
|
|
5
5
|
Project-URL: Homepage, https://github.com/oterrier/pyannotators_patterns/
|
|
6
6
|
Author-email: Olivier Terrier <olivier.terrier@kairntech.com>
|
|
@@ -50,12 +50,14 @@ Provides-Extra: dev
|
|
|
50
50
|
Requires-Dist: bump2version; extra == 'dev'
|
|
51
51
|
Requires-Dist: pre-commit; extra == 'dev'
|
|
52
52
|
Provides-Extra: docs
|
|
53
|
-
Requires-Dist: jupyter-sphinx; extra == 'docs'
|
|
54
53
|
Requires-Dist: lxml-html-clean; extra == 'docs'
|
|
55
54
|
Requires-Dist: m2r2; extra == 'docs'
|
|
56
55
|
Requires-Dist: sphinx; extra == 'docs'
|
|
57
56
|
Requires-Dist: sphinx-rtd-theme; extra == 'docs'
|
|
58
57
|
Requires-Dist: sphinxcontrib-apidoc; extra == 'docs'
|
|
58
|
+
Provides-Extra: sbom
|
|
59
|
+
Requires-Dist: cyclonedx-bom; extra == 'sbom'
|
|
60
|
+
Requires-Dist: pip-audit; extra == 'sbom'
|
|
59
61
|
Provides-Extra: test
|
|
60
62
|
Requires-Dist: dirty-equals; extra == 'test'
|
|
61
63
|
Requires-Dist: pip; extra == 'test'
|
|
@@ -127,3 +129,29 @@ uv run --extra docs sphinx-build docs docs/_build
|
|
|
127
129
|
```
|
|
128
130
|
|
|
129
131
|
The built documentation is available at `docs/_build/index.html`.
|
|
132
|
+
|
|
133
|
+
## SBOM & vulnerability check
|
|
134
|
+
|
|
135
|
+
Install the SBOM dependencies:
|
|
136
|
+
|
|
137
|
+
```
|
|
138
|
+
uv sync --extra sbom
|
|
139
|
+
```
|
|
140
|
+
|
|
141
|
+
Generate a CycloneDX SBOM from the current environment:
|
|
142
|
+
|
|
143
|
+
```
|
|
144
|
+
uv run cyclonedx-py environment -o sbom.cdx.json --output-format json
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
Audit dependencies for known vulnerabilities:
|
|
148
|
+
|
|
149
|
+
```
|
|
150
|
+
uv run pip-audit --format json --output audit-report.json
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
To fail on any known vulnerability (useful in CI):
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
uv run pip-audit --strict
|
|
157
|
+
```
|
|
@@ -60,3 +60,29 @@ uv run --extra docs sphinx-build docs docs/_build
|
|
|
60
60
|
```
|
|
61
61
|
|
|
62
62
|
The built documentation is available at `docs/_build/index.html`.
|
|
63
|
+
|
|
64
|
+
## SBOM & vulnerability check
|
|
65
|
+
|
|
66
|
+
Install the SBOM dependencies:
|
|
67
|
+
|
|
68
|
+
```
|
|
69
|
+
uv sync --extra sbom
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
Generate a CycloneDX SBOM from the current environment:
|
|
73
|
+
|
|
74
|
+
```
|
|
75
|
+
uv run cyclonedx-py environment -o sbom.cdx.json --output-format json
|
|
76
|
+
```
|
|
77
|
+
|
|
78
|
+
Audit dependencies for known vulnerabilities:
|
|
79
|
+
|
|
80
|
+
```
|
|
81
|
+
uv run pip-audit --format json --output audit-report.json
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
To fail on any known vulnerability (useful in CI):
|
|
85
|
+
|
|
86
|
+
```
|
|
87
|
+
uv run pip-audit --strict
|
|
88
|
+
```
|
|
@@ -56,7 +56,6 @@ docs = [
|
|
|
56
56
|
"sphinx-rtd-theme",
|
|
57
57
|
"m2r2",
|
|
58
58
|
"sphinxcontrib.apidoc",
|
|
59
|
-
"jupyter_sphinx",
|
|
60
59
|
"lxml_html_clean",
|
|
61
60
|
]
|
|
62
61
|
dev = [
|
|
@@ -64,6 +63,8 @@ dev = [
|
|
|
64
63
|
"bump2version",
|
|
65
64
|
]
|
|
66
65
|
|
|
66
|
+
sbom = ["cyclonedx-bom", "pip-audit"]
|
|
67
|
+
|
|
67
68
|
[tool.hatch.version]
|
|
68
69
|
path = "src/pyannotators_patterns/__init__.py"
|
|
69
70
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/src/pyannotators_patterns/patterns.py
RENAMED
|
File without changes
|
|
File without changes
|
{pyannotators_patterns-0.6.7 → pyannotators_patterns-0.6.11}/tests/data/coords-document.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|