Python CLI for TPC-H data generator
Project description
TPC-H Data Generator CLI
See the main README.md for full documentation.
Installation
Install Using Python
Install this tool with Python:
pip install tpchgen-cli
Install Using Rust
Install Rust and this tool:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
cargo install tpchgen-cli
CLI Usage
We tried to make the tpchgen-cli experience as close to dbgen as possible for no other
reason than maybe make it easier for you to have a drop-in replacement.
$ tpchgen-cli -h
TPC-H Data Generator
Usage: tpchgen-cli [OPTIONS]
Options:
-s, --scale-factor <SCALE_FACTOR>
Scale factor to address (default: 1) [default: 1]
-o, --output-dir <OUTPUT_DIR>
Output directory for generated files (default: current directory) [default: .]
-T, --tables <TABLES>
Which tables to generate (default: all) [possible values: region, nation, supplier, customer, part, partsupp, orders, lineitem]
-p, --parts <PARTS>
Number of parts to generate (manual parallel generation) [default: 1]
--part <PART>
Which part to generate (1-based, only relevant if parts > 1) [default: 1]
-f, --format <FORMAT>
Output format: tbl, csv, parquet (default: tbl) [default: tbl] [possible values: tbl, csv, parquet]
-n, --num-threads <NUM_THREADS>
The number of threads for parallel generation, defaults to the number of CPUs [default: 8]
-c, --parquet-compression <PARQUET_COMPRESSION>
Parquet block compression format. Default is SNAPPY [default: SNAPPY]
-v, --verbose
Verbose output (default: false)
--stdout
Write the output to stdout instead of a file
-h, --help
Print help (see more with '--help')
For example generating a dataset with a scale factor of 1 (1GB) can be done like this:
$ tpchgen-cli -s 1 --output-dir=/tmp/tpch
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tpchgen_cli-1.0.0.tar.gz.
File metadata
- Download URL: tpchgen_cli-1.0.0.tar.gz
- Upload date:
- Size: 3.3 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e8b3776bd6f5a2a29d36e87873a77566829af0e84ae4c7dca70bccd53d18f59c
|
|
| MD5 |
44314ebc3489eb02e40b7e141960289e
|
|
| BLAKE2b-256 |
e407a7e83f54e323612a96ae3a1ee868c149dbcd2fecba9a23e13ac7d0a565dc
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-win_amd64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-win_amd64.whl
- Upload date:
- Size: 4.7 MB
- Tags: Python 3, Windows x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eae9454712cd65ac791cda03bac48cd7960766a40c6c1fd84c59d28b7412d6b6
|
|
| MD5 |
2f1c6ee00f3f7f938a2359d50c718dfc
|
|
| BLAKE2b-256 |
61ac2c0bd34d5a42d48e05d7624fca40f4e33e9f891e351fa58ce5093e376fe5
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-win32.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-win32.whl
- Upload date:
- Size: 4.2 MB
- Tags: Python 3, Windows x86
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e98286c11c8acee35b9965f2a79ead56d414a99f4f1b3c33ff5fe876a1a01a7b
|
|
| MD5 |
0fc0f4fa6d2561880bfe024a8486e027
|
|
| BLAKE2b-256 |
22829c82eab2c662436c4b05fa04d3b1368d38996dd99651ed8bc2d2fd8365fa
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69120905d388fcdc79a69afe0c3b30ad9a37114ac82064d9f81839343bf06a06
|
|
| MD5 |
e57e546f6975df2d01c0391881253906
|
|
| BLAKE2b-256 |
4c786ef3e014228d8e5f4987f79e2cf32c0f381f3de9dd7c7528a0b3a3a4c309
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-musllinux_1_2_i686.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-musllinux_1_2_i686.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3, musllinux: musl 1.2+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d21fb5a1533358913d47a7be8b366ddeb9a46e01680773bb4ea0018c3fc6e668
|
|
| MD5 |
5a517967a4a5073b39d6bb70adfd0f3d
|
|
| BLAKE2b-256 |
6ebf5c11847b275b8d20b03ed50aa7195274b122f791dadc0a7bb60b7da3a8e5
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-musllinux_1_2_armv7l.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-musllinux_1_2_armv7l.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3, musllinux: musl 1.2+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0db08aa287bb70d2a1f164052c3650c39ab8debee9dd4e0e61d41f4e1a2e8414
|
|
| MD5 |
01bbde22df3ff88248f9813a1de64e75
|
|
| BLAKE2b-256 |
ec0a7bd70915b183c8b987b2e0f020e00123640cbb5f6da705dfb979da68721e
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 5.0 MB
- Tags: Python 3, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9aa598435f4fb3e4034ad128da7425bbc450f2d37e0daf2406fa8e46b9040915
|
|
| MD5 |
430cd71ac19e080de6804a3159ffa4e6
|
|
| BLAKE2b-256 |
f21812651a35961d79344b913b7e23d9ecb317f78e944e407ac5d6c7ad720257
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 5.4 MB
- Tags: Python 3, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e4cb035c4265f46789aedfbf66c5710e25cae358955c45005dfbae2ed7e3aa96
|
|
| MD5 |
4cbc2e63fa2c5d3f82d1bfb5fa85814b
|
|
| BLAKE2b-256 |
f661758c1ab7de5858081d9542cf910d9623a94121633c37c37182e54fd64ab8
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_s390x.manylinux2014_s390x.whl
- Upload date:
- Size: 5.9 MB
- Tags: Python 3, manylinux: glibc 2.17+ s390x
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8448a887714d43636203cdc4c29aeb0401e5c5c903cb8284d8f19229df7698c3
|
|
| MD5 |
c78428a43fed6bb72b1b081fd05f5f8f
|
|
| BLAKE2b-256 |
5ed370f279c20d0c2bc07c5eea5b86ab4652ca6c7a4e47025ead04569d4e2f0c
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
- Upload date:
- Size: 5.5 MB
- Tags: Python 3, manylinux: glibc 2.17+ ppc64le
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
83e3c89eca2a9b516209cbd2b9a909e928e5164e9134aac831669ac7ad3afe56
|
|
| MD5 |
eff3f69b271ed35971643a3d54b7e091
|
|
| BLAKE2b-256 |
8660cddd8dfd3222c78207c83c2e087b51ef4418df1d1b9dd79c52bd01b5f66c
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl
- Upload date:
- Size: 5.6 MB
- Tags: Python 3, manylinux: glibc 2.17+ i686
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd20b2528a4e71548d270b7d124e04bdbeed39ebbf6a141ef8a5512f6fc99f1a
|
|
| MD5 |
65536a0bc08ff3c4f0228bb3af839478
|
|
| BLAKE2b-256 |
9b5f34a380366d7141cf6ba0a35a1b3e76395524ea06ffe853d2a58c2189a099
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
- Upload date:
- Size: 5.2 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARMv7l
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a14aa7a34585482f9bfa418a7a9eb823b0e15e8b79a7065ec71f1fcb561f714e
|
|
| MD5 |
81f08a12b48556fea11a2ae215858815
|
|
| BLAKE2b-256 |
f5ed9d4137fb3d07ec10e9df952a7fa2d2f682d1e54fe81a015bd74b9ed4e3e7
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 5.1 MB
- Tags: Python 3, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee160915d267dcca215ed9816fbf025c51fa25084ec45ad0f2cc81ebe8119085
|
|
| MD5 |
b39a745cc66ae5bad519c8b8dcf90a1e
|
|
| BLAKE2b-256 |
44ce575e13471ee6d9c1ce9dce5c73f9256a5d50451746e67f4dac8eb917b99f
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-macosx_11_0_arm64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-macosx_11_0_arm64.whl
- Upload date:
- Size: 4.6 MB
- Tags: Python 3, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be70fb4cd147aa362fde127f7b4d0ccecbb79aad196f930816e4e7643bb52176
|
|
| MD5 |
270050b181e15bb366f6a5d38de07dea
|
|
| BLAKE2b-256 |
34a237eca488dbe35ee5d5507ab47748595180d4d07151e29facdbdc8f4f911f
|
File details
Details for the file tpchgen_cli-1.0.0-py3-none-macosx_10_12_x86_64.whl.
File metadata
- Download URL: tpchgen_cli-1.0.0-py3-none-macosx_10_12_x86_64.whl
- Upload date:
- Size: 5.0 MB
- Tags: Python 3, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? Yes
- Uploaded via: maturin/1.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4f0e07120178af310357b1d9bf3cc712f8b02e19fa05d5df5abfbe44825c8c3c
|
|
| MD5 |
356269d7daecff1b7dfd0c5d33e7f045
|
|
| BLAKE2b-256 |
f19f617a4dc637f0562ac75cc78825885236b942b3513238244b1d9891b9733a
|