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.35.tar.gz
(41.4 kB
view hashes)
Built Distribution
Close
Hashes for understory-0.0.35-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db817b011374797b42f4e81b7a18823e6b0e58cf2fa6a80bd17940c23850200d |
|
MD5 | efde2832b521da9d34429434de2875e6 |
|
BLAKE2b-256 | 0d0a26ff249116125c85e8e4b8ddb9bb70c0e1e825931e48549c1d5bf35441b2 |