Skip to content

A Simple Library used to save your variables in cloud.

Notifications You must be signed in to change notification settings

Sriharan-S/varsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

VarSYNC

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.

Features

  • User Registration & Authentication: Register and log in users.
  • Variable Management: Create, read, update, and delete user-specific variables.

Installation

You can install varsync from PyPI using pip:

pip install varsync

Usage

Register a New User

import varsync

# Register a new user
varsync.register(username="your_username", password="your_password", confirm_password="your_password")

Login

import varsync

# Log in
session = varsync.login(username="your_username", password="your_password")

Variable Management

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)

Contact

For any questions or support, please contact sriharan2544@gmail.com.

About

A Simple Library used to save your variables in cloud.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •  

Languages