All Projects → patrickpissurno → vredis

patrickpissurno / vredis

Licence: MIT License
Redis client for V, written in V

Programming Languages

V
68 projects
AMPL
153 projects

Projects that are alternatives of or similar to vredis

jni
V wrapper around the C Java Native Interface
Stars: ✭ 15 (-65.12%)
Mutual labels:  v, vlang, vlang-module
reflect
🪞 Runtime reflection for V (vlang)
Stars: ✭ 26 (-39.53%)
Mutual labels:  vlang, vlang-library, vlang-module
termtable
Simple and highly customizable library to display tables in the terminal.
Stars: ✭ 41 (-4.65%)
Mutual labels:  v, vlang
vinix
Vinix is an effort to write a modern, fast, and useful operating system in the V programming language
Stars: ✭ 1,512 (+3416.28%)
Mutual labels:  v, vlang
jisoni
A native JSON parser written in pure @vlang/v
Stars: ✭ 13 (-69.77%)
Mutual labels:  vlang, vlang-module
vbf
A brainfuck interpreter/compiler written in V.
Stars: ✭ 17 (-60.47%)
Mutual labels:  v, vlang
minesweeper-v
Minesweeper Written in Vlang
Stars: ✭ 19 (-55.81%)
Mutual labels:  v, vlang
v2048
A simple game of 2048, written in V.
Stars: ✭ 19 (-55.81%)
Mutual labels:  v, vlang
kate-syntax-highlight-v
Syntax highlighting of V files for the Kate editor
Stars: ✭ 17 (-60.47%)
Mutual labels:  v, vlang
vsql
✌️ Single-file or PostgreSQL-server compatible transactional SQL database written in pure V.
Stars: ✭ 176 (+309.3%)
Mutual labels:  vlang, vlang-library
v-mode
🌻 An Emacs major mode for the V programming language.
Stars: ✭ 49 (+13.95%)
Mutual labels:  v, vlang
viup
A V wrapper for the cross-platform UI library, IUP.
Stars: ✭ 36 (-16.28%)
Mutual labels:  vlang, vlang-module
vast
A simple tool for vlang, generate v source file to AST json file
Stars: ✭ 23 (-46.51%)
Mutual labels:  v, vlang
discord.v
Discord Bot Framework written in V
Stars: ✭ 83 (+93.02%)
Mutual labels:  v, vlang
vave
🌊 A crazy simple library for reading/writing WAV files in V. Zero dependencies, 100% cross-platform.
Stars: ✭ 35 (-18.6%)
Mutual labels:  v, vlang
boundstone
High Performance / Fast Compilation / Lightweight MCBE Server
Stars: ✭ 42 (-2.33%)
Mutual labels:  v, vlang
registry
Package registry for vpkg
Stars: ✭ 13 (-69.77%)
Mutual labels:  v, vlang
vargs
Simple argument parsing library for V.
Stars: ✭ 36 (-16.28%)
Mutual labels:  v, vlang
aioredis-cluster
Redis Cluster support extension for aioredis
Stars: ✭ 21 (-51.16%)
Mutual labels:  redis-client
spring-redisearch
Provides support for RediSearch in Spring
Stars: ✭ 31 (-27.91%)
Mutual labels:  redis-client

Redis module for V

build status license

This module aims to be a full-featured Redis client for V

The version of this module will remain in 0.x.x unless the language API's are finalized and implemented.

Project is now compatible with the latest V version thanks to our new contributors

Disclaimer

This project is alive, and I'm reviewing and merging pull requests as quickly as possible. Feel free to open PRs with improvements: as long as it keeps the code structure similar and passes the tests, it'll get merged. All features should have their own tests. Thanks!

Docs

To be implemented. There will be some great docs, but only once I get most of the basic stuff sorted out. For the time being I suggest you to take a look at the test files. They'll provide you with enough to get started.

Features already working

  • GET
  • GETSET
  • GETRANGE
  • RANDOMKEY
  • EXISTS
  • TYPE
  • STRLEN
  • TTL
  • PTTL
  • LPOP
  • RPOP
  • LLEN
  • SET
  • SETEX
  • PSETEX
  • SETNX
  • INCR
  • INCRBY
  • INCRBYFLOAT
  • APPEND
  • SETRANGE
  • DECR
  • DECRBY
  • LPUSH
  • RPUSH
  • EXPIRE
  • PEXPIRE
  • EXPIREAT
  • PEXPIREAT
  • PERSIST
  • DEL
  • RENAME
  • RENAMENX
  • FLUSHALL

Installation

v up
v install patrickpissurno.redis

Or if you prefer using vpkg:

vpkg get redis

Testing

Tests are being implemented alongside every feature. This module is being developed with a 100% coverage goal.

Every commit triggers GitHub Actions to build and test this module.

If you want to run tests manually, be sure to have a Redis server running locally at 127.0.0.1:6379. Then clone this repo and run:

v test .

Contributors

License

MIT License

Copyright (c) 2020-2021 Patrick Pissurno

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].