-
-
Notifications
You must be signed in to change notification settings - Fork 86
Expand file tree
/
Copy pathLICENSE
More file actions
190 lines (126 loc) · 7.33 KB
/
Copy pathLICENSE
File metadata and controls
190 lines (126 loc) · 7.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
================================================================================
py-clash-bot Dual License
================================================================================
Copyright (c) 2024 Matthew Miglio, Martin Miglio, and contributors
https://github.com/pyclashbot/py-clash-bot
This repository contains two types of content licensed under different terms:
- SOURCE CODE is licensed under the py-clash-bot Non-Commercial Copyleft
License 1.0 (Part 1 below)
- ASSETS are licensed under Creative Commons Attribution-NonCommercial-
ShareAlike 4.0 International (Part 2 below)
================================================================================
PART 1: SOURCE CODE LICENSE
================================================================================
py-clash-bot Non-Commercial Copyleft License 1.0 (NC-CL-1.0)
This license applies to all source code files in this repository.
--- ACCEPTANCE ---
In order to get any license under these terms, you must agree to them as
both strict obligations and conditions to all your licenses.
--- COPYRIGHT LICENSE ---
The licensor grants you a copyright license for the software to do everything
you might do with the software that would otherwise infringe the licensor's
copyright in it for any permitted purpose. However, you may only distribute
the software according to Distribution License and make changes or new works
based on the software according to Changes and New Works License.
--- DISTRIBUTION LICENSE ---
The licensor grants you an additional copyright license to distribute copies
of the software. Your license to distribute covers distributing the software
with changes and new works permitted by Changes and New Works License.
You must ensure that anyone who gets a copy of any part of the software from
you also gets a copy of these terms or the URL for them above.
--- CHANGES AND NEW WORKS LICENSE ---
The licensor grants you an additional copyright license to make changes and
new works based on the software for any permitted purpose.
--- SHARE-ALIKE REQUIREMENT ---
If you distribute copies of the software, modified or unmodified, or new
works based on the software, you must:
1. License your entire work, as it relates to this software, under this
same license (py-clash-bot Non-Commercial Copyleft License 1.0).
2. Make available the complete corresponding source code of your work
under this same license through a publicly accessible repository or
other reasonable means.
3. Clearly mark and document any changes you made to the software.
4. Preserve all copyright notices, license notices, and attribution
notices from the original software.
5. Include a prominent notice stating that you have modified the software.
--- INDEPENDENT WORKS ---
Software that communicates with this project only through public interfaces
or protocols is considered an independent work and is not subject to this
project's share-alike or non-commercial conditions.
--- PERMITTED PURPOSE ---
A permitted purpose is any noncommercial purpose.
Personal use for research, experiment, and testing for the benefit of public
knowledge, personal study, private entertainment, hobby projects, amateur
pursuits, or religious observance, without any anticipated commercial
application, is use for a permitted purpose.
--- NONCOMMERCIAL ORGANIZATIONS ---
Use by any charitable organization, educational institution, public research
organization, public safety or health organization, environmental protection
organization, or government institution is use for a permitted purpose
regardless of the source of funding or obligations resulting from the funding.
--- COMMERCIAL LICENSING ---
For commercial use of this software, please contact the maintainers to
discuss licensing terms.
--- PATENT LICENSE ---
The licensor grants you a patent license for the software that covers patent
claims the licensor can license, or becomes able to license, that you would
infringe by using the software.
--- PATENT DEFENSE ---
If you make any written claim that the software infringes or contributes to
infringement of any patent, your patent license for the software granted
under these terms ends immediately. If your company makes such a claim, your
patent license ends immediately for work on behalf of your company.
--- FAIR USE ---
You may have "fair use" rights for the software under the law. These terms
do not limit them.
--- NO OTHER RIGHTS ---
These terms do not allow you to sublicense or transfer any of your licenses
to anyone else, or prevent the licensor from granting licenses to anyone
else. These terms do not imply any other licenses.
--- NO LIABILITY ---
As far as the law allows, the software comes as is, without any warranty or
condition, and the licensor will not be liable to you for any damages arising
out of these terms or the use or nature of the software, under any kind of
legal claim.
--- VIOLATIONS ---
If you violate any of these terms, all your licenses under these terms end
immediately. However, if the licensor notifies you in writing that you have
violated these terms, you can keep your licenses under these terms by:
1. Coming into full compliance with these terms within 32 days of notice.
2. Taking reasonable steps to notify downstream recipients of the violation
and the corrective actions you have taken.
--- DEFINITIONS ---
The "licensor" is the individual or entity offering these terms, and the
"software" is the software the licensor makes available under these terms.
"You" refers to the individual or entity agreeing to these terms.
"Your company" is any legal entity, sole proprietorship, or other kind of
organization that you work for, plus all organizations that have control
over, are under the control of, or are under common control with that
organization.
A "permitted purpose" is a purpose other than a commercial purpose.
A "commercial purpose" is one primarily intended for or directed towards
commercial advantage or monetary compensation.
================================================================================
PART 2: ASSETS LICENSE
================================================================================
Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International
(CC BY-NC-SA 4.0)
This license applies to all non-code assets in this repository, including:
- All files in assets/ (demo-game.gif, demo-gui.gif, pixel-pycb.ico)
- All files in pyclashbot/detection/reference_images/
- All image files (.png, .jpg, .gif, .ico) throughout the repository
- All documentation files (.md) except this LICENSE file
Full license text: https://creativecommons.org/licenses/by-nc-sa/4.0/legalcode
--- SUMMARY ---
You are free to:
- Share: Copy and redistribute the material in any medium or format
- Adapt: Remix, transform, and build upon the material
Under the following terms:
- Attribution: You must give appropriate credit, provide a link to the
license, and indicate if changes were made.
- NonCommercial: You may not use the material for commercial purposes.
- ShareAlike: If you remix, transform, or build upon the material, you
must distribute your contributions under the same license as the original.
- No additional restrictions: You may not apply legal terms or technological
measures that legally restrict others from doing anything the license permits.
================================================================================