A Python package for managing variables with a MySQL backend.
Project description
VarysNC 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.
- **`Web UI`**: Mentions integration with a web server (you may want to add more details based on your actual implementation).
- **`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
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
varsync-1.15.tar.gz
(3.4 kB
view details)
Built Distribution
File details
Details for the file varsync-1.15.tar.gz
.
File metadata
- Download URL: varsync-1.15.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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2e3aac47235d40accd5aab09722cd2b48d74c532d60f3350756e6731e5c7861e |
|
MD5 | c3a9c5f2507eb6acb93d2552e12356ef |
|
BLAKE2b-256 | 785bef7d5502122fef7e97deca727e1bd0f983129a914b83ffffd6aad4db0188 |
File details
Details for the file varsync-1.15-py3-none-any.whl
.
File metadata
- Download URL: varsync-1.15-py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8be23d0ca1211f41c6381612698a3c570babb852e7392c938008871e872259a |
|
MD5 | db9b3d0c6d6d400f71a738d37a0d34b2 |
|
BLAKE2b-256 | 0d8303ba91171a47191024fc38176fb0cece6a41d02d48dbcde98d3d774130fc |