semvec/pypi-packages huggingface dataset:
aws-ssm-env 0.1.4
A lightweight utility to fetch AWS SSM parameters and inject them as environment variables using JSON.
License: MIT
Requires Python: >=3.10
Keywords: aws, ssm, environment, parameter-store, boto3

# aws-ssm-env

Fetch environment configurations from **AWS SSM Parameter Store** as JSON.
Supports both AWS environments and local development via IAM role assumption.

## Installation

```bash
pip install aws-ssm-env
```

## Prerequisites

* The SSM parameter **must be of type `String`** (not `StringList` or `SecureString` unless you're decrypting).
* The value of the parameter **must be a valid JSON object string**. For example:

```json
{
  "DB_HOST": "localhost",
  "DB_USER": "admin",
  "DB_PASS": "secret"
}
```

## Usage

### 1. In AWS environment (e.g., EC2, Lambda)

If your code is running in an AWS environment with appropriate IAM permissions, you only need to provide the region and parameter name:

```python
from aws_ssm_env.ssm import get_env_parameters_from_ssm

env_config = get_env_parameters_from_ssm(
    account_id="",  # Optional
    region="us-west-2",
    role_name="",  # Optional
    parameter_name="/my/app/env"
)

print(env_config["DB_HOST"])
```

---

### 2. From local environment (with role assumption)

Use this method when working locally and you need to access parameters from another AWS account:

```python
from aws_ssm_env.ssm import get_env_parameters_from_ssm

env_config = get_env_parameters_from_ssm(
    account_id="123456789012",
    region="us-west-2",
    role_name="MyRole",
    parameter_name="/my/app/env"
)

print(env_config["DB_HOST"])
```

---

## License

MIT
dora-vggt 0.0.0
dora-vggt
License: MIT
Requires Python: >=3.10

# dora-vggt

## Getting started

- Install it with uv:

```bash
uv venv -p 3.11 --seed
uv pip install -e .
```

## Contribution Guide

- Format with [ruff](https://docs.astral.sh/ruff/):

```bash
uv pip install ruff
uv run ruff check . --fix
```

- Lint with ruff:

```bash
uv run ruff check .
```

- Test with [pytest](https://github.com/pytest-dev/pytest)

```bash
uv pip install pytest
uv run pytest . # Test
```

## YAML Specification

## Examples

## License

dora-vggt's code are released under the MIT License
dora-mediapipe 0.0.0
dora-mediapipe
License: MIT
Requires Python: >=3.8

# dora-mediapipe

## Getting started

- Install it with uv:

```bash
uv venv -p 3.11 --seed
uv pip install -e .
```

## Contribution Guide

- Format with [ruff](https://docs.astral.sh/ruff/):

```bash
uv pip install ruff
uv run ruff check . --fix
```

- Lint with ruff:

```bash
uv run ruff check .
```

- Test with [pytest](https://github.com/pytest-dev/pytest)

```bash
uv pip install pytest
uv run pytest . # Test
```

## YAML Specification

## Examples

## License

dora-mediapipe's code are released under the MIT License