YazSes
Copyright 2025-2026 Mohsen Seyedkazemi Ardebili

This product is licensed under the Apache License, Version 2.0.
You may obtain a copy of the License at:

    http://www.apache.org/licenses/LICENSE-2.0

This NOTICE file must be preserved in all copies or substantial
portions of the software, in accordance with the Apache License 2.0.

---

If YazSes is useful to you, please consider:
- Starring the repository: https://github.com/MSKazemi/yazses
- Citing it in your work using CITATION.cff
- Mentioning it in blog posts, talks, or documentation

---

## Third-party components

YazSes is Apache-2.0. The published binaries (the Windows `.exe`, the macOS
`.dmg`) are frozen bundles built with PyInstaller, so they redistribute the
libraries below. All are OSI-approved open source; none is proprietary.

| Component | Licence | Source |
|---|---|---|
| faster-whisper | MIT | https://github.com/SYSTRAN/faster-whisper |
| CTranslate2 | MIT | https://github.com/OpenNMT/CTranslate2 |
| onnxruntime | MIT | https://github.com/microsoft/onnxruntime |
| tokenizers | Apache-2.0 | https://github.com/huggingface/tokenizers |
| huggingface-hub | Apache-2.0 | https://github.com/huggingface/huggingface_hub |
| sounddevice | MIT | https://github.com/spatialaudio/python-sounddevice |
| NumPy | BSD-3-Clause | https://github.com/numpy/numpy |
| Typer | MIT | https://github.com/fastapi/typer |
| platformdirs | MIT | https://github.com/tox-dev/platformdirs |
| cryptography | Apache-2.0 OR BSD-3-Clause | https://github.com/pyca/cryptography |
| PyAV | BSD-3-Clause | https://github.com/PyAV-Org/PyAV |
| Pillow | MIT-CMU | https://github.com/python-pillow/Pillow |
| pywin32 (Windows) | PSF | https://github.com/mhammond/pywin32 |
| **pystray (Windows)** | **LGPL-3.0** | https://github.com/moses-palmer/pystray |
| **PySide6 / Qt for Python (Windows and macOS bundles)** | **LGPL-3.0-only** (offered as `LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only`; YazSes uses it under the LGPL) | https://code.qt.io/cgit/pyside/pyside-setup.git |
| whisper-normalizer (ported to Kotlin, `:core:bench`) | MIT | https://github.com/kurianbenoy/whisper_normalizer |

### A note on PySide6 (Qt) and the LGPL

The Windows `.exe` and the macOS `.dmg` are built with the `desktop` extra, which is
**PySide6** (Qt for Python). It draws the voice-activity overlay, the tray and the
Settings window, and it is redistributed inside both bundles. Qt for Python is offered
under `LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only`; YazSes uses it under the
**LGPL-3.0**. The same two asks apply as for `pystray` below, and the same route to the
second: YazSes is a Python application, so `pipx install "yazses[desktop]"` (or running
from this repository) uses whichever PySide6 you install, and you may replace it with
your own build. Headless installs do not include it; it is an optional extra.

### A note on pystray and the LGPL

`pystray` draws the Windows tray icon and is **LGPL-3.0**, not permissive like
everything else here. The Windows `.exe` is a single-file PyInstaller bundle, so
that library is redistributed inside it.

The LGPL asks two things of anyone distributing such a combined work: say so, and
let the recipient replace the library with their own build of it. This section is
the first. For the second, the practical route is that YazSes is a Python
application — the bundle contains `pystray` as ordinary importable Python, and
running YazSes from source (`pipx install yazses`, or from this repository) uses
whatever `pystray` you install, which you may modify freely.

Setting `[tray] enabled = false` stops YazSes *using* the tray, but does not
remove the library from an already-built `.exe` -- the bundle still contains it.
A genuinely pystray-free Windows build means excluding it at build time in
`packaging/windows/yazses.spec`, which the published binaries do not do.

This note is a good-faith description, not legal advice.
