# 使用 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst

## 软件包事实

- **软件包键:** brew:dynaconf
- **软件包管理器:** Homebrew
- **版本:** 3.3.4
- **来源摘要:** Configuration Management for Python
- **主页:** <https://www.dynaconf.com/>
- **最后更新:** 2026-07-30T09:07:57Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- dynaconf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 3.3.4
## 项目历史与用法

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
## 其他软件包管理器记录

- 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/07190dc5ae9f35ae73866675fed6d95fe6e8d9fe22c9d7cdf85862cb2ed24a4c-primary.xml.zst | A dynamic configuration system for Python projects | https://github.com/dynaconf/dynaconf


## 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
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
