Metadata-Version: 2.4
Name: pydantic-firebase-remoteconfig
Version: 0.2.1
Summary: A simple Firebase Remote Config binding for Pydantic
Requires-Python: >=3.12
Description-Content-Type: text/markdown
Requires-Dist: google-auth>=2.41.1
Requires-Dist: google-auth-httplib2>=0.2.0
Requires-Dist: httpx>=0.28.1
Requires-Dist: pydantic-settings>=2.11.0
Requires-Dist: pydantic[email]>=2.11.10
Requires-Dist: requests>=2.32.5

# Firebase Remote config validator for Pydantic

[![PyPI - Version](https://img.shields.io/pypi/v/pydantic-firebase-remoteconfig)](https://pypi.org/project/pydantic-firebase-remoteconfig/) [![Pydantic v2](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/pydantic/pydantic/main/docs/badge/v2.json)](https://pydantic.dev)

A simple Firebase Remote Config binding for Pydantic, using
remote server configuration only.

## Installation

Package is publicly available on PyPi and can be install using any
supported package manager:

```bash
pip install pydantic-firebase-remoteconfig
```

## Usage

You simply need to implement your `BaseRemoteConfigModel` class
and use the appropriate async validation class method. Let's imagine
you have a server remote configuration with a `foo` variable with `bar`
value:

```python
from pydantic_firebase_remoteconfig import BaseRemoteConfigModel


class MyRemoteConfigModel(BaseRemoteConfigModel):
    foo: str


config = await MyRemoteConfigModel.model_validate_remoteconfig()
print(config.foo)
# bar
```

### With custom model configuration

> TBD

#### Key prefix

> TBD

#### Parameter group selection

> TBD

#### Complex model using nested delimiter

> TBD
