INNER CODE UNIT · Python
license_order
crocs-muni/javacard-curated-list · scripts/process_curated_list.py:689
license_order = sorted(license_counts, key=lambda k: (-license_counts[k], k))
cat_order = []
cat_counts = {}
for e in entries:
c = e["category"] or "Uncategorized"
if c not in cat_counts:
cat_order.append(c)
cat_counts[c] = 0
cat_counts[c] += 1
top_starred = sorted(with_stars, key=lambda e: e["stars"], reverse=True)[:10]
lines = []
lines.append("# JavaCard Curated List — Statistics")
lines.append("")
lines.append("Source: [crocs-muni/javacard-curated-list](https://github.com/crocs-muni/javacard-curated-list) README, "
"enriched with live data pulled from shields.io GitHub badges (stars, last-commit, contributors, license).")