Skip to content

Commit 5476210

Browse files
committed
Added a license
1 parent 45bb523 commit 5476210

File tree

2 files changed

+194
-2
lines changed

2 files changed

+194
-2
lines changed

LICENSE.md

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

pyproject.toml

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
[tool.poetry]
22
name = "splitgraph"
33
version = "0.0.0"
4-
description = "Splitgraph command line library and Python client"
4+
description = "Command line library and Python client for Splitgraph, a version control system for data"
5+
license = "Apache 2.0 modified with Commons Clause"
56
authors = ["Splitgraph Limited"]
67
readme = "README.md"
78
homepage = "https://www.splitgraph.com"
@@ -22,7 +23,7 @@ pytest-env = "^0.6"
2223
coveralls = "^1.5"
2324

2425
[tool.poetry.scripts]
25-
sgr = 'splitgraph.commandline:cli'
26+
sgr = "splitgraph.commandline:cli"
2627

2728
[build-system]
2829
requires = ["poetry>=0.12"]

0 commit comments

Comments
 (0)