{ "info": { "author": "Neil Freeman", "author_email": "contact@fakeisthenewreal.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Operating System :: Unix", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "Twittergeo\n==========\n\nExport geotagged tweets to GeoJSON.\n\nInstall\n-------\n\nOpen your terminal and run:\n\n.. code:: bash\n\n pip install twittergeo\n\n(`Don't have Pip? `__)\n\nUse\n---\n\nTo use the tool, you'll need a application registered with Twitter.\nInstructions from Twitter: https://apps.twitter.com.\n\nWhen your application is set, you'll get two keys, which need to be\nadded to a config file.\n\nSetting up a config file\n~~~~~~~~~~~~~~~~~~~~~~~~\n\nYou'll need a ``bots.yaml`` (or ``.json``) file with you keys, because\ncopying and pasting them is boring, and environment variabled don't work\nif you have several applications. Save a config file like so:\n\n.. code:: yaml\n\n apps:\n twittergeo:\n consumer_key: ...\n consumer_secret: ...\n\nCall the file bots.yaml and save it in your home directory.\n``twittergeo`` will find it automatically. Or use a custom file:\n\n.. code:: bash\n\n $ twittergeo --search \"some words\" --config configfile.yaml -o some_words.geojson\n\nSmaller files\n~~~~~~~~~~~~~\n\nUse the ``--lite`` option to get smaller files. The only properties\nsaved will be the tweet's ``text`` and ``id`` and the user's\n``screen_name`` and ``userid``.\n\n.. code:: bash\n\n $ twittergeo --search \"some words\" --lite > some_words.geojson\n\nGet more tweets\n~~~~~~~~~~~~~~~\n\nBy default, Twitter returns only 15 tweets, which is pretty weak. Use\nthe ``--count`` parameter to request more. Note that Twittergeo will\nreturn ``count`` tweets, but that may include non-geotagged tweets, so\nyour files will likely be much shorter. The Twitter API doesn't have a\nway request only geotagged tweets.\n\n.. code:: bash\n\n $ twittergeo --search \"some words\" --count 100 > some_words.geojson\n\nGeocode parameter\n~~~~~~~~~~~~~~~~~\n\nWhen using the search option, you can request tweets close to a\nparticular point. The format to use is ``latitude,longitude,radius``,\nwhere radius is either in miles (``mi``) or kilometers (``km``).\n\n.. code:: bash\n\n $ twittergeo --search \"some words\" --geocode 37.781157,-122.398720,1mi -o some_words_a.geojson\n $ twittergeo --search \"some words\" --geocode 37.781157,-74.2644,10km -o some_words_b.geojson\n\nOptions\n~~~~~~~\n\n::\n\n usage: twittergeo [-h] [-c path] [--app APP] [-u screen_name | -f search]\n [--lite] [--count COUNT] [--geocode LAT,LON,RADIUS]\n [--since ID] [--max ID] [-o OUTPUT]\n\n Pull Twitter searches into GeoJSON\n\n optional arguments:\n -h, --help show this help message and exit\n -c path, --config path\n jsom or yaml config file\n --app APP Twitter app to read in config (default: twittergeo)\n -u screen_name, --user screen_name\n User timeline to search\n -f search, --search search\n Search string\n --lite Output minimal information about tweets\n --count COUNT Maximum number of tweets to return (default: 500)\n --geocode LAT,LON,RADIUS\n optional geocode parameter when searching\n --since ID Fetch tweets since this ID\n --max ID Fetch tweets before this ID\n -o OUTPUT, --output OUTPUT\n output file (default: stdout)", "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/fitnr/twittergeo", "keywords": "twitter geo cli", "license": "GNU General Public License v3 (GPLv3)", "maintainer": "", "maintainer_email": "", "name": "twittergeo", "package_url": "https://pypi.org/project/twittergeo/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/twittergeo/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/fitnr/twittergeo" }, "release_url": "https://pypi.org/project/twittergeo/0.2.1/", "requires_dist": [ "twitter-bot-utils (>=0.10.2)" ], "requires_python": "", "summary": "Export Twitter searches to GeoJSON", "version": "0.2.1" }, "last_serial": 2393553, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "3d816422fcf0d12a8332af1b3a69b25e", "sha256": "7f5c7ec8946535c3698953beff9443e26e53f905b32751ce09b8cc7f013b012f" }, "downloads": -1, "filename": "twittergeo-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "3d816422fcf0d12a8332af1b3a69b25e", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9263, "upload_time": "2015-07-27T21:08:26", "url": "https://files.pythonhosted.org/packages/a3/79/a48bcb532a8a00ac861db0e325b6b1c32944c9bc0e13feeaf43a24153dc2/twittergeo-0.1.0-py2-none-any.whl" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "fceecf4b6d5a8df1684865c7344a6779", "sha256": "6753f3553691c253c7d79cee5a6412c8a0cdecac1c1b50b0a5b1f51d37127090" }, "downloads": -1, "filename": "twittergeo-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "fceecf4b6d5a8df1684865c7344a6779", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 9284, "upload_time": "2015-09-30T19:01:25", "url": "https://files.pythonhosted.org/packages/cc/a0/2eee05c3952091dfc5f400705b90979cd139576cfd477389241ca8d17e64/twittergeo-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "291f63b5126959b1557c2194a2421374", "sha256": "b0796ebd47db68dbfafc1092d77ad5d2d49fa7594dc24714e598bdb965edc5f4" }, "downloads": -1, "filename": "twittergeo-0.1.1.tar.gz", "has_sig": false, "md5_digest": "291f63b5126959b1557c2194a2421374", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5331, "upload_time": "2015-09-30T19:01:29", "url": "https://files.pythonhosted.org/packages/40/22/843991d3aa595fdc01af5e9c437ce8f42dd533991187f50862809a888dac/twittergeo-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "dbe5fc2eed8a0cd6442097f15a4f5ce8", "sha256": "92b91fbbb750b351d82741716cd60552918eec7fddc36b94c109d43b485907d1" }, "downloads": -1, "filename": "twittergeo-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dbe5fc2eed8a0cd6442097f15a4f5ce8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7565, "upload_time": "2015-12-23T16:28:10", "url": "https://files.pythonhosted.org/packages/24/43/d0037e8114347fee1eff8a41eac39c881094a5ec68c1c3714a63e8a2060b/twittergeo-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d90df75e8e63296dfffe973d94eb265b", "sha256": "db41ae577e37c258244c5a82a83a3d05fd068fca97b9b01c5933318cf75a05f1" }, "downloads": -1, "filename": "twittergeo-0.2.0.tar.gz", "has_sig": false, "md5_digest": "d90df75e8e63296dfffe973d94eb265b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6511, "upload_time": "2015-12-23T16:28:15", "url": "https://files.pythonhosted.org/packages/65/df/c00bc751aa6b8ca40caca2612d7d21eeb8007e632447e0b7736a431d40e2/twittergeo-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "ecefc70604217dfacb0db5658890b0a6", "sha256": "354a1946e8a91ade372da3b6ca6553e5cb1898ad6e06007d2cf15565e48ac74e" }, "downloads": -1, "filename": "twittergeo-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecefc70604217dfacb0db5658890b0a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7728, "upload_time": "2016-10-11T15:25:30", "url": "https://files.pythonhosted.org/packages/2b/c2/ee06b1c317bf73badf34e97fdffd00f4e4ccafe21010d72f185a6cfa678e/twittergeo-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "616e3a1ed4fd29f529cef63e9b7e0239", "sha256": "815d16ead035c0f013424be96bff87ba16d1f6403acecde90a17fa68fff0204a" }, "downloads": -1, "filename": "twittergeo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "616e3a1ed4fd29f529cef63e9b7e0239", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6713, "upload_time": "2016-10-11T15:25:33", "url": "https://files.pythonhosted.org/packages/af/62/56411208a73e67f2b31db8d0ee0a7f3c24ae9cd561b57bfd5b0f664a0b2d/twittergeo-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecefc70604217dfacb0db5658890b0a6", "sha256": "354a1946e8a91ade372da3b6ca6553e5cb1898ad6e06007d2cf15565e48ac74e" }, "downloads": -1, "filename": "twittergeo-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecefc70604217dfacb0db5658890b0a6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7728, "upload_time": "2016-10-11T15:25:30", "url": "https://files.pythonhosted.org/packages/2b/c2/ee06b1c317bf73badf34e97fdffd00f4e4ccafe21010d72f185a6cfa678e/twittergeo-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "616e3a1ed4fd29f529cef63e9b7e0239", "sha256": "815d16ead035c0f013424be96bff87ba16d1f6403acecde90a17fa68fff0204a" }, "downloads": -1, "filename": "twittergeo-0.2.1.tar.gz", "has_sig": false, "md5_digest": "616e3a1ed4fd29f529cef63e9b7e0239", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6713, "upload_time": "2016-10-11T15:25:33", "url": "https://files.pythonhosted.org/packages/af/62/56411208a73e67f2b31db8d0ee0a7f3c24ae9cd561b57bfd5b0f664a0b2d/twittergeo-0.2.1.tar.gz" } ] }