You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

static

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

static

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

1.1.1
PyPI
Maintainers
1

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:

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.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts