ovh
"Official module to perform HTTP requests to the OVHcloud APIs"
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 ovhuv
uv add ovhpoetry
poetry add ovhInstalling 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
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
requests-oauthlibAdds OAuth 1 and OAuth 2 authentication support…
permissive · top 1,000 on PyPI
edx-rest-api-clientProvides OAuth2 and JWT utilities for…
permissive · top 15,000 on PyPI
oauth2-clientHandles OAuth2 authentication flows…
unclear · top 15,000 on PyPI
requests-oauthAdds OAuth 1.0 authentication support to the…
permissive · top 5,000 on PyPI
google-oauth2-toolGenerates an OAuth2 key file from a Google…
permissive · top 15,000 on PyPI
pyxeroPyXero is a Python client library for the Xero…
permissive · top 15,000 on PyPI
cloudauthzCloudauthz obtains temporary credentials from…
permissive · top 15,000 on PyPI
oneloginOfficial Python SDK for OneLogin's API,…
unclear · top 15,000 on PyPI
oauth2Implements OAuth 1.0 authentication for Python…
permissive · top 15,000 on PyPI
vonage-http-clientProvides a synchronous HTTP client for…
permissive · top 15,000 on PyPI