Django REST Pandas logo

Django REST Framework + pandas = A Model-driven Visualization API

Django REST Pandas (DRP) provides a simple way to generate and serve pandas DataFrames via the Django REST Framework. The resulting API can serve up CSV (and a number of other formats for consumption by a client-side visualization tool like @wq/analyst:

// @wq/analyst
{
    "title": "Live Demo",
    "url": "/weather.csv",
    "initial_rows": 10,
    "initial_order": {
        "date": "desc"
    },
    "formats": {
        "csv": "CSV",
        "xlsx": "Excel",
        "json": "JSON",
        "html": "HTML"
    }
}

Django REST Pandas on GitHub

News

This site is under construction.

Documentation

  • Configuration
  • Overview
  • API Views
  • npm Packages
  • Renderers (Output Formats)
  • Serializers (DataFrame transformation)
  • Release Notes
  • Guides
  • License
  • Packages
  • Support / Contact Info