{"id":21385166,"url":"https://github.com/spoqa/settei","last_synced_at":"2025-07-13T14:31:54.576Z","repository":{"id":56607491,"uuid":"55047375","full_name":"spoqa/settei","owner":"spoqa","description":"Configuration utility for common Python applications and services","archived":false,"fork":false,"pushed_at":"2020-10-29T05:05:46.000Z","size":166,"stargazers_count":18,"open_issues_count":3,"forks_count":9,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-07T12:52:02.206Z","etag":null,"topics":["config","configuration","dependency-injection","python","python3"],"latest_commit_sha":null,"homepage":"https://settei.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spoqa.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-03-30T08:47:21.000Z","updated_at":"2020-12-21T00:10:50.000Z","dependencies_parsed_at":"2022-08-15T21:50:29.494Z","dependency_job_id":null,"html_url":"https://github.com/spoqa/settei","commit_stats":null,"previous_names":[],"tags_count":18,"template":false,"template_full_name":null,"purl":"pkg:github/spoqa/settei","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsettei","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsettei/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsettei/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsettei/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spoqa","download_url":"https://codeload.github.com/spoqa/settei/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spoqa%2Fsettei/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265155776,"owners_count":23719585,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["config","configuration","dependency-injection","python","python3"],"created_at":"2024-11-22T11:45:25.157Z","updated_at":"2025-07-13T14:31:54.270Z","avatar_url":"https://github.com/spoqa.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Settei\n======\n\n.. image:: https://readthedocs.org/projects/settei/badge/?version=latest\n   :target: https://settei.readthedocs.io/\n   :alt: Documentation Status\n\n.. image:: https://badge.fury.io/py/settei.svg\n   :target: https://badge.fury.io/py/settei\n\n.. image:: https://travis-ci.org/spoqa/settei.svg\n   :target: https://travis-ci.org/spoqa/settei\n\nConfiguration utility for common Python applications and services.\nFYI, \"settei\" (設定) means settings in Japanese. :)\n\n\nLoading a configuration is easy\n-------------------------------\n\nSuppose you use `Flask`_ with Settei.\n\n.. code-block:: python\n\n   from flask import Flask\n   from settei import Configuration, config_property\n\n   class WebConfiguration(Configuration):\n      \"\"\"Load Configuration::\n\n         [web]\n         debug = true\n\n      \"\"\"\n\n      #: debug option\n      debug = config_property('web.debug', bool, default=False)\n\n\n   conf = WebConfiguration.from_path(pathlib.Path('.') / 'dev.toml')\n   app = Flask(__name__)\n\n\n   if __name__ == '__main__':\n       app.run(debug=conf.debug)\n\n\n.. _Flask: http://flask.pocoo.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoqa%2Fsettei","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspoqa%2Fsettei","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspoqa%2Fsettei/lists"}