saslib is an HTML report generator to lookup the metadata (or the head information) like PROC CONTENTS in SAS.

Installation

pip install saslib
saslib requires sas7bdat and jinjia2.

Usage

The module is very simple to use. For example, the SAS data sets under the SASHELP library could be viewed —
from saslib import PROCcontents

sasdata = PROCcontents('c:/Program Files/SASHome/SASFoundation/9.3/core/sashelp')
sasdata.show()


The resulting HTML file from the codes above will be like here.