# 使用 Homebrew, dnf 安装 dynaconf

查看 dynaconf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:dynaconf
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install dynaconf
```

  证据: local Homebrew formula metadata

### Linux

- dnf (92%):

```sh
sudo dnf install python3-dynaconf
```

  证据: Fedora Rawhide package metadata: python3-dynaconf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:dynaconf
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/dynaconf>
- **版本:** 3.3.4
- **来源摘要:** Configuration Management for Python
- **主页:** <https://www.dynaconf.com/>
- **上游文档:** <https://www.dynaconf.com/>
- **许可证:** MIT
- **源码归档:** <https://files.pythonhosted.org/packages/5c/c2/5c8b5f4003bfd5a4666a324a60e08e8bb1bd5d2966159de8dbfdd61a8ca7/dynaconf-3.3.4.tar.gz>
- **最后更新:** 2026-07-30T09:07:57Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- dynaconf (cli)
- dynaconf (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.3.4
- 管理器更新时间: 2026-07-30
- 本地数据: OK
- 上游仓库: https://www.dynaconf.com/
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

Dynaconf is a Python configuration-management library and CLI for layered settings, environment-variable overrides, validation, and secrets handling across plain Python projects and web frameworks.

### 项目历史

Dynaconf's public package history begins in August 2015, when the 0.1.0 release was uploaded to PyPI and the GitHub repository was created. The README presents it as configuration management for Python, inspired by the 12-factor app approach, with support for multiple file formats, environment overlays, validation, HashiCorp Vault, Redis, Django, Flask, and a CLI.

The project grew into a long-lived Python packaging fixture rather than a one-off framework extension. Its documentation and README emphasize generated `settings.toml` and `.secrets.toml` files, environment-variable overrides, and a `dynaconf` executable for init, list, write, validate, and export workflows.

### 采用历史

Adoption has come mainly from Python application teams that want one settings layer across local files, environment variables, framework integrations, and secret stores. Its packaging footprint includes PyPI and Homebrew, with the Homebrew formula tracking the 3.x line and PyPI showing active releases through 2026.

### 使用方式

Typical usage starts with `dynaconf init`, which creates a project settings file and optional secrets file, then application code imports a `Dynaconf` settings object. Users can override configuration with prefixed environment variables and can move secrets to `.secrets.*`, Vault, or Redis.

### 为什么软件包爱好者会关心

Dynaconf is notable in package-manager culture because it packages a common application concern, configuration layering, as both a library and a CLI. It sits between framework-native settings systems, dotenv loaders, and secret-store clients, making it useful to compare with Pydantic Settings, environs, python-decouple, django-environ, and Hydra.

### 时间线

- 2015: GitHub repository is created and Dynaconf 0.1.0 appears on PyPI.
- 2020s: Documentation highlights Django, Flask, Vault, Redis, multiple file formats, validation, and CLI workflows.
- 2026: PyPI shows active 3.x releases, while Homebrew packages Dynaconf as a CLI-accessible Python tool.

### Related projects

- Related projects include Pydantic Settings, python-dotenv, environs, python-decouple, django-environ, Flask configuration, Django settings, HashiCorp Vault, Redis, and the Rust-oriented Hydroconf project linked from the Dynaconf README.

### 来源

- <https://github.com/dynaconf/dynaconf#readme>
- <https://api.github.com/repos/dynaconf/dynaconf>
- <https://pypi.org/pypi/dynaconf/json>
- <https://www.dynaconf.com/>
- <https://formulae.brew.sh/formula/dynaconf>


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: settings.toml, .secrets.toml

## Credential files

- Unix: .secrets.toml
## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** dynaconf
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 其他软件包管理器记录

- dnf - python3-dynaconf - 3.2.13-3.fc45: normalized package name match | Fedora Rawhide package metadata: python3-dynaconf from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/210a2053c8e007daf9ae39c2a21daaed9b2ddd07d63ecffa597050361e73650c-primary.xml.zst | A dynamic configuration system for Python projects | https://github.com/dynaconf/dynaconf


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [setconf](https://pkg.so/zh-hans/brew/setconf/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools, python, settings.
- [envv](https://pkg.so/zh-hans/brew/envv/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools, environment-variables.
- [butane](https://pkg.so/zh-hans/brew/butane/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [editorconfig](https://pkg.so/zh-hans/brew/editorconfig/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [config-file-validator](https://pkg.so/zh-hans/brew/config-file-validator/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [dhall-json](https://pkg.so/zh-hans/brew/dhall-json/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [json2hcl](https://pkg.so/zh-hans/brew/json2hcl/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [libucl](https://pkg.so/zh-hans/brew/libucl/) - Shares pkgdb curated category or tags: cli, configuration, developer-tools.
- [envelope](https://pkg.so/zh-hans/brew/envelope/) - Local package facts share a topical domain. Shared terms: cli, configuration, developer, developer-tools, environment.

## Combined YAML source

View the package source record on GitHub. [combined/dynaconf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/dynaconf.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
