semvec/pypi-packages huggingface dataset:
hipchat_notif 0.2.3
Simple Python library for the HipChat API v1
License: MIT
Keywords: HipChat,HipChat Client

# hipchat_notif

hipchat_notif is [HipChat](https://www.hipchat.com) client library for sending notification using API v1.

## VER. 0.2.3

Added the ability to change the message format.(Thanks to https://bitbucket.org/cou_z)
message_format: Determines how the message is treated by our server and rendered inside HipChat applications.
    html -  Message is rendered as HTML and receives no special treatment. Must be valid HTML and entities 
            must be escaped (e.g.: &amp; instead of &). May contain basic tags: a, b, i, strong, em, br, img, 
            pre, code, lists, tables. Special HipChat features such as @mentions, emoticons, and image previews 
            are NOT supported when using this format.
    text -  Message is treated just like a message sent by a user. Can include @mentions, emoticons, pastes, 
            and auto-detected URLs (Twitter, YouTube, images, etc)
## Python version

2.7
3.4

## Dependencies

- requests>=2.3

## Sample Code

```python
from hipchat_notif import *

TOKEN = "AUTH_TOKEN" # Get token from https://hipchat.com/admin/api
ROOM_ID = 10000
NOTIFICATION_NAME = "NOTIFICATOR" 

# Create a new instance.

notif =  HipchatNotificator(TOKEN)
notif.notification_name = NOTIFICATION_NAME
notif.room = ROOM_ID

# Send Alert notification 
notif.alert("Alert", message_format = "text")

# Send Ok message
notif.ok("Not Alert", message_format = "html")

# Send message
notif.message("Message")

# Send Notification
notif.notif("Notification")
```

### Correspondence table

|Method |  Notify | Color
:----: |  :----: | :----:
alert() |  True | red
ok() |  False | green
message() |  False | yellow
notif() | True | gray
whale-agent 0.0.1.3
Agent for Whale Monitoring
License: MIT
Keywords: Whale Monitoring,Agent,Monitoring,Alerting

===============================
Whale Monitoring - Agent
===============================

.. image:: https://badge.fury.io/py/whale-agent.png
    :target: http://badge.fury.io/py/whale-agent

.. image:: https://pypip.in/d/whale-agent/badge.png
        :target: https://pypi.python.org/pypi/whale-agent

.. image:: https://ci.frigg.io/badges/WhaleMonitoring/agent/
        :target: https://ci.frigg.io/WhaleMonitoring/agent/

.. image:: http://ci.frigg.io/badges/coverage/WhaleMonitoring/agent/
        :target: https://ci.frigg.io/WhaleMonitoring/agent/


Planned collect methods
-----------------------
* Collect using python code in the library
* Call nagios plugins

Datatypes
---------
* Events
* Metrics




History
-------

0.0.1 (2014-01-11)
---------------------

* First release on PyPI.
ghtools 0.23.0
ghtools: tools for interacting with the GitHub API
License: MIT
Keywords: sysadmin git github api

ghtools
=======

A set of commandline utilities for interacting with the GitHub or GitHub
Enterprise API.

.. image:: https://travis-ci.org/alphagov/ghtools.png?branch=master
   :target: https://travis-ci.org/alphagov/ghtools

Installation
------------

``ghtools`` is available on PyPI_ and can be installed using pip_::

    $ pip install ghtools

.. _PyPI: http://pypi.python.org/pypi
.. _pip: http://www.pip-installer.org/
    
Usage
-----

Simple usage::

    $ eval `gh-login`
    $ gh-repo alphagov/ghtools get
    $ gh-org alphagov members

``ghtools`` is not a monolithic program. Instead, it comes with a number of
scripts which each perform very specific tasks. The aim is for these scripts
to be composable, allowing you to pipe their data to and from other unix tools
(``grep``, ``sort``, ``uniq``, ``python -m json.tool``, etc.) in order to
build up your own more complex scripts.

Currently available tools within ``ghtools``

==================   ======================================================
Command              Description
==================   ======================================================
gh-browse            Manually browse the GitHub API by URL
gh-list-members      List members of a GitHub organisation (may be removed)
gh-login             Login to GitHub, generating an OAuth login token
gh-migrate-project   Migrate an entire project between GitHub instances
gh-migrate-teams     Migrate organisation teams between GitHub instances
gh-org               Interact with organisations 
gh-repo              Interact with repositories
gh-status            Submit commit build status to GitHub
==================   ======================================================


Multiple instances
------------------

``ghtools`` is, in particular, designed for interacting with multiple GitHub
instances (i.e. github.com as well as your company's GitHub Enterprise
installation). You tell ``ghtools`` how to connect you non-github.com GitHub
instances using "nicknames" and environment variables. For example, here's how
to login to a GitHub instance nicknamed "foo", using a custom SSL cert
bundle::

    $ export GITHUB_FOO_API_ROOT=https://github.foo/api/v3
    $ export GITHUB_FOO_CA_BUNDLE=/usr/share/ssl/github_foo.crt
    $ eval `gh-login --scope repo foo`
    $ gh-repo foo:alphagov/ghtools get
    $ gh-org foo:alphagov members 

License
-------

``ghtools`` is released under the MIT license, a copy of which can be found
in ``LICENSE``.