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.0.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.0-py3-none-any.whl (105.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: licenselynx-1.1.0.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.0.tar.gz
Algorithm Hash digest
SHA256 c05a6f12cf1aff4fbeec310c558452d234f04730910121bf8b8a067a61ad736f
MD5 ed14eee278af60d56ec935b92fd9df11
BLAKE2b-256 3b9f85a06d79f8a19b9907213a610efce07a018fe8aaf3e05f06f66aafde704a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: licenselynx-1.1.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ab0d904d742869615464ee95efe63d3d35fcbba3e26c278e9edfabd5d1e9b077
MD5 8551ecee533b9e3168d6cf2eb8467e91
BLAKE2b-256 96487b9f44f42feef4f5d77a72ae4eff735ab002be653aa91da21546ff34124b

See more details on using hashes here.

Provenance

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