File size: 1,132 Bytes
f0f6e5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fe73d4f
f0f6e5c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name = "proxy-lite"
version = "0.1.0"
description = "Proxy Lite - A mini, open-weights, version of the Convergence AI Proxy assistant."
readme = "README.md"
requires-python = ">=3.11"
dependencies = [
    "omegaconf>=2.3.0",
    "openai>=1.61.1",
    "opencv-python>=4.11.0.86",
    "playwright-stealth>=1.0.6",
    "playwright>=1.50.0",
    "pydantic>=2.10.6",
    "rich>=13.9.4",
    "setuptools>=75.8.0",
    "tenacity>=9.0.0",
    "torch>=2.6.0",
    "torchvision>=0.21.0",
    "streamlit>=1.40.2",
]

[project.scripts]
proxy = "proxy_lite.cli:main"

[build-system]
requires = ["setuptools"]
build-backend = "setuptools.build_meta"

[tool.setuptools]
packages = { find = { where = ["src"] } }

[tool.setuptools.package-data]
proxy_lite = ["**/*.json"]

[tool.ruff]
line-length = 120

[tool.ruff.lint]
select = ["E", "F", "B", "I", "SIM"]
ignore = [
    "B028",
    "E722", # ignore bare except
    "B904", # ignore raise from requirement
    "FA102",
]
[tool.ruff.lint.flake8-bugbear]

extend-immutable-calls = [
    "fastapi.Depends",
    "fastapi.params.Depends",
    "fastapi.Query",
    "fastapi.params.Query",
]