Skip to main content

Building websites like React, and hosting 'em like Flask!

Project description

++--------------------------------------++

++--------------------------------------++
|| |) . | + . + ||
|| |+ | | | | +-+ | +-+ +-+ -+- +-+ +-+ ||
|| |) +-+ | | +-+ | | | +-+ + +-+ | | ||
|| | ||
|| -+ ||
|| By RixTheTyrunt ||
++--------------------------------------++
++--------------------------------------++

You can use the [buildington.page] decorator and/or the [buildington.addFile] method to add a route to your website. Here's an example of both:
+------------------------------------------------------------------------------+
| Python |
+------------------------------------------------------------------------------+
| import buildington |
| |
| buildington.addFile("README.txt") |
| @buildington.page("/") |
| def index(): |
| return ( |
| buildington.Para("Hippity hoppity your website is now my property"), |
| ) |
| |
| buildington.start("0.0.0.0", 8080) |
+------------------------------------------------------------------------------+

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

buildington-1.6.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

buildington-1.6-py3-none-any.whl (3.4 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