aws-lambda-env-modeler 2.0.1__tar.gz → 3.0.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.
@@ -251,3 +251,5 @@ lib_requirements.txt
251
251
  .ruff_cache
252
252
  .poetry
253
253
  .pytest_cache
254
+ node_modules
255
+ package-lock.json
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 Ran Isenberg
3
+ Copyright (c) 2026 Ran Isenberg
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: aws_lambda_env_modeler
3
- Version: 2.0.1
3
+ Version: 3.0.0
4
4
  Summary: AWS-Lambda-Env-Modeler is a Python library designed to simplify the process of managing and validating environment variables in your AWS Lambda functions.
5
5
  Project-URL: Repository, https://github.com/ran-isenberg/aws-lambda-env-modeler
6
6
  Project-URL: Issue tracker, https://github.com/ran-isenberg/aws-lambda-env-modeler/issues
@@ -13,20 +13,20 @@ Classifier: Development Status :: 5 - Production/Stable
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: License :: OSI Approved :: MIT License
15
15
  Classifier: Natural Language :: English
16
- Classifier: Programming Language :: Python :: 3.9
17
16
  Classifier: Programming Language :: Python :: 3.10
18
17
  Classifier: Programming Language :: Python :: 3.11
19
18
  Classifier: Programming Language :: Python :: 3.12
20
19
  Classifier: Programming Language :: Python :: 3.13
21
- Requires-Python: <4,>=3.9.0
22
- Requires-Dist: pydantic<3,>=2.0.0
20
+ Classifier: Programming Language :: Python :: 3.14
21
+ Requires-Python: <4,>=3.10.0
22
+ Requires-Dist: pydantic<3,>=2.12.0
23
23
  Description-Content-Type: text/markdown
24
24
 
25
25
 
26
26
  # AWS Lambda Environment Variables Modeler (Python)
27
27
 
