Saravanan666/pypi-org huggingface dataset:
Package: bravia-tv
Python Bravia TVPython Bravia TV is a Python library to perform remote communication via http protocol with Sony Bravia TVs 2013 and newer. For more information on the api used in this library, refer toBRAVIA Professional Display Knowledge CenterThis library was forked fromBraviaRCand is primarily being developed with the intent of supportinghome-assistantInstallation# Installing from PyPI
$ pip install bravia-tv
# Installing latest development
$ pip install git+https://github.com/dcnielsen90/python-bravia-tv@masterInitializing and Connectingfrom bravia_tv import BraviaRC

ip_address = '192.168.1.2'

# IP address is required. The active NIC's mac will be acquired dynamically
# if mac is left None.
braviarc = BraviaRC(ip_address)


# The pin can be a pre-shared key (PSK) or you can
# receive a pin from the tv by making the pin 0000
pin = '1878'

# Connect to TV
braviarc.connect(pin, 'my_device_id', 'my device name')Command Examples# Check connection
if braviarc.is_connected():

    # Get power status
    power_status = braviarc.get_power_status()
    print (power_status)

    # Get playing info
    playing_content = braviarc.get_playing_info()

    # Print current playing channel
    print (playing_content.get('title'))

    # Get volume info
    volume_info = braviarc.get_volume_info()

    # Print current volume
    print (volume_info.get('volume'))

    # Change channel
    braviarc.play_content(uri)

    # Get app list
    app_info = braviarc.load_app_list()
    print (app_info)

    # Start a given app
    braviarc.start_app("Netflix")

    # Get scenes (video modes)
    scenes = braviarc.load_scene_list()
    print (scenes)

    # Get current scene (video mode)
    current_scene = braviarc.get_current_scene()
    print (current_scene)

    # Set scene (video mode) to 'Cinema'
    braviarc.set_scene('Cinema')

    # Turn off the TV
    braviarc.turn_off()
Package: bravia-tv-koying
Python Bravia TVPython Bravia TV is a Python library to perform remote communication via http  protocol with Sony Bravia TVs 2013 and newer:list of tvsThis library is a fork ofBraviaRCand is primarily being developed with the intent of supportinghome-assistantInstallation# Installing from PyPI
$ pip install bravia_tv
# Installing latest development
$ pip install \
    git+https://github.com/dcnielsen90/python-bravia-tv@masterInitializing and Connectingfrom bravia_tv import BraviaRC

ip_address = '192.178.1.2'
mac_address = "XX:XX:XX:XX:XX:XX"

# IP address is required. mac address is required
# to turn on TV
braviarc = BraviaRC(ip_address, mac_address)


# The pin can be a pre-shared key (PSK) or you can
# receive a pin from the tv by making the pin 0000
pin = '1878'

# Connect to TV
braviarc.connect(pin, 'my_device_id', 'my device name')Command Examples# Check connection
if braviarc.is_connected():

    # Get power status
    power_status = braviarc.get_power_status()
    print (power_status)

    # Get playing info
    playing_content = braviarc.get_playing_info()

    # Print current playing channel
    print (playing_content.get('title'))

    # Get volume info
    volume_info = braviarc.get_volume_info()

    # Print current volume
    print (volume_info.get('volume'))

    # Change channel
    braviarc.play_content(uri)

    # Get app list
    app_info = braviarc.load_app_list()
    print (app_info)

    # Start a given app
    braviarc.start_app("Netflix")

    # Turn off the TV
    braviarc.turn_off()
