sdata

structured data format

This project is maintained by lepy

PyPI version PyPI readthedocs Build Status Codacy Badge Coverage Status Das sdata-Format v0.8.4

https://lepy.github.io/sdata/

Structured data format (sdata)

Design goals

df = pandas.DataFrame({"a":[1,2,3]})
import sdata
data = sdata.Data(name="my_data", table=df, comment="A remarkable comment")
data.metadata.add("my_key", 123, unit="m^3", description="a volume")
data.metadata.add("force", 1.234, unit="kN", description="x force")
data.to_xlsx(filepath="my_data.xlsx")
print(data.metadata.df)
          name                             value  dtype unit description
key                                                                     
name      name                           my_data    str    -            
uuid      uuid  08222ca66e5047808bdc3b35d8f17224    str    -            
my_key  my_key                               123    int  m^3    a volume
force    force                             1.234  float   kN     x force

Howto

Demo App

Try to paste some Excel-Data in the forms …

Metadata

Attributes

dtypes for attributes

paper