Skip to main content

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


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)

Uploaded source

Built Distributions

vvar-0.5-py3.6.egg (3.4 kB view hashes)

Uploaded 3 6

vvar-0.5-py3-none-any.whl (3.0 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page