django-dataexporter

Latest Version CI Status Coverage Status Documentation Status

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 2. In addition, the Python package openpyxl needs to be installed.

Prepare for development

A Python 3.6 interpreter is required in addition to poetry.

$ poetry install

Now you’re ready to run the tests:

$ poetry run pytest

Resources

GitHub

View Github