semvec/pypi-packages huggingface dataset:
bulby 0.0.1.dev0
Manages the phillips hue lightbulbs
License: MIT
Keywords: etl extract transform load

bulby
=================
Python library for managing the phillips hue lightbulb

Getting Started
=================
To get started you can get a list of your lights and work with them:

.. code-block:: python

    from bulby.client import HueBridgeClient
    client = HueBridgeClient()
    light = client.get_lights()[0]
    client.set_color(light.light_id, '00ff00')

and now your light should be green! You can also reference lights by name:

.. code-block:: python

    from bulby.client import HueBridgeClient
    client = HueBridgeClient()
    client.set_color('Office 1', '00ff00')



Development
================
API Documentation for the Phillips Hue is here:

http://www.developers.meethue.com/

You can test the API of your phillips hue by going to ``/debug/clip.html``.

Running tests
=================
To run the tests you can do the following:

.. code-block:: bash

    tox -e py34

The first time you run the tests you will need to hold the link button.

Credits
==================
- SSDP Module originally developed by Dan Krause here:
  https://gist.github.com/dankrause/6000248

- Hex -> XY originally developed by Ben Knight here:
  https://github.com/benknight/hue-python-rgb-converter
newrelic_ops 1.2
newrelic manipulation tool
License: MIT
Keywords: newrelic install saltstack automatic

This is a package for installing new relic free monitoring on Linux server!
usage: new_relic.py [-h] [-v | -q]
                    [--loglvl {DEBUG,INFO,WARNING,ERROR,CRITICAL}]
                    [--logfile LOGFILE] [--logfmt LOGFMT] [--install]
                    [--no-install] [--key KEY]

optional arguments:
  -h, --help            show this help message and exit
  -v, --verbose         Increse logging output
  -q, --quiet           Decrease logging output
  --install             (default: False) installs nrsysmond on server!
  --no-install
  --key KEY, -k KEY     (default: ) newrelic account key needed for installation

logging:
  Detailed control of logging output

  --loglvl {DEBUG,INFO,WARNING,ERROR,CRITICAL}
                        Set explicit log level
  --logfile LOGFILE     Ouput log messages to file
  --logfmt LOGFMT       Log message format
simpleobserver 1.0.3
A very simple implementation of the observer pattern
License: MIT
Keywords: events,patterns,observer

simpleobserver
===============

|PyPI| |Build Status| |Coverage Status|

A simple implementation of the observer pattern.

.. code-block:: python

	import simpleobserver
	# Create a subject and list the events it might fire
	foo = simpleobserver.Subject('bar', 'baz')

	# Add a listener
	def foo_bar_listener(*args):
	   print("heard 'bar'", args)
	   
	foo('bar', foo_bar_listener)

	# fire events
	foo.fire('bar', 1, 2, 3)
	# -> heard 'bar' (1, 2, 3)

	# Trying to listen to an unregistered event throws an error
	foo('snorble', lambda: None)
	# -> AssertionError: snorble is not a valid event for this subject

	# Same with trying to fire an unregistered event
	foo.fire('snorble')
	# -> AssertionError: snorble is not a valid event for this subject


.. |PyPI| image:: https://pypip.in/version/simpleobserver/badge.svg?style=flat
   :target: https://pypi.python.org/pypi/simpleobserver/

.. |Build Status| image:: https://travis-ci.org/cooper-software/simpleobserver.svg
   :target: https://travis-ci.org/cooper-software/simpleobserver

.. |Coverage Status| image:: https://img.shields.io/coveralls/cooper-software/simpleobserver.svg
   :target: https://coveralls.io/r/cooper-software/simpleobserver
websocket-server 0.4
A minimal websocket server that works for both Python2 and Python3
License: MIT
Keywords: websocket, ws, server, tcpserver, tcp, minimal, API

A minimalistic websocket server implementation with no dependencies that works both Python2 and Python3.

The server comes with a clean full-fledged API. Notice that the Server doesn't implement all features of Websockets like SSL encryption. It's meant to be used mostly for prototyping or making GUI for your application.
observer.simple 1.0.0
A very simple implementation of the observer pattern
License: MIT
Keywords: events,patterns,observer

observer
==========

|PyPI| |Build Status| |Coverage Status|

A simple implementation of the observer pattern.

.. code-block:: python

	import observer
	# Create a subject and list the events it might fire
	foo = observer.Subject('bar', 'baz')

	# Add a listener
	def foo_bar_listener(*args):
	   print("heard 'bar'", args)
	   
	foo('bar', foo_bar_listener)

	# fire events
	foo.fire('bar', 1, 2, 3)
	# -> heard 'bar' (1, 2, 3)

	# Trying to listen to an unregistered event throws an error
	foo('snorble', lambda: None)
	# -> AssertionError: snorble is not a valid event for this subject

	# Same with trying to fire an unregistered event
	foo.fire('snorble')
	# -> AssertionError: snorble is not a valid event for this subject


.. |PyPI| image:: https://pypip.in/version/observer/badge.svg?style=flat
   :target: https://pypi.python.org/pypi/observer/

.. |Build Status| image:: https://travis-ci.org/cooper-software/observer.svg
   :target: https://travis-ci.org/cooper-software/observer

.. |Coverage Status| image:: https://img.shields.io/coveralls/cooper-software/observer.svg
   :target: https://coveralls.io/r/cooper-software/observer
py-config-parser 1.1
Simple python json configuration file parser
License: MIT
Keywords: config parser json

Парсер конфигурационных файлов для приложений на Python
=======================================================

Примеры использования:
----------------------

config.py
::

    from config_parser.parser import ConfigParser

    parser = ConfigParser(file_path='/path/to/config.json')
    DEBUG = parser.get_bool('system.debug', False)
    ALLOWED_HOSTS = parser.get('system.allowed_hosts', ())

config.json
::

    {
        "system": {
            "debug": "true",
            "allowed_hosts": [
                '127.0.0.1'
            ]
        }
    }

Дополнительные примеры имеются в папке examples.


Добавление собственных преобразователей типов:
----------------------------------------------
::

    from config_parser.parser import ConfigParser

    parser.register_conversion_handler('unicode', lambda value: str(value))


Затем для их использования:
---------------------------
::

    parser.get_converted('test.value', 'unicode')