Skip to main content

macdict is a command line utility and library to look up dictionary in macOS.

It is built on the Dictionary Services (CoreServices.framework) and ctypes. So we have a pure Python implementation without any compile-time dependency.

Installation

$ pip install macdict

or with pipsi for using its CLI only:

$ pipsi install macdict

CLI Usage

$ macdict-lookup apple
apple | BrE ˈap(ə)l, AmE ˈæpəl | noun (fruit) ...

API Usage

from macdict import lookup_word

definition = lookup_word(u'apple')
print(definition)

Contributing

If you want to report bugs or request features, please feel free to open issues or create pull requests on GitHub.

Release files for macdict 0.1.4

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

Source distribution (sdist)

Source distribution for macdict 0.1.4
File Size Uploaded
macdict-0.1.4.tar.gz 3.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for macdict 0.1.4
File Interpreter ABI Platform
macdict-0.1.4-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 8.0 kB

Release files / macdict-0.1.4.tar.gz

Download URL macdict-0.1.4.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
0355108dc0722218cac99b0200f8f796b2a8d8f3f2383c17d2f32b6a1163604b
BLAKE2b-256 checksum
How to use checksums
254aa3b8b1384fa33de5a95de365ea401f37d78d8e62e4e85f69c12a08d1322c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release files / macdict-0.1.4-py2.py3-none-any.whl

Download URL macdict-0.1.4-py2.py3-none-any.whl
Size 4.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e80342aa8dab028a387a0e594879c327c917d15abc3a495033fb6d2990b9716f
BLAKE2b-256 checksum
How to use checksums
45d26485dd0287150b4eb6183888d3f41fc46c9f7bf33a9a002531309c14138b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.15

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.1

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