Saravanan666/pypi-org huggingface dataset:
Package: zookeeper
ZookeeperA small library for configuring modular applications.Installationpip install zookeeperComponentsThe fundamental building blocks of Zookeeper are components. The@componentdecorator is used to turn classes into
components. These component classes can have configurable fields, which are
declared with theFieldconstructor and class-level type annotations. Fields
can be created with or without default values. Components can also be nested,
withComponentFields, such that child componenents can access the field values
defined on their parents.For example:fromzookeeperimportcomponent@componentclassChildComponent:a:int=Field()# An `int` field with no default setb:str=Field("foo")# A `str` field with default value `"foo"`@componentclassParentComponent:a:int=Field()# The same `int` field as the childchild:ChildComponent=ComponentField()# A nested component field, of type `ChildComponent`After instantiation, components can be 'configured' with a configuration
dictionary, containing values for a tree of nested fields. This process
automatically injects the correct values into each field.If a child sub-component declares a field which already exists in some
containing ancestor component, then it will pick up the value that's set on the
parent, unless a 'scoped' value is set on the child.For example:from zookeeper import configure

p = ParentComponent()

configure(
    p,
    {
        "a": 5,
        "child.a": 4,
    }
)

>>> 'ChildComponent' is the only concrete component class that satisfies the type
>>> of the annotated parameter 'ParentComponent.child'. Using an instance of this
>>> class by default.

print(p)

>>> ParentComponent(
>>>     a = 5,
>>>     child = ChildComponent(
>>>         a = 4,
>>>         b = "foo"
>>>     )
>>> )Tasks and the CLIThe@taskdecorator is used to define Zookeeper tasks and
can be applied to any class that implements an argument-lessrunmethod. Such
tasks can be run through the Zookeeper CLI, with parameter values passed in
through CLI arguments (configureis implicitly called).For example:fromzookeeperimportcli,task@taskclassUseChildA:parent:ParentComponent=ComponentField()defrun(self):print(self.parent.child.a)@taskclassUseParentA(UseChildA):defrun(self):print(self.parent.a)if__name__=="__main__":cli()Running the above file then gives a nice CLI interface:python test.py use_child_a
>>> ValueError: No configuration value found for annotated parameter 'UseChildA.parent.a' of type 'int'.

python test.py use_child_a a=5
>>> 5

python test.py use_child_a a=5 child.a=3
>>> 3

