django-dataexporter

Extensible helper to export Django QuerySets and other data to CSV and Excel.


Keywords
django
License
MIT
Install
pip install django-dataexporter==0.0.3

Documentation

django-dataexporter

Latest Version Coverage Status Documentation Status https://travis-ci.org/moccu/django-dataexporter.svg?branch=master

django-dataexporter is a extensible helper to export Django QuerySets and other data to CSV and Excel.

Features

  • Exporter class to generate CSV and Excel files out of QuerySets and other iterables.
  • Factory to generate Django ModelAdmin actions to trigger an export out of Django's famous admin interface.

Requirements

django-dataexporter supports Python 3 only and requires at least Django 1.11. In addition, the Python package openpyxl needs to be installed.

Prepare for development

A Python 3.6 interpreter is required in addition to pipenv.

$ pipenv install --python 3.6 --dev
$ pipenv shell
$ pip install -e .

Now you're ready to run the tests:

$ pipenv run py.test

Resources