livecheck-python


Namelivecheck-python JSON
Version 1.0.2 PyPI version JSON
download
home_pagehttps://livecheck.dev
SummaryCheck Program Bugs Anywhere - Track Your Logs On-the-Go
upload_time2024-07-09 05:47:19
maintainerNone
docs_urlNone
authorDinh Tuan Tran
requires_python>=3.6.7
licenseNone
keywords debug track exception log plot graph smartphone realtime machine learning deep learning computer vision
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Quick Start
- Install the Python package named `livecheck_python` using `pip`.

```bash
pip install livecheck_python
```
- Import and initialize LiveCheck in your code using the `Your ID` and `Access Key` shown on the `LiveCheck+` app on your phone. Any bugs (i.e., exceptions) occurring in your code will be notified to your phone with just these two lines.

```python
from livecheck_python import LiveCheck

livecheck = LiveCheck(your_id='', access_key='')
```

- Save logs to the cloud over time to track and visualize them on your phone.

```python
livecheck.log(value={'loss': loss, 'val_loss': val_loss, 'accuracy': accuracy, 'val_accuracy': val_accuracy})
```

## User Guide
#### Constructor
```python
LiveCheck (
    your_id: str,
    access_key: str,
    project_name: Optional[str] = '',
    hyperparams: Optional[dict] = None,
    notification_period: Optional[float] = 0
) -> LiveCheck
```
|||||
|---|---|---|---|
|your_id|required|string|Your email used to log in to the mobile app|
|access_key|required|string|An access key shown in your account on the mobile app|
|project_name|optional|string|Set the project name to make it easier to distinguish logs of different projects on the mobile app|
|hyperparams|optional|dictionary|Hyperparameters used to train models in the run (e.g., learning rate)|
|notification_period|optional|float|The time in seconds between two consecutive notifications pushed to your mobile. A larger number means fewer notifications.|

#### Set Project Name
```python
set_project_name (
    value: str
) -> None
```

Instead of setting `project_name` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_project_name()`.

#### Set Hyperparameters
```python
set_hyperparams (
    value: dict
) -> None
```

Instead of setting `hyperparams` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_hyperparams()`.

!> Currently, the following types of hyperparameters are supported: `int`, `float`, `bool`, and `str`.

#### Set Notification Period
```python
set_notification_period (
    value: float
) -> None
```

