-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathpyproject.toml
More file actions
131 lines (113 loc) · 3.11 KB
/
pyproject.toml
File metadata and controls
131 lines (113 loc) · 3.11 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
[project]
name = "openadapt-capture"
version = "0.5.2"
description = "GUI interaction capture - platform-agnostic event streams with time-aligned media"
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
authors = [
{name = "MLDSAI Inc.", email = "richard@openadapt.ai"}
]
keywords = ["gui", "automation", "capture", "events", "rpa"]
classifiers = [
"Development Status :: 2 - Pre-Alpha",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"pydantic>=2.0.0",
"pynput>=1.7.0",
"av>=10.0.0",
"Pillow>=9.0.0",
"fire>=0.7.1",
"mss>=6.0.0",
"sounddevice>=0.5.3",
"soundfile>=0.13.1",
# Note: openai-whisper moved to optional [transcribe] extra due to Python version conflicts
"pydantic-settings>=2.12.0",
"openai>=2.11.0",
"websockets>=12.0",
# Legacy recording dependencies (matching OpenAdapt record.py)
"sqlalchemy>=2.0.0",
"alembic>=1.0.0",
"loguru>=0.7.0",
"psutil>=5.0.0",
"pympler>=1.0.0",
"tqdm>=4.0.0",
"numpy>=1.20.0",
"oa-atomacos>=3.2.0; sys_platform == 'darwin'",
]
[project.optional-dependencies]
# Whisper transcription - faster-whisper (recommended, 4x faster)
transcribe-fast = [
"faster-whisper>=1.1.0",
]
# Legacy openai-whisper support
transcribe = [
"openai-whisper>=20230314",
]
# Privacy scrubbing support
privacy = [
"openadapt-privacy>=0.1.0",
]
# Sharing via Magic Wormhole
share = [
"magic-wormhole>=0.17.0",
]
# Everything
all = [
"openadapt-capture[transcribe-fast,transcribe,privacy,share]",
]
dev = [
"pytest>=7.0.0",
"pytest-asyncio>=0.23.0",
"pytest-cov>=4.0.0",
"pytest-timeout>=2.0.0",
"ruff>=0.1.0",
"matplotlib>=3.5.0",
"numpy>=1.21.0",
]
[project.scripts]
capture = "openadapt_capture.cli:main"
[project.urls]
Homepage = "https://github.com/OpenAdaptAI/openadapt-capture"
Repository = "https://github.com/OpenAdaptAI/openadapt-capture"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.wheel]
packages = ["openadapt_capture"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "I", "W"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
asyncio_mode = "auto"
markers = [
"slow: marks tests as slow / integration (deselect with '-m \"not slow\"')",
]
[tool.semantic_release]
version_toml = ["pyproject.toml:project.version"]
commit_message = "chore: release {version}"
[tool.semantic_release.branches.main]
match = "main"
[tool.semantic_release.commit_parser_options]
allowed_tags = ["build", "chore", "ci", "docs", "feat", "fix", "perf", "refactor", "style", "test"]
minor_tags = ["feat"]
patch_tags = ["fix", "perf"]
[dependency-groups]
dev = [
"matplotlib>=3.10.8",
"numpy>=2.2.6",
"psutil>=7.2.2",
"pytest>=9.0.2",
]