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.6

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.6
File Actions
sas7bdat_cli-0.9.6-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for sas7bdat_cli-0.9.6-py3-none-win_amd64.whl
sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_x86_64.whl
sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_aarch64.whl
sas7bdat_cli-0.9.6-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for sas7bdat_cli-0.9.6-py3-none-macosx_11_0_arm64.whl

Total release size: 9.2 MB

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

Download URL sas7bdat_cli-0.9.6-py3-none-win_amd64.whl
Size 2.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
37b9b1d425fab3a854f23dba4a86c0738e078320544b3105ed10d03dea9acffe
BLAKE2b-256 checksum
How to use checksums
5024f2f89e8e76f66cfef828a15fb7efaca39e951a1ffb316e399bf9e1542644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.6-py3-none-manylinux_2_28_x86_64.whl

Download URL sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_x86_64.whl
Size 2.5 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
8c3b8570ff06b14af99ba68b3a84486e1c8817102ef157cc4c655a520bc4adff
BLAKE2b-256 checksum
How to use checksums
a20580dd448099e21fbb20b0cd87b69ebfb48d1d36327ed241bba0c7d714b4eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.6-py3-none-manylinux_2_28_aarch64.whl

Download URL sas7bdat_cli-0.9.6-py3-none-manylinux_2_28_aarch64.whl
Size 2.3 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
43e8201633e949d387208b823356aa6b6f6c2ce5e634188ce1fc2b1365338579
BLAKE2b-256 checksum
How to use checksums
bc679bbf8729b3da1b721c86cf9781828cd2343a229a36a3691e715046874123
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.6-py3-none-macosx_11_0_arm64.whl

Download URL sas7bdat_cli-0.9.6-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
01747641002d3c3db30a5fcfb82b27bf14274fb7bfc02bdb12dce194b493f945
BLAKE2b-256 checksum
How to use checksums
6e1eb99663ae1f8ba56f988fec1210d35d5ec3784e16d90b71a97434f238ea47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.8 {"installer":{"name":"uv","version":"0.13.8","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.6

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