Integrate SAS with Python

SAS integrates with Python through various code libraries and tools that allow open source developers to unite the Python language with the analytic power of SAS. Which package to use depends on your role, goal, system environment and so on.

These libraries allows you to:

  • Load, import and profile data using an integrated development environment (IDE) or REST APIs.
  • Cleanse, prepare and transform your data.
  • Use functions to manage and provide governance for data assets and their relationships.
Python Image

Python SAS Scripting Wrapper for Analytics Transfer (SWAT)

The SAS SWAT package allows users to execute CAS actions and process the results all from Python. Load and analyze data sets, execute workflows and actions, and use many Pandas features.

SASPy

The SASPy package provides interfaces between Python and SAS. This package enables a Python developer to create mixed Python/SAS workflows to leverage the powers of both SAS and Python.

Python sasctl

A user-friendly REST client for SAS Viya. The sasctl package is a SAS Viya REST client that enables easy communication between the SAS Viya platform and a Python runtime. It facilitates full model management lifecycle (build, register, publish, score)

SAS Viya Deep Learning API for Python (DLPy)

DLPy is a high-level Python library for the SAS Deep learning features available in SAS Viya. DLPy is designed to provide an efficient way to apply deep learning methods to image, text, and audio data.

Python tools for SAS Viya (pyviyatools)

The pyviyatools are a set of SAS Viya command-line (CLI) tools that call the SAS Viya REST APIs from Python.

SAS Optimization Python Interface (sasoptpy)

The sasoptpy package enables developers to quickly formulate and solve mathematical optimization problems by using native Python data structures.

SAS Viya Computer Vision API for Python (CVPy)

SAS Viya Computer Vision API for Python (CVPy) is a Python package that makes SAS image analytics accessible to Python users by providing APIs to assist with the processing, analyzing, and visualization of images.