Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions .github/workflows/valkey_support.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: Supports Valkey

on:
pull_request:
branches:
- "**"

permissions:
contents: read

jobs:
build:
runs-on: ${{ matrix.os }}

services:
redis:
image: valkey/valkey
ports:
- 6379:6379

strategy:
matrix:
os: [ubuntu-latest]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}

- name: Install dependencies
run: |
pip install --upgrade pip setuptools
pip install -r requirements.txt

- name: Install test dependencies
run: |
pip install ".[dev]"

- name: Run Unit Tests
env:
PYTHONPATH: src
run: |
coverage run -m unittest discover -s tests
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
[![CI](https://github.com/Attumm/redis-dict/actions/workflows/ci.yml/badge.svg)](https://github.com/Attumm/redis-dict/actions/workflows/ci.yml)
[![codecov](https://codecov.io/gh/Attumm/redis-dict/graph/badge.svg?token=Lqs7McQGEs)](https://codecov.io/gh/Attumm/redis-dict)
[![Documentation](https://img.shields.io/badge/docs-sphinx-blue.svg)](https://attumm.github.io/redis-dict/)
[![Supports Valkey](https://github.com/Attumm/redis-dict/actions/workflows/valkey_support.yml/badge.svg)](https://github.com/Attumm/redis-dict/actions/workflows/valkey_support.yml)
[![Downloads](https://static.pepy.tech/badge/redis-dict/month)](https://pepy.tech/project/redis-dict)

RedisDict is a Python library that offers a convenient and familiar interface for interacting with Redis, treating it as if it were a Python dictionary. Its goal is to help developers write clean, Pythonic code while using Redis as a storage solution for seamless distributed computing. Redis-Dict utilizes Redis as a key-value store and supports various data types, including strings, integers, floats, booleans, lists, and dictionaries. Additionally, developers can extend RedisDict to work with custom objects.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "redis-dict"
version = "3.2.3"
version = "3.2.4"
description = "Dictionary with Redis as storage backend"
authors = [
{name = "Melvin Bijman", email = "bijman.m.m@gmail.com"},
Expand Down
1 change: 1 addition & 0 deletions scripts/start_valkey_docker.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docker run --name my-valkey -p 6379:6379 -d valkey/valkey