{ "info": { "author": "Mauricio Aizaga", "author_email": "mauricioaizaga@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "=================\nDjango Export XLS\n=================\n\nDjango Export XLS is a simple Django app to export data to a xls file.\n\nDetailed documentation is in the \"docs\" directory on github https://github.com/Daiech/django-export-xls\n\nInstalation\n-----------\n\n1. Install from PyPi::\n\n $ pip install django-export-xls\n\n\nQuick start\n-----------\n\n1. Add \"export_xls\" to your INSTALLED_APPS setting like this::\n\n INSTALLED_APPS = (\n ...\n 'export_xls',\n )\n\n2. Be sure to have the MEDIA_ROOT and MEDIA_URL vars defined. eg::\n\n import os\n MEDIA_ROOT = os.sep.join([os.path.dirname(os.path.dirname(__file__)), 'media'])\n MEDIA_URL = '/media/'\n\n\n3. The only thing that you must to do is create an excel file is::\n\n * Define a name for your file\n * Define a Python list with the fields you want in your excel (xls headers).\n * Create a python list with the values \u200b\u200byou want to add to your xls file.\n\n\nHow to use\n----------\n\n* Import the function::\n\n from export_xls.views import export_xlwt\n\n* 'export_xlwt' function needs:\n\n\u00a0\u00a0 3 mandatory parameters::\n\n filename\n fields\n values_list\n\n\u00a0 2 optional parameters::\n\n save : save the xls file on settings.MEDIA_ROOT\n folder : save the xls file on settings.MEDIA_ROOT/folder \n\n* 'export_xlwt' function return the string::\n\n MEDIA_URL + folder + filename \n eg: /media/xls/filename.xls\n\nExample\n-------\n\n from export_xls.views import export_xlwt\n return export_xlwt(filename, fields, values_list, save=True, folder=\"xls/\")\n\n\nview the real example. Clone de github repo::\n\n git clone https://github.com/Daiech/django-export-xls\n cd django-export-xls/example\n python manage.py runserver\n\n\n Credentians for database:\n\n * user: daiech\n * pass: 1", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/Daiech/django-export-xls", "keywords": null, "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "django-export-xls", "package_url": "https://pypi.org/project/django-export-xls/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-export-xls/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/Daiech/django-export-xls" }, "release_url": "https://pypi.org/project/django-export-xls/0.1.1/", "requires_dist": null, "requires_python": null, "summary": "A simple Django app to export data to an excel file.", "version": "0.1.1" }, "last_serial": 908390, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c7f6ed1fa5974203b41a9838f1b3b2c5", "sha256": "86f8ef9f979de7e1c1c4f431626c022408d558b1533b31439a6b1dde78d2751b" }, "downloads": -1, "filename": "django-export-xls-0.1.linux-i686.exe", "has_sig": false, "md5_digest": "c7f6ed1fa5974203b41a9838f1b3b2c5", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 66910, "upload_time": "2013-10-30T22:15:46", "url": "https://files.pythonhosted.org/packages/96/ed/dc28ef2dc2b10d640a2bbc18c9b64d12c098631142a710fe78782854c145/django-export-xls-0.1.linux-i686.exe" }, { "comment_text": "", "digests": { "md5": "d0e688965e8d5d7cc028d9c1b859a595", "sha256": "57848acbf7c0529d4b03cf773312f21b44e3433810e5034322bb4640afcabb40" }, "downloads": -1, "filename": "django-export-xls-0.1.tar.gz", "has_sig": false, "md5_digest": "d0e688965e8d5d7cc028d9c1b859a595", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2900, "upload_time": "2013-10-30T22:15:43", "url": "https://files.pythonhosted.org/packages/ad/58/51f558e535e2e3110908a87394b562878e372ef0182a2b0b4e6bbe36fb34/django-export-xls-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "44664f8a74545b7c0ad9b4a4098975aa", "sha256": "f5ba52d7094c078deef735dddf7aa442cdb72108312d69d70885b5c8de80168e" }, "downloads": -1, "filename": "django-export-xls-0.1.1.linux-i686.exe", "has_sig": false, "md5_digest": "44664f8a74545b7c0ad9b4a4098975aa", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67999, "upload_time": "2013-10-31T16:02:58", "url": "https://files.pythonhosted.org/packages/7d/b0/b776dade219c71fc2384d9c8478fb3936b9fababd3b8eeeb168770c21b10/django-export-xls-0.1.1.linux-i686.exe" }, { "comment_text": "", "digests": { "md5": "69e53c0aef9ca972a9f01c83fbccc2a0", "sha256": "d2de342cb8eb3b22b563e8ad5924d00cff4ef91c1d3f6a44eec54a6ce06a719c" }, "downloads": -1, "filename": "django-export-xls-0.1.1.tar.gz", "has_sig": false, "md5_digest": "69e53c0aef9ca972a9f01c83fbccc2a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3231, "upload_time": "2013-10-31T16:01:36", "url": "https://files.pythonhosted.org/packages/9e/83/4051d493d83a4ac4e24a649fa872bda20b6a1ce2e52e6ba1ee321fd8c463/django-export-xls-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "44664f8a74545b7c0ad9b4a4098975aa", "sha256": "f5ba52d7094c078deef735dddf7aa442cdb72108312d69d70885b5c8de80168e" }, "downloads": -1, "filename": "django-export-xls-0.1.1.linux-i686.exe", "has_sig": false, "md5_digest": "44664f8a74545b7c0ad9b4a4098975aa", "packagetype": "bdist_wininst", "python_version": "any", "requires_python": null, "size": 67999, "upload_time": "2013-10-31T16:02:58", "url": "https://files.pythonhosted.org/packages/7d/b0/b776dade219c71fc2384d9c8478fb3936b9fababd3b8eeeb168770c21b10/django-export-xls-0.1.1.linux-i686.exe" }, { "comment_text": "", "digests": { "md5": "69e53c0aef9ca972a9f01c83fbccc2a0", "sha256": "d2de342cb8eb3b22b563e8ad5924d00cff4ef91c1d3f6a44eec54a6ce06a719c" }, "downloads": -1, "filename": "django-export-xls-0.1.1.tar.gz", "has_sig": false, "md5_digest": "69e53c0aef9ca972a9f01c83fbccc2a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3231, "upload_time": "2013-10-31T16:01:36", "url": "https://files.pythonhosted.org/packages/9e/83/4051d493d83a4ac4e24a649fa872bda20b6a1ce2e52e6ba1ee321fd8c463/django-export-xls-0.1.1.tar.gz" } ] }