https://github.com/arturoeanton/rust-joiner-xls
https://github.com/arturoeanton/rust-joiner-xls
excel excel-export excel-import excel-rust rust-excel xlsx xlsx-files xlsxreader xlsxwriter
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/arturoeanton/rust-joiner-xls
- Owner: arturoeanton
- License: apache-2.0
- Created: 2021-07-27T21:33:30.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-07-26T02:06:54.000Z (about 3 years ago)
- Last Synced: 2025-04-07T20:21:30.670Z (7 months ago)
- Topics: excel, excel-export, excel-import, excel-rust, rust-excel, xlsx, xlsx-files, xlsxreader, xlsxwriter
- Language: Rust
- Homepage:
- Size: 120 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Rust xlsx joiner
Xlsx joiner is a rust application to join two different xlsx sheets by a particular field.
Those sheets can be in separate files or in one file.
## Installation
* Xlsx joiner requires Rust to run.
## Usage
* Help command
```rust
cargo run -- -helpUSAGE:
rust-joiner-xls [FLAGS] [OPTIONS] --field_match1 --field_match2 --fields_output --file1 --file_out --sheet1FLAGS:
-d, --distinct Distinct
-h, --help Prints help information
-V, --version Prints version informationOPTIONS:
-x, --field_match1 Field Match 1
-y, --field_match2 Field Match 2
-O, --fields_output Fields Output
-1, --file1 File 1
-2, --file2 File 2
-o, --file_out File Out
-a, --sheet1 Sheet 1
-b, --sheet2 Sheet 2
-s, --sheet_out Sheet Out```
* Example
```rust
cargo run -- \
--file1 "./test_files/test_dup.xlsx" --file_out "./out_files/test_dup1.xlsx" --sheet1 "Vista Qlik" --sheet2 "Spool (SISE)" \
--field_match1 numpol \
--field_match2 Poliza \
--fields_output "Poliza, Chasis, Zona Riesgo"
```## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.## License
Apache 2.0 License