Skip to main content

A library of various simple common routines that keep being rewritten all over again in every project I'm working on.

Project description

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 lck.common

or:

$ easy_install lck.common

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

For the curious, lck stands for LangaCore Kit. LangaCore is a one man software development shop of mine.

Note: lck.common requires Python 2.7 because all of its code is using the so-called four futures (absolute_imports, division, print_function and unicode_literals). One of the virtues in the creation of this library is to make the code beautiful. These switches give a useful transitional state between the old Python 2.x and the new Python 3.x. You should use them as well.

Change Log

0.4.0

  • migrated to the lck namespace from langacore.kit

  • migrated licensing from GPL 3 to MIT

  • bumped the trove from alpha status to beta, the code is in production for over a year now

Ancient history

  • No proper change log was kept before 0.4.0

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

lck.common-0.4.1.tar.gz (250.1 kB view details)

Uploaded Source

File details

Details for the file lck.common-0.4.1.tar.gz.

File metadata

  • Download URL: lck.common-0.4.1.tar.gz
  • Upload date:
  • Size: 250.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for lck.common-0.4.1.tar.gz
Algorithm Hash digest
SHA256 05faeb58c7be0ec97161ff1282bb4af45f43f1f8c20e5249fb93c77a7bc9cb8b
MD5 bf64c6b88883252f722bd21d14832602
BLAKE2b-256 b1c260c7398c447136dc7b97f691b364500b90dad1f37150c09a4870f5ae066f

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