pyglossary
A tool for converting dictionary files aka glossaries. Mainly to help use our offline glossaries in any Open Source dictionary we like on any operating system / device.
File Explorer
Download Latest Version (.zip)- release-notes.mdc
- uv-python.mdc
- feature-request.md
- prepare-env-vars.sh
- __init__.py
- copy_assets.py
- inno_setup.iss
- install-deps.py
- nuitka-build.py
- patch_sources.py
- inno_setup.iss
- __init__.py
- check-max-blob-size.sh
- create-release.sh
- build-macos-slint.yml
- build-macos.yml
- build-windows-slint.yml
- build-windows-wx.yml
- build-windows.yml
- codeql.yml
- max-blob-size.yml
- pip-mac.yml
- pypi-release.yml
- ruff.yml
- test-deprecated.yml
- test.yml
- validate.yml
- __init__.py
- bgl-info.md
- BGL.svgz
- README.rst
- csv-create.py
- any_to_txt.py
- custom-writer-csv.py
- custom-writer-epub2.py
- custom-writer-stardict.py
- oxford.py
- py-to-stardict.py
- MDD.svgz
- MDX.svgz
- README.md
- __index__.md
- aard2_slob.md
- almaany.md
- anki_apkg.md
- appledict.md
- appledict_bin.md
- ayandict_sqlite.md
- babylon_bgl.md
- cc_kedict.md
- crawler_dir.md
- csv.md
- dicformids.md
- dict_cc.md
- dict_cc_source.md
- dict_cc_split.md
- dict_org.md
- dict_org_source.md
- dictunformat.md
- digitalnk.md
- dikt_json.md
- dsl.md
- edict2.md
- edlin.md
- epub2.md
- epwing.md
- freedict.md
- freedict_md.md
- gettext_po.md
- html_dir.md
- info.md
- jmdict.md
- jmnedict.md
- json.md
- kobo.md
- kobo_dictfile.md
- lingoes_ldf.md
- makindo_medical.md
- mobi.md
- octopus_mdict.md
- pocketbook_sdic.md
- quickdic6.md
- sql.md
- stardict.md
- stardict_merge_syns.md
- stardict_textual.md
- tabfile.md
- tmx.md
- wiktextract.md
- wordfrequency.md
- wordnet.md
- wordset.md
- xdxf.md
- xdxf_css.md
- xdxf_lax.md
- xliff.md
- yomichan.md
- zim.md
- 3.0.0.md
- 3.0.1.md
- 3.0.2.md
- 3.0.3.md
- 3.0.4.md
- 3.1.0.md
- 3.2.0.md
- 3.2.1.md
- 3.3.0.md
- 4.0.0.md
- 4.1.0.md
- 4.2.0.md
- 4.2.1.md
- 4.3.0.md
- 4.4.0.md
- 4.4.1.md
- 4.5.0.md
- 4.6.0.md
- 4.6.1.md
- 4.7.0.md
- 4.7.1.md
- 5.0.0.md
- 5.0.1.md
- 5.0.10.md
- 5.0.2.md
- 5.0.3.md
- 5.0.4.md
- 5.0.6.md
- 5.0.7.md
- 5.0.8.md
- 5.0.9.md
- 5.1.0.md
- 5.1.1.md
- 5.2.0.md
- 5.2.1.md
- 5.3.0.md
- 5.4.0.md
- 5.4.1.md
- 5.4.2.md
- sametypesequence.md
- apple.md
- config.rst
- entry-filters.md
- gtk3.md
- gtk4.md
- internals.md
- lib-usage.md
- lzo.md
- pyicu.md
- sort-key.md
- tabfile-spec.md
- term-colors.md
- termux.md
- tkinter.md
- pyglossary.desktop
- index.json
- __init__.py
- langs.json
- langs.py
- writing_system.py
- __init__.py
- dictdlib.py
- mutf8.py
- pureSalsa20.py
- readmdict.py
- ripemd128.py
- __init__.py
- meta.py
- reader.py
- tags.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- __init__.py
- ru.py
- zh.py
- dict-struct.rng
- AppleDictionarySchema.rng
- readme.html
- __init__.py
- __main__.py
- main.py
- Dictionary.css
- Info.plist
- Makefile
- __init__.py
- _content.py
- _dict.py
- _normalize.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- appledict_file_tools.py
- appledict_properties.py
- article_address.py
- key_data.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- __init__.py
- bgl_charset.py
- bgl_gzip.py
- bgl_info.py
- bgl_internal_test.py
- bgl_language.py
- bgl_pos.py
- bgl_text.py
- gzip_no_crc.patch
- options.py
- reader.py
- reader_charset.py
- reader_data.py
- reader_debug.py
- reader_defi.py
- reader_entries.py
- reader_io.py
- reader_meta.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- field_parser.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- __init__.py
- writer.py
- __init__.py
- _types.py
- lex.py
- reader.py
- test.py
- title.py
- tools.toml
- transform.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- conv.py
- pinyin.py
- reader.py
- summarize.py
- util.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- converter.py
- reader.py
- tools.toml
- __init__.py
- __init__.py
- options.py
- reader.py
- tools.toml
- utils.py
- __init__.py
- md_emit.py
- reader.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- collates.txt
- keyboard.txt
- morphems.txt
- __init__.py
- writer.py
- __init__.py
- commons.py
- comparator.py
- quickdic.py
- read_funcs.py
- reader.py
- tools.toml
- write_funcs.py
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- memlist.py
- reader.py
- sd_types.py
- sqlist.py
- tools.toml
- writer.py
- __init__.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- tools.toml
- writer.py
- __init__.py
- reader.py
- writer.py
- __init__.py
- reader.py
- __init__.py
- reader.py
- zh_utils.py
- __init__.py
- reader.py
- __init__.py
- reader.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- tools.toml
- __init__.py
- reader.py
- __init__.py
- reader.py
- __init__.py
- reader.py
- __init__.py
- reader.py
- tools.toml
- types.py
- writer.py
- __init__.py
- reader.py
- tools.toml
- __init__.py
- __init__.py
- LICENSE
- repro_zipfile.py
- __init__.py
- _binary.py
- _blob.py
- _collate.py
- _compressions.py
- _constants.py
- _exceptions.py
- _header.py
- _item_lists.py
- _multifile.py
- _slob_obj.py
- _struct.py
- _types.py
- _writer.py
- core_test.py
- test.py
- __init__.py
- dicformids.py
- ebook.py
- ebook_length3.py
- headword.py
- headword_bytes_lower.py
- headword_lower.py
- random.py
- stardict.py
- __init__.py
- about.py
- resize_button.py
- utils.py
- __init__.py
- progressbar.py
- widgets.py
- __init__.py
- argparse_config_flags_test.py
- logging_helpers.py
- terminal_theme_test.py
- ui_cmd_interactive_test.py
- ui_cmd_test.py
- __init__.py
- colors.py
- diff_glossary.py
- format_entry.py
- view_glossary.py
- word_diff.py
- __init__.py
- checkbox.py
- conversion_session.py
- history.py
- interactive_prompt.py
- path_comp.py
- prompt.py
- ui.py
- __init__.py
- about.py
- browse.py
- console.py
- file_widgets.py
- format_widgets.py
- general_options.py
- info.py
- log_handler.py
- mainwin.py
- sort_options.py
- ui.py
- utils.py
- __init__.py
- about.py
- constants.py
- format_widgets.py
- general_options.py
- info.py
- log_handler.py
- macos_icons.py
- qt_imports.py
- sort_helpers.py
- ui.py
- __init__.py
- alert_dialog.py
- dialogs.slint
- format_picker.py
- general_options.py
- info_dialog.py
- log_handler.py
- main_window.slint
- options_dialog.py
- theme_dialog.py
- ui.png
- ui.py
- utils.py
- __init__.py
- about.py
- format_widgets.py
- general_options.py
- info.py
- log_handler.py
- progressbar.py
- sort_options.py
- ui.py
- utils.py
- __init__.py
- browse.html
- favicon.ico
- index.html
- minimal-theme-switcher.js
- pico.green.min.css
- ui_controller.py
- weblog.py
- websocket_handler.py
- websocket_main.py
- websocket_server.py
- __init__.py
- about.py
- constants.py
- format_widgets.py
- general_options.py
- info.py
- log_handler.py
- macos_icons.py
- sort_helpers.py
- ui.py
- __init__.py
- LICENSE
- table_vs16.py
- table_wide.py
- table_zero.py
- unicode_versions.py
- wcwidth.py
- __init__.py
- argparse_main.py
- argparse_utils.py
- base.py
- config.py
- dependency.py
- main.py
- option_ui.py
- pbar_legacy.py
- pbar_tqdm.py
- runner.py
- termcolors.py
- terminal_theme.py
- ui_cmd.py
- ui_gtk3.py
- ui_tk_wizard.py
- version.py
- __init__.py
- css_js_transform.py
- py_transform.py
- xdxf.css
- xdxf.js
- xdxf.xsl
- xsl_transform.py
- __init__.py
- apple_utils.py
- arabic_utils.py
- compress.py
- config_type.py
- core.py
- core_test.py
- ebook_base.py
- entry.py
- entry_base.py
- entry_filters.py
- entry_list.py
- entry_merge.py
- file_utils.py
- flags.py
- glossary.py
- glossary_creator.py
- glossary_info.py
- glossary_progress.py
- glossary_types.py
- glossary_utils.py
- glossary_v1.py
- glossary_v2.py
- gregorian.py
- html_utils.py
- icu_types.py
- image_utils.py
- info.py
- info_writer.py
- io_utils.py
- iter_utils.py
- json_utils.py
- logger.py
- lxml_types.py
- option.py
- os_utils.py
- persian_utils.py
- plugin_handler.py
- plugin_prop.py
- queued_iter.py
- reverse.py
- sdsqlite.py
- sort_keys.py
- sort_keys_types.py
- sq_entry_list.py
- stardict_creator.py
- text_reader.py
- text_utils.py
- text_writer.py
- ui_type.py
- xml_utils.py
- pyglossary.svg
- author-22.png
- dialog-information-22.png
- license-22.png
- pyglossary-256x256.png
- pyglossary.icns
- pyglossary.ico
- pyglossary.png
- pyglossary.svg
- resize.png
- resources.xml
- fix-css.py
- plist-to-json.py
- copy_assets.py
- make-dmg.sh
- Makefile
- nuitka-build.sh
- patch_sources.py
- prepare-deps.sh
- build.sh
- Makefile
- collect-coverage.sh
- coverage-pr-comment.py
- get-ruff.sh
- no-diff.sh
- test-deprecated.sh
- test.sh
- create-release-notes.py
- fetch-github-refs.py
- github-build
- github-refs.csv
- local-build
- validate-release-tag.py
- replace-newline.py
- config-doc.py
- entry-filters-doc.py
- plugin-doc.py
- plugin-index.py
- requirements.py
- term-colors.json
- extract-schema.py
- sort-jsonl.py
- check-python-version
- check-shell-scripts.sh
- create-conf-dir.py
- diff-glossary
- docker-deb-setup.sh
- extract-words.py
- gen
- get-unlisted-formats.sh
- glos-find-bar-words.py
- lang-from-name-info-file
- lang-from-name.py
- mypy-deps.sh
- plugin-validate.py
- pyproject-validate.py
- run_ubuntu_workflows_docker.py
- test-cover-html-plugin.sh
- test-cover-html.sh
- test-deprecated.sh
- test-deps.sh
- test-glossary.sh
- test-ui-cover.sh
- test-ui.sh
- test.sh
- type-checker-deps.sh
- update-plugin-internal-imports-doc.py
- version
- version-core
- version-set.py
- view-glossary
- view-glossary-plaintext
- wiki-formats.py
- 004-bar-sort.txt
- 004-bar.txt
- 004-bar.txt.bgl
- 006-empty-filtered.txt
- 006-empty.txt
- 02-sample-ns.xlf
- 02-sample.tmx
- 02-sample.xlf
- 02-yomichan-deinflection.zip
- 100-cyber_lexicon_en-es-v4.txt
- 100-en-de-v4.txt
- 100-en-fa-v2.info
- 100-en-fa.txt
- 100-en-fa.txt.bgl
- 100-ja-en.txt
- __init__.py
- g_legacy_csv_test.py
- glossary_errors_test.py
- glossary_security_test.py
- glossary_test.py
- __init__.py
- apple_utils_test.py
- dictzip_test.py
- ebook_kobo_test.py
- edict2_test.py
- entry_test.py
- g_aard2_slob_r_test.py
- g_aard2_slob_w_test.py
- g_anki_apkg_test.py
- g_appledict_bin_test.py
- g_appledict_test.py
- g_babylon_bgl_test.py
- g_babylon_bgl_writer_test.py
- g_csv_plugin_test.py
- g_dicformids_test.py
- g_dict_org_source_test.py
- g_dict_org_test.py
- g_dictunformat_test.py
- g_dsl_test.py
- g_ebook_epub2_test.py
- g_edict2_test.py
- g_freedict_test.py
- g_gettext_po_test.py
- g_jmdict_test.py
- g_json_test.py
- g_kobo_dictfile_test.py
- g_kobo_test.py
- g_lingoes_ldf_test.py
- g_pocketbook_sdic_test.py
- g_quickdic6_test.py
- g_sql_test.py
- g_stardict_merge_syns_test.py
- g_stardict_sort_test.py
- g_stardict_test.py
- g_stardict_textual_test.py
- g_wiktextract_test.py
- g_xdxf_css_test.py
- g_xdxf_lax_test.py
- g_xdxf_test.py
- g_yomichan_test.py
- glossary_v2_errors_test.py
- glossary_v2_security_test.py
- glossary_v2_test.py
- gregorian_test.py
- html_utils_test.py
- name_langs_test_data.py
- option_test.py
- pocketbook_sdic_test.py
- stardict_test.py
- text_utils_test.py
- unused_test.py
- xml_utils_test.py
- .gitignore
- .sh-list
- __init__.py
- _license-dialog
- about
- ARCHITECTURE.md
- AUTHORS
- CLAUDE.md
- CODE_OF_CONDUCT.md
- config.json
- CONTRIBUTING.md
- Dockerfile
- help
- LICENSE
- main.py
- pyproject.toml
- README.md
- requirements-test.txt
- requirements.txt
- run-with-docker.sh
- setup.py
# Installation Guide
1. Get the code
git clone https://github.com/ilius/pyglossary
Downloads the entire project code from GitHub to your computer.
cd pyglossary
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t pyglossary .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 pyglossary
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Python
EasyPrerequisites
- Requires: `pip install prompt_toolkit`
Installs the Python libraries listed in requirements.txt (or similar).
If it runs without errors and prints output in the terminal, it worked.
Pulled directly from this repo's README.
4. Make
MediumPrerequisites
- Git Needed to download the project code from GitHub.
- Make Usually pre-installed on Linux/macOS. On Windows, install separately (e.g. via MSYS2 or WSL).
โ ๏ธ This is a large repository, so this method may point to an internal sub-package rather than the actual core product. Check the full README as well.
cd scripts/ci/mac-slint
This project's files live in a subfolder, so move into it first.
make
Compiles the code based on the generated build configuration to produce an executable.
If it finishes without errors, it worked. Try running the generated executable directly.
// repository documentation
Was this content helpful?
(0 ratings)
