Saravanan666/pypi-org huggingface dataset:
Package: zebra-scanner
Supported boardsCheckhttps://www.zebra.com/us/en/support-downloads/software/developer-tools/scanner-sdk-for-linux.htmlKnown issuesMS4717: CMD_DEVICE_SWITCH_HOST_MODE does not workInstallingIt’s working on Ubuntu 18.04 with Zebra SDK 4.4, which you can download fromhttps://www.zebra.com/de/de/support-downloads/software/developer-tools/scanner-sdk-for-linux.htmlYou can easily install zebra_scanner with pip:sudoapt-getinstalllibboost-devlibboost-python-devlibpugixml-devsudopip3installpybind11sudopip3install.# in zebra-scanner directoryA minimal exampleimportpprintimporttimefromzebra_scannerimportCoreScannerpp=pprint.PrettyPrinter(indent=4)scanners=[]cs=CoreScanner()@cs.on_scanner_addeddefon_scanner_added(scanner):print("New scanner found:")pp.pprint(scanner.__dict__)scanners.append(scanner)scanner.pull_trigger()scanner.fetch_attributes()forid,attributeinscanner.attributes.items():ifid<10:pp.pprint({"id":id,"datatype":attribute.datatype,"value":attribute.value,"permission":attribute.permission})@scanner.on_barcodedefon_barcode(barcode):print("Scanned:")print(barcode.code,barcode.type)@cs.on_scanner_removeddefon_scanner_removed(scanner):print("Scanner removed:")scanner.release_trigger()scanners.remove(scanner)pp.pprint(scanner.__dict__)whileTrue:time.sleep(0.1)# do nothing while the scanner is reading in continous modeRunning the example~/Development/zebra-scanner/examples$pythontest.pyNewscannerfound:{'DoM':'10Mar18','GUID':'AFF531D4821A3E4BB2127A380DA81FB0','PID':'1900','VID':'05e0','firwmare':'PAABLS00-005-R05','modelnumber':'PL-3307-B100R','scannerID':'1','serialnumber':'00000000K10U532B','type':'SNAPI'}{'datatype':'F','id':0,'permission':7,'value':True}{'datatype':'F','id':1,'permission':7,'value':True}{'datatype':'F','id':2,'permission':7,'value':True}{'datatype':'F','id':3,'permission':7,'value':True}{'datatype':'F','id':4,'permission':7,'value':True}{'datatype':'F','id':5,'permission':7,'value':False}{'datatype':'F','id':6,'permission':7,'value':True}{'datatype':'F','id':7,'permission':7,'value':False}{'datatype':'F','id':8,'permission':7,'value':True}{'datatype':'F','id':9,'permission':7,'value':False}Scanned:('Hello World','3')Scanned:('00140092390052832143','15')Scanned:('31039999993000000072\x1d','15')Scanned:('01540092393881021000017500861331','15')Scanned:('00140092390052832143','15')^CScannerremoved:{'DoM':'10Mar18','GUID':'AFF531D4821A3E4BB2127A380DA81FB0','PID':'1900','VID':'05e0','firwmare':'PAABLS00-005-R05','modelnumber':'PL-3307-B100R','scannerID':'1','serialnumber':'00000000K10U532B','type':'SNAPI'}
Package: zebrazoom
ZebraZoomZebraZoom can be used to track the heads and tails of freely swimming and of head-embedded larval and adult zebrafish. It can also be used to track the center of mass of other animal species, such as mice or drosophila. The graphical user interface of ZebraZoom offers options to compare populations based on kinematic parameters and/or on based on unsupervised clustering of bouts of movements. The software operates through an intuitive graphical user interface, making it very simple to use for people with no programming background.For more information view theonline documentation, visitzebrazoom.orgor email usinfo@zebrazoom.org
Package: zebu
ZEBU  /ˈzeɪbuː/ - Bos primigenius indicus or Bos indicus or Bos taurus indicus
sometimes known as indicine cattle or humped cattle, is a species or subspecies of domestic cattle originating
in South Asia. Zebu are characterised by a fatty hump on their shoulders, a large dewlap, and sometimes drooping
ears. They are well adapted to withstanding high temperatures, and are farmed throughout the tropical countries,
both as pure zebu and as hybrids with taurine cattle, the other main type of domestic cattle. Zebu are used as
draught oxen, dairy cattle, and beef cattle, as well as for byproducts such as hides and dung for fuel and manure.
In 1999, researchers at Texas A&M University successfully cloned a zebu.https://en.wikipedia.org/wiki/ZebuMinibus was taken, since I am French and ZEBU relies on 0MQ I thought thebus pronounced zebus could be a cool name.
Of course, I could not resist the temptation to name this module after a cow.Ze serviceZEBU is a uber minimalistic bus which I implemented for fun and turned out to be useful (to me at least).To run ZEBU you need to set 2 environment variables.
ZEBU_PUBLISH is the endpoint the publishers connect to.
ZEBU_SUBSCRIBE the endpoint the subscribers connect to.Endpoints have the format transport://address where transport would more than likely be ipc or tcp.$ ZEBU_PUBLISH=ipc://publish ZEBU_SUBSCRIBE=ipc://subscribe python -m zebuZe moduleZEBU is also a module you can import to use carefully crafted helpers to define …Subscribers>>> from zebu import subscribe
>>> messages = subscribes('a/topic', 'another/topic')
>>> for message in messages:
...     # do something with messagePublishers>>> from zebu import publisher
>>> publish = publisher()
>>> publish('a/topic', 'a message on that topic')
Package: zec2
zec2Easily manage your AWS EC2 instancesINSTALLpipinstallzec2CONFIGURE AWS CREDENTIALSYou should have this two files on your computer:~/.aws/config:[default]region=your_aws_regionoutput=json~/.aws/credentials:[default]aws_access_key_id=your_access_key_idaws_secret_access_key=your_secret_access_keyTo learn more about AWS credentials and how to install them on your computer, please read this:https://docs.aws.amazon.com/rekognition/latest/dg/setting-up.htmlDIFFERENT AWS PROFILESYou can put as many profiles in your aws credentials file and call them with zec2:# use default aws profile>zec2ls# use different aws profile>zec2-pmy_profilelsUse this option with every command.CLI COMMANDS# list all EC2 instances>zec2ls# list all EC2 instances using custom aws profile (applies to all commands)>zec2-pworkls# live list all EC2 instances>zec2ls-f# ssh to 1st instance from the list>$(zec2ssh1)# ssh using different user (the default is ec2-user)>$(zec2ssh1-uubuntu)# ssh using different pem key path (the default is ~/.ssh/__instance_key_pair__.pem)>$(zec2ssh1-i~/path/to/key.pem)# stop 1st EC2 instance from the list>zec2stop1# start 1st EC2 instance from the list>zec2start1# restart 1st EC2 instance from the list>zec2restart1# terminate 1st EC2 instance from the list>zec2terminate1
Package: zeclient
ZE Python ClientThe ZE Python Client provides a unified module - ZemaClient for retrieving data from ZEMA web services.PrerequisitesPython 3.5 or above and the following packagesrequestslxmlpandaszeepdicttoxmlThe packages will be automatically installed during the installation.Installationpip install zeclientUsagefromzeclient.zema_clientimportZemaClient# ZEMA Data Direct server URLdatadirect_url="http://host.company.com/datadirect";# Create ZEMA client instance and start a sessionclient=ZemaClient(datadirect_url,'user.name','password','Client')# Get profile dataresult=client.get_profile('user.name','profile group','profile name')SupportPlease report bugs tosupport@ze.com
Package: zeddo
ZeddoNews CLI for lazy peopleInstallationpip install zeddoSet upCreate aNews API accountand remember the API
key. (You can choose the free plan.)Then runzeddoand enter the API key when prompted.Usage$ zeddo
[1] Public Protector finds procurement of 'scooter ambulances' was improper (News24)
[2] Businessinsider.co.za | Salaries for Ramaphosa, ministers set to remain unchanged – for the second year in a row (News24)
[3] JUST IN | SCA rules 2018 ANC Free State election 'unlawful and unconstitutional' (News24)
[4] Specialized's Turbo Como SL Is a Comfy, Lightweight Cruiser (Wired)
[5] 24 Times Teen Dramas Tried To Go Outside Their Genre And It Was Just So Weird (Buzzfeed)
Please enter an article number to open:ConfigurationAdvanced usage:$ zeddo -h
Usage: zeddo [OPTIONS]

