voxa-dub 1.0.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- voxa_dub-1.0.1/LICENSE +21 -0
- voxa_dub-1.0.1/NOTICE.md +127 -0
- voxa_dub-1.0.1/PKG-INFO +627 -0
- voxa_dub-1.0.1/README.md +569 -0
- voxa_dub-1.0.1/pyproject.toml +86 -0
- voxa_dub-1.0.1/setup.cfg +4 -0
- voxa_dub-1.0.1/tests/test_golden.py +128 -0
- voxa_dub-1.0.1/tests/test_settings.py +435 -0
- voxa_dub-1.0.1/tests/test_voxa.py +1271 -0
- voxa_dub-1.0.1/voxa.py +2997 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/PKG-INFO +627 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/SOURCES.txt +15 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/dependency_links.txt +1 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/entry_points.txt +2 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/requires.txt +32 -0
- voxa_dub-1.0.1/voxa_dub.egg-info/top_level.txt +2 -0
- voxa_dub-1.0.1/voxa_server.py +818 -0
voxa_dub-1.0.1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Akshin Miranov
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
voxa_dub-1.0.1/NOTICE.md
ADDED
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# Third-Party Notices
|
|
2
|
+
|
|
3
|
+
**Voxa** is released under the [MIT License](LICENSE).
|
|
4
|
+
|
|
5
|
+
Voxa **does not bundle or redistribute any model weights or third-party source code**.
|
|
6
|
+
It orchestrates tools and models that you install and run yourself. The licenses of those
|
|
7
|
+
components are their own, and some of them are **more restrictive than Voxa's MIT license**.
|
|
8
|
+
|
|
9
|
+
Read this file before using Voxa commercially.
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
## 1. Quick answer: what is safe for commercial use?
|
|
14
|
+
|
|
15
|
+
| Configuration | Commercially usable? | Why |
|
|
16
|
+
|---|:---:|---|
|
|
17
|
+
| `--tts piper` + `--translator ollama` | ✅ Yes | Fully offline, permissive licenses |
|
|
18
|
+
| `--tts openai` + `--translator openai` | ✅ Yes | Paid API under OpenAI's commercial terms |
|
|
19
|
+
| `--tts edge` (default) | ⚠️ Grey area | Uses an **unofficial** Microsoft endpoint (see §3) |
|
|
20
|
+
| `--translator google` (default) | ⚠️ Grey area | Uses an **unofficial** Google endpoint (see §3) |
|
|
21
|
+
| `--tts xtts` | ❌ **No** | XTTS-v2 model weights are **non-commercial only** (see §4) |
|
|
22
|
+
|
|
23
|
+
> **The default configuration (`--tts edge --translator google`) is convenient for personal use
|
|
24
|
+
> but is NOT recommended for a commercial product.** Prefer `openai`/`anthropic` translation and
|
|
25
|
+
> `openai` or `piper` synthesis, or a self-hosted OpenAI-compatible endpoint.
|
|
26
|
+
|
|
27
|
+
---
|
|
28
|
+
|
|
29
|
+
## 2. Runtime dependencies
|
|
30
|
+
|
|
31
|
+
Licenses below were read from the installed package metadata.
|
|
32
|
+
|
|
33
|
+
### Required
|
|
34
|
+
|
|
35
|
+
| Package | Role | License |
|
|
36
|
+
|---|---|---|
|
|
37
|
+
| [openai-whisper](https://github.com/openai/whisper) | Speech recognition | MIT |
|
|
38
|
+
| [edge-tts](https://github.com/rany2/edge-tts) | Default TTS engine | **LGPL-3.0** |
|
|
39
|
+
| [deep-translator](https://github.com/nidhaloff/deep-translator) | Google translation backend | MIT |
|
|
40
|
+
| [openai](https://github.com/openai/openai-python) | OpenAI API client | Apache-2.0 |
|
|
41
|
+
| [anthropic](https://github.com/anthropics/anthropic-sdk-python) | Anthropic API client | MIT |
|
|
42
|
+
| [torch](https://github.com/pytorch/pytorch) / torchaudio | Inference runtime | BSD-3-Clause |
|
|
43
|
+
| [soundfile](https://github.com/bastibe/python-soundfile) | Audio I/O | BSD-3-Clause (libsndfile: LGPL) |
|
|
44
|
+
| [noisereduce](https://github.com/timsainb/noisereduce) | Source-audio denoising | MIT |
|
|
45
|
+
| [numpy](https://numpy.org/) | Numerics | BSD-3-Clause |
|
|
46
|
+
| [tqdm](https://github.com/tqdm/tqdm) | Progress bars | MPL-2.0 AND MIT |
|
|
47
|
+
| [requests](https://requests.readthedocs.io/) | Ollama HTTP calls | Apache-2.0 |
|
|
48
|
+
|
|
49
|
+
### Optional
|
|
50
|
+
|
|
51
|
+
| Package | Enables | License |
|
|
52
|
+
|---|---|---|
|
|
53
|
+
| [piper-tts](https://github.com/rhasspy/piper) | `--tts piper` | MIT |
|
|
54
|
+
| [coqui-tts](https://github.com/idiap/coqui-ai-TTS) | `--tts xtts` | MPL-2.0 (toolkit only) |
|
|
55
|
+
| [faster-whisper](https://github.com/SYSTRAN/faster-whisper) | `--whisper-backend faster` | MIT |
|
|
56
|
+
|
|
57
|
+
### ⚠️ Copyleft dependencies you should know about
|
|
58
|
+
|
|
59
|
+
- **`edge-tts` is LGPL-3.0.** Importing it without modification is generally compatible with an
|
|
60
|
+
MIT application, provided users remain able to replace the library. Do not vendor a modified
|
|
61
|
+
copy without complying with the LGPL. To ship a fully permissive bundle, use `--tts openai`
|
|
62
|
+
or `--tts piper` and do not install `edge-tts`.
|
|
63
|
+
|
|
64
|
+
> **Removed:** Voxa used to require `pysrt` (GPL-3.0) for a single call — reading back the
|
|
65
|
+
> subtitle file it had just written itself. That call was replaced with a small built-in SubRip
|
|
66
|
+
> parser, so **no GPL-licensed package is required to run Voxa.**
|
|
67
|
+
|
|
68
|
+
---
|
|
69
|
+
|
|
70
|
+
## 3. Unofficial service endpoints
|
|
71
|
+
|
|
72
|
+
Two default backends talk to endpoints that are **not officially published APIs**:
|
|
73
|
+
|
|
74
|
+
- **`edge-tts`** speaks to Microsoft's internal Edge "Read Aloud" speech service. It is not a
|
|
75
|
+
supported public API, has no SLA, and can break without notice — versions below `7.0` are
|
|
76
|
+
already rejected with HTTP 403. For a supported, commercially licensed equivalent, use
|
|
77
|
+
Azure Cognitive Services Speech.
|
|
78
|
+
- **`deep-translator`'s Google backend** scrapes the public Google Translate web endpoint. It is
|
|
79
|
+
not the paid Google Cloud Translation API.
|
|
80
|
+
|
|
81
|
+
Using them is your decision and your risk. For production or commercial work, prefer an official,
|
|
82
|
+
paid API (OpenAI / Anthropic for translation; OpenAI TTS or Azure Speech for synthesis).
|
|
83
|
+
|
|
84
|
+
---
|
|
85
|
+
|
|
86
|
+
## 4. Models
|
|
87
|
+
|
|
88
|
+
Voxa downloads models at runtime; it never ships weights.
|
|
89
|
+
|
|
90
|
+
| Model | License | Commercial use |
|
|
91
|
+
|---|---|---|
|
|
92
|
+
| Whisper weights (OpenAI) | MIT | ✅ Allowed |
|
|
93
|
+
| Piper voices | Per-voice (commonly MIT / CC-BY) | ✅ Check the individual voice |
|
|
94
|
+
| **XTTS-v2 weights (Coqui)** | **Coqui Public Model License (CPML) 1.0** | ❌ **Non-commercial only** |
|
|
95
|
+
|
|
96
|
+
### About XTTS
|
|
97
|
+
|
|
98
|
+
Coqui Inc. **ceased operations in January 2024**. Consequences:
|
|
99
|
+
|
|
100
|
+
1. The original `TTS` PyPI package is **unmaintained**. Voxa's optional extra installs the
|
|
101
|
+
community-maintained fork [`coqui-tts`](https://github.com/idiap/coqui-ai-TTS) instead.
|
|
102
|
+
2. The XTTS-v2 **model weights remain under CPML, which permits non-commercial use only**, and
|
|
103
|
+
because the company no longer exists, **there is no party from whom a commercial license can
|
|
104
|
+
be obtained.**
|
|
105
|
+
|
|
106
|
+
If you need voice cloning for a commercial product, XTTS is not a viable path. Consider an
|
|
107
|
+
MIT-licensed alternative such as [Chatterbox](https://github.com/resemble-ai/chatterbox), served
|
|
108
|
+
behind an OpenAI-compatible endpoint.
|
|
109
|
+
|
|
110
|
+
---
|
|
111
|
+
|
|
112
|
+
## 5. External APIs
|
|
113
|
+
|
|
114
|
+
`--translator openai`, `--translator anthropic` and `--tts openai` send your transcript and/or
|
|
115
|
+
text to third-party services under their own terms of service and pricing. Voxa never transmits
|
|
116
|
+
your API keys anywhere except to the corresponding provider.
|
|
117
|
+
|
|
118
|
+
For a fully offline pipeline that sends nothing over the network, use:
|
|
119
|
+
|
|
120
|
+
```bash
|
|
121
|
+
voxa video.mp4 --translator ollama --tts piper
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
---
|
|
125
|
+
|
|
126
|
+
*If you believe any license above is stated incorrectly, please open an issue — accuracy here
|
|
127
|
+
matters more than convenience.*
|