Skip to content

pbs-data-solutions/sas7bdat-converter-cli

Repository files navigation

sas7bdat Converter CLI

Tests Status pre-commit.ci status Coverage PyPI version PyPI - Python Version

CLI to convert sas7bdat and xport files into other formats

Installation

Installation with pipx is recommended.

pipx install sas7bdat-converter-cli

Alternatively sas7bdat Converter CLI can be installed with pip.

pip install sas7bdat-converter-cli

Usage

Usage: sas7bdat-converter [OPTIONS] COMMAND [ARGS]...

Options:
  -v, --version                   Show the installed version
  --install-completion [bash|zsh|fish|powershell|pwsh]
                                  Install completion for the specified shell.
  --show-completion [bash|zsh|fish|powershell|pwsh]
                                  Show completion for the specified shell, to
                                  copy it or customize the installation.
  --help                          Show this message and exit.

Commands:
  dir-to-csv      Convert a directory containing sas7bdat or xpt files to...
  dir-to-excel    Convert a directory of sas7bdat or xpt files to xlsx...
  dir-to-json     Convert a directory of sas7bdat or xpt files to json...
  dir-to-parquet  Convert a directory of sas7bdat or xpt files to parquet...
  dir-to-xml      Convert a directory of sas7bdat or xpt files to xml files.
  to-csv          Convert a sas7bdat or xpt file to a csv file.
  to-excel        Convert a sas7bdat or xpt file to a xlsx file.
  to-json         Convert a sas7bdat or xpt file to a JSON file.
  to-parquet      Convert a sas7bdat or xpt file to a parquet file.
  to-xml          Convert a sas7bdat or xpt file to a xml file.

Contributing

Contributions to this project are welcome. If you are interesting in contributing please see our contributing guide