Package: bravo1996
dokr - Make your docker and ecs tasks easyA Helper pip package for docker and ECS tasks. This pip package helps you automate your CI/CD pipeline. If your using docker and Amazon ECS for deployments, this tool can be really helpful. This package uses aws cli and ecs cli. MakAssumptions:Assuming python is installed on your system.Docker is installed on your systemaws-cliis installed and credentials are configured on your system.ecs-cliis installed on system [For Log Command only]Installdokron your system using :pip install dokrECS Optionslogin into ecs directly (Assuming awscli is installed and configured)dokr ecs loginDeploy an image on a clusterdokr ecs deploy --cluster cluster_name --service service_name --tag image_versionCheck ecs running logs of a Task -  this command will ask for cluster/service and task defination.Note:Install ecs-cli before running this command  from here:https://docs.aws.amazon.com/AmazonECS/latest/developerguide/ECS_CLI_installation.htmldokr ecs logDocker Helper CommandsPrune whole system -  Cleans unused images, containers and volumes.dokr dock --clean-allDelete all the images matching the patterndokr dock --clean pattern_xxxAdd a tag to the existing image matching the provided pattern  (for latest tag only)dokr dock --tag pattern_xxx tag_namePush all images on a system matching a patternThis will push all images matching pattern 'pat'dokr dock --push patAWS CommandsCheck current public ip of a machine on AWSdokr aws --ip jenkinsRun Apps (subsitute todocker runcommand and DockerCompose)Configure your default values(like docker registry, port mapping, volume mapping etc. that will be same for all apps):Add an new app for deployment:Run all configured apps:Run a particular  app from ECR tags:Run a particular  app by providing a tag:Development:Clean ununsed:rm -rf build/ dist/ *egg* **.pyc __pycache__Build package:python setup.py bdist_wheeldeploy package:python -m twine upload dist/*follow this link for more detailshttps://dzone.com/articles/executable-package-pip-install
Package: bravo.plugin
bravo.plugin is a standalone version of the plugin loader from Bravo, the
world’s most extensible Minecraft server. Bravo’s plugin loader was so useful
that people put Bravo into their projects just to get access to it. And now,
through the wonders of modern technology, we have revived this classic
software as a standalone module!RequirementsOnlyzope.interfaceis required in order to use bravo.plugin. To run the
tests, one will need to have Trial installed as well:$ trial exocet
Package: bravo-python-sdk
Bravo Python SDK : White LabeledProject descriptionThis distribution only supports the Bravo Organization. This package provides an interface to CryptoNets™ 1:N fully homomorphically encrypted (FHE) face recognition, Ultrapass™
ID and human age estimation.Getting StartedSign up on the waitlist onhttps://private.idto obtain your apiKey.RequirementsPython >= 3.6NoticesLicensing Restriction: This SDK is not licensed for use in regulated gaming. To license CryptoNets in this market,
please contact CentralAMS.InstallationInstallation of the Bravo Python SDK and its dependencies is provided bypip.
If pip is not installed, see thepip user guideto install
pip.To ensure smooth installation, it’s recommended to use:pip: 9.0.2or greaterThe safest way to install the SDK is to use pip in a virtualenv:python -m pip install bravo_python_sdkIf you have the bravo_python_sdk package installed and want to upgrade to the latest version, you can run:python -m pip install --upgrade bravo_python_sdkThis will install the bravo_python_sdk package as well as all dependencies.
See theinstallationsection of
the SDK homepage Guide for more information.UsageYou will receive the Server URL and apiKey when you subscribe.Import Face factorfrom bravo_python_sdk.factor import FaceFactorfrom bravo_python_sdk.settings.loggingLevel import LoggingLevelInitialize and use factorserver_url = URL of the server

api_key = APIKEY issued on successful signup

server = FaceFactor(url=server_url, api_key=api_key,
        logging_level=LoggingLevel.full)LicensePrivate Identity LicenseCopyright (c) 2020-present, Private Identity All rights reserved.More Resources:Getting StartedInstallationUsageSDK-Docs
