Metadata-Version: 2.4
Name: mupay-sdk
Version: 0.2.0
Summary: Compatibility bridge from legacy mupay_sdk imports to the MuPag Python SDK.
Project-URL: Homepage, https://docs.mupag.com.br
Project-URL: Documentation, https://docs.mupag.com.br
Author: MuPag
License: Proprietary
Keywords: compatibility,mupag,mupay,payments,sdk
Classifier: Development Status :: 7 - Inactive
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Typing :: Typed
Requires-Python: >=3.10
Requires-Dist: mupag-sdk==0.2.0
Description-Content-Type: text/markdown

# `mupay-sdk` is a compatibility bridge; new code must install `mupag-sdk`

This temporary package preserves documented `mupay_sdk` imports while applications migrate to
the official MuPag Python SDK. It delegates all HTTP behavior, validation, retry policy, models,
errors, and webhook verification to the pinned `mupag-sdk` dependency.

## Installation

Existing applications can install the bridge during migration:

```bash
pip install mupay-sdk==0.2.0
```

New applications must install and import the canonical package instead:

```bash
pip install mupag-sdk==0.2.0
```

```python
from mupag_sdk import MuPagClient

client = MuPagClient(api_key="sk_test_...", environment="test")
```

Legacy `Gateway` and `AsyncGateway` infer `environment="test"` from `sk_test_` and
`environment="prd"` from `sk_prd_`. Any other prefix is rejected. Omitting `base_url` selects the
canonical MuPag host; an explicitly supplied safe override is validated by `mupag-sdk`.

Importing `mupay_sdk` emits a `DeprecationWarning`. Replace `mupay_sdk` imports with `mupag_sdk` as
soon as possible.
