Skip to content

Commit 58a4bf3

Browse files
committed
v2.0.0a1
1 parent 69cad4b commit 58a4bf3

File tree

9 files changed

+34
-14
lines changed

9 files changed

+34
-14
lines changed

MANIFEST.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
prune docs

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66

77
#### [Django REST Framework] + [pandas] = A Model-driven Visualization API
88

9-
**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 [d3.js].
9+
**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].
1010

1111
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.
1212

13-
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 - as well as any of the infinite other charting possibilities d3.js provides.
13+
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 - as well as any of the other charting possibilities Plotly provides.
1414

1515
[![Latest PyPI Release](https://img.shields.io/pypi/v/rest-pandas.svg)](https://pypi.python.org/pypi/rest-pandas)
1616
[![Release Notes](https://img.shields.io/github/release/wq/django-rest-pandas.svg
@@ -27,7 +27,7 @@ While DRP is primarily a data API, it also provides a default collection of inte
2727

2828
### [Documentation]
2929

30-
DRP 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 the normal serializer result and put it into a dataframe. Then, the included [renderers] generate the output using the built in pandas functionality.
30+
DRP 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.
3131

3232
1. **Getting Started**
3333
* [Installation][installation]
@@ -40,13 +40,13 @@ DRP is configured by defining one or more [API views][api] and mapping them to U
4040
* [Renderers (Output Formats)][renderers]
4141

4242
3. **Data Visualization**
43-
* [@wq/pandas]
44-
* [@wq/chart]
4543
* [@wq/analyst]
44+
* [@wq/chart]
45+
* [@wq/pandas]
4646

4747
[Django REST Framework]: http://django-rest-framework.org
4848
[pandas]: http://pandas.pydata.org
49-
[d3.js]: http://d3js.org
49+
[Plotly]: https://plotly.com/javascript/
5050
[Documentation]: https://django-rest-pandas.wq.io/
5151
[installation]: https://django-rest-pandas.wq.io/overview/setup
5252
[related-work]: https://django-rest-pandas.wq.io/overview/related-work

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/analyst/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
/hooks.js
44
/components/
55
/views/
6+
/version.js

packages/analyst/package.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
11
{
22
"name": "@wq/analyst",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "wq framework plugin providing interactive data tables & charts for Django REST Pandas",
55
"main": "index.js",
66
"unpkg": "dist/index.unpkg.js",
77
"type": "module",
8+
"files": [
9+
"src",
10+
"dist",
11+
"index.js",
12+
"icons.js",
13+
"hooks.js",
14+
"version.js",
15+
"components",
16+
"views"
17+
],
818
"scripts": {
919
"test": "cd ../../ && npm run jest packages/analyst",
1020
"build": "NODE_ENV=build npm run babel && npm run prettier",

packages/analyst/src/version.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
export default "0.0.0";
1+
export default "2.0.0a1";

packages/chart/package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
{
22
"name": "@wq/chart",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "wq framework plugin providing Plotly charts for Django REST Pandas",
55
"main": "index.js",
66
"unpkg": "dist/index.unpkg.js",
77
"type": "module",
8+
"files": [
9+
"src",
10+
"dist",
11+
"index.js",
12+
"config.js",
13+
"hooks.js",
14+
"charts"
15+
],
816
"scripts": {
917
"test": "cd ../../ && npm run jest packages/chart",
1018
"build": "NODE_ENV=build npm run babel && npm run prettier",

packages/pandas/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wq/pandas",
3-
"version": "2.0.0-alpha.0",
3+
"version": "2.0.0-alpha.1",
44
"description": "Parse CSV files generated by Django REST Pandas from multi-indexed DataFrames",
55
"main": "src/index.js",
66
"files": [

rest_pandas/static/app/.sha256

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
89061aca6e61615aa4f1fa8a325a89b268c909c65f8cd37e499ec99700bdba5a js/analyst.js'
1+
6b9ce6ca2a36570e77a6a6adc510efa019ad76df659f593871c2cc07cea2a200 js/analyst.js'
22
1ff371bab99d663bb8a7069efbf2360f79b8103d0e19dcb701818e22ae360421 js/chart.js

0 commit comments

Comments
 (0)