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.3-py3-none-win_amd64.whl (2.0 MB view details)

Uploaded Python 3Windows x86-64

sas7bdat_cli-0.9.3-py3-none-manylinux_2_28_x86_64.whl (2.3 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

sas7bdat_cli-0.9.3-py3-none-manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

sas7bdat_cli-0.9.3-py3-none-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded Python 3macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.3-py3-none-win_amd64.whl
  • Upload date:
  • Size: 2.0 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.3-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 a82781696f83d29198703be34c2e311fdc834740414d8c47b64234db4108430a
MD5 b8780d5296d16ccf55847135d7260c89
BLAKE2b-256 9958a0be89908f5a84bdc1487393a6dbba5234cd69c09e1c9551b8d22660be49

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.3-py3-none-manylinux_2_28_x86_64.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3, manylinux: glibc 2.28+ x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.3-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1c5221cc076946c948610ee6b030dd519c60e4fd80385fef8cdc9e9b3f3c9522
MD5 a90247fc6bb1d59edc8034680da39e97
BLAKE2b-256 e8f116f1f94a5e0f091b165860fef93e5385d4d04890b2163088eeafd9d74fa2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.3-py3-none-manylinux_2_28_aarch64.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3, manylinux: glibc 2.28+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.3-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fba5710e6ddbc69703c947ec96e1831e6b0441b88e0e143470927934a75a8b64
MD5 4b37e6cc86d8712fc6c196a3585116d0
BLAKE2b-256 08aa89e6a363c165f41fca95ec003e53e5dfefe8186864212aa8e6b1d0b7556a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.3-py3-none-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 3, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.12.13 {"installer":{"name":"uv","version":"0.12.13","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.3-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 401c95998a2d5b5eb5440929b10ec82c9c08c02342f88e73fad32c13caee13b2
MD5 a24de4baee9a10ecd6c158849828a041
BLAKE2b-256 c428fff5f38457458c0c973b3e39070bad4d5cb13428f99a682c51334650d4d6

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.9.3 This release

4 files

0.9.2

4 files

0.9.1

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