{ "info": { "author": "Rohan Jain", "author_email": "crodjer@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Programming Language :: Python :: 2", "Programming Language :: Python :: 3", "Topic :: Office/Business :: Scheduling", "Topic :: Utilities" ], "description": "================\nAround the Globe\n================\n------------------------\nA small timezone utility\n------------------------\n\n.. image:: https://api.travis-ci.org/crodjer/atg.svg\n :target: https://travis-ci.org/crodjer/atg\n.. image:: https://coveralls.io/repos/crodjer/atg/badge.svg?branch=master\n :target: https://coveralls.io/r/crodjer/atg?branch=master\n\n.. code ::\n\n $ atg Mountain View\n Their timezone is \"America/Los_Angeles\"\n Their time: Sat Jul 4 07:13:34 2015\n People there may be sleeping.\n Convenient time slots:\n 08:00 to 11:00 here i.e. 19:30 to 22:30 there\n 20:30 to 22:30 here i.e. 08:00 to 10:00 there\n\nFeatures\n--------\n\n - Get the timezone for a random address.\n - Current time anywhere.\n - Guesses about what people may be doing.\n - Helps you schedule meetings by providing you spans of convenient times.\n\nInstallation\n------------\n\nThis is a Python package, which can be simply installed through pip:\n\n.. code :: sh\n\n # $HOME/.local/bin should be in $PATH for this to work.\n $ pip install --user atg\n\n\nand to install it globally, run:\n\n\n.. code :: sh\n\n $ sudo pip install atg\n\n\nUsage\n-----\n\nGet all the information about the time at **Mountain View**:\n\n.. code ::\n\n $ atg Mountain View\n Their timezone is \"America/Los_Angeles\"\n Their time: Sat Jul 4 07:13:34 2015\n People there may be sleeping.\n Convenient time slots:\n 08:00 to 11:00 here i.e. 19:30 to 22:30 there\n 20:30 to 22:30 here i.e. 08:00 to 10:00 there\n\n\nIf you want to avoid querying the timezone to Google's maps api everytime, you\ncan directly use the timezone in further requests:\n\n.. code ::\n\n $ atg America/Los_Angeles\n\nBy default, ``atg`` calculates time slots based to avoid sleep periods. You can\nuse ``--dnd`` to customize this. For example, to avoid disturbing at work/sleep:\n\n.. code ::\n\n $ atg Mountain View --dnd work --dnd sleep\n\nYou can also specify who the time slots should be convenient to. By default it\nwill consider both. If you want the convenient timings for the remote location:\n\n.. code ::\n\n $ atg Mountain View -c there\n\n\nYou may also use the flag ``--convenient-for`` flag. If you don't care about the\nremote location's convenience:\n\n.. code ::\n\n $ atg Mountain View --convenient-for here\n\n\nHelp\n====\n\nYou can always refer to the command usage through ``atg -h``.\n\n.. code ::\n\n usage: atg [-h] [--dnd {work,sleep,available}] [-c {here,there}]\n [-m MY_LOCATION] [-x {timezone,now,default,status,schedule}]\n remote [remote ...]\n\n positional arguments:\n remote the remote location\n\n optional arguments:\n -h, --help show this help message and exit\n --dnd {work,sleep,available}\n the do not disturb activities (default: sleep)\n -c {here,there}, --convenient-for {here,there}\n which side's convenience should be considered\n (default: both)\n -m MY_LOCATION, --my-location MY_LOCATION\n specify your own location (default from system time)\n -x {timezone,now,default,status,schedule}, --command {timezone,now,default,status,schedule}\n the command for atg to execute\n\n\n\nDeveloping and Testing\n======================\n\n``atg`` uses the pytz_, tzlocal_ and enum34_ (for backwards compatibility) as dependencies.\n\nTo set things up for development, create and activate a virtualenv_ and run\n\n\n.. code ::\n\n $ pip install -e .[dev,test]\n $ python setup.py develop\n\nTests\n-----\n\nRun tests via:\n\n.. code ::\n\n $ nosetests\n\n\nBugs\n----\n\nProbably lots. Please send us reports on the Github `issue tracker `_. Patches are welcome too.\n\n.. _pytz: https://pypi.python.org/pypi/pytz\n.. _tzlocal: https://pypi.python.org/pypi/tzlocal\n.. _enum34: https://pypi.python.org/pypi/enum34\n.. _virtualenv: https://pypi.python.org/pypi/virtualenv", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/crodjer/atg", "keywords": "timezones productivity", "license": "GPLv3+", "maintainer": null, "maintainer_email": null, "name": "atg", "package_url": "https://pypi.org/project/atg/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/atg/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/crodjer/atg" }, "release_url": "https://pypi.org/project/atg/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "A small timezone utility", "version": "0.0.6" }, "last_serial": 1619973, "releases": { "0.0.3": [], "0.0.4": [ { "comment_text": "", "digests": { "md5": "05883a7d3c9115cf0fa1fff14a7bfcb2", "sha256": "c28667db1e4256a6fb8e0fba9632bd87db1ef3a190846b34881ebec05973decd" }, "downloads": -1, "filename": "atg-0.0.4.tar.gz", "has_sig": false, "md5_digest": "05883a7d3c9115cf0fa1fff14a7bfcb2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7563, "upload_time": "2015-07-04T19:59:20", "url": "https://files.pythonhosted.org/packages/30/26/7f92cef97b37da7df193e21268c4a9791a30bc9b1f4c39c818338303c1f3/atg-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "ce0dd181fab1a155273fd735d96e06eb", "sha256": "f1e17064d09622baac8af489a37409b0dad89c28966a3d601cfd304274b04045" }, "downloads": -1, "filename": "atg-0.0.5.tar.gz", "has_sig": false, "md5_digest": "ce0dd181fab1a155273fd735d96e06eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7553, "upload_time": "2015-07-04T20:26:18", "url": "https://files.pythonhosted.org/packages/84/2b/bdaaecd1dfe917cae8aaa79a66a1ec5952556b019944ef97373c2c794b50/atg-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "4f7ef3bebcd9505c8e6d9d9e1ebb7e48", "sha256": "28e2fdccad5e4bd780c7696d8f78f2a2654f21f2556129c9a09e90bb8867c791" }, "downloads": -1, "filename": "atg-0.0.6.tar.gz", "has_sig": false, "md5_digest": "4f7ef3bebcd9505c8e6d9d9e1ebb7e48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7503, "upload_time": "2015-07-05T13:04:22", "url": "https://files.pythonhosted.org/packages/6f/ba/97cd1df293b6e3375b5d46a3df739f7d347c54002dbaceb8243e7b192e63/atg-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4f7ef3bebcd9505c8e6d9d9e1ebb7e48", "sha256": "28e2fdccad5e4bd780c7696d8f78f2a2654f21f2556129c9a09e90bb8867c791" }, "downloads": -1, "filename": "atg-0.0.6.tar.gz", "has_sig": false, "md5_digest": "4f7ef3bebcd9505c8e6d9d9e1ebb7e48", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7503, "upload_time": "2015-07-05T13:04:22", "url": "https://files.pythonhosted.org/packages/6f/ba/97cd1df293b6e3375b5d46a3df739f7d347c54002dbaceb8243e7b192e63/atg-0.0.6.tar.gz" } ] }