Skip to main content

A modern and pythonic Python SDK for the Cloudpepper API.

Project description

Cloudpepper API Python SDK

A modern and pythonic Python SDK for the Cloudpepper API.

Installation

pip install cloudpepper

Usage

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:

pip install -e '.[dev]'

To run the tests, run:

pytest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cloudpepper-0.1.0.tar.gz (25.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cloudpepper-0.1.0-py3-none-any.whl (7.7 kB view details)

Uploaded Python 3

File details

Details for the file cloudpepper-0.1.0.tar.gz.

File metadata

  • Download URL: cloudpepper-0.1.0.tar.gz
  • Upload date:
  • Size: 25.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cloudpepper-0.1.0.tar.gz
Algorithm Hash digest
SHA256 612c40dd61b7543634465663a6af7d57670c702d2ca2f584c843a7c7c29817a5
MD5 278132712b58de9e2d96ebb178128686
BLAKE2b-256 90cc4b4011d8ded4ec996e213bd1601c97c5605507241dbe7aef41a7fdcb66d5

See more details on using hashes here.

File details

Details for the file cloudpepper-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: cloudpepper-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for cloudpepper-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 02210b30113f7967b6a3a89114e6bfd7a058d83f1ef7356f90069597c71957b9
MD5 367d3ec2c6e8fbcb15bf41a24af38a77
BLAKE2b-256 6758da3430bc531173e44a7125b3a76d6ed92beafcc762869cab2c644a84648f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page