Instead of setting `notification_period` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_notification_period()`.

#### Notify Exception
After initializing a LiveCheck object using the constructor function above, any exceptions occurring in your code will be automatically notified to your mobile without needing to do anything else.

#### Save Logs
```python
log (
    value: dict,
    log_id: Optional[int] = None
) -> None
```

You can call `livecheck.log()` after each event (e.g., after each epoch) you want to save logs to check on the mobile app. You can set a custom `log_id` for each function call. Otherwise, the `log_id` will start from 1 and automatically increase by 1 after each function call. The logs saved to the cloud by calling this function will be notified and updated to the mobile app on your phone. Two consecutive notifications will be at least 30 seconds apart.

!> Currently, the following types of logs are supported: `int`, `float`, `bool`, and `str`.

## Notices
- Currently, the following types of logs and hyperparameters are supported: `int`, `float`, `bool`, and `str`.
- The maximum number of runs in one day is 1000.
- The maximum number of logs per run is 1000. If a run has more than 1000 logs, it is automatically separated and saved as a new run.
- The oldest run will be automatically deleted when a new run is saved to the cloud and the number of runs exceeds 10000.
- The minimum time between two `livecheck.log()` function calls is 0.2 seconds.
- The minimum time between two consecutive notifications to the mobile app on your phone is 30 seconds.

## Citation
If you use this for your work, please cite the manuscript mentioned below in the outcomes of your work (e.g., academic papers).

```bibtex
@misc{livecheck,
  title={LiveCheck: Check Program Bugs Anywhere - Track Your Logs On-the-Go},
  author={},
  journal={arXiv},
  year={2024}
}
```

## Contact
Please feel free to contact me at tuan.t.d@ieee.org for inquiries or collaboration opportunities.

            

Raw data

            {
    "_id": null,
    "home_page": "https://livecheck.dev",
    "name": "livecheck-python",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6.7",
    "maintainer_email": null,
    "keywords": "debug, track, exception, log, plot, graph, smartphone, realtime, machine learning, deep learning, computer vision",
    "author": "Dinh Tuan Tran",
    "author_email": "tuan.t.d@ieee.org",
    "download_url": "https://files.pythonhosted.org/packages/3f/b3/218fed4fc2e56e8b7d02ebaa82cf805320e5bfbe2706b890a3d5318ed1d0/livecheck_python-1.0.2.tar.gz",
    "platform": null,
    "description": "## Quick Start\n- Install the Python package named `livecheck_python` using `pip`.\n\n```bash\npip install livecheck_python\n```\n- Import and initialize LiveCheck in your code using the `Your ID` and `Access Key` shown on the `LiveCheck+` app on your phone. Any bugs (i.e., exceptions) occurring in your code will be notified to your phone with just these two lines.\n\n```python\nfrom livecheck_python import LiveCheck\n\nlivecheck = LiveCheck(your_id='', access_key='')\n```\n\n- Save logs to the cloud over time to track and visualize them on your phone.\n\n```python\nlivecheck.log(value={'loss': loss, 'val_loss': val_loss, 'accuracy': accuracy, 'val_accuracy': val_accuracy})\n```\n\n## User Guide\n#### Constructor\n```python\nLiveCheck (\n    your_id: str,\n    access_key: str,\n    project_name: Optional[str] = '',\n    hyperparams: Optional[dict] = None,\n    notification_period: Optional[float] = 0\n) -> LiveCheck\n```\n|||||\n|---|---|---|---|\n|your_id|required|string|Your email used to log in to the mobile app|\n|access_key|required|string|An access key shown in your account on the mobile app|\n|project_name|optional|string|Set the project name to make it easier to distinguish logs of different projects on the mobile app|\n|hyperparams|optional|dictionary|Hyperparameters used to train models in the run (e.g., learning rate)|\n|notification_period|optional|float|The time in seconds between two consecutive notifications pushed to your mobile. A larger number means fewer notifications.|\n\n#### Set Project Name\n```python\nset_project_name (\n    value: str\n) -> None\n```\n\nInstead of setting `project_name` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_project_name()`.\n\n#### Set Hyperparameters\n```python\nset_hyperparams (\n    value: dict\n) -> None\n```\n\nInstead of setting `hyperparams` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_hyperparams()`.\n\n!> Currently, the following types of hyperparameters are supported: `int`, `float`, `bool`, and `str`.\n\n#### Set Notification Period\n```python\nset_notification_period (\n    value: float\n) -> None\n```\n\nInstead of setting `notification_period` when initializing LiveCheck using the constructor function above, you can call `livecheck.set_notification_period()`.\n\n#### Notify Exception\nAfter initializing a LiveCheck object using the constructor function above, any exceptions occurring in your code will be automatically notified to your mobile without needing to do anything else.\n\n#### Save Logs\n```python\nlog (\n    value: dict,\n    log_id: Optional[int] = None\n) -> None\n```\n\nYou can call `livecheck.log()` after each event (e.g., after each epoch) you want to save logs to check on the mobile app. You can set a custom `log_id` for each function call. Otherwise, the `log_id` will start from 1 and automatically increase by 1 after each function call. The logs saved to the cloud by calling this function will be notified and updated to the mobile app on your phone. Two consecutive notifications will be at least 30 seconds apart.\n\n!> Currently, the following types of logs are supported: `int`, `float`, `bool`, and `str`.\n\n## Notices\n- Currently, the following types of logs and hyperparameters are supported: `int`, `float`, `bool`, and `str`.\n- The maximum number of runs in one day is 1000.\n- The maximum number of logs per run is 1000. If a run has more than 1000 logs, it is automatically separated and saved as a new run.\n- The oldest run will be automatically deleted when a new run is saved to the cloud and the number of runs exceeds 10000.\n- The minimum time between two `livecheck.log()` function calls is 0.2 seconds.\n- The minimum time between two consecutive notifications to the mobile app on your phone is 30 seconds.\n\n## Citation\nIf you use this for your work, please cite the manuscript mentioned below in the outcomes of your work (e.g., academic papers).\n\n```bibtex\n@misc{livecheck,\n  title={LiveCheck: Check Program Bugs Anywhere - Track Your Logs On-the-Go},\n  author={},\n  journal={arXiv},\n  year={2024}\n}\n```\n\n## Contact\nPlease feel free to contact me at tuan.t.d@ieee.org for inquiries or collaboration opportunities.\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Check Program Bugs Anywhere - Track Your Logs On-the-Go",
    "version": "1.0.2",
    "project_urls": {
        "Bug Reports": "https://github.com/dinhtuantran/livecheck_python/issues",
        "Documentation": "https://livecheck.dev/help",
        "Homepage": "https://livecheck.dev",
        "Source Code": "https://github.com/dinhtuantran/livecheck_python"
    },
    "split_keywords": [
        "debug",
        " track",
        " exception",
        " log",
        " plot",
        " graph",
        " smartphone",
        " realtime",
        " machine learning",
        " deep learning",
        " computer vision"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9019229b848b8450711fd2ee8e74922d138f72a5b23d2f39a176d77ed0fa875e",
                "md5": "0ef2bf5da0771f626450af000354f649",
                "sha256": "db8e2953c7459ff8e69460320a1f8e3a5d9ef6c04a69dc53f7183dcea72c7591"
            },
            "downloads": -1,
            "filename": "livecheck_python-1.0.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "0ef2bf5da0771f626450af000354f649",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6.7",
            "size": 6400,
            "upload_time": "2024-07-09T05:47:17",
            "upload_time_iso_8601": "2024-07-09T05:47:17.879891Z",
            "url": "https://files.pythonhosted.org/packages/90/19/229b848b8450711fd2ee8e74922d138f72a5b23d2f39a176d77ed0fa875e/livecheck_python-1.0.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "3fb3218fed4fc2e56e8b7d02ebaa82cf805320e5bfbe2706b890a3d5318ed1d0",
                "md5": "1a20a766326f0f7cde7355e9841183ad",
                "sha256": "03faff14f9ec5eb3e6d273574db49b6101e245cb73ef1890d461c36842e09434"
            },
            "downloads": -1,
            "filename": "livecheck_python-1.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "1a20a766326f0f7cde7355e9841183ad",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6.7",
            "size": 6237,
            "upload_time": "2024-07-09T05:47:19",
            "upload_time_iso_8601": "2024-07-09T05:47:19.112777Z",
            "url": "https://files.pythonhosted.org/packages/3f/b3/218fed4fc2e56e8b7d02ebaa82cf805320e5bfbe2706b890a3d5318ed1d0/livecheck_python-1.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-07-09 05:47:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dinhtuantran",
    "github_project": "livecheck_python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "livecheck-python"
}
        
Elapsed time: 2.16343s