sagemaker-schema-inference-artifacts
Open source library for Hugging Face Task Sample Inputs and Outputs
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-artifactsuv
uv add sagemaker-schema-inference-artifactspoetry
poetry add sagemaker-schema-inference-artifactsInstalling 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
Tags
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to…
permissive · top 100 on PyPI
huggingface-hubClient library and CLI tool for downloading,…
permissive · top 100 on PyPI
langchainLangChain provides a framework for building…
permissive · top 1,000 on PyPI
hf-xethf-xet provides chunk-based deduplication and…
permissive · top 1,000 on PyPI
tokenizersTokenizers converts raw text into token…
permissive · top 1,000 on PyPI
transformersTransformers provides a unified framework for…
permissive · top 1,000 on PyPI
sagemaker-inferenceProvides a model serving stack for deploying…
permissive · top 15,000 on PyPI
sagemaker-serveProvides model serving and deployment…
permissive · top 5,000 on PyPI
sagemaker-data-insightsComputes ML-relevant statistical summaries of…
unclear · top 15,000 on PyPI
sagemaker-trainTrains and deploys machine learning models on…
unclear · top 5,000 on PyPI
sagemakerSageMaker Python SDK is a library for training…
permissive · top 5,000 on PyPI
sagemaker-coresagemaker-core provides an object-oriented…
permissive · top 5,000 on PyPI
sagemaker-containersProvides tools to build Docker containers…
permissive · top 15,000 on PyPI
sagemaker-trainingIntegrates training scripts into Docker…
permissive · top 15,000 on PyPI
model-hosting-container-standardsProvides standardized FastAPI-based handlers…
permissive · top 5,000 on PyPI
sagemaker-feature-store-pyspark-3.1Connects Apache Spark DataFrames to Amazon…
permissive · top 15,000 on PyPI