Skip to main content

simple utility for looking up Akkadian words in the CAD

Project description

akkdict is a simple command-line python program that takes an akkadian word as input and opens pdfs of several akkadian dictionaries to the right page (or somewhere thereabouts). It works well for some of the illicit pdfs of The Concise Dictionary of Akkdian (CDA) and Das Akkadishes Handwörterbuch (AHw) floating around, if you happen to have them. It also will get you within 100 pages in the Assyrian Dictionary of the Oriental Institute of the University of Chicago (CAD), which can be freely downloaded from http://oi.uchicago.edu/research/publications/assyrian-dictionary-oriental-institute-university-chicago-cad (naturally, akkdict also has a helper script for this; see below). If you would like to contribute to expanding and improving the CAD index or any of the other indicies, we would be happy to pull from you! If you are a humanities major and using git is too hard, contact me!

Installation

Install akkdict from PyPI with pip3! pip install akkdict If you don’t have pip and are unmotivated to get it on your platform, you can download clone the source from github, enter the project directory and run python3 setup.py install, which will probably require root, and you should just not do it. Just git pip.

One thing to know is you must have a way to open a PDF to a specific page number from the command line. This is no problem on Linux. Just look at the man page for your favorite PDF reader. I hear talk that this is possible on OS X with AppleScript. There are also command line options for this in Acrobat Reader. I frankly don’t even know if this package works at all on Windows, but I have my doubts. If someone who knows something about Windows wants to contribute, please do!

akkdict requires some configuration. It will let you know about it. The default config file has comments which explain things.

Usage

Open a word in the configured dictionaries: akkdict šarru

Print the page number (and volume): akkdict -p šarru

Download the CAD into a local folder: akkdict --download-cad

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

akkdict-0.1.0.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

akkdict-0.1.0-py3-none-any.whl (18.3 kB view details)

Uploaded Python 3

File details

Details for the file akkdict-0.1.0.tar.gz.

File metadata

  • Download URL: akkdict-0.1.0.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for akkdict-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8bf54b05f363a222be132822d2ff249715b2f149c131ae239cff28ee68c5c139
MD5 207abf1cf544c1880204a9d7783a6afb
BLAKE2b-256 065520edfa89c3e8ab5c296833e711c0475ff5a11bec9aca749913fd5baf7d28

See more details on using hashes here.

File details

Details for the file akkdict-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for akkdict-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dd0dc6bb7b6534a7bcca6759d80d7f94ff5ba6f04c8ed10238bdd6ed71dadd5d
MD5 cbb1df40d3f76f720ce43e64b48d4421
BLAKE2b-256 44e3c534f9eb7709b84eab1cf1ddfdc21682f06e7764bef42c6ed312cada47de

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