{ "info": { "author": "Dean Malmgren", "author_email": "dean.malmgren@datascopeanalytics.com", "bugtrack_url": null, "classifiers": [], "description": "# todoist-tracker\n\nThis project is intended to make it easy to track various metrics for todoist,\nincluding things like:\n\n* how many tasks are currently OVERDUE (including today)\n* how much time is allocated to currently OVERDUE (including today) tasks\n* the priority level of currently OVERDUE (including today) tasks\n\n`todoist-tracker` is a hack to make it easy to quickly gauge how \"underwater\"\nyou are and how productive you've been. It is intended to be set up as a\ncronjob with a crontab entry like:\n\n```\n45 21 * * * todoist-tracker overdue n\n45 21 * * * todoist-tracker overdue time\n45 21 * * * todoist-tracker overdue priority\n```\n\nwhich runs `todoist-tracker` every night at 9:45 p.m. By default, the resulting\nmetrics are stored in a google spreadsheet for subsequent analysis. Depending\non the version of `requests` that is installed via python dependencies, you may\nalso want to use `PYTHONWARNINGS=ignore` somewhere in your crontab to avoid\nbeing sent warnings every time the script is run.\n\n## quick start\n\n1. install `todoist-tracker` from pypi:\n ```sh\n pip install todoist-tracker\n ```\n\n1. get your todoist api token from the todoist `Settings` > `Account` > `API\n token`.\n\n1. place your todoist api token in a `todoist.json` file in the repository root\n that looks like this:\n ```json\n {\n \"token\": \"your-token\"\n }\n ```\n\n1. get your google spreadsheet credentials by following [the gspread\n instructions](http://gspread.readthedocs.io/en/latest/oauth2.html).\n\n1. place your google spreadsheet credentials in a `google.json` file in the\n repository root and add your `workbook_url` to the JSON:\n ```json\n {\n ...\n \"workbook_url\": \"https://docs.google.com/spreadsheets/d/SPREADSHEET_ID/edit#gid=0\"\n }\n ```\n\n1. :boom: For usage instructions, see\n ```sh\n todoist-tracker -h\n ```\n\n## development\n\n1. instantiate virtual environment\n ```sh\n mkvirtualenv todoist-tracker\n pip install -r requirements/python-dev\n ```\n\n1. add the `bin/` directory to your virtualenv `PATH` and the\n project root to your `PYTHONPATH` with\n ```sh\n # setup paths on virtualenv activation\n echo 'export __PATH_TODOIST_TRACKER=$PATH' > ~/.virtualenvs/todoist-tracker/bin/postactivate\n echo 'export PATH=$PATH:'`pwd`'/bin' >> ~/.virtualenvs/todoist-tracker/bin/postactivate\n echo 'export PYTHONPATH=$PYTHONPATH:'`pwd` >> ~/.virtualenvs/todoist-tracker/bin/postactivate\n\n # setup paths on virtualenv deactivation\n echo 'unset PYTHONPATH' > ~/.virtualenvs/todoist-tracker/bin/predeactivate\n echo 'export PATH=$__PATH_TODOIST_TRACKER' > ~/.virtualenvs/todoist-tracker/bin/predeactivate\n ```\n\n1. follow the quick start instructions above to get your todoist credentials.", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/deanmalmgren/todoist-tracker/archives/master", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/deanmalmgren/todoist-tracker", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "todoist-tracker", "package_url": "https://pypi.org/project/todoist-tracker/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/todoist-tracker/", "project_urls": { "Download": "https://github.com/deanmalmgren/todoist-tracker/archives/master", "Homepage": "https://github.com/deanmalmgren/todoist-tracker" }, "release_url": "https://pypi.org/project/todoist-tracker/0.1.3/", "requires_dist": null, "requires_python": null, "summary": "track various metrics for todoist", "version": "0.1.3" }, "last_serial": 2574454, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "6672468d45c661cbf4d2953a96747a98", "sha256": "53cca6aa31d0422624a5282bbc62b7e8566c75116af80a16c39e35477d7367ee" }, "downloads": -1, "filename": "todoist-tracker-0.1.0.tar.gz", "has_sig": false, "md5_digest": "6672468d45c661cbf4d2953a96747a98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5146, "upload_time": "2017-01-03T04:23:19", "url": "https://files.pythonhosted.org/packages/e9/8c/32a8a351cfd053e515e389d8600c301abc3a1185fd4f29e506e87a01d02a/todoist-tracker-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7b21618eec751efdf563b0e19f1c34e5", "sha256": "1be132540e54658d6c182cf539a8bc96db80302b16aed0604f9108e1a6f6fec3" }, "downloads": -1, "filename": "todoist-tracker-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7b21618eec751efdf563b0e19f1c34e5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5223, "upload_time": "2017-01-03T04:54:20", "url": "https://files.pythonhosted.org/packages/a0/50/191c3ef957a201e5ece345a2f66231aa034cd623d511cd3892de1e492533/todoist-tracker-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "d3f070bc7201bed4c3c9e163b05d46a1", "sha256": "850f1d455b506b09dd619bc969bf5da4289e3ad62e4eece92a96c47dbb6c3b62" }, "downloads": -1, "filename": "todoist-tracker-0.1.2.tar.gz", "has_sig": false, "md5_digest": "d3f070bc7201bed4c3c9e163b05d46a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6595, "upload_time": "2017-01-03T04:56:31", "url": "https://files.pythonhosted.org/packages/a1/99/258f763f312d4798f0d88cce1bdafac92cdcb49634ac3802c4772b400a36/todoist-tracker-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "4e9777e0d286fb5beaeec1641a84516e", "sha256": "8aa5f761a15d9a969f06817caa091a73138f7705b092eaf3c2ea58eadba53f1e" }, "downloads": -1, "filename": "todoist-tracker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4e9777e0d286fb5beaeec1641a84516e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6734, "upload_time": "2017-01-14T20:09:41", "url": "https://files.pythonhosted.org/packages/93/c1/ab6d00a353524dd26e4f948ca82033193322a47d178f61fd9ae23eee9c09/todoist-tracker-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4e9777e0d286fb5beaeec1641a84516e", "sha256": "8aa5f761a15d9a969f06817caa091a73138f7705b092eaf3c2ea58eadba53f1e" }, "downloads": -1, "filename": "todoist-tracker-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4e9777e0d286fb5beaeec1641a84516e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6734, "upload_time": "2017-01-14T20:09:41", "url": "https://files.pythonhosted.org/packages/93/c1/ab6d00a353524dd26e4f948ca82033193322a47d178f61fd9ae23eee9c09/todoist-tracker-0.1.3.tar.gz" } ] }