langacore.kit.common 0.2.4 documentation

This Page

langacore.kit.common

Warning

THIS LIBRARY IS DEPRECATED AND SUPERSEDED BY lck.common.

This library consists of various simple common routines and language constructs that are so useful they ten to be rewritten in every subsequent project I’m working on. Each function, decorator or module on its own is too simple to dedicate an entire PyPI package for it. Together however, this library represents a Swiss army knife for everyday needs (YMMV). Among the things you might find inside:

  • robust memoization
  • some less obvious collections (e.g. orderedset)
  • a @synchronized decorator (with threading or lockfile backends)
  • file finder (searching locations commonly used for storing app data)

The latest version can be installed via PyPI:

$ pip install langacore.kit.common

or:

$ easy_install langacore.kit.common

The source code repository and issue tracker are maintained on GitHub.

Note: Since 0.2.0 langacore.kit.common does require Python 2.7 because one of the virtues in the creation of this library is to make the code beautiful.

Indices and tables