-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (49 loc) · 1.44 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (49 loc) · 1.44 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
47
48
49
50
51
52
53
54
55
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "shieldprompt"
version = "0.1.4"
description = "Privacy bridge for LLMs — mask PII before it leaves your machine."
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.9"
authors = [
{ name = "ShieldPrompt Contributors" },
]
keywords = ["pii", "privacy", "llm", "masking", "gdpr", "hipaa"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Topic :: Security",
"Topic :: Software Development :: Libraries",
]
dependencies = [
"presidio-analyzer>=2.2.0",
"spacy>=3.7.0,<3.8.0",
]
[project.optional-dependencies]
ner = ["transformers>=4.30.0", "torch>=2.0.0", "span-marker>=1.5.0"]
fastapi = ["fastapi>=0.100.0", "starlette>=0.27.0"]
all = ["shieldprompt[ner,fastapi]"]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"httpx>=0.24",
"fastapi>=0.100.0",
"starlette>=0.27.0",
]
[project.scripts]
shieldprompt = "shieldprompt.cli:main"
pii = "shieldprompt.cli:pii_main"
retrace = "shieldprompt.cli:retrace_main"
[project.urls]
Homepage = "https://github.com/shieldprompt/shieldprompt"
Documentation = "https://github.com/shieldprompt/shieldprompt#readme"
[tool.hatch.build.targets.wheel]
packages = ["src/shieldprompt"]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"