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 d3.js. The design philosophy of DRP enforces a strict separation between data and presentation. This keeps the implementation simple, but also has the nice side effect of making it trivial to provide the source data for your visualizations. This capability can often be leveraged by sending users to the same URL that your visualization code uses internally to load the data. While DRP is primarily a data API, it also provides a default collection of interactive visualizations through the @wq/chart library, and a @wq/pandas loader to facilitate custom JavaScript charts that work well with CSV output served by DRP. These can be used to create interactive time series, scatter, and box plot charts.

Features

  • DRP is configured by defining one or more API views and mapping them to URLs
  • The underlying implementation is a set of serializers that take the normal serializer result and put it into a dataframe
  • Included renderers generate the output using the built in pandas functionality
  • Serializers (DataFrame transformation)
  • Renderers (Output Formats)
  • Model-driven Visualization API

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Django REST Pandas

Django REST Pandas Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Django REST Pandas!

Additional Project Details

Programming Language

Python

Related Categories

Python Software Development Software, Python JSON Software, Python Charting Libraries

Registered

2022-09-02