--- id: liac-arff version: "2.5.0" license: MIT License license_treatment: permissive maintenance: abandoned --- # liac-arff — A module for read and write ARFF files in Python. License: permissive · Maintenance: abandoned · Downloads: 80.9K/mo ## What it is and what it does liac-arff is a lightweight parser for ARFF files, the standard dataset format used by Weka and other machine learning tools. It provides a json-like interface to read ARFF files into Python dictionaries and lists, and to serialize Python data structures back to ARFF format. The module handles NUMERIC, REAL, INTEGER, STRING, and NOMINAL attribute types, supports missing values and unicode, and can work with scipy sparse matrices and SVMLight-style dictionary lists. The package has no external runtime dependencies and works across Python 2.7 and Python 3.5+. However, it has been abandoned since 2020 with no recent maintenance, which means it may face compatibility issues with future Python releases or ecosystem changes. It remains in production-stable status and is still downloaded regularly, but users should be aware of the maintenance gap when considering it for new projects. Use it for: - Loading ARFF datasets from Weka experiments into Python for analysis or preprocessing. - Converting machine learning datasets between ARFF and Python native structures for interoperability. - Serializing experimental data to ARFF format for use in Weka or other ML tools. - Batch processing of ARFF files in data pipelines that do not require active maintenance. - Reading historical datasets stored in ARFF format in academic or research archives. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Reads and writes ARFF (Attribute-Relation File Format) files, a standard format for machine learning datasets, converting them to and from Python dictionaries and lists. Yes, but with caution. The package is stable and dependency-free for reading/writing ARFF files, and it has no known vulnerabilities. However, its abandoned status since 2020 makes it risky for new projects—install only if you need ARFF support for legacy datasets or existing workflows, and consider monitoring for compatibility issues as Python evolves. For new machine learning projects, evaluate whether a maintained alternative or direct pandas/numpy workflows would be more sustainable. ## Install pip install liac-arff uv add liac-arff poetry add liac-arff ## Installing liac-arff Before you install: High install friction: the package has been abandoned since 2020 (2174 days since last release) with no active maintenance. While it has no runtime dependencies, the lack of updates and maintenance attention poses a risk for long-term compatibility with newer Python versions or dependency ecosystems. License in practice: MIT License permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and proprietary projects. Quickstart: import arff # Read an ARFF file data = arff.load(open('dataset.arff', 'rb')) # Write an ARFF file with open('output.arff', 'w') as f: f.write(arff.dumps(data)) Verify before relying: - Whether the package remains compatible with Python versions beyond 3.8 given its abandoned maintenance status. - Whether scipy.sparse integration (mentioned in description) is fully functional or requires additional setup. - Current state of the repository and whether any community forks maintain active development. ## Package facts - License: MIT License (permissive) - Python support: supports_current - Install friction: high - Maintenance: abandoned - Downloads: 80.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags arff file parser, weka dataset format, machine learning data format, arff reader writer, attribute relation file format, dataset serialization, ml dataset io, data-format, machine-learning, abandoned [View on SkillFed](https://skillfed.io/packages/liac-arff) · [View on PyPI](https://pypi.org/project/liac-arff/)