Skip to main content

Gimmicks and hacks to make some of my other modules more robust and less demanding of others.

Project description

Gimmicks and hacks to make some of my other modules more robust and less demanding of others.

Latest release 20221228: Generalise the logging function map, add trace function, bugfix logging call lookup.

Function debug(*a, **kw)

Wrapper for debug() which does a deferred import.

Function error(*a, **kw)

Wrapper for error() which does a deferred import.

Function exception(*a, **kw)

Wrapper for exception() which does a deferred import.

Function info(*a, **kw)

Wrapper for info() which does a deferred import.

Function log(*a, **kw)

Wrapper for log() which does a deferred import.

Function trace(*a, **kw)

Wrapper for info() which does a deferred import.

Function warning(*a, **kw)

Wrapper for warning() which does a deferred import.

Release Log

Release 20221228: Generalise the logging function map, add trace function, bugfix logging call lookup.

Release 20220429: Add DEVNULL symbol, needed before Python 3.3.

Release 20211208: Define TimeoutError.

Release 20210306: Add simple implementations of nullcontext and SimpleNamespace.

Release 20200418.1: Initial release with logging call stubs.

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

cs.gimmicks-20221228.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cs.gimmicks-20221228-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file cs.gimmicks-20221228.tar.gz.

File metadata

  • Download URL: cs.gimmicks-20221228.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cs.gimmicks-20221228.tar.gz
Algorithm Hash digest
SHA256 d930ac5e4263678515899da2fe47af1e1bd3ae5a2f5fef7ee5b15a376a1beb26
MD5 21226d0c22ca1e8786c083d33a0655e6
BLAKE2b-256 8a2f7ff9a2dbbdaf75083beaa5b7c6bee4eb1507ef568ba3e4d9b85c45a7d048

See more details on using hashes here.

File details

Details for the file cs.gimmicks-20221228-py3-none-any.whl.

File metadata

  • Download URL: cs.gimmicks-20221228-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.13

File hashes

Hashes for cs.gimmicks-20221228-py3-none-any.whl
Algorithm Hash digest
SHA256 18d8220b900eecd98e2da7365f0f538bac501d40d6fffd6adae6dcf21d0996b3
MD5 8cc31db0369ea3623e52be22a4c8f558
BLAKE2b-256 a9b4ca4194ea927b14e66a65c65c705bbb67cd1f8028ce96756b863e56baa48d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page