def part_specs(self, part):
result = self._e.parts_match(<EOL>queries=[{'<STR_LIT>': part}],<EOL>exact_only=True,<EOL>show_mpn=True,<EOL>show_manufacturer=True,<EOL>show_octopart_url=True,<EOL>show_short_description=True,<EOL>show_specs=True,<EOL>show_category_uids=True,<EOL>show_external_links=True,<EOL>show_reference_designs=True,<EOL>show_cad_models=True,<EOL>show_datasheets=True,<EOL>include_specs=True,<EOL>include_category_uids=True,<EOL>include_external_links=True,<EOL>include_reference_designs=True,<EOL>include_cad_models=True,<EOL>include_datasheets=True<EOL>)<EOL>if result[<NUM_LIT:1>][<NUM_LIT:0>]['<STR_LIT>'] == <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>return ReturnValues.NO_RESULTS<EOL><DEDENT>result = result[<NUM_LIT:1>][<NUM_LIT:0>]['<STR_LIT>'][<NUM_LIT:0>]<EOL>print("<STR_LIT>".format(result['<STR_LIT>']))<EOL>print("<STR_LIT>".format(result['<STR_LIT>']['<STR_LIT:name>']))<EOL>print("<STR_LIT>")<EOL>for k,v in result['<STR_LIT>'].items():<EOL><INDENT>name = v['<STR_LIT>']['<STR_LIT:name>'] if v['<STR_LIT>']['<STR_LIT:name>'] else k<EOL>min_value = v['<STR_LIT>'] if v['<STR_LIT>'] else '<STR_LIT>'<EOL>max_value = v['<STR_LIT>'] if v['<STR_LIT>'] else '<STR_LIT>'<EOL>unit = '<STR_LIT>'.format(v['<STR_LIT>']['<STR_LIT>']['<STR_LIT:name>']) if v['<STR_LIT>']['<STR_LIT>'] else '<STR_LIT>'<EOL>value = '<STR_LIT:U+002C>'.join(v['<STR_LIT:value>']) if len(v['<STR_LIT:value>']) > <NUM_LIT:0> else '<STR_LIT>'<EOL>if value and not (min_value or max_value):<EOL><INDENT>print("<STR_LIT>".format(name, value, unit))<EOL><DEDENT>elif value and min_value and max_value:<EOL><INDENT>print("<STR_LIT>".format(name, value, unit, min_value, max_value))<EOL><DEDENT>elif not value and min_value and max_value:<EOL><INDENT>print("<STR_LIT>".format(name, unit, min_value, max_value))<EOL><DEDENT>elif not value and min_value and not max_value:<EOL><INDENT>print("<STR_LIT>".format(name, unit, min_value))<EOL><DEDENT>elif not value and not min_value and max_value:<EOL><INDENT>print("<STR_LIT>".format(name, unit, max_value))<EOL><DEDENT><DEDENT>print("<STR_LIT>".format(result['<STR_LIT>']))<EOL>if result['<STR_LIT>']['<STR_LIT>']or result['<STR_LIT>']['<STR_LIT>']or result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>")<EOL>if result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>".format(result['<STR_LIT>']['<STR_LIT>']))<EOL><DEDENT>if result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>".format(result['<STR_LIT>']['<STR_LIT>']))<EOL><DEDENT>if result['<STR_LIT>']['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>".format(result['<STR_LIT>']['<STR_LIT>']))<EOL><DEDENT><DEDENT>if len(result['<STR_LIT>']) > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL>for datasheet in result['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>".format(datasheet['<STR_LIT:url>']))<EOL>if datasheet['<STR_LIT>']:<EOL><INDENT>print("<STR_LIT>".format(datasheet['<STR_LIT>']['<STR_LIT>']))<EOL>print("<STR_LIT>".format(datasheet['<STR_LIT>']['<STR_LIT>']))<EOL><DEDENT><DEDENT><DEDENT>if len(result['<STR_LIT>']) > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>if len(result['<STR_LIT>']) > <NUM_LIT:0>:<EOL><INDENT>print("<STR_LIT>")<EOL><DEDENT>return ReturnValues.OK<EOL>
returns the specifications of the given part. If multiple parts are
matched, only the first one will be output.

part: the productname or sku

prints the results on stdout