Saravanan666/pypi-org huggingface dataset:
Package: pyHydrabus
pyHydrabusA python (3.6+) module that can be used to control theHydraFWfrom a Python script.InstallingFrom sourceClone this repository, then run the following command :$ python setup.py install --userFrom PypipyHydrabus is also available onPypi$ pip install pyHydrabusUsageReadTheDocsThe documentation is availableonline.SphinxThe library is self-documented using docstrings.
The API documentation is also available usingSphinx.Get into thedocs/folder, then build the documentation using the following command :$ make html
Package: pyHydraulic
pyHydraulic using PyQt5, built by Bruce Lee in Nanjing institute of technology0.HistoryV1.1.7Based on user’s feedback,Update for hydraulic Sketcher:Fix some path bugs of missing ski.qss file.Even though, This free package still needs to be optimized in the coming days.the latest shot of the program UI is shown as follows.Project description for pyHydraulicThe software package is to realize the visualization of the digital
hydraulic oil circuit in the software interface. In the software,
through this software package, we can easily connect
the hydraulic components and sensors in the oil circuit diagram.
It can help people to understand, diagnose and even predict the
faults in the hydraulic system.
It’s a bit like a digital twin,
but it’s only two-dimensional.I specially built a tool called “hydraulic Sketcher” for drawing oil diagram, which is included in this package. Similar to Visio, it can draw the hydraulic schematic diagram simply.Create social share component pyHydraulic based ongithub1.Get startedInstallation is easy:$ pip install pyHydraulic2.Run the hydraulic Sketcher to draw schematicsHydraulic sketcher is a tool similar to visio.It has been integrated
in this package. Type the following code to call the tool independently.frompyHydraulic.hydraulicSketcherimporthydraulicSketcherhydraulicSketcher.run()Next, you’ll see the following software interface.The tool itself is also based on the pyHydraulic package. However, there are still some functions to be improved. A tutorial on using the tool will be provided later in GitHub.3.ExampleIn the coming days, I will give the instruction documents to give you some instructions on how to draw
the hydraulic schematic diagram and load it in the interface of the measurement and
control system For more demonstrations, please click the website below.GIF Demo for this tool3.LinksDocumentation (To be complete)PyPI (To be complete)4.Authors and contact meMaintainer:Bruce Lee (Nanjing institute of technology,lee@njit.edu.cn),Zhuoli Shi (Beijing Jiao tong University)if you are also interested in this project, please join the QQ chat group below.See also the list of contributors who participated in this project.5.DonationsSo I need some donations from all of you.Your support is my motivation to make the package work better. My Wechat Pay and Alipay accounts are as follows:5.LicenseThis project is licensed under th eMIT License (see the LICENSE file for details).5.AcknowledgementSpecial thanks to Mr.PavelKrupala. His excellent tutorials have helped build this package a lot.
Package: pyhydro
pyhydroA Python package for modeling fill-spill hydrology in depression-dominated landscapesFree software: MIT licenseDocumentation:https://pyhydro.readthedocs.io.FeaturesTODOCreditsThis package was created withCookiecutterand theaudreyr/cookiecutter-pypackageproject template.History0.1.0 (2019-11-19)First release on PyPI.
Package: pyhyperbolic3d
PyHyperbolic3DPython stuff for drawing 3D hyperbolic polyhedra with 'PyVista'.pip install pyhyperbolic3dgyrotube(A, B, s, r, npoints=300):Tubular hyperbolic segment.ParametersA,Bpoints (lists or arrays)The two endpoints of the segment.spositive floatCurvature parameter.rpositive floatRadius of the tube.npointsintegerNumber of points along the segment. The default is 300.ReturnsA PyVista mesh ready for inclusion in a plotting region.gyrotriangle(A, B, C, s, depth=5, tol=1e-6):Hyperbolic triangle.ParametersA,B,Cpoints (lists or arrays)The vertices of the triangle.spositive floatCurvature parameter.depthintegerThe number of recursive subdivions. The default is 5.tolsmall positive floatThe tolerance used to merge duplicated points in the mesh.
The default is 1e-6.ReturnsA PyVista mesh ready for inclusion in a plotting region.
Package: pyhyperminhash
Hyperminhash for PythonVery fast, constant memory-footprint cardinality approximation, including intersection
and union operation.The classSketchcan be used to count unique elements that were encountered during
the instance's lifetime. Unlike e.g. when using aset, the memory consumed by theSketch-instance doesnotgrow as elements are added; eachSketch-instance
consumes approximately 32kb of memory, independent of the number of elements.Adding new elements to aSketchis preferably done using.add_bytes(), akin
to.digest()forhashlib-objects. It is also possible to use.add()if a bytes-like
object can't be provided; the object'shash()is then used to provide a unique
identifier for that object.# Construct an empty Sketchsk=pyhyperminhash.Sketch()assertnotbool(sk)# The Sketch is emptysk.add_bytes(b'Foo')# Add elementssk.add_bytes(b'Bar')sk.add(42)assertbool(sk)# The Sketch is not emptyassertfloat(sk)==sk.cardinality()# Approximately 3.0assertint(sk)==len(sk)# Approximately 3sk2=pyhyperminhash.Sketch()sk2.add_bytes(b'Foobar')sk2&=sk1# sk2 now holds all elements that were in `sk` or `sk2`sk3=pyhyperminhash.Sketch()sk3.add(42)sk3.add_bytes(b'Foo')assertsk3.intersection(sk1)>0.0# Approximately 1.0, due to `Foo`buf=sk.save()# Serialize the Sketch into a bytes-buffernew_sk=pyhyperminhash.Sketch.load(buf)# Deserialize a Sketchassertlen(new_sk)==len(sk)# Construct a Sketch from any iterator directly.# This is faster than adding elements one by one.sk=pyhyperminhash.Sketch.from_iter(iter(range(100)))withopen('complaints.txt','rb')asf:sk=pyhyperminhash.Sketch.from_iter_bytes(f)Although convenient, using.add()over.add_bytes()has two downsides:It may be slower, as the object's ownhash()may have to be computedThe Python interpreter probably randomizes hash-values at interpreter-startup,
in order to prevent certain DOS-attacks. The randomness introduced here means that
the count-approximation provided by this package may not be stable from run to run.See the documentation for the underlyingimplementationfor additional information.Performance examplesReading a file of 55 million lines, 725.940 unique elements, 100 characters per line on average.MethodWall-clock timeMemory consumedCountno work9.5 secondsnilnilSketch.from_iter_bytes()10.13 seconds~32 kilobytes734,628set()14.99 seconds~164 megabytes725,940FAQCan I extract an element that was previously added from aSketch?No.Can I check if an element has previously been added to aSketch?No.Wow, why use this, then?It's very fast at counting unique things. And it does not use much memory.
Package: py-hyperpy
hyperpyHyperPy: An automatic hyperparameter optimization frameworkDescriptionHyperPy: Library for automatic hyperparameter optimization. Build on top of Optuna to perform hyperparameter optimization with low code.This library corresponds to part of the work ofSergio A. Mora PardoðŸ‘¶ Our current version:InstallationYou can installhyperpywith pip:# pip install py-hyperpyExampleImport the library:importhyperpyashyfromhyperpyimportExampleConfig# Just for exampleReading data:data=ExampleConfig()train,test,sub=data.readData()Extract features:feat_X=train.filter(['Pclass','Age','SibSp','Parch','Fare']).valuesY=train.Survived.valuesRun the optimization:running=hy.run(feat_X,Y)study=running.buildStudy()See the results:print("best params: ",study.best_params)print("best test accuracy: ",study.best_value)best_params,best_value=hy.results.results(study)NOTEThe functionhy.run()return aStudyobject. And only needs: Features, target. In the example: best test accuracy = 0.7407407164573669DocumentationDocumentation is available athyperpyWorking on tutorial, meanwhile explore documentation.DevelopmentSource code is available athyperpyContact
Package: pyhypixel
pyhypixelThis is an unofficial Python3HypixelAPIwrapper.InstallationYou can simply install the package by using:python3 -m pip install pyhypixelUsageFirst of all you have to get an api key by using/apiwhile on Hypixel network.Everything starts with the creation of an api instance:fromhypixelapiimporthypixelapiapi=hypixelapi.HypixelAPI('YOUR_HYPIXEL_API_KEY')You can get a player by using:player=api.get_player('SonoMichele')# also works with uuidYou can get a guild by using one of three methods:# first method using guild idguild_by_id=api.get_guild_by_id('52e57a1c0cf2e250d1cd00f8')# second method using guild nameguild_by_name=api.get_guild_by_name('The Sloths')# third method using a player instanceguild_by_player=player.get_guild()DocumentationA detailed documentation is availablehereContributingIf you want to contribute you can do it by opening anissueor apull request.You can also contact me on telegram@sonomichelequellostranoAll contributors will be listed on this repository.
Package: pyhystrix
pyhystrixA library to patch requests package in order to add following functionalities by default:Connection and Read timeoutsRetries on connection failureCircuitbreakingAdding uniquex-request-idin request header if not providedNOTE:: 0.0.2 supports python2.7 and >= 0.0.3 supports python3 only.Installationpip3installpyhystrixUsageBefore making any request, just callInit():importrequestsimportpyhystrixrequests.get("http://abc.xyx")//Nofunctionalitiesofpyhystrixpyhystrix.Init()requests.get("http://abc.xyx")//pyhystrixisattachedtoallrequestsDefault Configurations can be changed in 2 ways:Setting following env variables:PHY_CONNECT_TIMEOUT: connection timeout in secPHY_READ_TIMEOUT: read timeout in secondsPHY_MAX_RETRIES: max number of retries for connection failurePHY_CIRCUIT_FAIL_THRESHOLD: Number of failed requests after which circuit will be open and further requests on the same url will not be allowed.PHY_CIRCUIT_ALIVE_THRESHOLD: Number of failed requests on open circuit to make it half_open (Described below)PHY_CIRCUIT_DELAY: Number of seconds after which open circuit will be half_open.parameters in request itself:max_tries(int): overridesPHY_MAX_RETRIES, some rules related to it are follows:max_tries=0: will cause no retries, fail on first failure.If a positive value is passed for nonGETrequests, they will be retried too in case received status is instatus_forcelist.status_forcelist: list of http status, retry if the returned status is one of these. default is[500]onGET.timeout: same as timeout inrequestsbackoff_factor: delay in each retry will be affected by this using following formula:{backoff factor} * (2 ^ ({number of total retries} - 1)). Default =0.5secMore ExamplesGETwith retry on multiple failure status codes:importrequestsimportpyhystrixpyhystrix.Init()request.get("http://abc.xyz",status_forcelist=[501,502,403])putwith retry on response status =500or501request.put("http://abc.xyz",max_tries=3,status_forcelist=[500,502])NOTE:All type of requests will be retried in case ofConnectionErrorCircuit Breaker StatesOPEN: No requests will be allowedHALF_OPEN: Only one request will be allowedCLOSE: All requests will be allowed.NOTE: State transitions:CLOSE --> OPEN --> HALF_OPEN --> CLOSE/OPENTo know more about circuit breaker pattern, clickhere
Package: pyhytechdb
Pyhytechdbpyhytechdb package is a set ofDBMS HyTechbindings for Python Pure python or Cython.
Python Database API Specification v2.0
It works on Python 3.5+.
Windows only
For work you need:hscli.dll -API of the client part of DBMS HyTech 2.5hsheap.dllhsinpt.dllhslogf.dlGetting Startedimport pyhytechdb

