Plynth is a Python/HTML/CSS GUI Framework.
Currently this repository contains the python codes for the developtment kit and examples which you can use as a reference.
You need to install python
and pipenv
on your system first in order to develop with the development kit.
- Windows
- We recommend the official binaries of Python, https://www.python.org/downloads/. On Windows, you don't have to install pipenv manually.
- Mac
- Installing
pipenv
by Homebrew is recommended.
- Installing
- Linux
- See this page.
$ python3 -V # 3.7.x or 3.6.x
or
$ python -V # 3.7.x or 3.6.x
# Mac and Linux only
$ pipenv --version # pipenv, version 2018.11.26
$ git clone https://github.com/rokist/plynth-dev.git
$ cd plynth-dev
$ python3 setup.py -p 3.7.4 # use -l to show available python versions
- Mac or Linux
sudo cp pdk /usr/local/bin/
sudo chmod 755 /usr/local/bin/pdk
$ pdk init
$ pdk -p hello new
$ pdk -p hello run
$ vi hello/main.py
$ pdk i requests
$ pdk -p hello release
- Windows
- Copy __utils/exmaples/xxxx to the top folder of pdk using Explorer.
- Linux and Mac
cp -R __utils/examples/react_example ./
pdk -p react_example run
See the instruction at the official document.