Skip to main content

Library for writing Python dictionary for Plover, and generating JSON dictionary file from Python dictionary.

Project description

plover-python-dictionary-lib

Library for writing Python dictionary for Plover, and generating JSON dictionary file from Python dictionary.

Installation

This package is available on PyPI. To install it, run the command

pip install plover-python-dictionary-lib

This is required to use/run the Python dictionaries that use this library.

Example & usage

Generate JSON

The Python dictionary must be written with this plugin.

Call .print_items() on the main Dictionary object. (see also the example dictionaries above)

Note: because of an incompatibility between Plover and the plover_stroke library, sometimes the JSON dictionary may not work in Plover.

For example: if this code is included at the end of the Python dictionary file named dictionary.py

if __name__=="__main__":
	dictionary.print_items()

(assuming that the main dictionary object is named dictionary) then running python dictionary.py will print the dictionary as JSON to the standard output.

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_python_dictionary_lib-0.4.1.tar.gz (24.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

plover_python_dictionary_lib-0.4.1-py3-none-any.whl (28.4 kB view details)

Uploaded Python 3

File details

Details for the file plover_python_dictionary_lib-0.4.1.tar.gz.

File metadata

  • Download URL: plover_python_dictionary_lib-0.4.1.tar.gz
  • Upload date:
  • Size: 24.6 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_python_dictionary_lib-0.4.1.tar.gz
Algorithm Hash digest
SHA256 4f209cdf7daff50d920b4d0ffcddcbf62de2bb8a4925ec003835a246187e7809
MD5 918a3434d1d4f538afb0d5776400993d
BLAKE2b-256 a3f735503e2a06abbc532cb4de2cb15c8e6474aeef4821355e72263002065ead

See more details on using hashes here.

File details

Details for the file plover_python_dictionary_lib-0.4.1-py3-none-any.whl.

File metadata

  • Download URL: plover_python_dictionary_lib-0.4.1-py3-none-any.whl
  • Upload date:
  • Size: 28.4 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_python_dictionary_lib-0.4.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b2e9ac6c6f87b5bb50d89fac373c12acf262262cbc0f1c28faed57b39e64cf8c
MD5 293980bb160daaec4c32bd387786bee6
BLAKE2b-256 0f493d2d4a90766cb8fe2ce803ec65952838e5f10af390d40601c03bb25bbf17

See more details on using hashes here.

Supported by

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