The tools that power the canopy
Project description
understory
The tools that power the canopy
Install
pip install understory
Usage
A simple web application
Install Python Poetry and configure it.
Create a directory for your project and create a module hello.py
inside:
from understory import web
app = web.application("HelloWorld")
@app.route(r"")
class SayHey:
def get(self):
return "What's up world?"
From inside your project directory:
poetry init
poetry add understory
poetry run web install hello:app hello_app
poetry run web serve hello_app
poetry version prerelease
poetry build
poetry publish
Host using Ghost.
Add support for the IndieWeb
IndieAuth client/server, Micropub client/server, Microsub, WebSub, Webmention
from understory import indieweb
app.mount(indieweb.indieauth.server)
app.mount(indieweb.micropub.server)
app.mount(indieweb.content)
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
understory-0.0.34.tar.gz
(41.4 kB
view hashes)
Built Distribution
Close
Hashes for understory-0.0.34-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eae0d4c0464ecebb88937a57dc299f44990cf24aeec9fd760dcb277f419d467e |
|
MD5 | 5a8afba4aa7187541c37573f1889614d |
|
BLAKE2b-256 | bdccfce7c9449dcc2d785a14e4d80bc24fedb0b9789d5725064752a743f402c0 |