Skip to main content

sas7bdat-cli

A command-line tool for inspecting SAS7BDAT files, the binary format written by SAS, and converting them to Parquet, CSV or TSV. It is a single Rust binary built on the sas7bdat reader, and needs no SAS installation or C library.

Installation

pip install sas7bdat-cli
# or, as an isolated tool:
uv tool install sas7bdat-cli

Wheels are built for Linux (x86-64 and ARM64), Windows (x86-64) and macOS (Apple Silicon). On x86-64 the binary needs a CPU with AVX2: Intel Haswell (2013) or AMD Excavator (2015) and later.

The wheel ships a single executable, sas7bdat. It is a plain binary wheel (py3-none-<platform>), so it works with any Python version and has no dependencies; pip is only the way it is delivered.

Rust users can install the same tool from source instead:

cargo install --git https://github.com/tkragholm/sas7bdat-parser-rs sas7bdat-cli

Usage

sas7bdat info data.sas7bdat        # columns, types, labels, and a sample
sas7bdat head data.sas7bdat        # first rows as a table
sas7bdat convert data.sas7bdat     # -> data.parquet (Zstd)
sas7bdat convert data.sas7bdat --out out.csv        # format inferred from the extension
sas7bdat convert ./folder --out-dir out             # whole tree, mirrored
sas7bdat completions zsh           # shell completion script

Run sas7bdat <command> --help for the full options of a command.

  • sas7bdat-polars: a Polars plugin built on the same reader, with lazy scans and projection pushdown. pip install "sas7bdat-polars[cli]" installs it together with this CLI.
  • sas7bdat: the Rust crate.

License

MIT. See the repository for third-party notices and the SAS trademark note.

Metadata

Release files for sas7bdat-cli 0.9.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for sas7bdat-cli 0.9.8
File Actions
sas7bdat_cli-0.9.8-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for sas7bdat_cli-0.9.8-py3-none-win_amd64.whl
sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_x86_64.whl
sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_aarch64.whl
sas7bdat_cli-0.9.8-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for sas7bdat_cli-0.9.8-py3-none-macosx_11_0_arm64.whl

Total release size: 9.4 MB

Release files / sas7bdat_cli-0.9.8-py3-none-win_amd64.whl

Download URL sas7bdat_cli-0.9.8-py3-none-win_amd64.whl
Size 2.3 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
eeee1d4f2d01d4d8b2d9c5434e3f7576d19c1675d379f637b1be5aaf2dd17863
BLAKE2b-256 checksum
How to use checksums
34666f575ead01e774dcdffc6c2bf2829e54bee5cc6590547e7985baaedeba91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_x86_64.whl

Download URL sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_x86_64.whl
Size 2.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
b08ded8e8dd3463bc9f14efe80c60fdc3405a299d73064bbd82c2fb5e7713bcb
BLAKE2b-256 checksum
How to use checksums
91104ce1e7d735a0b68bf1404cbd436a07df9340d1c34baf680b68f9d387617e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_aarch64.whl

Download URL sas7bdat_cli-0.9.8-py3-none-manylinux_2_28_aarch64.whl
Size 2.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fd5ed5f69841bb46bd9b6a20bbd3d2dc06ebd7c5c528740f603008227563a085
BLAKE2b-256 checksum
How to use checksums
27f3eb34a93f2965f3a18a6168f75514140d4ee4ae7437385c89ea00ffe2f704
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / sas7bdat_cli-0.9.8-py3-none-macosx_11_0_arm64.whl

Download URL sas7bdat_cli-0.9.8-py3-none-macosx_11_0_arm64.whl
Size 2.1 MB
Tags Python 3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9e42adb88f7bf88828bbe2d6549dfea3df21a8355f4d0146b09740372b6c9252
BLAKE2b-256 checksum
How to use checksums
9a166b4453d68f85f6cdbfae115e44375a4da081fd5a8cf0e34c176c05c69de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for sas7bdat-cli 0.9.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page