PydPiper / pylightxl

A light weight, zero dependency, minimal functionality excel read/writer python library
https://pylightxl.readthedocs.io
MIT License
290 stars 47 forks source link

Reading CSVs from a file object #67

Closed tbc399 closed 1 year ago

tbc399 commented 2 years ago

Pylightxl Version: 1.59 Python Version: 3.10.0

Summary of Bug/Feature: I'm scouting out libraries to use for parsing both csv and xlsx files, and I came across pylightxl. I like it since it can do both, and it's obviously lightweight. I'm wondering if there's a particular reason readcsv() is not able to read from a file object. If it's strategic, no worries. If it's just a matter of "not there yet", I'd be happy to submit a PR if you're okay with outside contributions.

Also, nice work!

PydPiper commented 2 years ago

Hi @tbc399 thank you for considering using pylightxl for your project! You hit it on the head, it's simply just not there yet since it has not been requested until now. I 100% welcome contributions if you want to take a crack at it!

tbc399 commented 2 years ago

Great. I'll do some poking and prodding to figure out what needs to be done to get this in. Thanks!

PydPiper commented 1 year ago

Hey @tbc399 I've added stringIO support to readxl() function. It will be part of v1.61 release later today