rea-analysis-optimization
MOmorluto/rea486k近 7 天新增 8,943 个 star
Converts JSON data snippets into Python Pydantic data models.
This skill helps convert raw JSON data or API responses into structured, strongly-typed Python classes using Pydantic.
Analyze the Input: Look at the JSON object provided by the user.
Infer Types:
string -> strnumber -> int or floatboolean -> boolarray -> List[Type]null -> Optional[Type]Follow the Example:
Review examples/ to see how to structure the output code. notice how nested dictionaries like preferences are extracted into their own class.
examples/input_data.jsonexamples/output_model.pyPascalCase for class names.List, Optional) from typing module.None.MOmorluto/rea486k近 7 天新增 8,943 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star
MAmattpocock/skills337k近 7 天新增 4,978 个 star