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.0rc1-cp312-cp312-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | b5bfd64cf17f15bf190ee0efcf66bf460b5463b16a6a7c997cfe754e85031cb6 |
|
MD5 | b0bd73855f7c7e9aed6b51d9b1c55874 |
|
BLAKE2b-256 | f427775b6b380dcb90946d65ce961be45f4904ac424e9e1e38c4781d843cc28c |
File details
Details for the file valkey_glide-1.1.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | d0a3e3d2627754363b2f4cc62ad357cefc69744e95ed80a1c5631726e6f3f0c7 |
|
MD5 | e9d44f4d42fbc3be5b3db4da94a861e3 |
|
BLAKE2b-256 | fb714d3a11478c2d85f112be5925254892cd4b54e7e1b260b8458488d1f58f6b |
File details
Details for the file valkey_glide-1.1.0rc1-cp312-cp312-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | a7fe3b776e9e6eedafc9efcffa562b10c2a215a9ba7884e9a334094ab7770a4c |
|
MD5 | e509faee60f280fb3ae29dd885e8e249 |
|
BLAKE2b-256 | a0d2657d20d58f0badc45577a9ee95b0654f8e49120d19a68e893f2540733c72 |
File details
Details for the file valkey_glide-1.1.0rc1-cp312-cp312-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | d7af7f57ec771307d0bcf31d701d62e7f1ed0aa6aab1eb3369185357ca91814b |
|
MD5 | 4977acaaea430c3cb1ceee6d84f6818d |
|
BLAKE2b-256 | 17383e633cf81f13698a39457d6ff9f206a7b8c0163439b2c9d86d0467f19018 |
File details
Details for the file valkey_glide-1.1.0rc1-cp311-cp311-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 66d985c1ed76ef854acd454e11f0afa4658f5b24e1275e2017d295ace964c649 |
|
MD5 | 89f7f2283ae736b0c89de769ecbdacb7 |
|
BLAKE2b-256 | 2c5eb216d13ca5457912a6c0ccbb12f4c434f74c94aaa4773b418c4edef7d1c4 |
File details
Details for the file valkey_glide-1.1.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 5f16ebcbd7b3673ec1fa5db3466a56faedc3a92720eb8bceb7451baa8ff6ef29 |
|
MD5 | f0c7c4a7f15d1c99cfc0a0105b865db9 |
|
BLAKE2b-256 | c29943e7ad7bf2ed3479ec847f6f68ab578be4623b066eb6716e9d5679d2fc46 |
File details
Details for the file valkey_glide-1.1.0rc1-cp311-cp311-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 86f0d9c8022efa63c605f689284fca9701de3e73ad9608a6a02333bd6201f895 |
|
MD5 | 932bdc1b90dbe675c0d8917a41af71c5 |
|
BLAKE2b-256 | 7508d3aa382eb5f39e3791a1956a4c136b1ca4ce3f6e9b0c058b26823224f346 |
File details
Details for the file valkey_glide-1.1.0rc1-cp311-cp311-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | ab2883c3b46587e33dff21db3adced1996816ff1429934d1848f3ef6ba316574 |
|
MD5 | 3f38678ffbf976f2a32fa15cf1359965 |
|
BLAKE2b-256 | 21586d6a5294b5ff8bc2e93ade8c9bb051035c32d612bf6f8c718ccc1aa16e25 |
File details
Details for the file valkey_glide-1.1.0rc1-cp310-cp310-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 491287f72db15545d44769f21e7e3e7efcb540640affba6cd992230269b264ca |
|
MD5 | 9ca55f760230c5653a01195283f5c74c |
|
BLAKE2b-256 | b382e4b5978fc98bb6a2f099b5a33b79d3de5454e70422de15c12b27fb63fd5e |
File details
Details for the file valkey_glide-1.1.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | d42d454b586ee85942024cb06dbb1a7bb99b1cb90c75192153947d487f082e72 |
|
MD5 | 5d0455ee882d2a9ff0041d9fd1b49c05 |
|
BLAKE2b-256 | b89c6201521b916c6d15525f309dd444d03c2d96c76b878995cbf85950fb767a |
File details
Details for the file valkey_glide-1.1.0rc1-cp310-cp310-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 100f4502981026c20579545ed29e47d4f784d4d72f14fc91060f20eff3af3550 |
|
MD5 | 3f73c4a9eeb4a71b968dbe0f20477e77 |
|
BLAKE2b-256 | a5eb6fa5dd1aa5e282c2d81ed40d6f2395c81503aa214c3ee92241fe4af18b3f |
File details
Details for the file valkey_glide-1.1.0rc1-cp310-cp310-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 44c78cfea53152a1082a7646b510ef6123cd3296651d9899959f311086dd32ac |
|
MD5 | b56f4860830f7da811a1ba8c5ff7099a |
|
BLAKE2b-256 | 665467909c3adc7b0b3e016e49c962024bf48aba3d45ecb2bf4bdbeef9b6ed8f |
File details
Details for the file valkey_glide-1.1.0rc1-cp39-cp39-manylinux_2_28_aarch64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | dcff44b6284c648233de4bdefc9774dbcc03ea53d60e8b80dab144742cb7b409 |
|
MD5 | aba5a2d114da14dc317d461e851b2e0c |
|
BLAKE2b-256 | c4a9f5f1ed06ef9afc4fd75e94c7aa8678b2cb82d1f53c6606f747a0f47329cb |
File details
Details for the file valkey_glide-1.1.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 2c638e2a852373d1514a3cf069822b4a5fbc8bc4e826f5940966912154f8a139 |
|
MD5 | 60d327c4263d15635fa42440e697844e |
|
BLAKE2b-256 | e9e5547107311a87ba64e1682dc407d6e2be09d5a7e75ef57bf7a9504d62a117 |
File details
Details for the file valkey_glide-1.1.0rc1-cp39-cp39-macosx_11_0_arm64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 4460bff4813cd3a421bea51952c26c4764d0cc4d2520bb63c550e8506d792ec5 |
|
MD5 | b47e71de91616d5de08ff365e25d9cbc |
|
BLAKE2b-256 | e85998eda6c391f4b2172e77b7c5ad13b8fbc9cccaf034db49977713205bbdce |
File details
Details for the file valkey_glide-1.1.0rc1-cp39-cp39-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: valkey_glide-1.1.0rc1-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 | 6f7e9e44920fac3013c4ee6f8b5dc540ca65affeea0a15b389b072644bfeb583 |
|
MD5 | 3dc3f33643d5d9e49a8d78f1fd7b13b1 |
|
BLAKE2b-256 | 00946858d8c1851bd39ba7c79fc7c8eba27d07b865e9fda7314917dfe3c827c4 |