vvar

Virtual user-persistent variables, accessible via an environment object


License
MIT
Install
pip install vvar==0.5

Documentation

VVar-Python

Description

Simple python module to save and load user-persistent strings, that will stay after application stop. Note that the variables will be stored unencrypted.

Usage

import vvar

# Store
vvar.example_var = "Example String"

# Read
print(vvar.example_var)
# Output: Example String

# Delete
del vvar.example_var

# Use the oenv to store any variable which can be serialized via pickle
vvar.oenv.example_obj = ["hello", "world"]

Installation

pip install vvar