Skip to main content

waylay-ml-adapter-numpy

This provides the ml_adapter.numpy module as Waylay ML Adapter for models that use numpy as data representation.

This waylay-ml-adapter-numpy module provides marshalling for (custom) models that use numpy as native data representation.

pip install waylay-ml-adapter-numpy

Exported classes

This module exports the following classes:

Classes exported by ml_adapter.numpy

The module ml_adapter.numpy exports the following classes

V1NumpyModelAdapter

ml_adapter.numpy.adapter.V1NumpyModelAdapter extending ml_adapter.base.adapter.ModelAdapterBase

Adapts a callable with numpy arrays as input and output.

Supports dill, joblib or selfserializing model assets.

V1NumpyMarshaller

ml_adapter.numpy.marshall.V1NumpyMarshaller extending ml_adapter.base.marshall.v1.base.V1ValueOrDictRequestMarshallerBase, ml_adapter.base.marshall.v1.base.V1ValueOrDictResponseMarshallerBase, ml_adapter.numpy.marshall.V1NumpyEncoding

Converts v1 payload from and to numpy arrays.

V1NumpyNoLoadAdapter

ml_adapter.numpy.adapter.V1NumpyNoLoadAdapter extending ml_adapter.numpy.adapter.V1NumpyModelAdapter

Adapts a callable with numpy arrays as input and output.

This adapter does not manage the model as a standard asset. Relies on the model or model_class constructor arguments to define the model. When model is not provided, any model_path is passed as a constructor argument to model_class if the signature allows it.

Metadata

Release files for waylay-ml-adapter-numpy 0.1.1

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

Source distribution (sdist)

Source distribution for waylay-ml-adapter-numpy 0.1.1
File Size Uploaded Provenance Actions
waylay_ml_adapter_numpy-0.1.1.tar.gz 4.9 kB Without provenance Details for waylay_ml_adapter_numpy-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for waylay-ml-adapter-numpy 0.1.1
File Interpreter ABI Platform Actions
waylay_ml_adapter_numpy-0.1.1-py3-none-any.whl Python 3 none any Details for waylay_ml_adapter_numpy-0.1.1-py3-none-any.whl

Total release size: 10.7 kB

Release files / waylay_ml_adapter_numpy-0.1.1.tar.gz

Download URL waylay_ml_adapter_numpy-0.1.1.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
50e04397dea861dfd706db33d07298ce3b2a12441439a96cedc0a0c516506fd5
BLAKE2b-256 checksum
How to use checksums
d39222cb9e077f8b7f9fc9dad675bcbd3cfd80e3f793ea8cc474b7973728a899
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Release files / waylay_ml_adapter_numpy-0.1.1-py3-none-any.whl

Download URL waylay_ml_adapter_numpy-0.1.1-py3-none-any.whl
Size 5.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c749cc8423f0d46e2f89f6059ae98124a1ef2e7cfe1e12683826eb94368e2be4
BLAKE2b-256 checksum
How to use checksums
dd0cd62d25219a3afd8efdd3e07a6c32fba94eead6e43b407b760e863c641d1c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.12

Security for waylay-ml-adapter-numpy 0.1.1

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.

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