
Security News
Deno 2.6 + Socket: Supply Chain Defense In Your CLI
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.
valkey-glide-sync
Advanced tools
Valkey General Language Independent Driver for the Enterprise (GLIDE) is the official open-source Valkey client library, proudly part of the Valkey organization. Our mission is to make your experience with Valkey and Redis OSS seamless and enjoyable. Whether you're a seasoned developer or just starting out, Valkey GLIDE is here to support you every step of the way.
See GLIDE's documentation site.
Visit our wiki for examples and further details on TLS, Read strategy, Timeouts and various other configurations.
Refer to the Supported Engine Versions table for details.
The release of Valkey GLIDE was tested on the following platforms:
Linux:
Note: Currently Alpine Linux / MUSL is NOT supported.
macOS:
| Python Version |
|---|
| 3.9 |
| 3.10 |
| 3.11 |
| 3.12 |
| 3.13 |
Valkey GLIDE transparently supports both the asyncio and trio concurrency frameworks.
To install the async version:
pip install valkey-glide
Verify installation:
python3
>>> import glide
To install the sync version:
pip install valkey-glide-sync
Verify installation:
python3
>>> import glide_sync
import asyncio
from glide import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
async def test_cluster_client():
addresses = [NodeAddress("address.example.com", 6379)]
# It is recommended to set a timeout for your specific use case
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
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())
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)
]
# It is recommended to set a timeout for your specific use case
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
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())
from glide_sync import GlideClusterClientConfiguration, NodeAddress, GlideClusterClient
def test_cluster_client():
addresses = [NodeAddress("address.example.com", 6379)]
# It is recommended to set a timeout for your specific use case
config = GlideClusterClientConfiguration(addresses, request_timeout=500) # 500ms timeout
client = GlideClusterClient.create(config)
set_result = client.set("foo", "bar")
print(f"Set response is {set_result}")
get_result = client.get("foo")
print(f"Get response is {get_result}")
test_cluster_client()
from glide_sync import GlideClientConfiguration, NodeAddress, GlideClient
def test_standalone_client():
addresses = [
NodeAddress("server_primary.example.com", 6379),
NodeAddress("server_replica.example.com", 6379)
]
# It is recommended to set a timeout for your specific use case
config = GlideClientConfiguration(addresses, request_timeout=500) # 500ms timeout
client = GlideClient.create(config)
set_result = client.set("foo", "bar")
print(f"Set response is {set_result}")
get_result = client.get("foo")
print(f"Get response is {get_result}")
test_standalone_client()
For complete examples with error handling, please refer to:
Development instructions for local building & testing the package are in the DEVELOPER.md file.
We encourage you to join our community to support, share feedback, and ask questions. You can approach us for anything on our Valkey Slack: Join Valkey Slack.
FAQs
Valkey GLIDE Sync client. Supports Valkey and Redis OSS.
We found that valkey-glide-sync demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Deno 2.6 introduces deno audit with a new --socket flag that plugs directly into Socket to bring supply chain security checks into the Deno CLI.

Security News
New DoS and source code exposure bugs in React Server Components and Next.js: what’s affected and how to update safely.

Security News
Socket CEO Feross Aboukhadijeh joins Software Engineering Daily to discuss modern software supply chain attacks and rising AI-driven security risks.