# wq/django-rest-pandas

📊📈 Serves up Pandas dataframes via the Django REST Framework for use in client-side (i.e. d3.js) visualizations and offline analysis (e.g. Excel)

Repository: https://github.com/wq/django-rest-pandas
Canonical: https://ross.abutalabs.com/products/django-rest-pandas
Homepage: https://django-rest-pandas.wq.io/
Language: Python
License: MIT
License Family: permissive
Topics: dataviz, pandas, django, rest-api, django-rest-framework, spreadsheet, chart, excel, csv
Last push: 2026-02-10T18:32:25+00:00

## Health v2 (maintenance only)
Score: 52/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 66, release rhythm 8, longevity 100
- inputs: {"age_days": 4621, "days_push": 204, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1277, forks 129 (observed 2026-08-28T04:04:13.187335+00:00)

## What it is
Django REST Pandas is a Python library that serves pandas DataFrames through the Django REST Framework as a model-driven data API. It renders data in CSV, Excel, JSON, and other formats for client-side visualization tools like d3.js and offline analysis in spreadsheets.

## Use cases
- serve pandas dataframes as csv from a django rest api
- export django querysets to excel spreadsheets
- feed data to d3.js charts from a django backend
- provide downloadable csv/xlsx endpoints for offline analysis
- build a data api for client-side visualization tools
- serve time series and chart data as  or csv

## When to choose
- you already use Django and Django REST Framework and need dataframe or spreadsheet output
- you want to expose tabular data in multiple formats (CSV, Excel, JSON, HTML) from the same URL
- you need to feed client-side charting libraries like d3.js or Plotly with clean data

## When to avoid
- your project is not built on Django
- you need real-time streaming or websocket data delivery
- you want a fully managed visualization layer rather than a data API

## Facets
- artifact type: library
- maturity: stable
- function: serialization, data-visualization, api-framework, etl
- domain: data-visualization, web-development, data-science, apis, analytics
- platform: python
- tags: django, django-rest-framework, pandas, csv, excel, spreadsheet, rest-api, charts, dataviz, web-server

## Member repositories
- wq/django-rest-pandas (main) score 52

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:13.187335+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T05:02:52.885933+00:00, confidence not recorded.
  - readme: https://github.com/wq/django-rest-pandas (fetched 2026-08-28T04:04:13.187335+00:00, sha e8558147b7db)
  - homepage: https://django-rest-pandas.wq.io/ (fetched 2026-08-29T12:13:51.022586+00:00, sha c4926ea0fe00)
  - site_page: https://django-rest-pandas.wq.io/releases (fetched 2026-08-29T12:13:51.024956+00:00, sha eff979b854a3)
- Data as of 2026-08-30T08:39:29.467469+00:00.
