Skip to main content

The tools that power the canopy

Project description

██╗   ██╗███╗   ██╗██████╗ ███████╗██████╗ ███████╗████████╗ ██████╗ ██████╗ ██╗   ██╗
██║   ██║████╗  ██║██╔══██╗██╔════╝██╔══██╗██╔════╝╚══██╔══╝██╔═══██╗██╔══██╗╚██╗ ██╔╝
██║   ██║██╔██╗ ██║██║  ██║█████╗  ██████╔╝███████╗   ██║   ██║   ██║██████╔╝ ╚████╔╝
██║   ██║██║╚██╗██║██║  ██║██╔══╝  ██╔══██╗╚════██║   ██║   ██║   ██║██╔══██╗  ╚██╔╝
╚██████╔╝██║ ╚████║██████╔╝███████╗██║  ██║███████║   ██║   ╚██████╔╝██║  ██║   ██║
 ╚═════╝ ╚═╝  ╚═══╝╚═════╝ ╚══════╝╚═╝  ╚═╝╚══════╝   ╚═╝    ╚═════╝ ╚═╝  ╚═╝   ╚═╝

An IndieWeb-compatible personal website

Install Poetry.

Clone your empty website repository and descend into it. If you use a private GitHub repository your changes will be deployed through GitHub. If you use a public repository your changes will be deployed through PyPI.

Initialize your project and add understory as a dependency.

poetry init
poetry add understory

Create a file site.py:

from understory import indieweb
app = indieweb.personal_site(__name__)

Serve your website locally in development mode:

poetry run web serve site:app

Open localhost:9000 in your browser.

Develop. For example, add a custom route:

import random

@app.route(r"hello")
class SayHello:
    return random.choice(["How you doin'?", "What's happening?", "What's up?"])

To publish:

poetry run pkg publish patch

To deploy:

poetry run gaea deploy site:app alice.anderson.example

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.65.tar.gz (512.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

understory-0.0.65-py3-none-any.whl (555.1 kB view details)

Uploaded Python 3

File details

Details for the file understory-0.0.65.tar.gz.

File metadata

  • Download URL: understory-0.0.65.tar.gz
  • Upload date:
  • Size: 512.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/4.19.0-17-amd64

File hashes

Hashes for understory-0.0.65.tar.gz
Algorithm Hash digest
SHA256 0bd6cd20d8751667695d7ba6793c41373337749eaa8b7d1e47b60bfe148a4321
MD5 88abba7779f96ce20d8588c7fb60b4c5
BLAKE2b-256 da51a3a05eb61c3f8b4830256fb20ac04aaab86f900582e4e1fceb0fe2a9a3b9

See more details on using hashes here.

File details

Details for the file understory-0.0.65-py3-none-any.whl.

File metadata

  • Download URL: understory-0.0.65-py3-none-any.whl
  • Upload date:
  • Size: 555.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.4 CPython/3.9.1 Linux/4.19.0-17-amd64

File hashes

Hashes for understory-0.0.65-py3-none-any.whl
Algorithm Hash digest
SHA256 5c6bf5433d146e2f6c675a2aa0208d97ca3f69e7d82073be574bcb8a696ae5f9
MD5 69772634cda7a174af8c8342e9e3ce91
BLAKE2b-256 3a74418f1f7dab79221cf9947a0e56d50cfcccc0af27ec22e4d0721b1cf11e59

See more details on using hashes here.

Supported by

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