-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathpyproject.toml
More file actions
169 lines (145 loc) · 4.83 KB
/
pyproject.toml
File metadata and controls
169 lines (145 loc) · 4.83 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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
[build-system]
requires = ["setuptools>=65.0", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "supervertaler"
version = "1.9.482"
description = "Professional AI-enhanced translation workbench with multi-LLM support, termbase system, TM, spellcheck, voice commands, and PyQt6 interface. Batteries included (core)."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [
{name = "Michael Beijer", email = "info@michaelbeijer.co.uk"},
]
maintainers = [
{name = "Michael Beijer", email = "info@michaelbeijer.co.uk"},
]
keywords = [
"translation",
"CAT",
"CAT-tool",
"AI",
"LLM",
"GPT",
"Claude",
"Gemini",
"Ollama",
"glossary",
"termbase",
"translation-memory",
"TM",
"PyQt6",
"localization",
"memoQ",
"Trados",
"SDLPPX",
"XLIFF",
"voice-commands",
"spellcheck",
]
classifiers = [
"Development Status :: 4 - Beta",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Operating System :: OS Independent",
"Operating System :: Microsoft :: Windows",
"Operating System :: POSIX :: Linux",
"Intended Audience :: End Users/Desktop",
"Topic :: Office/Business",
"Topic :: Text Processing :: Linguistic",
"Environment :: X11 Applications :: Qt",
]
dependencies = [
# Core UI Framework
"PyQt6>=6.5.0",
"PyQt6-WebEngine>=6.5.0",
# Document Processing
"python-docx>=0.8.11",
"openpyxl>=3.1.0",
"Pillow>=10.0.0",
"lxml>=4.9.0",
# AI/LLM Providers (core - lightweight clients)
"openai>=1.0.0",
"anthropic>=0.7.0",
"google-generativeai>=0.3.0",
"requests>=2.28.0",
# Document Conversion & Analysis
"markitdown>=0.0.1",
# Translation Quality Metrics (Superbench)
"sacrebleu>=2.3.1",
# Clipboard Operations
"pyperclip>=1.8.2",
# Encoding repair (optional in code, included by default)
"chardet>=5.0.0",
# YAML Support
"pyyaml>=6.0.0",
# Markdown Rendering
"markdown>=3.4.0",
# Basic Spellchecking (lightweight, works offline)
"pyspellchecker>=0.7.0",
# Voice dictation/commands
"sounddevice>=0.4.6",
"numpy>=1.24.0",
# PDF text extraction
"PyMuPDF>=1.23.0",
# MT providers
"boto3>=1.28.0",
"deepl>=1.15.0",
# Advanced spellcheck (Hunspell via pure Python)
"spylls>=0.1.7",
# Cross-platform global hotkeys and keyboard control
"pynput>=1.7.6",
# Windows-only AutoHotkey support for Dicta keystroke commands
"ahk>=1.0.0; platform_system == 'Windows'",
"psutil>=5.9.0",
# Voice recognition – both engines are now core deps so AutoFingers
# works out of the box without any "[local-whisper]" extra dance.
# Vosk is the default always-on engine (lightweight, free, commands-only,
# ~15 MB wheel + ~40 MB model on first use). faster-whisper handles
# running-text dictation (push-to-talk) and the optional always-on
# Whisper backend (~30 MB ctranslate2 wheel + model on first use).
"vosk>=0.3.44",
"faster-whisper>=1.0.0",
]
[project.optional-dependencies]
# All extras kept as no-ops for backward compatibility – installing
# ``supervertaler[local-whisper]`` is harmless on existing setups but
# the underlying package is now a core dep. Since v1.9.474 the
# Workbench has stopped advertising any modular install paths;
# `pip install supervertaler` gives the full surface area in one go.
# The empty buckets are preserved here only so existing scripts that
# request specific extras don't fail at install time.
local-whisper = []
voice = []
web = []
pdf = []
mt = []
hunspell = []
windows = []
core = []
all = []
[project.urls]
Homepage = "https://supervertaler.com"
Repository = "https://github.com/Supervertaler/Supervertaler-Workbench.git"
"Bug Tracker" = "https://github.com/Supervertaler/Supervertaler-Workbench/issues"
Changelog = "https://github.com/Supervertaler/Supervertaler-Workbench/blob/main/CHANGELOG.md"
Documentation = "https://github.com/Supervertaler/Supervertaler-Workbench/blob/main/AGENTS.md"
"Author Website" = "https://michaelbeijer.co.uk"
[project.gui-scripts]
# Normal launcher — Windows GUI subsystem, no terminal window attached.
# Most users want this: pip-installed `supervertaler` runs silently.
supervertaler = "Supervertaler:main"
[project.scripts]
# Debug launcher — Windows console subsystem, terminal window visible so
# stdout/stderr (all the [LOG] lines) are usable. Invoke via
# `supervertaler-debug` when you need to see crashes or diagnostic output.
supervertaler-debug = "Supervertaler:main"
[tool.setuptools]
py-modules = ["Supervertaler"]
include-package-data = true
[tool.setuptools.packages.find]
where = ["."]
include = ["modules*"]