Name | happy-python-logging JSON |
Version |
0.0.2
JSON |
| download |
home_page | None |
Summary | Make practical Python logging easy (and developers happy!) |
upload_time | 2025-02-08 00:46:16 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
log
logger
logging
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# happy-python-logging
Make practical Python logging easy.
[](https://pypi.org/project/happy-python-logging)
[](https://pypi.org/project/happy-python-logging)
-----
## Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [License](#license)
## Installation
```console
pip install happy-python-logging
```
## Usage
### For library developers
`happy_python_logging.getLoggerForLibrary()`
```diff
-import logging
+from happy_python_logging import getLoggerForLibrary
-logger = logging.getLogger(__name__)
-logger.addHandler(logging.NullHandler())
+logger = getLoggerForLibrary(__name__)
```
See [`example`](https://github.com/ftnext/happy-python-logging/tree/main/example) for detail.
## License
`happy-python-logging` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.
Raw data
{
"_id": null,
"home_page": null,
"name": "happy-python-logging",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "log, logger, logging",
"author": null,
"author_email": "ftnext <takuyafjp+develop@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/5c/5a/55c94a82485abd7a93b89224d1faf78273f9f2b74d28b77532ffe5d1cfbd/happy_python_logging-0.0.2.tar.gz",
"platform": null,
"description": "# happy-python-logging\n\nMake practical Python logging easy.\n\n[](https://pypi.org/project/happy-python-logging)\n[](https://pypi.org/project/happy-python-logging)\n\n-----\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [License](#license)\n\n## Installation\n\n```console\npip install happy-python-logging\n```\n\n## Usage\n\n### For library developers\n\n`happy_python_logging.getLoggerForLibrary()`\n\n```diff\n-import logging\n+from happy_python_logging import getLoggerForLibrary\n\n-logger = logging.getLogger(__name__)\n-logger.addHandler(logging.NullHandler())\n+logger = getLoggerForLibrary(__name__)\n```\n\nSee [`example`](https://github.com/ftnext/happy-python-logging/tree/main/example) for detail.\n\n## License\n\n`happy-python-logging` is distributed under the terms of the [MIT](https://spdx.org/licenses/MIT.html) license.\n",
"bugtrack_url": null,
"license": null,
"summary": "Make practical Python logging easy (and developers happy!)",
"version": "0.0.2",
"project_urls": {
"Documentation": "https://github.com/ftnext/happy-python-logging#readme",
"Issues": "https://github.com/ftnext/happy-python-logging/issues",
"Source": "https://github.com/ftnext/happy-python-logging"
},
"split_keywords": [
"log",
" logger",
" logging"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "9291bf82c3b7ac5ef50674f12bd4325d816ea8321a0bd3f0e5c7548922ced0d9",
"md5": "f0c526e123d63041f7b07562b6a1bc3b",
"sha256": "63b796ef22d6ddd108c0e83ae34c322f72d6c580a8735765a54ba41a2a869d00"
},
"downloads": -1,
"filename": "happy_python_logging-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "f0c526e123d63041f7b07562b6a1bc3b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 3257,
"upload_time": "2025-02-08T00:46:15",
"upload_time_iso_8601": "2025-02-08T00:46:15.458286Z",
"url": "https://files.pythonhosted.org/packages/92/91/bf82c3b7ac5ef50674f12bd4325d816ea8321a0bd3f0e5c7548922ced0d9/happy_python_logging-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "5c5a55c94a82485abd7a93b89224d1faf78273f9f2b74d28b77532ffe5d1cfbd",
"md5": "ce5e53928c1556a13c42dca76b8c4d98",
"sha256": "5cc32dc1888d3abaab3b7dd24a60e2b81ff634184ce29c19643946a39cb3197b"
},
"downloads": -1,
"filename": "happy_python_logging-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "ce5e53928c1556a13c42dca76b8c4d98",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 4635,
"upload_time": "2025-02-08T00:46:16",
"upload_time_iso_8601": "2025-02-08T00:46:16.777318Z",
"url": "https://files.pythonhosted.org/packages/5c/5a/55c94a82485abd7a93b89224d1faf78273f9f2b74d28b77532ffe5d1cfbd/happy_python_logging-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-08 00:46:16",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ftnext",
"github_project": "happy-python-logging#readme",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "happy-python-logging"
}