WPS Interop For Python

SAS Language Modules

Use the Languages of SAS and Python Together

The WPS Interop for Python module supports the use of the Python language in your SAS programs. Sections of your program written in Python together with data will be processed automatically by your Python environment.

Why Interoperate?

Combining Python and SAS languages together creates a unified solution. Mix the high performance data handling and industrial analytics strengths of the SAS language with your favorite Python syntax and libraries. Data is easily exchanged and processed between the Python and SAS language within a single SAS program.

Python Procedure

The procedure allows you to inline or include Python syntax directly in a SAS program. When the SAS program is executed, WPS processes the SAS syntax itself and utilises your installed Python environment for the execution of the Python syntax.

The output and log information generated by the Python environment are automatically returned back to WPS and can be viewed seamlessly using the WPS Workbench GUI.

PROC PYTHON also provides a simple and efficient way to exchange data between the SAS and Python language environments using Pandas DataFrames.

Dependencies and Usage

WPS Interop for Python can be used on the supported platforms indicated in the table below.

Platform Supported?
AIX on IBM Power
Linux on ARM
Linux on IBM Power LE (Little Endian)
Linux on x86
macOS on x86
Windows on x86
z/OS on an architecture 7 machine

More Information

The documents listed below provide details about the supported language syntax.

Python Procedure Description
WPS-Python-Procedure-User-Guide-Syntax-Diagram.pdf (280 KB) User Guide and lookup for the language support in the WPS Interop for Python module (SYNTAX DIAGRAM version)

 

Other SAS language modules

WPS Core

Support for core language, macros, output and standard data file formats (datasets, sequential files, transport files)

WPS Graphing

Graphing and charting language support

WPS Statistics

Statistical analysis language support

WPS Time Series

Time Series analysis language support

WPS Matrix Programming

Language syntax for advanced matrix manipulation

WPS Machine Learning

Language support for machine learning algorithms

WPS Interop For R

Language of R support

WPS Interop For Python

Language of Python support

WPS Interop For Hadoop

Language support to interact with Hadoop big data environments

WPS Communicate

Programatically execute parts of a script on remote server installations of WPS and upload/download data to/from the remote servers

WPS Language SDK

Develop your own custom SAS language items

Have a question?

Get in touch with our sales team

Try or buy

Standard Edition
Academic Edition
Community Edition