{"id":27429,"library":"super-csv","title":"super-csv","description":"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+.","status":"active","version":"5.0.0","language":"python","source_language":"en","source_url":"https://github.com/openedx/super-csv","tags":["csv","openedx","bom","encoding"],"install":[{"cmd":"pip install super-csv","lang":"bash","label":"Latest version"},{"cmd":"pip install super-csv==4.1.0","lang":"bash","label":"Version 4.1.0 (stable)"}],"dependencies":[],"imports":[{"wrong":"from super_csv import SuperCsvReader","symbol":"SuperCsvReader","correct":"from super_csv import SuperCsvReader"}],"quickstart":{"code":"from super_csv import SuperCsvReader, SuperCsvWriter\nimport os\n\n# Reading a CSV file\nreader = SuperCsvReader('data.csv', encoding='utf-8-sig')\nfor row in reader:\n    print(row)\n\n# Writing a CSV file\nwriter = SuperCsvWriter('output.csv', encoding='utf-8-sig')\nwriter.writeheader(['name', 'age'])\nwriter.writerow({'name': 'Alice', 'age': 30})\nwriter.close()","lang":"python","description":"Basic CSV read/write with BOM-safe encoding."},"warnings":[{"fix":"Use Python 3.5 or later.","message":"Python 2.7 support was dropped in version 4.0.0. Upgrade to Python 3.5+.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Specify encoding='utf-8-sig' when opening files.","message":"The default encoding for SuperCsvReader is 'utf-8', which fails on files with BOM. Use 'utf-8-sig' to handle BOM correctly.","severity":"gotcha","affected_versions":"all"},{"fix":"Replace calls to `update_from_dict` with `writer.writerow(dict_data)`.","message":"The 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.","severity":"deprecated","affected_versions":">=5.0.0"}],"env_vars":null,"search_vec":"'2.7':41 '3.5':43 '5.0.0':15 'bom':29,46 'byte':30 'charact':33 'csv':3,5,22,44 'edx':13 'encod':35,47 'file':23 'focus':26 'handl':28 'issu':36 'librari':7,38 'maintain':10 'mark':32 'open':12 'openedx':45 'order':31 'processor':6 'provid':16 'python':9,40 'read':19 'super':2 'super-csv':1 'support':39 'tool':17 'version':14 'write':21","created_at":"2026-05-01T17:46:13.700615+00:00","updated_at":"2026-05-01T17:46:13.700615+00:00","problems":{"verify_error":"Traceback (most recent call last):\n  File \"<string>\", line 1, in <module>\nImportError: cannot import name 'SuperCsvReader' from 'super_csv' (/tmp/tmpny38eesk/venv/lib/python3.12/site-packages/super_csv/__init__.py)"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/openedx/super-csv","docs":null,"changelog":null,"pypi":"https://pypi.org/project/super-csv/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["data","serialization"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"import_fail","verified_at":"2026-07-03","last_verified":"2026-07-03","next_check":"2026-07-10","install_tag":null}}