ipyGraph / Graphbook Community & Commercial License
Version 1.0

Copyright (c) 2026 Anish Chelliah CR
All rights reserved.

============================================================================
PLAIN-LANGUAGE SUMMARY (not the license — the terms below control)
----------------------------------------------------------------------------
• Source-available, NOT OSI "open source": the source is public and you may
  read, modify, and self-host it, but commercial use is limited (see below).
• Free, forever, for individuals and any NON-commercial use — development,
  evaluation, personal projects, academic research, and teaching.
• Free for an organization's internal use up to 20 Users (Seats).
• You need a paid Commercial License (which carries a royalty) if you charge
  money for something built on this software, offer it as a hosted service,
  or exceed 20 internal Users.
• This license covers only the original code of this project. Third-party
  components (JupyterLab, Lumino, React, and others) keep their own licenses
  — see the NOTICE file. Nothing here changes those.

NOTE: This document is a template, not legal advice — have a lawyer review it
before you rely on it. The royalty rate below (5%) is a starting figure the
Licensor may change.
============================================================================


1. DEFINITIONS

   "Software" means the original works of authorship in this repository that
   are owned by the Licensor, in source or object (including compiled or
   "prebuilt") form, together with associated documentation.

   "Licensor" means the copyright holder identified above.

   "You" (or "Your") means the individual or legal entity exercising rights
   under this license. For an entity, "You" includes all entities that
   control, are controlled by, or are under common control with You.

   "Use" means to install, run, access, copy, modify, or make derivative
   works of the Software, or to distribute or make it available to others.

   "User" (or "Seat") means each distinct individual who uses, or is
   authorized to use, the Software or any product or service that
   incorporates it, on Your behalf. Automated accounts serving a distinct
   individual count as that individual.

   "Internal Use" means Use by You solely for Your own operations, where the
   Software (or its outputs produced by the Software as such) is not sold,
   licensed, hosted for, or otherwise provided to any third party.

   "Commercial Use" means any Use that is NOT purely Internal Use within the
   free Seat allowance, including, without limitation:
     (a) charging any fee, subscription, or other consideration for a
         product or service that includes, is built on, or is substantially
         enabled by the Software;
     (b) offering the Software, or its functionality, to third parties as a
         hosted, managed, SaaS, or "as-a-service" offering; or
     (c) Internal Use that exceeds the free Seat allowance in Section 3.

   "Commercial License" means a separate written agreement from the Licensor
   authorizing Commercial Use, as described in Section 4.


2. GRANT (SOURCE-AVAILABLE)

   Subject to Your compliance with this license, the Licensor grants You a
   worldwide, non-exclusive, non-transferable, revocable license to Use the
   Software for the permitted purposes in Section 3, and to create and Use
   modifications and derivative works of the Software for those same
   purposes. All rights not expressly granted are reserved.


3. FREE USE

   The following are permitted at no charge, with no Commercial License
   required:

   3.1 Individuals & Non-Commercial. Any Use by an individual, and any Use
       that is not Commercial Use, is free and unlimited. This expressly
       includes software development, testing, evaluation, personal
       projects, academic research, and classroom teaching.

   3.2 Enterprise Internal Use — up to 20 Seats. An organization may make
       Internal Use of the Software for free for up to twenty (20) Users in
       aggregate across the organization. Use by a 21st or additional User,
       or any Commercial Use, requires a Commercial License under Section 4.

   Free Use does not include the rights reserved to a Commercial License in
   Section 4.


4. COMMERCIAL USE & ROYALTY

   4.1 Commercial License required. Commercial Use (as defined in Section 1)
       is permitted only under a Commercial License obtained from the
       Licensor in advance.

   4.2 Royalty. A Commercial License carries a royalty of 5%
       of the gross revenue reasonably attributable to the product or
       service that incorporates the Software, or such other fee as the
       Licensor and You agree in writing. Reporting, payment, audit, and
       minimum-fee terms are set out in the Commercial License.

   4.3 How to obtain one. Contact the Licensor at anishchelliah.cr@gmail.com to request a
       Commercial License. Until a Commercial License is executed, Commercial
       Use is not licensed and is prohibited.

   4.4 No implied grant. Nothing in Section 3 grants any right to Commercial
       Use.


5. CONDITIONS ON ALL USE AND DISTRIBUTION

   5.1 Preserve notices. You must retain, in all copies and substantial
       portions of the Software (source and object), this license, the
       copyright notice above, and the NOTICE file, and must not remove or
       obscure any Licensor or third-party attribution.

   5.2 No misrepresentation. You must not represent the Software as
       "open source" under the Open Source Definition, remove these
       restrictions, or sublicense the Software except as expressly allowed.

   5.3 Modifications. You must clearly mark any files You change and not
       misattribute them to the Licensor.

   5.4 Trademarks. This license grants no rights to the Licensor's names,
       logos, or trademarks (including "ipyGraph" and "Graphbook") except as
       needed for reasonable and customary attribution.


6. THIRD-PARTY COMPONENTS

   The Software is built for and with the Jupyter and JupyterLab ecosystem
   and other third-party components (including, without limitation,
   JupyterLab, Jupyter Server, Lumino, React, and various Python and
   JavaScript libraries). Those components are the property of their
   respective owners and are licensed to You under THEIR OWN licenses (for
   example, the BSD 3-Clause License for Jupyter/JupyterLab and Lumino, and
   the MIT License for React), not under this license. See the NOTICE file
   for details. Nothing in this license modifies, supersedes, or restricts
   Your rights or obligations under those third-party licenses, and to the
   extent of any conflict as to a third-party component, that component's
   own license governs it.


7. CONTRIBUTIONS

   Unless You state otherwise in writing, any contribution You intentionally
   submit for inclusion in the Software is provided under the terms of this
   license, and You grant the Licensor a perpetual, worldwide,
   non-exclusive, royalty-free, irrevocable license to use, reproduce,
   modify, distribute, and relicense Your contribution as part of the
   Software (including under a Commercial License).


8. TERM & TERMINATION

   This license applies for as long as You comply with it. It terminates
   automatically if You breach it and do not cure the breach within 30 days
   of becoming aware of it. On termination You must stop all Use and destroy
   copies in Your control, except that Section 6 (third-party components) and
   any separately executed Commercial License survive according to their own
   terms. Sections 5, 9, 10, and 11 survive termination.


9. DISCLAIMER OF WARRANTY

   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, TITLE, AND NON-INFRINGEMENT. YOU BEAR THE
   ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE SOFTWARE.


10. LIMITATION OF LIABILITY

   TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL THE LICENSOR BE
   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
   CONSEQUENTIAL DAMAGES (INCLUDING LOSS OF PROFITS, DATA, OR GOODWILL)
   ARISING OUT OF OR RELATED TO THIS LICENSE OR THE USE OF THE SOFTWARE,
   WHETHER IN CONTRACT, TORT, OR OTHERWISE, EVEN IF ADVISED OF THE
   POSSIBILITY OF SUCH DAMAGES.


11. GENERAL

   This license is the entire agreement regarding Free Use of the Software
   and supersedes prior understandings on that subject. If any provision is
   held unenforceable, it will be limited or severed to the minimum extent
   necessary so the rest remains in effect. Failure to enforce a provision is
   not a waiver. The governing law and venue are as stated in an applicable
   Commercial License or, absent one, the Licensor's principal place of
   business.

----------------------------------------------------------------------------
For commercial licensing, contact: anishchelliah.cr@gmail.com
