skillfed

sagemaker-schema-inference-artifacts

Open source library for Hugging Face Task Sample Inputs and Outputs

sagemaker-schema-inference-artifacts v0.0.5 1.5M downloads/30d#3,863 on PyPI
Permissive license Apache License 2.0 DORMANT released

What it is and what it does

This package is an AWS-published library that bundles pre-defined schema inference artifacts and sample inputs/outputs, designed to work within SageMaker inference workflows. It provides structured metadata that describes how to format data for inference tasks, reducing the need to manually define schemas when deploying models on SageMaker.

The package depends only on json5 for parsing and is compatible with Python 3.8, 3.9, and 3.10. It is marked as production-stable but has not been updated in over two years, indicating it serves a narrow, stable use case rather than an actively evolving tool.

Use it for:

  • Set up inference schemas when deploying models to SageMaker without manually defining task input/output structures.
  • Reference task sample formats to ensure inference request payloads match expected schemas.
  • Integrate pre-validated schema artifacts into SageMaker pipelines to reduce schema definition boilerplate.
  • Build tooling that needs canonical input/output shapes for standard task types.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides pre-built schema inference artifacts and task sample inputs/outputs for Hugging Face models in SageMaker workflows.

Yes, if you are actively deploying models on SageMaker and need pre-built schema definitions. Low install friction and permissive license make it a low-risk addition. However, dormant maintenance status means you should verify that included schemas match your target versions before relying on it in production.

Install

sagemaker-schema-inference-artifacts on PyPI

pip

pip install sagemaker-schema-inference-artifacts

uv

uv add sagemaker-schema-inference-artifacts

poetry

poetry add sagemaker-schema-inference-artifacts

Installing sagemaker-schema-inference-artifacts

Before you install

Low friction install with a single lightweight dependency (json5). Package is dormant—last release was 858 days ago—so expect no active maintenance or bug fixes.

License in practice

Apache License 2.0 is permissive, allowing commercial and private use with minimal restrictions. You may use, modify, and distribute freely as long as you include the license notice.

Quickstart

pip install sagemaker-schema-inference-artifacts
import json5
# Load schema artifacts from the package

Requires Python 3.8 or later.

Verify before relying

  • What specific task types and model schemas are included in the artifacts.
  • Whether schema definitions remain compatible with current model versions.
  • How the package integrates with SageMaker's current inference pipeline tooling.

Package facts

License Apache License 2.0 (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 1 — json5
Maintenance dormant — 858 days since the last release
First released
Downloads 1,474,576/month — #3,863 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sagemaker_schema_inference_artifacts-0.0.5-py3-none-any.whl

Keywords: ML, Amazon, AWS, AI, Schema, Inference, Artifacts

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseNatural Language :: EnglishProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

sagemaker schema inferencehugging face task samplesml model schema artifactsaws sagemaker inferencetask input output schemasml schema definitionsinference artifact library
sagemakerhugging-faceml-schemas

More Artificial Intelligence packages

litellm

LiteLLM provides a unified Python interface to…

permissive · top 100 on PyPI

huggingface-hub

Client library and CLI tool for downloading,…

permissive · top 100 on PyPI

langchain

LangChain provides a framework for building…

permissive · top 1,000 on PyPI

hf-xet

hf-xet provides chunk-based deduplication and…

permissive · top 1,000 on PyPI

tokenizers

Tokenizers converts raw text into token…

permissive · top 1,000 on PyPI

transformers

Transformers provides a unified framework for…

permissive · top 1,000 on PyPI

sagemaker-inference

Provides a model serving stack for deploying…

permissive · top 15,000 on PyPI

sagemaker-serve

Provides model serving and deployment…

permissive · top 5,000 on PyPI

sagemaker-data-insights

Computes ML-relevant statistical summaries of…

unclear · top 15,000 on PyPI

sagemaker-train

Trains and deploys machine learning models on…

unclear · top 5,000 on PyPI

sagemaker

SageMaker Python SDK is a library for training…

permissive · top 5,000 on PyPI

sagemaker-core

sagemaker-core provides an object-oriented…

permissive · top 5,000 on PyPI

sagemaker-containers

Provides tools to build Docker containers…

permissive · top 15,000 on PyPI

sagemaker-training

Integrates training scripts into Docker…

permissive · top 15,000 on PyPI

model-hosting-container-standards

Provides standardized FastAPI-based handlers…

permissive · top 5,000 on PyPI

sagemaker-feature-store-pyspark-3.1

Connects Apache Spark DataFrames to Amazon…

permissive · top 15,000 on PyPI