{ "info": { "author": "mechastorm", "author_email": "dev@swapps.co", "bugtrack_url": null, "classifiers": [], "description": "toggl-python-api-client\n=======================\n\n`Toggl `__ is an \"insanely simple time tracking\"\nservice.\n\nThis specific library is a Python-based REST client to interface with\nthe Toggle API utilizing\n`requests `__.\n\nThis library is a pure api client to help other python apps interface\nwith Toggl. I created this project primarily to help with a bigger\ninternal project that I am doing at work while at the same time getting\nmy feet wet in Python.\n\nOthers out there\n================\n\nThere is already a similar library,\n`toggl\\_target `__ though it\nis more of an application and the client api is not separate repo. Some\nideas/concepts on the client api were taken from there but I had needed\na client api only to help interface with my bigger app.\n\nUsage\n=====\n\nPypi Package\n------------\n\n::\n\n pip install python-toggl\n\nManual installation\n-------------------\n\nDownload to a location of your choice and do the following.\n\n.. code:: python\n\n\n from toggl.api_client import TogglClientApi\n\n settings = {\n 'token': 'xxx',\n 'user_agent': 'your app name'\n }\n toggle_client = TogglClientApi(settings)\n\n response = toggle_client.get_workspaces()\n\nDependencies\n============\n\n- Python 2.7 onwards\n- `requests `__\n\nTests Dependencies\n------------------\n\nTo run the tests, you will need the following packages\n\n- unittest\n- json\n- `httpretty `__\n\nTests\n=====\n\nTests created under ``/tests`` are primarily integration tests and are\nnot strictly unit tests. They consists of an offline and online(live)\ntest.\n\nOffline\n-------\n\n``tests/tests_offline.py``\n\nThese tests are for the logic of the api client. They do not connect to\nthe actual Toggl servers - instead use\n`httpretty `__ to mock the\nresponses. Sample responses are included in ``tests/json_responses`` and\nare based on Toggle responses for V8 of the main api and V2 of the\nreport api.\n\nOnline/Live\n-----------\n\n``tests/tests_live.py``\n\nThese tests are to check the connections to Toggl's API and to ensure\nthat the client is handling the live responses from Toggl as expected.\n\nTo avoid adding sensitive data to version control, no api credentials\nhave been included. To enable live tests, - make a copy of\n``tests/tests_live_config.json.sample`` as\n``tests/tests_live_config.json`` - update the settings on\n``tests/tests_live_config.json`` as needed", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/swappsco/toggl-python-api-client", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "python-toggl", "package_url": "https://pypi.org/project/python-toggl/", "platform": "", "project_url": "https://pypi.org/project/python-toggl/", "project_urls": { "Homepage": "https://github.com/swappsco/toggl-python-api-client" }, "release_url": "https://pypi.org/project/python-toggl/0.1.12/", "requires_dist": null, "requires_python": "", "summary": "Python Wrapper for Toggl API", "version": "0.1.12" }, "last_serial": 5771435, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "4813f527adb086036b221762ef35ca28", "sha256": "70146b5baba734a636ba0248a9e2966db45e0113897c2b531128f152573a5a5d" }, "downloads": -1, "filename": "python_toggl-0.1.0-py2.7.egg", "has_sig": false, "md5_digest": "4813f527adb086036b221762ef35ca28", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 7610, "upload_time": "2015-11-17T21:39:28", "url": "https://files.pythonhosted.org/packages/4a/14/e6bf7dd226730eb1bff2fcf90e02bac6289dffbc731953eaa54ce2b3b8bc/python_toggl-0.1.0-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d43d801771ba7bd02feaf5392f97ae25", "sha256": "de4444e51a4fa1f7cfe9983955fcee883a47c6eb4ce52fd26acb7c1f6931f1c1" }, "downloads": -1, "filename": "python-toggl-0.1.0.tar.gz", "has_sig": false, "md5_digest": "d43d801771ba7bd02feaf5392f97ae25", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1918, "upload_time": "2015-11-17T21:39:23", "url": "https://files.pythonhosted.org/packages/ed/d4/156613f7bf17e80e63b3ec27d112c218b2143736b028d0a7a462ca7e34c1/python-toggl-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "c6eb6739e691a1e9630d4fb85a19d6dc", "sha256": "c69abff375fbbf7cb23f05aa69cc3d4c2b56f0cd55ae88566851c898876c2652" }, "downloads": -1, "filename": "python-toggl-0.1.1.tar.gz", "has_sig": false, "md5_digest": "c6eb6739e691a1e9630d4fb85a19d6dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1933, "upload_time": "2015-11-18T02:45:29", "url": "https://files.pythonhosted.org/packages/59/a1/674e0a67d4d560acb4327fea6986b091fb93a972687bb1c64fad96b96d4f/python-toggl-0.1.1.tar.gz" } ], "0.1.10": [ { "comment_text": "", "digests": { "md5": "4b8b769b47b242eab4675953c75c2767", "sha256": "79992476f2fba6f09adcff62ecc4e8e24c1975d68b55706aa9c3bfed8f775bb9" }, "downloads": -1, "filename": "python-toggl-0.1.10.tar.gz", "has_sig": false, "md5_digest": "4b8b769b47b242eab4675953c75c2767", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3602, "upload_time": "2019-01-10T15:04:19", "url": "https://files.pythonhosted.org/packages/18/c2/f9994ff2e7a7874e6d8f0daa2ba06f6cd20d5f0ef49bd142ffbedb240866/python-toggl-0.1.10.tar.gz" } ], "0.1.11": [ { "comment_text": "", "digests": { "md5": "f1272cb141cb973cbc0bc77efc661186", "sha256": "a953034fad17e193dcb1913126186982cba3435ce5fb59e6ab0f9379c315096d" }, "downloads": -1, "filename": "python-toggl-0.1.11.tar.gz", "has_sig": false, "md5_digest": "f1272cb141cb973cbc0bc77efc661186", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3660, "upload_time": "2019-05-29T15:30:21", "url": "https://files.pythonhosted.org/packages/63/cf/eb315b48bf21a2082ccaed363f756642002243f949273aa5921b51ad33cf/python-toggl-0.1.11.tar.gz" } ], "0.1.12": [ { "comment_text": "", "digests": { "md5": "98438a55e5971085fe62576674a11d60", "sha256": "19052aa0c5870e09c65bebca7e9771f23d1a1c13130ae9c8a518021ef9c323a9" }, "downloads": -1, "filename": "python-toggl-0.1.12.tar.gz", "has_sig": false, "md5_digest": "98438a55e5971085fe62576674a11d60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3973, "upload_time": "2019-09-02T15:27:44", "url": "https://files.pythonhosted.org/packages/62/c6/1e6c38833fec21f218cfc00fc861d9f93cfcac8c84b9e3e539a0b82cd12d/python-toggl-0.1.12.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "31b5a876c31991e5db6c777416953321", "sha256": "7911c24e76e2f27e61ba6342bc007a57a847c5893e1ef58c71e619723d5c4044" }, "downloads": -1, "filename": "python-toggl-0.1.2.tar.gz", "has_sig": false, "md5_digest": "31b5a876c31991e5db6c777416953321", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2066, "upload_time": "2015-11-19T00:33:06", "url": "https://files.pythonhosted.org/packages/f6/2e/1a68b66ba0b3ba23ac2861961ffbb63c874430c5bf53bf2864044a967cf3/python-toggl-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "45d5332eb4627e34cbc99ce2e3a34dee", "sha256": "bdacc11c25425758ad24ae251d32b5c44ed62da3c963021882a079adf39ac411" }, "downloads": -1, "filename": "python-toggl-0.1.3.tar.gz", "has_sig": false, "md5_digest": "45d5332eb4627e34cbc99ce2e3a34dee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3245, "upload_time": "2015-11-19T00:47:56", "url": "https://files.pythonhosted.org/packages/9b/5b/11df3de07679e23296c8cc87d1f695fdec26a92a5df60d0a5d512954be34/python-toggl-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "78fb84a90555d11e7d94ff85990f14d7", "sha256": "34cb9fd1014440fb9f2b35ea23c1d726a507325be4444d40d21f634080d1c6f4" }, "downloads": -1, "filename": "python_toggl-0.1.4-py2.7.egg", "has_sig": false, "md5_digest": "78fb84a90555d11e7d94ff85990f14d7", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 9240, "upload_time": "2015-11-19T00:54:19", "url": "https://files.pythonhosted.org/packages/d7/f2/a5259ef469834d67bd96c9d45f277d4aa77bd7d2fdc030afaa4096ace71d/python_toggl-0.1.4-py2.7.egg" }, { "comment_text": "", "digests": { "md5": "d8bc277110f20f8a73bfdbc5c3e432ee", "sha256": "247aad3ad7968954eca58e19f96f9e117515659f7db5d9efa62c5fff61814800" }, "downloads": -1, "filename": "python-toggl-0.1.4.tar.gz", "has_sig": false, "md5_digest": "d8bc277110f20f8a73bfdbc5c3e432ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3550, "upload_time": "2015-11-19T00:54:12", "url": "https://files.pythonhosted.org/packages/90/2a/7e0438d12e9cf9d3fbbafb847534fba2649c65506485db72e5cc34827f5b/python-toggl-0.1.4.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "8a6ca5c5ee8eedb1ba61bda2fc2439da", "sha256": "ee39d2107b76d0d74d6d8bc91917523fa08b9fe0c4359f91e479870e24e2615d" }, "downloads": -1, "filename": "python-toggl-0.1.9.tar.gz", "has_sig": false, "md5_digest": "8a6ca5c5ee8eedb1ba61bda2fc2439da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3593, "upload_time": "2018-09-06T14:15:43", "url": "https://files.pythonhosted.org/packages/15/65/1351aada3b3fe8e63a9e71ade001708a6fb134418f2163cf248386258346/python-toggl-0.1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "98438a55e5971085fe62576674a11d60", "sha256": "19052aa0c5870e09c65bebca7e9771f23d1a1c13130ae9c8a518021ef9c323a9" }, "downloads": -1, "filename": "python-toggl-0.1.12.tar.gz", "has_sig": false, "md5_digest": "98438a55e5971085fe62576674a11d60", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3973, "upload_time": "2019-09-02T15:27:44", "url": "https://files.pythonhosted.org/packages/62/c6/1e6c38833fec21f218cfc00fc861d9f93cfcac8c84b9e3e539a0b82cd12d/python-toggl-0.1.12.tar.gz" } ] }