Package: brawlapi
brawlapiSee the Exemplesimportmatplotlib.imageasimgimportmatplotlib.pyplotaspltimportbrawlapiasapiwithapi.DataBase('<path-to-db>')asdb:jm=api.Player("jm",db)print(jm)# Each day is stored in the database with a unique key# The key consists in the first 8 chars of the ISO-formated date string (yyyymmdd)print(f"{len(jm.keys)}days:{jm.keys}")# Get all the games of the day 0print(jm[0])# orprint(jm.get_battles(jm.keys[0]))# Or with a generatorformatchsinjm.battles:print(matchs)break# Infos on all battles for a playerforminjm.battles:forginm:print(f"{g.battle.mode}:{g.start}+{g.duration}={g.end}")print("BRAWLERS")brawlers=db.brawlersprint(brawlers)nita=db.get_brawler(brawlers[1])print(nita.keys)# print(nita.invocs)print(nita.stats)nita.dwnl_image("test.png")im=img.imread("test.png")plt.imshow(im)plt.show()
Package: brawlapi-py
brawlapiSimple python wrapper for the Brawl Stars API!
This module uses: brawlapi.com (Brawlify.com), brawlstats.RequirementsPython version: 3.6+Python Modules: requests, json, osOS: Windows, Linux, Android, MacOSInstalling and UsingYou can use this API in two ways:Download and place thebrawlapi.pyfile in the directory. Then import the file to the script:import brawlapi.Use pip:pip install brawlapi-pyand import to code:import brawlapi.AuthorizationTo use this API you need access token from here:https://developer.brawlstars.com/#/accountUse this function to authenticate:bs = brawlapi.BrawlApi()bs.BrawlSession('token')
Package: brawling
Brawling 2.0Sync + async wrapper for the Brawl Stars API (additionally via an unofficial proxy) and BrawlAPI by BrawlifyInstallationTo install normally (only sync, no cache)pip install brawlingThere are three additional extras you can install:async,cache,acacheTo install with caching support (only sync, installsrequests-cache)pip install brawling[cache]To install with async support (will installaiohttp)pip install brawling[async]To install with async caching support (will also installaiohttp,aiohttp-client-cacheandaiosqlite)pip install brawling[acache]UsageUsage is fairly simple and straightforward:importbrawling# either a token, or a path to the file with itTOKEN="..."client=brawling.Client(TOKEN)player=client.get_player("#YOURTAG")print(f"Hi,{player.tag}")# or, asynchronouslyclient=brawling.AsyncClient(TOKEN)player=awaitclient.get_player("#YOURTAG")print(f"Hi,{player.tag}")If you only need to make one or few calls, you can use a context manager:withbrawling.Client(TOKEN)asclient:player=client.get_player("#YOURTAG")# or, asynchronouslyasyncwithbrawling.AsyncClient(TOKEN)asclient:player=awaitclient.get_player("#YOURTAG")If you want to paginate over data, there are also paginator functions available to do exactly that:pages=client.page_brawler_rankings(brawling.BrawlerID.SHELLY,per_page=10,region='us',max=200)# ^ this operation was immediate, no data was fetched yetforpageinpages:# prints a list of 10 itemsprint(page)# if asynchronous, use 'await client.page_xx()' and 'async for'When initializing a client, there are additional options:Client(token:str,proxy=False,strict_errors=True,cache=False)proxy- uses the Royale API proxy (readSpecial thanksbefore using!) to make requests, useful if you don't have a static IP.strict_errors- throw an error if the API returned one, if set toFalse, will return anErrorResponseobject instead.cache- enables caching of responses, caching period is determined by either the API, or a fallback default value of 10 minutes.Common issuesIf you are having troubles with getting theAsyncClientto work, make sure that you initialize it inside an asynchronous function, like so:client=None# correctasyncdefinit():client=brawling.AsyncClient("...")asyncio.run(init())# wrongclient=brawling.AsyncClient("...")Special thanksThanks tobrawlifyfor the amazing projectBrawlAPIThanks toRoyale APIfor providing aproxy serviceto bypass the static IP limitationNOTE: These two tools were made by neither me nor Supercell. They have been included in this module just because of their convenience, I am not responsible for any use of them and cannot guarantee that they are, and will continue complying with Supercell's Terms of Service, and therefore it's not my fault if they turn out to be malicious in any way.DisclaimerThis content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it. For more information see Supercell’s Fan Content Policy:www.supercell.com/fan-content-policy.
Package: brawlpy
BrawlPyA basic wrapper for theBrawl Stars API.FeaturesEasy to use with OOP designGet a player's profile and battle log by just a tagGet a club and all its memberGet the top 200 clubs , players, or a specific brawler in the world or a regionGet Information about a map, event, brawler!!!InstallationTo install the library run the following command:pip install brawlpyTo install the development version run the following command:pip install git+https://github.com/PyStarr/BrawlPyExampleA Simple Example to get a player by their tagimportbrawlpyimportasyncioclient=brawlpy.Client('your_api_key_here')# Enter your api key hereasyncdefmain():player=awaitclient.get_player("JP20RUR2")print(player)print(player.name,player.tag,player.trophies)loop=asyncio.get_event_loop()loop.run_until_complete(main())Another simple Example to get a club by its tagimportbrawlpyimportasyncioclient=brawlpy.Client('your_api_key_here')# Enter your api key hereasyncdefbrawlPy():club=awaitclient.get_club("PVQ0RP90")print(club)print(club.name,club.tag,club.trophies)print(club.description)loop=asyncio.get_event_loop()loop.run_until_complete(brawlPy())
Package: brawlstars.py
RequirementsThis module requires the following modules:requestsInstallationPython 3.8 or higher is required.To install the stable version, do the following:# Unix / macOSpython3-mpipinstall"brawlstars.py"# Windowspy-mpipinstall"brawlstars.py"To install the development version, do the following:$gitclonehttps://github.com/Infiniticity/brawlstars.pyQuick Exampleimportbrawlstarsasbsclient=bs.Client("token")player=client.get_player("#9PPUP2CJ")print(player.trophies)print(player.team_victories)club=client.get_club(player.club.tag)ifclubisnotNone:members=client.get_club_members(club.tag)best_player=max(members,key=lambdamember:member.trophies)print(best_player.name,f"-{best_player.trophies}🏆")player_rankings=client.get_player_rankings("global",limit=5)forplayerinplayer_rankings:print(f"{player.rank}.{player.name}")brawler_rankings=client.get_brawler_rankings("us",16000043,limit=10)forplayerinbrawler_rankings:print(f"{player.rank}.{player.name}")battles=client.get_player_battlelog("#JGCCGY80")print(battles[0].battle.mode)More examples can be viewed in theexamplesfolder.LinksBrawl StarsDocumentation
Package: brawlstats
Brawl StatsThis library is a sync and async wrapper for the Brawl Stars API.Python 3.5.3 or later is required.FeaturesEasy to use with an object oriented design.Use the same client for sync and async usage.Get a player profile and battlelog.Get a club and its members.Get the top 200 rankings for players, clubs, or a specific brawler.Get information about maps, brawlers, and more!InstallationInstall the latest stable build:pip install brawlstatsInstall the development build:pip install git+https://github.com/SharpBit/brawlstats@developmentDocumentationDocumentation is being hosted onRead the Docs.ExamplesExamples are in theexamples folder.sync.pyshows you basic sync usageasync.pyshows you basic async usagediscord_cog.pyshows an example Discord Bot cog usingdiscord.pyMiscIf you are currently using this wrapper, please star this repository :)If you come across an issue in the wrapper, pleasecreate an issue.If you need an API key, visithttps://developer.brawlstars.comContributingSpecial thanks to this project’s contributors ❤️4JRgolbukawaii bananakjkuiKyberPapiersnipperPollenOrangutanGamingStitchIf you want to contribute, whether it be a bug fix or new feature, make sure to follow thecontributing guidelines.
This project is no longer actively maintained. No new features will be added, only bugfixes and security fixes will be accepted.
Package: brawndo
BrawndoMakes your terminal text chaotic. It's got what plants crave!See onPyPIInstallpip install brawndoModifyingFirst, set up the environment:cd .../3-python-package-exercise-team-not-sureEnter the pipenv:pipenv shellBuild (in project root):python -m buildModifypyproject.tomlto whatever you want.You can then usetwine upload dist/*to upload to PyPI.FunctionsImport withfrom brawndo.brawndo import *.rainbow_deterministic(text: str, shift: int, testing=False) -> Optional[str]Prints out colors for each character in yourtext, making the same characters the same color.When run with the sameshift, it stays the same each time! Change it to preference.Specifytesting=Trueto get an additional output string (for testing).word_deterministic(text: str, shift: int, testing=False) -> Optional[str]Prints out colors for each word in yourtext, making the same words the same color.When run with the sameshift, it stays the same each time! Change it to preference.Specifytesting=Trueto get an additional output string (for testing).rainbow_random(text: str, rndseed=None, testing=False) -> Optional[str]By default, randomizes colors for each character.You can get a reproducible color order if you specify the same random seed!Specifytesting=Trueto get an additional output string (for testing).def word_random(text: str, operate_on_sentences: bool, rndseed=None, testing=False) -> NoneBy default, randomizes color for each word (or entire sentence, if you specifyoperate_on_sentences=True).You can get a reproducible color order if you specify the same random seed!Specifytesting=Trueto get an additional output string (for testing).Team MembersMichael Lin <mal9608@nyu.edu>Seolin Jung <sj3182@nyu.edu>Marwan AbdElhameed <mwa7459@nyu.edu>Pavly Halim <poh2005@nyu.edu>
Package: brax-jumpy
JumpyJumpy is a common backend forJAXornumpy:A jumpy function returns a JAX outputs if given a JAX inputsA jumpy function returns a JAX outputs if jittedOtherwise a jumpy function returns numpy outputsJumpy lets you write framework agnostic code that is easy to debug by running
as raw numpy, but is just as performant as JAX when jitted.Installing JumpyTo install Jumpy from pypi:python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install brax-jumpyAlternatively, to install Jumpy from source, clone this repo,cdto it, and then:python3 -m venv env
source env/bin/activate
pip install --upgrade pip
pip install -e .
Package: brayns
Brayns Python APIA client forBraynsbased on a websocket client to provide
remote control on a running braynsService instance.Table of ContentsInstallationUsageConnectionRaw requestsAPIDocumentationInstallationYou can install this package fromPyPI:pipinstallbraynsOr from source:gitclonehttps://github.com/BlueBrain/Brayns.gitcdBrayns/python
pythonsetup.pysdist
pipinstalldist/*# Output in dist folderUsageConnectionConnect to a renderer backend instance:importbraynsconnector=brayns.Connector('localhost:5000')withconnector.connect()asinstance:print(brayns.get_version(instance))Raw requestsRaw JSON-RPC requests can be sent using the instance:result=instance.request('schema',{'endpoint':'get-version'})It will throw a brayns.RequestError if an error occurs.APIAs raw requests can be tedious, a higher level API is also provided.models=brayns.get_models(instance)DocumentationA more complete documentation is availablehere.
Package: braz
🎯 ObjetivoOBrazé uma aplicação que disponibiliza diversas funcionalidades com o intuito de auxiliar os desenvolvedores nos projetos que necessitam da geração de dados randômicos válidos dos principais documentos pessoais do Brasil, bem como sua validação. Além do mais, o software trata cifras, criptografias, manipulação de strings e outras peculiaridades. Com o mínimo de configuração, o Braz pode ser utilizado como uma ferramenta de linha de comando para operações simples e rápidas ou sendo implementada diretamente no código-fonte como um módulo Python.🔷
Package: braze-client
braze-clientA Python client for the Braze REST APIHow to installMake sure you have Python 2.7+ or 3.6+ installed and run:$ git clone https://github.com/dtatarkin/braze-client
$ cd braze-client
$ python setup.py installHow to usefrombraze.clientimportBrazeClientclient=BrazeClient(api_key='YOUR_API_KEY',use_auth_header=True)r=client.user_track(attributes=[{'external_id':'1','first_name':'First name','last_name':'Last name','email':'email@example.com','status':'Active',# And other fields ...}],events=None,purchases=None,)ifr['success']:# do our magic hereprint('Success!')print(r)else:print(r['client_error'])print(r['errors'])For more examples, checkexamples.py.How to testTo run the unit tests, make sure you have thetoxmodule installed
and run the following from the repository root directory:$ tox
Package: braze-client-p311
braze-clientA Python client for the Braze REST APIHow to installMake sure you have Python 2.7+ or 3.6+ installed and run:$ pip install braze-client-p311How to usefrombraze.clientimportBrazeClientclient=BrazeClient(api_key='YOUR_API_KEY',use_auth_header=True)r=client.user_track(attributes=[{'external_id':'1','first_name':'First name','last_name':'Last name','email':'email@example.com','status':'Active',# And other fields ...}],events=None,purchases=None,)ifr['success']:# do our magic hereprint('Success!')print(r)else:print(r['client_error'])print(r['errors'])For more examples, checkexamples.py.How to testTo run the unit tests, make sure you have thetoxmodule installed
and run the following from the repository root directory:$ tox
Package: braze-client-sdk
braze-python-sdkThe SDK is unofficial and is still under development.ExampleCreate the SDK instancefromjsonimportdumpsfrombrazeimportBrazeYOUR_HOST="https://..."YOUR_TOKEN="12345678-1234-1234-1234-123456789012"braze=Braze(host=YOUR_HOST,token=YOUR_TOKEN)Call /users/track endpointtrack_response=braze.users.track(content={"attributes":[{"external_id":"hello-world","first_name":"Hello world"}]})print(dumps(track_response,indent=True))# Console output# {#   "attributes_processed": 1,#   "message": "success"# }Call /users/delete endpointdelete_response=braze.users.delete(content={"external_ids":["hello-world"]})print(dumps(delete_response,indent=True))# Console output# {#   "deleted": 1,#   "message": "success"# }
Package: braze-sdk
Braze Python SDKSDK for Braze APISDK for Braze API.https://www.braze.com/docs/api/basics/https://github.com/paulokuong/brazeRequirementsPython 3.7.0GoalTo provide a python API client for Braze API.(More clients to be implemented)Code sampleAdding custom attributes for external_ids.(Dataframe has the following schema):external_id, custom_attribute1, custom_attribute2………importpandasaspddf=pd.read_csv('test.csv')u=UserDataClient(api_key='xxxxxxxxxxxxxx')res=u.users_track(df)res.textContributorsPaulo Kuong (@paulokuong)
Package: brazier
Easy enums for Python.>>>RGB=StringEnum(['Red','Green','Blue'])>>>RGB.Red'Red'Contents1Installation2Features3Use4Contributing4.1Installing for development4.2Running the tests4.3Adding documentation5Credits1InstallationInstallezenumwith:pipinstallezenum2FeaturesPure Python.Compatible with Python 3.5+.Easy creation of usefull enum objects.String enums with unified value and name attributes.3UseStringEnumEasilly get a string enum from a string list.4ContributingPackage author and current maintainer is Shay Palachy (shay.palachy@gmail.com); You are more than welcome to approach him for help.4.1Installing for developmentClone:gitclonegit@github.com:shaypal5/ezenum.gitInstall in development mode with test dependencies:cdezenumpipinstall-e".[test]"4.2Running the testsTo run the tests, use:python-mpytest--cov=ezenum4.3Adding documentationThis project is documented using thenumpy docstring conventions, which were chosen as they are perhaps the most widely-spread conventions that are both supported by common tools such as Sphinx and result in human-readable docstrings (in my personal opinion, of course). When documenting code you add to this project, please followthese conventions.5CreditsCreated by Shay Palachy (shay.palachy@gmail.com).