A simple way to create rich interactive websites from Python
Project description
Presentation
Epyk-studio is a module on top of Epyk-ui in order to facilitate the use of the various features available. As Epyk-ui is the transpiler to Javascript and web artifacts on few (around 200) components are available.
Epyk-studio will facilitate the use of components by using pre defined styles according to the type of websites. Epyk-studio will provide some helpers and shortcut to design:
- blog pages
- event pages
- shops
- ad for app
- picture / video gallery
Those pages will generate proper HYML pages which can then be hosted in any company. There is no need to buy something specific to use Epyk and also to publish your work.
Quickstart
As Epyk-studio is still only available as a Python package to use it you would need to follow the below steps
Install Epyk
pip install epyk_studio
Create a web page
from epyk_studio.core.Page import Report#
page = Report()
page.headers.dev()
page.ui.title("Print messages")
url = "https://raw.githubusercontent.com/jbrownlee/Datasets/master/iris.csv"
names = ['sepal-length', 'sepal-width', 'petal-length', 'petal-width', 'class']
dataset = pandas.read_csv(url, names=names)
page.ui.title("Dataset")
t1 = page.studio.dashboard.table(dataset.to_dict('records'))
Transpile your reports
python epyk_studio transpile
Usage
The idea of this module is to never leave Python until the end of the product. By using this module there is no need to move to Javascript or even worst to start learning TypeScript to create safe and modern webpages.
This will allow you to make the bridge between Python and Javascript and then to reuse both rich ecosystems. Everything which is close to Javascript will be using the Javascript naming conventions.
Epyk studio can be used for any kind of project from personal ones to professional ones when dashboards are needed. Thanks to this module and its design it will be easy to change layouts and to switch the display according to your audience (without changing code or technology).
In the below examples, assets are coming from existing websites. This is only to illustrate some features available in the package.
For example Epyk Studio can be used in the below cases:
To generate dashboards (for time management, data monitoring, machine learning algorithms...)
Examples:
To generate modern website (for restaurant, hotel or a specific private event)
Examples:
travel.py management.py wedding.py
To generate shopping websites (for e-commerce websites)
Examples:
To generate slides (for dynamic and rich presentations)
Examples:
To teach Python
Examples:
learning.py image_processing.py
A simple and afficient way to prototype and share your work !
This can also work with Jupyter and JupyterLab more details here
Next features
The Epyk Studio team will be working on
- building a online portal to start prototyping directly from the browser.
- integrating of Native application features for the migration to apps
- building the community
- creating of tutorials and examples
As this is a collaborative project, do not hesitate to let us know about your interest and also to share your feedback.
You can also have a look at the main templates and examples repository here
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for epyk_studio-1.0.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5442c1bf3a2cd09cfc6b7eeb276a882c78f77542edb41c77f3494c8cb6378bcd |
|
MD5 | d17e3d197b89ba5936ee68adb95499ed |
|
BLAKE2b-256 | 022b1a1d55afa8d65e74b2fdc45bc2c6b73744341638510448fc9a4be958582e |