Skip to content

【开源自荐】Conftier:A powerful multi-tier configuration management Python framework🚀 #6525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
Undertone0809 opened this issue Apr 6, 2025 · 0 comments

Comments

@Undertone0809
Copy link

🧩 简介 | Introduction

Conftier 是一款为 Python 应用设计的多层级配置管理框架,灵感来自 VSCode 的用户 / 工作区配置模式,支持三层合并(默认值、用户配置、项目配置),并可使用 Pydantic 或 dataclass 定义结构化配置,适用于构建工具、框架、CLI 应用等需要可配置能力的项目。

Github: https://github.com/Undertone0809/conftier
Official documentation: https://conftier.zeeland.top/

Image

🎯 特点亮点 | Key Features

  • 🌐 用户级 / 项目级配置分层(VSCode 同款思想)
  • 🧰 支持 Pydantic、dataclass 或原始 dict
  • 🔐 配置安全隔离(API Key 放用户级,不进版本控制)
  • 🧩 局部更新与自动合并(仅覆盖变动项)
  • 🚀 零配置启动,自动创建配置结构
  • 📦 适用于 CLI 工具、AI 框架、Web 项目等场景

Image

Image

Image

🌱 适用场景 | Typical Use Cases

  • 构建具有用户偏好和项目设置的 CLI 工具 / SDK
  • 为 AI 应用提供结构化参数(如 OpenAI API 配置)
  • 替代繁杂的 .env / YAML / argparse 组合方案
  • 统一配置加载逻辑,提升开发者体验
@Undertone0809 Undertone0809 changed the title 【开源自荐】Conftier:A powerful multi-tier configuration management Python framework 【开源自荐】Conftier:A powerful multi-tier configuration management Python framework🚀 Apr 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant