gremlinpython 3.7.3__py3-none-any.whl → 3.7.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- gremlin_python/__init__.py +1 -0
- gremlin_python/__version__.py +2 -2
- gremlin_python/driver/aiohttp/transport.py +2 -0
- gremlin_python/driver/useragent.py +1 -1
- gremlin_python/process/graph_traversal.py +88 -6
- {gremlinpython-3.7.3.dist-info → gremlinpython-3.7.5.dist-info}/METADATA +11 -8
- {gremlinpython-3.7.3.dist-info → gremlinpython-3.7.5.dist-info}/RECORD +11 -13
- {gremlinpython-3.7.3.dist-info → gremlinpython-3.7.5.dist-info}/WHEEL +1 -1
- gremlinpython-3.7.5.dist-info/licenses/NOTICE +5 -0
- gremlinpython-3.7.3.data/data/NOTICE +0 -5
- gremlinpython-3.7.3.dist-info/LICENSE +0 -202
- gremlinpython-3.7.3.dist-info/NOTICE +0 -5
- {gremlinpython-3.7.3.data/data → gremlinpython-3.7.5.dist-info/licenses}/LICENSE +0 -0
- {gremlinpython-3.7.3.dist-info → gremlinpython-3.7.5.dist-info}/top_level.txt +0 -0
gremlin_python/__init__.py
CHANGED
gremlin_python/__version__.py
CHANGED
|
@@ -54,6 +54,8 @@ class AiohttpTransport(AbstractBaseTransport):
|
|
|
54
54
|
self._enable_compression = enable_compression
|
|
55
55
|
if "max_content_length" in self._aiohttp_kwargs:
|
|
56
56
|
self._aiohttp_kwargs["max_msg_size"] = self._aiohttp_kwargs.pop("max_content_length")
|
|
57
|
+
if "max_msg_size" not in self._aiohttp_kwargs:
|
|
58
|
+
self._aiohttp_kwargs["max_msg_size"] = 10 * 1024 * 1024
|
|
57
59
|
if "ssl_options" in self._aiohttp_kwargs:
|
|
58
60
|
self._aiohttp_kwargs["ssl"] = self._aiohttp_kwargs.pop("ssl_options")
|
|
59
61
|
if self._enable_compression and "compress" not in self._aiohttp_kwargs:
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
#
|
|
19
19
|
import platform
|
|
20
20
|
|
|
21
|
-
gremlin_version = "3.7.
|
|
21
|
+
gremlin_version = "3.7.5" # DO NOT MODIFY - Configured automatically by Maven Replacer Plugin
|
|
22
22
|
|
|
23
23
|
def _generate_user_agent():
|
|
24
24
|
application_name = "NotAvailable"
|
|
@@ -542,9 +542,16 @@ class GraphTraversal(Traversal):
|
|
|
542
542
|
"gremlin_python.process.GraphTraversalSource.hasKey will be replaced by "
|
|
543
543
|
"gremlin_python.process.GraphTraversalSource.has_key.",
|
|
544
544
|
DeprecationWarning)
|
|
545
|
-
return self.
|
|
545
|
+
return self.has_key(*args)
|
|
546
546
|
|
|
547
547
|
def has_key_(self, *args):
|
|
548
|
+
warnings.warn(
|
|
549
|
+
"gremlin_python.process.GraphTraversalSource.has_key_ will be replaced by "
|
|
550
|
+
"gremlin_python.process.GraphTraversalSource.has_key.",
|
|
551
|
+
DeprecationWarning)
|
|
552
|
+
return self.has_key(*args)
|
|
553
|
+
|
|
554
|
+
def has_key(self, *args):
|
|
548
555
|
self.bytecode.add_step("hasKey", *args)
|
|
549
556
|
return self
|
|
550
557
|
|
|
@@ -1301,11 +1308,19 @@ class __(object, metaclass=MagicType):
|
|
|
1301
1308
|
"gremlin_python.process.__.hasKey will be replaced by "
|
|
1302
1309
|
"gremlin_python.process.__.has_key.",
|
|
1303
1310
|
DeprecationWarning)
|
|
1304
|
-
return cls.
|
|
1311
|
+
return cls.has_key(*args)
|
|
1305
1312
|
|
|
1306
1313
|
@classmethod
|
|
1307
1314
|
def has_key_(cls, *args):
|
|
1308
|
-
|
|
1315
|
+
warnings.warn(
|
|
1316
|
+
"gremlin_python.process.__.has_key_ will be replaced by "
|
|
1317
|
+
"gremlin_python.process.__.has_key.",
|
|
1318
|
+
DeprecationWarning)
|
|
1319
|
+
return cls.has_key(*args)
|
|
1320
|
+
|
|
1321
|
+
@classmethod
|
|
1322
|
+
def has_key (cls, *args):
|
|
1323
|
+
return cls.graph_traversal(None, None, Bytecode()).has_key(*args)
|
|
1309
1324
|
|
|
1310
1325
|
@classmethod
|
|
1311
1326
|
def hasLabel(cls, *args):
|
|
@@ -1467,6 +1482,10 @@ class __(object, metaclass=MagicType):
|
|
|
1467
1482
|
def min_(cls, *args):
|
|
1468
1483
|
return cls.graph_traversal(None, None, Bytecode()).min_(*args)
|
|
1469
1484
|
|
|
1485
|
+
@classmethod
|
|
1486
|
+
def none(cls, *args):
|
|
1487
|
+
return cls.graph_traversal(None, None, Bytecode()).none(*args)
|
|
1488
|
+
|
|
1470
1489
|
@classmethod
|
|
1471
1490
|
def not_(cls, *args):
|
|
1472
1491
|
return cls.graph_traversal(None, None, Bytecode()).not_(*args)
|
|
@@ -1847,10 +1866,18 @@ def aggregate(*args):
|
|
|
1847
1866
|
return __.aggregate(*args)
|
|
1848
1867
|
|
|
1849
1868
|
|
|
1869
|
+
def all_(*args):
|
|
1870
|
+
return __.all_(*args)
|
|
1871
|
+
|
|
1872
|
+
|
|
1850
1873
|
def and_(*args):
|
|
1851
1874
|
return __.and_(*args)
|
|
1852
1875
|
|
|
1853
1876
|
|
|
1877
|
+
def any_(*args):
|
|
1878
|
+
return __.any_(*args)
|
|
1879
|
+
|
|
1880
|
+
|
|
1854
1881
|
def as_(*args):
|
|
1855
1882
|
return __.as_(*args)
|
|
1856
1883
|
|
|
@@ -1911,10 +1938,18 @@ def coin(*args):
|
|
|
1911
1938
|
return __.coin(*args)
|
|
1912
1939
|
|
|
1913
1940
|
|
|
1941
|
+
def combine(*args):
|
|
1942
|
+
return __.combine(*args)
|
|
1943
|
+
|
|
1944
|
+
|
|
1914
1945
|
def concat(*args):
|
|
1915
1946
|
return __.concat(*args)
|
|
1916
1947
|
|
|
1917
1948
|
|
|
1949
|
+
def conjoin(*args):
|
|
1950
|
+
return __.conjoin(*args)
|
|
1951
|
+
|
|
1952
|
+
|
|
1918
1953
|
def constant(*args):
|
|
1919
1954
|
return __.constant(*args)
|
|
1920
1955
|
|
|
@@ -1943,6 +1978,14 @@ def dedup(*args):
|
|
|
1943
1978
|
return __.dedup(*args)
|
|
1944
1979
|
|
|
1945
1980
|
|
|
1981
|
+
def difference(*args):
|
|
1982
|
+
return __.difference(*args)
|
|
1983
|
+
|
|
1984
|
+
|
|
1985
|
+
def disjunct(*args):
|
|
1986
|
+
return __.disjunct(*args)
|
|
1987
|
+
|
|
1988
|
+
|
|
1946
1989
|
def drop(*args):
|
|
1947
1990
|
return __.drop(*args)
|
|
1948
1991
|
|
|
@@ -2012,12 +2055,14 @@ def has_id(*args):
|
|
|
2012
2055
|
|
|
2013
2056
|
|
|
2014
2057
|
def hasKey(*args):
|
|
2015
|
-
return __.
|
|
2058
|
+
return __.has_key(*args)
|
|
2016
2059
|
|
|
2017
2060
|
|
|
2018
2061
|
def has_key_(*args):
|
|
2019
|
-
return __.
|
|
2062
|
+
return __.has_key(*args)
|
|
2020
2063
|
|
|
2064
|
+
def has_key(*args):
|
|
2065
|
+
return __.has_key(*args)
|
|
2021
2066
|
|
|
2022
2067
|
def hasLabel(*args):
|
|
2023
2068
|
return __.has_label(*args)
|
|
@@ -2079,6 +2124,10 @@ def inject(*args):
|
|
|
2079
2124
|
return __.inject(*args)
|
|
2080
2125
|
|
|
2081
2126
|
|
|
2127
|
+
def intersect(*args):
|
|
2128
|
+
return __.intersect(*args)
|
|
2129
|
+
|
|
2130
|
+
|
|
2082
2131
|
def is_(*args):
|
|
2083
2132
|
return __.is_(*args)
|
|
2084
2133
|
|
|
@@ -2135,6 +2184,10 @@ def mean(*args):
|
|
|
2135
2184
|
return __.mean(*args)
|
|
2136
2185
|
|
|
2137
2186
|
|
|
2187
|
+
def merge(*args):
|
|
2188
|
+
return __.merge(*args)
|
|
2189
|
+
|
|
2190
|
+
|
|
2138
2191
|
def merge_e(*args):
|
|
2139
2192
|
return __.merge_e(*args)
|
|
2140
2193
|
|
|
@@ -2147,6 +2200,10 @@ def min_(*args):
|
|
|
2147
2200
|
return __.min_(*args)
|
|
2148
2201
|
|
|
2149
2202
|
|
|
2203
|
+
def none(*args):
|
|
2204
|
+
return __.none(*args)
|
|
2205
|
+
|
|
2206
|
+
|
|
2150
2207
|
def not_(*args):
|
|
2151
2208
|
return __.not_(*args)
|
|
2152
2209
|
|
|
@@ -2195,6 +2252,10 @@ def path(*args):
|
|
|
2195
2252
|
return __.path(*args)
|
|
2196
2253
|
|
|
2197
2254
|
|
|
2255
|
+
def product(*args):
|
|
2256
|
+
return __.product(*args)
|
|
2257
|
+
|
|
2258
|
+
|
|
2198
2259
|
def project(*args):
|
|
2199
2260
|
return __.project(*args)
|
|
2200
2261
|
|
|
@@ -2374,6 +2435,7 @@ def values(*args):
|
|
|
2374
2435
|
def where(*args):
|
|
2375
2436
|
return __.where(*args)
|
|
2376
2437
|
|
|
2438
|
+
statics.add_static('E', E)
|
|
2377
2439
|
|
|
2378
2440
|
statics.add_static('V', V)
|
|
2379
2441
|
|
|
@@ -2387,8 +2449,12 @@ statics.add_static('add_v', add_v)
|
|
|
2387
2449
|
|
|
2388
2450
|
statics.add_static('aggregate', aggregate)
|
|
2389
2451
|
|
|
2452
|
+
statics.add_static('all_', all_)
|
|
2453
|
+
|
|
2390
2454
|
statics.add_static('and_', and_)
|
|
2391
2455
|
|
|
2456
|
+
statics.add_static('any_', any_)
|
|
2457
|
+
|
|
2392
2458
|
statics.add_static('as_', as_)
|
|
2393
2459
|
|
|
2394
2460
|
statics.add_static('as_date', as_date)
|
|
@@ -2419,8 +2485,12 @@ statics.add_static('coalesce', coalesce)
|
|
|
2419
2485
|
|
|
2420
2486
|
statics.add_static('coin', coin)
|
|
2421
2487
|
|
|
2488
|
+
statics.add_static('combine', combine)
|
|
2489
|
+
|
|
2422
2490
|
statics.add_static('concat', concat)
|
|
2423
2491
|
|
|
2492
|
+
statics.add_static('conjoin', conjoin)
|
|
2493
|
+
|
|
2424
2494
|
statics.add_static('constant', constant)
|
|
2425
2495
|
|
|
2426
2496
|
statics.add_static('count', count)
|
|
@@ -2435,6 +2505,10 @@ statics.add_static('date_diff', date_diff)
|
|
|
2435
2505
|
|
|
2436
2506
|
statics.add_static('dedup', dedup)
|
|
2437
2507
|
|
|
2508
|
+
statics.add_static('difference', difference)
|
|
2509
|
+
|
|
2510
|
+
statics.add_static('disjunct', disjunct)
|
|
2511
|
+
|
|
2438
2512
|
statics.add_static('drop', drop)
|
|
2439
2513
|
|
|
2440
2514
|
statics.add_static('element', element)
|
|
@@ -2471,7 +2545,7 @@ statics.add_static('has_id', has_id)
|
|
|
2471
2545
|
|
|
2472
2546
|
statics.add_static('hasKey', hasKey)
|
|
2473
2547
|
|
|
2474
|
-
statics.add_static('has_key',
|
|
2548
|
+
statics.add_static('has_key', has_key)
|
|
2475
2549
|
|
|
2476
2550
|
statics.add_static('hasLabel', hasLabel)
|
|
2477
2551
|
|
|
@@ -2501,6 +2575,8 @@ statics.add_static('index', index)
|
|
|
2501
2575
|
|
|
2502
2576
|
statics.add_static('inject', inject)
|
|
2503
2577
|
|
|
2578
|
+
statics.add_static('intersect', intersect)
|
|
2579
|
+
|
|
2504
2580
|
statics.add_static('is_', is_)
|
|
2505
2581
|
|
|
2506
2582
|
statics.add_static('key', key)
|
|
@@ -2529,12 +2605,16 @@ statics.add_static('max_', max_)
|
|
|
2529
2605
|
|
|
2530
2606
|
statics.add_static('mean', mean)
|
|
2531
2607
|
|
|
2608
|
+
statics.add_static('merge', merge)
|
|
2609
|
+
|
|
2532
2610
|
statics.add_static('merge_e', merge_e)
|
|
2533
2611
|
|
|
2534
2612
|
statics.add_static('merge_v', merge_v)
|
|
2535
2613
|
|
|
2536
2614
|
statics.add_static('min_', min_)
|
|
2537
2615
|
|
|
2616
|
+
statics.add_static('none', none)
|
|
2617
|
+
|
|
2538
2618
|
statics.add_static('not_', not_)
|
|
2539
2619
|
|
|
2540
2620
|
statics.add_static('optional', optional)
|
|
@@ -2559,6 +2639,8 @@ statics.add_static('out_v', out_v)
|
|
|
2559
2639
|
|
|
2560
2640
|
statics.add_static('path', path)
|
|
2561
2641
|
|
|
2642
|
+
statics.add_static('product', product)
|
|
2643
|
+
|
|
2562
2644
|
statics.add_static('project', project)
|
|
2563
2645
|
|
|
2564
2646
|
statics.add_static('properties', properties)
|
|
@@ -1,12 +1,10 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: gremlinpython
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.5
|
|
4
4
|
Summary: Gremlin-Python for Apache TinkerPop
|
|
5
|
-
|
|
6
|
-
Maintainer: Apache TinkerPop
|
|
7
|
-
Maintainer-email: dev@tinkerpop.apache.org
|
|
5
|
+
Maintainer-email: Apache TinkerPop <dev@tinkerpop.apache.org>
|
|
8
6
|
License: Apache 2
|
|
9
|
-
|
|
7
|
+
Project-URL: Homepage, https://tinkerpop.apache.org
|
|
10
8
|
Classifier: Intended Audience :: Developers
|
|
11
9
|
Classifier: License :: OSI Approved :: Apache Software License
|
|
12
10
|
Classifier: Natural Language :: English
|
|
@@ -15,7 +13,7 @@ Requires-Python: >=3.9
|
|
|
15
13
|
Description-Content-Type: text/x-rst
|
|
16
14
|
License-File: LICENSE
|
|
17
15
|
License-File: NOTICE
|
|
18
|
-
Requires-Dist:
|
|
16
|
+
Requires-Dist: nest_asyncio
|
|
19
17
|
Requires-Dist: aiohttp<4.0.0,>=3.8.0
|
|
20
18
|
Requires-Dist: aenum<4.0.0,>=1.4.5
|
|
21
19
|
Requires-Dist: isodate<1.0.0,>=0.6.0
|
|
@@ -24,6 +22,12 @@ Provides-Extra: kerberos
|
|
|
24
22
|
Requires-Dist: kerberos<2.0.0,>=1.3.0; extra == "kerberos"
|
|
25
23
|
Provides-Extra: ujson
|
|
26
24
|
Requires-Dist: ujson>=2.0.0; extra == "ujson"
|
|
25
|
+
Provides-Extra: test
|
|
26
|
+
Requires-Dist: pytest<7.2.0,>=4.6.4; extra == "test"
|
|
27
|
+
Requires-Dist: radish-bdd==0.18.2; extra == "test"
|
|
28
|
+
Requires-Dist: PyHamcrest<3.0.0,>=1.9.0; extra == "test"
|
|
29
|
+
Requires-Dist: PyYAML>=5.3; extra == "test"
|
|
30
|
+
Dynamic: license-file
|
|
27
31
|
|
|
28
32
|
.. Licensed to the Apache Software Foundation (ASF) under one
|
|
29
33
|
.. or more contributor license agreements. See the NOTICE file
|
|
@@ -144,4 +148,3 @@ Update Vertex
|
|
|
144
148
|
|
|
145
149
|
NOTE that versions suffixed with "rc" are considered release candidates (i.e. pre-alpha, alpha, beta, etc.) and
|
|
146
150
|
thus for early testing purposes only. These releases are not suitable for production.
|
|
147
|
-
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
gremlin_python/__init__.py,sha256=
|
|
2
|
-
gremlin_python/__version__.py,sha256=
|
|
1
|
+
gremlin_python/__init__.py,sha256=dw2TaE_kaqkjqc0DVHk8VV_sE2JOVxvpoZdwsEwdBY0,872
|
|
2
|
+
gremlin_python/__version__.py,sha256=cFRWHaN11XhVO1_PgXXCMHBfI0KeXc0i6qEp-HMDZro,800
|
|
3
3
|
gremlin_python/statics.py,sha256=BXnrfx25Todku_U0ddd-zB4eyQMf2paT5uuN9znK2fQ,2849
|
|
4
4
|
gremlin_python/driver/__init__.py,sha256=rbOOdo_19nz_mHTXVc5p8ZXLI5pUGMfXLKQiw7Olu7g,850
|
|
5
5
|
gremlin_python/driver/client.py,sha256=s-6cV2C0EMpvmyZZXWTq8kiFZEFLdn_HmWMF05mrSzU,8166
|
|
@@ -11,12 +11,12 @@ gremlin_python/driver/request.py,sha256=IlqBmQlT2UU95xbY6z1ajlmNQeDZ4ePzT4uF8M0U
|
|
|
11
11
|
gremlin_python/driver/resultset.py,sha256=_-13igfH1zQ72mgreDptPmUaXnadnprERVQTSZWeIl4,2669
|
|
12
12
|
gremlin_python/driver/serializer.py,sha256=wFCPAltRB2F0p9ZFyD0x2thoBmI81gPFZhAkV5XLBOQ,10244
|
|
13
13
|
gremlin_python/driver/transport.py,sha256=aEXb9oS1SMI9oKWYINnWuYhYaosi6FdsOJ7oj6FzkkY,1246
|
|
14
|
-
gremlin_python/driver/useragent.py,sha256=
|
|
14
|
+
gremlin_python/driver/useragent.py,sha256=f2QqZcPLpPLUeyHdSeOojBJWp1ueeiDG7lqjXkA1el8,1588
|
|
15
15
|
gremlin_python/driver/aiohttp/__init__.py,sha256=xzdixoKYCJCe4aRILYqdartQi4Py5fcQWqif3zzyUC8,787
|
|
16
|
-
gremlin_python/driver/aiohttp/transport.py,sha256=
|
|
16
|
+
gremlin_python/driver/aiohttp/transport.py,sha256=ZOfpSOA1ucw1tNnmp23cRukzoy3mVVKLjEkZpEl8EdE,11392
|
|
17
17
|
gremlin_python/process/__init__.py,sha256=rbOOdo_19nz_mHTXVc5p8ZXLI5pUGMfXLKQiw7Olu7g,850
|
|
18
18
|
gremlin_python/process/anonymous_traversal.py,sha256=A8evyPIAciRGiauDqUbyo4XnG3QTdO28l-TF2K7Ir2g,2448
|
|
19
|
-
gremlin_python/process/graph_traversal.py,sha256=
|
|
19
|
+
gremlin_python/process/graph_traversal.py,sha256=Lg2fg6VRKo58fnMhklGypqdn-auLhkM1s2zL6vN3kf0,70928
|
|
20
20
|
gremlin_python/process/strategies.py,sha256=95WIhzvvqejCEDOlhICGji9HgkwTUySGKt-yNCBTTh8,9474
|
|
21
21
|
gremlin_python/process/translator.py,sha256=NuaA2WfepvgDm3DrNa_u2Qvz70s9t6ICbFltPglQwBI,11147
|
|
22
22
|
gremlin_python/process/traversal.py,sha256=3xYpSeZyCxziA2nP3ZEhwfpcnDFBsy0t8utIYy4PG2c,23122
|
|
@@ -27,11 +27,9 @@ gremlin_python/structure/io/graphbinaryV1.py,sha256=TS2_y6e0IcM8eIjTh_jve7wSgErk
|
|
|
27
27
|
gremlin_python/structure/io/graphsonV2d0.py,sha256=uR8qG8H35RxNpqhamT79w6WEHz5ITyyXD5u881C0J-U,22196
|
|
28
28
|
gremlin_python/structure/io/graphsonV3d0.py,sha256=hJcz8KlHhS_BAwvwKC3dA24POZYK22a3W-AETdksCT4,25518
|
|
29
29
|
gremlin_python/structure/io/util.py,sha256=x0OEkGGX2ajgOuSbz1j3dO3_IlOPnPLV4m6SGAmNAeM,1846
|
|
30
|
-
gremlinpython-3.7.
|
|
31
|
-
gremlinpython-3.7.
|
|
32
|
-
gremlinpython-3.7.
|
|
33
|
-
gremlinpython-3.7.
|
|
34
|
-
gremlinpython-3.7.
|
|
35
|
-
gremlinpython-3.7.
|
|
36
|
-
gremlinpython-3.7.3.dist-info/top_level.txt,sha256=VVeR1g-oOCZBmKIaVzZ7fF2BYrnqOWpw7C2H71ksTAU,15
|
|
37
|
-
gremlinpython-3.7.3.dist-info/RECORD,,
|
|
30
|
+
gremlinpython-3.7.5.dist-info/licenses/LICENSE,sha256=WNHhf_5RCaeuKWyq_K39vmp9F28LxKsB4SpomwSZ2L0,11357
|
|
31
|
+
gremlinpython-3.7.5.dist-info/licenses/NOTICE,sha256=8gM_LEyfAHZhVj_v_2rkqb4qlc9GJmPCvKDHOHYGpmM,170
|
|
32
|
+
gremlinpython-3.7.5.dist-info/METADATA,sha256=KKieL-Pf79ioVw2AJ-rcIMXTB3d4XgpvO4ZtRYp1Tlc,6667
|
|
33
|
+
gremlinpython-3.7.5.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
34
|
+
gremlinpython-3.7.5.dist-info/top_level.txt,sha256=VVeR1g-oOCZBmKIaVzZ7fF2BYrnqOWpw7C2H71ksTAU,15
|
|
35
|
+
gremlinpython-3.7.5.dist-info/RECORD,,
|
|
@@ -1,202 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
Apache License
|
|
3
|
-
Version 2.0, January 2004
|
|
4
|
-
http://www.apache.org/licenses/
|
|
5
|
-
|
|
6
|
-
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
7
|
-
|
|
8
|
-
1. Definitions.
|
|
9
|
-
|
|
10
|
-
"License" shall mean the terms and conditions for use, reproduction,
|
|
11
|
-
and distribution as defined by Sections 1 through 9 of this document.
|
|
12
|
-
|
|
13
|
-
"Licensor" shall mean the copyright owner or entity authorized by
|
|
14
|
-
the copyright owner that is granting the License.
|
|
15
|
-
|
|
16
|
-
"Legal Entity" shall mean the union of the acting entity and all
|
|
17
|
-
other entities that control, are controlled by, or are under common
|
|
18
|
-
control with that entity. For the purposes of this definition,
|
|
19
|
-
"control" means (i) the power, direct or indirect, to cause the
|
|
20
|
-
direction or management of such entity, whether by contract or
|
|
21
|
-
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
22
|
-
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
23
|
-
|
|
24
|
-
"You" (or "Your") shall mean an individual or Legal Entity
|
|
25
|
-
exercising permissions granted by this License.
|
|
26
|
-
|
|
27
|
-
"Source" form shall mean the preferred form for making modifications,
|
|
28
|
-
including but not limited to software source code, documentation
|
|
29
|
-
source, and configuration files.
|
|
30
|
-
|
|
31
|
-
"Object" form shall mean any form resulting from mechanical
|
|
32
|
-
transformation or translation of a Source form, including but
|
|
33
|
-
not limited to compiled object code, generated documentation,
|
|
34
|
-
and conversions to other media types.
|
|
35
|
-
|
|
36
|
-
"Work" shall mean the work of authorship, whether in Source or
|
|
37
|
-
Object form, made available under the License, as indicated by a
|
|
38
|
-
copyright notice that is included in or attached to the work
|
|
39
|
-
(an example is provided in the Appendix below).
|
|
40
|
-
|
|
41
|
-
"Derivative Works" shall mean any work, whether in Source or Object
|
|
42
|
-
form, that is based on (or derived from) the Work and for which the
|
|
43
|
-
editorial revisions, annotations, elaborations, or other modifications
|
|
44
|
-
represent, as a whole, an original work of authorship. For the purposes
|
|
45
|
-
of this License, Derivative Works shall not include works that remain
|
|
46
|
-
separable from, or merely link (or bind by name) to the interfaces of,
|
|
47
|
-
the Work and Derivative Works thereof.
|
|
48
|
-
|
|
49
|
-
"Contribution" shall mean any work of authorship, including
|
|
50
|
-
the original version of the Work and any modifications or additions
|
|
51
|
-
to that Work or Derivative Works thereof, that is intentionally
|
|
52
|
-
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
53
|
-
or by an individual or Legal Entity authorized to submit on behalf of
|
|
54
|
-
the copyright owner. For the purposes of this definition, "submitted"
|
|
55
|
-
means any form of electronic, verbal, or written communication sent
|
|
56
|
-
to the Licensor or its representatives, including but not limited to
|
|
57
|
-
communication on electronic mailing lists, source code control systems,
|
|
58
|
-
and issue tracking systems that are managed by, or on behalf of, the
|
|
59
|
-
Licensor for the purpose of discussing and improving the Work, but
|
|
60
|
-
excluding communication that is conspicuously marked or otherwise
|
|
61
|
-
designated in writing by the copyright owner as "Not a Contribution."
|
|
62
|
-
|
|
63
|
-
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
64
|
-
on behalf of whom a Contribution has been received by Licensor and
|
|
65
|
-
subsequently incorporated within the Work.
|
|
66
|
-
|
|
67
|
-
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
68
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
69
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
70
|
-
copyright license to reproduce, prepare Derivative Works of,
|
|
71
|
-
publicly display, publicly perform, sublicense, and distribute the
|
|
72
|
-
Work and such Derivative Works in Source or Object form.
|
|
73
|
-
|
|
74
|
-
3. Grant of Patent License. Subject to the terms and conditions of
|
|
75
|
-
this License, each Contributor hereby grants to You a perpetual,
|
|
76
|
-
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
77
|
-
(except as stated in this section) patent license to make, have made,
|
|
78
|
-
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
79
|
-
where such license applies only to those patent claims licensable
|
|
80
|
-
by such Contributor that are necessarily infringed by their
|
|
81
|
-
Contribution(s) alone or by combination of their Contribution(s)
|
|
82
|
-
with the Work to which such Contribution(s) was submitted. If You
|
|
83
|
-
institute patent litigation against any entity (including a
|
|
84
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
85
|
-
or a Contribution incorporated within the Work constitutes direct
|
|
86
|
-
or contributory patent infringement, then any patent licenses
|
|
87
|
-
granted to You under this License for that Work shall terminate
|
|
88
|
-
as of the date such litigation is filed.
|
|
89
|
-
|
|
90
|
-
4. Redistribution. You may reproduce and distribute copies of the
|
|
91
|
-
Work or Derivative Works thereof in any medium, with or without
|
|
92
|
-
modifications, and in Source or Object form, provided that You
|
|
93
|
-
meet the following conditions:
|
|
94
|
-
|
|
95
|
-
(a) You must give any other recipients of the Work or
|
|
96
|
-
Derivative Works a copy of this License; and
|
|
97
|
-
|
|
98
|
-
(b) You must cause any modified files to carry prominent notices
|
|
99
|
-
stating that You changed the files; and
|
|
100
|
-
|
|
101
|
-
(c) You must retain, in the Source form of any Derivative Works
|
|
102
|
-
that You distribute, all copyright, patent, trademark, and
|
|
103
|
-
attribution notices from the Source form of the Work,
|
|
104
|
-
excluding those notices that do not pertain to any part of
|
|
105
|
-
the Derivative Works; and
|
|
106
|
-
|
|
107
|
-
(d) If the Work includes a "NOTICE" text file as part of its
|
|
108
|
-
distribution, then any Derivative Works that You distribute must
|
|
109
|
-
include a readable copy of the attribution notices contained
|
|
110
|
-
within such NOTICE file, excluding those notices that do not
|
|
111
|
-
pertain to any part of the Derivative Works, in at least one
|
|
112
|
-
of the following places: within a NOTICE text file distributed
|
|
113
|
-
as part of the Derivative Works; within the Source form or
|
|
114
|
-
documentation, if provided along with the Derivative Works; or,
|
|
115
|
-
within a display generated by the Derivative Works, if and
|
|
116
|
-
wherever such third-party notices normally appear. The contents
|
|
117
|
-
of the NOTICE file are for informational purposes only and
|
|
118
|
-
do not modify the License. You may add Your own attribution
|
|
119
|
-
notices within Derivative Works that You distribute, alongside
|
|
120
|
-
or as an addendum to the NOTICE text from the Work, provided
|
|
121
|
-
that such additional attribution notices cannot be construed
|
|
122
|
-
as modifying the License.
|
|
123
|
-
|
|
124
|
-
You may add Your own copyright statement to Your modifications and
|
|
125
|
-
may provide additional or different license terms and conditions
|
|
126
|
-
for use, reproduction, or distribution of Your modifications, or
|
|
127
|
-
for any such Derivative Works as a whole, provided Your use,
|
|
128
|
-
reproduction, and distribution of the Work otherwise complies with
|
|
129
|
-
the conditions stated in this License.
|
|
130
|
-
|
|
131
|
-
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
132
|
-
any Contribution intentionally submitted for inclusion in the Work
|
|
133
|
-
by You to the Licensor shall be under the terms and conditions of
|
|
134
|
-
this License, without any additional terms or conditions.
|
|
135
|
-
Notwithstanding the above, nothing herein shall supersede or modify
|
|
136
|
-
the terms of any separate license agreement you may have executed
|
|
137
|
-
with Licensor regarding such Contributions.
|
|
138
|
-
|
|
139
|
-
6. Trademarks. This License does not grant permission to use the trade
|
|
140
|
-
names, trademarks, service marks, or product names of the Licensor,
|
|
141
|
-
except as required for reasonable and customary use in describing the
|
|
142
|
-
origin of the Work and reproducing the content of the NOTICE file.
|
|
143
|
-
|
|
144
|
-
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
145
|
-
agreed to in writing, Licensor provides the Work (and each
|
|
146
|
-
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
147
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
148
|
-
implied, including, without limitation, any warranties or conditions
|
|
149
|
-
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
150
|
-
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
151
|
-
appropriateness of using or redistributing the Work and assume any
|
|
152
|
-
risks associated with Your exercise of permissions under this License.
|
|
153
|
-
|
|
154
|
-
8. Limitation of Liability. In no event and under no legal theory,
|
|
155
|
-
whether in tort (including negligence), contract, or otherwise,
|
|
156
|
-
unless required by applicable law (such as deliberate and grossly
|
|
157
|
-
negligent acts) or agreed to in writing, shall any Contributor be
|
|
158
|
-
liable to You for damages, including any direct, indirect, special,
|
|
159
|
-
incidental, or consequential damages of any character arising as a
|
|
160
|
-
result of this License or out of the use or inability to use the
|
|
161
|
-
Work (including but not limited to damages for loss of goodwill,
|
|
162
|
-
work stoppage, computer failure or malfunction, or any and all
|
|
163
|
-
other commercial damages or losses), even if such Contributor
|
|
164
|
-
has been advised of the possibility of such damages.
|
|
165
|
-
|
|
166
|
-
9. Accepting Warranty or Additional Liability. While redistributing
|
|
167
|
-
the Work or Derivative Works thereof, You may choose to offer,
|
|
168
|
-
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
169
|
-
or other liability obligations and/or rights consistent with this
|
|
170
|
-
License. However, in accepting such obligations, You may act only
|
|
171
|
-
on Your own behalf and on Your sole responsibility, not on behalf
|
|
172
|
-
of any other Contributor, and only if You agree to indemnify,
|
|
173
|
-
defend, and hold each Contributor harmless for any liability
|
|
174
|
-
incurred by, or claims asserted against, such Contributor by reason
|
|
175
|
-
of your accepting any such warranty or additional liability.
|
|
176
|
-
|
|
177
|
-
END OF TERMS AND CONDITIONS
|
|
178
|
-
|
|
179
|
-
APPENDIX: How to apply the Apache License to your work.
|
|
180
|
-
|
|
181
|
-
To apply the Apache License to your work, attach the following
|
|
182
|
-
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
183
|
-
replaced with your own identifying information. (Don't include
|
|
184
|
-
the brackets!) The text should be enclosed in the appropriate
|
|
185
|
-
comment syntax for the file format. We also recommend that a
|
|
186
|
-
file or class name and description of purpose be included on the
|
|
187
|
-
same "printed page" as the copyright notice for easier
|
|
188
|
-
identification within third-party archives.
|
|
189
|
-
|
|
190
|
-
Copyright [yyyy] [name of copyright owner]
|
|
191
|
-
|
|
192
|
-
Licensed under the Apache License, Version 2.0 (the "License");
|
|
193
|
-
you may not use this file except in compliance with the License.
|
|
194
|
-
You may obtain a copy of the License at
|
|
195
|
-
|
|
196
|
-
http://www.apache.org/licenses/LICENSE-2.0
|
|
197
|
-
|
|
198
|
-
Unless required by applicable law or agreed to in writing, software
|
|
199
|
-
distributed under the License is distributed on an "AS IS" BASIS,
|
|
200
|
-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
201
|
-
See the License for the specific language governing permissions and
|
|
202
|
-
limitations under the License.
|
|
File without changes
|
|
File without changes
|