Ready to use examples
This section will details some examples available on Github
It will illustrate some example and provide more explanation concerning the modules and functions used.
More ready to use dashboards are available in the Epyk Gallery
Important features
Only 12 functions are needed to be able to write interactive dashboards.
Scope |
Function |
Description |
---|---|---|
Page |
theme |
Change theme of the page |
Page |
theme.colors |
Get the theme colors |
Page |
ui |
Get all the components in the framework |
Page |
body |
Get the body (main component) of the page on which components will be attached to. |
Page |
js |
Get access to the JavaScript standard features |
Page |
js.post / js.get |
Call a backend REST API |
Page |
outs |
Page output property (html, codepen, Jupyter….) |
Component |
style.css |
Get all the CSS properties |
Component |
js |
Get the component specific js features |
Component |
dom.content |
Get the component value on the UI side |
Component |
click |
Add UI click event on the component |
Component |
build |
Update a component in a UI event function |
Note
This is a collaborative framework so not hesitate to share your work to add more examples to this list.
Epyk for beginners
This should a easy start for people not really familiar with either Python or JavaScript but eager to learn and produce results quickly (without to deal with thousand of packages, technologies and concepts).
The below links will propose two approaches according to your appetite:
Statics Page
Those examples are interactive pages working as standalone HTML pages. No server is required to run them.
This is usually the starting point of any web pages.