AQIT 0.1.0
Loading...
Searching...
No Matches
license_text.py
Go to the documentation of this file.
1# Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
2# This file is part of AQIT. Unauthorized copying, modification,
3# distribution, or use of this file, via any medium, is strictly prohibited.
4# Proprietary and confidential. See LICENSE for terms.
5
6"""Resolve and display the AQIT proprietary license text."""
7
8from __future__ import annotations
9
10from pathlib import Path
11
12LICENSE_URL = "https://aquin.app/license"
13
14_LICENSE_SUMMARY = """\
15AQIT (AQUIN INTERP TOOLING) PROPRIETARY SOFTWARE LICENSE
17Copyright (c) 2025-present Aquin Labs Private Limited. All Rights Reserved.
19Canonical license URL: https://aquin.app/license
20
21IMPORTANT: READ THIS LICENSE CAREFULLY BEFORE INSTALLING, DOWNLOADING, COPYING,
22OR USING THIS SOFTWARE. BY DOING ANY OF THE FOREGOING, YOU AGREE TO BE BOUND BY
23THE TERMS OF THIS LICENSE. IF YOU DO NOT AGREE, DO NOT INSTALL OR USE THIS SOFTWARE.
24
25────────────────────────────────────────────────────────────────────────────────
261. DEFINITIONS
27────────────────────────────────────────────────────────────────────────────────
28
29"Software" means AQIT (Aquin Interp Tooling), including all compiled modules, bytecode,
30extension files, configuration files, documentation, and any other files
31distributed as part of the aqit package or any derivative thereof.
32
33"Licensor" means Aquin Labs Private Limited, a company incorporated under the
34laws of India.
35
36"Licensee" means the individual or entity that has obtained a valid API key
37from Licensor and uses the Software in accordance with this License.
38
39"API Key" means the unique authentication credential issued by Licensor to
40Licensee that is required to activate and operate the Software.
41
42────────────────────────────────────────────────────────────────────────────────
432. GRANT OF LICENSE
44────────────────────────────────────────────────────────────────────────────────
45
46Subject to the terms and conditions of this License and provided that Licensee
47holds a valid, active API Key issued by Licensor, Licensor grants Licensee a
48limited, non-exclusive, non-transferable, non-sublicensable, revocable license
49to install and use the Software solely for Licensee's own internal purposes.
50
51This license does not include any right to:
52
53 (a) use the Software without a valid API Key;
54 (b) use the Software for the benefit of any third party as a service bureau,
55 time-sharing arrangement, or otherwise;
56 (c) copy, reproduce, or duplicate the Software beyond what is strictly
57 necessary for a single installation;
58 (d) modify, adapt, translate, or create derivative works of the Software;
59 (e) reverse engineer, disassemble, decompile, decode, decrypt, or otherwise
60 attempt to derive the source code, algorithms, structure, or ideas
61 underlying the Software, in whole or in part;
62 (f) remove, alter, obscure, or circumvent any proprietary notices, labels,
63 license enforcement mechanisms, or technical protection measures in or
64 on the Software;
65 (g) distribute, sell, resell, sublicense, rent, lease, lend, transfer, or
66 otherwise make the Software available to any third party;
67 (h) use the Software to build a competing product or service.
68
69────────────────────────────────────────────────────────────────────────────────
703. API KEY AND LICENSE VALIDATION
71────────────────────────────────────────────────────────────────────────────────
72
73The Software requires a valid API Key to operate. The API Key is personal to
74the Licensee and may not be shared, transferred, or disclosed to any third party.
75
76Licensor may revoke any API Key at any time, with or without cause, by
77disabling the key in Aquin Cloud. Upon revocation, all rights granted under
78this License terminate immediately and Licensee must cease all use of the
79Software.
80
81Licensor reserves the right to audit API Key usage for compliance with this
82License.
83
84────────────────────────────────────────────────────────────────────────────────
854. OWNERSHIP AND INTELLECTUAL PROPERTY
86────────────────────────────────────────────────────────────────────────────────
87
88The Software is proprietary to Licensor and is protected by copyright law,
89trade secret law, and other applicable intellectual property laws and treaties
90worldwide. Licensor retains all right, title, and interest in and to the
91Software, including all intellectual property rights therein.
92
93No title or ownership of the Software is transferred to Licensee. Licensee
94acquires only the limited right to use the Software as expressly set forth
95in Section 2 above.
96
97────────────────────────────────────────────────────────────────────────────────
985. CONFIDENTIALITY
99────────────────────────────────────────────────────────────────────────────────
100
101The Software and its structure, organization, and code constitute valuable
102trade secrets of Licensor. Licensee agrees to maintain the confidentiality
103of the Software and not to disclose it to any third party without Licensor's
104prior written consent.
105
106────────────────────────────────────────────────────────────────────────────────
1076. TERM AND TERMINATION
108────────────────────────────────────────────────────────────────────────────────
109
110This License is effective until terminated. It will terminate automatically,
111without notice from Licensor, if:
112
113 (a) Licensee breaches any term of this License;
114 (b) Licensee's API Key is revoked;
115 (c) Licensee attempts to circumvent any license enforcement mechanism.
116
117Upon termination, Licensee must immediately cease all use of the Software and
118destroy all copies in its possession or control.
119
120────────────────────────────────────────────────────────────────────────────────
1217. DISCLAIMER OF WARRANTIES
122────────────────────────────────────────────────────────────────────────────────
123
124THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. TO THE MAXIMUM
125EXTENT PERMITTED BY APPLICABLE LAW, LICENSOR EXPRESSLY DISCLAIMS ALL WARRANTIES,
126WHETHER EXPRESS, IMPLIED, STATUTORY, OR OTHERWISE, INCLUDING WITHOUT LIMITATION
127ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE,
128TITLE, AND NON-INFRINGEMENT.
129
130LICENSOR DOES NOT WARRANT THAT THE SOFTWARE WILL BE UNINTERRUPTED, ERROR-FREE,
131OR FREE OF HARMFUL COMPONENTS, OR THAT ANY DEFECTS WILL BE CORRECTED.
132
133────────────────────────────────────────────────────────────────────────────────
1348. LIMITATION OF LIABILITY
135────────────────────────────────────────────────────────────────────────────────
136
137TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, IN NO EVENT SHALL LICENSOR,
138ITS DIRECTORS, EMPLOYEES, AGENTS, OR AFFILIATES BE LIABLE FOR ANY INDIRECT,
139INCIDENTAL, SPECIAL, CONSEQUENTIAL, PUNITIVE, OR EXEMPLARY DAMAGES WHATSOEVER,
140INCLUDING WITHOUT LIMITATION DAMAGES FOR LOSS OF PROFITS, REVENUE, DATA,
141BUSINESS, GOODWILL, OR OTHER INTANGIBLE LOSSES, ARISING OUT OF OR IN CONNECTION
142WITH THIS LICENSE OR THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF LICENSOR
143HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
144
145IN NO EVENT SHALL LICENSOR'S TOTAL AGGREGATE LIABILITY TO LICENSEE UNDER THIS
146LICENSE EXCEED THE AMOUNT ACTUALLY PAID BY LICENSEE TO LICENSOR IN THE TWELVE
147MONTHS PRECEDING THE CLAIM.
148
149────────────────────────────────────────────────────────────────────────────────
1509. GOVERNING LAW AND DISPUTE RESOLUTION
151────────────────────────────────────────────────────────────────────────────────
152
153This License shall be governed by and construed in accordance with the laws of
154India, without regard to its conflict of law principles. Any dispute arising
155out of or in connection with this License shall be subject to the exclusive
156jurisdiction of the competent courts of India.
157
158────────────────────────────────────────────────────────────────────────────────
15910. GENERAL
160────────────────────────────────────────────────────────────────────────────────
161
162This License constitutes the entire agreement between Licensor and Licensee
163with respect to the Software and supersedes all prior or contemporaneous
164understandings, negotiations, or agreements, whether written or oral, relating
165to the Software.
166
167If any provision of this License is held to be invalid or unenforceable, the
168remaining provisions shall continue in full force and effect.
169
170Licensor's failure to enforce any provision of this License shall not constitute
171a waiver of Licensor's rights to enforce such provision in the future.
172
173────────────────────────────────────────────────────────────────────────────────
174CONTACT
175────────────────────────────────────────────────────────────────────────────────
176
177For licensing inquiries, permissions, or to report violations:
178
179 Aquin Labs Private Limited
180 aquin@aquin.app
181 ash@aquin.app
182 https://aquin.app
183 aquinlabs.com
184"""
185
186
187def license_path() -> Path | None:
188 """Return the first LICENSE file found for this installation."""
189 pkg = Path(__file__).resolve().parent
190 for candidate in (
191 pkg.parent / "LICENSE",
192 pkg / "LICENSE.txt",
193 pkg / "engine" / "LICENSE.txt",
194 pkg / "compute" / "LICENSE.txt",
195 ):
196 if candidate.is_file():
197 return candidate
198 return None
199
200
201def read_license_text() -> str:
202 path = license_path()
203 if path is not None:
204 return path.read_text(encoding="utf-8")
205 return _LICENSE_SUMMARY
Path|None license_path()