Gimmicks and hacks to make some of my other modules more robust and
less demanding of others.
*Latest release 20240316*:
Fixed release upload artifacts.
## 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 `open_append(path)`
Ghastly hack to open something for append
entirely because some Linux systems do not let you open a
character device for append.
Tries sane `'a'` and falls back through 'r+' and finally to
'w' only if `path` refers to a character device.
## 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 20240316*:
Fixed release upload artifacts.
*Release 20230331*:
New open_append to handle idiotic Linux do-not-open-tty-for-append semantics.
*Release 20230212*:
Add gimmicks for cs.lex.r and cs.lex.s.
*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.
Raw data
{
"_id": null,
"home_page": "",
"name": "cs.gimmicks",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "python2,python3",
"author": "",
"author_email": "Cameron Simpson <cs@cskk.id.au>",
"download_url": "https://files.pythonhosted.org/packages/94/98/67c503df9e1aef837776c1ff33dcb25b6c9fc5e76c96b0e802559441c25c/cs.gimmicks-20240316.tar.gz",
"platform": null,
"description": "Gimmicks and hacks to make some of my other modules more robust and\nless demanding of others.\n\n*Latest release 20240316*:\nFixed release upload artifacts.\n\n## Function `debug(*a, **kw)`\n\nWrapper for `debug()` which does a deferred import.\n\n## Function `error(*a, **kw)`\n\nWrapper for `error()` which does a deferred import.\n\n## Function `exception(*a, **kw)`\n\nWrapper for `exception()` which does a deferred import.\n\n## Function `info(*a, **kw)`\n\nWrapper for `info()` which does a deferred import.\n\n## Function `log(*a, **kw)`\n\nWrapper for `log()` which does a deferred import.\n\n## Function `open_append(path)`\n\nGhastly hack to open something for append\nentirely because some Linux systems do not let you open a\ncharacter device for append.\nTries sane `'a'` and falls back through 'r+' and finally to\n'w' only if `path` refers to a character device.\n\n## Function `trace(*a, **kw)`\n\nWrapper for `info()` which does a deferred import.\n\n## Function `warning(*a, **kw)`\n\nWrapper for `warning()` which does a deferred import.\n\n# Release Log\n\n\n\n*Release 20240316*:\nFixed release upload artifacts.\n\n*Release 20230331*:\nNew open_append to handle idiotic Linux do-not-open-tty-for-append semantics.\n\n*Release 20230212*:\nAdd gimmicks for cs.lex.r and cs.lex.s.\n\n*Release 20230210*:\nDEVNULL default open for \"r+b\" instead of \"wb\".\n\n*Release 20221228*:\nGeneralise the logging function map, add trace function, bugfix logging call lookup.\n\n*Release 20220429*:\nAdd DEVNULL symbol, needed before Python 3.3.\n\n*Release 20211208*:\nDefine TimeoutError.\n\n*Release 20210306*:\nAdd simple implementations of nullcontext and SimpleNamespace.\n\n*Release 20200418.1*:\nInitial release with logging call stubs.\n\n",
"bugtrack_url": null,
"license": "GNU General Public License v3 or later (GPLv3+)",
"summary": "Gimmicks and hacks to make some of my other modules more robust and less demanding of others.",
"version": "20240316",
"project_urls": {
"URL": "https://bitbucket.org/cameron_simpson/css/commits/all"
},
"split_keywords": [
"python2",
"python3"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "b44d8590885aa3d48b9f79552876d824a75d0899e9ea5a7e204ef72b5f83df87",
"md5": "21e5f4a16c7876a778e5bde01270b27c",
"sha256": "dc122b84e9b873eeccd4f0dae448e1fd2d587c280bb2f96970102f2dcc5903a8"
},
"downloads": -1,
"filename": "cs.gimmicks-20240316-py3-none-any.whl",
"has_sig": false,
"md5_digest": "21e5f4a16c7876a778e5bde01270b27c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 3821,
"upload_time": "2024-03-16T05:48:55",
"upload_time_iso_8601": "2024-03-16T05:48:55.808983Z",
"url": "https://files.pythonhosted.org/packages/b4/4d/8590885aa3d48b9f79552876d824a75d0899e9ea5a7e204ef72b5f83df87/cs.gimmicks-20240316-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "949867c503df9e1aef837776c1ff33dcb25b6c9fc5e76c96b0e802559441c25c",
"md5": "03d7dd274b92d2c56e4b3898073e7f8b",
"sha256": "ce51ca23c3a048022209ae260f5029bfc7956cd7563c3f80a587c28bd7edd605"
},
"downloads": -1,
"filename": "cs.gimmicks-20240316.tar.gz",
"has_sig": false,
"md5_digest": "03d7dd274b92d2c56e4b3898073e7f8b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 3743,
"upload_time": "2024-03-16T05:48:57",
"upload_time_iso_8601": "2024-03-16T05:48:57.402981Z",
"url": "https://files.pythonhosted.org/packages/94/98/67c503df9e1aef837776c1ff33dcb25b6c9fc5e76c96b0e802559441c25c/cs.gimmicks-20240316.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-16 05:48:57",
"github": false,
"gitlab": false,
"bitbucket": true,
"codeberg": false,
"bitbucket_user": "cameron_simpson",
"bitbucket_project": "css",
"lcname": "cs.gimmicks"
}