-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
83 lines (76 loc) · 1.81 KB
/
pyproject.toml
File metadata and controls
83 lines (76 loc) · 1.81 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
83
[project]
name = "s3proxy"
version = "2026.2.0"
description = "Transparent S3 encryption proxy with AES-256-GCM"
keywords = [
"s3",
"encryption",
"proxy",
"s3-proxy",
"client-side-encryption",
"aes-256-gcm",
"envelope-encryption",
"kubernetes",
"aws",
"minio",
"cloudflare-r2",
"byok",
"data-at-rest",
"security",
]
requires-python = ">=3.14"
dependencies = [
"fastapi>=0.109.0",
"uvicorn[standard]>=0.27.0",
"aioboto3>=13.0.0",
"boto3>=1.34.0",
"botocore>=1.34.0",
"cryptography>=42.0.0",
"pydantic>=2.5.0",
"pydantic-settings>=2.1.0",
"structlog>=24.1.0",
"httpx[http2]>=0.26.0",
"python-multipart>=0.0.6",
# Performance optimizations
"uvloop>=0.19.0; sys_platform != 'win32'",
"orjson>=3.9.0",
# Redis for distributed state
"redis[hiredis]>=5.0.0",
# Memory monitoring
"psutil>=5.9.0",
# Prometheus metrics
"prometheus-client>=0.20.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.1.0",
"pytest-xdist>=3.5.0",
"moto[s3]>=5.0.0",
"ruff>=0.2.0",
"mypy>=1.8.0",
"boto3-stubs[s3]>=1.34.0",
"fakeredis>=2.21.0",
"requests>=2.31.0",
]
[project.scripts]
s3proxy = "s3proxy.main:main"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.ruff]
line-length = 100
target-version = "py314"
[tool.ruff.lint]
select = ["E", "F", "I", "N", "W", "UP", "B", "C4", "SIM"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
markers = [
"e2e: End-to-end integration tests requiring real S3/MinIO (deselect with '-m \"not e2e\"')",
"ha: HA tests with multiple s3proxy pods and real Redis (deselect with '-m \"not ha\"')",
]
[tool.mypy]
python_version = "3.14"
strict = true