The tools that power the canopy
Project description
understory
The tools that power the canopy
Install
pip install understory
and/or
npm install understory.js
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.37.tar.gz
(48.5 kB
view hashes)
Built Distribution
Close
Hashes for understory-0.0.37-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f61137d5c0c18438e530af31ae5a76b356ee3a310f2eaae558fb8e042b0ab0e |
|
MD5 | b0ae9614e431ff32dddbad60019a38ba |
|
BLAKE2b-256 | b1f072cd10ad3a873877135800a4b98abfff0edff8f233f8538a27d48be223cc |