Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/0xffea/ocaml-redis
Redis bindings for OCaml
https://github.com/0xffea/ocaml-redis
ocaml ocaml-library redis-client
Last synced: 3 months ago
JSON representation
Redis bindings for OCaml
- Host: GitHub
- URL: https://github.com/0xffea/ocaml-redis
- Owner: 0xffea
- License: bsd-3-clause
- Fork: true (mrnumber/ocaml-redis)
- Created: 2014-10-10T18:04:05.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T20:17:59.000Z (over 1 year ago)
- Last Synced: 2024-08-04T01:28:37.562Z (6 months ago)
- Topics: ocaml, ocaml-library, redis-client
- Language: OCaml
- Homepage:
- Size: 1.49 MB
- Stars: 75
- Watchers: 9
- Forks: 31
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGES.md
- License: LICENSE
Awesome Lists containing this project
- awesome-list - ocaml-redis
README
# OCaml-redis [![Build](https://github.com/0xffea/ocaml-redis/workflows/Build%20redis/badge.svg)](https://github.com/0xffea/ocaml-redis/actions)
Client library for [Redis](http://redis.io/) in pure OCaml.
Changelog can be found in [CHANGES.md](/CHANGES.md) file.
## Dependencies
- For `redis-lwt`, [Lwt](http://ocsigen.org/lwt/install) is needed.
## Documentation
http://0xffea.github.io/ocaml-redis/
## Quick start
### Installation
`ocaml-redis` implements synchronous and lwt clients. Each of them is in a separate package.
- synchronous version:
```
opam install redis-sync
```
- lwt version:
```
opam install redis-lwt
```**Note**: connections are not safe to share among threads.
## Contribution
The tests require [Docker](https://docs.docker.com/get-docker/) and [docker-compose](https://docs.docker.com/compose/install/).
Once they have been installed, the tests can be run with `make test`.