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

Build vs Buy a Data Quality Solution: Which is Best for You? Gain insights on a hybrid approach. Download white paper now!

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.

Build vs Buy a Data Quality Solution: Which is Best for You? Maintaining high quality data is essential for operational efficiency, meaningful analytics and good long-term customer relationships. But, when dealing with multiple sources of data, data quality becomes complex, so you need to know when you should build a custom data quality tools effort over canned solutions. Download our whitepaper for more insights into a hybrid approach.

Topics:

Opinions expressed by DZone contributors are their own.

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

{{ parent.tldr }}

{{ parent.urlSource.name }}