28
28
  [![license](https://img.shields.io/github/license/ran-isenberg/aws-lambda-env-modeler)](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/master/LICENSE)
29
- ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.9|%203.10|%203.11|%203.12|%203.13&color=blue?style=flat-square&logo=python)
29
+ ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.10|%203.11|%203.12|%203.13|%203.14&color=blue?style=flat-square&logo=python)
30
30
  ![PyPI version](https://badge.fury.io/py/aws-lambda-env-modeler.svg)
31
31
  ![PyPi monthly downloads](https://img.shields.io/pypi/dm/aws-lambda-env-modeler)
32
32
  [![PyPI Downloads](https://static.pepy.tech/badge/aws-lambda-env-modeler)](https://pepy.tech/projects/aws-lambda-env-modeler)
@@ -39,7 +39,7 @@ Description-Content-Type: text/markdown
39
39
 
40
40
  AWS-Lambda-Env-Modeler is a Python library designed to simplify the process of managing and validating environment variables in your AWS Lambda functions.
41
41
 
42
- It leverages the power of [Pydantic](https://pydantic-docs.helpmanual.io/) models to define the expected structure and types of the environment variables.
42
+ It leverages the power of [Pydantic](https://docs.pydantic.dev/latest/) models to define the expected structure and types of the environment variables.
43
43
 
44
44
  This library is especially handy for serverless applications where managing configuration via environment variables is a common practice.
45
45
 
@@ -107,7 +107,7 @@ Then, you can fetch the environment variables using the global getter function,
107
107
  ```python
108
108
  from aws_lambda_env_modeler import init_environment_variables
109
109
 
110
- @init_environment_variables(MyEnvVariables)
110
+ @init_environment_variables(model=MyEnvVariables)
111
111
  def my_handler_entry_function(event, context):
112
112
  # At this point, environment variables are already validated and initialized
113
113
  pass
@@ -118,7 +118,7 @@ Then, you can fetch and validate the environment variables with your model:
118
118
  ```python
119
119
  from aws_lambda_env_modeler import get_environment_variables
120
120
 
121
- env_vars = get_environment_variables(MyEnvVariables)
121
+ env_vars = get_environment_variables(model=MyEnvVariables)
122
122
  print(env_vars.DB_HOST)
123
123
  ```
124
124
 
@@ -139,7 +139,7 @@ from typing import Any, Dict
139
139
  from unittest.mock import patch
140
140
 
141
141
  from pydantic import BaseModel
142
- from typing_extensions import Literal
142
+ from typing import Literal
143
143
 
144
144
  from aws_lambda_env_modeler import LAMBDA_ENV_MODELER_DISABLE_CACHE, get_environment_variables, init_environment_variables
145
145
 
@@ -2,7 +2,7 @@
2
2
  # AWS Lambda Environment Variables Modeler (Python)
3
3
 
4
4
  [![license](https://img.shields.io/github/license/ran-isenberg/aws-lambda-env-modeler)](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/master/LICENSE)
5
- ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.9|%203.10|%203.11|%203.12|%203.13&color=blue?style=flat-square&logo=python)
5
+ ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.10|%203.11|%203.12|%203.13|%203.14&color=blue?style=flat-square&logo=python)
6
6
  ![PyPI version](https://badge.fury.io/py/aws-lambda-env-modeler.svg)
7
7
  ![PyPi monthly downloads](https://img.shields.io/pypi/dm/aws-lambda-env-modeler)
8
8
  [![PyPI Downloads](https://static.pepy.tech/badge/aws-lambda-env-modeler)](https://pepy.tech/projects/aws-lambda-env-modeler)
@@ -15,7 +15,7 @@
15
15
 
16
16
  AWS-Lambda-Env-Modeler is a Python library designed to simplify the process of managing and validating environment variables in your AWS Lambda functions.
17
17
 
18
- It leverages the power of [Pydantic](https://pydantic-docs.helpmanual.io/) models to define the expected structure and types of the environment variables.
18
+ It leverages the power of [Pydantic](https://docs.pydantic.dev/latest/) models to define the expected structure and types of the environment variables.
19
19
 
20
20
  This library is especially handy for serverless applications where managing configuration via environment variables is a common practice.
21
21
 
@@ -83,7 +83,7 @@ Then, you can fetch the environment variables using the global getter function,
83
83
  ```python
84
84
  from aws_lambda_env_modeler import init_environment_variables
85
85
 
86
- @init_environment_variables(MyEnvVariables)
86
+ @init_environment_variables(model=MyEnvVariables)
87
87
  def my_handler_entry_function(event, context):
88
88
  # At this point, environment variables are already validated and initialized
89
89
  pass
@@ -94,7 +94,7 @@ Then, you can fetch and validate the environment variables with your model:
94
94
  ```python
95
95
  from aws_lambda_env_modeler import get_environment_variables
96
96
 
97
- env_vars = get_environment_variables(MyEnvVariables)
97
+ env_vars = get_environment_variables(model=MyEnvVariables)
98
98
  print(env_vars.DB_HOST)
99
99
  ```
100
100
 
@@ -115,7 +115,7 @@ from typing import Any, Dict
115
115
  from unittest.mock import patch
116
116
 
117
117
  from pydantic import BaseModel
118
- from typing_extensions import Literal
118
+ from typing import Literal
119
119
 
120
120
  from aws_lambda_env_modeler import LAMBDA_ENV_MODELER_DISABLE_CACHE, get_environment_variables, init_environment_variables
121
121
 
@@ -4,10 +4,10 @@ build-backend = "hatchling.build"
4
4
 
5
5
  [project]
6
6
  name = "aws_lambda_env_modeler"
7
- version = "2.0.1"
7
+ version = "3.0.0"
8
8
  description = "AWS-Lambda-Env-Modeler is a Python library designed to simplify the process of managing and validating environment variables in your AWS Lambda functions."
9
9
  authors = [{ name = "Ran Isenberg" }]
10
- requires-python = ">=3.9.0,<4"
10
+ requires-python = ">=3.10.0,<4"
11
11
  readme = "README.md"
12
12
  license = "MIT-0"
13
13
  keywords = [
@@ -22,13 +22,13 @@ classifiers = [
22
22
  "Intended Audience :: Developers",
23
23
  "License :: OSI Approved :: MIT License",
24
24
  "Natural Language :: English",
25
- "Programming Language :: Python :: 3.9",
26
25
  "Programming Language :: Python :: 3.10",
27
26
  "Programming Language :: Python :: 3.11",
28
27
  "Programming Language :: Python :: 3.12",
29
28
  "Programming Language :: Python :: 3.13",
29
+ "Programming Language :: Python :: 3.14",
30
30
  ]
31
- dependencies = ["pydantic>=2.0.0,<3"]
31
+ dependencies = ["pydantic>=2.12.0,<3"]
32
32
 
33
33
  [project.urls]
34
34
  Repository = "https://github.com/ran-isenberg/aws-lambda-env-modeler"
@@ -49,8 +49,7 @@ dev = [
49
49
  "xenon",
50
50
  "pre-commit",
51
51
  "ruff",
52
- "mkdocs-material",
53
- "mkdocs-git-revision-date-plugin",
52
+ "zensical",
54
53
  "types-cachetools",
55
54
  "mypy",
56
55
  "types-requests",
@@ -101,8 +100,8 @@ exclude = [
101
100
  line-length = 150
102
101
  indent-width = 4
103
102
 
104
- # Assume Python 3.13
105
- target-version = "py313"
103
+ # Assume Python 3.14
104
+ target-version = "py314"
106
105
 
107
106
  [tool.ruff.lint]
108
107
  # Enable Pyflakes (`F`) and a subset of the pycodestyle (`E`) codes by default.