Skip to main content

Unified License Mapper

Project description

LicenseLynx for Python

To use LicenseLynx in Python, you can call the map method from the LicenseLynx module to map a license name to its canonical form. The return value is an object with the canonical name and the source of the license.

Installation

To install the library, run following command:

pip install licenselynx 

Usage

from licenselynx.licenselynx import LicenseLynx

# Map the license name
license_object = LicenseLynx.map("licenseName")

print(license_object.canonical)
print(license_object.src)

# Map the license name with risky mappings enabled
license_object = LicenseLynx.map("licenseName", risky=True)

License

This project is licensed under the Apache License, Version 2.0 (SPDX-License-Identifier: Apache-2.0).

Copyright (c) Siemens AG 2025 ALL RIGHTS RESERVED

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

licenselynx-1.1.1.tar.gz (103.3 kB view details)

Uploaded Source

Built Distribution

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

licenselynx-1.1.1-py3-none-any.whl (105.7 kB view details)

Uploaded Python 3

File details

Details for the file licenselynx-1.1.1.tar.gz.

File metadata

  • Download URL: licenselynx-1.1.1.tar.gz
  • Upload date:
  • Size: 103.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for licenselynx-1.1.1.tar.gz
Algorithm Hash digest
SHA256 9b9de426ec0ad2354089fe89b58f24dc950e84de1b7336b38d040b9a29646171
MD5 0f901ee68ae7ac24cc0613fa35754bda
BLAKE2b-256 472e2391a6e48829f69dcd2017436706aaedc92a43c882baaff8b6e3cf390847

See more details on using hashes here.

Provenance

The following attestation bundles were made for licenselynx-1.1.1.tar.gz:

Publisher: deploy.yaml on licenselynx/licenselynx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file licenselynx-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: licenselynx-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 105.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for licenselynx-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 641a84bf80b2766f3b1eef2afc5a618ae687e81f196c32574e685e765d315474
MD5 147b4e111e816247a67b1ae5f8bec8a1
BLAKE2b-256 eef492a8b498ee514f5cc262764bfa22061d1c91cf851c9ad4ff8768095f88d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for licenselynx-1.1.1-py3-none-any.whl:

Publisher: deploy.yaml on licenselynx/licenselynx

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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