-
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathllms.txt
More file actions
26 lines (17 loc) · 1.61 KB
/
Copy pathllms.txt
File metadata and controls
26 lines (17 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# aws-lambda-env-modeler
> A Python library that uses Pydantic models to validate, parse, and manage environment variables in AWS Lambda functions.
aws-lambda-env-modeler simplifies environment variable management in AWS Lambda by leveraging Pydantic for type-safe parsing and validation. It provides a decorator to validate variables before handler execution and a global getter function for safe access anywhere in your code. Parsed models are cached for performance.
- Python 3.10 - 3.14
- Requires: pydantic >= 2.12.0, < 3
- License: MIT
## Documentation
- [Homepage](https://ran-isenberg.github.io/aws-lambda-env-modeler/): Full documentation with usage examples
- [Blog Post](https://www.ranthebuilder.cloud/post/aws-lambda-cookbook-environment-variables): Detailed explanation of the problem and solution
- [PyPI](https://pypi.org/project/aws-lambda-env-modeler/): Package page with installation instructions
## Source Code
- [GitHub Repository](https://github.com/ran-isenberg/aws-lambda-env-modeler): Source code and issue tracker
- [modeler.py](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/main/aws_lambda_env_modeler/modeler.py): Core public API (`init_environment_variables`, `get_environment_variables`)
- [modeler_impl.py](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/main/aws_lambda_env_modeler/modeler_impl.py): Internal implementation with caching logic
## Optional
- [Contributing](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/main/CONTRIBUTING.md): Contribution guidelines
- [License](https://github.com/ran-isenberg/aws-lambda-env-modeler/blob/main/LICENSE): MIT License