jlorieau / xamin

0 stars 0 forks source link

Add mimetypes to Entry class #11

Open jlorieau opened 4 months ago

jlorieau commented 4 months ago

Implement pulling data from Entry objects in different ways. E.g.

CsvEntry.data -> dict (or CsvEntry.as_dict) CsvEntry.raw -> text (or CsvEntry.as_str)

jlorieau commented 4 months ago

The data types could be implemented by returing special dicts, tuples, lists with as_str methods.

jlorieau commented 4 months ago

WIth a raw property, conversion could automatically be done to the self._data format

jlorieau commented 4 months ago

Mutator: data -> raw -> file (sha256)

Accessor (sha256) file -> raw -> data