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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d07591f60bcbcfc0bd051aaf00e5068f407ce16ff2fb045cf4239901b997189b
|
|
| MD5 |
7e480b99d7100cf9e04c31c710ac8b62
|
|
| BLAKE2b-256 |
264b069c3fbbf887e2b6baef1b57779bfec4f98db461be39d1fd9d0cce4ee9f0
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f5fa622782d13bb7e8a0d9755c849cedaa78912e765d1aa592520106340002d6
|
|
| MD5 |
f705d9074f41d395802cab443d494a23
|
|
| BLAKE2b-256 |
be915cc67b3b1f204d1e7712031f6ec2fa48573d122be8ba88b821311cced887
|