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

Uploaded Python 3Windows x86-64

sas7bdat_cli-0.9.0-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.0-py3-none-manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

sas7bdat_cli-0.9.0-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.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: sas7bdat_cli-0.9.0-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.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.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 9e0a9cc22414d541448b8253afb259c9f17d3060d65c9092c76cd3fdfe54f10c
MD5 86e5f6637f8e512074cddb1f6f5b7a76
BLAKE2b-256 e47dcc1e0cf8a6bddc9e2824c40f516ac3556ef5dacfc2a4d7c98d41b1a4f610

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.0-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.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.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 109d2caf7f0a6b257e0c499082c25d47bb050cc5ad8c619f2f73f96a5f75293d
MD5 58fb09d914819ce26870d155921cda55
BLAKE2b-256 22fbd6f3b0daf29527ddd864ba15beab845c42e496397dbd916ed72f66c67099

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.0-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.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.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 634657c36b1384190bcc2cfd252a36d4f3db4b6f54659209bf25ddba74c1545e
MD5 0bfc04335c1ef66c65dfa91f007cdb20
BLAKE2b-256 42a6dd8a3f5ad0d7e10b499d12d5da9ea78bf737914f7eb269acf1a457b5d135

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sas7bdat_cli-0.9.0-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.0-py3-none-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 20f208a148cfb649c48241789d3f8b662823d863b2c7d6634b33bbebb4b52fc9
MD5 a3e04a9b3eb28a5cb4526325cbd2b35e
BLAKE2b-256 493bfc668b5564de24c49a5555be6b5124a074c0035a3e8d0b2d4f24f7cbf525

See more details on using hashes here.

Release history Release notifications | RSS feed

0.9.3

4 files

0.9.2

4 files

0.9.1

4 files

This release

0.9.0 This release

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