Skip to main content

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 Python Package
    • Push Message To nvi-notify finally push to group-center
  • Machine Tools

Install

pip install li-group-center -i https://pypi.python.org/simple
pip install li-group-center==1.4.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

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 use a public account to push 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")

Feature(Machine)

Generate User Account

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

li_group_center-1.4.0.tar.gz (20.8 kB view hashes)

Uploaded Source

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