{ "info": { "author": "Beno\u00eet Bryon", "author_email": "benoit@marmelune.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "###################\ndjango-downloadview\n###################\n\n`django-downloadview` makes it easy to serve files with `Django`_:\n\n* you manage files with Django (permissions, filters, generation, ...);\n\n* files are stored somewhere or generated somehow (local filesystem, remote\n storage, memory...);\n\n* `django-downloadview` helps you stream the files with very little code;\n\n* `django-downloadview` helps you improve performances with reverse proxies,\n via mechanisms such as Nginx's X-Accel or Apache's X-Sendfile.\n\n\n*******\nExample\n*******\n\nLet's serve a file stored in a file field of some model:\n\n.. code:: python\n\n from django.conf.urls import url, url_patterns\n from django_downloadview import ObjectDownloadView\n from demoproject.download.models import Document # A model with a FileField\n\n # ObjectDownloadView inherits from django.views.generic.BaseDetailView.\n download = ObjectDownloadView.as_view(model=Document, file_field='file')\n\n url_patterns = ('',\n url('^download/(?P[A-Za-z0-9_-]+)/$', download, name='download'),\n )\n\n\n*********\nResources\n*********\n\n* Documentation: http://django-downloadview.readthedocs.org\n* PyPI page: http://pypi.python.org/pypi/django-downloadview\n* Code repository: https://github.com/benoitbryon/django-downloadview\n* Bugtracker: https://github.com/benoitbryon/django-downloadview/issues\n* Continuous integration: https://travis-ci.org/benoitbryon/django-downloadview\n* Roadmap: https://github.com/benoitbryon/django-downloadview/milestones\n\n\n.. _`Django`: https://djangoproject.com", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://django-downloadview.readthedocs.org/", "keywords": "file stream download FileField ImageField x-accel x-accel-redirect x-sendfile sendfile mod_xsendfile offload", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "django-downloadview", "package_url": "https://pypi.org/project/django-downloadview/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-downloadview/", "project_urls": { "Homepage": "https://django-downloadview.readthedocs.org/" }, "release_url": "https://pypi.org/project/django-downloadview/1.9/", "requires_dist": null, "requires_python": "", "summary": "Serve files with Django and reverse-proxies.", "version": "1.9" }, "last_serial": 3395459, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "c222a98ca491d9334b75cb55ce1b659c", "sha256": "2a8b51ddaba710437e9bc9a6b88b1ea6412a06556b36ebd7a1f738227710ac77" }, "downloads": -1, "filename": "django-downloadview-1.0.zip", "has_sig": false, "md5_digest": "c222a98ca491d9334b75cb55ce1b659c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15303, "upload_time": "2012-12-04T11:58:20", "url": "https://files.pythonhosted.org/packages/78/07/5da2dbdb165cf6d351fdde00d45a0c34293039256935d82c4d0fa17570fd/django-downloadview-1.0.zip" } ], "1.1": [ { "comment_text": "", "digests": { "md5": "a5eae1a6f04a7f8c729dfc31d15969cf", "sha256": "7f9cd006e11aaf436ef7f4bcbf521dbba29e3c881a1acf63fb4172d03aca04f3" }, "downloads": -1, "filename": "django-downloadview-1.1.zip", "has_sig": false, "md5_digest": "a5eae1a6f04a7f8c729dfc31d15969cf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21643, "upload_time": "2013-04-11T13:57:18", "url": "https://files.pythonhosted.org/packages/bb/13/88eeb1481b1da3df29c674e624507c205c6420127e517f30482dd2595fee/django-downloadview-1.1.zip" } ], "1.2": [ { "comment_text": "", "digests": { "md5": "1f7c9dace523fa445f06f4cba9f7fdc4", "sha256": "0af74abe7a685dcceed3834a50c5583223980065a2b6357895fb08a6d5f7cda5" }, "downloads": -1, "filename": "django-downloadview-1.2.zip", "has_sig": false, "md5_digest": "1f7c9dace523fa445f06f4cba9f7fdc4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22585, "upload_time": "2013-05-28T13:51:55", "url": "https://files.pythonhosted.org/packages/d0/e8/6327a83e36899be74871e42a0ad0c15c97620024c7be9460b2d88470cb1b/django-downloadview-1.2.zip" } ], "1.3": [ { "comment_text": "", "digests": { "md5": "1c5040441e1dc9e374ce43bd9fa667a1", "sha256": "7066728f37fcd63fe0625f3ca72306420180fbf647216fe98ba25ccba286f5e9" }, "downloads": -1, "filename": "django-downloadview-1.3.zip", "has_sig": false, "md5_digest": "1c5040441e1dc9e374ce43bd9fa667a1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36678, "upload_time": "2013-11-08T10:31:30", "url": "https://files.pythonhosted.org/packages/37/13/833d8fc706e0cfe406797ba1f7cd649df1c011bd5660dfc6f4362222851d/django-downloadview-1.3.zip" } ], "1.4": [ { "comment_text": "", "digests": { "md5": "9567ba30539f0c74f29fe05e19c78fdf", "sha256": "8df602ee228e4ba2204bf27e7f0571f884a97a6fbd1f0f10c33f06a5c40537c2" }, "downloads": -1, "filename": "django-downloadview-1.4.zip", "has_sig": false, "md5_digest": "9567ba30539f0c74f29fe05e19c78fdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39427, "upload_time": "2013-11-24T10:17:44", "url": "https://files.pythonhosted.org/packages/46/5e/2752bf746d2efd4c9f15912773de497081e5ef001b950286908976bfd987/django-downloadview-1.4.zip" } ], "1.5": [ { "comment_text": "", "digests": { "md5": "ca06ab08eeb6a6e38bfff4b3d630d017", "sha256": "6fd9ff0bc605f3312b0c728da87891bc96f07979e0457b0f3c6bcb2004ecc3e4" }, "downloads": -1, "filename": "django-downloadview-1.5.zip", "has_sig": false, "md5_digest": "ca06ab08eeb6a6e38bfff4b3d630d017", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46554, "upload_time": "2013-11-29T08:23:45", "url": "https://files.pythonhosted.org/packages/c5/d1/3cdd4ebc8c9ee3ccb59548af07cf73382c6b93809ce8fb799429b8dc65d7/django-downloadview-1.5.zip" } ], "1.6": [ { "comment_text": "", "digests": { "md5": "96f056f584ad98dbfed9a2622d5e97d8", "sha256": "f4b6e311b1b6ae7080959da45379c782bb87e7fb89a33a7de808eca69a519ab7" }, "downloads": -1, "filename": "django-downloadview-1.6.zip", "has_sig": false, "md5_digest": "96f056f584ad98dbfed9a2622d5e97d8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48158, "upload_time": "2014-03-03T13:43:47", "url": "https://files.pythonhosted.org/packages/3d/29/bfeb7b20b513c0562371329ab3f3c4bec189b20b44d9fdab1156ebbd3df2/django-downloadview-1.6.zip" } ], "1.7": [ { "comment_text": "", "digests": { "md5": "6664d635585bae1a40bdc2b8155258f5", "sha256": "867cefd3a2170e9df31c248909c4c8811c39f3f44298e944632814e19a6b92c0" }, "downloads": -1, "filename": "django-downloadview-1.7.tar.gz", "has_sig": false, "md5_digest": "6664d635585bae1a40bdc2b8155258f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 26156, "upload_time": "2015-06-12T23:46:09", "url": "https://files.pythonhosted.org/packages/de/a6/fb4a75f096d6e09d74548efd99a4dec4116b7c032c50392d5b40c1274f14/django-downloadview-1.7.tar.gz" } ], "1.8": [ { "comment_text": "", "digests": { "md5": "a80d0301d9c07757ea6e514f2b3aa0f8", "sha256": "eb38c774acd7a40d8253aef0d4be37020fb5ac3086562474bfa451997c42d36f" }, "downloads": -1, "filename": "django-downloadview-1.8.tar.gz", "has_sig": false, "md5_digest": "a80d0301d9c07757ea6e514f2b3aa0f8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 25596, "upload_time": "2015-07-20T17:03:11", "url": "https://files.pythonhosted.org/packages/24/cb/3f629546b71c69a9241cc9e0a48d90b6495bbb21194f6a5733a3e8c7d79e/django-downloadview-1.8.tar.gz" } ], "1.9": [ { "comment_text": "", "digests": { "md5": "985d8fbd09b836b2f9ed843afa0796b6", "sha256": "8d8b5b3bab393476525cb020fb9e265c6d11cd70254a78d1f4ac32d8df655361" }, "downloads": -1, "filename": "django-downloadview-1.9.tar.gz", "has_sig": false, "md5_digest": "985d8fbd09b836b2f9ed843afa0796b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27268, "upload_time": "2016-03-15T11:16:54", "url": "https://files.pythonhosted.org/packages/83/0d/731c502143736517c96360cd4070a6d0a410e032716473b4b9d243774f41/django-downloadview-1.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "985d8fbd09b836b2f9ed843afa0796b6", "sha256": "8d8b5b3bab393476525cb020fb9e265c6d11cd70254a78d1f4ac32d8df655361" }, "downloads": -1, "filename": "django-downloadview-1.9.tar.gz", "has_sig": false, "md5_digest": "985d8fbd09b836b2f9ed843afa0796b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 27268, "upload_time": "2016-03-15T11:16:54", "url": "https://files.pythonhosted.org/packages/83/0d/731c502143736517c96360cd4070a6d0a410e032716473b4b9d243774f41/django-downloadview-1.9.tar.gz" } ] }