$npx skillfedfor your agent

clevercsv

A Python package for handling messy CSV files

Worth itPyPI Text ProcessingReleased May 2026461.1K downloads / moMITPlatform wheel

Decision gist · record as of 2026-08-14

platform wheels — clevercsv-0.8.5-cp310-cp310-macosx_10_9_universal2.whl · clevercsv-0.8.5-cp310-cp310-macosx_10_9_x86_64.whl · clevercsv-0.8.5-cp310-cp310-macosx_11_0_arm64.whl
v0.8.5 · released 2026-05-11 · Python >=3.9.0 · 3 runtime deps: chardet, regex, packaging

Yes. CleverCSV is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and solves a real problem—automatic dialect detection for messy CSV files. The package shows solid adoption with 1332 GitHub stars. Install friction is medium but manageable. It's worth installing if you regularly work with CSV files from untrusted or varied sources, or if you want to avoid manual dialect inspection.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Medium install friction due to compiled wheels across multiple Python versions and platforms.
  • Package is actively maintained with recent releases; last commit 2026-08-10, 1332 GitHub stars, and no known vulnerabilities.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute CleverCSV freely in commercial and private projects with minimal restrictions.

last release 2026-05-11 (95 days) · last repo commit 2026-08-10 · 1,332 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 461,088 downloads/mo, #6,535 on PyPI

Verify before relying

pip install clevercsv

import clevercsv

# Detect dialect and read as list of rows
rows = clevercsv.read_table('./messy.csv')

# Or use as drop-in for csv module
with open('./messy.csv', newline='') as f:
    dialect = clevercsv.Sniffer().sniff(f.read())
    f.seek(0)
    reader = clevercsv.reader(f, dialect)
  • Accuracy claim of 97% for dialect detection and 21% improvement on non-standard files—based on research paper but not independently verified in this fact sheet.
  • Performance characteristics (speed, memory usage) for large CSV files—not documented in the fact sheet.
  • Behavior when dialect detection fails or is ambiguous—fallback strategy not specified.
Same gist for agents: .md · .json

What it is and what it does

CleverCSV is a Python library that automatically detects the dialect (delimiter, quote character, escape character, etc.) of CSV files using pattern-based machine learning trained on real-world data. It wraps the standard library's csv module with improved dialect detection and adds convenience functions like read_table(), read_dataframe(), and read_dicts() that handle dialect and encoding detection automatically. The package also includes a command-line tool for detecting dialects, generating Python import code, and exploring CSV files interactively.

The core problem it solves is the brittleness of manual CSV parsing: the Python csv module's Sniffer often fails on non-standard or messy files because it has no way to distinguish between valid but unusual dialects. CleverCSV uses row-length patterns and inferred data types to make more robust decisions, achieving high accuracy even on files with inconsistent formatting, missing headers, or unusual delimiters.

Use it for

  • Automatically import a CSV file without manual dialect inspection or trial-and-error parameter tuning.
  • Batch-process a directory of CSV files with varying formats and detect each one's dialect programmatically.
  • Generate boilerplate Python code to import a messy CSV file, then integrate it into a data pipeline.
  • Use the command-line tool to standardize or explore a CSV file before loading it into a database or data analysis tool.
  • Handle CSV files from external sources where format is unknown or inconsistent.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

CleverCSV is actively maintained, has no known vulnerabilities, uses a permissive MIT license, and solves a real problem—automatic dialect detection for messy CSV files. The package shows solid adoption with 1332 GitHub stars. Install friction is medium but manageable. It's worth installing if you regularly work with CSV files from untrusted or varied sources, or if you want to avoid manual dialect inspection.

Install

clevercsv on PyPI

Before you install

Medium install friction due to compiled wheels across multiple Python versions and platforms. Package is actively maintained with recent releases; last commit 2026-08-10, 1332 GitHub stars, and no known vulnerabilities.

License in practice

MIT license is permissive; you may use, modify, and distribute CleverCSV freely in commercial and private projects with minimal restrictions.

Quickstart

pip install clevercsv

import clevercsv

# Detect dialect and read as list of rows
rows = clevercsv.read_table('./messy.csv')

# Or use as drop-in for csv module
with open('./messy.csv', newline='') as f:
    dialect = clevercsv.Sniffer().sniff(f.read())
    f.seek(0)
    reader = clevercsv.reader(f, dialect)

Verify before relying

  • Accuracy claim of 97% for dialect detection and 21% improvement on non-standard files—based on research paper but not independently verified in this fact sheet.
  • Performance characteristics (speed, memory usage) for large CSV files—not documented in the fact sheet.
  • Behavior when dialect detection fails or is ambiguous—fallback strategy not specified.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.9.0
Install frictionMedium. Platform-specific wheel
Runtime dependencies
3 packages
chardetregexpackaging
MaintenanceActively maintained 95 days since the last release
Last repo commit
First released
Downloads461,088 / month, #6,535 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: clevercsv-0.8.5-cp310-cp310-macosx_10_9_universal2.whl; clevercsv-0.8.5-cp310-cp310-macosx_10_9_x86_64.whl; clevercsv-0.8.5-cp310-cp310-macosx_11_0_arm64.whl; clevercsv-0.8.5-cp310-cp310-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; clevercsv-0.8.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; clevercsv-0.8.5-cp310-cp310-win_amd64.whl; clevercsv-0.8.5-cp311-cp311-macosx_10_9_universal2.whl; clevercsv-0.8.5-cp311-cp311-macosx_10_9_x86_64.whl; clevercsv-0.8.5-cp311-cp311-macosx_11_0_arm64.whl; clevercsv-0.8.5-cp311-cp311-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; clevercsv-0.8.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; clevercsv-0.8.5-cp311-cp311-win_amd64.whl; clevercsv-0.8.5-cp312-cp312-macosx_10_13_universal2.whl; clevercsv-0.8.5-cp312-cp312-macosx_10_13_x86_64.whl; clevercsv-0.8.5-cp312-cp312-macosx_11_0_arm64.whl; clevercsv-0.8.5-cp312-cp312-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl; clevercsv-0.8.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; clevercsv-0.8.5-cp312-cp312-win_amd64.whl; clevercsv-0.8.5-cp313-cp313-macosx_10_13_universal2.whl; clevercsv-0.8.5-cp313-cp313-macosx_10_13_x86_64.whl

Tags

Capabilities
csv dialect detectionmessy csv parsingautomatic csv format detectioncsv sniffer replacementcsv standardization toolrobust csv readercsv encoding detection
Topics
csv-parsingdata-wranglingcli-tool
PyPI keywords
csv

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “csv dialect detection”

  • clevercsvCleverCSV detects CSV file dialects automatically and provides a…
  • aiocsvProvides async-compatible CSV reading and writing using AsyncReader,…
  • csvwReads, writes, and validates tabular data according to the CSV on the…

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also csv23 · unicodecsv · backports.csv · aiocsv · detect-delimiter · dataclass-csv · csv-diff · defusedcsv · csvw · linear-tsv