Skip to main content

A full-featured minimalist web framework.

Project description

understory

A full-featured minimalist web framework

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.75.tar.gz (478.6 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.75-py3-none-any.whl (510.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for understory-0.0.75.tar.gz
Algorithm Hash digest
SHA256 4717e3aeea0aec5fe50c9eb28d72a2d6c3c182d2b1f1977fb3630ba0771c73d0
MD5 96f19732eeab0c15a44be99ddb8d51d5
BLAKE2b-256 e1989a088b341f4b0c8e4b758c228b300b94267ce1c453a7b6acb0884652919a

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for understory-0.0.75-py3-none-any.whl
Algorithm Hash digest
SHA256 fbd36458aa2b9b3374b607189d7d8b51d0ff4f9119e1d0096441ecc146eddfc2
MD5 d837b25c560f6adda18d3a45ac8531cb
BLAKE2b-256 ab44a3b7fa8b2149f7ea2f5f7a2786c89abb9a6b80831d124205e39e0fa87c23

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