-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Feature summary
Create a single, project-wide settings object that every module can import and read from.
What to build
-
Settings loader
- Pull values from a user-supplied settings file and fall back to default values when missing.
- The user file is chosen via an environment variable.
-
Lazy wrapper
- Don’t load the settings until they’re actually requested.
-
Singleton behaviour
- Once loaded, the same settings instance is shared everywhere and cannot be modified.
-
Package entry-point
- Expose the ready-to-use object as
from myproject.conf import settings.
- Expose the ready-to-use object as
-
Basic tests & docs
- Verify correct merge order, lazy loading, immutability, and the “missing env-var” error.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels