{ "info": { "author": "Antonio Hinojo", "author_email": "hello@ahmontero.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Topic :: Communications", "Topic :: Internet", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "django-twitter allows your users to login into your application using Twitter in a easy way.\n\nHow To Use\n==========\n1. Add 'twitter' to your apps list\n\n2. Include('twitter.urls') in your url app\n\n3. Add in settings.py:\n CONSUMER_KEY = \"your_consumer_key\"\n CONSUMER_SECRET = \"your_consumer_secret\"\n CALLBACK_URL = 'your_awesome_url'\n\nCONSUMER_KEY: You can obtain it from your Twitter account.\nCONSUMER_SECRET: You can obtain it from your Twitter account.\nCALLBACK_URL: is the url inside your application that should be shown when the authentication process went ok. It must be same as Twitter callback url.\n\n4. Connect with tokens_received signal:\n\nfrom twitter import signals\n\ndef tokens_received(sender, request, screen_name, oauth_token, oauth_token_secret, **kwargs):\n #Your stuff here\n\nsignals.tokens_received.connect(tokens_received)\n\nHow it works\n============\nTo insert the link to Twitter, include this in your template : {% url twitter_begin_auth %} in a link.\nWhen the user click on the link, is redirected to Twitter, and once logged in, it will redirect you to CALLBACK_URL in your application and tokens_received signal will be raised.\n\nNOTE:\n-----\nRemember that your Twitter callback url must be the same as CALLBACK_URL\n\nDependencies\n============\ndjano-twitter uses Django 1.3 and oauth2\n\nReferences\n==========\nSome parts of Twython have been adapted to make possible this application. Thanks to Twython creator for share with us so amazing code.\n\n\nVersion 0.1.0\n + Initial release", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/ahmontero/django-twitter", "keywords": "twitter django login", "license": "Copyright (c) 2013 Antonio Hinojo.\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n\"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\nNONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE\nLIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION\nOF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION\nWITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.", "maintainer": null, "maintainer_email": null, "name": "django-twitter", "package_url": "https://pypi.org/project/django-twitter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-twitter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/ahmontero/django-twitter" }, "release_url": "https://pypi.org/project/django-twitter/0.1.0/", "requires_dist": null, "requires_python": null, "summary": "An inobstrusive way to login with Twitter into your Django application.", "version": "0.1.0" }, "last_serial": 790917, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "16166a916d97bee61027f1c4413a3440", "sha256": "5e1f530073649fbdc59827a2332eb5a31bf1d7ef6a579ed42fa96eb4173ceb24" }, "downloads": -1, "filename": "django-twitter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "16166a916d97bee61027f1c4413a3440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5487, "upload_time": "2013-01-06T19:46:13", "url": "https://files.pythonhosted.org/packages/b6/95/42220dd06eeead16f95b9876393da900d188a990dccc4de58ca5b1432e63/django-twitter-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "16166a916d97bee61027f1c4413a3440", "sha256": "5e1f530073649fbdc59827a2332eb5a31bf1d7ef6a579ed42fa96eb4173ceb24" }, "downloads": -1, "filename": "django-twitter-0.1.0.tar.gz", "has_sig": false, "md5_digest": "16166a916d97bee61027f1c4413a3440", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5487, "upload_time": "2013-01-06T19:46:13", "url": "https://files.pythonhosted.org/packages/b6/95/42220dd06eeead16f95b9876393da900d188a990dccc4de58ca5b1432e63/django-twitter-0.1.0.tar.gz" } ] }