Group Center Tools
Project description
group-center-client
Group Center(https://github.com/a645162/group-center) Client
Struct
- Python Package For Group Center Client
- Group Center Auth(Machine)
- Remote Config
- Send Json Array Dict To Group Center
- Send Message Directly To Group Center
- User Tools(Python Package)
- (Python)Push Message To
nvi-notify
finally push togroup-center
- (Terminal)Push Message To
nvi-notify
finally push togroup-center
- (Python)Push Message To
- Machine Tools(Command Line Tools)
- User Manage Tool
- SSH Helper
- User Tools(Command Line Tools)
Command Line Tools
- group_center_machine_user
- group_center_ssh_helper
- group_center_user_message
- group_center_terminal
Install
pip install li-group-center -i https://pypi.python.org/simple
pip install li-group-center==1.7.0 -i https://pypi.python.org/simple
Upgrade
pip install --upgrade li-group-center -i https://pypi.python.org/simple
Feature(User)
Machine User Message
Terminal Command
-n,--user-name
to set username.-m,--message
to set message content.-s,--screen
to contain screen session name.
group_center_user_message -m "Test Message~"
Python Version
User use their own account to push message to Group Center.
from group_center.user_tools import *
# Enable Group Center
group_center_set_is_valid()
# Auto Get Current User Name
push_message("Test Message~")
User uses a public account to push a message to Group Center.
from group_center.user_tools import *
# Enable Group Center
group_center_set_is_valid()
# Set Global Username
group_center_set_user_name("konghaomin")
push_message("Test Message~")
# Or Specify Username on Push Message(Not Recommend)
push_message("Test Message~", "konghaomin")
Use argparser
to set group-center
is enable or not
import argparse
from group_center.user_tools import *
parser = argparse.ArgumentParser(description="Example of Group Center")
parser.add_argument(
"-g",
"--group-center",
help="Enable Group Center",
action="store_true",
)
opt = parser.parse_args()
if opt.groupcenter:
group_center_set_is_valid()
Feature(Machine)
Generate User Account
Group Center
- GROUP_CENTER_URL
- GROUP_CENTER_MACHINE_NAME
- GROUP_CENTER_MACHINE_NAME_SHORT
- GROUP_CENTER_MACHINE_PASSWORD
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
li_group_center-1.7.2.tar.gz
(35.8 kB
view details)
File details
Details for the file li_group_center-1.7.2.tar.gz
.
File metadata
- Download URL: li_group_center-1.7.2.tar.gz
- Upload date:
- Size: 35.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 250cef4fcdda9b8dfefe7b0b7950b3793cdef926688af81b039988c816fc6335 |
|
MD5 | 62afe0115f319ce0916d9e1a994108a4 |
|
BLAKE2b-256 | f633e134bd27127a956012e9211402fb2014064cbef90782b8cee58685196970 |