Metadata-Version: 2.4
Name: orpythonsdk
Version: 1.0.0
Summary: Python SDK for the OnRamp public API.
Requires-Python: >=3.9
Description-Content-Type: text/markdown
Requires-Dist: requests>=2.31.0

# ORPythonSDK

Python SDK for the OnRamp public API.

## Install from Gitea

```powershell
python -m pip install --index-url https://git.onramp-solutions.com/api/packages/OnRampSDK/pypi/simple orpythonsdk
```

## Usage

```python
from OnRampAPI import OnRampAPI, ORApiAutoAnswerMsgBoxOption

api = OnRampAPI("https://example.com/EnvRoot/")
sess = api.APILogin("username", "password")
api.SetAutoMsgBoxAnswer(sess, ORApiAutoAnswerMsgBoxOption.NoneOption)
```

## Build

```powershell
python -m pip install --upgrade build twine
python -m build
```

## Publish to Gitea

Configure `twine` credentials with a Gitea access token, then upload:

```powershell
python -m twine upload --repository-url https://git.onramp-solutions.com/api/packages/OnRampSDK/pypi dist/*
```

## Git Setup

Create an empty repository in Gitea first, then connect this local folder:

```powershell
git init
git add .
git commit -m "Initial Python SDK"
git branch -M main
git remote add origin https://git.onramp-solutions.com/OnRampSDK/ORPythonSDK.git
git push -u origin main
```
