The Python script & library for managing web service stack
Project description
VG_MANAGEMENT - The Python script & library for managing web service stack
VG_MANAGEMENT is a python library and also collection of scripts. It helps automate the basic tasks when you're working with web service stack or provide a python library to integrate with other system and flow. Currently, the library only works with the LAMP stack.
VG_MANAGEMENT is maintained and published by VNGuru.
Notices
Python >=3.10 is required for this project.
Getting Started
Assuming you have a supported version of Python installed, we recommended using python virtual environment:
python -m venv .venv
source .venv/bin/activate
Then, you can install vg_management from PyPI with:
python -m pip install vg_management
Using VG_MANAGEMENT
After installing vg_management package, you can use it as a script or import it as a library in your python code.
As a Script
You can run the script directly from the command line, here is the list of commands:
vg_create_vhost --help
vg_remove_vhost --help
As a Library
You can import the library in your python code:
from vg_management.vg_lib.raw.vhost.config import WebConfiguration
from vg_management.vg_exec.create_vhost import *
import sys
# Use the library functions
config = WebConfiguration()
parsed_config = parse_command_line(config)
new_user(parsed_config, messages_file=sys.stdout))
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vg_management-0.1.0.post3-py3-none-any.whl.
File metadata
- Download URL: vg_management-0.1.0.post3-py3-none-any.whl
- Upload date:
- Size: 41.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d94fef0cd551522a42b7e93446f63a711ccd41b3bfe409ebff7848617ed47bf
|
|
| MD5 |
29e6022d72da4d5985d30f81c3decd32
|
|
| BLAKE2b-256 |
8a87d29fb8ccd7c298b9555bc1ff8195af17658b7c45986a9ffac56784d1890e
|