$npx skillfedfor your agent

unicodecsv

Python2's stdlib csv module is nice, but it doesn't support unicode. This module is a drop-in replacement which *does*.

SkipPyPI Text ProcessingReleased Sep 20156.3M downloads / moBSD LicenseSource build

Decision gist · record as of 2026-08-14

sdist only — unicodecsv-0.14.1.tar.gz · builds from source
v0.14.1 · released 2015-09-22

No for new projects. Python 3's csv module handles Unicode natively. The package is dormant (last release 2015-09-22) with no security vulnerabilities, but installing it on modern Python versions is unlikely to work or be necessary. If you must support Python 2.7 legacy code, it is a reasonable choice given its permissive BSD License and zero dependencies.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Designed for Python 2.6, 2.7, 3.3, 3.4, 3.5, and PyPy 2.4.0.
  • Requires bytestream input (open in 'rb' mode), not text mode.
  • High install friction due to age and Python 2 focus.

License · maintenance · safety

BSD License (permissive) — BSD License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

last release 2015-09-22 (3979 days) · last repo commit 2025-02-18 · 596 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 6,289,635 downloads/mo, #1,938 on PyPI

Verify before relying

import unicodecsv as csv
from io import BytesIO

f = BytesIO()
w = csv.writer(f, encoding='utf-8')
w.writerow((u'é', u'ñ'))
f.seek(0)
r = csv.reader(f, encoding='utf-8')
row = next(r)  # [u'é', u'ñ']
  • Whether this package is still necessary given Python 3's native Unicode CSV support
  • Current compatibility with Python versions beyond 3.5, if any
  • Whether the package works reliably on modern Python 3 interpreters despite dormant maintenance
Same gist for agents: .md · .json

What it is and what it does

unicodecsv solves a specific problem in Python 2.7: the standard csv module cannot handle Unicode strings without manual encoding workarounds. This package wraps the csv module to accept Unicode input and output transparently, accepting bytestreams (via plain `open(..., 'rb')`) and handling the encoding internally.

The package is designed for Python 2.6, 2.7, 3.3, 3.4, 3.5, and PyPy 2.4.0. It has no runtime dependencies and installs cleanly. However, it is unmaintained since 2015-09-22 and explicitly targets Python 2. Modern Python 3 handles Unicode CSV natively, making this package potentially obsolete for new projects.

Use it for

  • Maintain legacy Python 2.7 codebases that process CSV files with non-ASCII characters
  • Migrate Python 2 CSV code to a compatible layer before upgrading to Python 3
  • Work with CSV data containing accented characters or non-Latin scripts in Python 2 environments

Worth the install?

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

Skip

No for new projects.

Python 3's csv module handles Unicode natively. The package is dormant (last release 2015-09-22) with no security vulnerabilities, but installing it on modern Python versions is unlikely to work or be necessary. If you must support Python 2.7 legacy code, it is a reasonable choice given its permissive BSD License and zero dependencies.

Install

unicodecsv on PyPI

Before you install

High install friction due to age and Python 2 focus. Last release was 2015-09-22; maintenance is dormant. No runtime dependencies ease installation.

Designed for Python 2.6, 2.7, 3.3, 3.4, 3.5, and PyPy 2.4.0. Requires bytestream input (open in 'rb' mode), not text mode.

License in practice

BSD License (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.

Quickstart

import unicodecsv as csv
from io import BytesIO

f = BytesIO()
w = csv.writer(f, encoding='utf-8')
w.writerow((u'é', u'ñ'))
f.seek(0)
r = csv.reader(f, encoding='utf-8')
row = next(r)  # [u'é', u'ñ']

Verify before relying

  • Whether this package is still necessary given Python 3's native Unicode CSV support
  • Current compatibility with Python versions beyond 3.5, if any
  • Whether the package works reliably on modern Python 3 interpreters despite dormant maintenance

Package facts

LicenseBSD License permissive
Python supportNot specified
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceDormant 3,979 days since the last release
Last repo commit
First released
Downloads6,289,635 / month, #1,938 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseNatural Language :: EnglishProgramming Language :: Python :: 2.6Programming Language :: Python :: 2.7Programming Language :: Python :: 3.3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy

Evidence: unicodecsv-0.14.1.tar.gz

Tags

Capabilities
python 2 csv unicode supportcsv module unicode stringsunicode csv reader writerpython 2.7 csv encodingcsv unicode replacement
Topics
python-2-legacycsv-unicode

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 › “python 2 csv unicode support”

  • unicodecsvDrop-in replacement for Python 2.7's csv module that handles Unicode…
  • backports.csvProvides Python 3's csv module API for Python 2, with native Unicode…
  • csv23Provides a Python 3-style unicode CSV API that works consistently…

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 · defusedcsv · backports.csv · clevercsv · Unidecode · aiocsv · win_unicode_console · fold-to-ascii · anyascii · django-queryset-csv