2025-07-12 02:52:52 +08:00
2025-07-10 16:41:46 +08:00
2025-07-12 14:22:41 +08:00
2025-07-12 14:22:41 +08:00
2025-07-11 14:49:11 +08:00
2025-07-10 16:41:46 +08:00
2025-07-10 17:40:19 +08:00
2025-07-12 01:56:16 +08:00
2025-07-12 00:31:37 +08:00
2025-07-10 17:11:27 +08:00

WebServicesManager

A script set for web services management.

Dependencies

Usage

  • First clone the repository

    # the remote repository where located on my cloud server
    git clone https://gitea.virtualguard101.com/virtualguard101/webscripts.git
    cd webscripts
    
  • Initialize Python virtual environment and install dependencies

    uv venv --python=3.12
    uv pip install -r requirement.txt
    
  • Launch the manager with main.py

    Important

    If you have some reasons have to give up using uv, you should create virtual environment and install the dependencies manually, otherwise, it is recommended to use uv to manage those because of its convenience.

    uv run main.py
    

    Add -h as parameter to find usage:

    uv run main.py -h
    usage: main.py [-h] {register,list,operate} ...
    
    =====> Web Services Manager <=====
    
    positional arguments:
      {register,list,operate}
        register            Register a new service
        list                List all services
        operate             Service operations to carry out
    
    options:
      -h, --help            show this help message and exit
    

TODO

  • Add the function that can remove services

  • Package src as a module

Description
A script set for web services management.
Readme MIT 98 KiB
Languages
Python 98.4%
Shell 1.6%