sas7bdat-cli
A fast command-line tool for reading, inspecting, and converting SAS7BDAT files —
the binary on-disk format produced by SAS. It is a self-contained Rust binary built on
the SIMD-accelerated sas7bdat parser: no SAS
installation, no ReadStat, no C toolchain.
Installation
pip install sas7bdat-cli
# or, without polluting an environment:
uv tool install sas7bdat-cli
The wheel ships a single executable, sas7bdat. It is a plain binary wheel
(py3-none-<platform>), so it has no Python version floor and pulls in no
dependencies — Python is only the delivery mechanism.
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.
Related packages
sas7bdat-polars— a Polars IO plugin backed by the same parser, with lazy scans plus projection and predicate pushdown.pip install "sas7bdat-polars[cli]"installs it together with this CLI.sas7bdat— the underlying Rust crate.
License
MIT. See the repository for third-party notices and the SAS trademark note.
Metadata
Release files for sas7bdat-cli 0.9.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| sas7bdat_cli-0.9.4-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for sas7bdat_cli-0.9.4-py3-none-win_amd64.whl |
| sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_x86_64.whl |
| sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_aarch64.whl |
| sas7bdat_cli-0.9.4-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for sas7bdat_cli-0.9.4-py3-none-macosx_11_0_arm64.whl |
Total release size: 8.1 MB
Release files / sas7bdat_cli-0.9.4-py3-none-win_amd64.whl
| Download URL | sas7bdat_cli-0.9.4-py3-none-win_amd64.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
2850a97ff45d65644778f952c08cd9859f9e415ca5dc044ba26a620909bb686a
|
|
BLAKE2b-256 checksum How to use checksums |
b0ef3684447e26eccc3fa9ed8cf23b084e9ddad7c0016188d86439ed1e5b445c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.4-py3-none-manylinux_2_28_x86_64.whl
| Download URL | sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 2.3 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
602aa27a3ad76eb122b775c38cecaf7f3281eeae15717f8af4d074b7842fd88e
|
|
BLAKE2b-256 checksum How to use checksums |
895f68d89256846b63fd63437a1b804732d861efa3eae9bc39b06af14ff151ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.4-py3-none-manylinux_2_28_aarch64.whl
| Download URL | sas7bdat_cli-0.9.4-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 2.1 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
dbf02b51a1208b0051d1fa7e5b0f198a678eaf820f37fa2c9f670be338d30494
|
|
BLAKE2b-256 checksum How to use checksums |
bc1495efd3836c517b90d9204e2cd23b7fbea393ef7f92179856c121db509da5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.4-py3-none-macosx_11_0_arm64.whl
| Download URL | sas7bdat_cli-0.9.4-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
50aea4249b32016c4e5e2bd693dd0713618305b4def981d02bd19ced1db4160f
|
|
BLAKE2b-256 checksum How to use checksums |
5e1e78bc3c7171a21b2748d7c695e2b988fd3fdce6eb978abc40852a6fe84e22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.3 {"installer":{"name":"uv","version":"0.13.3","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","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.4
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.