Skip to main content

QuickWeb

QuickWeb is a Python Web Application Server based on the production-proved CherryPy Web Framework extended with developer friendly features.

Features

Development

  • Custom static content folders (any folder containing a .static file)
  • Automatic path based routing for templates and controllers, e.g.:
    • /about.html is available as /about
    • /submit.py is available as /submit
  • Zero code Jinja2 template rendering for .html files, that can:
    • Use data from YAML files (name.html < name.yaml)
    • Use HTTP specific data e.g. {{session}}
  • Zero code Markdown files rendering
  • Low code Python controllers
  • Integrated HTTP functional Testing
  • Reload on code changes

Production

Installing

QuickWeb requires Python3.6+ and can run on Windows, Linux or Mac.

Install quickweb using pip:

pip install quickweb

If the installation is succesful the quickweb command will be available, it will allow you to manage quickweb applications from the command line.

Getting Started

Creating your first application

Create your first quickweb app using a bootstrap based template:

quickweb create my-web-app bootstrap-navbar-fixed-top

You will get a my-web-app directory containing a quickweb sample app using the Bootstrap library.

Changing the application content

Check the application directory using your preferred HTML/CSS/JavaScript editor/IDE, edit the the content from the webroot directory as needed.

Starting the application

After making some changes and you can test the application executing:

quickweb run my-web-app

A web server is started using port 8080 on your local system. You can check your application by browsing to http://localhost:8080. If you later change some of the YAML/HTML/CSS/JS, you can check the changes by refreshing the corresponding page on your browser.

Deploying to a cloud platform

When your application is ready for public access you can deploy it to a cloud platform, it has been tested with the following providers:

  • Heroku Cloud Application Platform (deploy with: git push heroku master)
  • IBM Bluemix (deploy with: cf push appname)
  • Other CloudFoundry based provider (deploy with: cf push appname)

It should be able to run from other Cloud Foundry based providers.

NOTES:

  • Check the cloud provider documentation for the web app detailed setup instructions
    • Use the instructions for python web applications setup/deployment
  • The level of support for python based apps will depend on your provider, check it's documentation for details

Contributing

Check the Contributing Guide.

Maintained By

Metadata

Release files for quickweb 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for quickweb 1.8.0
File Size Uploaded
quickweb-1.8.0.tar.gz 236.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for quickweb 1.8.0
File Interpreter ABI Platform
quickweb-1.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 267.9 kB

Release files / quickweb-1.8.0.tar.gz

Download URL quickweb-1.8.0.tar.gz
Size 236.8 kB
Tags Source
SHA-256 checksum
How to use checksums
222109fae422d7804f7ff5082eb4d5d948571a6ffeff7ce1191594fd124e9a50
BLAKE2b-256 checksum
How to use checksums
88eaaee475aac741f652da9eccf50418f79441ccc21bdebc217e3c6daa082539
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release files / quickweb-1.8.0-py3-none-any.whl

Download URL quickweb-1.8.0-py3-none-any.whl
Size 31.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d0a4429cf01505458baed022f526ca580bd5198edfb44d482a56d2df69030ac
BLAKE2b-256 checksum
How to use checksums
1a084a9ca0a7021350df27f0c45c37e44d100e2869e776afda61345fe203de00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.6

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

1.7.4

2 release files

1.7.3

2 release files

1.7.2

2 release files

1.7.1

2 release files

1.7.0

2 release files

1.6.0

2 release files

1.5.0

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.8

2 release files

1.2.7

2 release files

1.2.6

2 release files

1.2.5

2 release files

1.2.4

2 release files

1.2.2

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.0

3 release files

1.0.1

2 release files

1.0.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.9

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.4

2 release files

0.5.3

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page