Skip to main content

No project description provided

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plover-sqlite-dictionary-0.3.0.tar.gz (17.5 kB view details)

Uploaded Source

Built Distribution

plover_sqlite_dictionary-0.3.0-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file plover-sqlite-dictionary-0.3.0.tar.gz.

File metadata

  • Download URL: plover-sqlite-dictionary-0.3.0.tar.gz
  • Upload date:
  • Size: 17.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for plover-sqlite-dictionary-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3b14277d22aa12d6c4fc3717142a3a24db2a43ad7f5a27666a1abfb42f307647
MD5 a66f7a541a7f1bcd40b91c1e78578314
BLAKE2b-256 11b2d558fc179f9deb434d58dc40eb250ca1db6f1625bf99130cfdc171f28b2c

See more details on using hashes here.

File details

Details for the file plover_sqlite_dictionary-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: plover_sqlite_dictionary-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for plover_sqlite_dictionary-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a323c52b2ad460e7a452b1ef86d84c972c1cf28208aac662d624af30cd0f4272
MD5 2dab3f4229ddbf91c87c383db9e24aaf
BLAKE2b-256 4f17c5e2dccbe0a17ae6aded123214d3b024789d2017c2f5fd7543291dbbf329

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page