This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json, csv | |
import requests | |
def Sort(sub_li): | |
sub_li.sort(key = lambda x: x[0]) | |
return sub_li | |
csv_data = [] | |
url = 'https://api.github.com/repos/spdx/license-list-data/releases/latest' | |
#get latest version release info in form of tag |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import json, csv | |
import os | |
def Sort(sub_li): | |
sub_li.sort(key = lambda x: x[0]) | |
return sub_li | |
files = next(os.walk("./license-list-data/json/details"))[2] | |
lic_dir = 'license-list-data/json/details' | |
csv_data = [] |
NewerOlder