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.0rc2-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.0rc2-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.0rc2-cp312-cp312-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

valkey_glide-1.1.0rc2-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.0rc2-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.0rc2-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.0rc2-cp311-cp311-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

valkey_glide-1.1.0rc2-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.0rc2-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.0rc2-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.0rc2-cp310-cp310-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

valkey_glide-1.1.0rc2-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.0rc2-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.0rc2-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.0rc2-cp39-cp39-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

valkey_glide-1.1.0rc2-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.0rc2-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.0rc2-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.0rc2-cp38-cp38-macosx_11_0_arm64.whl (2.0 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ac9ff49ee39e307f670a8116b5b8088b76e915e6cadcd1bdb024aa93573e92a5
MD5 ff60bb29e1dab91e0845853fbd5b5258
BLAKE2b-256 4ec2964f914853a060b96196e9334201e2a1247a9360d9bcaf069586c500425a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1b21861e75fe6e1ce45cfb8dce8f44a08a320b91a3b8579474015cfa7837bf59
MD5 ebc4b082bf47e13e5970ef2225a2b675
BLAKE2b-256 43c371209e6984047b270869cc73bf061f3631cf5b2b9e844806a20de3875c03

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 45b96c6df2d4a6032920da00eb0e395781f250870f8af23a81aaa046b27df015
MD5 ab9da4bf453668631ed129248e77fb47
BLAKE2b-256 3d5c751b7ae3a10bc863802c7039173734a20d9ab70d9031851b7a48ab843de5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 e2c0e23ce9cf28dd07d8234b5ffa684ea941955b63479c38dd2545ad214cf03a
MD5 dfc0000d79762f1bfc86112d536944b9
BLAKE2b-256 631b41245beb39e3d802d02144c726d445251d8849f4be41e0a6aa8b784b3471

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 fa1cde1a20849060182b4c93c65b5eee47f31c7a5dc77a8ef78e883215c047e2
MD5 44497fa2b300948d23ce679e47386a79
BLAKE2b-256 709bc09096b0ff6e69ab1c3424650b1aa6ddb8c7bf42efc6a17bd771b741813d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4cb113d8234c47406fcbbda2106134deefaf869113580e83220760ba469aeb7c
MD5 5188fd1c14e0811dec2c07ce89d60f5f
BLAKE2b-256 ca51724b16612acb8379681ea95c4b3398952a55077828c42ab792f885ff2425

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 8b1a0e64dcda17ed98c704f967531564328c8e4fe821ade6a7c51bc3979abbd5
MD5 6614f56cc882f95ccfa915f503ebf4bb
BLAKE2b-256 3ef5d778f03e4c57a78c69b409208f0fae1c908f03148c6a43f30f4ddef84ede

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 30aca41f51732997802e1d7b5fb1cf7ccc5f1bc35a2a246a6de0949cc9649890
MD5 cbf2813936e29baee3da3ef93f9bc2d6
BLAKE2b-256 2194654a9ab3fded8dcb0e395f742751cabd9005705f72fac9a3511170691680

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 5d2c1126f19664a0f21d74d04612686875f7880c63b7dc6c1a0b6a30c888db6e
MD5 1ef28af38b629a105e75e873fa8d2a6d
BLAKE2b-256 7bd06ed6d495ac50d9e2ba6ffac4972a9d4102928337ec33aab71aba6cb50a04

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f735d098b34e846e4f9dd1330f766611e792118519a243dd6e5ad792d6001f9a
MD5 8f27bf28771103659c6911cc07115edc
BLAKE2b-256 5cc80abf77829e531a53266ff817b6b8fb90c7d34e593ee0e4dcceaace263672

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eb22bd32e5fbbde3f1e9fa96dec5e026fc12ba32c848adcb1375f7698dabaedd
MD5 07f23669e8d554d424a86f46ee1286ba
BLAKE2b-256 0dbb3170ec1fb0f504cac23877b63c2d353e880d83b7d88066ea8d0903ed7555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 dcaa213f960a3e285683d1850454af5e2dc6f9a1b975b1c1cca88f6cc7496225
MD5 2a8b8745eff6bf8e8b5f94884b651c7b
BLAKE2b-256 b7f9291df975ac185f8eb948492b51c3a9a9858c0fa607e0a636b73cf18025dc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9b39241894d18039d655e4da4da01934f75178a9ec67902f406bc7ff3fffaf26
MD5 c1b15cd38bba3de049835e24277a6fd3
BLAKE2b-256 86042ad4cee1381ea502e2cd5aea897e2de2f5db6b24deb43a3a0325eb2afe25

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a4970044022b423dbee769c1cb4f52e93f8409d74b736c1a93f831e7b1b530af
MD5 88d486dbb345a1090da7dc7aee91211c
BLAKE2b-256 72b25c63611caf55526a6e170f8a4c84e7594670da3953e00c91f5efc963dae7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b5954553317c044e6cccc61d5fb20060caa283342c02327135e7f81a1bb4e7cb
MD5 9728936099e48b37df7c940955847e8a
BLAKE2b-256 7c6808667bcbfd4eab997c58bbef5b35f5ed3850e1c597e14cd2c287834e11d9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 5d4c05c7d477c810dc231c265c199a7a891172e78685f5c65569e33766bdca7e
MD5 bdda1a75c407c114982031936a12b20a
BLAKE2b-256 45008171db6f9f26b4848865b87f28d0442330148efda74aede1991c1c84a706

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9719328c67287486c1ffb528b1a3f42a29ccd0df1dc484141d11d66dd4d6f44a
MD5 6d426b6e13a1e828457c30243ea367d8
BLAKE2b-256 0d0277d7adc215971cc3eb3009ad15a7afd590a9326bef51e8771317700ab436

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e332df04a56c39c93a61010e770b5f170bba031cf0d15a89b8a644786e35dea5
MD5 ad5d0f9b14ca1c99357570e94e27dacd
BLAKE2b-256 f282d3ddada0e1145cad0084a267bae640cd7123353bc932271dd10cbe918fad

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 50518ed224f75a98377523ddc904ccc675a32097ab27e4942b58ce9460a62a03
MD5 97d0f20fb40c89eb2fa19dbbc7ece874
BLAKE2b-256 9d33b391cc314707190c4a3f4a4b90a8e810e2f0948ac8cf538ce4b8ffb35e31

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.1.0rc2-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 63555b33e4d113f75cd3c141c63f3557caf3418a84189119f5b1acde2b5482fc
MD5 78a0ad933f66836b3a7eef7fe571d379
BLAKE2b-256 3697041925b12c016bde17116cb4e39cdcfa4f6c73092e8d75b7d9602decb5b8

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