# License

`dsviper` is published by **Digital Substrate** under the **Digital Substrate
Commercial License 1.2** (SPDX identifier
`LicenseRef-DigitalSubstrate-Commercial-1.2`).

The license defines **two distinct modes** of use. Both are granted by the
same text, distributed inside the wheel under
`dsviper-<version>.dist-info/licenses/LICENSE`.

## Evaluation License — free, no time limit

Granted free of charge, without expiration, **for evaluation and training
only**. You may install dsviper via `pip install dsviper` and use it to:

- assess whether dsviper fits your workflow,
- learn the API, run tutorials, and build proofs of concept,
- share evaluation results with a limited number of third parties, free of
  charge, with no direct or indirect commercial benefit, and without
  redistribution rights for those third parties.

**Not permitted under the Evaluation License:** any commercial use, direct or
indirect — including use in connection with negotiations, tenders, or
commercial transactions. Support, maintenance and updates are not included.

The Evaluation License can be converted into a Commercial License by signing
an agreement with Digital Substrate, **without reinstalling** the product.

## Commercial License — by agreement

Granted as a paid, non-exclusive, non-transferable right to use dsviper in
projects distributed under a proprietary license. The Commercial License
**only takes effect** through a written agreement signed with Digital
Substrate; in the absence of such agreement, no commercial rights are granted.

The agreement specifies scope, support, SLA, and any modification rights.

## Common terms

- **Redistribution** is prohibited unless expressly authorized in the
  agreement.
- **Modification** is prohibited unless expressly authorized in the agreement.
- **Sublicensing and transfer** require prior written consent.
- **Intellectual property** in dsviper remains with Digital Substrate.
- **Warranty:** the product is provided "as is" unless support/SLA is
  contracted.
- **Governing law:** French law; exclusive jurisdiction of the courts of
  Bordeaux.

## Third-party components

dsviper embeds third-party components under their own licenses
(ANTLR 4 C++ runtime, Stephan Brumme's hash-library, nlohmann/json,
SQLite). Their attribution and full license texts are reproduced in
[Third-Party Notices](third_party_notices.md), shipped inside the wheel as
`dsviper-<version>.dist-info/licenses/THIRD-PARTY-NOTICES.txt`.

## Contact

For commercial licensing inquiries:

> Digital Substrate
> 8 impasse de la rouilleuse, ZA du Courneau II
> 33610 CANEJAN, FRANCE
> SIREN 891960007

## Full license text

The text below is the authoritative `LICENSE` file, also shipped inside
every wheel under `dsviper-<version>.dist-info/licenses/LICENSE`. In case of
discrepancy with the summary above, this text prevails.

```{literalinclude} LICENSE.txt
:language: text
```
