(software_set)
parse stix software into appropriate data structures.

    arguments:
        software_set: list of stix-formatted software dicts
parse stix software into appropriate data structures.
parse stix software into appropriate data structures .
def parse_software(software_set):
    """parse stix software into appropriate data structures.

    arguments:
        software_set: list of stix-formatted software dicts
    """

    for entry in software_set:
        name=entry['name']
        cur_id=entry['id']
        if name not in software_to_id:
            software_to_id[name]=cur_id
            id_to_software[cur_id]=name
def parse_software ( software_set ) : for entry in software_set : name = entry [ 'name' ] cur_id = entry [ 'id' ] if name not in software_to_id : software_to_id [ name ] = cur_id id_to_software [ cur_id ] = name