Skip to content

Releases: trendence/pytrevl

v0.2.0

14 Dec 14:37
69d8134
Compare
Choose a tag to compare
v0.2.0 Pre-release
Pre-release

- Added CustomChart Component to create a Chart Component from a Trevl Json Object:

custom_chart = pytrevl.CustomChart(input_json)

This Chart Component has the same functionality as other Chart Components, i.e.:

custom_chart.show()
custom_chart.get_data()
custom_chart.get_yaml()
dashbord.add_component(custom_chart)

- Added CubeQuery Class to query data from Cube.js directly:

cube = pt.Cube(name="cube_name")
cube_query_filter = pt.Filter("a variable", "equals", "some value")
cube_query = pt.CubeQuery(
    cube=cube,
    queries=[
        "a dimension or measure",
        "another dimension or measure",
        "...."],
    filters=[
        cube_query_filter
    ])

cube_query.get_data() # <- Returns a DataFrame with the data

v0.1.0

12 Dec 15:14
ad0c786
Compare
Choose a tag to compare
v0.1.0 Pre-release
Pre-release
  • Replaced deprecated Python-Highcharts package with native Highcharts visualization class
  • Added classes for Cubes, Filters and Style, to be used and reused in PyTrevl components to match Trevl command structure
  • Replaced component.get_trevl() and component.get_yaml() with more descriptive component.get_json() and component.get_yaml()
  • Partitioned TrevlCodeGenerator class into smaller functions
  • small bugfixes and improvements in code readability

v0.0.2

07 Dec 13:00
Compare
Choose a tag to compare
v0.0.2 Pre-release
Pre-release

Added Features:

  • Experimental LineCharts
  • X-Middle API connection
  • Highcharts implementation
  • Automatic TREVL creation though PyYAML package
  • Added Chart parent class for easier scaling

v0.0.1-alpha

02 Dec 15:02
Compare
Choose a tag to compare
v0.0.1-alpha Pre-release
Pre-release

First alpha of pyTrevl with simple Cube.js integration, Bar-Charts and Pie-Charts, Plotly Express integration and Trevl-code generation.