Skip to content

Commit 0edd339

Browse files
committed
Add Apache 2.0 license
Signed-off-by: https://github.com/Someshdiwan <[email protected]>
1 parent 884bbae commit 0edd339

File tree

1 file changed

+180
-64
lines changed

1 file changed

+180
-64
lines changed

LICENSE

Lines changed: 180 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,187 @@
1-
Apache License
2-
Version 2.0, January 2004
3-
http://www.apache.org/licenses/
1+
Apache License
2+
Version 2.0, January 2004
3+
http://www.apache.org/licenses/
44

55
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6-
---------------------------------------------------------------------
7-
8-
1. Definitions
9-
"License" means this agreement defining permissions for use, reproduction,
10-
and distribution.
11-
"Licensor" means the copyright owner granting the License.
12-
"Work" refers to the software or materials provided under this License.
13-
"Derivative Works" are modified or adapted versions of the Work.
14-
"Contributor" means any party who submits a Contribution to the Work.
15-
16-
2. Grant of Copyright License
17-
Subject to these terms, each Contributor grants you a perpetual, worldwide,
18-
non-exclusive, royalty-free license to use, reproduce, prepare derivative works,
19-
display, perform, sublicense, and distribute the Work and its derivatives.
20-
21-
3. Grant of Patent License
22-
Each Contributor grants you a perpetual, worldwide, non-exclusive,
23-
royalty-free, irrevocable patent license to make, use, sell, or distribute
24-
the Work under the same terms.
25-
26-
4. Redistribution
27-
You may distribute copies of the Work or its derivatives in any medium, with or
28-
without modification, provided that you:
29-
(a) Include a copy of this License;
30-
(b) Retain all relevant notices and attribution;
31-
(c) Include the NOTICE file (if present) with clear attribution; and
32-
(d) Clearly state any modifications you made.
33-
34-
5. Submission of Contributions
35-
Contributions intentionally submitted for inclusion in the Work are covered
36-
by this License, unless explicitly stated otherwise.
37-
38-
6. Trademarks
39-
This License does not grant permission to use the trade names, logos, or marks
40-
of the Licensor, except for descriptive references to the origin of the Work.
41-
42-
7. Disclaimer of Warranty
43-
The Work is provided "AS IS", without warranty of any kind, express or implied,
44-
including but not limited to merchantability, fitness for a particular purpose,
45-
and non-infringement.
46-
47-
8. Limitation of Liability
48-
In no event shall any Contributor be liable for damages of any kind resulting
49-
from the use or inability to use the Work, even if advised of the possibility
50-
of such damages.
51-
52-
9. Accepting Warranty or Additional Liability
53-
You may offer additional warranties or liabilities at your own risk, but not on
54-
behalf of any Contributor.
55-
56-
------------------------------------------------------------------
6+
7+
1. Definitions.
8+
9+
"License" shall mean the terms and conditions for use, reproduction, and
10+
distribution as defined by Sections 1 through 9 of this document.
11+
12+
"Licensor" shall mean the copyright owner or entity authorized by the
13+
copyright owner that is granting the License.
14+
15+
"Legal Entity" shall mean the union of the acting entity and all other
16+
entities that control, are controlled by, or are under common control with
17+
that entity. For the purposes of this definition, "control" means (i) the
18+
power, direct or indirect, to cause the direction or management of such
19+
entity, whether by contract or otherwise, or (ii) ownership of fifty percent
20+
(50%) or more of the outstanding shares, or (iii) beneficial ownership of
21+
such entity.
22+
23+
"You" (or "Your") shall mean an individual or Legal Entity exercising
24+
permissions granted by this License.
25+
26+
"Source" form shall mean the preferred form for making modifications,
27+
including but not limited to software source code, documentation source, and
28+
configuration files.
29+
30+
"Object" form shall mean any form resulting from mechanical transformation or
31+
translation of a Source form, including but not limited to compiled object
32+
code, generated documentation, and conversions to other media types.
33+
34+
"Work" shall mean the work of authorship, whether in Source or Object form,
35+
made available under the License, as indicated by a copyright notice that is
36+
included in or attached to the work (an example is provided in the Appendix
37+
below).
38+
39+
"Derivative Works" shall mean any work, whether in Source or Object form,
40+
that is based on (or derived from) the Work and for which the editorial
41+
revisions, annotations, elaborations, or other modifications represent, as a
42+
whole, an original work of authorship. For the purposes of this License,
43+
Derivative Works shall not include works that remain separable from, or
44+
merely link (or bind by name) to the interfaces of, the Work and Derivative
45+
Works thereof.
46+
47+
"Contribution" shall mean any work of authorship, including the original
48+
version of the Work and any modifications or additions to that Work or
49+
Derivative Works thereof, that is intentionally submitted to Licensor for
50+
inclusion in the Work by the copyright owner or by an individual or Legal
51+
Entity authorized to submit on behalf of the copyright owner. For the
52+
purposes of this definition, "submitted" means any form of electronic,
53+
verbal, or written communication sent to the Licensor or its representatives,
54+
including but not limited to communication on electronic mailing lists,
55+
source code control systems, and issue tracking systems that are managed by,
56+
or on behalf of, the Licensor for the purpose of discussing and improving the
57+
Work, but excluding communication that is conspicuously marked or otherwise
58+
designated in writing by the copyright owner as "Not a Contribution."
59+
60+
"Contributor" shall mean Licensor and any individual or Legal Entity on
61+
behalf of whom a Contribution has been received by Licensor and subsequently
62+
incorporated within the Work.
63+
64+
2. Grant of Copyright License. Subject to the terms and conditions of this
65+
License, each Contributor hereby grants to You a perpetual, worldwide,
66+
non-exclusive, no-charge, royalty-free, irrevocable copyright license to
67+
reproduce, prepare Derivative Works of, publicly display, publicly perform,
68+
sublicense, and distribute the Work and such Derivative Works in Source or
69+
Object form.
70+
71+
3. Grant of Patent License. Subject to the terms and conditions of this License,
72+
each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,
73+
no-charge, royalty-free, irrevocable (except as stated in this section)
74+
patent license to make, have made, use, offer to sell, sell, import, and
75+
otherwise transfer the Work, where such license applies only to those patent
76+
claims licensable by such Contributor that are necessarily infringed by their
77+
Contribution(s) alone or by combination of their Contribution(s) with the
78+
Work to which such Contribution(s) was submitted. If You institute patent
79+
litigation against any entity (including a cross-claim or counterclaim in a
80+
lawsuit) alleging that the Work or a Contribution incorporated within the
81+
Work constitutes direct or contributory patent infringement, then any patent
82+
licenses granted to You under this License for that Work shall terminate as
83+
of the date such litigation is filed.
84+
85+
4. Redistribution. You may reproduce and distribute copies of the Work or
86+
Derivative Works thereof in any medium, with or without modifications, and in
87+
Source or Object form, provided that You meet the following conditions:
88+
89+
(a) You must give any other recipients of the Work or Derivative Works a copy
90+
of this License; and
91+
92+
(b) You must cause any modified files to carry prominent notices stating that
93+
You changed the files; and
94+
95+
(c) You must retain, in the Source form of any Derivative Works that You
96+
distribute, all copyright, patent, trademark, and attribution notices
97+
from the Source form of the Work, excluding those notices that do not
98+
pertain to any part of the Derivative Works; and
99+
100+
(d) If the Work includes a "NOTICE" text file as part of its distribution,
101+
then any Derivative Works that You distribute must include a readable
102+
copy of the attribution notices contained within such NOTICE file,
103+
excluding those notices that do not pertain to any part of the Derivative
104+
Works, in at least one of the following places: within a NOTICE text file
105+
distributed as part of the Derivative Works; within the Source form or
106+
documentation, if provided along with the Derivative Works; or, within a
107+
display generated by the Derivative Works, if and wherever such third-
108+
party notices normally appear. The contents of the NOTICE file are for
109+
informational purposes only and do not modify the License. You may add
110+
Your own attribution notices within Derivative Works that You distribute,
111+
alongside or as an addendum to the NOTICE text from the Work, provided
112+
that such additional attribution notices cannot be construed as modifying
113+
the License.
114+
115+
You may add Your own copyright statement to Your modifications and may
116+
provide additional or different license terms and conditions for use,
117+
reproduction, or distribution of Your modifications, or for any such
118+
Derivative Works as a whole, provided Your use, reproduction, and distribution
119+
of the Work otherwise complies with the conditions stated in this License.
120+
121+
5. Submission of Contributions. Unless You explicitly state otherwise, any
122+
Contribution intentionally submitted for inclusion in the Work by You to the
123+
Licensor shall be under the terms and conditions of this License, without any
124+
additional terms or conditions. Notwithstanding the above, nothing herein
125+
shall supersede or modify the terms of any separate license agreement you may
126+
have executed with Licensor regarding such Contributions.
127+
128+
6. Trademarks. This License does not grant permission to use the trade names,
129+
trademarks, service marks, or product names of the Licensor, except as
130+
required for reasonable and customary use in describing the origin of the
131+
Work and reproducing the content of the NOTICE file.
132+
133+
7. Disclaimer of Warranty. Unless required by applicable law or agreed to in
134+
writing, Licensor provides the Work (and each Contributor provides its
135+
Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
136+
KIND, either express or implied, including, without limitation, any warranties
137+
or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
138+
PARTICULAR PURPOSE. You are solely responsible for determining the
139+
appropriateness of using or redistributing the Work and assume any risks
140+
associated with Your exercise of permissions under this License.
141+
142+
8. Limitation of Liability. In no event and under no legal theory, whether in
143+
tort (including negligence), contract, or otherwise, unless required by
144+
applicable law (such as deliberate and grossly negligent acts) or agreed to
145+
in writing, shall any Contributor be liable to You for damages, including any
146+
direct, indirect, special, incidental, or consequential damages of any
147+
character arising as a result of this License or out of the use or inability
148+
to use the Work (including but not limited to damages for loss of goodwill,
149+
work stoppage, computer failure or malfunction, or any and all other
150+
commercial damages or losses), even if such Contributor has been advised of
151+
the possibility of such damages.
152+
153+
9. Accepting Warranty or Additional Liability. While redistributing the Work or
154+
Derivative Works thereof, You may choose to offer, and charge a fee for,
155+
acceptance of support, warranty, indemnity, or other liability obligations
156+
and/or rights consistent with this License. However, in accepting such
157+
obligations, You may act only on Your own behalf and on Your sole
158+
responsibility, not on behalf of any other Contributor, and only if You agree
159+
to indemnify, defend, and hold each Contributor harmless for any liability
160+
incurred by, or claims asserted against, such Contributor by reason of your
161+
accepting any such warranty or additional liability.
162+
57163
END OF TERMS AND CONDITIONS
58-
------------------------------------------------------------------
59164

60-
Copyright (c) 2025 Somesh Diwan
165+
APPENDIX: How to apply the Apache License to your work.
166+
167+
To apply the Apache License to your work, attach the following boilerplate
168+
notice, with the fields enclosed by brackets "[]" replaced with your own
169+
identifying information. (Don't include the brackets!) The text should be
170+
enclosed in the appropriate comment syntax for the file format. We also
171+
recommend that a file or class name and description of purpose be included on
172+
the same "printed page" as the copyright notice for easier identification
173+
within third-party archives.
174+
175+
Copyright 2025 Somesh Diwan
61176

62-
Licensed under the Apache License, Version 2.0 (the "License");
63-
you may not use this file except in compliance with the License.
64-
You may obtain a copy of the License at:
177+
Licensed under the Apache License, Version 2.0 (the "License");
178+
you may not use this file except in compliance with the License.
179+
You may obtain a copy of the License at
65180

66-
https://www.apache.org/licenses/LICENSE-2.0
181+
http://www.apache.org/licenses/LICENSE-2.0
67182

68-
Unless required by applicable law or agreed to in writing, software distributed
69-
under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
70-
CONDITIONS OF ANY KIND, either express or implied. See the License for the
71-
specific language governing permissions and limitations under the License.
183+
Unless required by applicable law or agreed to in writing, software
184+
distributed under the License is distributed on an "AS IS" BASIS,
185+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186+
See the License for the specific language governing permissions and
187+
limitations under the License.

0 commit comments

Comments
 (0)