Name | telelog JSON |
Version |
0.1.2
JSON |
| download |
home_page | |
Summary | Python Package for le log toolkit |
upload_time | 2023-01-31 01:54:58 |
maintainer | |
docs_url | None |
author | imason |
requires_python | >=3.6, |
license | |
keywords |
python-log
telelog
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
Tele Log
==========================
算法引擎日志相关的toolkit, 是可支持k8s日志收集的 python package。
## how to commpile
```bash
python setup.py sdist bdist_wheel
```
## how to release
```bash
twine upload -r pypi dist/*.whl
```
## how to install
```bash
pip install telelog
```
## how to use
```python
# initial, in the main module
import logging
from telelog import get_logger
logger = logging.getLogger()
logger = get_logger(logger)
logger.info("hello main module")
# in othre module
import logging
logger = logging.getLogger(__name__)
logger.info("hello other module")
```
Raw data
{
"_id": null,
"home_page": "",
"name": "telelog",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.6,",
"maintainer_email": "",
"keywords": "python-log,telelog",
"author": "imason",
"author_email": "moy7@chinatelecom.cn",
"download_url": "",
"platform": null,
"description": "Tele Log\n==========================\n\n\u7b97\u6cd5\u5f15\u64ce\u65e5\u5fd7\u76f8\u5173\u7684toolkit, \u662f\u53ef\u652f\u6301k8s\u65e5\u5fd7\u6536\u96c6\u7684 python package\u3002\n\n## how to commpile\n```bash\npython setup.py sdist bdist_wheel\n```\n\n## how to release\n```bash\ntwine upload -r pypi dist/*.whl\n```\n\n## how to install \n```bash\npip install telelog\n```\n\n## how to use\n```python\n# initial, in the main module\nimport logging\nfrom telelog import get_logger\nlogger = logging.getLogger()\nlogger = get_logger(logger)\nlogger.info(\"hello main module\")\n\n# in othre module\nimport logging\nlogger = logging.getLogger(__name__)\nlogger.info(\"hello other module\")\n```\n\n",
"bugtrack_url": null,
"license": "",
"summary": "Python Package for le log toolkit",
"version": "0.1.2",
"split_keywords": [
"python-log",
"telelog"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d5d0c4c6afb1fe47ef8b9e8efed50ca8acb2b23eb0dbd5bc2bdef94d1d798873",
"md5": "24a5198c849e68a7194666369a2e8b91",
"sha256": "824240aa202e2e7c61bf1b49ac75c60a4fec448bb73d28d83e500ff173d4dcec"
},
"downloads": -1,
"filename": "telelog-0.1.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "24a5198c849e68a7194666369a2e8b91",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.6,",
"size": 3134,
"upload_time": "2023-01-31T01:54:58",
"upload_time_iso_8601": "2023-01-31T01:54:58.555787Z",
"url": "https://files.pythonhosted.org/packages/d5/d0/c4c6afb1fe47ef8b9e8efed50ca8acb2b23eb0dbd5bc2bdef94d1d798873/telelog-0.1.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-01-31 01:54:58",
"github": false,
"gitlab": false,
"bitbucket": false,
"lcname": "telelog"
}