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.id)
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 BSD 3-Clause "New" or "Revised" License (SPDX-License-Identifier: BSD-3-Clause).

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-2.0.1.tar.gz (106.0 kB view details)

Uploaded Source

Built Distribution

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

licenselynx-2.0.1-py3-none-any.whl (108.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for licenselynx-2.0.1.tar.gz
Algorithm Hash digest
SHA256 e64d42adfb6c4348bd1249dc5e06338ac0d17cbb952c43ae98f3d46ac0ca0de3
MD5 ff8cab3bfda75c4023322ce4ce90f6fc
BLAKE2b-256 ce2c52b3f7f57b2e62155c610214c0bd60ed883977d4ab3b463e2d9bec0ade8c

See more details on using hashes here.

Provenance

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

File metadata

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

File hashes

Hashes for licenselynx-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2af3deb4ba004949b8d84b0e2d3a5f10982afeb45b0de36432fb6cf7197fc1dc
MD5 36d76ac762dfdc8d617bfe23580ed17d
BLAKE2b-256 790a2c90de6bbdc00af6844166ef5a8634c5e3c62ba53b27a29ff1550d9bbf91

See more details on using hashes here.

Provenance

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