Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

aiSSEMBLE Open Inference Protocol (OIP) Client

Provides a modular Python library for standardized ML model inference, promoting interoperability across diverse runtimes and platforms. This client allows invocation of OIP endpoints in a more natural manner by ensuring that inference runtime details (like tensor-specific input/output structures) as not leaked from the model implementation into the client.

Features

Fluent Builder API

InferenceBuilder (abstract base class) offers a task-specific, chainable interface for configuring inference requests. Supports model selection, adapter/translator registration, custom parameters, and streaming responses. Extensible via subclasses implementing build_predictor() to produce a Predictor instance.

Task-Specific Inference

The client provides specialized builders for common ML tasks with natural, task-oriented APIs:

Object Detection

  • client.detect_object(model_name) - Returns ObjectDetectionBuilder
  • Fluent methods: .image(), .confidence(), .labels()
  • Returns ObjectDetectionResult with bounding boxes, labels, scores
  • Supports PIL images, numpy arrays, file paths, and bytes
  • Example:
    result = client.detect_object("yolov8") \
        .image("photo.jpg") \
        .confidence(0.6) \
        .run()
    for detection in result.detections:
        print(f"{detection.label}: {detection.confidence}")
    

Text Summarization

  • client.summarize(model_name) - Returns SummarizationBuilder
  • Fluent methods: .text(), .max_length(), .min_length()
  • Returns SummarizationResult with summary text and compression metrics
  • Example:
    result = client.summarize("bart-large") \
        .text("Very long article text here...") \
        .max_length(100) \
        .run()
    print(result.summary)
    print(f"Compressed {result.compression_ratio:.1f}x")
    

Raw Inference Support

RawInferenceBuilder provides a low-level, non-fluent API for direct tensor inputs and parameters, ideal for custom or performance-critical scenarios.

Streaming Capable

Builders support iterable responses for continuous inference outputs.

Metadata

Release files for aissemble-oip-core 1.5.0rc2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for aissemble-oip-core 1.5.0rc2
File Size Uploaded Provenance Actions
aissemble_oip_core-1.5.0rc2.tar.gz 252.4 kB Without provenance Details for aissemble_oip_core-1.5.0rc2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aissemble-oip-core 1.5.0rc2
File Interpreter ABI Platform Actions
aissemble_oip_core-1.5.0rc2-py3-none-any.whl Python 3 none any Details for aissemble_oip_core-1.5.0rc2-py3-none-any.whl

Total release size: 293.3 kB

Release files / aissemble_oip_core-1.5.0rc2.tar.gz

Download URL aissemble_oip_core-1.5.0rc2.tar.gz
Size 252.4 kB
Tags Source
SHA-256 checksum
How to use checksums
db369094fb6da5006bf7894113ecaa6ee5dc9cc473de1bfcb866525b594a640f
BLAKE2b-256 checksum
How to use checksums
74d49284c8f55ac0918ec840ae01208b7a17e411f670144d0cdc63697c227b95
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aissemble_oip_core-1.5.0rc2-py3-none-any.whl

Download URL aissemble_oip_core-1.5.0rc2-py3-none-any.whl
Size 40.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2f3bedcf4b6d1a82f7364f64bbdc60c3c7b55d0d533067bac54a68ac11a0e24f
BLAKE2b-256 checksum
How to use checksums
d5b695fd7f6dac067c91f20afcaa6da4095586ba7b1daec86ebe9b63a344a811
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for aissemble-oip-core 1.5.0rc2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page