Skip to main content

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 the deprecated Python stdlib rfc822 functionality.

Test Dependencies

  • requests - For checking the output

Running Tests

Inside a virtualenv:

python setup.py test

History

0.1.4 (2013-07-29)

  • Fix MANIFEST.in

0.1.3 (2013-07-29)

  • Tests against serving of image files working in all places

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

Metadata

Release files for staticserve 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for staticserve 0.1.4
File Size Uploaded Provenance Actions
staticserve-0.1.4.tar.gz 14.5 kB Without provenance Details for staticserve-0.1.4.tar.gz

Release files / staticserve-0.1.4.tar.gz

Download URL staticserve-0.1.4.tar.gz
Size 14.5 kB
Tags Source
SHA-256 checksum
How to use checksums
566462542b08267632e0ccc7adc60f5b1a404251e0a04c588fd08726ade77c81
BLAKE2b-256 checksum
How to use checksums
f97b73686ae2dbe8f6b80f1c5d64431e2b7e8143fdecb7801ac593260b9b3dce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for staticserve 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page