libtoknroll
Copyright 2026 Quixotic AI (https://qxotic.ai)

The library's own code is licensed under the Apache License, Version 2.0 (see LICENSE).

Oracle GraalVM (https://www.graalvm.org)
  The binary in the release archive and in the toknroll wheel is a native image built with
  Oracle GraalVM. It contains Oracle's Native Image runtime and the parts of the Java class
  library it uses, redistributed under the GraalVM Free Terms and Conditions (GFTC),
  https://www.oracle.com/downloads/licenses/graal-free-license.html, with Oracle's notices in
  the binary intact. The GFTC counts those portions of a native image as the unmodified
  Program and permits redistributing it "provided that You do not charge Your licensees any
  fees associated with such distribution or use of the Program, including, without
  limitation, fees for products that include or are bundled with a copy of the Program".
  What that means: you may use this binary as it is, in commercial products and paid services
  included. Charging a fee for a product that bundles a copy of it is not within the GFTC;
  that takes a license from Oracle, or a build with GraalVM CE, see README.md, which carries
  the runtime under the GNU General Public License version 2 with the Classpath Exception and
  no such condition.

llama.cpp and ggml (https://github.com/ggml-org/llama.cpp, https://github.com/ggml-org/ggml)
  Copyright (c) 2023-2024 The ggml authors. MIT License.
  - The pretokenizer regular expressions and their family groups mirror llama-vocab.cpp.

  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.
