Skip to main content

Owned Python SDK for the Intuned public APIs

Project description

intuned-client

Python SDK for the Intuned public APIs.

Install

pip install intuned-client

Quickstart

from intuned_client import IntunedClient
from intuned_client import models

with IntunedClient(
    api_key="your-intuned-api-key",
    workspace_id="123e4567-e89b-12d3-a456-426614174000",
) as client:
    response = client.projects.runs.start(
        project_name="my-project",
        body=models.RunStartRequestBody(
            api="my-awesome-api",
            parameters={"hello": "world"},
        ),
    )
    print(response.run_id)

Authentication

Pass your Intuned API key when creating the client:

from intuned_client import IntunedClient

client = IntunedClient(
    api_key="your-intuned-api-key",
    workspace_id="123e4567-e89b-12d3-a456-426614174000",
)

API shape

The client follows the API tag hierarchy:

  • client.projects.runs
  • client.projects.jobs
  • client.projects.jobs.runs
  • client.projects.auth_sessions
  • client.projects.auth_sessions.validate
  • client.projects.auth_sessions.create
  • client.projects.auth_sessions.update

Example:

job_runs = client.projects.jobs.runs.list(
    project_name="my-project",
    job_id="job-123",
)

Async usage

from intuned_client import AsyncIntunedClient

async def main() -> None:
    async with AsyncIntunedClient(
        api_key="your-intuned-api-key",
        workspace_id="123e4567-e89b-12d3-a456-426614174000",
    ) as client:
        result = await client.projects.runs.result(
            project_name="my-project",
            run_id="run-123",
        )
        print(result)

Error handling

The SDK raises typed exceptions from intuned_client.exceptions, including:

  • AuthenticationError
  • NotFoundError
  • ValidationError
  • ServerError
  • ApiError

Notes

  • The SDK uses httpx for transport.
  • Request and response models are built with pydantic.
  • Both sync and async clients support custom httpx client injection.

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

intuned_client-1.0.0rc1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

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

intuned_client-1.0.0rc1-py3-none-any.whl (18.9 kB view details)

Uploaded Python 3

File details

Details for the file intuned_client-1.0.0rc1.tar.gz.

File metadata

  • Download URL: intuned_client-1.0.0rc1.tar.gz
  • Upload date:
  • Size: 13.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for intuned_client-1.0.0rc1.tar.gz
Algorithm Hash digest
SHA256 06ab38bac99542b65609ed6a540c85541ffad48e5246e7e99e780b3009d7cb2a
MD5 4f21c761cef730348b38329f1bacc6da
BLAKE2b-256 468b8092ca28da9b988065c2628adb7d5db9c730aee2bb3d68be83bea8805fde

See more details on using hashes here.

File details

Details for the file intuned_client-1.0.0rc1-py3-none-any.whl.

File metadata

  • Download URL: intuned_client-1.0.0rc1-py3-none-any.whl
  • Upload date:
  • Size: 18.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.30 {"installer":{"name":"uv","version":"0.9.30","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for intuned_client-1.0.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 0a10cf06ee351a39cc89d9456a664842fd8649b8abc625302355c9c7b9b216f2
MD5 3eca29cfb527da8c0e5e339e1d81acda
BLAKE2b-256 40ba05e0ac10e822bd307e8158cb18510e64fe4e919e97633d99f3c56441617a

See more details on using hashes here.

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