Easy-to-use Python web framework built on top of Flask
Project description
WebPy
A web framework built on top of Flask that allows you to add filesystem routes (in the root/
folder of your project directory).
Commands
Creating your project
webpy new {proj-name}
- Create a new projectwebpy route {route-name}
- Create a new filesystem route (this must be underroot/
)
Deploying your project
webpy run
- Run this in the project dir to start your app using Flaskwebpy build
- Package the program into abuild.py
filewebpy compile
- Package the program into abuild.pyc
filewebpy buildpyx
- Compile the.pyx
files into.py
files -- automatically runs through thebuild
,compile
, andrun
commands
WebPy allows developers to use just a minimal amount of Python (the bare minimum needed) for their web apps while also allowing for the full functionality of Flask. Take a look at webpy-app for example, where the majority of the codebase is HTML and JS while still allowing Flask to be fully utilized. WebPy web servers can also be compiled to standalone exectuables by compiling the output of webpy build
with a tool such as Nuitka.
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 Distribution
webpy-framework-1.0.0.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for webpy_framework-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a45108a056459d427fae06206fa953f97be3dee13014d5275fe1c3b048c608c |
|
MD5 | 4258ea40c8cfe606f7d953c351d8f735 |
|
BLAKE2b-256 | 2be17f775edfeafe3185b7e33e7966d712f63c9ce1b7565f9fa7f518182ca33c |