Skip to main content

Python client library for the Infomaniak API with a minimal token-page helper CLI.

Project description

Infomaniak Python SDK

PyPI version Tests Python versions License: MIT

Documentation   -   Get the Token   -   API Reference



[!CAUTION] Currently in development.

pip install xinfomaniak

Goals

  • Provide a simple and intuitive interface to interact with the Infomaniak API.
  • Support both synchronous and asynchronous programming paradigms.
  • Type annotations for better developer experience and code quality.

Usage

from infomaniak import Client

client = Client(token="your-token")

Async client example

import asyncio
from infomaniak import AsyncClient

async def main() -> None:
    client = AsyncClient(token="your-token")
    await client.domain.list()

asyncio.run(main())

Development

python -m venv .venv
source .venv/bin/activate  # On Windows: .venv\Scripts\activate
pip install -e .[dev]

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

xinfomaniak-0.0.4.tar.gz (52.6 kB view details)

Uploaded Source

Built Distribution

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

xinfomaniak-0.0.4-py3-none-any.whl (121.2 kB view details)

Uploaded Python 3

File details

Details for the file xinfomaniak-0.0.4.tar.gz.

File metadata

  • Download URL: xinfomaniak-0.0.4.tar.gz
  • Upload date:
  • Size: 52.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xinfomaniak-0.0.4.tar.gz
Algorithm Hash digest
SHA256 c9140bae5c69febddc4c49df586336e4b9229ad41816b030514b4e6ca4a67031
MD5 100452427aa148006b0e5a066628d374
BLAKE2b-256 50b075dd7fc083ecfcaced671362fe04d6735b6e5ac357ff97aa6c09343d768d

See more details on using hashes here.

Provenance

The following attestation bundles were made for xinfomaniak-0.0.4.tar.gz:

Publisher: publish.yml on xLongLink/infomaniak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file xinfomaniak-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: xinfomaniak-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 121.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for xinfomaniak-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 31a6fcac3ef9c138826b835a353ca4c40cfdd2b7ec0affce9086560177cc20b6
MD5 7e8a70752bba9a988ef0dca03beb68de
BLAKE2b-256 4d50a93f217aa9ac3f16e17d996ff6a2741d0742018acd5b43a02e669ea1c731

See more details on using hashes here.

Provenance

The following attestation bundles were made for xinfomaniak-0.0.4-py3-none-any.whl:

Publisher: publish.yml on xLongLink/infomaniak

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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