semvec/pypi-packages huggingface dataset:
skymonitor 0.0.16
skyline monitor
License: MIT
Keywords: skyline monitor

# SKYLINE
monitor project of xiachufang LTD.
# 使用方法
1. 拷贝线上的 /etc/skyline 到目标机器的 /etc/skyline, 格式如 test_conf.py 所示
2. pip install skymonitor
3. 使用 skymonitor monitor.conf warning.conf 启动
containers 0.0.3
automatic typed collections in python using decorators
License: MIT
Keywords: types, collections, containers

This is a python library for typed containers -- it makes it safer & easier to work with lists & dicts of items of the same type by providing:

* type checks
* container methods
* automatic dictionary keys

Example::

  import containers

  @containers.container_class
  class Item:
      def __init__(self, x):
          self.x = x

      @containers.container_method()
      def sum(container):
          return sum(item.x for item in container)

      @containers.container_key
      def key(self):
          return self.x

  list_ = Item.container(list)
  list_.append(Item(1))
  list_.append(Item(2))

  # items of incompatible type are rejected
  with pytest.raises(TypeError):
      list_.append(3)

  # container_method methods are available on the list
  assert list_.sum() == 3
sentry-sso-google 1.2
Google SSO support for Sentry
License: MIT

sentry-sso-google
=================

Google SSO support for Sentry 7.5 and above.

Usage
-----

Add ``sentry_sso_google`` to your Sentry config's ``INSTALLED_APPS``.

The following settings are required to be in your Sentry configuration.
You can create a new project in the `Developers
Console <https://console.developers.google.com>`__. From there, go to
APIs & Auth, Credentials and get the credentials for a web application.
You will also need to enable 'Google+ API' in the APIs section.

-  ``GOOGLE_OAUTH2_CLIENT_ID``
-  ``GOOGLE_OAUTH2_CLIENT_SECRET``

You can limit who can sign into Sentry using this provider by setting
the ``GOOGLE_WHITE_LISTED_DOMAINS`` to a list of allowed domains. For
example, to limit to ``educreations.com`` users, one could do:

.. code:: python

    GOOGLE_WHITE_LISTED_DOMAINS = ['educreations.com']

Instead, or, in addition, you can limit only certain emails to log in
using the ``GOOGLE_WHITE_LISTED_EMAILS`` setting. The setting should be
a list of emails that are checked. For example, to limit to a few users,
one could do:

.. code:: python

    GOOGLE_WHITE_LISTED_EMAILS = [
        'chris.streeter@educreations.com',
        'corey.farwell@educreations.com',
    ]

Once deployed, go to the 'Auth' section of your organization's sentry
settings. Click the 'Configure' next to 'Google'.

Copyright
---------

Copyright © 2015, Educreations, Inc under the MIT software license. See
LICENSE for more information.