-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
46 lines (40 loc) · 1.16 KB
/
Copy pathpyproject.toml
File metadata and controls
46 lines (40 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "maskpipe"
version = "0.1.0"
description = "MaskPipe is a modular, spaCy-native PII de-identification pipeline. Refine and orchestrate entity results from GLiNER, HuggingFace, or any NER source with context-aware boosting, rule-based validation, and flexible redaction."
readme = "README.md"
authors = [
{ name = "Victor Langemaire", email = "viclang.github@pm.me" }
]
requires-python = ">=3.11,<3.15"
dependencies = [
"spacy>=3.8.7",
"phonenumbers",
"schwifty"
]
[tool.hatch.build.targets.wheel]
packages = ["src/maskpipe"]
[project.entry-points.spacy_factories]
recognizer = "maskpipe.recognizer:Recognizer"
context_enhancer = "maskpipe.context_enhancer:ContextEnhancer"
conflict_resolver = "maskpipe.conflict_resolver:ConflictResolver"
anonymizer = "maskpipe.anonymizer:Anonymizer"
[dependency-groups]
dev = [
"marimo",
"pytest",
"gliner>=0.2",
"gliner2>=0.1",
"transformers>=4.0",
"openmed>=0.1",
]
codegen = [
"presidio-analyzer>=2.2",
]
[tool.hatch.metadata]
allow-direct-references = true
[tool.ty.environment]
extra-paths = ["scripts"]