{ "info": { "author": "Shotaro Kohama", "author_email": "khmshtr28@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "# labgsheet: Labnotes on Google Sheet\n\n[![Build Status](https://travis-ci.org/shotarok/labgsheet.svg?branch=master)](https://travis-ci.org/shotarok/labgsheet)\n\nA python library to note ml experiments on google sheet.\n\n`labgsheet` provides an easy way to note ml experiments on Google Sheet.\n\n## At a Glance\n\nYou can use `labgsheet` in cosole like following:\n\n```python\n# prepare for worksheet by gspread\n>>> import gspread\n>>> from oauth2client.service_account import ServiceAccountCredentials\n>>> scope = ['https://spreadsheets.google.com/feeds', 'https://www.googleapis.com/auth/drive']\n# download credentials.json previously from Google Developers Console\n>>> credentials = ServiceAccountCredentials.from_json_keyfile_name('credentials.json', scope)\n>>> gc = gspread.authorize(credentials)\n>>> ws = gc.create(\"Test for labgsheets\").sheet1\n# note an experiment where params and a metric are used\n>>> from labgsheet import Experiment\n>>> exp = Experiment(ws)\n>>> exp.log_multi_params({'l1': 0.5, 'C': 10})\n>>> exp.log_metric('aupr', 0.2345)\n```\n\nYou can also use `labgsheet` in [Google Colaboratory](colab.research.google.com) like following:\n\n```python\n! pip install labgsheet\n! pip install --upgrade -q gspread\n\nfrom google.colab import auth\nauth.authenticate_user()\n\nimport gspread\nfrom oauth2client.client import GoogleCredentials\n\ngc = gspread.authorize(GoogleCredentials.get_application_default())\nws = gc.create(\"Test for labgsheets\").sheet1\n\nfrom labgsheet import Experiment\nexp = Experiment(ws)\nexp.log_multi_params({'l1': 0.5, 'C': 10})\nexp.log_metric('aupr', 0.2345)\n```\n\nAfter logging, you can get a google sheet like below:\n\n![image](https://user-images.githubusercontent.com/1156179/39610145-551243a6-4f89-11e8-9e56-e52057e173e0.png)\n\n## Installation\n\nTo install `labgsheet`, use pipenv (or pip):\n\n```shell\n$ pipenv install labgsheet\n```\n\n## Contribution\n\n1. Fork\n2. Create a feature branch\n3. Commit your changes\n4. Rebase your local changes against the master branch\n5. Create new Pull Request\n\n## License\n\n[MIT](https://github.com/shotarok/labgsheet/blob/master/LICENSE)\n\n## Author\n\n[Shotaro Kohama](https://github.com/shotarok)\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shotarok/labgsheet", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "labgsheet", "package_url": "https://pypi.org/project/labgsheet/", "platform": "", "project_url": "https://pypi.org/project/labgsheet/", "project_urls": { "Homepage": "https://github.com/shotarok/labgsheet" }, "release_url": "https://pypi.org/project/labgsheet/0.1.1/", "requires_dist": [ "gspread" ], "requires_python": "", "summary": "A python library to note ml experiments on google sheet", "version": "0.1.1" }, "last_serial": 3834345, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "b4464d63de3600dc12c450d1a1de3197", "sha256": "e6df27df9a193f223bf07634ac365643e1ef6dee9ebadbbd284d21c567939622" }, "downloads": -1, "filename": "labgsheet-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "b4464d63de3600dc12c450d1a1de3197", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2254, "upload_time": "2018-05-04T02:33:42", "url": "https://files.pythonhosted.org/packages/11/cb/7427a28dae23024f1ff0b61d6369208a3b18e3e867138b804e723d186812/labgsheet-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8ed092e389e56306e0186cafac40be4", "sha256": "e97638a4b6128a07b548cdba0c0f6c38df811c485d3fba58ffa010a851c83471" }, "downloads": -1, "filename": "labgsheet-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f8ed092e389e56306e0186cafac40be4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1826, "upload_time": "2018-05-04T02:33:43", "url": "https://files.pythonhosted.org/packages/7f/d6/aaf4d7e9b24ad23e62f009d2451f4c2abdf10c7ebee53efee4dd68c95b8d/labgsheet-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "f555ab7a6e885230ceefa4e014c94df5", "sha256": "2d2f41ae8eba263f587d64dcf637a5ed504a2ef3a3bd9efb634393ebacb11f64" }, "downloads": -1, "filename": "labgsheet-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f555ab7a6e885230ceefa4e014c94df5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3145, "upload_time": "2018-05-04T13:16:05", "url": "https://files.pythonhosted.org/packages/62/85/d8dfc72a448eab3d0c87c28c65fa771c9998d04c50868a39d6c6ce4cfbf3/labgsheet-0.1.1-py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f555ab7a6e885230ceefa4e014c94df5", "sha256": "2d2f41ae8eba263f587d64dcf637a5ed504a2ef3a3bd9efb634393ebacb11f64" }, "downloads": -1, "filename": "labgsheet-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f555ab7a6e885230ceefa4e014c94df5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3145, "upload_time": "2018-05-04T13:16:05", "url": "https://files.pythonhosted.org/packages/62/85/d8dfc72a448eab3d0c87c28c65fa771c9998d04c50868a39d6c6ce4cfbf3/labgsheet-0.1.1-py3-none-any.whl" } ] }