semvec/pypi-packages huggingface dataset:
sonoff 0.0.3
Python package for interacting with Yeelight Sunflower bulbs
License: MIT
Keywords: sonoff,hassio,iot

#yeelightsunflower

[![Build Status](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower.svg?branch=master)](https://travis-ci.org/lindsaymarkward/python-yeelight-sunflower)

yeelightsunflower is a Python package for interacting with Yeelight Sunflower light bulbs.

Product details for these bulbs can be found at the following website (but note that they may not be available any more): https://www.yeelight.com/en_US/product/yeelight-sunflower

This library was written primarily to work with Home Assistant: https://home-assistant.io

Communication is via TCP commands, e.g.  
Sending `GL,,,,0,\r\n` to the IP address of the Yeelight hub gets the current state of all lights and would return something like: `GLB 143E,1,1,22,255,10,10,0,0;287B,1,1,64,255,10,10,0,0;0001,1,1,0,255,10,10,0,0;`  
Sending `C 143F,255,0,255,50,\r\n` would set the light identified by `143F` to magenta at 50% brightness.  

The library wraps these commands in a form suitable as a platform for the Home Assistant light component, and could be used by other modules.  
 
This library does not implement the SSDP hub identification that Yeelight Sunflower hubs support.
gsyslog 0.10
George application logger similar to syslog
License: MIT
Keywords: log logger logging gsyslog syslog

# gsyslog
Python package for syslog like debugging with user level programs

Create an easy to use logger facility the act similar to the Linux syslog,
but can be used by any application. That way a user application can write
logs very similar to root syslog an be consistant.

To check out a copy of the source:
    cd base-location
    git clone https://github.com/fulkgl/gsyslog.git

Run each of the following with:
    Python 2.7.13

Run unit tests:
    cd base-location
    python tests\unittest_gsyslog.py

To check the coding standards and minor quality check:
    cd base-location
    pycodestyle pybaccarat\playingcards.py
    pycodestyle pybaccarat\baccarat.py
    pycodestyle pybaccarat\baccaratsystems.py
    pycodestyle bin\play_baccarat.py
    pylint --rcfile=\usr\local\bin\pylint2.rc pybaccarat\playingcards.py
    pylint --rcfile=\usr\local\bin\pylint2.rc pybaccarat\baccarat.py
    pylint --rcfile=\usr\local\bin\pylint2.rc pybaccarat\baccaratsystems.py
    pylint --rcfile=\usr\local\bin\pylint2.rc bin\play_baccarat.py

To run the build and make distribution packages:
    cd base-location
    python setup.py sdist bdist_egg
    rem dist/* contains source and binary distribution packages


How to publish to git and pypi.
1. create project and files
    1.1 gsyslog\gsyslog.py and __init__.py
    1.2 tests\unittest_gsyslog.py and __init__.py
    1.3 setup.cfg
    1.4 setup.py
    1.5 README.md
    1.6 MANIFEST.in
    1.7 LICENSE (use MIT, avoid GNU)
    1.8 .gitignore and doxygen.cfg (optional)
2. run unittest to success
3. git, fulkglE74
    3.1 on git create a new repo
    3.2 pycharm vcs/git/add the whole project
        3.2.1 vcs git tag v0.10
        3.2.1 vcs git push, define, origin https://git.../gsyslog
        3.2.3 push button, change master to v0.10
        3.2.4 check online for upload at git
4. pypi userid
    4.1 \users\pc\.pypirc