Saravanan666/pypi-org huggingface dataset:
Package: yeecli
yeecli is a command-line utility for controlling the YeeLight RGB LED lightbulb.
It is released under the BSD license.Quick startYou can install yeecli with pip:pip install yeecliYou’re done (make sure developer mode is enabled for your bulb in the app)! Here are a few sample commands:yee --ip=192.168.0.34 turn on
yee --ip=192.168.0.34,192.168.0.28:8329 toggle
yee --ip=192.168.0.34 rgb ff00ff
yee --ip=192.168.0.34 brightness 100FeaturesThis is a list of features supported right now and features that I’m wanting to
add later.Currently supported:Non-music modesAll flow transitions in the protocolAdditional HSV flow transitionPresetsMultiple bulbsBulb groupsWill probably be supported at some point:Music modeDiscoveryUsageTo see the commands supported by yeecli, just run it without any commands. It
allows you to turn the light bulb on or off, set the RGB value, the color
temperature, the HSV value, etc.yeecli does not support discovery, so you have to specify the IP of the bulb you
want to use every time. To make this easier, yeecli supports using
a configuration file.Simply create a file in~/.config/yeecli/yeecli.cfgthat looks something like
this:[default]
ip = 192.168.12.3
port = 55433
effect = smooth
duration = 500And the defaults will be loaded from it. All the values in it are optional, and
you can override them in the command line when running the script.You can also specify multiple bulbs like so:[default]
ip = 192.168.12.3
port = 55433
effect = smooth
duration = 500

[bedroom]
ip = 192.168.12.4
effect = smooth
duration = 500

