Skip to main content

No project description provided

Project description

Valkey GLIDE

Valkey General Language Independent Driver for the Enterprise (GLIDE), is an AWS-sponsored, open-source Valkey client that includes support for open-source Redis 6.2 to 7.2. Valkey GLIDE works with any distribution that adheres to the Redis Serialization Protocol (RESP) specification, including Amazon ElastiCache, and Amazon MemoryDB. Strategic, mission-critical applications have requirements for security, optimized performance, minimal downtime, and observability. Valkey GLIDE is designed to provide a client experience that helps meet these objectives. It is sponsored and supported by AWS, and comes pre-configured with best practices learned from over a decade of operating RESP-compatible services used by hundreds of thousands of customers. To help ensure consistency in development and operations, Valkey GLIDE is implemented using a core driver framework, written in Rust, with extensions made available for each supported programming language. This design ensures that updates easily propagate to each language and reduces overall complexity. In this Preview release, Valkey GLIDE is available for Python and Java, with support for Javascript (Node.js) actively under development.

Supported Engine Versions

Refer to the Supported Engine Versions table for details.

Getting Started - Python Wrapper

System Requirements

The beta release of GLIDE for Redis 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 GLIDE for Redis using pip, follow these steps:

  1. Open your terminal.
  2. Execute the command below:
    $ pip install glide-for-redis
    
  3. After installation, confirm the client is accessible by running:
    $ python3
    >>> import glide
    

Basic Examples

Cluster Redis:

