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.1.0-cp312-cp312-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.28+ ARM64

valkey_glide-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

valkey_glide-1.1.0-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

valkey_glide-1.1.0-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.1.0-cp311-cp311-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.28+ ARM64

valkey_glide-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

valkey_glide-1.1.0-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

valkey_glide-1.1.0-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.1.0-cp310-cp310-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.28+ ARM64

valkey_glide-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

valkey_glide-1.1.0-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

valkey_glide-1.1.0-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.1.0-cp39-cp39-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.28+ ARM64

valkey_glide-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

valkey_glide-1.1.0-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

valkey_glide-1.1.0-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.1.0-cp38-cp38-manylinux_2_28_aarch64.whl (2.0 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.28+ ARM64

valkey_glide-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.2 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

valkey_glide-1.1.0-cp38-cp38-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

valkey_glide-1.1.0-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.1.0-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5ec318cd95acf0b12d0f179b9e11a85ccec61dd0a80e2119d9f7cc7e3ca64651
MD5 9a1b755561b7ac9b269c603c629ddfaa
BLAKE2b-256 af71ce04de62f04b44f08e90a489e93120c1c63488aec6f966b28c62eafd47d6

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 46cf4ca974905cbed0e5d27b2d6fe3e18ca8709270bac244e99434b2c57715f8
MD5 cbb451734739cd333ee13ca5f856a512
BLAKE2b-256 59e772591939049bf4661f6c63e3cc1135b20ee3a5401b6dac4fea8c74180c4d

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 67eb38622c2338782b789a97390cca9a8f8b42dab8f1990f3086dd39f43b73f9
MD5 24e6e5af9852c717eeef0e915385e360
BLAKE2b-256 f926bc26ab21f058d29f27d88704b1ccef7b51c321daeddd2eaaf36910906a27

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp312-cp312-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4ea5d9f58a2aa6171359e8a5ebaccac7fdecf946ce66b77d4e702083f4519a5f
MD5 f0ff911ec140729f88691186b53a0dc6
BLAKE2b-256 91690abcb9ab99da559f9376ec35e2501148a4daf7619c0bc6e36e095d6e5c08

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp311-cp311-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 87066ac5cbac106b430a5f39e684d85e4f31e28fc0e0c8569725c376e7fdb51a
MD5 d732e4b2c0e1dea2aa3207c41cc1f068
BLAKE2b-256 b1b9292b36000d6987d7ad5346eb45326a91fd5f02eedfeb41d7303c278dc6dc

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd44755bba6463803f58085c55ae4f9224594ed1e728a70bed3223d6ac357bb8
MD5 fa2fd16ca585e1c95df7aa78d66b7c84
BLAKE2b-256 e91f3349022d632e79baa45b51dd103a401cda9926e22bc44b76c14edad8c119

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 10f4ff6eccb172472fd552dd8b7dc9272fafdb5a99b3fae5857bf7bd302f7a4a
MD5 0ba4c48aa859e014bf87e39c6ecb8d07
BLAKE2b-256 f639f99f568cba26b0c697a253e0ef23a0e4cf91a967e5316ede09f0dfdd58a4

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp311-cp311-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5816b201d1c79b1e2e1b1470d66155a1a5a30e371b4262ebfe7239e684bffbef
MD5 515c0bc87f94b87388d511d6b9f3e61c
BLAKE2b-256 955ea4737cd12cc84733c3bfdd974ebc31e4b71ebf3d0b1db3986f211b7444be

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp310-cp310-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 33b4c78702f38e2ee20dfac18cd3e147df19d5a3b93ce523160ff23f8564f8b8
MD5 3db706932f95875b8f33b33cd2cfbbd8
BLAKE2b-256 3add04a98c730c997ded0b16244df3ec894767890170d5640c63426de56a8f6a

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 025d7cecaf789022af07e454c4717e065634ecbb7496e66877a640d20cd64a44
MD5 8b47dbd47ad18dfcbda6194b11b1c831
BLAKE2b-256 b9fe44a73f3a77bb3f00d00ce3efad5e64e5caedfd67c9bacdb9c76cfaf71263

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 3887236b7ddf29a9910011655f477a159157b022467b3b25837ab5bbf6f8c6ee
MD5 910924cf2b8d033c647f9b58a381b499
BLAKE2b-256 799bb91e01c5448edcb7fd640969156e80c0d61626a706b47e20e0cb2e486362

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp310-cp310-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 fb4e5098d398ad63a96d363abee8b0ce4875aff9b61fbc4dbed441a896c123ad
MD5 d0d5ba501049e3c3a8ed8f8169a4ad32
BLAKE2b-256 74a73e8b3de990e14934599ef3cef8972d4030dc2b0e27ad9ccae1a487b51afd

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp39-cp39-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7adcf6df73e0e4e027c0a727dfb61b94d3fe410c13db00ad74eb8405d457915e
MD5 15001bd73636d47a4b476e0a940c4b5b
BLAKE2b-256 b398346b640c6d3858e49e6e1f35f954093b9a2eab1525e1b8863bcca12b3a55

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4b7aae8e1a81e3eeb8389fae55e5e9802aeb78348afef191700882e4d1a8724
MD5 02dc4d50ccc46ace129b059302d3d9dd
BLAKE2b-256 b6b1f1da44ee8a46d624c3de729f81b884141accaa67c3d86c8fbe03ff3be81b

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2b05d20e4cc10705d61031a4c0547c717ea670eabe5ed21b63133fad6fcff445
MD5 8bb375693c51f8eaaf9a72ee9e50db50
BLAKE2b-256 1af64fc8e1d15c68dbb63253e41b838706cbc76c901c22b018a04ba23d97703e

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp39-cp39-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5314909101d2362d9a19f1473d69e844a27119c4bb349044924603a3ad5b1f1e
MD5 c1cd315cfd77a1e112260859738b1844
BLAKE2b-256 bda0589b585d9c1b3b708914ceb6df5fec15a2296355863bb74a8d5eeac95606

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp38-cp38-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 127d60a7e91296ab85b6d280bf570b6f9aab9eb856a69ae0c02a02c7490a32d9
MD5 bb90f19a631e3d48fbe366e99ff04aa6
BLAKE2b-256 df040652eb9880bac7bf8415051a9c6d2ab320ecbc0b82e36d760371a5b6048e

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d5814aac65bcb2855ccdbee9efa6b3176c940af0b1e6a6c5d7fb00f43815c8c5
MD5 74096ff5fd4559ad91143485c701e149
BLAKE2b-256 d5fea5d0dd913dcb47e36680171de556975572fa9e2a7bbefd57df8685034380

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8effb1a9fd3fab991bb95b4494c179917a7a92a819fe316832850d5ed3648088
MD5 781596dcd0bf6f009e5de8ec63edd75c
BLAKE2b-256 58d3f3f73832b94aab374da38ea9a7251cc6d75bbeb64023036f95795e21d919

See more details on using hashes here.

File details

Details for the file valkey_glide-1.1.0-cp38-cp38-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.1.0-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 41609ff67bcf3a3206ac94eff77cd8fa94a318f7555b937028b943fff248eded
MD5 ca996573c93ffa89216796815f9dc13a
BLAKE2b-256 8cb4c7e5264148eec086913eb59cb1067a912b6e9bd3dded00aaf4278d92ea47

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