Skip to content

Instantly share code, notes, and snippets.

@D-Brox
D-Brox / classfinder2.py
Last active February 13, 2024 17:18 — forked from Davr1/classfinder.py
import json
import re
from operator import itemgetter
import requests
from itertools import combinations
def best_similarity(master, candidates):
counts = [0] * len(candidates)
for candidate_index, candidate in enumerate(candidates):
for item in candidate: