Skip to main content

TMAX IMS issue alert package

Project description

TMAX ims alert

Download

pip install tmax-ims

Example

IMS example

from tmax_ims import IMS

ims = IMS('your_id', 'your_password')

# Get my team's assigned issues
# return type pandas.DataFrame with default headers
print( ims.fetch() )

# set custom header
ims.set_header(['Issue Number', 'Subject', 'Handler', 'Version', 'Status'])

# set custom fetch url (default: Issues assigned to me)
ims.set_issue_list_url('http://~')

Bot example

from tmax_ims import Bot

bot = Bot('your_id', 'your_password')

# custom refresh interval seconds (unit: seconds)
# default 5 min ( 5 * 60 )
bot = Bot('your_id', 'your_password', 60)

# allow alert type (input type: list)
# default ['new']
bot = Bot('your_id', 'your_password', ['new', 'delete'])

# start running
bot.start()

# stop running
bot.stop()

# set custom callback function when something new or changed
# default callback is sending desktop notification
bot.set_callback(your_function)

# reset callback to default desktop notification
bot.reset_callback()

# example callback function
def print_new(item):
    print(item)
bot.set_callback(print_new)

Feature

  • IMS list fetch
  • New/Delete issue alert bot

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for tmax-ims, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size tmax_ims-0.0.3.tar.gz (3.4 kB) File type Source Python version None Upload date Hashes View
Filename, size tmax_ims-0.0.3-py3-none-any.whl (4.5 kB) File type Wheel Python version py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page