{ "info": { "author": "Rob Berry", "author_email": "rob@lostpropertyhq.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4" ], "description": "wsgiappversion\n==============\n\nWhat does it do?\n----------------\n\nAdds a ``/version`` url that returns a json response of the current\napplication version.\n\nExample usage:\n\n .. code-block:: python\n\n from wsgiappversion import ApplicationVersion\n from my_project import MyWSGIApp\n\n application = MyWSGIApp()\n application = ApplicationVersion(application, determine_version='my_project')\n\nThe required ``determine_version`` argument is used to determine what the\ncurrent version actually is. ``determine_version`` can be either a string or a\ncallable that takes no arguments. When a string is used then the version is\ndetermined by calling ``pkg_resources.require(package_name)``. If that would\nnot work for your application then a callable that returns the correct\nversion can be used.\n\nSince a package version would likely not change without an application\nrestart we would recommend using a closure (or some other similar method of\ncaching a value) as your callable.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/LostProperty/wsgiappversion", "keywords": "wsgi version", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "wsgiappversion", "package_url": "https://pypi.org/project/wsgiappversion/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/wsgiappversion/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/LostProperty/wsgiappversion" }, "release_url": "https://pypi.org/project/wsgiappversion/1.0.0/", "requires_dist": null, "requires_python": null, "summary": "Wsgi middleware that exposes an app's version number", "version": "1.0.0" }, "last_serial": 1249203, "releases": { "1.0.0": [ { "comment_text": "", "digests": { "md5": "ecb6d503ce8cf0590bcb50c24ad8f124", "sha256": "7ba7de0f6dc11b7625d24957bede2f527f3b66e957c5a79def87cb8a21f33940" }, "downloads": -1, "filename": "wsgiappversion-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecb6d503ce8cf0590bcb50c24ad8f124", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4047, "upload_time": "2014-10-06T09:57:59", "url": "https://files.pythonhosted.org/packages/35/3f/4f006dd18e0f5a5eb4361d897cee6d9eea910020c2cfedbe93ab4d36213c/wsgiappversion-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26b6f5ceff5b90c30b98af638f9ce7cd", "sha256": "63f2549087264fedb8259f351da0d7189e52ef904c5877f82e9c6226eae5774e" }, "downloads": -1, "filename": "wsgiappversion-1.0.0.tar.gz", "has_sig": false, "md5_digest": "26b6f5ceff5b90c30b98af638f9ce7cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3053, "upload_time": "2014-10-06T09:58:02", "url": "https://files.pythonhosted.org/packages/08/61/9c8ca181ade35e27c4d2cd55b21fd9edea8ed2da6a6b378f47ffdaa387dc/wsgiappversion-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ecb6d503ce8cf0590bcb50c24ad8f124", "sha256": "7ba7de0f6dc11b7625d24957bede2f527f3b66e957c5a79def87cb8a21f33940" }, "downloads": -1, "filename": "wsgiappversion-1.0.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ecb6d503ce8cf0590bcb50c24ad8f124", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4047, "upload_time": "2014-10-06T09:57:59", "url": "https://files.pythonhosted.org/packages/35/3f/4f006dd18e0f5a5eb4361d897cee6d9eea910020c2cfedbe93ab4d36213c/wsgiappversion-1.0.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26b6f5ceff5b90c30b98af638f9ce7cd", "sha256": "63f2549087264fedb8259f351da0d7189e52ef904c5877f82e9c6226eae5774e" }, "downloads": -1, "filename": "wsgiappversion-1.0.0.tar.gz", "has_sig": false, "md5_digest": "26b6f5ceff5b90c30b98af638f9ce7cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3053, "upload_time": "2014-10-06T09:58:02", "url": "https://files.pythonhosted.org/packages/08/61/9c8ca181ade35e27c4d2cd55b21fd9edea8ed2da6a6b378f47ffdaa387dc/wsgiappversion-1.0.0.tar.gz" } ] }