While I write and release a lot of Python code for working with Ancient Greek, it tends to be either throwaway code for data wrangling or fairly specialized code for things like accentuation or inflectional morphology.

I decided there needed to be a place to put lightweight utilities that can be used by a range of different projects. This is the motivation for greek-utils.

The initial 0.1 release of greek-utils just provides the following features:

  • Convert BetaCode to Unicode
  • Turn an iterable into a generator over trigrams
  • A Trie datastructure
  • MorphGNT BCV string to human-readable verse reference

greek-utils is pip installable and the repo is at

https://github.com/jtauber/greek-utils

Full documentation is included there.

I’ll be moving a lot more out of gists and individual project repos over the coming months.