Comments (1)
Hello, sorry for the delay. I have looked at this but didn't know how to respond immediately.
This looks like a useful use case, but we don't provide a specific out-of-the-box solution for the problem as you describe. As a library, Dynaconf provides some features for handling config, such as getting config from multiple sources, merging then, lazy evaluating, defining validators, etc. I believe you could leverage those features to implement this kind of "extensible framework" that you want. And if there is any specific gap/feature that you feel is missing to support this, it might be easier to request and implement that (as opposed to this more complex proposal).
Your use case looks somehow similar to the project I work on.
It uses a plugin system for django, and it use dynaconf to layer the settings like (sorted by loading order):
- base_settings from core (everything in here)
- base settings from loaded plugins
- settings defined by users (via their settings file or envvars).
Let me know if that's helpful.
from dynaconf.
Related Issues (20)
- [bug] Environment Variable Overrides Not Working with Nested .toml Values HOT 1
- [bug] Dynaconf.load_file() no error on missing file(s)
- Documentation used to be clear on purpose of global, and the default environment HOT 2
- Multiple cast validators get discarded
- Broken link to source code in docs HOT 1
- Standard docstrings style for the codebase HOT 3
- Validator default string parsed to number HOT 3
- [bug] Validation on Dynaconf instantiation not working HOT 1
- Validation doc section "On instantiation" improvement HOT 2
- [CI] New release process HOT 2
- [RFC] Add `as_dict` alias to `to_dict` for `DynaBox` for consistency between `LazySettings` and `DynaBox` objs HOT 1
- [CI] Update codecov configuration file
- [RFC] Add FORCE_SETTINGS_FILES to LazySettings.configure() for pytest
- [RFC] Use profile link of a contributor in the CHANGELOG
- [RFC] Provide workaround for auto-complete w/ Schema HOT 2
- [bug] Loading config values failing in Python 3.11 while it works in Python 3.10 HOT 1
- [bug] @reverse_lazy doesn't get evaluated without settings.using_env HOT 4
- [bug] fresh_vars items are assignable HOT 2
- k8s file-mounted secrets HOT 1
- [RFC] Add option to perform a self token renew when using vault
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dynaconf.