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
  • Command-line interface for help and information

Command-line Usage

After installation, you can use the signella command in your terminal:

# Display help, Redis connection status, and current environment settings
signella help

The command will show colorful output with information about:

  • Redis connection status with automatic check
  • Current environment variable settings
  • Usage examples
  • Available environment variables and their descriptions

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.3.0.tar.gz (5.4 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.3.0-py3-none-any.whl (6.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for signella-0.3.0.tar.gz
Algorithm Hash digest
SHA256 62ecb913546c997efd8410d9f4eb19d4476ad2c87db6a34e72005d02e6553890
MD5 9c6d856a86e4723f04f866e52f13d50b
BLAKE2b-256 ae527c81276b7b2f5489dec9321355030d30123c12f79d9fa6bbef4d1abf39b6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: signella-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 6.2 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5c178ee6e943ff91d1b786798edfc4880054b351850ebc39ada3ed534a3366
MD5 6b53cdb265503f8e0bfdd8f7b8893141
BLAKE2b-256 db61b48642e4d379137c6cf68a6d00b6583b4eb526f4e4aabc40530834438bfe

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