Skip to main content

A Redis-based variable sharing singleton

Project description

Signella

A simple Redis-based variable sharing singleton for Python.

Installation

pip install signella

Usage

from signella import signal

# Set values
signal['name'] = 'Jimmy'

# Get values
print(signal['name'])  # 'Jimmy'

# Use compound keys
signal['user', 123, 'profile'] = {'name': 'Jimmy', 'age': 30}
print(signal['user', 123, 'profile'])  # {'name': 'Jimmy', 'age': 30}

Features

  • Automatically starts a Redis server if one isn't available
  • Simple dictionary-like interface with JSON serialization
  • Support for namespacing via RADIOVAR_NS environment variable
  • Override port via RADIOVAR_PORT environment variable

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

signella-0.1.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

signella-0.1.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file signella-0.1.0.tar.gz.

File metadata

  • Download URL: signella-0.1.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for signella-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d07591f60bcbcfc0bd051aaf00e5068f407ce16ff2fb045cf4239901b997189b
MD5 7e480b99d7100cf9e04c31c710ac8b62
BLAKE2b-256 264b069c3fbbf887e2b6baef1b57779bfec4f98db461be39d1fd9d0cce4ee9f0

See more details on using hashes here.

File details

Details for the file signella-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: signella-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.5

File hashes

Hashes for signella-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f5fa622782d13bb7e8a0d9755c849cedaa78912e765d1aa592520106340002d6
MD5 f705d9074f41d395802cab443d494a23
BLAKE2b-256 be915cc67b3b1f204d1e7712031f6ec2fa48573d122be8ba88b821311cced887

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page