aws-lambda-env-modeler 2.1.0__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.1.0
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,13 +13,12 @@ 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
20
  Classifier: Programming Language :: Python :: 3.14
22
- Requires-Python: <4,>=3.9.0
21
+ Requires-Python: <4,>=3.10.0
23
22
  Requires-Dist: pydantic<3,>=2.12.0
24
23
  Description-Content-Type: text/markdown
25
24
 
@@ -27,7 +26,7 @@ Description-Content-Type: text/markdown
27
26
  # AWS Lambda Environment Variables Modeler (Python)
28
27
 
29
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)
30
- ![PythonSupport](https://img.shields.io/static/v1?label=python&message=%203.9|%203.10|%203.11|%203.12|%203.13|%203.14&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)
31
30
  ![PyPI version](https://badge.fury.io/py/aws-lambda-env-modeler.svg)
32
31
  ![PyPi monthly downloads](https://img.shields.io/pypi/dm/aws-lambda-env-modeler)
33
32
  [![PyPI Downloads](https://static.pepy.tech/badge/aws-lambda-env-modeler)](https://pepy.tech/projects/aws-lambda-env-modeler)
@@ -40,7 +39,7 @@ Description-Content-Type: text/markdown
40
39
 
41
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.
42
41
 
43
- 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.
44
43
 
45
44
  This library is especially handy for serverless applications where managing configuration via environment variables is a common practice.
46
45
 
@@ -108,7 +107,7 @@ Then, you can fetch the environment variables using the global getter function,
108
107
  ```python
109
108
  from aws_lambda_env_modeler import init_environment_variables
110
109
 
111
- @init_environment_variables(MyEnvVariables)
110
+ @init_environment_variables(model=MyEnvVariables)
112
111
  def my_handler_entry_function(event, context):
113
112
  # At this point, environment variables are already validated and initialized
114
113
  pass
@@ -119,7 +118,7 @@ Then, you can fetch and validate the environment variables with your model:
119
118
  ```python
120
119
  from aws_lambda_env_modeler import get_environment_variables
121
120
 
122
- env_vars = get_environment_variables(MyEnvVariables)
121
+ env_vars = get_environment_variables(model=MyEnvVariables)
123
122
  print(env_vars.DB_HOST)
124
123
  ```
125
124
 
@@ -140,7 +139,7 @@ from typing import Any, Dict
140
139
  from unittest.mock import patch
141
140
 
142
141
  from pydantic import BaseModel
143
- from typing_extensions import Literal
142
+ from typing import Literal
144
143
 
145
144
  from aws_lambda_env_modeler import LAMBDA_ENV_MODELER_DISABLE_CACHE, get_environment_variables, init_environment_variables
146
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|%203.14&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.1.0"
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,7 +22,6 @@ 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",
@@ -50,8 +49,7 @@ dev = [
50
49
  "xenon",
51
50
  "pre-commit",
52
51
  "ruff",
53
- "mkdocs-material",
54
- "mkdocs-git-revision-date-plugin",
52
+ "zensical",
55
53
  "types-cachetools",
56
54
  "mypy",
57
55
  "types-requests",