sas7bdat-cli 0.5.0__py3-none-win_amd64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
Binary file
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sas7bdat-cli
|
|
3
|
+
Version: 0.5.0
|
|
4
|
+
Classifier: Development Status :: 4 - Beta
|
|
5
|
+
Classifier: Environment :: Console
|
|
6
|
+
Classifier: Intended Audience :: Science/Research
|
|
7
|
+
Classifier: Programming Language :: Rust
|
|
8
|
+
Classifier: Topic :: Scientific/Engineering
|
|
9
|
+
Classifier: Topic :: Utilities
|
|
10
|
+
Summary: Fast command-line converter and inspector for SAS7BDAT files
|
|
11
|
+
Keywords: sas,sas7bdat,parquet,csv,cli,convert
|
|
12
|
+
License-Expression: MIT
|
|
13
|
+
Requires-Python: >=3.8
|
|
14
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
15
|
+
Project-URL: Homepage, https://github.com/tkragholm/sas7bdat-parser-rs
|
|
16
|
+
Project-URL: Issues, https://github.com/tkragholm/sas7bdat-parser-rs/issues
|
|
17
|
+
Project-URL: Repository, https://github.com/tkragholm/sas7bdat-parser-rs
|
|
18
|
+
|
|
19
|
+
# sas7bdat-cli
|
|
20
|
+
|
|
21
|
+
A fast command-line tool for reading, inspecting, and converting SAS7BDAT files —
|
|
22
|
+
the binary on-disk format produced by SAS. It is a self-contained Rust binary built on
|
|
23
|
+
the SIMD-accelerated [`sas7bdat`](https://crates.io/crates/sas7bdat) parser: no SAS
|
|
24
|
+
installation, no ReadStat, no C toolchain.
|
|
25
|
+
|
|
26
|
+
## Installation
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
pip install sas7bdat-cli
|
|
30
|
+
# or, without polluting an environment:
|
|
31
|
+
uv tool install sas7bdat-cli
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
The wheel ships a single executable, `sas7bdat`. It is a plain binary wheel
|
|
35
|
+
(`py3-none-<platform>`), so it has no Python version floor and pulls in no
|
|
36
|
+
dependencies — Python is only the delivery mechanism.
|
|
37
|
+
|
|
38
|
+
Rust users can install the same tool from source instead:
|
|
39
|
+
|
|
40
|
+
```sh
|
|
41
|
+
cargo install --git https://github.com/tkragholm/sas7bdat-parser-rs sas7bdat-cli
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Usage
|
|
45
|
+
|
|
46
|
+
```sh
|
|
47
|
+
sas7bdat info data.sas7bdat # columns, types, labels, and a sample
|
|
48
|
+
sas7bdat head data.sas7bdat # first rows as a table
|
|
49
|
+
sas7bdat convert data.sas7bdat # -> data.parquet (Zstd)
|
|
50
|
+
sas7bdat convert data.sas7bdat --out out.csv # format inferred from the extension
|
|
51
|
+
sas7bdat convert ./folder --out-dir out # whole tree, mirrored
|
|
52
|
+
sas7bdat completions zsh # shell completion script
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Run `sas7bdat <command> --help` for the full options of a command.
|
|
56
|
+
|
|
57
|
+
## Related packages
|
|
58
|
+
|
|
59
|
+
- **[`sas7bdat-polars`](https://pypi.org/project/sas7bdat-polars/)** — a Polars IO plugin
|
|
60
|
+
backed by the same parser, with lazy scans plus projection and predicate pushdown.
|
|
61
|
+
`pip install "sas7bdat-polars[cli]"` installs it together with this CLI.
|
|
62
|
+
- **[`sas7bdat`](https://crates.io/crates/sas7bdat)** — the underlying Rust crate.
|
|
63
|
+
|
|
64
|
+
## License
|
|
65
|
+
|
|
66
|
+
MIT. See the [repository](https://github.com/tkragholm/sas7bdat-parser-rs) for
|
|
67
|
+
third-party notices and the SAS trademark note.
|
|
68
|
+
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
sas7bdat_cli-0.5.0.data/scripts/sas7bdat.exe,sha256=FKuCtEuUyxD5OwX9kjTW0EgE59tm9cCW6ypPYu_W4wI,5565440
|
|
2
|
+
sas7bdat_cli-0.5.0.dist-info/METADATA,sha256=5ZITlaFPTkY5J0YLogVDAvBJptchzi0EzMf_XEkk4ec,2604
|
|
3
|
+
sas7bdat_cli-0.5.0.dist-info/WHEEL,sha256=2zDlIYIdD4m4N3p5DVEG3iJhGLdhsBQgdH-FqVkAur8,94
|
|
4
|
+
sas7bdat_cli-0.5.0.dist-info/sboms/sas7bdat-cli.cyclonedx.json,sha256=GUOnIKcTva5DSQ872EChukDSx8eeDv7nSMRHYQ1ChsY,143723
|
|
5
|
+
sas7bdat_cli-0.5.0.dist-info/RECORD,,
|