{ "info": { "author": "Andrew Velis", "author_email": "andrew.velis@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.8", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![PyPI Version](https://img.shields.io/pypi/v/django-plantains.svg)](https://pypi.python.org/pypi/django-plantains)\n[![PyPI Python](https://img.shields.io/pypi/pyversions/django-plantains.svg)](https://pypi.python.org/pypi/django-plantains)\n[![PyPI Status](https://img.shields.io/pypi/status/django-plantains.svg)](https://pypi.python.org/pypi/django-plantains)\n[![PyPI License](https://img.shields.io/pypi/l/django-plantains.svg)](https://pypi.python.org/pypi/django-plantains)\n\n# Django Plantains\n\nDjango plantains creates the ability to persist the association of a MailChimp account to an AuthUser account in Django. Leveraging the Django framework this can facitate authentication and persisted storage of Oauth metadata for later retrieval and usage.\n\n# Requirements\nDjango plantains was built and tested for:\n* Django: 1.8\n* Python: 2.7\n\n# Installation\nUse pip to install into a virtualenv:\n```shell\npip install django-plantains\n```\n\nIn `settings` configuration file add the following:\n```python\nINSTALLED_APPS = (\n ...\n 'plantains',\n)\n```\n\nInclude the application URLconf in your project urls.py:\n```python\nurl(r'^plantains/', include('plantains.urls')),\n```\n\nUsing a MailChimp registered app, set your client_id and client_secret in your `settings` configuration as well: \n```python\nMAILCHIMP_CLIENT_ID = '123456789'\nMAILCHIMP_CLIENT_SECRET = 'a1b2c3d4e5f6789'\n\n# Optional parameters\n# Defaults\nMAILCHIMP_SUCCESS_REDIRECT_URL = '/'\n\n\n# These are in case MailChimp decides\n# to change it's endpoints\nMAILCHIMP_AUTHORIZATION_URL = 'https://login.mailchimp.com/oauth2/authorize'\nMAILCHIMP_ACCESS_TOKEN_URL = 'https://login.mailchimp.com/oauth2/token'\n```\n\nUse the authentication url to begin the Oauth process in your Django templates.\n```html\nFeelin Chimpy\n```\n\nOnce the authentication is complete you can find your access_token in the `mailchimp_user` table.\n\n## How to Contribute\nDjango-plantains is willing and open to accept all contributions. Take a fork and make a pull-request. If you feel like becoming an active maintainer, please get in touch in becoming a project contributor.\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/avelis/django-plantains/", "keywords": "django", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-plantains", "package_url": "https://pypi.org/project/django-plantains/", "platform": "", "project_url": "https://pypi.org/project/django-plantains/", "project_urls": { "Homepage": "https://github.com/avelis/django-plantains/" }, "release_url": "https://pypi.org/project/django-plantains/0.2/", "requires_dist": null, "requires_python": "", "summary": "Persistable oauth2 Mailchimp backend for Django.", "version": "0.2" }, "last_serial": 2809944, "releases": { "0.1.0": [], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7992af90514e3bd8bbe0e84e5f7cef90", "sha256": "627b620f69546747e0f919ae614b85affd10895ec07d2e3d244a345fc0bb78d7" }, "downloads": -1, "filename": "django-plantains-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7992af90514e3bd8bbe0e84e5f7cef90", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4541, "upload_time": "2016-02-09T17:26:11", "url": "https://files.pythonhosted.org/packages/11/32/6f82f972d7573f0b1347dd9f669cdb380d684c1a384007ed3cc1f78929f6/django-plantains-0.1.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "c9fb4ba0979ad9d4e88251d32d603fc1", "sha256": "214f365e78e8fa8bf5a8648ddcf684e1635d52d14b03c29e7abe91afdbd3576e" }, "downloads": -1, "filename": "django-plantains-0.2.tar.gz", "has_sig": false, "md5_digest": "c9fb4ba0979ad9d4e88251d32d603fc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4399, "upload_time": "2017-04-17T23:11:04", "url": "https://files.pythonhosted.org/packages/bf/69/ace981dc7278ec020cea3cdd761ff5d443a52372307f10886cfc843f8189/django-plantains-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c9fb4ba0979ad9d4e88251d32d603fc1", "sha256": "214f365e78e8fa8bf5a8648ddcf684e1635d52d14b03c29e7abe91afdbd3576e" }, "downloads": -1, "filename": "django-plantains-0.2.tar.gz", "has_sig": false, "md5_digest": "c9fb4ba0979ad9d4e88251d32d603fc1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4399, "upload_time": "2017-04-17T23:11:04", "url": "https://files.pythonhosted.org/packages/bf/69/ace981dc7278ec020cea3cdd761ff5d443a52372307f10886cfc843f8189/django-plantains-0.2.tar.gz" } ] }