Options:
  -k, --api-key TEXT       API key for News API
  -l, --language TEXT      Filter articles by language
  -t, --category TEXT      Filter by category
  -s, --search TEXT        Search by key phrase
  -n, --max-count INTEGER  Limit number of articles
  -v, --version            Show the version and exit.
  -h, --help               Show this message and exit.
  -c, --config FILE        Read configuration from FILE.Example config file:api_key="<News API key>"language="en"The location of the config file depends on the operating system:Mac OS X (not POSIX):~/Library/Application Support/zeddo/configUnix (not POSIX):~/.config/zeddo/configMac OS X and Unix (POSIX):~/.zeddo/configWindowsRoaming:C:\Users\<user>\AppData\Roaming\Foo Bar\configNot roaming:C:\Users\<user>\AppData\Local\Foo Bar\configLicenseLicensed under the GNU Public License v3.0
Package: zedstat
Author:ZeD@UChicago<zed.uchicago.edu>Description:Tools for ML statisticsDocumentation:https://zeroknowledgediscovery.github.io/zedstat/Example:https://github.com/zeroknowledgediscovery/zedstat/blob/master/examples/example1.ipynbUsage:from zedstat import zedstat
zt=zedstat.processRoc(df=pd.read_csv('roc.csv'),
        order=3,
        total_samples=100000,
        positive_samples=100,
        alpha=0.01,
        prevalence=.002)

