atamya-client (0.1.0)

Published 2026-07-23 07:17:05 +00:00 by claudi in HIM-public/atamya_client

Installation

pip install --index-url  atamya-client

About this package

Typed Python REST client for the Atamya Neo API (v2)

atamya_client

Typed Python REST client for the Atamya Neo API (v2).

Generated from the OpenAPI 3.0.3 specification. Uses pydantic>=2.0 for models and requests for HTTP transport. MIT license.

Quick Start

from atamya_client import AtamyaClient

# Configure from environment variables:
#   ATAMYA_BASE_URL (default: https://hoerl.internal.atamya.cloud/api/v2)
#   ATAMYA_API_KEY   or ATAMYA_TOKEN
client = AtamyaClient()

# List domains
domains = client.get_domains()
for d in domains.content:
    print(d.id, d.name)

# Get a single domain
domain = client.get_domain_by_id("bikes")
print(domain.id)

# Don't forget to close
client.close()

# Or use as a context manager:
with AtamyaClient() as c:
    bo_page = c.get_business_objects("bikes")
    for bo in bo_page.content:
        print(bo.id)

Installation

pip install atamya-client

Development

# Install dev dependencies
pip install -r requirements-dev.txt

# Run tests
pytest --cov=atamya_client

# Type check
mypy src/atamya_client

# Format
black src/ tests/
ruff check src/ tests/

# Build wheel
python build_wheel.py

Regenerate

If the openapi.json specification changes, re-run the generator to keep models and client methods in sync.

Requirements

Requires Python: >=3.10
Details
PyPI
2026-07-23 07:17:05 +00:00
1
Atamya Client Contributors
20 KiB
Assets (1)
Versions (1) View all
0.1.0 2026-07-23