Skip to main content

A Python package for managing variables with a MySQL backend.

Project description

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.

Notes:

  • Features: Lists key features of your package.
  • Installation: Shows how to install the package.
  • Usage: Provides examples of how to use the package.
  • Configuration: Instructions to set up database credentials.
  • Contributing: Guidelines for contributing to the project.
  • License: Information about the project license.
  • Contact: Your contact information for support or questions.

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

varsync-1.16.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

varsync-1.16-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file varsync-1.16.tar.gz.

File metadata

  • Download URL: varsync-1.16.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for varsync-1.16.tar.gz
Algorithm Hash digest
SHA256 65378cea36a8c1029ec412d7a7e1698023bbb1399a815c48e285ad9f9d1feb86
MD5 0dd41b6b3b64108ead76c6bac42ff234
BLAKE2b-256 5043f260ed904b3ae95b0cefc39c3c32995eb229ac2d652c435c36ac0cbb18ec

See more details on using hashes here.

File details

Details for the file varsync-1.16-py3-none-any.whl.

File metadata

  • Download URL: varsync-1.16-py3-none-any.whl
  • Upload date:
  • Size: 3.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.13

File hashes

Hashes for varsync-1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 3595a076f48c2f6ecfcccdfc074d605e89e252223a27aea1d0f520b58a85a9df
MD5 d87e1fe8c059820fcdd1b9e99404d6c7
BLAKE2b-256 9d0d0daaf19a582b45c4ac300bbfa358e23cd888f1d270f6584648585361423a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page