Montague provides functions to load WSGI apps and servers based on configuration files. It's based on PasteDeploy's INI file support.
Project description
Montague provides functions to load WSGI apps and servers based on configuration files.
Free software: MIT license
Status
Montague is a pre-1.0 project using Semantic Versioning.
Installation
pip install montague
Documentation
Development
To run the all tests run:
tox
Changelog
0.2.1 (2015-06-17)
Removed zope.interface requirement, since the interfaces themselves were removed in 0.2.0.
Removed useless console_script entry point.
Changed loader detection to only consider the final extension in a filename.
Support and test egg specifications with no named entry point (because it’s ‘main’).
Support basic interpolation (here and __file__) in the built-in INI loader.
0.2.0 (2015-06-14)
Remove the PasteDeploy FakeApp package in favor of montague_testapps.
Enable a looponfail tox environment.
Add logging ini conversion
Reincorporate the test JSON config loader, active only during tests.
Remove the DEFAULT sentinal value; we’ll use ‘main’ as the default loadable name, just like grandpa used to do. This is a breaking change.
Add logging config to the Montague Standard Format.
Allow config loaders to skip implementing app_config() and the like, instead of raising NotImplementedError
Add validation functions to let config loaders test their compliance. These functions use assert statements, making them ideal for py.test, but they should work under unittest as well.
0.1.5 (2015-05-12)
The legacy PasteDeploy support was spun off into a separate package (montague_pastedeploy), enabling simplicity.
0.1.0 (2014-11-12)
First release on PyPI, corresponding to PasteDeploy 1.5.2.
Backwards incompatibility: ConfigMiddleware stores the config under montague.config in the environment instead of paste.config and no longer offers a threadlocal CONFIG importable. (This removes the dependency on Paste.)
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
Built Distribution
File details
Details for the file montague-0.2.1.tar.gz
.
File metadata
- Download URL: montague-0.2.1.tar.gz
- Upload date:
- Size: 23.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8b42156c041215005b17605ace347ce2123897701271a3e568ae0198f63348d |
|
MD5 | cf13133d073fe752830580c7b02883bc |
|
BLAKE2b-256 | 1b603bff7b0349cd62bd8a8427d95a5c7f743eb5f8848e162472683c01d30cff |
File details
Details for the file montague-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: montague-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 14.9 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1ccbedaec595bb13c0c94ab813d359d675c03ba449209c8d1946382325f79506 |
|
MD5 | 0738d74ef8d0dec8ed128c6bbc2b2ab2 |
|
BLAKE2b-256 | 0c4284f982db834a65687f3042bb5db5ebd68160d8e57f03cc44ffb78d8c125e |