phiproxy 0.1.0a1__tar.gz → 0.1.0a2__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.
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/PKG-INFO +7 -4
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/README.md +2 -2
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/pyproject.toml +4 -1
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/__init__.py +1 -1
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/.github/workflows/ci.yml +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/.github/workflows/release.yml +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/.gitignore +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/CONTRIBUTING.md +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/LICENSE +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/NOTICE +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/SECURITY.md +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/benchmark/README.md +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/benchmark/data/patient_comms_v0.jsonl +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/benchmark/generate.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/benchmark/results_v0.json +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/benchmark/score.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/deploy/.env.example +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/deploy/Dockerfile +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/deploy/docker-compose.yml +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/deploy/litellm.config.yaml +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/examples/e2e/config.yaml +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/examples/e2e/fake_llm.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/examples/e2e/run_e2e.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/dates.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/detectors/__init__.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/detectors/base.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/detectors/known.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/detectors/presidio.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/detectors/regex.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/entities.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/integrations/__init__.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/integrations/litellm.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/masker.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/src/phiproxy/vault.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_dates.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_known.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_litellm.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_masker.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_regex.py +0 -0
- {phiproxy-0.1.0a1 → phiproxy-0.1.0a2}/tests/test_vault.py +0 -0
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: phiproxy
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.0a2
|
|
4
4
|
Summary: Your patients' stand-in on the way to any LLM, and back: reversible PHI masking proxy (LiteLLM guardrail + Python library).
|
|
5
|
-
Project-URL: Homepage, https://
|
|
5
|
+
Project-URL: Homepage, https://decisiontree.tech/open-source/phiproxy
|
|
6
|
+
Project-URL: Source, https://github.com/DecisionTreeTechnology/phiproxy
|
|
6
7
|
Project-URL: Issues, https://github.com/DecisionTreeTechnology/phiproxy/issues
|
|
8
|
+
Project-URL: Decision Tree, https://decisiontree.tech/
|
|
9
|
+
Project-URL: Fertiligent, https://fertiligent.ai/
|
|
7
10
|
Author: Decision Tree Technology
|
|
8
11
|
License-Expression: Apache-2.0
|
|
9
12
|
License-File: LICENSE
|
|
@@ -29,7 +32,7 @@ Description-Content-Type: text/markdown
|
|
|
29
32
|
|
|
30
33
|
# phiproxy
|
|
31
34
|
|
|
32
|
-
**Your patients' stand-in on the way to any LLM, and back.**
|
|
35
|
+
**Your patients' stand-in on the way to any LLM, and back.** · [Project page](https://decisiontree.tech/open-source/phiproxy) · [PyPI](https://pypi.org/project/phiproxy/)
|
|
33
36
|
|
|
34
37
|
phiproxy is a proxy in two senses:
|
|
35
38
|
|
|
@@ -48,7 +51,7 @@ When the reply comes back, phiproxy swaps the stand-ins for the real values, so
|
|
|
48
51
|
"Thanks Sarah Chen, we'll call 416-555-0142 today." ◄──
|
|
49
52
|
```
|
|
50
53
|
|
|
51
|
-
> **Status: pre-alpha (0.1.
|
|
54
|
+
> **Status: pre-alpha (0.1.0a2).** APIs will change. Do not rely on it as your only control.
|
|
52
55
|
|
|
53
56
|
## Read this first
|
|
54
57
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# phiproxy
|
|
2
2
|
|
|
3
|
-
**Your patients' stand-in on the way to any LLM, and back.**
|
|
3
|
+
**Your patients' stand-in on the way to any LLM, and back.** · [Project page](https://decisiontree.tech/open-source/phiproxy) · [PyPI](https://pypi.org/project/phiproxy/)
|
|
4
4
|
|
|
5
5
|
phiproxy is a proxy in two senses:
|
|
6
6
|
|
|
@@ -19,7 +19,7 @@ When the reply comes back, phiproxy swaps the stand-ins for the real values, so
|
|
|
19
19
|
"Thanks Sarah Chen, we'll call 416-555-0142 today." ◄──
|
|
20
20
|
```
|
|
21
21
|
|
|
22
|
-
> **Status: pre-alpha (0.1.
|
|
22
|
+
> **Status: pre-alpha (0.1.0a2).** APIs will change. Do not rely on it as your only control.
|
|
23
23
|
|
|
24
24
|
## Read this first
|
|
25
25
|
|
|
@@ -29,8 +29,11 @@ presidio = ["presidio-analyzer>=2.2"]
|
|
|
29
29
|
dev = ["pytest>=8", "pytest-asyncio>=0.23"]
|
|
30
30
|
|
|
31
31
|
[project.urls]
|
|
32
|
-
Homepage = "https://
|
|
32
|
+
Homepage = "https://decisiontree.tech/open-source/phiproxy"
|
|
33
|
+
Source = "https://github.com/DecisionTreeTechnology/phiproxy"
|
|
33
34
|
Issues = "https://github.com/DecisionTreeTechnology/phiproxy/issues"
|
|
35
|
+
"Decision Tree" = "https://decisiontree.tech/"
|
|
36
|
+
Fertiligent = "https://fertiligent.ai/"
|
|
34
37
|
|
|
35
38
|
[tool.hatch.version]
|
|
36
39
|
path = "src/phiproxy/__init__.py"
|
|
@@ -10,7 +10,7 @@ from .entities import Entity, EntityType
|
|
|
10
10
|
from .masker import Masker, MaskResult, PhiproxyError, Policy, StreamUnmasker, UnsupportedContentError
|
|
11
11
|
from .vault import InMemoryVault, RedisVault, Vault
|
|
12
12
|
|
|
13
|
-
__version__ = "0.1.
|
|
13
|
+
__version__ = "0.1.0a2"
|
|
14
14
|
|
|
15
15
|
__all__ = [
|
|
16
16
|
"Entity",
|
|
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
|
|
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
|