Skip to main content

A simple WSGI way to serve static (or mixed) content.

Project description

staticserve

Build Status https://pypip.in/v/staticserve/badge.png https://pypip.in/d/staticserve/badge.png

This distribution provides an easy way to include static content in your WSGI applications. There is a convenience method for serving files located via pkg_resources. There are also facilities for serving mixed (static and dynamic) content using “magic” file handlers. Python builtin string substitution is provided and it is easy to roll your own handlers. Also provides a command of the same name as a convenience when you just want to share a little content over HTTP, ad hoc.

Note: A Python 2.7/3.3 compatible fork of Luke Arno’s static package.

Dependencies

  • six # For Python 2/3 compatability.

  • werkzeug # For replacing rfc822 functionality.

History

0.1.2 (2013-07-28)

  • Added tests against serving of static files

  • Mild cleanup

0.1.1 (2013-07-27)

  • Added six and werkzueg as dependencies to deal with Python 3 compat issues.

  • Fixed a number of subtle Python 3 problems

  • Removed last traces of Kid usage from the project.

0.1.0 (2013-07-27)

  • Frustation

  • Inception

  • First release on PyPI

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

staticserve-0.1.2.tar.gz (14.2 kB view details)

Uploaded Source

File details

Details for the file staticserve-0.1.2.tar.gz.

File metadata

  • Download URL: staticserve-0.1.2.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for staticserve-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f726a160f131865f45ed91d3bae4a7b73ea1d1cac69bc2b638e0ecdebe4848d1
MD5 d6b6978faf9a0e5a8f494ff280f70d79
BLAKE2b-256 e8de085888c799a823f8f5b0daca58e59e180fba7baaa3fc3f8eeed4f99e2739

See more details on using hashes here.

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