Skip to main content

dictz

PyPI version crates.io Python versions License: GPL v3+ Platforms GitHub release Downloads GitHub stars

Cross-platform, multi-format, offline dictionary application — a modern GoldenDict-style desktop tool.

dictz ships as two editions with the same features, released together from one tag:

Python edition Rust edition
Install pip install dictz / pipx install dictz cargo install dictz
GUI Qt (PySide6 + QtWebEngine) egui (single native binary)
Source dictz/ dictz-rs/
Portable builds AppImage, Windows zip, macOS .app dictz-rs-* single-file archives

Both read dictionaries identically (checked in CI against shared golden files) and share one data folder, so dictionaries, history and favorites added in one edition appear in the other.

Türkçe açıklama aşağıda

Download

Portable builds for every release live on the GitHub Releases page:

Platform Python edition Rust edition
Windows 10/11 dictz-windows-x86_64.zip → dictz.exe dictz-rs-windows-x86_64.zip → dictz-rs\dictz.exe
Linux (any) dictz-linux-x86_64.AppImage (chmod +x, run) or .tar.gz dictz-rs-linux-x86_64.tar.gz → dictz-rs/dictz
macOS Apple Silicon dictz-macos-arm64.zip → right-click Open dictz.app dictz-rs-macos-arm64.tar.gz → dictz-rs/dictz
macOS Intel pip install dictz / pipx install dictz cargo install dictz

Binaries are unsigned: accept the SmartScreen / Gatekeeper prompt on first launch.

  • PyPI: pip install dictz (or pipx install dictz on PEP-668 distros)
  • crates.io: cargo install dictz (app) · cargo add dictz (library). On Linux, building needs the ALSA headers (libasound2-dev on Debian/Ubuntu).

Check any install with dictz --selftest (exit code 0 = dictionaries can be read).

Highlights

  • Multi-format — StarDict (.ifo), ABBYY Lingvo DSL (.dsl, .dsl.dz), Babylon (.bgl)
  • Multi-dictionary — load any number of dictionaries at once; a single query hits them all
  • Fast — SQLite FTS5 index with Unicode + diacritic-insensitive search
  • Fuzzy search — "did you mean" suggestions when nothing matches; suggestions ranked closest-first
  • Pictures and sounds — DSL [s] media from *.dsl.files/ or *.dsl.files.zip: pictures inline, sounds with one click
  • Offline — no network calls, no telemetry
  • Modern UI — tabbed definitions, dockable sidebar (dictionaries / favorites / history), back/forward navigation, light + dark themes, configurable zoom and fonts
  • Two editions — Python and Rust, same features, same release, shared data
  • Portable — every release ships standalone binaries of both editions for Windows, Linux and macOS (Apple Silicon), each self-tested in CI before publishing

Features at a glance

  • Tabbed definition view — open each lookup in its own tab (Ctrl+T / Ctrl+W / Ctrl+Tab)
  • Live suggestions — debounced as-you-type, powered by FTS5 prefix matching
  • Back / Forward — browser-style history navigation (Alt+Left / Alt+Right)
  • Favorites — star words with Ctrl+D, review them in the sidebar
  • History — every lookup logged, re-openable with one click, clearable with one button
  • Dictionary manager — add / remove / reorder / enable / disable; dictionaries are reopened on the next start
  • Zoom — Ctrl+= / Ctrl+- / Ctrl+0
  • Themes — Light, Dark, Auto
  • Rich HTML — QWebEngineView renders DSL markup with images and formatting

Install (from source)

git clone https://github.com/bayramkotan/dictz.git
cd dictz
pip install -e .          # Python edition
dictz

cd dictz-rs
cargo run --release       # Rust edition

Supported formats

Format Extension Python edition Rust edition
StarDict .ifo / .idx / .dict(.dz) native native
ABBYY Lingvo DSL .dsl / .dsl.dz PyGlossary native (port of PyGlossary's reader)
Babylon .bgl PyGlossary native (port of PyGlossary's reader)

More formats (XDXF, Slob, DictD, MDict) are on the TODO.

Where to find dictionaries

Keyboard shortcuts

Action Shortcut
Focus search box Ctrl+F
Open in current tab Enter
Open in new tab Ctrl+Enter
New tab / Close tab Ctrl+T / Ctrl+W
Next / previous tab Ctrl+Tab / Ctrl+Shift+Tab
Back / Forward Alt+← / Alt+→
Toggle favorite Ctrl+D
Toggle sidebar Ctrl+B
Zoom in / out / reset Ctrl+= / Ctrl+- / Ctrl+0
Preferences Ctrl+,
Add dictionary Ctrl+O
Dictionary manager Ctrl+M
Copy current word Ctrl+Shift+C

Build portable binaries locally

See docs/PACKAGING.md for the full details. Quick version:

# Linux / macOS
bash scripts/build.sh

# Windows PowerShell
scripts\build.ps1

CI builds the same artifacts automatically on every v* tag.

Development

pip install -e ".[dev]"
pytest -v                                  # Python edition

cd dictz-rs && cargo test                  # Rust edition (incl. parity tests)
python tests/data/parity/make_samples.py   # regenerate parity samples + golden files

License

Licensed under the GNU General Public License v3.0 or later.

Author

Bayram Kotan — github.com/bayramkotan


Türkçe

dictz, çoklu format destekli, çevrimdışı çalışan, çapraz platform bir sözlük uygulamasıdır. GoldenDict tarzı modern bir masaüstü aracıdır.

İndir

Her sürüm için portable paketler GitHub Releases sayfasında:

  • Windows 10/11 — dictz-windows-x86_64.zip → aç, dictz.exe'yi çalıştır
  • Linux — dictz-linux-x86_64.AppImage → chmod +x ve çalıştır
  • macOS (Apple Silicon) — dictz-macos-arm64.zip; Intel Mac için pipx install dictz

Veya PyPI: pip install dictz (veya pipx install dictz).

Rust sürümü — aynı özellikler, tek dosya: cargo install dictz veya Releases sayfasındaki dictz-rs-* arşivleri. İki sürüm aynı veri klasörünü kullanır; sözlükler, geçmiş ve favoriler ortaktır.

Öne çıkanlar

  • Çoklu format — StarDict, DSL, Babylon
  • Çoklu sözlük — tek arama hepsinde çalışır
  • Hızlı — SQLite FTS5 + diakritik duyarsız
  • Bulanık arama — sonuç yoksa "Bunu mu demek istediniz?" önerileri
  • Resim ve ses — DSL [s] dosyaları (*.dsl.files/ veya *.dsl.files.zip)
  • Çevrimdışı — ağ yok, telemetri yok
  • Modern arayüz — sekmeler, dock, favoriler, geçmiş, koyu/açık tema
  • İki sürüm — Python ve Rust, aynı özellikler, aynı sürüm numarası
  • Portable — Windows/Linux/macOS için iki sürümün de binary'leri her release'te

Lisans

GNU General Public License v3.0 veya sonrası.

Metadata

Release files for dictz 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dictz 0.0.6
File Size Uploaded Provenance Actions
dictz-0.0.6.tar.gz 53.2 kB Without provenance Details for dictz-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for dictz 0.0.6
File Interpreter ABI Platform Actions
dictz-0.0.6-py3-none-any.whl Python 3 none any Details for dictz-0.0.6-py3-none-any.whl

Total release size: 96.4 kB

Release files / dictz-0.0.6.tar.gz

Download URL dictz-0.0.6.tar.gz
Size 53.2 kB
Tags Source
SHA-256 checksum
How to use checksums
d004f9bef97b5a78080749e2b1a251fd1cd7ff57bbe4d32afc0db5e90b4cfd6d
BLAKE2b-256 checksum
How to use checksums
753fa522023618328b37727832d1e1ee836ac4882ddca8018074d7818e548336
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / dictz-0.0.6-py3-none-any.whl

Download URL dictz-0.0.6-py3-none-any.whl
Size 43.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b1103be23a76936fdd8c977b240ae00a559addc6d6cce6b2bf41ce1196cb3ff6
BLAKE2b-256 checksum
How to use checksums
87ff0e02152364b6a9163ecfd595ccaa150f9613d5b530ab653c5b99b55ff357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for dictz 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page