hakisto


Namehakisto JSON
Version 0.3.3 PyPI version JSON
download
home_pagehttps://gitlab.com/hakisto/logger
SummaryLogging reimagined
upload_time2025-01-05 08:44:24
maintainerNone
docs_urlNone
authorBernhard Radermacher
requires_python<4.0,>=3.11
licenseLGPL-3.0-or-later
keywords logging
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Hakisto

The name: **Hakisto** means Logger in Esperanto.

## Logging reimagined...

## Simple...

```python
from hakisto import logger

logger.warning('something is fishy...')
```

Starts logging to console and file.

### Example output

```
hakisto-demo-color
```

![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-color.png)

```
hakisto-demo-critical
```

![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-critical.png)

```
hakisto-demo-traceback
```

![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-traceback.png)

## Installation

```
pip install hakisto
```

or get the source from [gitlab.com/hakisto/logger](https://gitlab.com/hakisto/logger/).

## Documentation

[Read the Docs](https://hakisto.readthedocs.io)

## Changes

| Version | Changes                                                                                                                         |
|--------:|---------------------------------------------------------------------------------------------------------------------------------|
| `0.3.3` | Option to force location output when logging.                                                                                   |
| `0.3.2` | Yanked                                                                                                                          |
| `0.3.1` | Make Logger thread-save.<br />Add legacy logger (alpha).                                                                        |
| `0.3.0` | Rename setting kwargs keys.<br />Add Click integration.<br />Add environment variables `HAKISTO_COLORS` and `HAKISTO_SEVERITY`. |
| `0.2.2` | Fix missing import of `rotate_file`.                                                                                            |
| `0.2.1` | Fix **OSError: [Errno 22] Invalid argument: '<frozen runpy>.log'** when running `hakisto-demo-critical`.                        |
| `0.2.0` | Add `set_date_format()` to `Logger` and `logger`.                                                                               |
| `0.1.1` | No functional changes, just making **README** and **Read the Docs** work.                                                       |

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/hakisto/logger",
    "name": "hakisto",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<4.0,>=3.11",
    "maintainer_email": null,
    "keywords": "logging",
    "author": "Bernhard Radermacher",
    "author_email": "bernhard@hakisto.net",
    "download_url": "https://files.pythonhosted.org/packages/33/7d/3b70d61a088054deb4a85cac20d66e38b0e34cb16d0533f437771e63ea09/hakisto-0.3.3.tar.gz",
    "platform": null,
    "description": "# Hakisto\n\nThe name: **Hakisto** means Logger in Esperanto.\n\n## Logging reimagined...\n\n## Simple...\n\n```python\nfrom hakisto import logger\n\nlogger.warning('something is fishy...')\n```\n\nStarts logging to console and file.\n\n### Example output\n\n```\nhakisto-demo-color\n```\n\n![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-color.png)\n\n```\nhakisto-demo-critical\n```\n\n![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-critical.png)\n\n```\nhakisto-demo-traceback\n```\n\n![](https://gitlab.com/hakisto/logger/-/raw/main/docs/images/demo-traceback.png)\n\n## Installation\n\n```\npip install hakisto\n```\n\nor get the source from [gitlab.com/hakisto/logger](https://gitlab.com/hakisto/logger/).\n\n## Documentation\n\n[Read the Docs](https://hakisto.readthedocs.io)\n\n## Changes\n\n| Version | Changes                                                                                                                         |\n|--------:|---------------------------------------------------------------------------------------------------------------------------------|\n| `0.3.3` | Option to force location output when logging.                                                                                   |\n| `0.3.2` | Yanked                                                                                                                          |\n| `0.3.1` | Make Logger thread-save.<br />Add legacy logger (alpha).                                                                        |\n| `0.3.0` | Rename setting kwargs keys.<br />Add Click integration.<br />Add environment variables `HAKISTO_COLORS` and `HAKISTO_SEVERITY`. |\n| `0.2.2` | Fix missing import of `rotate_file`.                                                                                            |\n| `0.2.1` | Fix **OSError: [Errno 22] Invalid argument: '<frozen runpy>.log'** when running `hakisto-demo-critical`.                        |\n| `0.2.0` | Add `set_date_format()` to `Logger` and `logger`.                                                                               |\n| `0.1.1` | No functional changes, just making **README** and **Read the Docs** work.                                                       |\n",
    "bugtrack_url": null,
    "license": "LGPL-3.0-or-later",
    "summary": "Logging reimagined",
    "version": "0.3.3",
    "project_urls": {
        "Documentation": "https://hakisto.readthedocs.io/",
        "Homepage": "https://gitlab.com/hakisto/logger",
        "Repository": "https://gitlab.com/hakisto/logger"
    },
    "split_keywords": [
        "logging"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "af7ba91eb90b3a8c75ead6b4114d468806644d3f66712b041bb6ef3a80d7d960",
                "md5": "d658a3b9f23c9a947cc0d1408615953d",
                "sha256": "2494adf607d3a867b1e2242360912a0b6b6efc6028476bb085cdaad15d79dec0"
            },
            "downloads": -1,
            "filename": "hakisto-0.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "d658a3b9f23c9a947cc0d1408615953d",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<4.0,>=3.11",
            "size": 29592,
            "upload_time": "2025-01-05T08:44:21",
            "upload_time_iso_8601": "2025-01-05T08:44:21.338761Z",
            "url": "https://files.pythonhosted.org/packages/af/7b/a91eb90b3a8c75ead6b4114d468806644d3f66712b041bb6ef3a80d7d960/hakisto-0.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "337d3b70d61a088054deb4a85cac20d66e38b0e34cb16d0533f437771e63ea09",
                "md5": "b3439212086d60c645caf2c734a94962",
                "sha256": "b619e0fc92b8ed1f6525044af6c98d45c923c1b458fb12a496b42e850f917861"
            },
            "downloads": -1,
            "filename": "hakisto-0.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "b3439212086d60c645caf2c734a94962",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<4.0,>=3.11",
            "size": 19096,
            "upload_time": "2025-01-05T08:44:24",
            "upload_time_iso_8601": "2025-01-05T08:44:24.559716Z",
            "url": "https://files.pythonhosted.org/packages/33/7d/3b70d61a088054deb4a85cac20d66e38b0e34cb16d0533f437771e63ea09/hakisto-0.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-05 08:44:24",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "hakisto",
    "gitlab_project": "logger",
    "lcname": "hakisto"
}
        
Elapsed time: 0.42619s