skillfed

ovh

"Official module to perform HTTP requests to the OVHcloud APIs"

ovh v1.2.0 558.5K downloads/30d#6,007 on PyPI351
Permissive license BSD Active released

What it is and what it does

The ovh package is an official Python SDK that wraps OVHcloud's REST APIs, eliminating the need to manually construct signed requests or manage authentication flows. It supports both OAuth2 (with scoped service accounts compatible with OVHcloud IAM) and the legacy application key/consumer key authentication model. The client handles request signing, credential loading from configuration files, and automatic parameter marshalling—including Python keyword aliasing for reserved words like 'from'.

Typical use cases include managing dedicated servers, configuring DNS and email redirections, retrieving billing information, and automating infrastructure tasks across OVHcloud's European, North American, and US regional endpoints. The package depends on requests and requests-oauthlib for HTTP transport and OAuth2 flows, and works with Python 3.7 and later.

Use it for:

  • Automate bulk operations on dedicated servers (e.g., enabling network burst across multiple machines in a datacenter).
  • Integrate OVHcloud billing and invoicing into external accounting or billing systems.
  • Programmatically manage email redirections and DNS records for hosted domains.
  • Build infrastructure-as-code scripts that provision or modify OVHcloud resources.
  • Retrieve account and service details for monitoring or reporting dashboards.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Lightweight Python wrapper for OVHcloud APIs that handles OAuth2 and custom authentication, request signing, and credential management automatically.

Yes. This is the official OVHcloud Python SDK with active maintenance, no known vulnerabilities, low install friction, and permissive licensing. Install it if you need to interact with OVHcloud APIs from Python; the credential and signing complexity it abstracts away makes it the clear choice over hand-rolled HTTP clients.

Install

ovh on PyPI

pip

pip install ovh

uv

uv add ovh

poetry

poetry add ovh

Installing ovh

Before you install

Low friction install with only requests and requests-oauthlib as dependencies. Actively maintained with recent commits and stable production status.

License in practice

BSD permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install ovh

import ovh

client = ovh.Client(
    endpoint='ovh-eu',
    application_key='your_key',
    application_secret='your_secret',
    consumer_key='your_consumer_key'
)
print(client.get('/me'))

Requires valid OVHcloud API credentials (application key, secret, and consumer key or OAuth2 client credentials) obtained from https://api.ovh.com/createToken or your OVHcloud account.

Verify before relying

  • Whether the package supports all OVHcloud regional endpoints equally well or if some have known limitations.
  • Performance characteristics when handling large result sets or high request volumes.

Package facts

License BSD (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — requests, requests-oauthlib
Maintenance actively maintained — 752 days since the last release
Last repo commit
First released
Downloads 558,498/month — #6,007 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ovh-1.2.0-py2.py3-none-any.whl

Keywords: ovh, sdk, rest, ovhcloud

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTopic :: System :: Archiving :: Packaging

Tags

ovhcloud api clientovh sdk pythonovhcloud rest wrapperoauth2 api authenticationovh dedicated server management
cloud-api-clientoauth2infrastructure-automation

More Python Modules packages