python test.py use_parent_a a=5 child.a=3
>>> 5Using Zookeeper to define Larq or Keras experimentsSeeexamples/larq_experiment.pyfor an example of
how to use Zookeeper to define all the necessary components (dataset,
preprocessing, and model) of a Larq experiment: training a BinaryNet on
MNIST. This example can be easily adapted to other Larq or Keras models and
other datasets.
Package: zookeeper-healthcheck
zookeeper-healthcheckA simple healthcheck wrapper to monitor ZooKeeper.ZooKeeper Healthcheck is a simple server that provides a singular API endpoint to determine the health of a ZooKeeper instance. This can be used to alert or take action on unhealthy ZooKeeper instances.The service checks the health by sendingnetcatcommands as well as checking that ZooKeeper is in a desired mode. It utilizes the commandsecho ruok | nc zookeeper-host zookeeper-portandecho stat | nc zookeeper-host zookeeper-port | grep Modeto do so.By default, the root endpoint/will return200 OKhealthy if ZooKeeper respondsimokand is in modeleaderorfollower. It will return503 Service Unavailableif ZooKeeper does not respond withimokor if its in an undesired mode (by defaultstandalone).UsageZooKeeper Healthcheck can be installed viapip. Bothpythonandpipare required, as well asecho,ncandgrep.Command-LineInstallzookeeper-healthcheckviapip:pipinstallzookeeper-healthcheckTo start the healthcheck server, run:zookeeper-healthcheckThe server will now be running onlocalhost:12181.ConfigurationZooKeeper Healthcheck can be configured via command-line arguments or by environment variables.PortThe port for thezookeeper-healthcheckAPI.UsageValueEnvironment VariableHEALTHCHECK_PORTCommand-Line Argument--portDefault Value12181ZooKeeper HostThe host of the ZooKeeper instance to run the health check against. This is used withnc.UsageValueEnvironment VariableHEALTHCHECK_ZOOKEEPER_HOSTCommand-Line Argument--zookeeper-hostDefault ValuelocalhostZooKeeper PortThe port of the ZooKeeper instance to run the health check against. This is used withnc.UsageValueEnvironment VariableHEALTHCHECK_ZOOKEEPER_PORTCommand-Line Argument--zookeeper-portDefault Value2181Healthy ModesA comma-separated list of ZooKeeper modes to be marked as healthy. Any modes not in this list will mark ZooKeeper as unhealthy.UsageValueEnvironment VariableHEALTHCHECK_HEALTHY_MODESCommand-Line Argument--healthy-modesDefault Valueleader,followerValid Valuesleader,follower,standaloneLog LevelThe level of logs to be shown by the application.UsageValueEnvironment VariableHEALTHCHECK_LOG_LEVELCommand-Line Argument--log-levelDefault ValueINFOValid ValuesDEBUG,INFO,WARNING,ERRORAll healthy responses are logged atINFO. Unhealthy responses are logged atWARNING. Any unexpected errors are logged atERROR.LicenseCopyright (c) 2019 Shawn Seymour.Licensed under theApache 2.0 license.
Package: zookeeper_monitor
Module lets you call ZooKeeper commands - four letters commands over TCP -https://zookeeper.apache.org/doc/r3.1.2/zookeeperAdmin.html#sc_zkCommands. It also has built-in web monitor. Based on Tornado, compatibile with Python 2.7.x, 3.x and above. It doesn’t require zookeeper, nor zookeeper’s headers (since it doesn’t utilize zkpython).InstallationIt can be installed from pypi or directly from git repository.pipinstallzookeeper_monitor#orgitclonehttps://github.com/kwarunek/zookeeper_monitor.gitcdzookeeper_monitor/pythonsetup.pyinstallUsageExample:fromzookeeper_monitorimportzk@tornado.gen.coroutinedefsome_coroutine()host=zk.Host('zookeeper.addr.ip',2181)# you can run each command as a coroutine example:# get srvr datasrvr_data=yieldhost.srvr()# get stat datastat_data=yieldhost.stat()# get server stateruok=yieldhost.ruok()# stop zookeeperyieldhost.kill()You can wrap it to sync code if you are not using tornadofromtornado.ioloopimportIOLoopIOLoop.instance().run_sync(some_coroutine)Web monitorTo run web monitor you need to provide configuration, if you don’t, it will usedlocalhost:2181by default.python-mzookeeper_monitor.web# with configuration filepython-mzookeeper_monitor.web-c/somepath/cluster.json# to see available optionspython-mzookeeper_monitor.web--helpNext you navigate tohttp://127.0.0.1:8080/(or whatever you specified).ConfigurationDefining clustercluster.json(json or yaml){"name":"brand-new-zookeeper-cluster","hosts":[{"addr":"10.1.15.1","port":2181,"dc":"eu-west"},{"addr":"10.2.31.2","port":2181,"dc":"us-east"},{"addr":"10.1.12.3","port":2181,"dc":"eu-west"}]}name (string) - cluster name.hosts (list) - List of hosts running ZooKeeper connected in cluster:addr (string): IP or domain, mandatoryport (int): ZooKeeper port, optional, default 2181dc (string): datacenter/location name, optionalScreenshotsCluster viewNode stat viewLicenseMITTODOmore testsmore stats in webmonitorparse zookeeper versionnew commands in zookeeper 3.3 and 3.4parse output of dump, reqsChangelog0.3.0 - implementedmntr, credits toRobb Wagoner0.2.5 - implementedwith_timeout, handlers get_template, py3.3 gen.Task in Host, css colors0.2.4 - separate getter template/static dir0.2.3 - fix import in py3 web0.2.2 - clean ups: pylint, README, classifiers0.2.1 - fix package, fix tests0.2.0 - implement more commands, updated docs0.1.2 -release- pypi0.1.1 - clean up0.1.0 - public standalone0.0.3 - 0.0.9 - refactor, tests0.0.2 - working draft0.0.1 - initial concept
Package: zool
zoolA cli for reviewing PRs and zuul's progresspip install .orpython -m zool$ zool --help
usage: __main__.py [-h] -c COLLECTION [-o ORGANIZATION] [-u USERNAME] [-t TOKEN] [-l {debug,info,warning,error,critical}] [-f LOGFILE] [-zh ZUUL_HOST] [-zt ZUUL_TENANT] [-gh GH_HOST] [-gha GH_API_HOST]
                   [-p PBAR_WIDTH]

