Skip to content

API Reference

This section documents the public API of huwise-utils-py.

Huwise Automation API

This library wraps the Huwise Automation API. For detailed information about available endpoints, request/response schemas, and the underlying API capabilities, refer to the official API documentation.

Core Components

The library provides these main components:

Configuration

Dataset Operations

HTTP Clients

Bulk Operations

Utilities

Function-based API

  • Functions - Standalone functions for dataset operations

Import Examples

# Core components
from huwise_utils_py import HuwiseConfig, HuwiseDataset

# HTTP clients
from huwise_utils_py import HttpClient, AsyncHttpClient

# Bulk operations
from huwise_utils_py import (
    bulk_get_metadata,
    bulk_get_metadata_async,
    bulk_update_metadata,
    bulk_update_metadata_async,
)

# Utilities
from huwise_utils_py import validate_dataset_identifier, retry

# Logging
from huwise_utils_py import init_logger, get_logger

# Function-based API
from huwise_utils_py import get_dataset_title, set_dataset_title

Architecture

huwise_utils_py/
├── config.py       # HuwiseConfig
├── dataset.py      # HuwiseDataset
├── http.py         # HttpClient, AsyncHttpClient
├── bulk.py         # Bulk operations
├── logger.py       # Logging utilities
├── utils/          # Helpers
│   ├── validators.py
│   └── decorators.py
└── _legacy/        # Backwards-compatible API
    ├── getters.py
    └── setters.py