{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Sorts large CSV files on disk using a merge-sort algorithm that breaks files into memory-manageable chunks, sorts them, and merges the results\u2014useful when the entire file cannot fit in RAM.","skillfed_tags":["csv-processing","external-sort","data-tools"],"use_cases":["Sort a multi-gigabyte CSV export from a database without exhausting available memory.","Organize log files or data dumps by timestamp or ID columns before downstream processing.","Prepare large datasets for merge operations or deduplication that require sorted input.","Sort TSV or other delimiter-separated files using the same merge-sort strategy."],"what_it_does":"csvsort is a utility for sorting CSV files that exceed available memory. It implements an external merge-sort algorithm: the original file is split into smaller chunks that fit in memory, each chunk is sorted independently, and then the sorted chunks are merged back together. The package supports custom delimiters (for TSV and other formats), column selection, header detection, and CSV quoting options.\n\nThe tool is designed for a specific, narrow use case: when you have a large CSV file on disk and need to sort it without loading the entire file into RAM. It has no runtime dependencies and is straightforward to use via a single function call. However, the package is aging\u2014last released in 2020 with minimal recent activity\u2014and Python version support is undocumented, creating uncertainty about compatibility with current Python releases.","worth_installing":"Yes, if you have a specific need to sort a CSV file too large for memory and can tolerate the aging codebase. The package is simple, has no dependencies, and solves a narrow problem well. However, verify Python version compatibility before relying on it in production, and consider whether a database or streaming tool might be more appropriate for your workflow. The LGPL license is permissive for internal use but requires disclosure if you modify and distribute the library."},"id":"csvsort","links":{"html":"https://skillfed.io/packages/csvsort","md":"https://skillfed.io/packages/csvsort.md","pypi":"https://pypi.org/project/csvsort/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2020-06-17","license_spdx":null,"license_treatment":"copyleft","name":"csvsort","python_support":"unspecified","summary":"Sort large CSV files on disk rather than in memory"},"popularity":{"monthly_downloads":120586,"position":12017,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.6.1"}