optional arguments:
  -h, --help            show this help message and exit
  -c COLLECTION, --collection COLLECTION
                        The collection name, used as the githubh repo (ie ansible.netcommon) (default: None)
  -o ORGANIZATION, --organization ORGANIZATION
                        The Github organization (default: ansible-collections)
  -u USERNAME, --username USERNAME
                        The Github username for the token (default: cidrblock)
  -t TOKEN, --token TOKEN
                        Github personal access token (env var GH_TOKEN) (default: None)
  -l {debug,info,warning,error,critical}, --log-level {debug,info,warning,error,critical}
                        Set the logging level (default: info)
  -f LOGFILE, --log-file LOGFILE
                        Log file location (default: /tmp/zool.log)
  -zh ZUUL_HOST, --zuul-host ZUUL_HOST
                        The zuul hostname (default: dashboard.zuul.ansible.com)
  -zt ZUUL_TENANT, --zuul-tenant ZUUL_TENANT
                        The zuul tenant (default: ansible)
  -gh GH_HOST, --github_host GH_HOST
                        The github host (browser) (default: github.com)
  -gha GH_API_HOST, --github_api_host GH_API_HOST
                        The github host (api) (default: api.github.com)
  -p PBAR_WIDTH, --pbar-width PBAR_WIDTH
                        The width of the progress bars (default: 10)
