Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

anykeystore

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anykeystore

A key-value store supporting multiple backends.

  • 0.2
  • PyPI
  • Socket score

Maintainers
1

=========== anykeystore

A generic interface wrapping multiple different backends to provide a consistent key-value storage API. This library is intended to be used by other libraries that require some form of generic storage.

Usage

::

from anykeystore import create_store

store = create_store('sqla', url='postgres+psycopg2://bob@localhost/mydb')

settings = {
    'mystore.store': 'sqla',
    'mystore.url': 'mysql://bob@localhost/mydb',
}
store = create_store_from_settings(settings, prefix='mystore.')

Supported Backends

  • memory

  • sqlalchemy

    requires: sqlalchemy

  • mongodb

    requires: pymongo

  • redis

    requires: redis-py

  • memcached

    requires: python-memcached, or python3-memcached

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc