Chord diagrams, Circle packs, Boxplots, Radial charts, Sunburst, Donut charts and few more examples are added to chart gallery
(Contributions from: @vikky.a, @lakshmi.s )
More examples & utilities will be added, watch out this space for more updates.
ModelHandler exposes machine learning models as APIs that applications can use via Python or over a REST API.
To do so, add a modelhandler
endpoint
url:
modelhandler:
pattern: /$YAMLURL/model/(.*?)/(.*?)
handler: ModelHandler
kwargs:
path: $YAMLPATH # The local directory to store model files/training data etc.
You could submit URL query parameters like FormHandler
`/model/
This will help you create quick forms like below
The info page shows information about versions, paths and other details about Gramex and its dependencies.
To enable it, ensure that you specify:
components: [..., info, ...]
, i.e. include info
in components:
components:
This exposes JSON data at <admin-page>/info
as a list of objects consistent
with FormHandler.
[
{"section":"git","key":"path","value":"D:\\bin\\git.EXE","error":null},
{"section":"git","key":"version","value":"git version 2.15.1\n","error":""},{"section":"gramex","key":"memory usage","value":153411584,"error":""},
...
]
Webshell now makes handler
object avaiable to the user.
This will make handler
related debugging easier.
gramex init
uses bootstrap.bundle.js
in instead of adding popper.js
You can use
<script src="ui/jquery/dist/jquery.min.js"></script>
<script src="ui/bootstrap/dist/js/bootstrap.bundle.min.js"></script>
We’ve added an asciinema for gramex init
Note: gramex >= 1.41
onwards requires Anaconda >= 5.2.0
To upgrade Gramex, run:
pip install --verbose gramex==1.46
To upgrade apps dependencies, run:
gramex setup --all
This downloads Chromium and other front-end dependencies. That may take time.