{ "info": { "author": "adamchainz", "author_email": "me@adamj.eu", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Console", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Topic :: Office/Business :: Scheduling", "Topic :: Software Development" ], "description": "Lifelogger\n==========\n\nTrack your life like a pro on Google Calendar via your terminal.\n\nInstallation Instructions\n-------------------------\n\n1. Install with pip, the python package manager:\n\n .. code-block:: sh\n\n pip install lifelogger\n\n2. Run for the first time, which should initialize the OAuth connection\n dialog.\n\n .. code-block:: sh\n\n lifelogger now \"Started lifelogger\"\n\n You\u2019ll need to click through and accept the app on your Google\n account. After saying yes, switch back to the terminal and you should\n see:\n\n .. code-block:: sh\n\n Authentication successful.\n\n Followed by:\n\n .. code-block:: sh\n\n Adding 0-minute event >> Started lifelogger\n\n And then when that succeeds, a link to the event on the Google\n Calendar web interface. Congratulations, you can now create events on\n Google Calendar from your terminal!\n\nHow does it work?\n-----------------\n\n``lifelogger`` stores events directly into Google Calendar via its API.\nIt can also download your entire calendar back to your computer via the\n\u201ciCal export\u201d URL that Google provides, and then you can use commands to\nanalyze it locally. Downloading the entire calendar back makes it a lot\nfaster to perform any analysis:\n\n.. figure:: https://raw.githubusercontent.com/adamchainz/lifelogger/master/docs/in-and-out.png\n\nQuickstart Guide\n----------------\n\nFor a quick example, let\u2019s imagine you want to track your weight with\n``lifelogger``. It\u2019s up to you to develop rules for tracking what you\nwant to, but the suggested system you use is one of hashtags (like on\nTwitter) to keep your records machine searchable but still quite human\nreadable. ``lifelogger`` is also aware of common data formats and knows\nhow to search them, so we can just enter our weight in kg\n\nImagine you\u2019ve got your scales out, and you weigh yourself - let\u2019s\nrecord it on the calendar as a 0-minute event:\n\n.. code-block:: sh\n\n lifelogger now \"#weight 80.0kg\"\n\nThe event should be added straightforwardly.\n\nOnce you get going, you\u2019ll probably want to track things quickly, so you can\nsave some type from writing the long word ``lifelogger`` in your terminal by\nusing an alias. You can add this in your shell startup file (e.g.\n``~/.bashrc``, ``~/.zshrc``); the recommended alias is ``l`` (which will be\nused for the rest of this how-to), can be added like this:\n\n.. code-block:: sh\n\n alias l=lifelogger\n\nNow let\u2019s download the calendar for analysis. Run:\n\n.. code-block:: sh\n\n l download\n\nAt this point, you\u2019ll be prompted to tell ``lifelogger`` the private URL for\nyour calendar (unfortunately there is no way to do this with the API). So\nfollow the instructions, heading to the Google Calendar web interface and\ncopying the URL from there. Once you\u2019ve set that, the download should progress\n(can take a few seconds):\n\n.. code-block:: sh\n\n Downloading private iCal file...\n Download successful!\n Converting iCal file into sqlite database...\n Imported 7175 events.\n\nLifelogger has now fetched your entire Google Calendar history locally and then\nconverted into a database which can be used to query it quickly. It\u2019s good to\ndo this regularly, so you have a backup of your data, as well as being able to\nanalyze all of it (the analysis commands only run on the local database copy of\nyour data, not against the Google Calendar API).\n\nBy the way, lifelogger only stores data in ``~/.config/lifelogger``. If you\nwant to erase the calendar file, database, and Google OAuth permissions, just\ndelete the contents of that directory.\n\nLet's run a quick search on all of our ``#weight`` events:\n\n.. code-block:: sh\n\n l list \"#weight\"\n\nYou should see a listing of all your events that match '#weight', with their\ndate/time and the full information. There are plenty more commands to play\nwith, including other options and ways to add events to your calendar, as well\nas query them in more interesting ways. Have a poke around in the source code\nto check it out!\n\nScripts\n-------\n\nI also use a few extra scripts to manage adding events to my lifelogger via\nsome shortcuts. Check out the 'scripts' folder for copies of these. You'll need\nto customize them to your purpose as they are exporting my events only as it\nstands.\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/adamchainz/lifelogger", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "lifelogger", "package_url": "https://pypi.org/project/lifelogger/", "platform": "", "project_url": "https://pypi.org/project/lifelogger/", "project_urls": { "Homepage": "https://github.com/adamchainz/lifelogger" }, "release_url": "https://pypi.org/project/lifelogger/0.2.2/", "requires_dist": null, "requires_python": "", "summary": "Track your life like a pro on Google Calendar via your terminal.", "version": "0.2.2" }, "last_serial": 3654445, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a338d180aa40a5c62e2e2553f9fde925", "sha256": "e8db575f8466fdccb329f338c0fc47ece1b7f19daca3bfd3a2dbd4c39750ebe0" }, "downloads": -1, "filename": "lifelogger-0.1.0.tar.gz", "has_sig": false, "md5_digest": "a338d180aa40a5c62e2e2553f9fde925", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9521, "upload_time": "2014-08-02T14:10:57", "url": "https://files.pythonhosted.org/packages/73/b5/b7c2742f48831efded96fb35a1914532467c9bfa762c5780f832f03c2c0b/lifelogger-0.1.0.tar.gz" }, { "comment_text": "", "digests": { "md5": "c9832f817bde81bf383ea303539d0b8f", "sha256": "501d3431a842199631cc932ced6dfb2a6202572dd63bf6479d5f19fe66649de7" }, "downloads": -1, "filename": "lifelogger-0.1.0.zip", "has_sig": false, "md5_digest": "c9832f817bde81bf383ea303539d0b8f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15219, "upload_time": "2014-08-02T14:10:53", "url": "https://files.pythonhosted.org/packages/bf/e8/6e3d30b714b3d400b4747ac58e14689ad289232040a0dc54b3d9f04702a4/lifelogger-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "83f9506593de7adbd0326fd4ef41b8a7", "sha256": "00f7768bc290b3999aa65e179c6af846616733e2f71327ada4a4266d0accd9ad" }, "downloads": -1, "filename": "lifelogger-0.1.1.tar.gz", "has_sig": false, "md5_digest": "83f9506593de7adbd0326fd4ef41b8a7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9742, "upload_time": "2014-08-02T15:32:48", "url": "https://files.pythonhosted.org/packages/af/ab/652dd295a0d8120ce347e29956a4dddca76704f5e6015b314009224090fb/lifelogger-0.1.1.tar.gz" }, { "comment_text": "", "digests": { "md5": "53950982f9ed671730493f87e0efd3ec", "sha256": "f3ac9812d11399726993ebd647e05bf238ddc689b43463d555ebc91a3954a8d6" }, "downloads": -1, "filename": "lifelogger-0.1.1.zip", "has_sig": false, "md5_digest": "53950982f9ed671730493f87e0efd3ec", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17005, "upload_time": "2014-08-02T15:32:45", "url": "https://files.pythonhosted.org/packages/c7/b5/e7d87a898b5ea8c6ba2405d2765075f1f30f918c88f379a6cb624a708bfa/lifelogger-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "403b0b4ddd1b9c3554f177fc3455f171", "sha256": "bc7c131e70453d87cba89181a2fb82de3ecf7383bcd22bd9669d9291d4fa6c49" }, "downloads": -1, "filename": "lifelogger-0.1.2.tar.gz", "has_sig": false, "md5_digest": "403b0b4ddd1b9c3554f177fc3455f171", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10461, "upload_time": "2014-08-02T15:43:56", "url": "https://files.pythonhosted.org/packages/c6/92/917ae45cc90a6268f20394711d4235dbe5c99c37aef02c0165b1baf6736e/lifelogger-0.1.2.tar.gz" }, { "comment_text": "", "digests": { "md5": "b50271afaa2fcdb59262de810ba8e458", "sha256": "3ac8ff4825b60b33376e4fca2795cd5af7f16e82c89e4bad7a0b99861c627ef4" }, "downloads": -1, "filename": "lifelogger-0.1.2.zip", "has_sig": false, "md5_digest": "b50271afaa2fcdb59262de810ba8e458", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18012, "upload_time": "2014-08-02T15:43:52", "url": "https://files.pythonhosted.org/packages/8b/05/3d1a49653d53d0cec1ffc359da05d49f6f4b2a88e993b2fc975ecf9cc345/lifelogger-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2fa4a9766fca3e4b07ddca90270db7c7", "sha256": "071486d9d4a2d9eee1df60298757e6de82f1e81fe287eb638e3c0f6cb5047334" }, "downloads": -1, "filename": "lifelogger-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2fa4a9766fca3e4b07ddca90270db7c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34000, "upload_time": "2014-08-03T09:02:28", "url": "https://files.pythonhosted.org/packages/4d/64/b672a4806d8ae88a7a02a83991203db8baa1669728f1c1ea2e7a366fed4a/lifelogger-0.1.3.tar.gz" }, { "comment_text": "", "digests": { "md5": "b2ca9a68c7684f8afe662fd5883b05da", "sha256": "4abf46309b0c68a18fb8809cf8fa7d6ce114c020201b0d2f880765a2844ffaf3" }, "downloads": -1, "filename": "lifelogger-0.1.3.zip", "has_sig": false, "md5_digest": "b2ca9a68c7684f8afe662fd5883b05da", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 40964, "upload_time": "2014-08-03T09:02:24", "url": "https://files.pythonhosted.org/packages/7b/3c/0d953d32de21cf90c436ddefa30c974e7332c288881ebb6dd7b6efa3fa26/lifelogger-0.1.3.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "0c6c15c1558ef636882cc3850c13ab09", "sha256": "8ac471b8995fb0913c59b2420c374df06ed572dcf8da1c68c1fd241d9f8557a0" }, "downloads": -1, "filename": "lifelogger-0.2.0-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "0c6c15c1558ef636882cc3850c13ab09", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 16416, "upload_time": "2018-03-09T10:40:46", "url": "https://files.pythonhosted.org/packages/6a/27/596c09da15bffa8f8a79ae66e1ff800a035e09beed4528a53f2595093218/lifelogger-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "06840c66a679444a5e1672fd85baebbe", "sha256": "403ed9b53421eb977d5bdc1095b6441d751a2e14115034355f5bcacb87f77813" }, "downloads": -1, "filename": "lifelogger-0.2.0.tar.gz", "has_sig": true, "md5_digest": "06840c66a679444a5e1672fd85baebbe", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34689, "upload_time": "2018-03-09T10:40:42", "url": "https://files.pythonhosted.org/packages/9d/ba/e35ed6f870482797663cdd8ecfdcbc4610b5ccded34a27a06dc6fded500d/lifelogger-0.2.0.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "f43df2dc39824e5eb2e9dccf68d4a427", "sha256": "b54f7c9fcbe1e54a6ef67ea823c02e5012c62b9ac651a69c05fe8cd7991914fc" }, "downloads": -1, "filename": "lifelogger-0.2.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f43df2dc39824e5eb2e9dccf68d4a427", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 16927, "upload_time": "2018-03-09T14:03:15", "url": "https://files.pythonhosted.org/packages/6e/48/e1a544312a99fee7a8340d60c0471ee191fc93b98e4beed42e2f184b87b1/lifelogger-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48dbab6a3c7ce3db6691b13152ccd5d2", "sha256": "7f22b0861e9514c8207b599c04f9f5b4ec9bca0400eae5687c3a17ffd08bdc6b" }, "downloads": -1, "filename": "lifelogger-0.2.2.tar.gz", "has_sig": true, "md5_digest": "48dbab6a3c7ce3db6691b13152ccd5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34696, "upload_time": "2018-03-09T14:03:13", "url": "https://files.pythonhosted.org/packages/0f/96/20c38888d765c10de4fcd22ff47f4bedeed1454b4ded7139cf2a98677667/lifelogger-0.2.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f43df2dc39824e5eb2e9dccf68d4a427", "sha256": "b54f7c9fcbe1e54a6ef67ea823c02e5012c62b9ac651a69c05fe8cd7991914fc" }, "downloads": -1, "filename": "lifelogger-0.2.2-py2.py3-none-any.whl", "has_sig": true, "md5_digest": "f43df2dc39824e5eb2e9dccf68d4a427", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 16927, "upload_time": "2018-03-09T14:03:15", "url": "https://files.pythonhosted.org/packages/6e/48/e1a544312a99fee7a8340d60c0471ee191fc93b98e4beed42e2f184b87b1/lifelogger-0.2.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "48dbab6a3c7ce3db6691b13152ccd5d2", "sha256": "7f22b0861e9514c8207b599c04f9f5b4ec9bca0400eae5687c3a17ffd08bdc6b" }, "downloads": -1, "filename": "lifelogger-0.2.2.tar.gz", "has_sig": true, "md5_digest": "48dbab6a3c7ce3db6691b13152ccd5d2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34696, "upload_time": "2018-03-09T14:03:13", "url": "https://files.pythonhosted.org/packages/0f/96/20c38888d765c10de4fcd22ff47f4bedeed1454b4ded7139cf2a98677667/lifelogger-0.2.2.tar.gz" } ] }