[hallway]
ip = 192.168.12.5:88273,192.168.12.3Then, to select a specific bulb/bulb group, just pass it to the--bulboption:yee --bulb=bedroom brightness 100
Package: yee-cli
Simple Yeelight Room control CLI written in Python. Control your lights from terminal.Installationpip install yee-cliConfigLocation:~/.yee_roomsFormat:JSONExample:{"office":["192.168.1.1","192.168.1.2"],"bedroom":["192.168.1.3","192.168.1.4"]}Config path can be also passed with-cflag orYEE_ROOM_CONFIGenv variableTo find bulb IPs use tools likenmap,nuttyor check on yourYeeLight appUsageyee[-c--config][ROOM_NAME*] COMMAND[ARGS]...`*Use room names from configExample Usage:yee bedroom on
yee bedroom dim 10
yee color_list
yee bedroom color indianred
... romance on !Commands:color         Set lights to given color.
color_list    Available color list
dim           Dim lights to level (1-100).
off           Turn lights off.
on            Turn lights on.
random_color  Switch to random color.
toggle        Toggle lights.TroubleshootingConnection Issues (make sure):IP addresses of bulbs in config are correct.LAN Control is ON (https://www.yeelight.com/faqs/lan_control).You are connected to same WIFI network as your bulbs.Other:For more debug ideas visithttps://github.com/skorokithakis/python-yeelightCreditsWouldn’t be possible withoutskorokithakis/python-yeelight.UseswebcolorsUsesclickCreated withCookiecutterand thejohanvergeer/cookiecutter-poetryproject template.After writing almost all I realised that author ofpython-yeelightalso wrote CLI. Check it out - it has different API / config and more features >>>yeecli
Package: yeectl
yeectlYeectl is a Python TUI for controlling Yeelights. It uses theYeelight Python libraryto control the lights, andpy-cuito create an interface.InstallationTo install remotely usingpip:pip install yeectlTo install from source using usingpip:git clone https://github.com/Bean499/yeectl
cd yeectl
pip install .UsageRunpython -m yeectl.The colours displayed in the bottom right will be loaded from~/.xresourcesand~/.config/yeectl/.The names of each light will be determined by the custom name set for their IP addresses. If a light does not have a custom name, it will be given a default name based on its model. If there is no set name for its model, it will simply be called "Yeelight".Setting Custom Names for Lightsyeectlreads the file~/.config/yeectl/lightsto check for custom light names. Light IP addresses should be seperated from their name by a colon and a space.Example~/.config/yeectl/lights:0.0.0.0: Bedroom light
0.0.0.1: Desk lightstripImporting Colours from XResourcesyeectlwill import any colours from~/.xresourcesthat are set as*.colorfollowed by anything.Importing Custom Coloursyeectlwill import any custom colours from~/.config/yeectl/colours~/.config/yeectl/colors. Colour names should be seperated from their hexadecimal value by a colon and a space.Example~/.config/yeectl/colours:Red: #ff0000
Green: #00ff00
Blue: #0000ffTodoAdd a hotkey to show the IP address of a lightAllow the user to manually name lights using a configuration fileLoad colours from$XDG_CONFIG_HOMEinstead of~/.configLicenseyeectlis licensed under the MIT license.Changelog0.0.3Added ability to set custom light namesFixed a crash that would occur when a model doesn't have a set display name0.0.2Fixed a few crashes0.0.1First release
Package: yeekit-tr-free
yeekit-tr-freeYeekit translate for free: be gentle and rate-limit to 3 calls/2 seconds, first 200 calls exemptedInstallationpip install -U yeekit-tr-freeorInstall (pip or whatever) necessary requirements, e.g.pip install requests fuzzywuzzy pytest jmespath coloredlogsorpip install -r requirements.txtDrop the file yeekit_tr.py in any folder in your PYTHONPATH (check with import sys; print(sys.path)or clone the repo (e.g.,git clone https://github.com/ffreemt/yeekit-tr-free.gitor downloadhttps://github.com/ffreemt/yeekit-tr-free/archive/master.zipand unzip) and change to the yeekit-tr-free folder and do apython setup.py developUsagefrom yeekit_tr import yeekit_tr

print(yeekit_tr('hello world', to_lang='zh'))  # ->'你好世界'
print(yeekit_tr('hello world', to_lang='de'))  # ->'Hallo Welt'
print(yeekit_tr('hello world', to_lang='fr'))  # ->'Bonjour le monde'
print(yeekit_tr('hello world', to_lang='ja'))  # ->'ハローワールド'
print(yeekit_tr('Diese sind Teste', 'de', 'zh'))  # ->'这是测试'
print(yeekit_tr('Diese sind Teste', 'de', 'en'))  # ->'These are tests'Languages supported: ar, ca, zhcn, nl, fi, fr, de, el, he, hi, it, ja, kk, ko, pt, ru, es, tr, uk.
Consult the official website for details.AcknowledgmentsThanks to everyone whose code was used
Package: yeelight-atmosphere
yeelight-atmosphereThe package allows you to control yeelight smart bulbs, changes color according to the color scheme of the image on the
screen.Installationpip install yeelight-atmosphereUsage:python -m yeelight_atmosphereUse --choose flag to force choose a bulb by network scanning otherwise previous bulb if exists will be used.python -m yeelight_atmosphere --chooseTo choose a part of screen to parse for a color use --strategy flag. Full screen needs more CPU.Center area of screen = 0Top and bottom borders = 1Full screen = 2python -m yeelight_atmosphere --strategy 0To modify delay of changing color use --dalay (seconds). The less the smoother.python -m yeelight_atmosphere --delay 0.3All flags are:Force choose bulb
--choose / -c

Strategy, see yeelight_atmosphere/const.py
--strategy / -s

Force ip address to connect
--bulb_ip_address / -i

Bulb search timeout
--timeout / -t

Dalay of color change (sec), the less the smoother
--delay / -d

Size of queue for colors
The higher the value, the slower the transition
--queue_size / -q

The higher the value, the quicker the transition.
--saturation_factor / -f

Screenshot will be updated every N delays, 
where N is ttl and delays from parameter
--screenshot_ttl / ttlDependencies:Pillowsqlalchemyyeelightcolorthief
Package: yeelight-jh
yeelightis a simple library that allows you to control YeeLight WiFi RGB
LED bulbs through your LAN.InstallationThere are many ways to installyeelight:With pip (preferred), dopip install yeelight.With setuptools, doeasy_install yeelight.To install from source, download it fromhttps://gitlab.com/stavros/python-yeelightand dopython setup.py install.UsageTo useyeelight, first enable “development mode” on your bulb through the YeeLight app.
Then, just import the library into your project like so:>>> from yeelight import BulbAfterwards, instantiate a bulb:>>> bulb = Bulb("192.168.0.5")
>>> bulb.turn_on()That’s it!Refer to the rest ofthe documentationfor more details.ContributingIf you’d like to contribute to the code, thank you! To install the various libraries
required, run (preferably in a virtualenv):$ pip install -Ur requirements_dev.txtIn order for your MR to pass CI, it needs to be checked by various utilities, which are
managed bypre-commit.pre-commitwill be installed by the above command, but you
also need to install the pre-commit hook:$ pre-commit installThe hook will run on commit. To run it manually (e.g. if you’ve already committed but
forgot to run it, just run):$ pre-commit run -aThanks again!Licenseyeelightis distributed under the BSD license.
Package: yeelightsunflower
#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-sunflowerThis library was written primarily to work with Home Assistant: https://home-assistant.ioCommunication 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.Changelog for yeelightsunflower===============================0.0.10 (2018-03-09)------------------- Correct string check and missing CHANGELOG (again :)0.0.9 (2018-03-09)------------------- Handle and log invalid responses when getting lights (avoid IndexError)0.0.8 (2017-02-25)------------------- Correct problem with CHANGELOG missing in PyPi package (update MANIFEST.in)0.0.7 (2017-02-25)------------------- Try to reconnect socket when there's a send/receive error- Set availability of lights to False if hub is unavailable0.0.6 (2017-02-23)------------------- Add time check to use cached data instead of fetching new data via TCP. This is useful since multiple bulb objects will get the hub's data in short succession, and all should just use the same values.0.0.5 (2017-02-17)------------------- Make library thread safe with threading.Lock
Package: yeet-api
yeet-apiWelcome toyeet-api! This is where the API used by (the upcoming) yeet-cli
resides. This API is written in Python and is aimed to be as friendly as
possible towards the community, so you can build your own tools, too.Note that currentlyyeet-apiis in major development, and is currently
unstable to be used.ContributionTo contribute, please make sure you have black installed,
and preferably, use our provided pre-commit hook to run
black automatically before commiting.# To install the pre-commit hook:poetryruninstall-hook
Package: yeetcode
YeetcodeWhy leetcode, if you can write your own?Yeetcode is a leetcode imitation, where you can create your own
declarative problem specifications with YAML, auto-generate a solution
template in Python, fill in your solution, then run against your own
test cases.Quick startUserCreate and activate avirtual environment(highly recommended)Upgrade pip and install yeetcode:python-mpipinstall--upgradepip
python-mpipinstallyeetcodeCreate aproblem configurationGenerate a Python solution template:yeetcodetemplateproblem.yaml>solution.pyWork out your solutions in the.pyfileRun against your test cases:yeetcoderunproblem.yamlsolution.pyDeveloperClone this repo and install in development mode with test dependencies:python-mpipinstall-e.[tests]RoadmapCreate a minimal proof of conceptSolution files auto-generationMultiple methods test routineData structure: singly linked listData structure: binary treePrettify user messagesDocstring field describing problemProblem config documentationInplace problems with no return
Package: yeet-pythtb
yeet-pythtbThis package is a modification of the originalPythTB, developed and mantained by by Sinisa Coh (University of California at Riverside), David Vanderbilt (Rutgers University) andothers. All credit of the essential implementation goes to the original developers. For documentation, please visit thePythTB page, as the interface is identical.This modification implements the most performance-critical routines in a JIT-compiled way by usingNumba. In particular, the functions that solve the Hamiltonian are compiled and parallelized. This affects essential computations such as the calculation of bandstructures and Wannier charge centers, etc. The speed gains are more noticeable in large tight-binding models, such as those obtained through the Wannier90 interface. For really simple models, the JIT-compilation overhead may not be worth it, although is a one-time delay for each routine.The package succesfully runs all theexamplesfor the original PythTB, so it is expected to work without issues.Requirementsyeet-pythtb requires the following packages:numbamatplotlibnumpy
Package: yekit
工具介绍本工具是看了ShichaoMa的项目写出来的，因为我觉得有很多功能，用装饰器的方式会更好。函数介绍kit.pytimer装饰器函数，用于计算func运行耗时，并将运行时间输出至屏幕上，结果保留小数点后3位。from yekit import kit.timer as timer

@timer
def process():
    some operations...

process()输出结果会将process的运行时间打印到console中。
Package: yel
yelBel Lisp for PythonWARNING: This repo is in development. It was automatically generated withmkpylib. If you're reading this message, it means that I use this repo for my own purposes right now. It might not do anything at all; the default functionality isprint('TODO').If you really want to try it out, feel free. I recommend reading through thetestsand commit history to see if it does what you need, orask mefor status updates.Stay tuned!Installpip3 install -U yelOr develop locally:git clone https://github.com/shawwn/yel ~/yel
cd ~/yel
python3 setup.py developUsageimportyelprint('TODO')LicenseMIT. SeeLICENSEfile.ContactA library byShawn Presser. If you found it useful, please considerjoining my patreon!My Twitter DMs are always open; you shouldsend me one! It's the best way to reach me, and I'm always happy to hear from you.Twitter:@theshawwnPatreon:https://www.patreon.com/shawwnHN:sillysaurusxWebsite:shawwn.com
Package: yell
Pluggable notifications for your Python apps.yellis not a notification storage or delivery backend but a set of APIs that make it easy to add your own delivery mechanisms.The full documentation is availablehere.Using notification decoratorsfrom yell import notify
from yell.decorators import notification

@notification(name = 'buffalo')
def buffalo_printer(message):
    print message

@notification(name = 'buffalo')
def buffalo_saver(message):
    save(message)

notify("buffalo", _("Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo"))Using notification classesfrom yell import Notification, notify

class Buffalo(Notification):
    name = "buffalo"
    message = _("Buffalo buffalo Buffalo buffalo buffalo buffalo Buffalo buffalo")

    def notify(self, *args, **kwargs):
        print self.message

class BuffaloEmail(Buffalo):
    def notify(self, *args, **kwargs):
        send_mail("Buffalo", self.message, 'buffalo@example.com', [kwargs.get('user').email])

class BuffaloDatabase(Buffalo):
    def notify(self, *args, **kwargs):
        BuffaloModel.objects.create(user = kwargs.get('user'))

# The default behaviour is to use every notification backend with the same
# name
notify("buffalo", user = User.objects.get(id=1))

# Only send emails
notify("buffalo", user = User.objects.get(id=1), backends = [BuffaloEmail])Changelogv0.3backwards incompatibleGuessing the file extension with themimetypespackage proved to be inconsistent across systems.TemplatedEmailBackendnow makes use of explicitly declared file
extensions.v0.2Made the API saner to use (backwards incompatible):yell.Yellbecameyell.Notificationyell.yellbecameyell.notifyyell.decorators.yellingbecameyell.decorators.notification
Package: yelljfish
yelljfish is a pixel-based, potentially pseudo-random image generator. It is
very simple.Licenseyelljfish is free software under the terms of the GNU Affero General Public
License version 3 (or any later version). This is version 0.1.0 of the program.ContactThe author of yelljfish is Niels Serup. Bug reports and suggestions should be
sent tons@metanohi.namefor the time being.InstallationDependenciesyelljfish requires libpng. On Debian-based systems, you can install it with
something like this command:apt-getinstall libpng12libpng12-devWay #1Get the newest version of yelljfish athttp://metanohi.name/projects/yelljfish/or athttp://pypi.python.org/pypi/yelljfishExtract yelljfish from the downloaded file, cd into it and run this in a
terminal:# python3 setup.py installExamples are available in theexamplesdirectory.Way #2Just run this:# pip-3.1 install yelljfishNote that this will not make any examples available.UseAs a command-line toolRunyelljfishto use it. Runyelljfish--helpto see how to use it.As a moduleTo find out how to use it, run:$ pydoc3 yelljfishExamplesThere are a few examples in theexamplesdirectory.Developmentyelljfish uses Git for code management. The newest (and perhaps unstable) code
is available at:$ git clone git://gitorious.org/yelljfish/yelljfish.gitThis documentCopyright (C) 2011 Niels SerupCopying and distribution of this file, with or without modification, are
permitted in any medium without royalty provided the copyright notice and this
notice are preserved.  This file is offered as-is, without any warranty.
Package: yellowant
Copyright (c) 2016 YellowAnt Inc.Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the “Software”), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
Description: UNKNOWN
Keywords: yellowant slack bot
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications :: Chat
Classifier: Topic :: Internet
Package: yellowbox
YellowboxYellowbox makes it easy to run docker containers as part of black box tests.Documentation:https://yellowbox.readthedocs.io/ExamplesSay you want to run a blackbox test on a service that depends on a redis server.fromyellowbox.clientsimportdocker_clientfromyellowbox.extrasimportRedisServicedeftest_black_box():withdocker_client()asdocker_client,RedisService.run(docker_client)asredis:redis_port=redis.client_port()# this the host port the redis...# run your black box test here# yellowbox will automatically close the service when exiting the scopedeftest_black_box_with_initial_data():# you can use the service's built-in utility functions to# easily interoperate the servicewithdocker_client()asdocker_client,RedisService.run(docker_client)asredis,redis.client()asclient:client.set("foo","bar")...LicenseYellowbox is registered under the MIT public license
Package: yellowdog-python-examples
Example Python Commands using the YellowDog Python SDKOverviewThis is a set of command line Python scripts for interacting with the YellowDog Platform, providing examples of usage of theYellowDog Python SDK.The command scripts support:ProvisioningWorker Pools with theyd-provisioncommandSubmittingWork Requirements with theyd-submitcommandUploadingfiles to the YellowDog Object Store with theyd-uploadcommandInstantiatingCompute Requirements with theyd-instantiatecommandDownloadingResults from the YellowDog Object Store with theyd-downloadcommandAbortingrunning Tasks with theyd-abortcommandCancellingWork Requirements with theyd-cancelcommandShutting DownWorker Pools with theyd-shutdowncommandTerminatingCompute Requirements with theyd-terminatecommandDeletingobjects in the YellowDog Object Store with theyd-deletecommandListingYellowDog items using theyd-listcommandResizingWorker Pools and Compute RequirementsCreating, Updating and RemovingSource Templates, Compute Templates, Keyrings, Credentials, Namespace Storage Configurations, Image Families, and Configured Worker PoolsPlease see theGitHub repositoryfor more details.
Package: yellowdog-sdk
YellowDog SDK (Python)The YellowDog SDK allows you to integrate the YellowDog Platform into your Python applications.UsagePlease refer tothe full documentation.AdvancedBuilding From SourceIf you wish to modify the SDK, you can build it from source. You must have Python 3.7 installed:python3-mvenvvenv# Create a new virtual environment.venv/bin/activate# Activate the virtual environmentpipinstallpip-U# Upgrade pippipinstalltox# Install toxtox-edev# Create a development environmentPycharm may then be configured by adding .tox/dev/bin/python as the interpreter.DebuggingWhen debugging the SDK via Pycharm, Pycharm will offer to install the CPython extensions to speed up debugging.In order for this to work on Ubuntu, you need to first have the dev package for the version of Python you are debugging against.For example:sudoapt-getinstallpython3.8-devTesting Against Multiple Python Versions# Add the deadsnakes PPAsudoadd-apt-repositoryppa:deadsnakes/ppa# Update package indexessudoapt-getupdate# Install all supported versions of Pythonsudoapt-getinstallpython3.8python3.8-distutilspython3.9python3.9-distutilspython3.10python3.10-distutilspython3.11python3.11-distutilspython3.12python3.12-distutils# Install toxpython3-mpipinstalltox# Run tests for each Python versionpython3-mtoxDebuggingWhen debugging the SDK via Pycharm, Pycharm will offer to install the CPython extensions to speed up debugging.In order for this to work on ubuntu, you need to have the dev package for the version of Python
Package: yellowduck
yellowduckWhat is it?yellowduckis the data science toolbox for everyone. To be precise, for the lazy man like me!Actually,yellowduckis like a sandbox library for me. If I found something great I will surely add it inyellowduck.Main FeaturesImage grouping by its similarityText grouping by its similarityText cleansing functionExamplePlease go to thisLinkInstallYou have to specify functions you want to use:
If you need full option ofyellowduck, you can install it by using:# PyPIpipinstall"yellowduck[full]==x.x.x"However, if you need to use only text's functions or image's function, you will need:# PyPIpipinstall"yellowduck[text]==x.x.x"# orpipinstall"yellowduck[image]==x.x.x"# accordinglyFound IssuesCreate New Issuehereand I will fix it as soon as I have a free time. (LOL)This library was inspired bykora, A collection of tools to make programming on Google Colab easier.