An open API service indexing awesome lists of open source software.

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

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 -- -help

USAGE:
rust-joiner-xls [FLAGS] [OPTIONS] --field_match1 --field_match2 --fields_output --file1 --file_out --sheet1

FLAGS:
-d, --distinct Distinct
-h, --help Prints help information
-V, --version Prints version information

OPTIONS:
-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