Arff-format-converter

Latest version: v1.1.1

Safety actively analyzes 723217 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.1.1

New Features:
1. **Parquet Format Support**:
- Added support for converting ARFF files to **Parquet** format. This is an efficient columnar storage format that is widely used for big data processing and analytics.
- You can now convert your ARFF files to Parquet with the following command:
bash
arff-format-converter -f data.arff -o output -fmt parquet


2. **Fast Mode**:
- Introduced a **--fast mode** (`-f` flag) for skipping validation checks during the conversion process. This mode is useful when you are confident in the correctness of the input and output paths, and you need a faster conversion.
- To enable fast mode, use:
bash
arff-format-converter -f data.arff -o output -fmt json --fast


Improvements:
- **Performance Optimization**:
- The codebase has been optimized to improve the speed of the conversion process, especially when dealing with large datasets. The **Parquet** and **ORC** format conversions benefit from these enhancements.

- **Error Handling**:
- Better error messages and handling for file reading, writing, and format conversion issues to ensure smoother user experience.

Fixed:
- **Bug Fixes**:
- Fixed issues with certain edge cases during conversion between ARFF and CSV formats, ensuring compatibility with various ARFF files.

Documentation Updates:
- Updated the README file with examples for the new **Parquet** format and **fast mode** feature.
- Improved CLI usage instructions for easier understanding.

---

Installation:

To upgrade to the latest version, run:

bash
pip install --upgrade arff-format-converter

1.0.4

FIXED ERROR AND SPEED UP OUTPUT PROCESS

**Full Changelog**: https://github.com/Shani-Sinojiya/arff-format-converter/compare/v1.0.3...v1.0.4

1.0.4b0

**Full Changelog**: https://github.com/Shani-Sinojiya/arff-format-converter/compare/v1.0.3...v1.0.4b0

1.0.3

SYNOPSIS

bash
arff-format-converter -f <file> -o <output_folder> -fmt <output_format>


EXAMPLES

bash
arff-format-converter -f data.arff -o output -fmt json
arff-format-converter -f data.arff -o output -fmt xml
arff-format-converter -f data.arff -o output -fmt csv
arff-format-converter -f data.arff -o output -fmt xlsx
arff-format-converter -f data.arff -o output -fmt orc


OPTIONS

- `-f, --file` Path to the ARFF file.
- `-o, --output` Path to the output folder.
- `-fmt, --format` Output format: 'xml', 'json', 'csv', 'xlsx', 'orc'.

SUPPORTED FORMATS

- **ARFF** (input)
- **XML** (output)
- **JSON** (output)
- **CSV** (output)
- **XLSX** (output)
- **ORC** (Apache ORC format) (output)

AUTHOR

Written by [Shani Sinojiya](https://www.shanisinojiya.com).

REPORTING BUGS:

Report bugs to [issue section](https://github.com/Shani-Sinojiya/arff-format-converter/issues)

**_Remember to replace `"data.arff"` with the actual path to your ARFF file and `"output"` with the desired output folder. Feel free to adapt this code snippet for other formats like XML, CSV, XLSX, or ORC as needed! 🚀_**

Buy me a coffee ☕️

If you like my work, feel free to support it by buying me a coffee.

<a href="https://www.buymeacoffee.com/shanisinojiya" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-blue.png" alt="Buy Me A Coffee" style="height: 50px !important;width: 217px !important;" ></a>

Links

Releases

Has known vulnerabilities

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.