Skip to main content

Licensing And Release Compliance

This page documents the technical license policy enforced by the PyWee repositories. It is not a substitute for legal advice.

Repository Licenses

RepositoryLicenseScope
RuntimeLGPL-3.0-onlyRuntime, CLI, Python DOM host, and build tooling.
ExamplesMITCopyable example application code.
PyWee DocumentationCC-BY-4.0Documentation content and site source.

Third-party files keep their original terms. They are not relicensed under the license of the repository that carries their notice.

Python packages declared by an application in [python].requirements are not bundled into the normal PyWee wheel or the examples repository. Their licenses belong to that application's dependency and distribution audit. For example, an application publisher that redistributes OpenCV, NumPy, DDS libraries, or a native extension must include the notices required by those exact packages.

Managed Chromium Evidence

The current browser build is identified as:

FieldValue
ProviderPlaywright 1.54.0
Provider revision1181
Chromium139.0.7258.5
Chromium source tree8577a6fc1b9f42c36df6d91026d9027bff12cf1a

Every cached or offline-bundled browser contains:

  • .pywee-chromium.json with platform, provider, revision, URL, size, and SHA256;
  • CHROMIUM_CREDITS.html generated by that exact executable;
  • LICENSES/CHROMIUM_LICENSE.txt;
  • LICENSES/CHROMIUM_SOURCE.txt with pinned source provenance;
  • LICENSES/PLAYWRIGHT_LICENSE.txt;
  • LICENSES/PLAYWRIGHT_NOTICE.txt.

Run the offline validation with:

pywee chromium verify

The normal PyPI wheel does not redistribute the browser binary. It contains the locked download manifest and canonical static licenses. An offline wheel does redistribute Chromium and must pass the additional offline-wheel artifact audit.

Documentation Dependencies

The Docusaurus repository generates static/licenses/THIRD_PARTY_LICENSES.txt from its complete production npm dependency graph. The generated file contains package identity, license expression, upstream repository, and license text.

npm run licenses
npm run licenses:check

CI rejects stale evidence and unknown or review-required license expressions. The Docusaurus build copies the documentation license, notice, and third-party notices into the published /licenses/ directory.

Release Checklist

Runtime release:

python -m unittest discover -s tests
python -m build
python -m twine check dist/*
python -m build_support.release_audit dist
pywee chromium verify

Documentation release:

npm ci
npm run licenses:check
npm run typecheck
npm run build
npm audit

Platform status must remain explicit. Linux x64 is currently tested. Linux ARM64 and Windows x64 archives are prepared and cross-audited, but neither is marked runtime-tested until a native smoke job passes. Windows is therefore documented as not tested.