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.2.tar.gz (103.2 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.2-py3-none-any.whl (105.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for licenselynx-1.1.2.tar.gz
Algorithm Hash digest
SHA256 7f5c7de0330ed9813c9f391e0c13e3b7f5610da25c7af5f0084039cac488bb53
MD5 df583db4f44f8d0e22134ddac410cc53
BLAKE2b-256 380f9f80442b712f004acd9801093f62c64bde7d8772747c94fae8a39711dfd2

See more details on using hashes here.

Provenance

The following attestation bundles were made for licenselynx-1.1.2.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.2-py3-none-any.whl.

File metadata

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

File hashes

Hashes for licenselynx-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ded242411062f871f1d2970c3fc65e063e26a29015dab51c6f41e66668a09285
MD5 519a5d04ff905094f198e8b332e9ef24
BLAKE2b-256 92e61fabb88a2afea99dd0f63b0343e48cdc60dba441890035611b5c5f72c15c

See more details on using hashes here.

Provenance

The following attestation bundles were made for licenselynx-1.1.2-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