{ "info": { "author": "porowns", "author_email": "porowns@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# Django Discord Connector\nDjango Discord Connector is a saimple Django application that adds models, urls, and Celery tasks to help manage Discord entities. \n\nThere are several behaviors that the application will add:\n1. Automatically adding discord roles when adding attached DjangoGroup objects to a User\n2. Periodically syncing Discord entities with information from the Discord server\n\n## Installation\n1. Add django_discord_connector to your INSTALLED_APPS\n2. Include the django_discord_connector URLs in your urls.py\n3. Run `python3 manage.py migrate` to create the django_discord_connector tables\n4. Create a DiscordClient in the administration panel\n\n## Settings\nThe Django Discord Connector adds settings which change the behavior of the celery tasks and other functionality.\n\n| Setting | Values | Description |\n| --- | --- | --- |\n| `DJANGO_DISCORD_REMOTE_PRIORITY` | True / False | `sync_discord_user_discord_groups` will update the DiscordUser according to the remote Discord groups, instead of the local groups. |\n\n## Provided URLs\n| URL Name | Description |\n| --- | --- |\n| django-discord-connector-sso-callback | The callback url for SSO tokens (`sso/callback`) |\n| django-discord-connector-sso-token-add | Redirects users to the SSO login for Discord |\n| django-discord-connector-sso-token-remove | Removes an SSO token (expects kwarg pk) |\n\n## Provided Celery Tasks\n| Task Name | Action |\n| --- | --- |\n| sync_discord_users | Updates all information and groups for a DiscordUser |\n| sync_discord_groups | Updates all DiscordGroup objects with groups from Discord server |\n| sync_discord_channels | Updates all DiscordChannel objects with channels from Discord server |", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/KryptedGaming/django-discord-connector", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "django-discord-connector", "package_url": "https://pypi.org/project/django-discord-connector/", "platform": "", "project_url": "https://pypi.org/project/django-discord-connector/", "project_urls": { "Homepage": "https://github.com/KryptedGaming/django-discord-connector" }, "release_url": "https://pypi.org/project/django-discord-connector/1.0.0/", "requires_dist": null, "requires_python": "", "summary": "A simple Django application that adds Discord entities and SSO handling", "version": "1.0.0" }, "last_serial": 5777124, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "0ba07de2563ae8600c0d7bfdb1a49f62", "sha256": "dde207b012a7f1161f6610a11b75f69ce3c6560de0ef28c63fd66a0bfb4db0be" }, "downloads": -1, "filename": "django-discord-connector-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0ba07de2563ae8600c0d7bfdb1a49f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9646, "upload_time": "2019-09-03T17:10:27", "url": "https://files.pythonhosted.org/packages/c6/fa/fca4378a5aa02f6301a2d1307a328663c22654b4166438feab3fc9a6aa28/django-discord-connector-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0ba07de2563ae8600c0d7bfdb1a49f62", "sha256": "dde207b012a7f1161f6610a11b75f69ce3c6560de0ef28c63fd66a0bfb4db0be" }, "downloads": -1, "filename": "django-discord-connector-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0ba07de2563ae8600c0d7bfdb1a49f62", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9646, "upload_time": "2019-09-03T17:10:27", "url": "https://files.pythonhosted.org/packages/c6/fa/fca4378a5aa02f6301a2d1307a328663c22654b4166438feab3fc9a6aa28/django-discord-connector-1.0.0.tar.gz" } ] }