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.1-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.1-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.1-cp312-cp312-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

valkey_glide-1.0.1-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.1-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.1-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.1-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

valkey_glide-1.0.1-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.1-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.1-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.1-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

valkey_glide-1.0.1-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.1-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.1-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.1-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

valkey_glide-1.0.1-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.1-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.1-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.1-cp38-cp38-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

valkey_glide-1.0.1-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.1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7c0bf9d3fa39f343540636a302e6302e2fd7bd802da8e6f5eac847e17d2d76d4
MD5 7d4daa7d389cb7746e13c4bc17daa3db
BLAKE2b-256 a172ad0b3ffbca00bd41b3392e6fbd49d97545742e82d9d4ee88f21cae36a952

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 904fcef9b5583cde6c9893fce3bbc21e4e86d99b4a5695e9f5ff79a32942dd09
MD5 6ac19885ba65a9101ba3834059556041
BLAKE2b-256 99bcda121fd27c057ca6a3f71b48db3eab790f693a6e917b254cff927514f659

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 bff890ca9b5e0a803a6c41527c812d9ad1bf261bbf674a3f3076959d4b4345ee
MD5 7c890b2252bea4daf3a84158ee7daea0
BLAKE2b-256 d09fe655f889b76e27fd8c420ac448a32fddb50fe9a96c9e94a2c8b7cbaf49d2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 af6381b4733a7d40c0c1c1230c686ef3796e77537bcc50ab4fab055fc3c399a5
MD5 e0d92755cb75ad6b7d37c6c144272ac4
BLAKE2b-256 5867a6bf0412e5aedafab32b98fcd1fd60c37562181d0e81a0ed89f0baa74ec3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 a982e1c6b4c259e30475e36cfd5e7c8ee087a36dfb321749e3f85abcfef5e329
MD5 97ea2d5dad88453ffef32152a32e9a62
BLAKE2b-256 5ec916acacfe5228d37e9ecb66a1dfd6a4de7d4062940bd6d36795a9cf3e596b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 bed3d73bb8bbdb87068798ffb5c055b0e5aabf3698bf794dd83ff5d38c614195
MD5 11a99883faf1d12953037462ff1f825f
BLAKE2b-256 10e931d2312ae423088850cbdd8bf5060ef4a8fffe7f7c7b9dd1b53b9acd3313

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 79d615856402b95824c8fa9e20e2b3ba609d3fd866b0b8757f5dc840f6d56dc6
MD5 1059e3f725c6c6b38160c5266997039f
BLAKE2b-256 3c86fb21249e0db70af9d747eb2c23d27c4f1bd6dca6b0f8b1562631140c83da

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 dcd3e84018ce6028bf9297ec2946969379b174b4e064cf65d7b81c345c5a6ca2
MD5 d86d02cc58c558873ead33b0a866af43
BLAKE2b-256 fb8a69c362b7c4814e53bb4f307ac405113d0763f6cbcd8163d89504d6b1a1e7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7c5e874f337218e33a3143ee4479e20178aa3f1e429bd7b85f4f27911b80a286
MD5 407f01fb0b040e7fadb8816149df5fad
BLAKE2b-256 49f6c84c7cb55ba6b72a8cb34458dc934236e8e137fbbc5556dab2f252c8e243

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dd4bf512a17b78c5baf535f4dcdf582cc9158d587188bb852162d50019e8a8d4
MD5 b198410309459f91e63db9bcf089522c
BLAKE2b-256 cbc38cef527008d59da84ebb14bf2eaa2df01456cba031b83eb7f2159db3b05c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 163b9c9e69b3d58a7fb99bb233ec67571d0d63a316c8047bbf3e70e9d2c31283
MD5 ad206cc02bab4005c66cb540e256d7fd
BLAKE2b-256 46e5f59fc5c63c54f70997225af0c91bf5dce28d788f5bcb59c25ff7ae882d29

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 3789e0c8de32039573c11bf55bbc086d28e0cb17a7f5f2d348f95f436e8e2920
MD5 394bc388ff05e45dc7cb6e51d7e6c1ea
BLAKE2b-256 0559da4ece7abc9dccd2ecd42705dfc1e54b39833f2016f94cc39a82a0547c2d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 770b6bd9b1b07a3de0912fe050bfcd656c66189019e5c230ea983e516cd22368
MD5 ca16d3b977ed07aed7ba05ac06b371b2
BLAKE2b-256 17a810c18cc161305d295c55973d72fa1a7fa04d1a7c6df2f34f50d912ade766

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7fa09e6810ca8ab7e1ecef37eac914d42eee8b835c98c2806d21846af5ba3c5b
MD5 9a3638395b69068e84d04c4ec5755db2
BLAKE2b-256 576a0b765a58527a8a8ed309f60fefc9ba4719b0dfb43ecf67aed56264b03095

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e9e13b449701fb2234dda8b5d49573d10ad14d61271f2ad253aa10f7972ecd1f
MD5 8c613124b560bef4d3645e54ff846d28
BLAKE2b-256 3d45becf4f4a828323f75e34a8f72d49c3d8d0791105c4c0cf7b35d70f8f98f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 83e53a62d04a8ad38ea9ca55ad1c0b3862d33692017baa6dc3863f65e225bf0b
MD5 d1a470db73211b02aba5e3c24c3493e3
BLAKE2b-256 fc952bc82f5e809b65c9f6cd35311627e0c7a20344bbea14dc17b7334c89b714

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6c8c09007b3e4b9e31b8dbedd203b7e733c09f19b564b061559e8b0f74532776
MD5 35fc250775c9e0cc3fce0b9b2ef8e69b
BLAKE2b-256 97cb7140c7fe83d1811d974f0c73af74af8f358dfcb73563c2881d1dbcdbebea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2e3be2fd99be19cae3e3441921ad809b49b40791aa7226f0c0c75e829a69d1bc
MD5 2f4123c88bd8343ca7c600b728640452
BLAKE2b-256 304c0fbc03634abaa95adc3f7b4f2cccd8793bc44e78f623e461a0f620366c89

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ff97efe706f334ec817463508205297e0682d4b1f5bcbafda65059c456f77f45
MD5 d8cac96653f53a85004c1a618fe5467a
BLAKE2b-256 648dd2dbb358ca2cd1c391c96f48c14499a7f368ad57ea43c72691faf357ec4a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 15b3aa05c379252545ec87bd0b87b1ec330aaeec70306cd8586f54eb4d38c6c6
MD5 2d25aeae4e68c5e1356e63e2ef3374e7
BLAKE2b-256 3bc1ab587d0514112a01e0456c150d9c890d0248d75eb7b2e210b75537fa9e61

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