Skip to main content

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)

Uploaded Source

Built Distribution

understory-0.0.36-py3-none-any.whl (52.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page