user = 'test'
passwd = 'test'
hdb = 'tcpip:/localhost:1000'

with pyhytechdb.connect(hdb, user, passwd) as connection:
    with connection.cursor() as cur:
        cur.execute("select * from foo;")
        print(cur.fetchone())Installingpip install pyhytechdbRunning the testssetup testAuthorsAleksandr Osipovaleksandr.osipov@zoho.euLicenseThis project is licensed under the MIT License
Package: pyi
# pyi - PYthon InformationA simple cli that scrapes pypi json endpoints for package data.It can be used to easily get basic stats on a package without the need to go to pypi to look it up.## InstallationLatest stable release from pypi.Note: currently only python 2.7 is supported!```$ pip install pyi```or from source```$ python setup.py install```## Runtime dependencies- docopt 0.6.2- PyYaml 3.11## Usage```$ pyi basic requests$ pyi description requests$ pyi downloads requests$ pyi releases requests$ pyi release 2.5.0 requests$ pyi raw requests```# LicensingMIT, See License.txt for detailsCopyright (c) 2015 Johan Andersson
Package: py-i18n-countries
py-i18n-countriesCountry names and nationalities for ISO-3166-1 alpha-2 codes:WikiInstallpip install py-i18n-countriesUsefrompy_i18n_countriesimportget_country,get_nationalityprint(get_nationality(code="us"))# Americanprint(get_country(code="us"))# United States of America
Package: pyi2cflash
I2C eeprom device drivers (pure Python)I2C flash devices, also known asDataFlashare commonly found in embedded
products, to store firmware, microcode or configuration parameters.PyI2CFlashcomes with several pure Python drivers for those flash devices, that
demonstrate use of I2C devices withPyFtdi. It could also be useful to dump
flash contents or recover from a bricked devices.Supported I2C flash devicesVendorMicrochipMicrochipMicrochipMicrochipMicrochipMicrochipMicrochipMicrochipMicrochipMicrochipEEPROM24AA0124AA0224AA0424AA0824AA1624AA32A24AA6424AA12824AA25624AA512Status??NoNoNoOk????Size1282565121Ki2Ki4Ki8Ki16Ki32Ki64KiNotes about performancesReadoperation is synchronous with I2C bus clock: it therefore only depends
on the achievable frequency on the I2C bus, which is bound to the highest
supported frequency of the flash device.Writeoperation depends mostly on the flash device performance, whose upper
limit comes mostly from the maximum write packet size of the device, as the
device needs to be polled for completion after each packet: the shorter the
packet, the higher traffic on the I2C and associated overhead.Notes about 24AA32This device is declared obsolete by the manufacturer and is not supported.Only 24AA32A revision is supported.Supported I2C flash commandsReadRead byte sequences of any size, starting at any location from the I2C
flash deviceWriteWrite arbitrary byte sequences of any size, starting at any location to the
I2C flash deviceDependenciesPython3.5 or above is required.PyFtdi0.42 or above is required.
Package: pyia
pyiaDocumentationThe documentation forpyiais hosted onRead the Docs.Installation and DependenciesThe recommended way to installpyiais usingpipto install the latest
development version:pip install git+https://github.com/adrn/pyiaor, to install the latest stable version:pip install pyiaSee theinstallation instructionsin thedocumentationfor more information.AttributionIf you find this package useful, consider citing the Zenodo record:@software{pyia:v1_3,
    author       = {Adrian Price-Whelan and
                    Gabe Brammer},
    title        = {pyia},
    month        = jul,
    year         = 2021,
    publisher    = {Zenodo},
    version      = {v1.3},
    doi          = {10.5281/zenodo.5057363},
    url          = {https://doi.org/10.5281/zenodo.5057363}
}LicenseCopyright 2017-2024 Adrian Price-Whelan and contributors.Pyiais free software made available under the MIT License. For details see
theLICENSEfile.
Package: pyiamvortex
pyiamvortexA python utility library used for getting all available AWS IAM actions and performing different operations on them.SummaryThere is no available API to list out all of the available AWS IAM actions. This library uses the AWS Policy Generator to get all of the available actions and then parses them into a usable format.Creating aVortexis an operating environment where you initalize the backend of available AWS IAM actions in which you can perform different operations within this context.  The default backend is the AWS Policy Generator, but you can also create aVortexwith a custom backend.This tool is useful for building AWS Least Privilege IAM policies.InstallpipinstallpyiamvortexUsageCLIpyiamvortexget-aws-services# prints all available AWS services (i.e. ec2, s3, iam, etc.)pyiamvortexget-aws-actions# prints all available AWS actions (i.e. ec2:DescribeInstances, s3:GetObject, etc.)pyiamvortexget-aws-actionssts# prints all available AWS actions for the sts service>>["sts:AssumeRole","sts:AssumeRoleWithSAML","sts:AssumeRoleWithWebIdentity","sts:DecodeAuthorizationMessage","sts:GetAccessKeyInfo","sts:GetCallerIdentity","sts:GetFederationToken","sts:GetServiceBearerToken","sts:GetSessionToken","sts:SetSourceIdentity","sts:TagSession"]pyiamvortexexpand-aws-wildcard'sts:AssumeRole*'# expands the wildcard to all available AWS actions that matches the pattern>>["sts:AssumeRole","sts:AssumeRoleWithSAML","sts:AssumeRoleWithWebIdentity"]Python LibraryfrompyiamvorteximportVortexvortex=Vortex()# initializes a vortex object with the default AWS actions map from AWS Policy Generatorprint(vortex.get_aws_services())# prints all available AWS services (i.e. ec2, s3, iam, etc.)print(vortex.get_aws_actions())# prints all available AWS actions (i.e. ec2:DescribeInstances, s3:GetObject, etc.)print(vortex.get_aws_actions("s3"))# prints all available AWS actions for the s3 service (i.e. s3:GetObject, s3:PutObject, etc.)
Package: pyiapws
DescriptionPython wrapper around theFortran iapws library.
The Fortran library does not need to be installed, the python wrapper embeds all needed dependencies.
On linux, you might have to installlibgfortranif it is not distributed with your linux distribution.All functions that operate on arrays, more precisely on objects with the buffer protocol, return memory views
in order to avoid compilation dependencies on 3rd party packages.InstallationSeeINSTALL.txt.DependenciesSeerequirements.txt.License informationSeeLICENSE.txt.
Package: pyiArduinoI2Cbumper
[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](http://forum.trema.ru)# pyiArduinoI2CbumperДанная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) []() от iArduino.ru по шине I2C на Raspberry Pi.Подробнее про датчик читайте в нашей [Wiki]()## Установка ##[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)Установка из репозиториев PyPI в терминале Raspberry:sudo pip3 install pyiArduinoI2CbumperСамостоятельная сборка из исходников:git clone https://github.com/tremaru/pyiArduinoI2Cbumper.git && cd pyiArduinoI2Cbumper/pyiArduinoI2Cbumper && python3 setup.py build_ext –inplaceПримеры для Python находятся в папкеpyiArduinoI2Cbumper/examplesПримеры для С++ находятся в папкеpyiArduinoI2Cbumper/cpp. Так же в этой папке лежитMakefileдля сборки
из исходников. Можно собрать сразу все примеры командой:make allилиmakeДля сборки конкретного примера:make “название примера”Например:make resetДля удаления собранных исполняемых файлов:make cleanThis is a Python3 module for Raspberry Pi. It can work with []() by iarduino.ru
Package: pyiArduinoI2Cdsl
[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](http://forum.trema.ru)# pyiArduinoI2CdslДанная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) []() от iArduino.ru по шине I2C на Raspberry Pi.Подробнее про датчик читайте в нашей [Wiki]()## Установка ##[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)Установка из репозиториев PyPI в терминале Raspberry:sudo pip3 install pyiArduinoI2CdslСамостоятельная сборка из исходников:git clone https://github.com/tremaru/pyiArduinoI2Cdsl.git && cd pyiArduinoI2Cdsl/pyiArduinoI2Cdsl && python3 setup.py build_ext –inplaceПримеры для Python находятся в папкеpyiArduinoI2Cdsl/examplesПримеры для С++ находятся в папкеpyiArduinoI2Cdsl/cpp. Так же в этой папке лежитMakefileдля сборки
из исходников. Можно собрать сразу все примеры командой:make allилиmakeДля сборки конкретного примера:make “название примера”Например:make resetДля удаления собранных исполняемых файлов:make cleanThis is a Python3 module for Raspberry Pi. It can work with []() by iarduino.ru
Package: pyiArduinoI2Cdummy
[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](http://forum.trema.ru)# pyiArduinoI2CdummyДанная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) []() от iArduino.ru по шине I2C на Raspberry Pi.Подробнее про датчик читайте в нашей [Wiki]()## Установка ##[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)Установка из репозиториев PyPI в терминале Raspberry:sudo pip3 install pyiArduinoI2CdummyСамостоятельная сборка из исходников:git clone https://github.com/tremaru/pyiArduinoI2Cdummy.git && cd pyiArduinoI2Cdummy/pyiArduinoI2Cdummy && python3 setup.py build_ext –inplaceПримеры для Python находятся в папкеpyiArduinoI2Cdummy/examplesПримеры для С++ находятся в папкеpyiArduinoI2Cdummy/cpp. Так же в этой папке лежитMakefileдля сборки
из исходников. Можно собрать сразу все примеры командой:make allилиmakeДля сборки конкретного примера:make “название примера”Например:make resetДля удаления собранных исполняемых файлов:make cleanThis is a Python3 module for Raspberry Pi. It can work with []() by iarduino.ru
Package: pyiArduinoI2Cencoder
[![](https://iarduino.ru/img/logo.svg)](https://iarduino.ru)[![](https://wiki.iarduino.ru/img/git-shop.svg?3)](https://iarduino.ru) [![](https://wiki.iarduino.ru/img/git-wiki.svg?2)](https://wiki.iarduino.ru) [![](https://wiki.iarduino.ru/img/git-lesson.svg?2)](https://lesson.iarduino.ru)[![](https://wiki.iarduino.ru/img/git-forum.svg?2)](http://forum.trema.ru)# pyiArduinoI2CencoderДанная библилотека (модуль для Python3) позволяет управлять электронными модулями (устройствами) []() от iArduino.ru по шине I2C на Raspberry Pi.Подробнее про датчик читайте в нашей [Wiki]()## Установка ##[Статья на сайте iarduino.ru](https://wiki.iarduino.ru/page/raspberry-python-modules/)Установка из репозиториев PyPI в терминале Raspberry:sudo pip3 install pyiArduinoI2CencoderСамостоятельная сборка из исходников:git clone https://github.com/tremaru/pyiArduinoI2Cencoder.git && cd pyiArduinoI2Cencoder/pyiArduinoI2Cencoder && python3 setup.py build_ext –inplaceПримеры для Python находятся в папкеpyiArduinoI2Cencoder/examplesПримеры для С++ находятся в папкеpyiArduinoI2Cencoder/cpp. Так же в этой папке лежитMakefileдля сборки
из исходников. Можно собрать сразу все примеры командой:make allилиmakeДля сборки конкретного примера:make “название примера”Например:make resetДля удаления собранных исполняемых файлов:make cleanThis is a Python3 module for Raspberry Pi. It can work with []() by iarduino.ru