Skip to main content

Pyramid settings module that lets you use

Project description


`pyramid_settings` is simplest package (2 functions to be fair) that enables
you to load python modules as pyramid settings files.

TL;DR; You can ditch most of your .ini files and store your settings in
clean python.


.. code-block::

from pyramid.config import Configurator

from pyramid_settings import load_settings

def main(global_config, **settings):
""" This function returns a Pyramid WSGI application.


load_settings(__name__, settings, config=global_config)

config = Configurator(settings=settings)
return config.make_wsgi_app()

and this is all you need (if you use paster ini files and pserv) to be able to use:

$ pserv development.ini,,


Everything you see here is work in progress and should not be ever used in
production (trust me - don't trust me). Contributions, critique, angry letters
and such are welcome.


Install with pip::

$ pip install pyramid_settings

Issues and questions

Have a bug? Please create an issue on GitHub!


EasyEmail is an open source software and your contribution is very much

1. Check for
`open issues or
`open a fresh issue
to start a discussion around a feature idea or a bug.
2. Fork the
`repository on Github
and make your changes.
3. Follow these rules: PEP8, PEP257 and The
Zen of Python.
4. Make sure to add yourself to AUTHORS and send a pull request.


EasyEmail is available under the New BSD License. See

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pyramid_settings, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size pyramid_settings-0.1.tar.gz (5.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page