Skip to main content

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:

  1. Open your terminal.
  2. Execute the command below:
    $ pip install valkey-glide
    
  3. 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

valkey_glide-1.0.1rc1-cp312-cp312-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

valkey_glide-1.0.1rc1-cp312-cp312-macosx_10_7_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.12 macOS 10.7+ x86-64

valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

valkey_glide-1.0.1rc1-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

valkey_glide-1.0.1rc1-cp311-cp311-macosx_10_7_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.11 macOS 10.7+ x86-64

valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

valkey_glide-1.0.1rc1-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

valkey_glide-1.0.1rc1-cp310-cp310-macosx_10_7_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.10 macOS 10.7+ x86-64

valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

valkey_glide-1.0.1rc1-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

valkey_glide-1.0.1rc1-cp39-cp39-macosx_10_7_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.9 macOS 10.7+ x86-64

valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

valkey_glide-1.0.1rc1-cp38-cp38-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

valkey_glide-1.0.1rc1-cp38-cp38-macosx_10_7_x86_64.whl (2.1 MB view details)

Uploaded CPython 3.8 macOS 10.7+ x86-64

File details

Details for the file valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 adebae4d76b1f4f116b3851205b9cff0cc74ebff27aee71884b4bd201d923b99
MD5 808e6987e5de79020a0786817ddea3f7
BLAKE2b-256 9570eef5308cfe49430879ce37d36e1a0ba10c55ed59fa9e9df8ef89be781e11

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9ddfca94d852c6e0aac2e1da5eea938d5c0dbdedc38318a37c106e1fe6a50121
MD5 8363a93adaaea5d878b9d3cf215e8398
BLAKE2b-256 d07352fa41fb0f6c36e658717286ad38403157dae4cbcc39c98fdc66b05fbcf7

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0e2a76964f2b9ae1c50ee4e5a9896a08de3e12c60019d6749b7098051175f888
MD5 e4e78b7e48d8d5726f6450f889f0bf55
BLAKE2b-256 65af2026da274880c89c0b0b0565346a0b38a3c1d09e7e937f8c441968666f3a

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp312-cp312-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 971f908d2eb7ea02eca1b3970edadaa7c01fb16810b45f5ef27bf6c2ae249965
MD5 05fac2f773fb6a4e27a359ee9fa7119a
BLAKE2b-256 bf9e04e1237ab849d23f2f37162326debdec8c6b0fb67daa927d0e4c117711b7

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fee14d65c64fc8456571fc5e67931c3e29cc2685fcd8e873dc2f1011127c41ea
MD5 69a2ea0aaaec98872c2c06870eea05a4
BLAKE2b-256 49a579131b6d4b1c9d0e90997edf996fc29216cd5247925537569525328465cb

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 13a8002051838f9195ef62cfb6bbb67073f749d083b0f7a6c99eda3e918f7001
MD5 f0b0b01397b8f03232251095718e6cc3
BLAKE2b-256 9d302340479493869ce8653b46bc05b21d951ac675a07badf0cb76a4164781fa

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 13a0782d88dc61e1772a88b34980fc8d90b78ff3d45677e82443e21417d3fefe
MD5 07b43fe6b17d79d337aefdfc2a7fbb9f
BLAKE2b-256 58167632f7da3d88000b51c572c17316495961c6bd6ef2007d470cb4da78ee0b

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 b970d24f23fdf5b5bc622906990a44e819887ea96d50a6550b9190354920a1be
MD5 b503b102a72215e5a1a053ae470da6df
BLAKE2b-256 dabefa69b83d7063586e60d906e145a2f7bb3e78b2139cd14de69e6e384eb08d

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b95edb974a3ea699e2f0999c8650929335e0c457244b951e69c802125f27a045
MD5 7cba848dd5c7806902ff00a543c7d155
BLAKE2b-256 be03e9d80a62fba0bbbf9931842acc23e0461c936e53f28da0d80e2fea3cdaef

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f1e43ee568da4f6a4292a3e77805ba82b9668971e3a827a06f695f4da834fa46
MD5 e950645cbde84d27b36696c54c8465db
BLAKE2b-256 010f6af30ec05df449272cd8b29bbbd8542f7ee70d76fd6038b7856c266a463b

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 03df36fb8e2fab825097e11a7fbc75b8f1ae01db80f8779a84044beaa9797c8e
MD5 5c7ecdea5783ee8039244f05adb7b62a
BLAKE2b-256 a96d92d7a49c88806249581ac6b029d9a23866dbf1056a3bc61b1e1859440a1a

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 50943bde83e628d2d124878f20d964948930fdaf3f31be8a7f05ad272797c376
MD5 e361586fc9c690c3b6fa72bf00a4cb60
BLAKE2b-256 cc1022d9813ac92c132aeda7f4ed16255de23f8ab1014bf85dca32bcb47ea174

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e20e4e4eb42a7a474279050c3323b58aeccdda71235c6c0d492cb65a8f56ae2d
MD5 e1475a94bc3ecf8b639b48b8672f9ac9
BLAKE2b-256 c355415ec5c2073b783b03b6eb3897550183c37104d8dfd55371c43e26700b23

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 533cedfc53726df61b6e58af56ddcd4c52dbd7d5dd9d6f2e3c630ac5cef85f8c
MD5 e07fb652a6951f6d7c6fb3576aaa4574
BLAKE2b-256 a44d22b878bff6f6c644b0d93353c073845b49da0fef9b614bd9ce81b073b0b3

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 785280c8f72243cdb4aef7ebbe450aea0ff93e401ac4e3fe80487e3222a90c69
MD5 1791926790f3f1898b2b5711b720017a
BLAKE2b-256 60cb873deb18589c644a04fa3ecead3f1263089d7cea7e9d1eaedec2705416fc

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 f230d42532f8e50e9afe820a2244f60bed22cb39f9fcd875d1f8c4a8b7ff9c3a
MD5 bfa32d9add59dee0b35684eba9a74909
BLAKE2b-256 4f1fafeadb412c6c3f37fac17c202935bbca56304c66994281573a752f120576

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 16bb792d513b6ef96f04677c3bd442848aa32e315a51703d9ca9e882d24c05dd
MD5 2d59ddd2a39d4740f1913dd02f64738d
BLAKE2b-256 bc47b4f745351b4f4b21179545a591f5491b4f88caad462d7bd1b1cf860963b0

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b30cff597459c9aad6bd87d0d634c38490289381360a76a6e1a40fa88f870cb4
MD5 18699aa412e72c8b2d736ea1ed74398e
BLAKE2b-256 9c9512f4c698e1aad9aebd86a32beb5f3742e26c3d4bf861a07acb359992d2dc

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0d7e1c674a48ea7e1279ca663aeeb39d4d49ba592b9f69d876e15013a821e4b6
MD5 bf0357b0ea7dd2024c085948f432093f
BLAKE2b-256 3450505fcd235ad50950e7bc82ebb787907c9f6990d1ac0508c6a89f3b159fca

See more details on using hashes here.

File details

Details for the file valkey_glide-1.0.1rc1-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1rc1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 062f73d6cb75101304972ed74ee9fd9e8c1d8f0eaf7f2b9b1e827ae15c1e23dc
MD5 c2a79c00b3dd2b773b73c4cb1a09bace
BLAKE2b-256 1e1f3a3ad080258a4b02c9eb0f325c9c570006c63545d93976cf5ccf88837e28

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page