{ "info": { "author": "Daniel Andrlik", "author_email": "daniel@andrlik.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Natural Language :: English", "Programming Language :: Python :: 3.6" ], "description": "=============================\nDjango Fiction Outlines API\n=============================\n\n.. image:: https://badge.fury.io/py/django-fiction-outlines-api.svg\n :target: https://badge.fury.io/py/django-fiction-outlines-api\n\n.. image:: https://circleci.com/gh/maceoutliner/django-fiction-outlines-api.svg?style=svg\n :target: https://circleci.com/gh/maceoutliner/django-fiction-outlines-api\n\n.. image:: https://coveralls.io/repos/github/maceoutliner/django-fiction-outlines-api/badge.svg?branch=master\n :target: https://coveralls.io/github/maceoutliner/django-fiction-outlines-api?branch=master\n\n.. image:: https://readthedocs.org/projects/django-fiction-outlines-api/badge/?version=latest\n :target: http://django-fiction-outlines-api.readthedocs.io/en/latest/?badge=latest\n :alt: Documenatation Status\n\nA RESTful JSON API for django-fiction-outlines.\n\nDocumentation\n-------------\n\nThe full documentation is at https://django-fiction-outlines-api.readthedocs.io. The source code can be found at https://github.com/maceoutliner/django-fiction-outlines-api/.\n\nQuickstart\n----------\n\nInstall Django Fiction Outlines API::\n\n pip install django-fiction-outlines-api\n\nAdd it and dependencies to your `INSTALLED_APPS`:\n\n.. code-block:: python\n\n INSTALLED_APPS = (\n ...\n '\n 'rest_framework',\n 'taggit',\n 'rules.apps.AutodiscoverRulesConfig',\n 'rest_framework_rules',\n 'fiction_outlines',\n 'fiction_outlines_api',\n ...\n )\n\nIf you have not already, add ``rules`` to you ``AUTHENTICATION_BACKENDS``.\n\n.. code-block:: python\n\n AUTHENTICATION_BACKENDS = (\n 'rules.permissions.ObjectPermissionBackend',\n 'django.contrib.auth.backends.ModelBackend',\n )\n\nUnless you like to live dangerously, it is **STRONGLY** recommend you configure whichever database you use for outlines to have ``ATOMIC_REQUESTS`` to ``True``.\n\n.. code-block:: python\n\n DATABASES = {\n \"default\": {\n \"ENGINE\": \"django.db.backends.postgresql\",\n \"NAME\": \"outlines\",\n \"ATOMIC_REQUESTS\": True,\n }}\n\n.. _`django-rules`: https://github.com/dfunckt/django-rules\n\nAdd Django Fiction Outlines API's URL patterns:\n\n.. code-block:: python\n\n from fiction_outlines_api import urls as fiction_outlines_api_urls\n\n\n urlpatterns = [\n ...\n url(r'^', include(fiction_outlines_api_urls)),\n ...\n ]\n\nIf you haven't already installed ``fiction_outlines`` you should run ``python manage.py migrate`` now.\n\nFeatures\n--------\n\n* Provides a RESTful API for `django-fiction-outlines`_ using the `Django REST Framework`_, suitable for JSON, XML, or browsable HTML serialization.\n\n**NOTE**: As with ``fiction_outlines``, this app makes use of the excellent object permissions library `django-rules`_.\n\n.. _`django-fiction-outlines`: https://github.com/maceoutliner/django-fiction-outlines/\n\n.. _`Django REST Framework`: http://www.django-rest-framework.org\n\n\nRunning Tests\n-------------\n\nDoes the code actually work?\n\n::\n\n source /bin/activate\n (myenv) $ pip install -r test_requirements.txt\n (myenv) $ pytest\n (myenv) $ flake8 setup.py fiction_outlines_api tests\n\nCredits\n-------\n\nTools used in rendering this package:\n\n* Cookiecutter_\n* `cookiecutter-djangopackage`_\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`cookiecutter-djangopackage`: https://github.com/pydanny/cookiecutter-djangopackage\n\n\n\n\nHistory\n-------\n\n0.2.1 (2018-10-16)\n+++++++++++++++++++++++++++\n\n* Support for both python 3.6 and 3.7\n\n0.2.0 (2018-08-08)\n++++++++++++++++++\n\n* Support for Django 2.1\n\n0.1.3 (2018-06-21)\n++++++++++++++++++\n\n* Move dependency back to official django-taggit-serializer package now that our pull request has been merged.\n\n0.1.0 (2018-04-07)\n++++++++++++++++++\n\n* First release on PyPI.\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/andrlik/django-fiction-outlines-api", "keywords": "django-fiction-outlines-api", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-fiction-outlines-api", "package_url": "https://pypi.org/project/django-fiction-outlines-api/", "platform": "", "project_url": "https://pypi.org/project/django-fiction-outlines-api/", "project_urls": { "Documenation": "http://django-fiction-outlines-api.readthedocs.io/en/latest/index.html", "Homepage": "https://github.com/andrlik/django-fiction-outlines-api", "Issue Tracker": "https://github.com/maceoutliner/django-fiction-outlines-api/issues", "Source": "https://github.com/maceoutliner/django-fiction-outlines-api/" }, "release_url": "https://pypi.org/project/django-fiction-outlines-api/0.2.1/", "requires_dist": [ "django-fiction-outlines (>=0.3)", "django-rest-framework-rules", "djangorestframework", "coreapi", "django-filter", "Markdown" ], "requires_python": "~=3.6", "summary": "A RESTful JSON API for django-fiction-outlines. Part of the broader maceoutliner project.", "version": "0.2.1" }, "last_serial": 4382874, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "f2598d601335ee477cc4cd1e9e0dfb3c", "sha256": "a5159745e4ec74f5167ddf94721b4f1515203a9d1984f6e74e465d5402c632c4" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "f2598d601335ee477cc4cd1e9e0dfb3c", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 18246, "upload_time": "2018-04-07T21:49:41", "url": "https://files.pythonhosted.org/packages/ad/c3/daa9df0c8061cefa1431767db96ea67fefa4c75129f3ab6a585fc3c3dcb5/django-fiction-outlines-api-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "2be30b85dd45817edf0e3a9e14dc5f83", "sha256": "f73a2fa7c0513a7c7d2992422c8eb3cde62a7ec3e4f1f9f2df732b4740e8aed8" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2be30b85dd45817edf0e3a9e14dc5f83", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 16703, "upload_time": "2018-04-08T14:28:40", "url": "https://files.pythonhosted.org/packages/53/bc/ad5678766534b9e571e49271e17a8716ed051def15f8ed24add4d2df7a77/django-fiction-outlines-api-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "77eff42e4b2807c40617991821ac26f0", "sha256": "abd77be5cda4df5a007ac764673a9df2e7f86ea4382bd53c4185fe16341a4391" }, "downloads": -1, "filename": "django_fiction_outlines_api-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "77eff42e4b2807c40617991821ac26f0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.6", "size": 16602, "upload_time": "2018-06-21T21:16:24", "url": "https://files.pythonhosted.org/packages/a4/66/d549d226c8215faa4e6dcd8b744be57cab0772830db9915316516af3b8d1/django_fiction_outlines_api-0.1.3-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6f2df77e6a83e0240e842eacbdec9de6", "sha256": "9d98ecc0c0c2b1bb65f5041e9eb3c8e3fec34e0095d8d56b4d0b0ad62fc3d951" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6f2df77e6a83e0240e842eacbdec9de6", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 16795, "upload_time": "2018-06-21T21:16:25", "url": "https://files.pythonhosted.org/packages/96/24/8ee8de9e75cc9dba867a510b35785531df5ad723b47a2ec498fdb29be1f4/django-fiction-outlines-api-0.1.3.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "db4b9ed04d1a9db25e710c8940f448c0", "sha256": "ea987baf4a6601be6a37c9069732273172ae8915223668e102a017ee730a7b09" }, "downloads": -1, "filename": "django_fiction_outlines_api-0.2.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "db4b9ed04d1a9db25e710c8940f448c0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.6", "size": 16637, "upload_time": "2018-08-08T18:03:48", "url": "https://files.pythonhosted.org/packages/be/31/7af4aacdf67bc324278269732cf382440cd91d9f061b813787a3bff53745/django_fiction_outlines_api-0.2.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cde9faafecdcdf4faa63d89f61b42c7d", "sha256": "0d38b16d8bf98eb946804cdab45b444007bd6d4bfe668a60f8592e1a35324861" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.2.0.tar.gz", "has_sig": false, "md5_digest": "cde9faafecdcdf4faa63d89f61b42c7d", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 18399, "upload_time": "2018-08-08T18:03:50", "url": "https://files.pythonhosted.org/packages/56/86/157c1b6b2cd9983d5a67b6ee2bff068e936efece60a72de2fdf0d52ac07d/django-fiction-outlines-api-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "18a36bd50508c3faf42c13c73e061e0e", "sha256": "6fd47ce1ff97bc0a63ca82b243d8d79b07ba5a10df65abe381ab6a5c4c3ed58e" }, "downloads": -1, "filename": "django_fiction_outlines_api-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18a36bd50508c3faf42c13c73e061e0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.6", "size": 18095, "upload_time": "2018-10-16T19:09:59", "url": "https://files.pythonhosted.org/packages/f1/d7/b8bc01c55f05b455ce34c5709fd577e97aec8ee378b8073f098b558be3f9/django_fiction_outlines_api-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "319f7de54ea8d56a500c17e0f80dce28", "sha256": "3c9633c7078f48370df9ee34784a3e4b30e46907f1b23f6faa4af7ed37e6ae19" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.2.1.tar.gz", "has_sig": false, "md5_digest": "319f7de54ea8d56a500c17e0f80dce28", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 17006, "upload_time": "2018-10-16T19:10:01", "url": "https://files.pythonhosted.org/packages/ab/bc/6697460a68d5bb367d0fbf76fe12cc16e60f796c7e94c2e7eee2ce3b5d28/django-fiction-outlines-api-0.2.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "18a36bd50508c3faf42c13c73e061e0e", "sha256": "6fd47ce1ff97bc0a63ca82b243d8d79b07ba5a10df65abe381ab6a5c4c3ed58e" }, "downloads": -1, "filename": "django_fiction_outlines_api-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "18a36bd50508c3faf42c13c73e061e0e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": "~=3.6", "size": 18095, "upload_time": "2018-10-16T19:09:59", "url": "https://files.pythonhosted.org/packages/f1/d7/b8bc01c55f05b455ce34c5709fd577e97aec8ee378b8073f098b558be3f9/django_fiction_outlines_api-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "319f7de54ea8d56a500c17e0f80dce28", "sha256": "3c9633c7078f48370df9ee34784a3e4b30e46907f1b23f6faa4af7ed37e6ae19" }, "downloads": -1, "filename": "django-fiction-outlines-api-0.2.1.tar.gz", "has_sig": false, "md5_digest": "319f7de54ea8d56a500c17e0f80dce28", "packagetype": "sdist", "python_version": "source", "requires_python": "~=3.6", "size": 17006, "upload_time": "2018-10-16T19:10:01", "url": "https://files.pythonhosted.org/packages/ab/bc/6697460a68d5bb367d0fbf76fe12cc16e60f796c7e94c2e7eee2ce3b5d28/django-fiction-outlines-api-0.2.1.tar.gz" } ] }