skillfed

sagemaker-core

An python package for sagemaker core functionalities

sagemaker-core v2.19.0 8.3M downloads/30d#1,633 on PyPI2,259
Permissive license Active released

What it is and what it does

sagemaker-core is a Python SDK that wraps Amazon SageMaker's APIs in an object-oriented interface, released in 2024 and actively maintained. It replaces low-level API calls with dedicated resource classes, type hints, and intelligent defaults, allowing developers to chain SageMaker resources together and focus on model building rather than infrastructure plumbing. The package depends on boto3 for AWS communication, pydantic for validation, and a suite of data science libraries (pandas, numpy, scipy) for model work.

The SDK abstracts state management and polling logic, handles resource transitions automatically, and provides IDE auto-completion. It targets Python 3.10 or later and carries 24 runtime dependencies. The package is in Alpha status, meaning its API may still evolve, but it has no known security vulnerabilities and is actively developed.

Use it for:

  • Build SageMaker training pipelines using object-oriented resource chaining instead of manual API calls.
  • Deploy ML models to SageMaker endpoints with type-safe, IDE-assisted code and intelligent defaults.
  • Manage SageMaker notebooks, processing jobs, and feature stores programmatically with less boilerplate.
  • Migrate from lower-level boto3 calls to a higher-level, more maintainable SDK interface.
  • Prototype ML workflows quickly using auto-completion and comprehensive type hints in your IDE.

Worth the install?

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

sagemaker-core provides an object-oriented Python interface to Amazon SageMaker resources with full API parity, resource chaining, and type hints for building and deploying machine learning models.

Yes, with conditions. Install if you are building on AWS SageMaker and want a higher-level, type-safe interface over raw boto3 calls. The active maintenance, permissive license, and zero known vulnerabilities are strong signals. However, the Alpha status means the API may change; pin a version and monitor releases. The 24 dependencies are all reputable, but verify they fit your environment constraints before committing to production.

Install

sagemaker-core on PyPI

pip

pip install sagemaker-core

uv

uv add sagemaker-core

poetry

poetry add sagemaker-core

Installing sagemaker-core

Before you install

Low friction install with a pure-wheel distribution. Active maintenance as of 4 days ago with recent commits and 2259 repository stars. Requires Python 3.10 or later. Pulls in 24 runtime dependencies including boto3, pydantic, and scientific libraries; all are widely-used packages with established track records.

License in practice

Licensed under Apache 2.0 (permissive). No restrictions on commercial use, modification, or distribution; suitable for proprietary projects provided you include the license notice.

Quickstart

pip install sagemaker-core

import sagemaker_core
from sagemaker_core import SageMakerSession

session = SageMakerSession()

Requires Python 3.10 or later; requires AWS credentials configured in your environment.

Verify before relying

  • Whether resource chaining works seamlessly across all SageMaker resource types or has documented limitations.
  • Performance characteristics when managing large numbers of resources or long-running training jobs.
  • Stability guarantees given the 'Alpha' development status and recent first release (2024-07-18).

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction low — pure-Python wheel
Runtime dependencies 24 — boto3, pydantic, PyYAML, jsonschema, platformdirs, rich, mock, importlib-metadata, typing_extensions, pytz, requests, attrs, packaging, protobuf, pandas, numpy, smdebug_rulesconfig, schema, omegaconf, scipy, cloudpickle, paramiko, tblib, cryptography
Maintenance actively maintained — 4 days since the last release
Last repo commit
First released
Downloads 8,323,113/month — #1,633 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: sagemaker_core-2.19.0-py3-none-any.whl

Development Status :: 3 - AlphaIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Tags

sagemaker python sdkaws machine learning apisagemaker resource managementml model deployment awssagemaker workflow automationobject-oriented sagemaker interfaceaws ml infrastructure code
aws-sagemakerml-infrastructureobject-oriented-api

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

SageMaker Python SDK is a library for training…

permissive · top 5,000 on PyPI

sagemaker-serve

Provides model serving and deployment…

permissive · top 5,000 on PyPI

sagemaker-train

Trains and deploys machine learning models on…

unclear · top 5,000 on PyPI

sagemaker-mlops

Provides high-level orchestration for Amazon…

permissive · top 5,000 on PyPI

sagemaker-training

Integrates training scripts into Docker…

permissive · top 15,000 on PyPI

sagemaker-schema-inference-artifacts

Provides pre-built schema inference artifacts…

permissive · top 5,000 on PyPI

sagemaker-data-insights

Computes ML-relevant statistical summaries of…

unclear · top 15,000 on PyPI

sagemaker-datawrangler

Provides a Python library for Amazon SageMaker…

unclear · top 15,000 on PyPI

sagemaker-feature-store-pyspark-3.1

Connects Apache Spark DataFrames to Amazon…

permissive · top 15,000 on PyPI

sagemaker-studio

A Python SDK for accessing Amazon SageMaker…

permissive · top 5,000 on PyPI