log-application


Namelog-application JSON
Version 0.0.1 PyPI version JSON
download
home_pagehttps://gitlab.com/codasteroid/basicpkg
SummaryLog library to establish communication with FTP server and AWS CloudWatch; as well as to publish log message to these platforms.
upload_time2023-09-05 09:14:02
maintainer
docs_urlNone
author""
requires_python>=3.9
licenseCopyright (c) 2018 The Python Packaging Authority Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords log ftp cloudwatch
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Python Application Logging Module 

The centralized application logging module.

# Running Unit Test

```bash 
python3 -m unittest
```

# Logging Data Level

- FATAL: Log the application/ solution/ API state or behaviours that causes the system to terminate unintentionally; or have to cause the system to halt.
- ERROR: Log the application/ solution/ API state or behaviours that causes the system response abnormally; or is returning not expected out; but the system is still running.
- DEBUG: Log the application/ solution/ API behaviours or state change.
- INFO: Log the AI model performance or output.

# Unique ID Generation

Please do use uuid4 for generating the random unique ID.

```python 
import uuid 

id = uuid.uuid4()
```

Otherwise use uuid5 for fixed id generation.

```python
import uuid 

id = uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/codasteroid/basicpkg",
    "name": "log-application",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": "",
    "keywords": "log,FTP,CloudWatch",
    "author": "\"\"",
    "author_email": "Sze Ling <sample@mail.com>, Kah Seng <sample@mail.com>, Stanley <sample@mail.com>",
    "download_url": "https://files.pythonhosted.org/packages/a1/65/7fa6d20f01a0a7a30601345a0957930c6e58ffa7e81baddcda0c1ddcdda3/log-application-0.0.1.tar.gz",
    "platform": null,
    "description": "# Python Application Logging Module \n\nThe centralized application logging module.\n\n# Running Unit Test\n\n```bash \npython3 -m unittest\n```\n\n# Logging Data Level\n\n- FATAL: Log the application/ solution/ API state or behaviours that causes the system to terminate unintentionally; or have to cause the system to halt.\n- ERROR: Log the application/ solution/ API state or behaviours that causes the system response abnormally; or is returning not expected out; but the system is still running.\n- DEBUG: Log the application/ solution/ API behaviours or state change.\n- INFO: Log the AI model performance or output.\n\n# Unique ID Generation\n\nPlease do use uuid4 for generating the random unique ID.\n\n```python \nimport uuid \n\nid = uuid.uuid4()\n```\n\nOtherwise use uuid5 for fixed id generation.\n\n```python\nimport uuid \n\nid = uuid.uuid5(uuid.NAMESPACE_DNS, 'python.org')\n```\n",
    "bugtrack_url": null,
    "license": "Copyright (c) 2018 The Python Packaging Authority  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Log library to establish communication with FTP server and AWS CloudWatch; as well as to publish log message to these platforms.",
    "version": "0.0.1",
    "project_urls": {
        "Homepage": "https://github.com/mikelim2/python-logging"
    },
    "split_keywords": [
        "log",
        "ftp",
        "cloudwatch"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d52215c3bbfe27ec5b597e3bacc87733e41fa6ff53e4a9706f76fcb865a1f3fb",
                "md5": "79dfdd75e72380de0a18087a9362fd8b",
                "sha256": "18a1a6f1770ce9a32003e3881131cd79122ae3f590fd1f2afed82c2163528d42"
            },
            "downloads": -1,
            "filename": "log_application-0.0.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "79dfdd75e72380de0a18087a9362fd8b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 4521,
            "upload_time": "2023-09-05T09:14:01",
            "upload_time_iso_8601": "2023-09-05T09:14:01.211320Z",
            "url": "https://files.pythonhosted.org/packages/d5/22/15c3bbfe27ec5b597e3bacc87733e41fa6ff53e4a9706f76fcb865a1f3fb/log_application-0.0.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a1657fa6d20f01a0a7a30601345a0957930c6e58ffa7e81baddcda0c1ddcdda3",
                "md5": "c7a0ce62aedb14dffc0043e48c430bc5",
                "sha256": "1fd023a17a03d252083a7c96383e728f2588bc9634a12d28eb99e37ea573aedb"
            },
            "downloads": -1,
            "filename": "log-application-0.0.1.tar.gz",
            "has_sig": false,
            "md5_digest": "c7a0ce62aedb14dffc0043e48c430bc5",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 4446,
            "upload_time": "2023-09-05T09:14:02",
            "upload_time_iso_8601": "2023-09-05T09:14:02.756381Z",
            "url": "https://files.pythonhosted.org/packages/a1/65/7fa6d20f01a0a7a30601345a0957930c6e58ffa7e81baddcda0c1ddcdda3/log-application-0.0.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-05 09:14:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "mikelim2",
    "github_project": "python-logging",
    "github_not_found": true,
    "lcname": "log-application"
}
        
""
Elapsed time: 0.31717s