{"id":13448782,"url":"https://github.com/wq/django-rest-pandas","last_synced_at":"2025-12-14T17:44:24.951Z","repository":{"id":13041000,"uuid":"15720872","full_name":"wq/django-rest-pandas","owner":"wq","description":"📊📈 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)","archived":false,"fork":false,"pushed_at":"2025-03-29T01:49:15.000Z","size":919,"stargazers_count":1279,"open_issues_count":9,"forks_count":127,"subscribers_count":47,"default_branch":"main","last_synced_at":"2025-11-27T10:52:34.873Z","etag":null,"topics":["chart","csv","dataviz","django","django-rest-framework","excel","pandas","rest-api","spreadsheet"],"latest_commit_sha":null,"homepage":"https://django-rest-pandas.wq.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/wq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":"docs/support.md","governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2014-01-08T00:20:37.000Z","updated_at":"2025-11-26T22:33:40.000Z","dependencies_parsed_at":"2023-10-14T18:30:35.492Z","dependency_job_id":"de7cbb8f-7e04-4f87-a65d-66fb18eaf735","html_url":"https://github.com/wq/django-rest-pandas","commit_stats":{"total_commits":207,"total_committers":3,"mean_commits":69.0,"dds":0.03864734299516903,"last_synced_commit":"a0fb63cc50a1c2d94bc14d4786315b6c7c2bcef1"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/wq/django-rest-pandas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wq%2Fdjango-rest-pandas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wq%2Fdjango-rest-pandas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wq%2Fdjango-rest-pandas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wq%2Fdjango-rest-pandas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wq","download_url":"https://codeload.github.com/wq/django-rest-pandas/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wq%2Fdjango-rest-pandas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27574089,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-07T02:00:07.896Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["chart","csv","dataviz","django","django-rest-framework","excel","pandas","rest-api","spreadsheet"],"created_at":"2024-07-31T06:00:20.989Z","updated_at":"2025-12-14T17:44:24.924Z","avatar_url":"https://github.com/wq.png","language":"Python","funding_links":[],"categories":["Data sciences","Python","Packages"],"sub_categories":["Renderers and Parsers","Visualization"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://django-rest-pandas.wq.io\"\u003e\n    \u003cimg src=\"https://django-rest-pandas.wq.io/images/django-rest-pandas.svg\" alt=\"Django REST Pandas\"\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\n#### [Django REST Framework] + [pandas] = A Model-driven Visualization API\n\n**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][renderers] for consumption by a client-side visualization tool like [@wq/analyst].\n\nThe 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.\n\nWhile 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 - as well as any of the other charting possibilities Plotly provides.\n\n[![Latest PyPI Release](https://img.shields.io/pypi/v/rest-pandas.svg)](https://pypi.python.org/pypi/rest-pandas)\n[![Release Notes](https://img.shields.io/github/release/wq/django-rest-pandas.svg\n    )](https://github.com/wq/django-rest-pandas/releases)\n[![License](https://img.shields.io/pypi/l/rest-pandas.svg)](https://github.com/wq/django-rest-pandas/blob/master/LICENSE)\n[![GitHub Stars](https://img.shields.io/github/stars/wq/django-rest-pandas.svg)](https://github.com/wq/django-rest-pandas/stargazers)\n[![GitHub Forks](https://img.shields.io/github/forks/wq/django-rest-pandas.svg)](https://github.com/wq/django-rest-pandas/network)\n[![GitHub Issues](https://img.shields.io/github/issues/wq/django-rest-pandas.svg)](https://github.com/wq/django-rest-pandas/issues)\n\n[![Tests](https://github.com/wq/django-rest-pandas/actions/workflows/test.yml/badge.svg)](https://github.com/wq/django-rest-pandas/actions/workflows/test.yml)\n[![Python Support](https://img.shields.io/pypi/pyversions/rest-pandas.svg)](https://pypi.org/project/rest-pandas)\n[![Django Support](https://img.shields.io/pypi/djversions/rest-pandas.svg)](https://pypi.org/project/rest-pandas)\n\n\n### [Documentation]\n\nDRP is configured by defining one or more [API views][api] and mapping them to URLs.  The underlying implementation is a set of [serializers] that take Django REST Framework's serializer output and converts it into a dataframe.  Then, the included [renderers] generate the output file using pandas' built in functionality.\n\n1. **Getting Started**\n   * [Installation][installation]\n   * [Related Work][related-work]\n\n2. **API Documentation**\n   * [Configuration][config]\n   * [API Views][api]\n   * [Serializers (DataFrame transformation)][serializers]\n   * [Renderers (Output Formats)][renderers]\n\n3. **Data Visualization**\n   * [@wq/analyst]\n   * [@wq/chart]\n   * [@wq/pandas]\n\n[Django REST Framework]: http://django-rest-framework.org\n[pandas]: http://pandas.pydata.org\n[Plotly]: https://plotly.com/javascript/\n[Documentation]: https://django-rest-pandas.wq.io/\n[installation]: https://django-rest-pandas.wq.io/overview/setup\n[related-work]: https://django-rest-pandas.wq.io/overview/related-work\n[config]: https://django-rest-pandas.wq.io/config\n[api]: https://django-rest-pandas.wq.io/api/\n[serializers]: https://django-rest-pandas.wq.io/serializers/\n[renderers]: https://django-rest-pandas.wq.io/renderers/\n[@wq/pandas]: https://django-rest-pandas.wq.io/@wq/pandas\n[@wq/chart]: https://django-rest-pandas.wq.io/@wq/chart\n[@wq/analyst]: https://django-rest-pandas.wq.io/@wq/analyst\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwq%2Fdjango-rest-pandas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwq%2Fdjango-rest-pandas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwq%2Fdjango-rest-pandas/lists"}