>>> import asyncio
>>> from glide import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
>>> async def test_cluster_client():
...     addresses = [NodeAddress("redis.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 Redis:

>>> 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

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

Uploaded CPython 3.12 macOS 11.0+ ARM64

valkey_glide-1.0.0rc1-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.0rc1-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.0rc1-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.0rc1-cp311-cp311-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

valkey_glide-1.0.0rc1-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.0rc1-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.0rc1-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.0rc1-cp310-cp310-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

valkey_glide-1.0.0rc1-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.0rc1-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.0rc1-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.0rc1-cp39-cp39-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

valkey_glide-1.0.0rc1-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.0rc1-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.0rc1-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.0rc1-cp38-cp38-macosx_11_0_arm64.whl (1.9 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

valkey_glide-1.0.0rc1-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.0rc1-cp312-cp312-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8e842076df64aee39d26bf0364c9e05e1d3f04bb8ee2f9cb335104da677c46fc
MD5 da4e40f2f5e7ea3ca4616c3d78fa727c
BLAKE2b-256 d4951c45c88409ad38efff2009e80d4bcf6646af4fbe08a8c05c7da813effae0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 dc4cde8b21aed4bf232cd7784522a485b791a68b0a7912b6655363140042cbf8
MD5 ff24dad0d24b357c384bb53d301cb310
BLAKE2b-256 68fb119a6dcbdd2015fccdaacd261a93a86e9f6e0d4d5f88b27e72ac15277daf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 46d3bed38595aeb6888dd4312146910db02d64c0ccee3f593cf6d695a1c0f976
MD5 6ac0e2efdc92a18af012fddafa54d7e0
BLAKE2b-256 b1df2dfb622193103318dc75fada54da092233ca350587155b33bf7409ca032d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp312-cp312-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4b95bf95f206f88a9517686179ea9b134ba04de3f167d861ea1de9bf5e6b3317
MD5 e81b1b7d233554c94613d60dd5287656
BLAKE2b-256 489396242c8a9f2e9c2e66e2bf81d3070867141547d41417f514ec89a2d12fe4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 8eedad0a8d7a5ac889f908133f846261ed5f56ec994c9168939be26816ffead9
MD5 d8ca5124f374ff82d3033ae40291a4a6
BLAKE2b-256 83acfba163f9b5489634c20c831864ca767b1fe12e0014511c38afc715160f35

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4761158d8074fd28e5d4b1fba22d0d54db022031bf4b98a124ab6e078885b1bb
MD5 044c3e877686faa6e0334861e294f5d1
BLAKE2b-256 e60365207bc493a69f0cdc43a430eada8ef2e6ae2c8de3e68b9d1949c8ecce37

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 11bb651a3584a4ca89532f415f2fd3c4270fc0f390d5b81390ea8f81697068bf
MD5 a9efb24af7304540803dfb658e304114
BLAKE2b-256 7c6b2b66a489fcef3386de892b95506dd1bf62390334dcc67e13c2b9ba02f791

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp311-cp311-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 24202ace7f5db2303669988c02b641495a815fa23d8b80839ad8670afe7811a9
MD5 cdeaeb05eacae0af77fc4484551b3acf
BLAKE2b-256 97366b05c310a4f531b32468b8e432b237e3bb2a24530f0e09eee118e8465819

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp310-cp310-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 6ca8137b12919d9dffd56a4f489a16471b1e555462afbaaef22536b6ffa61419
MD5 9a03a8a9bd934f33341de02a1690090b
BLAKE2b-256 ac94eeec86f9f38b3eef0c514293a0e361c05eb68990dd1eeef0b4c4e3e5ab12

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 42ad175559ff63d63ec10685f9547377bc5481f8b05b73144ca554fe4d361784
MD5 f1adecd3174404f0af60bfcfb56f3b39
BLAKE2b-256 78d7875922b37ddb3bf402e2e1a344dadbfb545d93f1a81b27b8f771c4747d1e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 96a0b868fb486f3c3f20883ede50a9548b4c79f6b861075df301f864c078a38a
MD5 14bc129544cd149a7886a6385e111d82
BLAKE2b-256 935d859ae483045d07ee46518c15c05f88057cc57aa533c7826610a2bcdf5f24

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp310-cp310-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 19b4e59abb16b2f5b4a4ef16a01bd2eee7a1658da1cabc6f5e1c11adce493f1b
MD5 2dd0045736db1d9b5d7b98b57f268a78
BLAKE2b-256 39080bf89ed04d41d199cde81f53d9a6222146d19387d4cb7f17b8e5f7e9432a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp39-cp39-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 34c962b4fb7b1e618987045056d7642ff09942c9ab0128ace31c78864670f2c9
MD5 15c4b329e934509e4b0209c0deb3c2b0
BLAKE2b-256 9fc2716ac72082e49600a614b155b844fa2a40f35fc8064bfebfe69c6f302b3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 69cc213bbeb0943d613d8f86bfb8870da77e2e3f0f84af88a3a8aa6b11cca141
MD5 b35d71f4599674e086fc34883cfa3b65
BLAKE2b-256 ebaf3293ca9ed8b03bff98c4d06cb74f10a98e13b468653bc8d8dcd3925cf8c8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ef443dcef6361033df286a82b7718cae3ae7df98b5cad84b509123ae6a0723db
MD5 5c0f6da6f274c9a87f1fcb62e93288e1
BLAKE2b-256 47dd8415aa71100793b4bf9844ae1c699e445228f9e1c82716efad0f3fa24510

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp39-cp39-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 9956a84428c5888681fb8631fb28a4c3e0ff08655ca9dd7f800bc19befc7f00f
MD5 94b25a914e82287ca5b8c875aefac82b
BLAKE2b-256 c1b8bad67a2c4a93a10a77d54e8e6959ce4994281507af3b433726958b95158b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp38-cp38-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 958e2b7016260b9fa0fec963bc1055661e8a3579e6eaef2bdaa61b85a67f5c52
MD5 0abf9b018f844fa51fde772e3dc62ba6
BLAKE2b-256 ec32f11a963d2dc9b0f4872c8d0a7564ffd7d7890cb6a5afb9d4f7387a164fd0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 362df57513c56175a61e7b212f797ef9b7327c54bf83b31af3ca384e7db6098b
MD5 f03df7b7b11368cc44a6ab6488511370
BLAKE2b-256 ce0ffa297258af9e8744f2a50267d306937731db2055899c4385540583f3ed45

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 61638f33a41e0181060cef170eab05d1698097c43a3f829d758057427435f4f2
MD5 e3e10ffaebec2029c0fa1fd028123784
BLAKE2b-256 05e4b89df9a030ed51a0144fe831fd21039613ffe02950cb54769164abc133c7

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for valkey_glide-1.0.0rc1-cp38-cp38-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 4579e74ed59f80f8a62df64f0bcdd1be63ad01e5799b51236574dfee07ffab35
MD5 4924bf7b7dae38ae87506904e8924c12
BLAKE2b-256 782cde94542e0299499abf44d868dd235e8eeb7a4fdadcc0653c4adc53bdb172

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