Skip to main content

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 project
  • webpy route {route-name} - Create a new filesystem route (this must be under root/)

Deploying your project

  • webpy run - Run this in the project dir to start your app using Flask
  • webpy build - Package the program into a build.py file
  • webpy compile - Package the program into a build.pyc file
  • webpy buildpyx - Compile the .pyx files into .py files -- automatically runs through the build, compile, and run 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


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)

Uploaded Source

Built Distribution

webpy_framework-1.0.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page