Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

CLI and library to look up dictionary in macOS.

Project Description

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 History

Release History

This version
History Node

0.1.1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
macdict-0.1.1-py2.py3-none-any.whl (5.6 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Feb 1, 2017
macdict-0.1.1.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Feb 1, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting