Metadata-Version: 2.4
Name: cloudpepper
Version: 0.0.1
Summary: A modern and pythonic Python SDK for the Cloudpepper API.
Project-URL: Homepage, https://github.com/labiso-gmbh/cloudpepper-api-python-sdk
Project-URL: Bug Tracker, https://github.com/labiso-gmbh/cloudpepper-api-python-sdk/issues
Author-email: Lars Labisch <lars@labisch.de>
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Requires-Dist: httpx
Requires-Dist: pydantic
Provides-Extra: dev
Requires-Dist: pytest; extra == 'dev'
Requires-Dist: pytest-httpx; extra == 'dev'
Description-Content-Type: text/markdown

# Cloudpepper API Python SDK

A modern and pythonic Python SDK for the Cloudpepper API.

## Installation

```bash
pip install cloudpepper
```

## Usage

```python
from cloudpepper import Cloudpepper

client = Cloudpepper(api_key="YOUR_API_KEY")

# Get all servers
servers = client.servers.list()

# Create a new server
new_server = client.servers.create(
    type="cloudpepper",
    region="fra",
    plan="vhp-2c-4gb-amd",
    config={"odoo_version": "17.0"}
)
```

## Development

To install the development dependencies, run:

```bash
pip install -e '.[dev]'
```

To run the tests, run:

```bash
pytest
```
