{ "info": { "author": "", "author_email": "", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Plugins", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "============\nQueryset CSV\n============\n\nQueryset CSV is a simple module to allow Django Querysets to be exported as CSV files.\n\n------------\nInstallation\n------------\n::\n\n\tpip install intouch-queryset-csv\n\nThen add the app to your installed apps ::\n\n\tintouch.queryset_csv\n\n-----\nUsage\n-----\n\nThere are several ways to use the Queryset csv exporter.\n\n^^^^^^^^^^^^^^^^^^\nRender to response\n^^^^^^^^^^^^^^^^^^\n\nThe most basic usage is to call the function ::\n\n\tqueryset_as_csv_response\n\nThis function accepts a queryset as a parameter, along with a filename and whether the file is to be streamed.\nIt returns an HTTPResponse object, so should be called at the end of a view function to offer the download\nto the client.\n\n^^^^^^^^^^^^\nAdmin Action\n^^^^^^^^^^^^\n\nAn action is provided for the Django admin site. There are 3 ways of including it:\n\n#. The function :code:`export_model_as_csv` can be added to your custom admin class's actions\n#. The :code:`CsvExporterAdmin` class can be inherited to provide the action\n#. Setting :code:`CSV_EXPORT_ADMIN_ACTION_AVAILABLE=True` in your django settings module will make the action available to all registered admin classes.\n\nThe action will simply export all objects of the selected model to csv (as a stream) \n\n--------------------------------------------------------------------\nWhy create this code rather than use an existing CSV export project?\n--------------------------------------------------------------------\n\n#. Licensing - Other CSV export packages encountered are Licensed under the GNU GPL. The GPL is incompatible with the desired usage, so a this was written from scratch.\n#. Functionality - Existing CSV packages are not designed to handle very large querysets, the option to steam querysets is essential for models with thousands of entries.\n#. Simplicity - This package has no dependencies other than django itself, and the requirements are to be kept to a minimum in future versions (preferably solely django). It is also designed to require as little effort as possible to use.\n#. Currency - The package is written and tested using the latest versions of Python and Django. While it may work with older versions, no special effort will be expended to force compatibility with old versions.\n\n--------\nSettings\n--------\n#. :code:`CSV_EXPORT_ADMIN_ACTION_AVAILABLE` - If True, adds the CSV Export action to all admin pages by default\n#. :code:`QUERYSET_CSV_DATE_FORMAT` - Set the format to use when outputting datetime.datetime objects, defaults to :code:`\"%d-%m-%Y %H:%M:%S\"`\n\n---------------\nTested Versions\n---------------\n\nDjango versions 1.11-2.2 should be supported, Python 3 versions supported as per the Django releases.\n\n\n", "description_content_type": "text/x-rst", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/intouch-smartwater/queryset-csv", "keywords": "django queryset csv", "license": "", "maintainer": "James Cheese", "maintainer_email": "james.cheese@intouch-ltd.com", "name": "intouch-queryset-csv", "package_url": "https://pypi.org/project/intouch-queryset-csv/", "platform": "", "project_url": "https://pypi.org/project/intouch-queryset-csv/", "project_urls": { "Homepage": "https://github.com/intouch-smartwater/queryset-csv" }, "release_url": "https://pypi.org/project/intouch-queryset-csv/0.3.1/", "requires_dist": [ "django (>=1.7)" ], "requires_python": "", "summary": "Module to export django querysets as csv files", "version": "0.3.1" }, "last_serial": 5188231, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "cc9d60cf6d2bc670bfb96aee8e7eba00", "sha256": "a04f28d3e838ad040530e5f47bf2f52a4100d01f0b31db62b9061d301cb3d667" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "cc9d60cf6d2bc670bfb96aee8e7eba00", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 3928, "upload_time": "2014-11-14T10:44:47", "url": "https://files.pythonhosted.org/packages/73/37/f5cb8cf01c4d13eab54bda9999434cfc9db7a64f402d8949faf95960925f/intouch_queryset_csv-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e8bb3d0777d728fcdf1798d6ff103172", "sha256": "266aa93affb23af02a7627a7dad29463f5272dab883413a50c82ecc7c9969e38" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.0.zip", "has_sig": false, "md5_digest": "e8bb3d0777d728fcdf1798d6ff103172", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6900, "upload_time": "2014-11-12T17:21:46", "url": "https://files.pythonhosted.org/packages/af/57/36863be87e0d0c7c8354568aaf9410e30d1145ccd88c7c4b25dfc7114689/intouch_queryset_csv-0.1.0.zip" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "416955881420053418f34ad5cebfc098", "sha256": "7c320b8dd5099be9f57ebbc47cfc73bec7e3e42ddff6ae0838a66dcbc374db94" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "416955881420053418f34ad5cebfc098", "packagetype": "bdist_wheel", "python_version": "3.2", "requires_python": null, "size": 4095, "upload_time": "2014-11-19T09:38:44", "url": "https://files.pythonhosted.org/packages/e1/9d/ce989566c35f0e20046bec290dde90b11f3cfc1dbe4e85f3b1a2d4dc0834/intouch_queryset_csv-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "cd3c0171176162f0fe4b1266abb54b6b", "sha256": "184957fde7b8f76598e4389ced7b48793fa496a0c090187277909d4121178749" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.1.zip", "has_sig": false, "md5_digest": "cd3c0171176162f0fe4b1266abb54b6b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7098, "upload_time": "2014-11-19T09:38:18", "url": "https://files.pythonhosted.org/packages/9f/7e/fdfe36553a3549d8fe674360a22206842fd8e2834bb22daec09c2f21b602/intouch_queryset_csv-0.1.1.zip" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "56f751416e3eeec5cfa44ae036696282", "sha256": "a412ca3d2535064b559b802f8052147e860330c7cd6d34c26324efa63ffca431" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "56f751416e3eeec5cfa44ae036696282", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6915, "upload_time": "2016-04-15T15:50:07", "url": "https://files.pythonhosted.org/packages/e9/6e/48bd9492ce7a66e1756dbba6dd2ef2b6045451e29fdd512b1f0210f87292/intouch_queryset_csv-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "31bc0a63a5fe7f01ac68f0622e839d98", "sha256": "48f10c784b13ecb36e40084f4e65abcd47bac56fa1bd53644bb3178935f461d3" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.2.zip", "has_sig": false, "md5_digest": "31bc0a63a5fe7f01ac68f0622e839d98", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10509, "upload_time": "2016-04-15T15:50:32", "url": "https://files.pythonhosted.org/packages/b6/b2/4fd28e43cbd95ec0ea1978138ac7127885933421b0dd673d30981d248945/intouch_queryset_csv-0.1.2.zip" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "a228ff400e44a1833158ba76d37e8401", "sha256": "6a624cd0447bf917fb66c799027125852e57c725b60ea6d84d427954f07e3729" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a228ff400e44a1833158ba76d37e8401", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 6938, "upload_time": "2016-10-10T15:57:32", "url": "https://files.pythonhosted.org/packages/23/d3/948e24cd0dec3f7f9b628d5ed1d8980371be2e9de57970b598ba859a5ce0/intouch_queryset_csv-0.1.3-py3-none-any.whl" }, { "comment_text": "built for Windows-8", "digests": { "md5": "58d1072347c9c8b3deba75a735453c5f", "sha256": "ceb3e07e13146255a285a4e4f56053e3d5f40a04b6b41a44d257128186a32ce1" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.3.win-amd64.zip", "has_sig": false, "md5_digest": "58d1072347c9c8b3deba75a735453c5f", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 15682, "upload_time": "2016-10-10T15:57:34", "url": "https://files.pythonhosted.org/packages/97/4b/4c6e26a4b43e42d89e3c654b00238be1679ec526783e0e0eb38b88972bd0/intouch_queryset_csv-0.1.3.win-amd64.zip" }, { "comment_text": "", "digests": { "md5": "2566c8861af87b4464e313090381e79f", "sha256": "324c43e21857a45b153902ae0c0cd2591dba0564d4fa1e993a08cae063a698d1" }, "downloads": -1, "filename": "intouch_queryset_csv-0.1.3.zip", "has_sig": false, "md5_digest": "2566c8861af87b4464e313090381e79f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10587, "upload_time": "2016-10-10T15:57:36", "url": "https://files.pythonhosted.org/packages/be/ec/a8f1674a33bab79979530960133d9b04cf4e20c6fa924d1bc6311cf1623e/intouch_queryset_csv-0.1.3.zip" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "e8a47f35a4f1d681af5453ebfd6b0d2c", "sha256": "a58ac71f13be7e79368e5974af27e27516f357b47bbd233a4ce5f7a3a677856e" }, "downloads": -1, "filename": "intouch_queryset_csv-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e8a47f35a4f1d681af5453ebfd6b0d2c", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7125, "upload_time": "2016-10-11T15:16:18", "url": "https://files.pythonhosted.org/packages/4a/a7/640b1c202b9607761a9684c23c1e70bfdd32ab7be478181a92f33f7dfb61/intouch_queryset_csv-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "072656a7361040ca0cfa63bf59b0f425", "sha256": "b9d7695cb8c25c9be8bc78452ff67f75dca6f9e1292944c7b4a08737b26dd6ac" }, "downloads": -1, "filename": "intouch_queryset_csv-0.2.0.zip", "has_sig": false, "md5_digest": "072656a7361040ca0cfa63bf59b0f425", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10910, "upload_time": "2016-10-11T15:16:20", "url": "https://files.pythonhosted.org/packages/cf/12/8c77824f3120983830c27fcaab722710ea43cccc69ad095e92405ecbe830/intouch_queryset_csv-0.2.0.zip" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "76555bc3da014fb95b0c46ef5a79028b", "sha256": "eeda71b81198f4501c74725eccedc4289e6c6ee7c96c695faef6d46cc612879f" }, "downloads": -1, "filename": "intouch_queryset_csv-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "76555bc3da014fb95b0c46ef5a79028b", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 7130, "upload_time": "2017-01-17T15:24:48", "url": "https://files.pythonhosted.org/packages/76/7e/2ed0f5579aa09290e292638dcad67b58b7675922329def2bcc17a430ee41/intouch_queryset_csv-0.2.1-py3-none-any.whl" }, { "comment_text": "built for Windows-8", "digests": { "md5": "1d067d9c616ef143d48f3704b5e64123", "sha256": "26790b6dace29d3fa6f195d5e82a2866249bb704036c17446b1e9fd851ab556e" }, "downloads": -1, "filename": "intouch_queryset_csv-0.2.1.win-amd64.zip", "has_sig": false, "md5_digest": "1d067d9c616ef143d48f3704b5e64123", "packagetype": "bdist_dumb", "python_version": "any", "requires_python": null, "size": 16132, "upload_time": "2017-01-17T15:24:45", "url": "https://files.pythonhosted.org/packages/08/ee/53798740412f6ea8d9eed4935b122317f36776e73271e527e793845c9081/intouch_queryset_csv-0.2.1.win-amd64.zip" }, { "comment_text": "", "digests": { "md5": "c8e6bb9ce9e97c6e2e740c12cc22105e", "sha256": "c2c8b35cf99c8a44c1a25aa88a6c96e098a31e5a044277d59266c3724c62c534" }, "downloads": -1, "filename": "intouch_queryset_csv-0.2.1.zip", "has_sig": false, "md5_digest": "c8e6bb9ce9e97c6e2e740c12cc22105e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10908, "upload_time": "2017-01-17T15:24:44", "url": "https://files.pythonhosted.org/packages/08/c3/418cf03df4ec5530e96e2a1db641e7eb2daa51b93da0bf545da14dbedd3e/intouch_queryset_csv-0.2.1.zip" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "8a70072276ca6e5fbdffb4d965d776ce", "sha256": "c8838cf66e7f2c15566f848ee37cd2fd57f3ea7b7dcdde2b99ef7c1b3f1f417b" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "8a70072276ca6e5fbdffb4d965d776ce", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 8072, "upload_time": "2019-04-25T13:36:29", "url": "https://files.pythonhosted.org/packages/8b/f8/d6decf401358ca88099f51711fa15188a378f8a4ef7968f615d4fe121426/intouch_queryset_csv-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7f3b71ce64166bec3f31397dc57e4c58", "sha256": "b7b89960ee49778028ddb674c3a6462217a0f815fa8f07c361facedb38424be4" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.0.tar.gz", "has_sig": false, "md5_digest": "7f3b71ce64166bec3f31397dc57e4c58", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8023, "upload_time": "2019-04-25T13:36:27", "url": "https://files.pythonhosted.org/packages/08/82/31a362d669e9dc8b0f47a2c9236e87a42dcc92347c937da075f7cdea7e8a/intouch_queryset_csv-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "34c38d646c7a66e5aba4d0fce0b46b4c", "sha256": "f1bfbedb3ec1ab58c489a46e949c471c8dc4436807fe9b28626f49ad4abd5191" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34c38d646c7a66e5aba4d0fce0b46b4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9471, "upload_time": "2019-04-25T14:06:53", "url": "https://files.pythonhosted.org/packages/be/fc/462813ff7d94ac2627023f958d38bc5a5b05c814cd876c9d0a561527f66e/intouch_queryset_csv-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "548512efcd10cfd0c7c25dc281da5705", "sha256": "4c2884a17872746d127c13b09b41cb6dafa2a58efb2930c3c8ea9bcb23dd432d" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.1.tar.gz", "has_sig": false, "md5_digest": "548512efcd10cfd0c7c25dc281da5705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9221, "upload_time": "2019-04-25T14:06:55", "url": "https://files.pythonhosted.org/packages/f9/c8/caa0b6681bf5da959d6ccde5747f43f8b90ab8e14a8ba2e28da6405392f9/intouch_queryset_csv-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "34c38d646c7a66e5aba4d0fce0b46b4c", "sha256": "f1bfbedb3ec1ab58c489a46e949c471c8dc4436807fe9b28626f49ad4abd5191" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "34c38d646c7a66e5aba4d0fce0b46b4c", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9471, "upload_time": "2019-04-25T14:06:53", "url": "https://files.pythonhosted.org/packages/be/fc/462813ff7d94ac2627023f958d38bc5a5b05c814cd876c9d0a561527f66e/intouch_queryset_csv-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "548512efcd10cfd0c7c25dc281da5705", "sha256": "4c2884a17872746d127c13b09b41cb6dafa2a58efb2930c3c8ea9bcb23dd432d" }, "downloads": -1, "filename": "intouch_queryset_csv-0.3.1.tar.gz", "has_sig": false, "md5_digest": "548512efcd10cfd0c7c25dc281da5705", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9221, "upload_time": "2019-04-25T14:06:55", "url": "https://files.pythonhosted.org/packages/f9/c8/caa0b6681bf5da959d6ccde5747f43f8b90ab8e14a8ba2e28da6405392f9/intouch_queryset_csv-0.3.1.tar.gz" } ] }