the1conf 1.2.3__tar.gz → 1.3.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {the1conf-1.2.3 → the1conf-1.3.0}/PKG-INFO +7 -3
- {the1conf-1.2.3 → the1conf-1.3.0}/README.md +5 -1
- {the1conf-1.2.3 → the1conf-1.3.0}/pyproject.toml +3 -3
- {the1conf-1.2.3 → the1conf-1.3.0}/LICENSE +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/__init__.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/app_config.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/app_config_meta.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/attr_dict.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/auto_prolog.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/click_option.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/config_var.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/flags.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/py.typed +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/solver.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/utils.py +0 -0
- {the1conf-1.2.3 → the1conf-1.3.0}/python/main/the1conf/var_substitution.py +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: the1conf
|
|
3
|
-
Version: 1.
|
|
3
|
+
Version: 1.3.0
|
|
4
4
|
Summary: All in one configuration management tool for your python applications.
|
|
5
5
|
License-Expression: MIT
|
|
6
6
|
License-File: LICENSE
|
|
7
7
|
Keywords: configuration,settings,cli,click,pydantic
|
|
8
8
|
Author: Eric CHASTAN
|
|
9
9
|
Author-email: eric@chastan.consulting
|
|
10
|
-
Requires-Python: >=3.12
|
|
10
|
+
Requires-Python: >=3.12
|
|
11
11
|
Classifier: Development Status :: 5 - Production/Stable
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Operating System :: OS Independent
|
|
@@ -268,7 +268,11 @@ All these path are unified into OS independent variables:
|
|
|
268
268
|
- `user_home`: The path to the current user's home directory.
|
|
269
269
|
|
|
270
270
|
3. **Execution Stage Variable**: The `exec_stage` variable is particularly useful for differentiating configurations based on the execution stage (ie. environment) like development, production, test, etc.
|
|
271
|
-
This variable is predefined but users needs to set its value either through the command line
|
|
271
|
+
This variable is predefined but users needs to set its value either through the command line or in an environment variable. You have different options to pass it value:
|
|
272
|
+
- **Command Line Argument**: Using the Click integration, you can pass `--stage`,`--env` or `--exec-stage` argument to set the execution stage.
|
|
273
|
+
- **Environment Variable**: You can set the `EXEC_STAGE`, `STAGE` or `ENV` environment variable to define the execution stage.
|
|
274
|
+
- **Pass a value to resolve_vars()** : You can also directly pass the execution stage value in the `values` dictionary when calling `resolve_vars()`.
|
|
275
|
+
- **Redefine the variable**: You can redefine the `exec_stage` variable in your configuration class if you want to set a different default , different keys or change its behavior.
|
|
272
276
|
|
|
273
277
|
## Key Lookup with Fallback
|
|
274
278
|
|
|
@@ -244,7 +244,11 @@ All these path are unified into OS independent variables:
|
|
|
244
244
|
- `user_home`: The path to the current user's home directory.
|
|
245
245
|
|
|
246
246
|
3. **Execution Stage Variable**: The `exec_stage` variable is particularly useful for differentiating configurations based on the execution stage (ie. environment) like development, production, test, etc.
|
|
247
|
-
This variable is predefined but users needs to set its value either through the command line
|
|
247
|
+
This variable is predefined but users needs to set its value either through the command line or in an environment variable. You have different options to pass it value:
|
|
248
|
+
- **Command Line Argument**: Using the Click integration, you can pass `--stage`,`--env` or `--exec-stage` argument to set the execution stage.
|
|
249
|
+
- **Environment Variable**: You can set the `EXEC_STAGE`, `STAGE` or `ENV` environment variable to define the execution stage.
|
|
250
|
+
- **Pass a value to resolve_vars()** : You can also directly pass the execution stage value in the `values` dictionary when calling `resolve_vars()`.
|
|
251
|
+
- **Redefine the variable**: You can redefine the `exec_stage` variable in your configuration class if you want to set a different default , different keys or change its behavior.
|
|
248
252
|
|
|
249
253
|
## Key Lookup with Fallback
|
|
250
254
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "the1conf"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.3.0"
|
|
4
4
|
description = "All in one configuration management tool for your python applications."
|
|
5
5
|
readme = "README.md"
|
|
6
|
-
requires-python = ">=3.12
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
7
|
license = "MIT"
|
|
8
8
|
license-files = ["LICENSE"]
|
|
9
9
|
authors = [
|
|
@@ -46,7 +46,7 @@ packages = [
|
|
|
46
46
|
autopep8 = ">=2.3.2"
|
|
47
47
|
black = ">=26.1.0"
|
|
48
48
|
ipykernel = ">=7.1.0"
|
|
49
|
-
ipython = ">=9.
|
|
49
|
+
ipython = ">=9.60"
|
|
50
50
|
jupyter = ">=1.1.1"
|
|
51
51
|
mypy = ">=1.19.1"
|
|
52
52
|
pyls-black = ">=0.4.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|