Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Takumi service framework configuration module

Project Description

Takumi framework configuration manager.

Configs are in yaml format stored in app.yaml by default. An environment vairable TAKUMI_APP_CONFIG_PATH can be used to change the path of the yaml file.

To set current running environment of the app use environment vairable TAKUMI_ENV. The default env is dev.


For the given config files:

# app.yaml
app_name: echo
app: echo:service
settings: settings
DB_DSN = 'psycopg2+postgresql://root:123@localhost:5432/dev'
>>> # With this environment vairable set:
>>> # TAKUMI_ENV=prod
>>> from takumi_config import config
>>> print(config.env)
>>> print(config.app_name)
>>> config.settings.update({'TEST': True, 'HELLO': 'world'})
>>> print(config.settings['TEST'])
>>> print(config.settings['DB_DSN'])

Release History

This version
History Node


History Node


History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.0 kB) Copy SHA256 Hash SHA256
py2.py3 Wheel Apr 5, 2017
(3.4 kB) Copy SHA256 Hash SHA256
Source Apr 5, 2017

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS 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