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.36.tar.gz
(41.5 kB
view hashes)
Built Distribution
Close
Hashes for understory-0.0.36-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a330e45bbf786eb36e1e749b4ff125b8d9b42b69961820824ca96b372e48a6e1 |
|
MD5 | 296890337a313ea2264149e17b5ba405 |
|
BLAKE2b-256 | 94404aafdc15a8150cf8df095fa2774267af2cd64b607334213d152d871e29b5 |