Skip to main content

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

Latest release 20230210: DEVNULL default open for "r+b" instead of "wb".

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 20230210: DEVNULL default open for "r+b" instead of "wb".

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.

Release files for cs-gimmicks 20230210

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for cs-gimmicks 20230210
File Size Uploaded
cs.gimmicks-20230210.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for cs-gimmicks 20230210
File Interpreter ABI Platform
cs.gimmicks-20230210-py3-none-any.whl Python 3 none any Details

Total release size: 6.5 kB

Release files / cs.gimmicks-20230210.tar.gz

Download URL cs.gimmicks-20230210.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
02a67319859eb5b255e705ec163569bcc5809607c50e2c40eba5bb92a1c5be72
BLAKE2b-256 checksum
How to use checksums
9f496c7830431c4e976618f201a95f3605888ad06f0bd02258cfa94bc12f286f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / cs.gimmicks-20230210-py3-none-any.whl

Download URL cs.gimmicks-20230210-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9ad736c508b6e46c3c0fa89cd94648b4c0f1a6efc4dd7c6e02995f8a3b9ac30
BLAKE2b-256 checksum
How to use checksums
ec40ed6a8c46a9c733417c708a32b5c328a6beca9ba394445d9a759c5eee9121
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

20230210 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page