Skip to main content

License job pack for Tessera: detect and classify project licenses offline.

Project description

tesserakit-license

Detect and classify a project's license, offline.

tessera-license reads LICENSE files and the license field of manifests, identifies the license by content signature, classifies it (permissive / weak-copyleft / copyleft / public-domain), and flags hygiene issues. No network and no per-dependency registry lookups: it inspects what is declared in the repo.

Audit

tessera license audit --input . --output ./out/license_pack

Detected sources:

  • LICENSE / LICENCE / COPYING files (identified from their text)
  • pyproject.toml [project].license
  • package.json license
  • Cargo.toml [package].license

Recognized ids include MIT, Apache-2.0, BSD-2/3-Clause, ISC, MPL-2.0, (L)GPL-2.0/3.0, AGPL-3.0, Unlicense, CC0-1.0.

Artifacts written:

licenses.jsonl           one LicenseFinding per declaration (id, category, evidence)
index.md                 the license inventory
validation_report.md     hygiene findings
coverage_report.md       counts by category and license id

Findings

  • no_license — no LICENSE file or declared license found
  • missing_license_file — a manifest declares a license but there is no LICENSE file
  • copyleft_license — a copyleft license (GPL/AGPL) needs obligation review
  • license_mismatch — different licenses declared in different places
  • unrecognized_license — the license text/value could not be identified

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tesserakit_license-0.4.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tesserakit_license-0.4.0-py3-none-any.whl (8.9 kB view details)

Uploaded Python 3

File details

Details for the file tesserakit_license-0.4.0.tar.gz.

File metadata

  • Download URL: tesserakit_license-0.4.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.11

File hashes

Hashes for tesserakit_license-0.4.0.tar.gz
Algorithm Hash digest
SHA256 0ae47b358db10ee6a864333e35afb895ad068b4d788aa0d8a2d6e4be3fd65621
MD5 ada457c292174c3a5706db164698971a
BLAKE2b-256 7da5ef26f405d591af4e8063e68b3b77991c9aafc7628d12969b9472ad4f8b69

See more details on using hashes here.

File details

Details for the file tesserakit_license-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for tesserakit_license-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 18cf76ca2eb9b2a228d2cca324ae7405b4124f99b1f91ab72f75625c688680fb
MD5 ac415f85a9bdffed2ae0af610baf36cc
BLAKE2b-256 3455552efd933dff3f2edadc1cfdc602dbcf3aa9ede87c74bb909caa3345400b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page