Virtual user-persistent variables, accessible via an environment object
Project description
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
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
vvar-0.5.tar.gz
(1.8 kB
view hashes)
Built Distributions
vvar-0.5-py3.6.egg
(3.4 kB
view hashes)
vvar-0.5-py3-none-any.whl
(3.0 kB
view hashes)