{ "info": { "author": "Dryice Liu", "author_email": "dryiceliu@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "DRF API Key\n============\n\nPer URL api-key control for Django\n\nInstallation\n------------\n\nTo get the latest stable release from PyPi\n\n.. code-block:: bash\n\n pip install django-api-key\n\nTo get the latest commit from GitHub\n\n.. code-block:: bash\n\n pip install -e git+git://github.com/dryice/django-api-key.git#egg=django_api_key\n\nAdd ``django_api_key`` to your ``INSTALLED_APPS``\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...,\n 'django_api_key',\n )\n\nMigrate your database\n\n.. code-block:: bash\n\n ./manage.py migrate django_api_key\n\n\nAdd the ``django_api_key`` URLs to your ``MIDDLEWARE``\n\n.. code-block:: python\n\n MIDDLEWARE = [\n ...,\n 'django_api_key.middleware.APIKeyMiddleware',\n ]\n\n(Optional) adjust the URLs that you don't want api_key check. Default is:\n\n.. code-block:: python\n\n IGNORE_API_KEY_CHECK_FOR = [\"/admin/.*\", \"/docs/.*\"]\n\nVisit /admin/django_api_key/ipaccess/ and add rules accordingly\n\n\n\nUsage\n-----\n\nTODO: \n\n\nContribute\n----------\n\nIf you want to contribute to this project, please perform the following steps\n\n.. code-block:: bash\n\n # Fork this repository\n # Clone your fork\n mkvirtualenv -p python3.7 django-api-key\n make develop\n\n git co -b feature_branch master\n # Implement your feature and tests\n git add . && git commit\n git push -u origin feature_branch\n # Send us a pull request for your feature branch\n\nIn order to run the tests, simply execute ``tox``. This will install two new\nenvironments (for Django 2.0 and Django 2.1) and run the tests against both\nenvironments.\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/dryice/django-api-key", "keywords": "django", "license": "The MIT License", "maintainer": "", "maintainer_email": "", "name": "django-api-key", "package_url": "https://pypi.org/project/django-api-key/", "platform": "OS Independent", "project_url": "https://pypi.org/project/django-api-key/", "project_urls": { "Homepage": "https://github.com/dryice/django-api-key" }, "release_url": "https://pypi.org/project/django-api-key/0.1.0/", "requires_dist": null, "requires_python": "", "summary": "Per URL api-key control for Django\n", "version": "0.1.0" }, "last_serial": 4191704, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "27f45103e23dd5d92636f44c6738538e", "sha256": "db7b36d450e7ec11b9263bc0beddd538d44bd8c7149ec0ed3b24d281ca9c9c68" }, "downloads": -1, "filename": "django-api-key-0.0.1.tar.gz", "has_sig": false, "md5_digest": "27f45103e23dd5d92636f44c6738538e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9145, "upload_time": "2018-08-13T13:44:39", "url": "https://files.pythonhosted.org/packages/e6/cf/3140229314d80000db8ad9ad91110f08fc5c4bd2748e3ab67952d4545fd8/django-api-key-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2f14388b7721f5870e7c0619ef72bf4", "sha256": "5e735ae2df09a4abae13854f3134634b8a8294ae4737e9a246b7253ea342fb34" }, "downloads": -1, "filename": "django-api-key-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f2f14388b7721f5870e7c0619ef72bf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9622, "upload_time": "2018-08-21T09:29:21", "url": "https://files.pythonhosted.org/packages/d9/95/aa82b1fd54f16ec54c983300aea2ad450d2e487ec5f7f7b0e754f0afd70e/django-api-key-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f2f14388b7721f5870e7c0619ef72bf4", "sha256": "5e735ae2df09a4abae13854f3134634b8a8294ae4737e9a246b7253ea342fb34" }, "downloads": -1, "filename": "django-api-key-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f2f14388b7721f5870e7c0619ef72bf4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9622, "upload_time": "2018-08-21T09:29:21", "url": "https://files.pythonhosted.org/packages/d9/95/aa82b1fd54f16ec54c983300aea2ad450d2e487ec5f7f7b0e754f0afd70e/django-api-key-0.1.0.tar.gz" } ] }