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
Metadata
Release files for signella 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| signella-0.3.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| signella-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.6 kB
Release files / signella-0.3.0.tar.gz
| Download URL | signella-0.3.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
62ecb913546c997efd8410d9f4eb19d4476ad2c87db6a34e72005d02e6553890
|
|
BLAKE2b-256 checksum How to use checksums |
ae527c81276b7b2f5489dec9321355030d30123c12f79d9fa6bbef4d1abf39b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|
Release files / signella-0.3.0-py3-none-any.whl
| Download URL | signella-0.3.0-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7b5c178ee6e943ff91d1b786798edfc4880054b351850ebc39ada3ed534a3366
|
|
BLAKE2b-256 checksum How to use checksums |
db61b48642e4d379137c6cf68a6d00b6583b4eb526f4e4aabc40530834438bfe
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.5
|