-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
82 lines (73 loc) · 2.66 KB
/
Copy pathpyproject.toml
File metadata and controls
82 lines (73 loc) · 2.66 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
[project]
name = "opengradient-veil"
version = "0.2.9"
description = "OpenGradient Veil — a drop-in, self-verifying private-inference proxy for AI agents. Point your OpenAI SDK at it; it routes prompts through OpenGradient's decentralized network of attestable Nitro TEE gateways and cryptographically verifies every response before a single token reaches your code."
readme = "README.md"
requires-python = ">=3.11"
license = { text = "Apache-2.0" }
authors = [{ name = "OpenGradient" }]
keywords = [
"opengradient",
"tee",
"nitro-enclave",
"confidential-computing",
"verifiable-inference",
"llm",
"openai",
"ai-agents",
"attestation",
"oblivious-http",
]
classifiers = [
"Development Status :: 3 - Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Security :: Cryptography",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
# The network protocol — TEE registry discovery, Oblivious HTTP encryption,
# and response verification — all live in the OpenGradient SDK so this
# process and the chat-app/relay share one non-drifting implementation. The
# verified-inference utilities require >=1.1.0.
"opengradient>=1.1.1",
# Local OpenAI-compatible HTTP server (sync, simple SSE streaming).
"flask>=3.0.0",
"click>=8.1.0",
"requests>=2.32.0",
]
[project.optional-dependencies]
# Enables local PII redaction. Detection uses Microsoft Presidio's pattern/
# checksum recognizers only (no NER), so there's no spaCy model to download —
# `uv tool install 'opengradient-veil[pii]'` is the whole install.
pii = [
"presidio-analyzer>=2.2.0",
"presidio-anonymizer>=2.2.0",
# presidio-analyzer pulls spaCy transitively; pin to stable 3.8.x because the
# repo allows prereleases (for an SDK dep), which otherwise resolves a spaCy
# 4.0 dev build whose compiled extensions break against numpy 2.x. (No spaCy
# *model* is needed — we never load one.)
"spacy>=3.8.0,<4.0.0",
]
[project.urls]
Homepage = "https://opengradient.ai"
Repository = "https://github.com/OpenGradient/veil"
[project.scripts]
og-veil = "veil.cli:main"
[dependency-groups]
dev = ["ruff>=0.9.0", "mypy>=1.13.0"]
test = ["pytest>=7.4.0"]
[tool.uv]
# og-x402 (a transitive dependency of the SDK) ships pre-release builds.
prerelease = "allow"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["veil"]
[tool.ruff]
line-length = 100
[tool.pytest.ini_options]
testpaths = ["tests"]