Skip to main content

mkdocs extension to visualise package dependencies license information

Project description

mkdocs_licenseinfo

mkdocs extension to visualise package dependencies license information

Introduction

mkdocs_licenseinfo resolves licence information directly from installed package metadata and PyPI, with dependency resolution via uv (falling back to installed metadata). No external licence-checking tools are required.

Contributing

To see the contribution guidelines, see docs/source/developing/index.md.

Setting up for development

Create a virtual environment. Install the package using pip install -e .[dev]

Then add code to the package as appropriate - submodules can be created under src/mkdocs_licenseinfo Tests can be added to the tests folder

CI

There are a set of CI checks:

  • lint: nox -t lint
  • test: nox -t test
  • build: nox -t build

specific subfolders can be passed to the test tag in nox: nox -t test -- <subfolder1> <subfolder2>

Versioning

It is important to track and version code, and to aid that with the python packages and models, setuptools_scm is used. This links the version reported at __version__ to the git tag (+ commit hash if appropriate), to reduce the amount of places that need editing when changing versions.

For describing versions we are using semantic versioning <major>.<minor>.<patch>. Increment the:

  • <major> version when you make incompatible API changes,
  • <minor> version when you add functionality in a backwards-compatible manner, and
  • <patch> version when you make backwards-compatible bug fixes.

There are also codes for pre-releases and other descriptions (see https://semver.org/)

To create a version, use git tag <major>.<minor>.<patch> and then make sure to push that tag with git push origin <major>.<minor>.<patch>, or an equivalent tagging tool (e.g. Github releases).

TODO

  • Add sbom file links for serving (::license-embed)

Repo created from nskit.recipes.python.package:PackageRecipe (version 0.0.post1.dev15+ga59b052.d20231223) using nskit.

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

mkdocs_licenseinfo-1.0.0.tar.gz (163.5 kB view details)

Uploaded Source

Built Distribution

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

mkdocs_licenseinfo-1.0.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file mkdocs_licenseinfo-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for mkdocs_licenseinfo-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8fc336dac9746bad6c682f36c52fd3dc62bb344d70e7173754ff235e95d26cc0
MD5 10b197529a1217a0fe1f56eb665f6ed3
BLAKE2b-256 9bfd7c36aad2f931ad486fc23cad0920009b11fbccba5ffd3c8b4ef45bda44c6

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_licenseinfo-1.0.0.tar.gz:

Publisher: pipeline.yaml on djpugh/mkdocs_licenseinfo

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

File details

Details for the file mkdocs_licenseinfo-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for mkdocs_licenseinfo-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1ba89ab1ed319d8fec6ebcbd10717fe06f5323b52e3a851a03a521194b8c89ce
MD5 c4ed80a2f500c5638613035ba95caf25
BLAKE2b-256 0cbfffc997cd7ed44bd489828d0eb21341b7f83bc1bad161d02f42f58ac16bd9

See more details on using hashes here.

Provenance

The following attestation bundles were made for mkdocs_licenseinfo-1.0.0-py3-none-any.whl:

Publisher: pipeline.yaml on djpugh/mkdocs_licenseinfo

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