how can i get the ini data in pyramid?
There is a development.ini or production.ini in a pyramid project. I add my own config data in the ini files like: [thrift] host = 0.0.0.0 port = 8080 and I want to use the config data in one of py files in the project. How can I get the data without the request object? (I've seen a solution which uses request.) You can access the settings at request.registry.settings or pyramid.threadlocal.get_current_registry().settings . It behaves like dictionary. If you want to use the second one, that is getting the settings without having the request, I have to warn you. According to the doc : This