Bundled third-party assets and notices
======================================

This distribution bundles third-party frontend assets inside
`src/tensor_network_editor/app/static/vendor/`.

Runtime pip-installed dependencies are not bundled into this source
distribution or wheel. Required installs (`matplotlib`, `opt_einsum`) and optional
extras such as `numpy`, `torch`, `quimb`, `tensornetwork`, `tensorkrowch`, or
`pywebview` remain covered by their own licenses and notices.
Development tools installed through the `dev` extra are also not bundled and
remain covered by their own upstream licenses and notices.

Runtime dependency notice
-------------------------

Matplotlib is a required runtime dependency for academic SVG/PNG/PDF rendering.

- Package: Matplotlib
- Version range used by this project: `>=3.8`
- Project: https://matplotlib.org/
- Package index: https://pypi.org/project/matplotlib/
- License: Matplotlib license
- Copyright:
  Copyright (c) 2012- Matplotlib Development Team.
  Copyright (c) 2002-2011 John Hunter, Darren Dale, Eric Firing, and the
  Matplotlib development team.
- Notice handling:
  Matplotlib is installed as an external Python dependency rather than being
  vendored into this repository. Its own distribution carries the authoritative
  license text and notices.

Development dependency notice
-----------------------------

pip-audit is a development and CI dependency used to scan Python dependencies
for known vulnerabilities.

- Package: pip-audit
- Version range used by this project: `>=2.7`
- Project: https://pypi.org/project/pip-audit/
- License: Apache Software License
- Notice handling:
  pip-audit is installed as an external development dependency rather than
  being vendored into this repository. Its own distribution carries the
  authoritative license text and notices.

1. Cytoscape.js
   - Bundled file:
     `src/tensor_network_editor/app/static/vendor/cytoscape.min.js`
   - Version: 3.30.2
   - Project: https://js.cytoscape.org/
   - Upstream repository: https://github.com/cytoscape/cytoscape.js
   - Copyright:
     Copyright (c) 2016-2024, The Cytoscape Consortium.
   - License: MIT License
   - Notice handling:
     The vendored minified file preserves the upstream MIT notice at the top of
     the file.

2. PrismJS
   - Bundled files:
     `src/tensor_network_editor/app/static/vendor/prism-core.min.js`
     `src/tensor_network_editor/app/static/vendor/prism-python.min.js`
   - Version: 1.30.0
   - Project: https://prismjs.com/
   - Upstream repository: https://github.com/PrismJS/prism
   - Copyright:
     Copyright (C) 2012-2024 Lea Verou and Prism contributors.
   - License: MIT License
   - Notice handling:
     The vendored minified files do not carry a visible license header, so this
     file provides the upstream MIT notice for the bundled PrismJS assets.

The following MIT License text applies to Cytoscape.js and PrismJS:

MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
