Skip to main content

Two functions to aid in reading CSV and XLS/XLSX files interchangeably, while respecting Unicode.

read_csv_or_xls does its best to read its data argument (should be bytes) as an Excel file. If it fails, it tries to decode it as UTF-8. If you hand it a (Unicode) string, it’ll just return it.

utf8_reader gives you a CSV reader (like the csv library’s) which decodes its argument as UTF-8; the generator yields Unicode strings.

Metadata

Release files for csvxls 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for csvxls 0.2
File Size Uploaded
csvxls-0.2.tar.gz 1.8 kB Details

Release files / csvxls-0.2.tar.gz

Download URL csvxls-0.2.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d94645db8034328689a8032bce208512f243c18aaea848359cff2c0b7096ea46
BLAKE2b-256 checksum
How to use checksums
1f96093c2e6908715f2e32e8e072d4907c42c8ffc091387fe3ba0697b1604343
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page