Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Lark: A "RESTy" Interface for Redis

DZone's Guide to

Lark: A "RESTy" Interface for Redis

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Redis users might be interested in Lark, a new Python library designed to transform an HTTP request into a Redis command and provide a "RESTy" interface. According to the creator, Alex Kessinger, the features are as follows:

  • Has a RESTy interface ie. POST for writes, GET for reads, and DELETE for, well, deletes
  • Automatic JSON serialization and deserialization for redis values
  • Automatic key prefixing for multi-user environments
  • Fully tested adapters for Flask and Django
  • Support for scope based authorization with an eye towards hooking up with flask-oauthlib
  • While rough, documentation is available for all supported methods

You can find the details, all the code, and a quick-start guide to help you get started on Kessinger's GitHub page.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}