Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save UnexpectedMaker/f8cfccfaf17c2cdd0c12907d02738c98 to your computer and use it in GitHub Desktop.
Save UnexpectedMaker/f8cfccfaf17c2cdd0c12907d02738c98 to your computer and use it in GitHub Desktop.
>>> t
'[{"code": "W25Q128JVSIQ", "status": "found", "data": {"master_id": 27, "m_name": "Winbond Elec", "name": "W25Q128JVSIQ", "value": "128Mb (16M x 8)", "description": "", "m_part_datasheet": "https://datasheet.lcsc.com/szlcsc/1811142111_Winbond-Elec-W25Q128JVSIQ_C97521.pdf", "s_part": "C97521", "parttype_cat": "Memory", "parttype_cat_id": 18, "parttype": "FLASH", "parttype_id": 194, "footprint_cat": "SOIC", "footprint_cat_id": 7, "footprint": "SOIC-8_208mil", "footprint_id": 59, "tags": ["RoHS"], "part_specs": [{"id": 707, "heading": "Memory Type", "data": "Non-Volatile"}, {"id": 708, "heading": "Memory Format", "data": "FLASH"}, {"id": 709, "heading": "Technology", "data": ""}, {"id": 710, "heading": "Memory Size", "data": "128Mb (16M x 8)"}, {"id": 711, "heading": "Clock Frequency", "data": ""}, {"id": 712, "heading": "Byte-Program Time - tBP", "data": ""}, {"id": 713, "heading": "Page\xa0Programming Time - tPP", "data": ""}, {"id": 714, "heading": "Memory Interface", "data": "SPI - Dual/Quad I/O"}, {"id": 715, "heading": "Voltage - Supply", "data": "2.7V ~ 3.6V"}, {"id": 716, "heading": "Operating Temperature", "data": ""}]}}]'
>>> t2 = unicodedata.normalize("NFKD", t)
>>> t2
'[{"code": "W25Q128JVSIQ", "status": "found", "data": {"master_id": 27, "m_name": "Winbond Elec", "name": "W25Q128JVSIQ", "value": "128Mb (16M x 8)", "description": "", "m_part_datasheet": "https://datasheet.lcsc.com/szlcsc/1811142111_Winbond-Elec-W25Q128JVSIQ_C97521.pdf", "s_part": "C97521", "parttype_cat": "Memory", "parttype_cat_id": 18, "parttype": "FLASH", "parttype_id": 194, "footprint_cat": "SOIC", "footprint_cat_id": 7, "footprint": "SOIC-8_208mil", "footprint_id": 59, "tags": ["RoHS"], "part_specs": [{"id": 707, "heading": "Memory Type", "data": "Non-Volatile"}, {"id": 708, "heading": "Memory Format", "data": "FLASH"}, {"id": 709, "heading": "Technology", "data": ""}, {"id": 710, "heading": "Memory Size", "data": "128Mb (16M x 8)"}, {"id": 711, "heading": "Clock Frequency", "data": ""}, {"id": 712, "heading": "Byte-Program Time - tBP", "data": ""}, {"id": 713, "heading": "Page Programming Time - tPP", "data": ""}, {"id": 714, "heading": "Memory Interface", "data": "SPI - Dual/Quad I/O"}, {"id": 715, "heading": "Voltage - Supply", "data": "2.7V ~ 3.6V"}, {"id": 716, "heading": "Operating Temperature", "data": ""}]}}]'
>>>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment