Metadata-Version: 2.4
Name: xinfomaniak
Version: 0.0.12
Summary: Python client library for the Infomaniak API with a minimal token-page helper CLI.
Author-email: LongLink SAGL <info@longlink.ch>
License-Expression: MIT
Project-URL: Homepage, https://github.com/XLongLink/infomaniak
Project-URL: Repository, https://github.com/XLongLink/infomaniak
Project-URL: Issues, https://github.com/XLongLink/infomaniak/issues
Keywords: infomaniak,sdk,library,python,api
Classifier: Development Status :: 4 - Beta
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: dacite>=1.9.2
Requires-Dist: httpx>=0.27.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0; extra == "dev"
Requires-Dist: pytest-cov; extra == "dev"
Requires-Dist: isort; extra == "dev"
Dynamic: license-file

<div align="center">

# Infomaniak Python SDK

[![PyPI version](https://img.shields.io/pypi/v/xinfomaniak)](https://pypi.org/project/xinfomaniak/)
[![Tests](https://github.com/XLongLink/infomaniak/actions/workflows/test.yml/badge.svg)](https://github.com/XLongLink/infomaniak/actions/workflows/test.yml)
[![Python versions](https://img.shields.io/pypi/pyversions/xinfomaniak)](https://pypi.org/project/xinfomaniak/)
[![License: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)

[Documentation](https://xlonglink.github.io/infomaniak/) &nbsp; - &nbsp; [Get the Token](https://manager.infomaniak.com/v3/infomaniak-api) &nbsp; - &nbsp; [API Reference](https://developer.infomaniak.com/)

</div>

<br />
<br />

> [!CAUTION]
> Currently in development.

```bash
pip install xinfomaniak
```

<br />

## 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.

<br />

## Usage

```python
from infomaniak import Client

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

### Async client example

```python
import asyncio
from infomaniak import AsyncClient

client = AsyncClient(token="your-token")
```


<br />

## Development

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