VarSYNC is a Python package for managing user-specific variables with a web interface. It allows users to create, read, update, and delete variables and provides a straightforward API for accessing these variables in Python.
- User Registration & Authentication: Register and log in users.
- Variable Management: Create, read, update, and delete user-specific variables.
You can install varsync from PyPI using pip:
pip install varsyncimport varsync
# Register a new user
varsync.register(username="your_username", password="your_password", confirm_password="your_password")import varsync
# Log in
session = varsync.login(username="your_username", password="your_password")Get Variable
# Get a variable value
value = session.get("variable_name")
print(value) # Output: value or "Variable not set"Create Variable
# Create a new variable
session.create("variable_name", "variable_value")Edit Variable
# Edit an existing variable
session.edit("variable_name", "new_value")Delete Variable
# Delete a variable
session.delete("variable_name")List All Variables
# List all variables
variables = session.list()
print(variables)For any questions or support, please contact sriharan2544@gmail.com.