Crates.io | cc2p |
lib.rs | cc2p |
version | 0.3.0 |
source | src |
created_at | 2024-03-21 10:02:01.168432 |
updated_at | 2024-11-14 18:42:47.408823 |
description | Convert a CSV to parquet file format |
homepage | https://rayyildiz.com/projects/cc2p |
repository | https://github.com/rayyildiz/cc2p |
max_upload_size | |
id | 1181437 |
size | 147,466 |
(CC2P) is a Rust-based project that converts CSV files in a selected folder into parquet format. This tool provides a simple and efficient way of handling and converting your CSV data files.
Provide instructions on how to build the project, for example, installing the Rust compiler and necessary crates.
Here is how to install the cc2p
directly from the Git repository:
cargo install cc2p
Provide Instructions on how to run the scripts. For example, how to specify the input CSV file and the output Parquet file.
cc2p [OPTIONS] /path/to/csv/file.csv
Options:
,
)false
)4
)100
)> cc2p --help
Convert a CSV to parquet file format
Usage: cc2p.exe [OPTIONS] [PATH]
Arguments:
[PATH] Represents the folder path for CSV search [default: *.csv]
Options:
-d, --delimiter <DELIMITER> Represents the delimiter used in CSV files [default: ,]
-n, --no-header Represents whether to include the header in the CSV search column
-w, --worker <WORKER> Number of worker threads to use for performing the task [default: 1]
-s, --sampling <SAMPLING> Number of rows to sample for inferring the schema. [default: 100]
-h, --help Print help
-V, --version Print version
If you wish to contribute, please feel free to fork the repository, make your changes, and submit a pull request. All contributions are welcome!
This project is licensed under MIT, see the LICENSE file for details.
Project Link: https://github.com/rayyildiz/cc2p