INNER CODE UNIT · Python

license_bucket

crocs-muni/javacard-curated-list · scripts/process_curated_list.py:341

def license_bucket(license_name):
    if not license_name or license_name.strip().lower() in UNRECOGNIZED_LICENSE_VALUES:
        return "Unknown / no license detected"
    return license_name.strip()


# ---------------------------------------------------------------------------
# --sanity: structural + data-availability checks on the README's badges
# ---------------------------------------------------------------------------

BADGE_LABELS = {"stars": "stars", "last_commit": "last-commit", "contributors": "contributors"}

# GitHub org that re-hosts archived copies of repos removed by their original owner.
# A badge pointing here with the same repo name as the entry's main link is intentional,
# not a copy-paste mistake, so it's exempt from the badge_mismatch check.
ARCHIVE_ORG = "javacard-foss-applets"

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…