valkey-glide 2.1.0rc4__tar.gz → 2.1.0rc6__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.
Potentially problematic release.
This version of valkey-glide might be problematic. Click here for more details.
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/Cargo.lock +33 -49
- valkey_glide-2.1.0rc6/PKG-INFO +210 -0
- valkey_glide-2.1.0rc6/README.md +189 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/pyproject.toml +2 -1
- valkey_glide-2.1.0rc4/PKG-INFO +0 -18
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/.cargo/config.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/Cargo.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/THIRD_PARTY_LICENSES_PYTHON_ASYNC +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/.cargo/config.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/.ort.yml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/Cargo.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/README.md +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/THIRD_PARTY_LICENSES_RUST +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/benches/connections_benchmark.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/benches/memory_benchmark.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/benches/rotating_buffer_benchmark.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/build.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/reconnecting_connection.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/standalone_client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/types.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/value_conversion.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/cluster_scan_container.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/errors.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/lib.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/protobuf/command_request.proto +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/protobuf/connection_request.proto +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/protobuf/response.proto +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/request_type.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/rotating_buffer.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/scripts_container.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/socket_listener.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/test_client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/test_cluster_client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/test_socket_listener.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/test_standalone_client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/utilities/cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/utilities/mocks.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/utilities/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/logger_core/Cargo.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/logger_core/src/lib.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/logger_core/tests/test_logger.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/CHANGELOG.md +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/Cargo.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/LICENSE +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/benches/bench_basic.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/benches/bench_cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/benches/bench_cluster_async.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-await.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-multiplexed.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-pub-sub.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-scan.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/basic.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/release.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/connection.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/connection_manager.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/multiplexed_connection.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/runtime.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/tokio.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/LICENSE +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/connections_container.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/connections_logic.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/pipeline_routing.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_client.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_pipeline.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_routing.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_slotmap.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_topology.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cmd.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/commands/cluster_scan.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/commands/macros.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/commands/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/connection.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/lib.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/macros.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/parser.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/pipeline.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/push_manager.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/retry_strategies.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/sentinel.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/tls.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/types.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/auth.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/parser.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/mock_cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/mod.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/sentinel.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/util.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_async.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_async_cluster_connections_logic.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_basic.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster_async.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster_pipeline.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster_scan.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_sentinel.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_types.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/telemetrylib/Cargo.toml +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/telemetrylib/src/lib.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/telemetrylib/src/metrics_exporter_file.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/telemetrylib/src/open_telemetry.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/telemetrylib/src/span_exporter_file.rs +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/__init__.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/__init__.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/cluster_commands.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/core.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/ft.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/glide_json.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/standalone_commands.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/glide.pyi +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/glide_client.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/logger.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/opentelemetry.py +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/requirements.txt +0 -0
- {valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/src/lib.rs +0 -0
|
@@ -94,9 +94,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
|
|
|
94
94
|
|
|
95
95
|
[[package]]
|
|
96
96
|
name = "aws-lc-rs"
|
|
97
|
-
version = "1.
|
|
97
|
+
version = "1.14.0"
|
|
98
98
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
-
checksum = "
|
|
99
|
+
checksum = "94b8ff6c09cd57b16da53641caa860168b88c172a5ee163b0288d3d6eea12786"
|
|
100
100
|
dependencies = [
|
|
101
101
|
"aws-lc-sys",
|
|
102
102
|
"zeroize",
|
|
@@ -104,9 +104,9 @@ dependencies = [
|
|
|
104
104
|
|
|
105
105
|
[[package]]
|
|
106
106
|
name = "aws-lc-sys"
|
|
107
|
-
version = "0.
|
|
107
|
+
version = "0.31.0"
|
|
108
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
109
|
-
checksum = "
|
|
109
|
+
checksum = "0e44d16778acaf6a9ec9899b92cebd65580b83f685446bf2e1f5d3d732f99dcd"
|
|
110
110
|
dependencies = [
|
|
111
111
|
"bindgen",
|
|
112
112
|
"cc",
|
|
@@ -185,16 +185,14 @@ checksum = "72b3254f16251a8381aa12e40e3c4d2f0199f8c6508fbecb9d91f575e0fbb8c6"
|
|
|
185
185
|
|
|
186
186
|
[[package]]
|
|
187
187
|
name = "bindgen"
|
|
188
|
-
version = "0.
|
|
188
|
+
version = "0.72.1"
|
|
189
189
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
190
|
-
checksum = "
|
|
190
|
+
checksum = "993776b509cfb49c750f11b8f07a46fa23e0a1386ffc01fb1e7d343efc387895"
|
|
191
191
|
dependencies = [
|
|
192
192
|
"bitflags",
|
|
193
193
|
"cexpr",
|
|
194
194
|
"clang-sys",
|
|
195
|
-
"itertools 0.
|
|
196
|
-
"lazy_static",
|
|
197
|
-
"lazycell",
|
|
195
|
+
"itertools 0.13.0",
|
|
198
196
|
"log",
|
|
199
197
|
"prettyplease",
|
|
200
198
|
"proc-macro2",
|
|
@@ -203,7 +201,6 @@ dependencies = [
|
|
|
203
201
|
"rustc-hash",
|
|
204
202
|
"shlex",
|
|
205
203
|
"syn",
|
|
206
|
-
"which",
|
|
207
204
|
]
|
|
208
205
|
|
|
209
206
|
[[package]]
|
|
@@ -626,7 +623,7 @@ dependencies = [
|
|
|
626
623
|
"cfg-if",
|
|
627
624
|
"libc",
|
|
628
625
|
"r-efi",
|
|
629
|
-
"wasi 0.14.
|
|
626
|
+
"wasi 0.14.5+wasi-0.2.4",
|
|
630
627
|
]
|
|
631
628
|
|
|
632
629
|
[[package]]
|
|
@@ -1027,9 +1024,9 @@ dependencies = [
|
|
|
1027
1024
|
|
|
1028
1025
|
[[package]]
|
|
1029
1026
|
name = "itertools"
|
|
1030
|
-
version = "0.
|
|
1027
|
+
version = "0.13.0"
|
|
1031
1028
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1032
|
-
checksum = "
|
|
1029
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
1033
1030
|
dependencies = [
|
|
1034
1031
|
"either",
|
|
1035
1032
|
]
|
|
@@ -1097,12 +1094,6 @@ version = "1.5.0"
|
|
|
1097
1094
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1098
1095
|
checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
1099
1096
|
|
|
1100
|
-
[[package]]
|
|
1101
|
-
name = "lazycell"
|
|
1102
|
-
version = "1.3.0"
|
|
1103
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1104
|
-
checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
1105
|
-
|
|
1106
1097
|
[[package]]
|
|
1107
1098
|
name = "libc"
|
|
1108
1099
|
version = "0.2.175"
|
|
@@ -1135,12 +1126,6 @@ version = "0.4.15"
|
|
|
1135
1126
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1136
1127
|
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
|
|
1137
1128
|
|
|
1138
|
-
[[package]]
|
|
1139
|
-
name = "linux-raw-sys"
|
|
1140
|
-
version = "0.9.4"
|
|
1141
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1142
|
-
checksum = "cd945864f07fe9f5371a27ad7b52a172b4b499999f1d97574c9fa68373937e12"
|
|
1143
|
-
|
|
1144
1129
|
[[package]]
|
|
1145
1130
|
name = "linux-raw-sys"
|
|
1146
1131
|
version = "0.11.0"
|
|
@@ -1886,9 +1871,9 @@ checksum = "56f7d92ca342cea22a06f2121d944b4fd82af56988c270852495420f961d4ace"
|
|
|
1886
1871
|
|
|
1887
1872
|
[[package]]
|
|
1888
1873
|
name = "rustc-hash"
|
|
1889
|
-
version = "1.1
|
|
1874
|
+
version = "2.1.1"
|
|
1890
1875
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1891
|
-
checksum = "
|
|
1876
|
+
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
|
|
1892
1877
|
|
|
1893
1878
|
[[package]]
|
|
1894
1879
|
name = "rustix"
|
|
@@ -1905,15 +1890,14 @@ dependencies = [
|
|
|
1905
1890
|
|
|
1906
1891
|
[[package]]
|
|
1907
1892
|
name = "rustix"
|
|
1908
|
-
version = "1.1.
|
|
1893
|
+
version = "1.1.2"
|
|
1909
1894
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1910
|
-
checksum = "
|
|
1895
|
+
checksum = "cd15f8a2c5551a84d56efdc1cd049089e409ac19a3072d5037a17fd70719ff3e"
|
|
1911
1896
|
dependencies = [
|
|
1912
1897
|
"bitflags",
|
|
1913
1898
|
"errno",
|
|
1914
1899
|
"libc",
|
|
1915
1900
|
"linux-raw-sys 0.11.0",
|
|
1916
|
-
"linux-raw-sys 0.9.4",
|
|
1917
1901
|
"windows-sys 0.61.0",
|
|
1918
1902
|
]
|
|
1919
1903
|
|
|
@@ -2220,9 +2204,9 @@ dependencies = [
|
|
|
2220
2204
|
|
|
2221
2205
|
[[package]]
|
|
2222
2206
|
name = "target-lexicon"
|
|
2223
|
-
version = "0.13.
|
|
2207
|
+
version = "0.13.3"
|
|
2224
2208
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2225
|
-
checksum = "
|
|
2209
|
+
checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
|
|
2226
2210
|
|
|
2227
2211
|
[[package]]
|
|
2228
2212
|
name = "telemetrylib"
|
|
@@ -2246,15 +2230,15 @@ dependencies = [
|
|
|
2246
2230
|
|
|
2247
2231
|
[[package]]
|
|
2248
2232
|
name = "tempfile"
|
|
2249
|
-
version = "3.
|
|
2233
|
+
version = "3.22.0"
|
|
2250
2234
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2251
|
-
checksum = "
|
|
2235
|
+
checksum = "84fa4d11fadde498443cca10fd3ac23c951f0dc59e080e9f4b93d4df4e4eea53"
|
|
2252
2236
|
dependencies = [
|
|
2253
2237
|
"fastrand",
|
|
2254
2238
|
"getrandom 0.3.3",
|
|
2255
2239
|
"once_cell",
|
|
2256
|
-
"rustix 1.1.
|
|
2257
|
-
"windows-sys 0.
|
|
2240
|
+
"rustix 1.1.2",
|
|
2241
|
+
"windows-sys 0.61.0",
|
|
2258
2242
|
]
|
|
2259
2243
|
|
|
2260
2244
|
[[package]]
|
|
@@ -2593,9 +2577,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b"
|
|
|
2593
2577
|
|
|
2594
2578
|
[[package]]
|
|
2595
2579
|
name = "unicode-ident"
|
|
2596
|
-
version = "1.0.
|
|
2580
|
+
version = "1.0.19"
|
|
2597
2581
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2598
|
-
checksum = "
|
|
2582
|
+
checksum = "f63a545481291138910575129486daeaf8ac54aee4387fe7906919f7830c7d9d"
|
|
2599
2583
|
|
|
2600
2584
|
[[package]]
|
|
2601
2585
|
name = "unindent"
|
|
@@ -2693,9 +2677,18 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
2693
2677
|
|
|
2694
2678
|
[[package]]
|
|
2695
2679
|
name = "wasi"
|
|
2696
|
-
version = "0.14.
|
|
2680
|
+
version = "0.14.5+wasi-0.2.4"
|
|
2697
2681
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2698
|
-
checksum = "
|
|
2682
|
+
checksum = "a4494f6290a82f5fe584817a676a34b9d6763e8d9d18204009fb31dceca98fd4"
|
|
2683
|
+
dependencies = [
|
|
2684
|
+
"wasip2",
|
|
2685
|
+
]
|
|
2686
|
+
|
|
2687
|
+
[[package]]
|
|
2688
|
+
name = "wasip2"
|
|
2689
|
+
version = "1.0.0+wasi-0.2.4"
|
|
2690
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2691
|
+
checksum = "03fa2761397e5bd52002cd7e73110c71af2109aca4e521a9f40473fe685b0a24"
|
|
2699
2692
|
dependencies = [
|
|
2700
2693
|
"wit-bindgen",
|
|
2701
2694
|
]
|
|
@@ -2904,15 +2897,6 @@ dependencies = [
|
|
|
2904
2897
|
"windows-targets 0.52.6",
|
|
2905
2898
|
]
|
|
2906
2899
|
|
|
2907
|
-
[[package]]
|
|
2908
|
-
name = "windows-sys"
|
|
2909
|
-
version = "0.60.2"
|
|
2910
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2911
|
-
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
2912
|
-
dependencies = [
|
|
2913
|
-
"windows-targets 0.53.3",
|
|
2914
|
-
]
|
|
2915
|
-
|
|
2916
2900
|
[[package]]
|
|
2917
2901
|
name = "windows-sys"
|
|
2918
2902
|
version = "0.61.0"
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: valkey-glide
|
|
3
|
+
Version: 2.1.0rc6
|
|
4
|
+
Classifier: Topic :: Database
|
|
5
|
+
Classifier: Topic :: Utilities
|
|
6
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
7
|
+
Classifier: Intended Audience :: Developers
|
|
8
|
+
Classifier: Topic :: Software Development
|
|
9
|
+
Classifier: Programming Language :: Rust
|
|
10
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
+
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
12
|
+
Requires-Dist: anyio>=4.9.0
|
|
13
|
+
Requires-Dist: protobuf>=6.20
|
|
14
|
+
Requires-Dist: typing-extensions>=4.8.0; python_version < '3.11'
|
|
15
|
+
Summary: Valkey GLIDE Async client. Supports Valkey and Redis OSS.
|
|
16
|
+
Author: Valkey GLIDE Maintainers
|
|
17
|
+
License: Apache-2.0
|
|
18
|
+
Requires-Python: >=3.9
|
|
19
|
+
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
20
|
+
|
|
21
|
+
# Welcome to Valkey GLIDE!
|
|
22
|
+
|
|
23
|
+
Valkey General Language Independent Driver for the Enterprise (GLIDE) is the official open-source Valkey client library, proudly part of the Valkey organization. Our mission is to make your experience with Valkey and Redis OSS seamless and enjoyable. Whether you're a seasoned developer or just starting out, Valkey GLIDE is here to support you every step of the way.
|
|
24
|
+
|
|
25
|
+
# Why Choose Valkey GLIDE?
|
|
26
|
+
|
|
27
|
+
- **Community and Open Source**: Join our vibrant community and contribute to the project. We are always here to respond, and the client is for the community.
|
|
28
|
+
- **Reliability**: Built with best practices learned from over a decade of operating Redis OSS-compatible services.
|
|
29
|
+
- **Performance**: Optimized for high performance and low latency.
|
|
30
|
+
- **High Availability**: Designed to ensure your applications are always up and running.
|
|
31
|
+
- **Cross-Language Support**: Implemented using a core driver framework written in Rust, with language-specific extensions to ensure consistency and reduce complexity.
|
|
32
|
+
- **Stability and Fault Tolerance**: We brought our years of experience to create a bulletproof client.
|
|
33
|
+
- **Backed and Supported by AWS and GCP**: Ensuring robust support and continuous improvement of the project.
|
|
34
|
+
|
|
35
|
+
## Documentation
|
|
36
|
+
|
|
37
|
+
See GLIDE's [documentation site](https://valkey.io/valkey-glide/).
|
|
38
|
+
Visit our [wiki](https://github.com/valkey-io/valkey-glide/wiki/Python-wrapper) for examples and further details on TLS, Read strategy, Timeouts and various other configurations.
|
|
39
|
+
|
|
40
|
+
## Supported Engine Versions
|
|
41
|
+
|
|
42
|
+
Refer to the [Supported Engine Versions table](https://github.com/valkey-io/valkey-glide/blob/main/README.md#supported-engine-versions) for details.
|
|
43
|
+
|
|
44
|
+
# Getting Started - Python Wrapper
|
|
45
|
+
|
|
46
|
+
## System Requirements
|
|
47
|
+
|
|
48
|
+
The release of Valkey GLIDE was tested on the following platforms:
|
|
49
|
+
|
|
50
|
+
Linux:
|
|
51
|
+
|
|
52
|
+
- Ubuntu 20 (x86_64/amd64 and arm64/aarch64)
|
|
53
|
+
- Amazon Linux 2 (AL2) and 2023 (AL2023) (x86_64)
|
|
54
|
+
|
|
55
|
+
**Note: Currently Alpine Linux / MUSL is NOT supported.**
|
|
56
|
+
|
|
57
|
+
macOS:
|
|
58
|
+
|
|
59
|
+
- macOS 14.7 (Apple silicon/aarch_64)
|
|
60
|
+
- macOS 13.7 (x86_64/amd64)
|
|
61
|
+
|
|
62
|
+
## Python Supported Versions
|
|
63
|
+
|
|
64
|
+
| Python Version |
|
|
65
|
+
|----------------|
|
|
66
|
+
| 3.9 |
|
|
67
|
+
| 3.10 |
|
|
68
|
+
| 3.11 |
|
|
69
|
+
| 3.12 |
|
|
70
|
+
| 3.13 |
|
|
71
|
+
|
|
72
|
+
Valkey GLIDE transparently supports both the `asyncio` and `trio` concurrency frameworks.
|
|
73
|
+
|
|
74
|
+
## Installation and Setup
|
|
75
|
+
|
|
76
|
+
### ✅ Async Client
|
|
77
|
+
|
|
78
|
+
To install the async version:
|
|
79
|
+
|
|
80
|
+
```bash
|
|
81
|
+
pip install valkey-glide
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
Verify installation:
|
|
85
|
+
|
|
86
|
+
```bash
|
|
87
|
+
python3
|
|
88
|
+
>>> import glide
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
### ✅ Sync Client
|
|
92
|
+
|
|
93
|
+
To install the sync version:
|
|
94
|
+
|
|
95
|
+
```bash
|
|
96
|
+
pip install valkey-glide-sync
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Verify installation:
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
python3
|
|
103
|
+
>>> import glide_sync
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
---
|
|
107
|
+
|
|
108
|
+
## Basic Examples
|
|
109
|
+
|
|
110
|
+
### 🔁 Async Client
|
|
111
|
+
|
|
112
|
+
### ✅ Async Cluster Mode
|
|
113
|
+
|
|
114
|
+
```python
|
|
115
|
+
import asyncio
|
|
116
|
+
from glide import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
|
|
117
|
+
|
|
118
|
+
async def test_cluster_client():
|
|
119
|
+
addresses = [NodeAddress("address.example.com", 6379)]
|
|
120
|
+
# It is recommended to set a timeout for your specific use case
|
|
121
|
+
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
122
|
+
client = await GlideClusterClient.create(config)
|
|
123
|
+
set_result = await client.set("foo", "bar")
|
|
124
|
+
print(f"Set response is {set_result}")
|
|
125
|
+
get_result = await client.get("foo")
|
|
126
|
+
print(f"Get response is {get_result}")
|
|
127
|
+
|
|
128
|
+
asyncio.run(test_cluster_client())
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
#### ✅ Async Standalone Mode
|
|
132
|
+
|
|
133
|
+
```python
|
|
134
|
+
import asyncio
|
|
135
|
+
from glide import GlideClientConfiguration, NodeAddress, GlideClient
|
|
136
|
+
|
|
137
|
+
async def test_standalone_client():
|
|
138
|
+
addresses = [
|
|
139
|
+
NodeAddress("server_primary.example.com", 6379),
|
|
140
|
+
NodeAddress("server_replica.example.com", 6379)
|
|
141
|
+
]
|
|
142
|
+
# It is recommended to set a timeout for your specific use case
|
|
143
|
+
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
144
|
+
client = await GlideClient.create(config)
|
|
145
|
+
set_result = await client.set("foo", "bar")
|
|
146
|
+
print(f"Set response is {set_result}")
|
|
147
|
+
get_result = await client.get("foo")
|
|
148
|
+
print(f"Get response is {get_result}")
|
|
149
|
+
|
|
150
|
+
asyncio.run(test_standalone_client())
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
### 🔂 Sync Client
|
|
156
|
+
|
|
157
|
+
#### ✅ Sync Cluster Mode
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
from glide_sync import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
|
|
161
|
+
|
|
162
|
+
def test_cluster_client():
|
|
163
|
+
addresses = [NodeAddress("address.example.com", 6379)]
|
|
164
|
+
# It is recommended to set a timeout for your specific use case
|
|
165
|
+
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
166
|
+
client = GlideClusterClient.create(config)
|
|
167
|
+
set_result = client.set("foo", "bar")
|
|
168
|
+
print(f"Set response is {set_result}")
|
|
169
|
+
get_result = client.get("foo")
|
|
170
|
+
print(f"Get response is {get_result}")
|
|
171
|
+
|
|
172
|
+
test_cluster_client()
|
|
173
|
+
```
|
|
174
|
+
|
|
175
|
+
#### ✅ Sync Standalone Mode
|
|
176
|
+
|
|
177
|
+
```python
|
|
178
|
+
from glide_sync import GlideClientConfiguration, NodeAddress, GlideClient
|
|
179
|
+
|
|
180
|
+
def test_standalone_client():
|
|
181
|
+
addresses = [
|
|
182
|
+
NodeAddress("server_primary.example.com", 6379),
|
|
183
|
+
NodeAddress("server_replica.example.com", 6379)
|
|
184
|
+
]
|
|
185
|
+
# It is recommended to set a timeout for your specific use case
|
|
186
|
+
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
187
|
+
client = GlideClient.create(config)
|
|
188
|
+
set_result = client.set("foo", "bar")
|
|
189
|
+
print(f"Set response is {set_result}")
|
|
190
|
+
get_result = client.get("foo")
|
|
191
|
+
print(f"Get response is {get_result}")
|
|
192
|
+
|
|
193
|
+
test_standalone_client()
|
|
194
|
+
```
|
|
195
|
+
|
|
196
|
+
---
|
|
197
|
+
|
|
198
|
+
For complete examples with error handling, please refer to:
|
|
199
|
+
- [Async Cluster Example](https://github.com/valkey-io/valkey-glide/blob/main/examples/python/cluster_example.py)
|
|
200
|
+
- [Async Standalone Example](https://github.com/valkey-io/valkey-glide/blob/main/examples/python/standalone_example.py)
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
### Building & Testing
|
|
204
|
+
|
|
205
|
+
Development instructions for local building & testing the package are in the [DEVELOPER.md](https://github.com/valkey-io/valkey-glide/blob/main/python/DEVELOPER.md#build-from-source) file.
|
|
206
|
+
|
|
207
|
+
## Community and Feedback
|
|
208
|
+
|
|
209
|
+
We encourage you to join our community to support, share feedback, and ask questions. You can approach us for anything on our Valkey Slack: [Join Valkey Slack](https://join.slack.com/t/valkey-oss-developer/shared_invite/zt-2nxs51chx-EB9hu9Qdch3GMfRcztTSkQ).
|
|
210
|
+
|
|
@@ -0,0 +1,189 @@
|
|
|
1
|
+
# Welcome to Valkey GLIDE!
|
|
2
|
+
|
|
3
|
+
Valkey General Language Independent Driver for the Enterprise (GLIDE) is the official open-source Valkey client library, proudly part of the Valkey organization. Our mission is to make your experience with Valkey and Redis OSS seamless and enjoyable. Whether you're a seasoned developer or just starting out, Valkey GLIDE is here to support you every step of the way.
|
|
4
|
+
|
|
5
|
+
# Why Choose Valkey GLIDE?
|
|
6
|
+
|
|
7
|
+
- **Community and Open Source**: Join our vibrant community and contribute to the project. We are always here to respond, and the client is for the community.
|
|
8
|
+
- **Reliability**: Built with best practices learned from over a decade of operating Redis OSS-compatible services.
|
|
9
|
+
- **Performance**: Optimized for high performance and low latency.
|
|
10
|
+
- **High Availability**: Designed to ensure your applications are always up and running.
|
|
11
|
+
- **Cross-Language Support**: Implemented using a core driver framework written in Rust, with language-specific extensions to ensure consistency and reduce complexity.
|
|
12
|
+
- **Stability and Fault Tolerance**: We brought our years of experience to create a bulletproof client.
|
|
13
|
+
- **Backed and Supported by AWS and GCP**: Ensuring robust support and continuous improvement of the project.
|
|
14
|
+
|
|
15
|
+
## Documentation
|
|
16
|
+
|
|
17
|
+
See GLIDE's [documentation site](https://valkey.io/valkey-glide/).
|
|
18
|
+
Visit our [wiki](https://github.com/valkey-io/valkey-glide/wiki/Python-wrapper) for examples and further details on TLS, Read strategy, Timeouts and various other configurations.
|
|
19
|
+
|
|
20
|
+
## Supported Engine Versions
|
|
21
|
+
|
|
22
|
+
Refer to the [Supported Engine Versions table](https://github.com/valkey-io/valkey-glide/blob/main/README.md#supported-engine-versions) for details.
|
|
23
|
+
|
|
24
|
+
# Getting Started - Python Wrapper
|
|
25
|
+
|
|
26
|
+
## System Requirements
|
|
27
|
+
|
|
28
|
+
The release of Valkey GLIDE was tested on the following platforms:
|
|
29
|
+
|
|
30
|
+
Linux:
|
|
31
|
+
|
|
32
|
+
- Ubuntu 20 (x86_64/amd64 and arm64/aarch64)
|
|
33
|
+
- Amazon Linux 2 (AL2) and 2023 (AL2023) (x86_64)
|
|
34
|
+
|
|
35
|
+
**Note: Currently Alpine Linux / MUSL is NOT supported.**
|
|
36
|
+
|
|
37
|
+
macOS:
|
|
38
|
+
|
|
39
|
+
- macOS 14.7 (Apple silicon/aarch_64)
|
|
40
|
+
- macOS 13.7 (x86_64/amd64)
|
|
41
|
+
|
|
42
|
+
## Python Supported Versions
|
|
43
|
+
|
|
44
|
+
| Python Version |
|
|
45
|
+
|----------------|
|
|
46
|
+
| 3.9 |
|
|
47
|
+
| 3.10 |
|
|
48
|
+
| 3.11 |
|
|
49
|
+
| 3.12 |
|
|
50
|
+
| 3.13 |
|
|
51
|
+
|
|
52
|
+
Valkey GLIDE transparently supports both the `asyncio` and `trio` concurrency frameworks.
|
|
53
|
+
|
|
54
|
+
## Installation and Setup
|
|
55
|
+
|
|
56
|
+
### ✅ Async Client
|
|
57
|
+
|
|
58
|
+
To install the async version:
|
|
59
|
+
|
|
60
|
+
```bash
|
|
61
|
+
pip install valkey-glide
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
Verify installation:
|
|
65
|
+
|
|
66
|
+
```bash
|
|
67
|
+
python3
|
|
68
|
+
>>> import glide
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
### ✅ Sync Client
|
|
72
|
+
|
|
73
|
+
To install the sync version:
|
|
74
|
+
|
|
75
|
+
```bash
|
|
76
|
+
pip install valkey-glide-sync
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
Verify installation:
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
python3
|
|
83
|
+
>>> import glide_sync
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
---
|
|
87
|
+
|
|
88
|
+
## Basic Examples
|
|
89
|
+
|
|
90
|
+
### 🔁 Async Client
|
|
91
|
+
|
|
92
|
+
### ✅ Async Cluster Mode
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
import asyncio
|
|
96
|
+
from glide import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
|
|
97
|
+
|
|
98
|
+
async def test_cluster_client():
|
|
99
|
+
addresses = [NodeAddress("address.example.com", 6379)]
|
|
100
|
+
# It is recommended to set a timeout for your specific use case
|
|
101
|
+
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
102
|
+
client = await GlideClusterClient.create(config)
|
|
103
|
+
set_result = await client.set("foo", "bar")
|
|
104
|
+
print(f"Set response is {set_result}")
|
|
105
|
+
get_result = await client.get("foo")
|
|
106
|
+
print(f"Get response is {get_result}")
|
|
107
|
+
|
|
108
|
+
asyncio.run(test_cluster_client())
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
#### ✅ Async Standalone Mode
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
import asyncio
|
|
115
|
+
from glide import GlideClientConfiguration, NodeAddress, GlideClient
|
|
116
|
+
|
|
117
|
+
async def test_standalone_client():
|
|
118
|
+
addresses = [
|
|
119
|
+
NodeAddress("server_primary.example.com", 6379),
|
|
120
|
+
NodeAddress("server_replica.example.com", 6379)
|
|
121
|
+
]
|
|
122
|
+
# It is recommended to set a timeout for your specific use case
|
|
123
|
+
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
124
|
+
client = await GlideClient.create(config)
|
|
125
|
+
set_result = await client.set("foo", "bar")
|
|
126
|
+
print(f"Set response is {set_result}")
|
|
127
|
+
get_result = await client.get("foo")
|
|
128
|
+
print(f"Get response is {get_result}")
|
|
129
|
+
|
|
130
|
+
asyncio.run(test_standalone_client())
|
|
131
|
+
```
|
|
132
|
+
|
|
133
|
+
---
|
|
134
|
+
|
|
135
|
+
### 🔂 Sync Client
|
|
136
|
+
|
|
137
|
+
#### ✅ Sync Cluster Mode
|
|
138
|
+
|
|
139
|
+
```python
|
|
140
|
+
from glide_sync import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
|
|
141
|
+
|
|
142
|
+
def test_cluster_client():
|
|
143
|
+
addresses = [NodeAddress("address.example.com", 6379)]
|
|
144
|
+
# It is recommended to set a timeout for your specific use case
|
|
145
|
+
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
146
|
+
client = GlideClusterClient.create(config)
|
|
147
|
+
set_result = client.set("foo", "bar")
|
|
148
|
+
print(f"Set response is {set_result}")
|
|
149
|
+
get_result = client.get("foo")
|
|
150
|
+
print(f"Get response is {get_result}")
|
|
151
|
+
|
|
152
|
+
test_cluster_client()
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
#### ✅ Sync Standalone Mode
|
|
156
|
+
|
|
157
|
+
```python
|
|
158
|
+
from glide_sync import GlideClientConfiguration, NodeAddress, GlideClient
|
|
159
|
+
|
|
160
|
+
def test_standalone_client():
|
|
161
|
+
addresses = [
|
|
162
|
+
NodeAddress("server_primary.example.com", 6379),
|
|
163
|
+
NodeAddress("server_replica.example.com", 6379)
|
|
164
|
+
]
|
|
165
|
+
# It is recommended to set a timeout for your specific use case
|
|
166
|
+
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
|
|
167
|
+
client = GlideClient.create(config)
|
|
168
|
+
set_result = client.set("foo", "bar")
|
|
169
|
+
print(f"Set response is {set_result}")
|
|
170
|
+
get_result = client.get("foo")
|
|
171
|
+
print(f"Get response is {get_result}")
|
|
172
|
+
|
|
173
|
+
test_standalone_client()
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
---
|
|
177
|
+
|
|
178
|
+
For complete examples with error handling, please refer to:
|
|
179
|
+
- [Async Cluster Example](https://github.com/valkey-io/valkey-glide/blob/main/examples/python/cluster_example.py)
|
|
180
|
+
- [Async Standalone Example](https://github.com/valkey-io/valkey-glide/blob/main/examples/python/standalone_example.py)
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
### Building & Testing
|
|
184
|
+
|
|
185
|
+
Development instructions for local building & testing the package are in the [DEVELOPER.md](https://github.com/valkey-io/valkey-glide/blob/main/python/DEVELOPER.md#build-from-source) file.
|
|
186
|
+
|
|
187
|
+
## Community and Feedback
|
|
188
|
+
|
|
189
|
+
We encourage you to join our community to support, share feedback, and ask questions. You can approach us for anything on our Valkey Slack: [Join Valkey Slack](https://join.slack.com/t/valkey-oss-developer/shared_invite/zt-2nxs51chx-EB9hu9Qdch3GMfRcztTSkQ).
|
valkey_glide-2.1.0rc4/PKG-INFO
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.1
|
|
2
|
-
Name: valkey-glide
|
|
3
|
-
Version: 2.1.0rc4
|
|
4
|
-
Classifier: Topic :: Database
|
|
5
|
-
Classifier: Topic :: Utilities
|
|
6
|
-
Classifier: License :: OSI Approved :: Apache Software License
|
|
7
|
-
Classifier: Intended Audience :: Developers
|
|
8
|
-
Classifier: Topic :: Software Development
|
|
9
|
-
Classifier: Programming Language :: Rust
|
|
10
|
-
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
11
|
-
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
12
|
-
Requires-Dist: anyio>=4.9.0
|
|
13
|
-
Requires-Dist: protobuf>=6.20
|
|
14
|
-
Requires-Dist: typing-extensions>=4.8.0; python_version < '3.11'
|
|
15
|
-
Summary: Valkey GLIDE Async client. Supports Valkey and Redis OSS.
|
|
16
|
-
Author: Valkey GLIDE Maintainers
|
|
17
|
-
License: Apache-2.0
|
|
18
|
-
Requires-Python: >=3.9
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/.cargo/config.toml
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
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/client/types.rs
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
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/request_type.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/rotating_buffer.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/src/socket_listener.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/test_client.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/glide-core/tests/utilities/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/logger_core/tests/test_logger.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/benches/bench_basic.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/benches/bench_cluster.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-await.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-pub-sub.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/examples/async-scan.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/aio/connection.rs
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
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_async/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_client.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_pipeline.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_routing.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_slotmap.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/cluster_topology.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/commands/macros.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/commands/mod.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/push_manager.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/src/retry_strategies.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/cluster.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/mod.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/sentinel.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/support/util.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_async.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_basic.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster_async.rs
RENAMED
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_cluster_scan.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_sentinel.rs
RENAMED
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/local_dependencies/redis/tests/test_types.rs
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
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/cluster_commands.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{valkey_glide-2.1.0rc4 → valkey_glide-2.1.0rc6}/python/glide/async_commands/standalone_commands.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|