Building websites like React, and hosting 'em like Flask!
Project description
Coding crap:
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
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
buildington-1.4.2.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for buildington-1.4.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b443898cc4c3b1f9cbe9eb164ed66739c04fce972331abcbd30f3fcb62f3132b |
|
MD5 | 3f77e558f451040e67adca4915e4694b |
|
BLAKE2b-256 | b0cb145f1e426649f3aee561d60334da249d2c1142019e44d92dec1b86a35e99 |