Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.49 KB

appledict.md

File metadata and controls

48 lines (36 loc) · 1.49 KB

AppleDict Source

General Information

Attribute Value
Name AppleDict
snake_case_name appledict
Description AppleDict Source
Extensions .apple
Read support No
Write support Yes
Single-file No
Kind 📁 directory
Sort-on-write No (by default)
Wiki
Website Dictionary User Guide for Mac

Write options

Name Default Type Comment
clean_html True bool use BeautifulSoup parser
css str custom .css file path
default_prefs None dict default prefs in python dict format
front_back_matter str XML file path with top-level tag
indexes str Additional indexes to dictionary entries
jing False bool run Jing check on generated XML
prefs_html str preferences XHTML file path
xsl str custom XSL transformations file path

Dependencies for writing

PyPI Links: lxml, beautifulsoup4, html5lib

To install, run

pip3 install lxml beautifulsoup4 html5lib

Also see:

See doc/apple.md for additional AppleDict instructions.

Dictionary Applications/Tools

Name & Website License Platforms
Dictionary Development Kit Unknown Mac