zt.smooth(STEP=0.001)
zt.allmeasures(interpolate=True)
zt.usample(precision=3)
zt.getBounds()

print(zt.auc())

# find the high precision and high sensitivity operating points
zt.operating_zone(LRminus=.65)
rf0,txt0=zt.interpret(fpr=zt._operating_zone.fpr.values[0],number_of_positives=10)
rf1,txt1=zt.interpret(fpr=zt._operating_zone.fpr.values[1],number_of_positives=10)
display(zt._operating_zone)
print('high precision operation:\n','\n '.join(txt0))
print('high recall operation:\n','\n '.join(txt1))
Package: zeebe-grpc
zeebe Python gRPC gateway filesThis package contains two gRPC Gateway Files needed to build a zeebe-client or a zeebe-worker (https://zeebe.io/)
with Python.Both files were generated following the instructions on this (now outdated) blog post:https://zeebe.io/blog/2018/11/grpc-generating-a-zeebe-python-client/How to install and use this package?pipinstallzeebe-grpcimportjsonimportloggingimportgrpcfromzeebe_grpcimportgateway_pb2,gateway_pb2_grpcwithgrpc.insecure_channel("localhost:26500")aschannel:stub=gateway_pb2_grpc.GatewayStub(channel)# print the topology of the zeebe clustertopology=stub.Topology(gateway_pb2.TopologyRequest())print(topology)# deploy a process definitionwithopen("bpmn/echo.bpmn","rb")asprocess_definition_file:process_definition=process_definition_file.read()process=gateway_pb2.ProcessRequestObject(name="echo.bpmn",definition=process_definition)stub.DeployProcess(gateway_pb2.DeployProcessRequest(processes=[process]))# start a process instancevariables={"message":"This is a Message"}stub.CreateProcessInstance(gateway_pb2.CreateProcessInstanceRequest(bpmnProcessId="ECHO",version=-1,variables=json.dumps(variables)))# start a workeractivate_jobs_response=stub.ActivateJobs(gateway_pb2.ActivateJobsRequest(type="echo",worker="Python worker",timeout=60000,maxJobsToActivate=32))forresponseinactivate_jobs_response:forjobinresponse.jobs:try:print(job.variables)stub.CompleteJob(gateway_pb2.CompleteJobRequest(jobKey=job.key,variables=json.dumps({})))logging.info("Job Completed")exceptExceptionase:stub.FailJob(gateway_pb2.FailJobRequest(jobKey=job.key))logging.info(f"Job Failed{e}")How to (re)build the Python gRPC?wgethttps://raw.githubusercontent.com/zeebe-io/zeebe/0.21.1/gateway-protocol/src/main/proto/gateway.proto-O./zeebe_grpc/gateway.proto

python-mgrpc_tools.protoc-I.--python_out=.--grpc_python_out=../zeebe_grpc/gateway.proto
Package: zeebe-worker
Zeebe WorkerA simple Zeebe worker wrapper to let developers focus on what matters.Installpip install zeebe-workeror use your preferred package manager.
Seehttps://pypi.org/project/zeebe-worker/#historyfor available versions.Usagefromzeebe_workerimportZeebeWorkerfromextensionsimportzeebe_stubfromconfigimportworker_nameclassMyWorker(ZeebeWorker):defmy_task_type_handler(self,job):"""Handling my_task_type"""variables=json.loads(job.variables)ifsomething_fails:# This will trigger a FailJobRequest with the exceptionraiseExceptionreturnvariablesdefanother_task_type_handler(self,job):"""Handles another task"""# This will always succeed as an exception will never be raisedpass# Create your own class instance with your own configurationmy_worker=MyWorker(zeebe_stub,worker_name)# Subscribe to a task type (uses threading.Thread for concurrency)my_worker.subscribe('my_task_type','my_task_type_handler')my_worker.subscribe('my-task-typo','my_task_type_handler')my_worker.subscribe('another_task_type','another_task_type_handler')APIZeebeWorker.__init__Initiates the worker class with the set defaults.argdescdefaultstubThe grpc stub to connect to Zeebe with-worker_nameThe worker_name to send to along to Zeebe (mainly for debugging purposes)-timeoutNumber of milliseconds for a job to timeout5*60*1000 (5 minutes)request_timeoutLong polling: number of milliseconds for an ActivateJobs request to timeout1*60*1000 (1 minute)max_jobs_to_activateMaximum amount of jobs to activate in one request1backoff_intervalNumber of milliseconds to backoff when unable to reach Zeebe5*1000 (5 seconds)ZeebeWorker.subscribeSubscribes the target to the task type concurrently.argdescdefaulttask_typeThe task or job type to subscribe to-targetThe function to execute. When using a string, it will convert that to the method within the current class-timeoutNumber of milliseconds for the jobs which are activated to timeoutset at class instantiationrequest_timeoutNumber of milliseconds for the ActivateJobs request to timeoutset at class instantiationmax_jobs_to_activateMaximum amount of jobs to activate in one requestset at class instantiationautocompleteComplete jobs when the handler returns a non-errorFalsebackoff_intervalNumber of milliseconds to backoff when unable to reach Zeebeset at class instantiationTarget functionsYour own target function must accept one argument, preferably calledjob. This will be provided
as Zeebe'sActivatedJob(ref).
Extract the variables usingvariables = json.loads(job.variables).Fail a jobRaisingany exceptionin the function will send a FailJobRequest to zeebe with the raised exception.Complete a jobA CompleteJobRequest will be sent for the job if the function excecutes without raising an exception.Setting variablesWhen the function returns a dict, it will send this dict as variables with the CompleteJobRequest.CompatabilityZeebe WorkerZeebe0.2.x>= 0.230.1.00.22.1
Package: zeef
Zeef: Interactive Learning for PythonAn interactive learning framework for data-centric AI.Zeef is featured forActive learning- Off the shelf data selection algorithms to reduce the labor of data annotation.Continual learning- Easy to use APIs to prototype a continual learning workflow instantly.InstallationpipinstallzeefFor the local development, you can install from theAnacondaenvironment bycondaenvcreate-fenvironment.ymlQuick StartWe can start from the easiest example: random select data points from an unlabeled data pool.fromsklearnimportsvmfromzeef.dataimportPoolfromzeef.learner.sklearnimportLearnerfromzeef.strategyimportRandomSamplingdata_pool=Pool(unlabeled_data)# generate the data pool.# define the sampling strategy and the SVM learner.strategy=RandomSampling(data_pool,learner=Learner(net=svm.SVC(probability=True)))query_ids=strategy.query(1000)# query 1k samples for labeling.data_pool.label_by_ids(query_ids,data_labels)# label the 1k samples.strategy.learn()# train the model using all the labeled data.strategy.infer(test_data)# evaluate the model.A quick MNIST CNN example can be found inhere. Runpythontorch_al.pyto start the quick demonstration.LicenseApache License 2.0
Package: zeek
The Z and K are forZookeeper, the E’s are
just for fun.Break free from the menagerie of configuration.  Zeek is a ZooKeeper command
line application that makes it easy to see what is in all those cages.  This
CLI works best in ZSH.Turn On - (Installation)To install zeek:$ pip install git+https://github.com/krockode/zeekTune In - (Configuration)Zeek connects to localhost:2181 by default.  To change this you can either set
the environment variable ZEEK_HOSTS or add the option-H/–hoststo the
zeek command.  The value should be a comma separated list of zookeeper servers
to connect to e.g. host1:2181,host2:2181Drop Out - (Usage)The goal of zeek is to provide reasonable facimilies of the unixfindandgrepcommands for the Zookeeper structure, so no new learning is required.
Both find and grep return matches in the form of<node> - <value>wherenodeis the full path of the node andvalueis the stringified value of
that node.lsList nodes underneath the node you specified.Example:$ zeek ls /animals
/animals/ -
/animals/mamals -
/animals/reptiles -findExample of find which will perform a recursive find from the root.$ zeek find /
/ -
/animals -
/animals/mammals -
/animals/reptiles -
/animals/reptiles/foxes - ok
/animals/reptiles/snakes - rad
/animals/reptiles/crocodilia -
/animals/reptiles/crocodilia/alligators - hungry
/animals/reptiles/crocodilia/crocodiles - hungryZeek find is likefind / -name …and searches for zookeeper nodes that
match your search:$ zeek find '*crocodile*'
/animals/reptiles/crocodilia/crocodiles - hungrygrepZeek Grep searches zookeeper node values.$ zeek grep hungry
/animals/reptiles/crocodilia/alligators - hungry
/animals/reptiles/crocodilia/crocodiles - hungry
Package: zeeklog2pandas
zeeklog2pandasRead Zeeek/Bro log and log.gz (even broken ones) into a Pandas DataFrame.Free software: MIT licenseDocumentation:https://zeeklog2pandas.readthedocs.io/en/latest.Featureszeeklog2pandas allows to read Zeek/Bro .log files or compressed .log.gz files, transparently into a Pandas DataFrames.Best effort reading of corrupted or incomplete compressed .log.gz files.Columns filtering.Interface compatible with Pandasread_csv()function.CreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2022-08-02)First release on PyPI.
Package: zeekoers
Zeekoers, a library for CQRS in pythonFree software: Apache Software License 2.0Installationpip install zeekoersYou can also install the in-development version with:pip install https://github.com/toolunious/zeekoers/archive/master.zipDocumentationhttps://zeekoers.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append toxChangelog0.0.0 (2020-02-05)First release on PyPI.
Package: zeekr
📦 setup.py (for humans)This repo exists to providean example setup.pyfile, that can be used
to bootstrap your next Python project. It includes some advanced
patterns and best practices forsetup.py, as well as some
commented–out nice–to–haves.For example, thissetup.pyprovides a$ python setup.py uploadcommand, which creates auniversal wheel(andsdist) and uploads
your package toPyPiusingTwine, without the need for an annoyingsetup.cfgfile. It also creates/uploads a new git tag, automatically.In short,setup.pyfiles can be daunting to approach, when first
starting out — even Guido has been heard saying, "everyone cargo cults
thems". It's true — so, I want this repo to be the best place to
copy–paste from :)Check out the example!Installationcdyour_project# Download the setup.py file:#  download with wgetwgethttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.py-Osetup.py#  download with curlcurl-Ohttps://raw.githubusercontent.com/navdeep-G/setup.py/master/setup.pyTo DoTests via$ setup.py test(if it's concise).Pull requests are encouraged!More ResourcesWhat is setup.py?on Stack OverflowOfficial Python Packaging User GuideThe Hitchhiker's Guide to PackagingCookiecutter template for a Python packageLicenseThis is free and unencumbered software released into the public domain.Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any means.
Package: zeel-publisher
Zeel PublisherA Library meant to standardize the way zapi services interact with SNS/SQS.Getting StartedDockerThe infrastructure of this library is designed to be run inside of various
docker containers. Specifically there is a container for:The python environment the library's code runs inA jaeger tracing instanceThe localstack AWS simulatorThese containers can be viewed inside the project's docker-compose.ymlBecause these containers are all needed to create a functioning local
environment, proceeding without docker is NOT recommended. It can be installed
using the docker for mac installer or viabrew cask install dockerThe pipenv Virtual EnvironmentThis service's dependencies are all managed withhttps://github.com/pypa/pipenvand are enumerated inside the project's
Pipfile and Pipfile.lock files. Pipenv is a superset of Pip, and will create a
virtual python environment (the .venv folder) for this Service. To that end,
please ensure you have pipenv installed on your local machine.brew install pipenvConfiguring your Virtual EnvironmentTo create a virtual environment (the .venv directory) inside your project folder
instead of your home (~) directory, save the following in your .bash_profile or .zshrc:export PIPENV_VENV_IN_PROJECT=1This is highly recommended for vscode users, as the project's linters and
formatters are configured to use binaries installed to a local .venvRunning the Library's tests on DockerAlthough tests can be run locally, it is recommended to run them through docker,
where they will have access to the infrastructure they need. To do so you can
use this command:docker-compose run publisher-app bash test.shModulesEvent PublisherA Class meant for publishing Event Messages to a single SNS topic.DistributionThis Code is meant for distribution across multiple projects, namely our various
zapi services which require zeel-publisher as a dependency. The library itself
is hosted on PyPi and can be found athttps://pypi.org/project/zeel-publisher/VersioningZeel publisher versioning follows theSemantic Versioningsyntax:Major.Minor.PatchMake sure to update setup.py accordingly before publishing a new version.Commands for uploading to PyPiCreate build -pipenv run python3 setup.py sdistPublish -pipenv run twine upload dist/*
Package: zeep
A Python SOAP clientHighlights:Compatible with Python 3.7, 3.8, 3.9, 3.10, 3.11 and PyPy3Build on top of lxml, requests and httpxSupport for Soap 1.1, Soap 1.2 and HTTP bindingsSupport for WS-Addressing headersSupport for WSSE (UserNameToken / x.509 signing)Support for asyncio using the httpx moduleExperimental support for XOP messagesPlease see for more information the documentation athttp://docs.python-zeep.org/InstallationpipinstallzeepNote that the latest version to support Python 2.7, 3.3, 3.4 and 3.5 is Zeep
3.4, install viapip install zeep==3.4.0Zeep uses the lxml library for parsing xml. Seehttps://lxml.de/installation.htmlfor the installation requirements.UsagefromzeepimportClientclient=Client('tests/wsdl_files/example.rst')client.service.ping()To quickly inspect a WSDL file use:python -m zeep <url-to-wsdl>Please see the documentation athttp://docs.python-zeep.orgfor more
information.SupportIf you want to report a bug then please first readhttp://docs.python-zeep.org/en/master/reporting_bugs.htmlPlease only report bugs and not support requests to the GitHub issue tracker.