smartlogger


Namesmartlogger JSON
Version 0.0.1.dev24 PyPI version JSON
download
home_pagehttps://github.com/notAI-tech/smartdash
Summarypython logging client for SmartDash
upload_time2023-12-13 06:58:12
maintainer
docs_urlNone
authorBEDAPUDI PRANEETH
requires_python>=3.6.0
licenseMIT
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            

### Use SmartLogger in your code

```python
from smartlogger import SmartLogger

logger = SmartLogger("examplePipelineName", save_to_dir="OPTIONAL_SAVE_DIR, defaults to ./")

stage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags)
# code block you want to log and time, eg: model inference/ db call/ pre/post processing code
# stage.debug()/ info()/ exception (logs exc info)/ error
# depending on whether it succeeded or not
stage.success()
stage.failed() 
```

```bash
# Process to continuously upload logs to dash
smartlogger --save_dir ./ --server_url "http://localhost:8080"
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/notAI-tech/smartdash",
    "name": "smartlogger",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6.0",
    "maintainer_email": "",
    "keywords": "",
    "author": "BEDAPUDI PRANEETH",
    "author_email": "praneeth@bpraneeth.com",
    "download_url": "https://files.pythonhosted.org/packages/e4/d6/ead8a12076300e3ccef2cd2ae1ec8e851b7e541def9a6d0a6fdd7554abe4/smartlogger-0.0.1.dev24.tar.gz",
    "platform": null,
    "description": "\n\n### Use SmartLogger in your code\n\n```python\nfrom smartlogger import SmartLogger\n\nlogger = SmartLogger(\"examplePipelineName\", save_to_dir=\"OPTIONAL_SAVE_DIR, defaults to ./\")\n\nstage = logger.Stage(unique_id, stage_name, tags=optional_list_of_tags)\n# code block you want to log and time, eg: model inference/ db call/ pre/post processing code\n# stage.debug()/ info()/ exception (logs exc info)/ error\n# depending on whether it succeeded or not\nstage.success()\nstage.failed() \n```\n\n```bash\n# Process to continuously upload logs to dash\nsmartlogger --save_dir ./ --server_url \"http://localhost:8080\"\n```\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "python logging client for SmartDash",
    "version": "0.0.1.dev24",
    "project_urls": {
        "Homepage": "https://github.com/notAI-tech/smartdash"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "600f5667596388298566868af39bab4b28db4459b81e9016f8b5dc9bce449902",
                "md5": "92219d17b029717fc81fcc040b1b34c4",
                "sha256": "f86f5ce06a372d835d59b40c75befb0a7bb9bbbd0e76b1a4eb1378ed06a7bf0d"
            },
            "downloads": -1,
            "filename": "smartlogger-0.0.1.dev24-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "92219d17b029717fc81fcc040b1b34c4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6.0",
            "size": 5142,
            "upload_time": "2023-12-13T06:58:11",
            "upload_time_iso_8601": "2023-12-13T06:58:11.579956Z",
            "url": "https://files.pythonhosted.org/packages/60/0f/5667596388298566868af39bab4b28db4459b81e9016f8b5dc9bce449902/smartlogger-0.0.1.dev24-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e4d6ead8a12076300e3ccef2cd2ae1ec8e851b7e541def9a6d0a6fdd7554abe4",
                "md5": "751d82bb49e89b216f7cf26c77a972be",
                "sha256": "be0100e28fdc36f1b8b24b6f0732e68bfe6c5a39217422706f46357fbdc2d9f9"
            },
            "downloads": -1,
            "filename": "smartlogger-0.0.1.dev24.tar.gz",
            "has_sig": false,
            "md5_digest": "751d82bb49e89b216f7cf26c77a972be",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6.0",
            "size": 5729,
            "upload_time": "2023-12-13T06:58:12",
            "upload_time_iso_8601": "2023-12-13T06:58:12.836864Z",
            "url": "https://files.pythonhosted.org/packages/e4/d6/ead8a12076300e3ccef2cd2ae1ec8e851b7e541def9a6d0a6fdd7554abe4/smartlogger-0.0.1.dev24.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-12-13 06:58:12",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "notAI-tech",
    "github_project": "smartdash",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "smartlogger"
}
        
Elapsed time: 0.56608s