Skip to main content

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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sas7bdat_cli-0.9.1-py3-none-win_amd64.whl (1.9 MB view details)

Uploaded Python 3Windows x86-64

sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_x86_64.whl (2.2 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

sas7bdat_cli-0.9.1-py3-none-macosx_11_0_arm64.whl (1.8 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

Details for the file sas7bdat_cli-0.9.1-py3-none-win_amd64.whl.

File metadata

  • Download URL: sas7bdat_cli-0.9.1-py3-none-win_amd64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for sas7bdat_cli-0.9.1-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 6c5536e98f953f3ea9a7364dc34bf588184d142b3c20960a12c4ba8b41cac252
MD5 376ba78a1fd455bd167d2b61930136f9
BLAKE2b-256 fd623ed82cf6ae5809f8a04f73f9f8a05e1a8a61960f7f2342424902a273edf9

See more details on using hashes here.

File details

Details for the file sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_x86_64.whl.

File metadata

  • Download URL: sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.2 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 58500d3e5fe0d3fed90087404be44bed2f93d61162711e892f0529f7712e918f
MD5 09e0c6b7f82d874e5968fb0dea0a80d3
BLAKE2b-256 9355e0fa5d937888f9482cc8228eaff8a788abcd9aa8fcda2519fc1d80808d93

See more details on using hashes here.

File details

Details for the file sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_aarch64.whl.

File metadata

  • Download URL: sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for sas7bdat_cli-0.9.1-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5e9a7d9cb646df9ea8dac78724fe23727e0baddd26c107c1bd9a98fc1a9e7313
MD5 83a75544b457a08fddb8bf402a9ed9a2
BLAKE2b-256 d841af386c74c254373ec31091d2a9c57769677dc8b4613159bdb1e2ccdeadaa

See more details on using hashes here.

File details

Details for the file sas7bdat_cli-0.9.1-py3-none-macosx_11_0_arm64.whl.

File metadata

  • Download URL: sas7bdat_cli-0.9.1-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.8 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}

File hashes

Hashes for sas7bdat_cli-0.9.1-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 f0941d9c1ad1b233e3a767165000717bd6849fcc19e35c9ce96de32bfcd0ed94
MD5 1db91d779f6de9917093775b625dab52
BLAKE2b-256 ab5c9ae5685f220d6ef6cf62a47ef86e9e3e5331d366d220ee4f8c6cea478270

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.3

4 files

0.9.2

4 files

This release

0.9.1 This release

4 files

0.9.0

4 files

0.8.0

4 files

0.7.1

4 files

0.7.0

4 files

0.6.0

4 files

0.5.0

4 files

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