Package: zoomai
this is my first projectrm -r build dist *.egg-info  Ø¢Ú¯Ø± Ù†Ø§Ù… Ø±Ùˆ ØªØºÛŒÛŒØ± Ø¨Ø¯ÛŒ Ø¯ÙˆØ¨Ø§Ø±Ù‡ Ø¨Ø§ÛŒØ¯ Ø¨ÛŒÙ„Ø¯ Ø±Ùˆ Ø¨Ø³Ø§Ø²ÛŒ
Package: zoom-audio-transcribe
zoom_audio_transcribeTranscribe zoom meetings audio locally.Transcribe zoom meetings audio locally, using.InstallSupported python version >=3.6. Supported OS, Linux. Support for Windows and OSX will come in second version.pipinstallzoom_audio_transcribeUsage$zoom_audio_transcribeOnce you are at the menu, select the appropiate meeting and let it run.Once the transcription is done the, file will be saved in the same folder as the zoom meetings recording. For linux users its `/home/$USER/Documents/Zoom/{meeting_which_was_selected}
Package: zoom-background-changer
Zoom Background ChangerThis is a python script that will use OpenAI's GPT-3 API to generate a new background image for your Zoom meetings.It can be run as a cron task, manually, or as part of a workflow when you open Zoom!The script will generate a new background image based on the current date and weather, and overwrite you existing Zoom background.RequirementsOnly works on macOS (for now!)Python 3.9+OpenAI API KeyYou can get a free API key from OpenAIhere.You will need to create an account and generate an API key.You will need to add your API key to theOPENAI_API_KEYenvironment variable.Installationpipinstallzoom-background-changerUsageFirst you will need to set a custom background image in Zoom.You can do this by going toPreferences > Video > Virtual Background > Choose Virtual Background...and selecting an image.Then from the command line, run:zoom-background-changerPrompt TemplateCan be adjusted by creating a file called.zoom-background-changerin your$HOMEdirectory.This file should contain the following:{"prompt":"Today is {date} and the weather is {weather} in {city}.","city":"Boston"}Available Variables{date}: The current date{city}: The current city, set from thecitykey in the.zoom-background-changerfile. Defaults toBoston, MA. If set, the following extra variables will be available:{weather}: The current weather, fromhttps://wttr.in/{temperature}: The current temperature, fromhttps://wttr.in/Any other key/value pairs in the.zoom-background-changerfile will be available as variables in the prompt template, so get creative!If you would like to request a new functional variable similar tocity, please open an Issue or Pull Request!
Package: zoombot
zoombotPython wrapper for Zoom Chatbot APIUsagefromzoombot.coreimportBot,MessageclassMyBot(Bot):asyncdefon_message(self,message:Message):awaitmessage.reply("Hello",f"You sent{message.content}")if__name__=="__main__":bot=MyBot(client_id="CLIENT_ID",client_secret="CLIENT_SECRET",bot_jid="BOT_JID",verification_token="VERIFICATION_TOKEN",)bot.run()
Package: zoom-chat-anonymizer
Zoom Chat Anonymizer$zoom-chat-anonymizer--helpUsage:zoom-chat-anonymizer[OPTIONS]COMMAND[ARGS]...HelpfulscripttoprocessZoomchats.

Options:--versionVersion--helpShowthismessageandexit.

Commands:anonymize-zoom-chatsAnonymizeZoomchats.create-html-from-markdownCreateHTMLfilesfromthemarkdownfiles.Anonymize Zoom Chats$zoom-chat-anonymizeranonymize-zoom-chats--help
Usage:zoom-chat-anonymizeranonymize-zoom-chats[OPTIONS][INPUT_FOLDER]AnonymizeZoomchats.

Arguments:[INPUT_FOLDER]Thefolderwiththechatfiles.[default:.]Options:-o,--output-folderDIRECTORYThescriptwillwritetheanonymizedfilesinthisfolder.[default:out]-t,--tutorTEXTThetutors'names.Thescriptwillpreservethesenamesinthechatprotocol.-p,--pause-fileFILEAJSONfilewiththepausesmadeduringthelecture/tutorial.-s,--starting-timeTEXTThestartingtimeofthelecture/tutorial.[default:14:15]--helpShowthismessageandexit.Create HTML from Markdown$zoom-chat-anonymizercreate-html-from-markdown--help
Usage:zoom-chat-anonymizercreate-html-from-markdown[OPTIONS]CreateHTMLfilesfromthemarkdownfiles.

Options:--bib_fileFILE-i,--input_folderDIRECTORY--helpShowthismessageandexit.
Package: zoom-client
Zoom ClientA Python client for interfacing with the Zoom API to perform various tasks.Requirements and DocumentationPython >= 3.6:https://www.python.org/downloads/Enable Zoom API key:https://zoom.us/developer/api/credentialZoom API documentation can be found at the following URL:https://marketplace.zoom.us/docs/api-reference/zoom-apiInstallation# from pypipipinstallzoom_client# from githubpipinstallgit+https://github.com/CUBoulder-OIT/zoom_client@main#egg=zoom_clientUsageEnsure requirements outlined above are completed.Provide necessary <bracketed> areas in examples/sample_config.json specific to your accountExample Usagefromzoom_client.controllerimportcontroller#open config file with api key/secret informationconfig_file=open(run_path+"/config/config.json")config_data=json.load(config_file)#create Zoom python clientzoom=controller.controller(config_data)zoom.users.get_current_users()zoom_user_counts=zoom.users.get_current_user_type_counts()Linting and TestingThis repo makes use ofBlackandBanditfor linting andPyTestfor testing. See below for an example of how to peform these checks manually.# assumes pwd as repo dir# black lintingblack.--check# bandit lintingbandit-r.-x./tests# pytest testingpytestDistribution Packagingpythonsetup.pysdistbdist_wheelNoticeAll trademarks, service marks and company names are the property of their respective owners.Reference in this site to any specific commercial product, process, or service, or the use of any trade, firm or corporation name is for the information and convenience of the public, and does not constitute endorsement, recommendation, or favoring by the University of Colorado.LicenseMIT - See LICENSE
Package: zoomconnect-sdk
ZoomConnect Python SDKThis Python package provides a wrapper for theZoomConnect API.Installationpip install zoomconnect-sdkAuthenticationPlease visit thesignuppage
to create an account and generate an API key.Example usagefromzoomconnect_sdk.clientimportClientc=Client(api_token='xxx-xxx-xxx-xxx',account_email='xxxx@xxx.co.za')try:res=c.send_sms("0000000000","Welcome to ZoomConnect")exceptExceptionase:print(e)else:print(res)RequirementsPython 3.6+LicenseMIT
Package: zoomdotpy
ZoomDotPyDesigned for use with a server-to-server oauth zoom developer appInstallpython3 -m pip install zoomdotpyBleeding Edge:pip install git+https://github.com/Sceptyre/python-zoom.git@develUsagefromzoomdotpyimportZoomClientzoom=ZoomClient('<API_KEY>','<API_SECRET>')# List phone deviceszoom.phones.devices.list_devices()# list phone siteszoom.phones.sites.list_sites()# List roomszoom.rooms.list_rooms()# Get specific roomzoom.rooms.get_room('abc123')
Package: zoome
zoomeGetting Started$ pip install zoomecreate ZoomClient objectfromzoome.apiimportZoomClientzc=ZoomClient(api_key='<api_key>',secret_api_key='<secret_api_key>')orfromzoome.apiimportZoomClientzc=ZoomClient(jwt_token='<jwt_token>')get meetings listmeetings=zc.get_meetings_list()download filezc.download_file(full_path='<full_path>',url='<url>')Utilsget download urls from list of meetingsfromzoome.apiimportZoomClientfromzoome.utilsimportget_meetings_download_urlszc=ZoomClient(jwt_token='<jwt_token>')meetings=zc.get_meetings_list()links=get_meetings_download_urls(meetings)links:[[{"download_url":"<download_url>","recording_type":"<recording_type>","file_type":"<file_type>"},...],...]get download links from one meetingfromzoome.apiimportZoomClientfromzoome.utilsimportget_download_urls_from_meetingzc=ZoomClient(jwt_token='<jwt_token>')meetings=zc.get_meetings_list()links=get_download_urls_from_meeting(meetings[0])links:[{"download_url":"<download_url>","recording_type":"<recording_type>","file_type":"<file_type>"},...]
Package: zoom-kurokesu
Zoom KurokesuPython library to pilote the dual zoom board controller from Kurokesu. VisitKurokesu's websiteto get more information about its products.Install:pipinstallzoom_kurokesuUse the libraryYou can get/set either the zoom or focus of both cameras.There is also three pre defined positions.'in': for close objects'out': for further objects'inter': in between the 'in' and 'out' positionsBecause each predined position is relative to the starting position, youmust perform a homing sequencebefore sending other commands.The motors speed can also be changed with this library.Check theDemo.ipynbnotebook for use case example and more info.Visitpollen-robotics.comto learn more or visitour forumif you have any questions.
Package: zoomlog
ZOOM LOGSimple python loggerQuick start:fromzoomlogimportLogger,DEBUG,INFOlogger=Logger("test.log",name="test",level=DEBUG)logger.debug("My logger is work!")name="Sergey"logger.addLevel("NEW USER",INFO)logger.log("NEW USER","Created new user -%s"%name)00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergeytest.log00:00:00 01.01.22


00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergey
Package: zoomlog-ZOOM-DEVELOPER
ZOOM LOGSimple python loggerQuick start:fromzoomlogimportLogger,DEBUG,INFOlogger=Logger("test.log",name="test",level=DEBUG)logger.debug("My logger is work!")name="Sergey"logger.addLevel("NEW USER",INFO)logger.log("NEW USER","Created new user -%s"%name)00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergeytest.log00:00:00 01.01.22


00:00:00 01.01.22  DEBUG:test >>  My logger is work!
00:00:01 01.01.22  NEW USER:test >>  Created new user - Sergey
Package: zoom-meet-attendance-visualizer
Zoom Meet Attendance VisualizerAboutThis module is to help to visualize your meeting attendance helper data created usingzoom_meet_attendance. You
don't have to repeat anything except selecting data file. It will remember everything
in config.json.Installationpip install zoom-meet-attendance-visualizerHow to useWrite this code, and you're ready to go.from zoom_meet_attendance_helper.main import run_attendance_helperrun_attendance_helper()When you run this code it will ask you to select the text file created byzoom_meet_attendance.Then it will ask **class**. Class will be used to avoid repetition. In class all attendee 
name will be saved to show who is absent. Also, if rename any name, it will remember it and
if you reuse the same class it will automatically suggest renaming.Then it will ask if you want to rename any name. If you want to rename then type a new name,
otherwise pre Enter without typing anything.Then it will show all the names and ask you if you want to add more name. If you want to 
add then type else type Exit to show you the graph.If you made any mistake you can manually edit config.json file automatically created on
the same directory.
Package: zoompy
Zoompy is a Python wrapper for calling the Ergast API, to get data related to Formula 1. It can be used to get the races, results, driver standings, constructors standings and qualifying results from any year or from a custom durationInstallationUse the package managerpipto install zoompy.pipinstallzoompy==1.0UsageTo obtain any of the data it is neccesary to first obtain the races in that particular time frame and then get the rounds in those season(s).Obtaining Lists of Raceszoompy.races(start_year,end_year)# To obtain races from 2020zoompy.races(2020,2021)Obtaining Roundsraces=zoompy.races(2020,2021)rounds=zoompy.get_rounds(races)Obtaining Resultsraces=zoompy.races(2020,2021)rounds=zoompy.get_rounds(races)results=zoompy.results(rounds)Obtaining Driver Standingraces=zoompy.races(2020,2021)rounds=zoompy.get_rounds(races)d_standings=zoompy.driver_standings(rounds)Obtaining Constructor Standingraces=zoompy.races(2020,2021)rounds=zoompy.get_rounds(races)c_standings=zoompy.constructor_standings(rounds)Obtaining Qualifying datazoompy.qualifying(start_year,end_year)#obtaining qualifying results from 2020qualifying=zoompy.qualifying(2020,2021)ContributingPull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.Please make sure to update tests as appropriate.LicenseMIT
Package: zoom-python
zoom-pythonzoom-pythonis an API wrapper for Zoom, written in Python.This library uses Oauth2 for authentication.Installingpip install zoom-pythonUsagefromzoom.clientimportClientclient=Client(client_id,client_secret,redirect_uri=None)To obtain and set an access token, follow this instructions:Get authorization URLurl=client.authorization_url(code_challenge,redirect_uri=None,state=None)# redirect_uri required if not given in Client.Get access token using coderesponse=client.get_access_token(code,code_verifier)# code_verifier is the same code_challengeSet access tokenclient.set_token(access_token)If your access token expired, you can get a new one using refresh token:response=client.refresh_access_token(refresh_token)And then set access token again...
Read more about Zoom Oauth:https://developers.zoom.us/docs/integrations/oauth/- Get current useruser=client.get_current_user()- List Usersusers=client.list_users()Meetings- List meetingsmeetings=client.list_meetings()- Get a meetingmeeting=client.get_meeting(meeting_id)- Create Meetingmeeting=client.create_meeting(self,topic:str,duration:int,start_time:str,type:int=2,agenda:str=None,default_password:bool=False,password:str=None,pre_schedule:bool=False,schedule_for:str=None,timezone:str=None,recurrence:dict=None,settings:dict=None,)More info:https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingCreate- Add meeting registrant (this feature requires premium auth)meeting=client.add_meeting_registrant(self,meeting_id,email:str,first_name:str,last_name:str=None,address:str=None,city:str=None,state:str=None,zip:str=None,country:str=None,phone:str=None,comments:str=None,industry:str=None,job_title:str=None,org:str=None,no_of_employees:str=None,purchasing_time_frame:str=None,role_in_purchase_process:str=None,language:str=None,auto_approve:bool=None,)More info:https://developers.zoom.us/docs/api/rest/reference/zoom-api/methods/#operation/meetingRegistrantCreate