Skip to main content

plover-sqlite-dictionary

SQLite-based dictionary format for Plover. Consumes less memory for large dictionaries.

Why?

  • Reduce memory (RAM) consumption. (however, the word list for orthography suffix rules and Qt modules still take a considerable amount of RAM)
  • Faster loading/startup speed.

Note

The SQL dictionary format is not completely compatible with Plover's API specification, the plugin may fail to work properly in future Plover versions.

Usage

There are two possible file formats:

  • SQLite-based: .sql extension.

    Use the "New dictionary" feature in Plover to create one, or "Save dictionary as..." feature to convert from other dictionary formats.

    Note:

    • If there's a table named readonly (the content doesn't matter), the dictionary will be considered read-only.

      Because of a Plover bug, modifying the dictionary file and reloading the dictionary in Plover might not update the read-only status.

    • The file size is larger than the size of a JSON dictionary.

    • When an entry in the file on the disk is changed, it's automatically updated into Plover.

    • When the dictionary is deleted on disk, attempt to modify the dictionary in Plover will cause "attempt to write a readonly database" error; otherwise, the dictionary remains usable.

    • It's possible to have additional columns for auxiliary entries if:

      • There's no attempt to modify the dictionary, or
      • All the additional columns have default values set (or default to null).
  • JSON: stored as plain JSON file on disk. .jssql extension.

    Note: This format takes longer to load than normal JSON dictionary.

    Can be used like a normal Plover dictionary.

Release files for plover-sqlite-dictionary 0.3.0

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

Source distribution (sdist)

Source distribution for plover-sqlite-dictionary 0.3.0
File Size Uploaded
plover-sqlite-dictionary-0.3.0.tar.gz 17.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for plover-sqlite-dictionary 0.3.0
File Interpreter ABI Platform
plover_sqlite_dictionary-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 32.5 kB

Release files / plover-sqlite-dictionary-0.3.0.tar.gz

Download URL plover-sqlite-dictionary-0.3.0.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3b14277d22aa12d6c4fc3717142a3a24db2a43ad7f5a27666a1abfb42f307647
BLAKE2b-256 checksum
How to use checksums
11b2d558fc179f9deb434d58dc40eb250ca1db6f1625bf99130cfdc171f28b2c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

Release files / plover_sqlite_dictionary-0.3.0-py3-none-any.whl

Download URL plover_sqlite_dictionary-0.3.0-py3-none-any.whl
Size 15.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a323c52b2ad460e7a452b1ef86d84c972c1cf28208aac662d624af30cd0f4272
BLAKE2b-256 checksum
How to use checksums
4f17c5e2dccbe0a17ae6aded123214d3b024789d2017c2f5fd7543291dbbf329
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.6.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.9.5

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.0

2 release files

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