wai-logging


Namewai-logging JSON
Version 0.0.3 PyPI version JSON
download
home_pagehttps://github.com/waikato-datamining/wai-logging
SummaryPython library with helper methods for logging.
upload_time2025-01-13 20:46:51
maintainerNone
docs_urlNone
authorPeter Reutemann
requires_pythonNone
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            Python library with helper methods for logging.

* `init_logging` - initializes the logging with a default level, which can be overridden with an environment variable
* `set_logging_level` - sets the logging level of a `logging.Logger` instance
* `str_to_logging_level` - turns a string logging level into a `logging` module one, used by `init_logging` and `set_logging_level`
* `add_logging_level` - adds an option for the logging level to an `argparse.ArgumentParser` instance
* `add_logger_name` - adds an option for a custom name for a logger to an `argparse.ArgumentParser` instance


Changelog
=========

0.0.3 (2025-01-14)
------------------

- using underscore in project name now


0.0.2 (2025-01-14)
------------------

- `init_logging` now supports specifying `stream` or `filename` or `handlers` as well as the `log_format`


0.0.1 (2023-11-30)
------------------

- initial release


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/waikato-datamining/wai-logging",
    "name": "wai-logging",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": null,
    "author": "Peter Reutemann",
    "author_email": "fracpete@waikato.ac.nz",
    "download_url": "https://files.pythonhosted.org/packages/a0/99/74ef3a0d5932783d6adc2fe09b17032210d4133a26249765a54810df12b6/wai_logging-0.0.3.tar.gz",
    "platform": null,
    "description": "Python library with helper methods for logging.\n\n* `init_logging` - initializes the logging with a default level, which can be overridden with an environment variable\n* `set_logging_level` - sets the logging level of a `logging.Logger` instance\n* `str_to_logging_level` - turns a string logging level into a `logging` module one, used by `init_logging` and `set_logging_level`\n* `add_logging_level` - adds an option for the logging level to an `argparse.ArgumentParser` instance\n* `add_logger_name` - adds an option for a custom name for a logger to an `argparse.ArgumentParser` instance\n\n\nChangelog\n=========\n\n0.0.3 (2025-01-14)\n------------------\n\n- using underscore in project name now\n\n\n0.0.2 (2025-01-14)\n------------------\n\n- `init_logging` now supports specifying `stream` or `filename` or `handlers` as well as the `log_format`\n\n\n0.0.1 (2023-11-30)\n------------------\n\n- initial release\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python library with helper methods for logging.",
    "version": "0.0.3",
    "project_urls": {
        "Homepage": "https://github.com/waikato-datamining/wai-logging"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a09974ef3a0d5932783d6adc2fe09b17032210d4133a26249765a54810df12b6",
                "md5": "4a39333dc8403b7c7a63dc27e8f6843a",
                "sha256": "8e2bad7b6c54bec14d93539fc2d59a166782f496943fb9a77bc8f3459bbe1d03"
            },
            "downloads": -1,
            "filename": "wai_logging-0.0.3.tar.gz",
            "has_sig": false,
            "md5_digest": "4a39333dc8403b7c7a63dc27e8f6843a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4770,
            "upload_time": "2025-01-13T20:46:51",
            "upload_time_iso_8601": "2025-01-13T20:46:51.295201Z",
            "url": "https://files.pythonhosted.org/packages/a0/99/74ef3a0d5932783d6adc2fe09b17032210d4133a26249765a54810df12b6/wai_logging-0.0.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-01-13 20:46:51",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "waikato-datamining",
    "github_project": "wai-logging",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "wai-logging"
}
        
Elapsed time: 0.39102s