gremlinpython 3.7.7__tar.gz → 3.7.8__tar.gz
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.
- {gremlinpython-3.7.7/gremlinpython.egg-info → gremlinpython-3.7.8}/PKG-INFO +6 -4
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/__init__.py +1 -1
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/aiohttp/transport.py +6 -6
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/useragent.py +1 -1
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/io/graphbinaryV1.py +13 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8/gremlinpython.egg-info}/PKG-INFO +6 -4
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlinpython.egg-info/requires.txt +2 -2
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/pyproject.toml +6 -4
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/LICENSE +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/MANIFEST.in +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/NOTICE +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/README.rst +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/__init__.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/aiohttp/__init__.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/client.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/connection.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/driver_remote_connection.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/protocol.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/remote_connection.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/request.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/resultset.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/serializer.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/transport.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/__init__.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/anonymous_traversal.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/graph_traversal.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/strategies.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/translator.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/process/traversal.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/statics.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/__init__.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/graph.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/io/__init__.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/io/graphsonV2d0.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/io/graphsonV3d0.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/structure/io/util.py +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlinpython.egg-info/SOURCES.txt +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlinpython.egg-info/dependency_links.txt +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlinpython.egg-info/top_level.txt +0 -0
- {gremlinpython-3.7.7 → gremlinpython-3.7.8}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gremlinpython
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.8
|
|
4
4
|
Summary: Gremlin-Python for Apache TinkerPop
|
|
5
5
|
Maintainer-email: Apache TinkerPop <dev@tinkerpop.apache.org>
|
|
6
6
|
License: Apache 2
|
|
@@ -14,11 +14,13 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
|
+
Requires-Python: <3.16,>=3.9
|
|
18
20
|
Description-Content-Type: text/x-rst
|
|
19
21
|
License-File: LICENSE
|
|
20
22
|
License-File: NOTICE
|
|
21
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: nest-asyncio2<2.0.0,>=1.7.3
|
|
22
24
|
Requires-Dist: aiohttp<4.0.0,>=3.8.0
|
|
23
25
|
Requires-Dist: aenum<4.0.0,>=1.4.5
|
|
24
26
|
Requires-Dist: isodate<1.0.0,>=0.6.0
|
|
@@ -28,7 +30,7 @@ Requires-Dist: kerberos<2.0.0,>=1.3.0; extra == "kerberos"
|
|
|
28
30
|
Provides-Extra: ujson
|
|
29
31
|
Requires-Dist: ujson>=2.0.0; extra == "ujson"
|
|
30
32
|
Provides-Extra: test
|
|
31
|
-
Requires-Dist: pytest<
|
|
33
|
+
Requires-Dist: pytest<8.0.0,>=4.6.4; extra == "test"
|
|
32
34
|
Requires-Dist: radish-bdd==0.18.2; extra == "test"
|
|
33
35
|
Requires-Dist: lxml==5.3.0; extra == "test"
|
|
34
36
|
Requires-Dist: PyHamcrest<3.0.0,>=1.9.0; extra == "test"
|
|
@@ -34,12 +34,12 @@ class AiohttpTransport(AbstractBaseTransport):
|
|
|
34
34
|
if call_from_event_loop is not None and call_from_event_loop and not AiohttpTransport.nest_asyncio_applied:
|
|
35
35
|
"""
|
|
36
36
|
The AiohttpTransport implementation uses the asyncio event loop. Because of this, it cannot be called
|
|
37
|
-
within an event loop without
|
|
37
|
+
within an event loop without nest_asyncio2. If the code is ever refactored so that it can be called
|
|
38
38
|
within an event loop this import and call can be removed. Without this, applications which use the
|
|
39
39
|
event loop to call gremlin-python (such as Jupyter) will not work.
|
|
40
40
|
"""
|
|
41
|
-
import
|
|
42
|
-
|
|
41
|
+
import nest_asyncio2
|
|
42
|
+
nest_asyncio2.apply()
|
|
43
43
|
AiohttpTransport.nest_asyncio_applied = True
|
|
44
44
|
|
|
45
45
|
# Start event loop and initialize websocket and client to None
|
|
@@ -153,12 +153,12 @@ class AiohttpHTTPTransport(AbstractBaseTransport):
|
|
|
153
153
|
if call_from_event_loop is not None and call_from_event_loop and not AiohttpTransport.nest_asyncio_applied:
|
|
154
154
|
"""
|
|
155
155
|
The AiohttpTransport implementation uses the asyncio event loop. Because of this, it cannot be called
|
|
156
|
-
within an event loop without
|
|
156
|
+
within an event loop without nest_asyncio2. If the code is ever refactored so that it can be called
|
|
157
157
|
within an event loop this import and call can be removed. Without this, applications which use the
|
|
158
158
|
event loop to call gremlin-python (such as Jupyter) will not work.
|
|
159
159
|
"""
|
|
160
|
-
import
|
|
161
|
-
|
|
160
|
+
import nest_asyncio2
|
|
161
|
+
nest_asyncio2.apply()
|
|
162
162
|
AiohttpTransport.nest_asyncio_applied = True
|
|
163
163
|
|
|
164
164
|
# Start event loop and initialize client session and response to None
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
#
|
|
19
19
|
import platform
|
|
20
20
|
|
|
21
|
-
gremlin_version = "3.7.
|
|
21
|
+
gremlin_version = "3.7.8" # DO NOT MODIFY - Configured automatically by Maven Replacer Plugin
|
|
22
22
|
|
|
23
23
|
def _generate_user_agent():
|
|
24
24
|
application_name = "NotAvailable"
|
|
@@ -276,6 +276,19 @@ class IntIO(LongIO):
|
|
|
276
276
|
byte_format_pack = int32_pack
|
|
277
277
|
byte_format_unpack = int32_unpack
|
|
278
278
|
|
|
279
|
+
@classmethod
|
|
280
|
+
def dictify(cls, obj, writer, to_extend, as_value=False, nullable=True):
|
|
281
|
+
# Python has one arbitrary precision int type, so every plain int arrives here
|
|
282
|
+
# regardless of magnitude. Anything outside the Java int range is written as a Long
|
|
283
|
+
# instead of reaching int32_pack, which fails with a bare struct.error. GraphSON
|
|
284
|
+
# coerces the same way (TINKERPOP-2360), and statics.long and statics.bigint stay
|
|
285
|
+
# available as explicit overrides. Promotion needs a type code in front of the
|
|
286
|
+
# value, so a value-only write keeps the fixed int32 layout.
|
|
287
|
+
if not as_value and not (-2147483648 <= obj <= 2147483647):
|
|
288
|
+
return LongIO.dictify(obj, writer, to_extend, as_value, nullable)
|
|
289
|
+
|
|
290
|
+
return super().dictify(obj, writer, to_extend, as_value, nullable)
|
|
291
|
+
|
|
279
292
|
@classmethod
|
|
280
293
|
def objectify(cls, buff, reader, nullable=True):
|
|
281
294
|
return cls.is_null(buff, reader, lambda b, r: cls.read_int(b), nullable)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gremlinpython
|
|
3
|
-
Version: 3.7.
|
|
3
|
+
Version: 3.7.8
|
|
4
4
|
Summary: Gremlin-Python for Apache TinkerPop
|
|
5
5
|
Maintainer-email: Apache TinkerPop <dev@tinkerpop.apache.org>
|
|
6
6
|
License: Apache 2
|
|
@@ -14,11 +14,13 @@ Classifier: Programming Language :: Python :: 3.10
|
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
16
|
Classifier: Programming Language :: Python :: 3.13
|
|
17
|
-
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
19
|
+
Requires-Python: <3.16,>=3.9
|
|
18
20
|
Description-Content-Type: text/x-rst
|
|
19
21
|
License-File: LICENSE
|
|
20
22
|
License-File: NOTICE
|
|
21
|
-
Requires-Dist:
|
|
23
|
+
Requires-Dist: nest-asyncio2<2.0.0,>=1.7.3
|
|
22
24
|
Requires-Dist: aiohttp<4.0.0,>=3.8.0
|
|
23
25
|
Requires-Dist: aenum<4.0.0,>=1.4.5
|
|
24
26
|
Requires-Dist: isodate<1.0.0,>=0.6.0
|
|
@@ -28,7 +30,7 @@ Requires-Dist: kerberos<2.0.0,>=1.3.0; extra == "kerberos"
|
|
|
28
30
|
Provides-Extra: ujson
|
|
29
31
|
Requires-Dist: ujson>=2.0.0; extra == "ujson"
|
|
30
32
|
Provides-Extra: test
|
|
31
|
-
Requires-Dist: pytest<
|
|
33
|
+
Requires-Dist: pytest<8.0.0,>=4.6.4; extra == "test"
|
|
32
34
|
Requires-Dist: radish-bdd==0.18.2; extra == "test"
|
|
33
35
|
Requires-Dist: lxml==5.3.0; extra == "test"
|
|
34
36
|
Requires-Dist: PyHamcrest<3.0.0,>=1.9.0; extra == "test"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
nest-asyncio2<2.0.0,>=1.7.3
|
|
2
2
|
aiohttp<4.0.0,>=3.8.0
|
|
3
3
|
aenum<4.0.0,>=1.4.5
|
|
4
4
|
isodate<1.0.0,>=0.6.0
|
|
@@ -8,7 +8,7 @@ async-timeout<5.0.0,>=4.0.3
|
|
|
8
8
|
kerberos<2.0.0,>=1.3.0
|
|
9
9
|
|
|
10
10
|
[test]
|
|
11
|
-
pytest<
|
|
11
|
+
pytest<8.0.0,>=4.6.4
|
|
12
12
|
radish-bdd==0.18.2
|
|
13
13
|
lxml==5.3.0
|
|
14
14
|
PyHamcrest<3.0.0,>=1.9.0
|
|
@@ -26,9 +26,9 @@ description = "Gremlin-Python for Apache TinkerPop"
|
|
|
26
26
|
readme = {file = "README.rst", content-type = "text/x-rst"}
|
|
27
27
|
license = {text = "Apache 2"}
|
|
28
28
|
maintainers = [{name = "Apache TinkerPop", email = "dev@tinkerpop.apache.org"}]
|
|
29
|
-
requires-python = ">=3.9,<3.
|
|
29
|
+
requires-python = ">=3.9,<3.16"
|
|
30
30
|
dependencies = [
|
|
31
|
-
"
|
|
31
|
+
"nest-asyncio2>=1.7.3,<2.0.0",
|
|
32
32
|
"aiohttp>=3.8.0,<4.0.0",
|
|
33
33
|
"aenum>=1.4.5,<4.0.0",
|
|
34
34
|
"isodate>=0.6.0,<1.0.0",
|
|
@@ -43,7 +43,9 @@ classifiers = [
|
|
|
43
43
|
"Programming Language :: Python :: 3.10",
|
|
44
44
|
"Programming Language :: Python :: 3.11",
|
|
45
45
|
"Programming Language :: Python :: 3.12",
|
|
46
|
-
"Programming Language :: Python :: 3.13"
|
|
46
|
+
"Programming Language :: Python :: 3.13",
|
|
47
|
+
"Programming Language :: Python :: 3.14",
|
|
48
|
+
"Programming Language :: Python :: 3.15"
|
|
47
49
|
]
|
|
48
50
|
|
|
49
51
|
[project.urls]
|
|
@@ -53,7 +55,7 @@ Homepage = "https://tinkerpop.apache.org"
|
|
|
53
55
|
kerberos = ["kerberos>=1.3.0,<2.0.0"]
|
|
54
56
|
ujson = ["ujson>=2.0.0"]
|
|
55
57
|
test = [
|
|
56
|
-
"pytest>=4.6.4,<
|
|
58
|
+
"pytest>=4.6.4,<8.0.0",
|
|
57
59
|
"radish-bdd==0.18.2",
|
|
58
60
|
"lxml==5.3.0",
|
|
59
61
|
"PyHamcrest>=1.9.0,<3.0.0",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gremlinpython-3.7.7 → gremlinpython-3.7.8}/gremlin_python/driver/driver_remote_connection.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|