Registry / data / super-csv

super-csv

JSON →
library5.0.0pypypiunverified

A CSV processor library for Python, maintained by Open edX. Version 5.0.0 provides tools for reading and writing CSV files with a focus on handling BOM (Byte Order Mark) characters and encoding issues. The library supports Python 2.7 and 3.5+.

pip install super-csv
INSTALL
IMPORT
SIG · SUPER-CSV
S
super-csv
datapythonv5.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

SuperCsvReader
from super_csv import SuperCsvReader
from super_csv import SuperCsvReader

Basic CSV read/write with BOM-safe encoding.

from super_csv import SuperCsvReader, SuperCsvWriter import os # Reading a CSV file reader = SuperCsvReader('data.csv', encoding='utf-8-sig') for row in reader: print(row) # Writing a CSV file writer = SuperCsvWriter('output.csv', encoding='utf-8-sig') writer.writeheader(['name', 'age']) writer.writerow({'name': 'Alice', 'age': 30}) writer.close()
Debug
Known issues
breakingPython 2.7 support was dropped in version 4.0.0. Upgrade to Python 3.5+.
fix
Use Python 3.5 or later.
affects: >=4.0.0
gotchaThe default encoding for SuperCsvReader is 'utf-8', which fails on files with BOM. Use 'utf-8-sig' to handle BOM correctly.
fix
Specify encoding='utf-8-sig' when opening files.
affects: all
deprecatedThe function `super_csv.update_from_dict` was deprecated in v4.1.0 and removed in v5.0.0. Use `SuperCsvWriter.writerow` with a dict instead.
fix
Replace calls to `update_from_dict` with `writer.writerow(dict_data)`.
affects: >=5.0.0
Upgrade
Version history
5.0.0latest on PyPI · released Mar 24, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
OpenAI (training)
1
Resources
super-csv — pip install super-csv · libregistry