Skip to main content

Serve static or templated content via WSGI or stand-alone.

Project description

# static

Serve static or templated content via WSGI or stand-alone.

Install Static

$ pip install static

Serve up some content:

$ static localhost 9999 static-content/

Or in the context of a WSGI application:

`python import static wsgi_app = static.Cling('/var/www') `

You can also use Python template strings, Moustache templates or easily roll your own templating plugin. See the tests and source code for examples.

Pull requests welcome. Happy hacking.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

static-1.1.1.tar.gz (5.8 kB view details)

Uploaded Source

File details

Details for the file static-1.1.1.tar.gz.

File metadata

  • Download URL: static-1.1.1.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for static-1.1.1.tar.gz
Algorithm Hash digest
SHA256 4a2dfc165c9242304b117e80fb200eb62742a1c51dbaac50451419dccee76395
MD5 75c738ed25cc69a71299b93369ee4e40
BLAKE2b-256 630ec090cf568bdd6c5871cb4d50e8d59785de8c0e58a6801e4f2b0a77f2e035

See more details on using hashes here.

Supported by

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