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.5.tar.gz (52.8 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.5-py3-none-any.whl (121.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: xinfomaniak-0.0.5.tar.gz
  • Upload date:
  • Size: 52.8 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.5.tar.gz
Algorithm Hash digest
SHA256 3143b3e0dcae276d761431f4c47f79c01d467946f3539b4421ab44f2beb32180
MD5 6a69bd4fbd7746c25257c0f3fc51d63e
BLAKE2b-256 ec1a38f5ce95eb97fda2e94a3e908d2090620f9cfc42d78bc5b9bf22f65a6b81

See more details on using hashes here.

Provenance

The following attestation bundles were made for xinfomaniak-0.0.5.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.5-py3-none-any.whl.

File metadata

  • Download URL: xinfomaniak-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 121.3 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 e66037a676aab7fd0b3bd5bde411c1162d1179b8362c32f333817691875d3d54
MD5 77d1739df23b646838844677221f531d
BLAKE2b-256 35786201d6e69debf270255121fb7f30f3911b903c81cb99c8654f2a64c8cbb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for xinfomaniak-0.0.5-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