No project description provided
Project description
Valkey GLIDE
Valkey General Language Independent Driver for the Enterprise (GLIDE), is an open-source Valkey client library. Valkey GLIDE is one of the official client libraries for Valkey, and it supports all Valkey commands. Valkey GLIDE supports Valkey 7.2 and above, and Redis open-source 6.2, 7.0 and 7.2. Application programmers use Valkey GLIDE to safely and reliably connect their applications to Valkey- and Redis OSS- compatible services. Valkey GLIDE is designed for reliability, optimized performance, and high-availability, for Valkey and Redis OSS based applications. It is sponsored and supported by AWS, and is pre-configured with best practices learned from over a decade of operating Redis OSS-compatible services used by hundreds of thousands of customers. To help ensure consistency in application development and operations, Valkey GLIDE is implemented using a core driver framework, written in Rust, with language specific extensions. This design ensures consistency in features across languages and reduces overall complexity.
Supported Engine Versions
Refer to the Supported Engine Versions table for details.
Getting Started - Python Wrapper
System Requirements
The beta release of Valkey GLIDE was tested on Intel x86_64 using Ubuntu 22.04.1, Amazon Linux 2023 (AL2023), and macOS 12.7.
Python Supported Versions
Python Version |
---|
3.8 |
3.9 |
3.10 |
3.11 |
3.12 |
Installation and Setup
Installing via Package Manager (pip)
To install Valkey GLIDE using pip
, follow these steps:
- Open your terminal.
- Execute the command below:
$ pip install valkey-glide
- After installation, confirm the client is accessible by running:
$ python3 >>> import glide
Basic Examples
Cluster Mode:
>>> import asyncio
>>> from glide import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
>>> async def test_cluster_client():
... addresses = [NodeAddress("address.example.com", 6379)]
... config = GlideClusterClientConfiguration(addresses)
... client = await GlideClusterClient.create(config)
... set_result = await client.set("foo", "bar")
... print(f"Set response is {set_result}")
... get_result = await client.get("foo")
... print(f"Get response is {get_result}")
...
>>> asyncio.run(test_cluster_client())
Set response is OK
Get response is bar
Standalone Mode:
>>> import asyncio
>>> from glide import GlideClientConfiguration, NodeAddress, GlideClient
>>> async def test_standalone_client():
... addresses = [
... NodeAddress("server_primary.example.com", 6379),
... NodeAddress("server_replica.example.com", 6379)
... ]
... config = GlideClientConfiguration(addresses)
... client = await GlideClient.create(config)
... set_result = await client.set("foo", "bar")
... print(f"Set response is {set_result}")
... get_result = await client.get("foo")
... print(f"Get response is {get_result}")
...
>>> asyncio.run(test_standalone_client())
Set response is OK
Get response is bar
For complete examples with error handling, please refer to the cluster example and the standalone example.
Documentation
Visit our wiki for examples and further details on TLS, Read strategy, Timeouts and various other configurations.
Building & Testing
Development instructions for local building & testing the package are in the DEVELOPER.md file.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
File details
Details for the file valkey_glide-1.1.0rc9-cp312-cp312-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp312-cp312-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 65e6931e11778016951fc81d756919786b3505f758d41499f0244b49170d7803 |
|
MD5 | b135c07265906354c556dd773da40098 |
|
BLAKE2b-256 | c6042203ce21a4fd4cca036cc4f3fbe81547b12338f4e194e4f59c21181b2819 |
File details
Details for the file valkey_glide-1.1.0rc9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a2e4c5aa6eb602d9f1fe803c3897304ab19bec72b8a4e21976440ec6ef8ec7c |
|
MD5 | 834abb517f801437533c00b06a2f7173 |
|
BLAKE2b-256 | 6631f06433e1d85bb4ff39f8edcbd341ce4e6f52621d17197061ded8cef40072 |
File details
Details for the file valkey_glide-1.1.0rc9-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 81ef0dbc8e5082cd59f67d73fd35f2e994d44b31958a2c4bd73b00fb67266e5a |
|
MD5 | 3e88bd854f16047ed52d28347da7f094 |
|
BLAKE2b-256 | d7f6b5027655fa84e5d29b116e2bc8e30ab64d7a4f188c2a8a2f94cbdae0df16 |
File details
Details for the file valkey_glide-1.1.0rc9-cp312-cp312-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp312-cp312-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.12, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf9353d509651aedbe8b3f58ac6fe46e558c0fd7d83396eecf8eed6f2332c2cd |
|
MD5 | f0206f620ce9c07d7e0f8e5a76f796fb |
|
BLAKE2b-256 | dbd5a9a8db56184209975043025910067dab0ada2c637c9adcf748e58ecd4537 |
File details
Details for the file valkey_glide-1.1.0rc9-cp311-cp311-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp311-cp311-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 659d3b2c3db8071fb3fa1a09091fd5a94db5aa161746a86e75443f4ada1e5699 |
|
MD5 | 0c4caf6360a42a93aa621f90bfa2b416 |
|
BLAKE2b-256 | 189c1e16a2697deaa558aa8e88f09784b0fa3439884259ba20d02eacd59aa646 |
File details
Details for the file valkey_glide-1.1.0rc9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f46293614de5bff34f072d8d59fb6004f98f4e35aff42b48e1b448e11c5e465 |
|
MD5 | 491f81f62e9dd67860664166b748ed87 |
|
BLAKE2b-256 | 3c880f7b32ec1f6f471b239e7f9f4ef24e6bb5a7620c3251b3d2e82f0ac205f0 |
File details
Details for the file valkey_glide-1.1.0rc9-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da3447c5748e5535303ec81d1ac903e44650e2d15c8c0040a8a5d54523937a28 |
|
MD5 | 63aa9602a7bc253450eac95612a9a9f8 |
|
BLAKE2b-256 | ad41e99051aa0d26692da63eb9ff27cf46b4b10123f37647dbbc0a82d6641801 |
File details
Details for the file valkey_glide-1.1.0rc9-cp311-cp311-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp311-cp311-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.11, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4240a7d58486494e559dec1ac8f6ecb4da04a89bb6529a11a99291070c71291b |
|
MD5 | 2727bb4040be706dc568348c428a9b1b |
|
BLAKE2b-256 | ce4e84e94be5f9b44a4019a835a1750c865a9c1aab9f2938ffb16149600201a3 |
File details
Details for the file valkey_glide-1.1.0rc9-cp310-cp310-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp310-cp310-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f02c3b1da8f506173e3ab2792d9b117658c14df9a787432d222d401ffcf58b9b |
|
MD5 | 57a4c7b3da2fbc1bcf17eda5fb5a7bb7 |
|
BLAKE2b-256 | a87e980ec103f03a9614a6a5091b545c8a484021e84b0029bf29bf6ea4e389d5 |
File details
Details for the file valkey_glide-1.1.0rc9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc0e10ca49c5dd4813d9aa2d763a8bf56966be6d73711e1ff7fd1e6745e5e2d0 |
|
MD5 | e495de9460970590b28519b6ef73b720 |
|
BLAKE2b-256 | f3806ef7ed8494498a541d58d067de189c596c2f2048b11298188c80badf5e81 |
File details
Details for the file valkey_glide-1.1.0rc9-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d7691674767d55456ac27023d55db84e5d651b35a6910b9bf285795a96450d8 |
|
MD5 | 02f6ab5d67ab3fbc3cae515e2a42b045 |
|
BLAKE2b-256 | cfc891088011391bd63b6e753d20a141ba502f73414d72dd8aeb11cbb66a7dcc |
File details
Details for the file valkey_glide-1.1.0rc9-cp310-cp310-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp310-cp310-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.10, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b8ddbafa78e306ac46c3e709f2233f2b2a0bee89eb418b020d5ef4afa3e53099 |
|
MD5 | d1ea58333234ffd9462281d7167e0068 |
|
BLAKE2b-256 | 920b85c0dbcff8852719be6915a917a4be4904ab0673339b350a7b382622521c |
File details
Details for the file valkey_glide-1.1.0rc9-cp39-cp39-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp39-cp39-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba23820e4f3e24c7a14d876c6acd755b053bad850127e1faa797974432983ab7 |
|
MD5 | b6b3d6ed007531e3b7aa711ca35bf1d9 |
|
BLAKE2b-256 | 1a56cb57b4d48f781926b0e296e66a6eea7b48250efe6daafc23121ececaa0cb |
File details
Details for the file valkey_glide-1.1.0rc9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 43c73770b96ad5c97eb6d265b960e696b837b1a49fb302fcaa6f467f9fbdfca9 |
|
MD5 | 0e5385e3680dc308dd17a98a1cb7f9b6 |
|
BLAKE2b-256 | f9a21a9ab9b7e4e87ff9d4ef171dac7dfaf1d785f8f207ae26e18c7e8108af0f |
File details
Details for the file valkey_glide-1.1.0rc9-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5487c8eac1db44e605833898e29e077632cb8ba7974c244bac2d9b6384f9bd0d |
|
MD5 | 2d80ad7d5b14283a6c4fe258b9ca03ae |
|
BLAKE2b-256 | 5beb6b0250d379c41fda97e040fbf273cfcefdaa4a31243a695beddcc1297b27 |
File details
Details for the file valkey_glide-1.1.0rc9-cp39-cp39-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp39-cp39-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.9, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13dbd01658896c7d7fe936f9c763959e605bbded15663a844cc6835bd0b6199a |
|
MD5 | ffc99315afd3d6f2b2f700d292e51240 |
|
BLAKE2b-256 | 31118de1ac7a9ba35cb74420befc77242dd4e2a9a922ea8f15fa7364d6999b0c |
File details
Details for the file valkey_glide-1.1.0rc9-cp38-cp38-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp38-cp38-manylinux_2_28_aarch64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.8, manylinux: glibc 2.28+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d8a965aa6cc440570542b88c7b2a4e89752d6acf30a688be708e447986cca30 |
|
MD5 | b78edf761a707807686209349fcfa8aa |
|
BLAKE2b-256 | 22144806cfede1f698efa50bf71befc8dbf7e27236e61817f4e1bfb92137bd1d |
File details
Details for the file valkey_glide-1.1.0rc9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 2.2 MB
- Tags: CPython 3.8, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fc6455045f2d69d31a430059a85b1469412752ffce1b6773d3df9b85dc9f3e1e |
|
MD5 | de02e9762ad80e9fe9c13872c1ac8de1 |
|
BLAKE2b-256 | 51b673f5372827a27a7a93d5a2fe921e44925ac8aca29e8054fac1daf8adc96b |
File details
Details for the file valkey_glide-1.1.0rc9-cp38-cp38-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp38-cp38-macosx_11_0_arm64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.8, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3b61ae97579b1d7972d80d845d0539656c656171588d09a3fa4fe672a2fc5634 |
|
MD5 | d4f58e6b5f27a59d5ab5d6c0bf7661c7 |
|
BLAKE2b-256 | 0119a97964bc4e87498f6eb62ae8adacc3e6705e8af863b65a3ad88bcca88937 |
File details
Details for the file valkey_glide-1.1.0rc9-cp38-cp38-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc9-cp38-cp38-macosx_10_7_x86_64.whl
- Upload date:
- Size: 2.1 MB
- Tags: CPython 3.8, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.7.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9e7804bded96cd96b4d1301a1d55fefc70501363a40e1db3392ead0e3368ebc |
|
MD5 | da7066b7ca5463e489204d336a298aa1 |
|
BLAKE2b-256 | ec5700abd8ae48bdc6fb74d689569fa1d9821597feef3369d63b89c3f3882825 |