This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Adds a /version url that returns a json response of the current application version.

Example usage:

from wsgiappversion import ApplicationVersion
from my_project import MyWSGIApp

application = MyWSGIApp()
application = ApplicationVersion(application, determine_version='my_project')

The required determine_version argument is used to determine what the current version actually is. determine_version can be either a string or a callable that takes no arguments. When a string is used then the version is determined by calling pkg_resources.require(package_name). If that would not work for your application then a callable that returns the correct version can be used.

Since a package version would likely not change without an application restart we would recommend using a closure (or some other similar method of caching a value) as your callable.

Release History

Release History

1.0.0

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
wsgiappversion-1.0.0-py2.py3-none-any.whl (4.0 kB) Copy SHA256 Checksum SHA256 py2.py3 Wheel Oct 6, 2014
wsgiappversion-1.0.0.tar.gz (3.1 kB) Copy SHA256 Checksum SHA256 Source Oct 6, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting