Saravanan666/pypi-org huggingface dataset:
Package: hupa-voicedb
This Python module provides functions to retrieve data and information easily from
Príncipe de Asturias Hospital Voice Disorders Database.This module does not contain the database itself.The database belongs to Prof. Juan I.
Godino-Llorente (email:ignacio.godino@upm.es) at Universidad Politécnica de Madrid, and
he kindly makes it available for free to non-commercial research use. Users must
contact him to obtain the license and to download the database.Installpipinstallhupa-voicedbUsefromhupaimportHUPA# to initialize (must call this once in every Python session)db=HUPA('<path to the root directory of the extracted database>')# to get a copy of the full database as a Pandas dataframedf=db.query()# default columns: "edad", "sexo", "Codigo"# to get the patholgy code-name lookup table# (note: not all pathologies are included in the database)lut=db.pathologies# to get age, gender, and R scoresdf=db.query(["edad","sexo","R"])# use Pandas' itertuples to read audio data iterativelyforid,*infoindf.itertuples():# read audio data# (normalize to [0,1] unless given additional argument: normlize=False)fs,x=db.read_data(id)# run the acoustic data through your analysis function, get measurementsparams=my_analysis_function(fs,x)# log the measurements along with the age and GRBAS infomy_logger.log_outcome(id,*auxdata,*params)# alternately, use database's `iter_data` method to process acoustic data# iteratively over queried data (all female speakers along with age and G score)forid,fs,x,auxdataindb.iter_data(auxdata_fields=["edad","G"],sexo="M"):# run the acoustic data through your analysis function, get measurementsparams=my_analysis_function(fs,x)# log the measurements along with the age and GRBAS infomy_logger.log_outcome(id,*auxdata,*params)# Finally, to get a dataframe of all the WAV files with their full pathsdf=db.get_files(auxdata_fields=['Codigo'])
Package: hupili
Why making a utility repo?Reduce repeated works.Code snippets and notes are not enough to memorize things.Make it easier to synchronize between my machines.Why not call it “utility”, “utils”, “pyutils”?Some of the names are taken, including old repos and new repos.I believe different people have different collections.
I don’t want to mess the public index.
Probablyutilitywill be used later for more important purpose?Why the module files are prefixed with “pl”?Some names are taken by the standard libs
and my editor’s plugin complains. e.g.time.
Package: hupper
hupperis an integrated process monitor that will track changes to
any imported Python files insys.modulesas well as custom paths. When
files are changed the process is restarted.Command-line UsageHupper can load any Python code similar topython-m<module>by using thehupper-m<module>program.$hupper-mmyappStarting monitor for PID 23982.API UsageStart by defining an entry point for your process. This must be an importable
path in string format. For example,myapp.scripts.serve.main.# myapp/scripts/serve.pyimportsysimporthupperimportwaitressdefwsgi_app(environ,start_response):start_response('200 OK',[('Content-Type','text/plain')])yieldb'hello'defmain(args=sys.argv[1:]):if'--reload'inargs:# start_reloader will only return in a monitored subprocessreloader=hupper.start_reloader('myapp.scripts.serve.main')# monitor an extra filereloader.watch_files(['foo.ini'])waitress.serve(wsgi_app)Acknowledgmentshupperis inspired by initial work done by Carl J Meyer and David Glick
during a Pycon sprint and is built to be a more robust and generic version of
Ian Bicking’s excellent PasteScriptpaste serve--reloadand Pyramid’spserve--reload.
Package: huracan
HuracanHuracan is an open source, 0-dimensional, object-oriented airbreathing engine
modelling package for preliminary analysis and design of airbreathing engines,
divulgation and educational purposes.At the moment Huracan is capable of modelling engines with an arbitrary number of
components connected by an arbitrary number of shafts. It allows for a single
combustion chamber per stream, reheating, intercooling and the addition of electrical
system power requirements. Multiple-stream systems can be modelled,
as well as splitting (such as the bypass flow of a turbofan) and mixing streams (such
as in the nozzle of a mixed exhaust turbofan).The inspiration for the project lies in traditional thermodynamic plant diagrams,
and similar architectures are used in well known proprietary tools such asGasTurbandNLR's GSP.The API reference is available here.Installpip install huracanExamplesSingle spool turboprop engine.Twin-spool, reheated turbojet engine with an electrical power plant.Three-spool, separated exhaust turbofan engine.Back to top
Package: hurdle
HurdleThis package contains an implementation of Hurdle Regression, based in part onGeoff Ruddocks implementationand Håvard Hegres 2022 adaption of his implementation.Usagefrom hurdle import HurdleEstimator
from sklearn import linear_model

est = HurdleEstimator(linear_model.LogisticRegression(), linear_model.LinearModel())

est.fit(...)
Package: hurllm
HurLLM is a proprietary pre-trained Artificial Intelligence model for LLM (Large Language Model) with Transformers technology. It uses a parameter base trained through August 2023 and has fine-tuning added monthly thereafter. The HurLLM code library algorithm splits its processing between the local machine and the remote server hosting the model parameters. Floating point weights are read remotely via API and interpreted locally on your local machine, making it possible to run the code on any machine with 4 Gigabytes or more of RAM memory without using GPU and maintaining the privacy of the data of the user that are processed on the client hardware. It is a closed source model with thirty free messages to test in the trial version. The paid version has no usage or availability limitations, allowing the user to make as many requests as he wants without changing the license price, which is fixed at $2.50 (two dollars and fifty cents/month) without readjustments.from hurllm import HurLLMhurllm = HurLLM(API_KEY=’YOUR_API_KEY’)
answer = hurllm.conversation(prompt=’Your question here.’)
print(answer)
Package: hurm.db
author:Lele Gaifaxcontact:lele@metapensiero.itlicense:GNU General Public License version 3 or laterThis module describes the PostgreSQL database used by HuRM and implements its SQLAlchemy
modelization.Changes0.10 (2016-03-24)Re-release, PyPI can be a PITA…0.9 (2016-03-24)Remove utils.dump(), moved to metapensiero.sqlalchemy.dbloady0.8 (2016-03-04)Fix deletion of persons, when associated to activities0.7 (2016-03-01)Add generic payloads to activities and duties0.6 (2016-02-23)Promote the changes logger to the top level0.5 (2016-02-21)Handle the case when all preferred activities are removed0.4 (2016-02-20)Add person’s preferred activitiesFix SQLAlchemy description of table tasks0.3 (2016-02-17)Dump facility, usable to produce a YAML archive compatible with
metapensiero.sqlalchemy.dbloady0.2 (2016-02-16)Stable enough for the first demo0.1 (unreleased)Initial effort
Package: hurm.fe
author:Lele Gaifaxcontact:lele@metapensiero.itlicense:GNU General Public License version 3 or laterThis module implements a Pyramid server and an ExtJS based frontend application.Changes0.10 (2016-03-24)Fix insertion of new duty, when the activity has payloadsFix the date field range limit on tasks and availabilities0.9 (2016-03-04)Easier way to filter persons on their preferred activities0.8 (2016-03-01)Add activities and duties payloads management windows0.7 (2016-02-23)Re-release due to PyPI failure0.6 (2016-02-23)Fix locations default orderingAllow filtering persons by preferred activity0.5 (2016-02-21)A person is allowed to not have any preferred activityAnnotations on each entity are now plain text, not HTML0.4 (2016-02-20)Fix duties printoutsLimit the range of time field lookupsPrevent deletion of records with childrenImplement person’s preferred activities managementAdd duties summary printout0.3 (2016-02-17)Add YAML and Excel export of a single edition0.2 (2016-02-16)Adequate capabilities for the first demo0.1 (unreleased)Initial effort
Package: hurocon
HuroconHurocon(huaweiroutercontrol)- command line interface tool for interacting with Huawei LTE routersFeaturesSupported DevicesAvailabilityInstallationQuickstartDevelopmentSpecialFeaturesDevice ControlInformationRebootNetCellularConnection statusSwitch connectionLANList devicesSMSInbox: List, ViewSendThere are many features planned for future releases, you can view their full listhereSupported DevicesFull list of supported devices is available onthis link.AvailabilityThis tool is OS-independent, which means it should work on any platform where python3 can run. Minimal python3 version required for this package is3.7. This does not mean that it cannot work on python versions below the minimal, but its behavior is unpredictable and no support will be provided for any issues.InstallationYou can install it from PyPi:pipinstallhuroconOr directly from Github repo:pipinstallgit+https://github.com/maximilionus/hurocon.gitCurrently can only be installed withpiponpython >= 3.7. Binary bundle(pyinstaller-based)is planned but no ETA yetQuickstartIntroAfter successfulinstallationof this tool it can be accessed in shell using the following commands:$hurocon# OR$python-mhuroconYou can also view a list of all main commands with:$hurocon--helpEach command and subcommand in this tool has a special--helpflag to display detailed information about itAuthenticationForemost, you need to specify the authentication details so that this tool can access the device.$huroconauthloginTesting ConnectionAfter auth details successfully specified you can test your connection with router by running$huroconauthtest# Returns# Success: Successful Authentication# Failure: Auth failed, reason: "..."ConclusionThat's it, you're ready to go. And remember - no matter how deep you go,--helpflag is always here to help 👍DevelopmentPrepare The EnvironmentTo prepare the development environment for this project, follow these steps:Installpoetrypackage manager with (pip,standalone(recommended))Run the command below to prepare the virtual environment for this project$poetryinstallThat's it, now you can modify the code the way you want and test it in two waysRun this tool with$poetryrunhuroconOr activate the project environment with$poetryshell
Spawningshellwithin...

$huroconBuildPython PackageTo build this tool to package(sdistand wheel)you should execute:$poetrybuild
Buildinghurocon...Prepared for distribution package will be located in./dist/directorySpecialBig thanks toAdam Schubertfor his amazinghuawei-lte-apipackage, that made this whole thing possible.
Package: hurray
hurrayhurray is a simple package containing a collection of wrappers around Python's builtin 'array' module.fromhurrayimportShortArray,UIntArray,ULongArrayarr1=ShortArray([-4,-3,-2,-1,0,1,2,3,4])arr2=UIntArray([100_000,100_001,100_002,100_003,100_004])empty=ULongArray()print(arr1)# array('h', [-4, -3, -2, -1, 0, 1, 2, 3, 4])print(arr2)# array('I', [100000, 100001, 100002, 100003, 100004])print(empty.itemsize)# 4Special thanks totrag1c,CircuitSacul,Micael Jarniac,bswckfor helping to make this silly package.
Package: hurr-durr
# What is this?A streaming async API to 4chan boards. You create a handler class, implement some callbacks and get informed when newposts and images arrive in threads. There's a bundled `FileHandler` that saves content to the file system and a`SQLiteHandler` that saves posts in per-date SQLite DBs.**NOTE**: the `FileHandler` will eat up your `inode`s, a default Debian install scraping */b/* got exhausted in ~ 6months. Use the `SQLiteHandler` unless you plan to clean the file root regularly.# How?The bundled executable called `hurr-durr` is a scraper. You use it ashurr-durr --directory /tmp/4chan/sqlite-files --board bThere's an optional `-i` flag to also download the images and a `-v` flag to see logging information.Storage defaults to SQLite DB per day, unless overridden via `-f file`, which produces 1 JSON file per thread in astructure of `data_dir/YYYYmmdd/threadID/threadID.json`.All this info is also available via the `-h` flag.As for the API part, the main entry point is `hurr_durr.ChanWatcher`. You have to implement a handler class and thendo something along the lines of```pythonfrom hurr_durr import FileHandler, ChanWatcherwatcher = ChanWatcher(FileHandler('/tmp/4chan/b'), 'b', images=True)watcher.start()```or```pythonfrom hurr_durr import SQLiteHandler, ChanWatcherwatcher = ChanWatcher(SQLiteHandler('/tmp/4chan/b'), 'b')watcher.start()```The handlers currently bundled are `FileHandler` which saves content to disk in files and `SQLiteHandler`, which savesposts in SQLite DBs. To implement your own handler, you need to create a class inheriting from `Handler`,containing 4 methods:* `post(thread_id, new_post)` -- gets called when a new post is made in a thread* `pruned(thread_id)` -- gets called when a thread is pruned from 4chan* `img(thread_id, filename, data)` -- gets called with downloaded image data, only relevant if images are downloaded* `download_img(thread_id, filename)` -- gets called to check if a particular image should be downloaded, only relevantif images are downloaded# InstallingIt's in PyPI, just use pippip install hurr-durr# Why?Because I needed a 4chan scraper, everything else sucked, and I wanted to give Tornado a ride around the block.# LicenseCopyright 2014 Emils SolmanisLicensed under the Apache License, Version 2.0 (the "License");you may not use this file except in compliance with the License.You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0Unless required by applicable law or agreed to in writing, softwaredistributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions andlimitations under the License.
Package: hurry.datalink
hurry.datalinkIntroductionHow to use?You can import hurry.datalink fromhurry.datalinkand.needit
where you want these resources to be included on a page:from hurry.datalink import datalink

.. in your page or widget rendering code, somewhere ..

datalink.need()This requires integration between your web framework andhurry.resource, and making sure that the original resources
(shipped in thedatalink-builddirectory inhurry.datalink)
are published to some URL.The package has already been integrated forGrokand the Zope
Toolkit. If you depend on thehurry.zoperesourcepackage in yoursetup.py, the above example should work out of the box. Make sure
to depend on thehurry.zoperesourcepackage in yoursetup.py.Preparing hurry.datalink before releaseThis section is only relevant to release managers ofhurry.datalink.When releasinghurry.datalink, an extra step should be
taken. Follow the regular packagerelease instructions, but before
egg generation (python setup.py register sdist upload) first
executebin/datalinkprepare <version number>, where version number
is the version of the release, such as1.0.1. This will
download the hurry.datalink library of that version and place it in the
egg.CHANGESDownload
Package: hurry.datatables
hurry.datatablesIntroductionThis library packages theDataTablesjquery extension forhurry.resource. It is aware of jQuery datatables’ different modes
(normal, minified).How to use?You can importdatatablesfromhurry.datatablesand.needit where you want these resources to be included on a page:from hurry.datatables import datatables

.. in your page or widget rendering code, somewhere ..

datatables.need()This requires integration between your web framework andhurry.resource, and making sure that the original resources
(shipped in thedatatables-builddirectory inhurry.datatables) are published to some URL. Thehurry.datatables.datatables_liblibrary, exposed as an entry point
tohurry.resource, knows where the data is in itspathargument.The package has already been integrated forGrokand the Zope
Toolkit. If you depend on thehurry.zoperesourcepackage in yoursetup.py, the above example should work out of the box. Make sure
to depend on thehurry.zoperesourcepackage in yoursetup.py.CHANGES1.7.6 (2011-03-23)Updated to datatables 1.7.6.1.7b6.1 (2010-07-28)Initial public release, using datatables 1.7b6Only compatible with hurry.resource >= 0.10Download
Package: hurry.extjs
hurry.extjsIntroductionThis library provides a simple API to useExtJSwithhurry.resource.Due to licenses conflicts,hurry.extjscan’t packages the sources of ExtJS. So you need
to do it manually.How to use?Addhurry.zoperesourceandhurry.extjsto your setup.py and run ./bin/buildout:install_requires=[
   ...,
   'hurry.zoperesource'
   'hurry.extjs',
],DownloadExtJSand place it in your project. Next step, it’s to publish the sources of
ExtJS as a resource directory. Using Grok, you should have something like this in your
configure.zcml<configure xmlns="http://namespaces.zope.org/zope"
           xmlns:grok="http://namespaces.zope.org/grok"
           xmlns:browser="http://namespaces.zope.org/browser">

  <include package="grok" />
  <includeDependencies package="." />
  <grok:grok package="." />

  <include package="hurry.zoperesource" />

  <browser:resourceDirectory
      name="extjs"
      directory="ext-2.2.1" />

</configure>hurry.extjswill look for the resourceDirectory namedextjs, so it’s important that
you use the samenamein the resourceDirectory statement.Now, you can importextjslike this:from hurry.extjs import extjs_all, extjs_cssAnd then to trigger inclusion in the web page, anywhere within
your page or widget rendering code, do this:extjs_all.need()
extjs_css.need()AuthorsSantiago VidelaCHANGES2.2.1 (2009-05-04) (ExtJS version: 2.2.1)Initial public release.Download
Package: hurry.filesize
hurry.filesizehurry.filesize a simple Python library that can take a number of bytes and
returns a human-readable string with the size in it, in kilobytes (K),
megabytes (M), etc.The default system it uses is “traditional”, where multipliers of 1024
increase the unit size:>>> from hurry.filesize import size
>>> size(1024)
'1K'An alternative, slightly more verbose system:>>> from hurry.filesize import alternative
>>> size(1, system=alternative)
'1 byte'
>>> size(10, system=alternative)
'10 bytes'
>>> size(1024, system=alternative)
'1 KB'A verbose system:>>> from hurry.filesize import verbose
>>> size(10, system=verbose)
'10 bytes'
>>> size(1024, system=verbose)
'1 kilobyte'
>>> size(2000, system=verbose)
'1 kilobyte'
>>> size(3000, system=verbose)
'2 kilobytes'
>>> size(1024 * 1024, system=verbose)
'1 megabyte'
>>> size(1024 * 1024 * 3, system=verbose)
'3 megabytes'You can also use the SI system, where multipliers of 1000 increase the unit
size:>>> from hurry.filesize import si
>>> size(1000, system=si)
'1K'Changes0.9 (2009-03-11)Initial public release.Download
Package: hurry.jgrowl
hurry.jgrowlIntroductionThis library packages the jQueryjgrowl pluginforhurry.resource.How to use?You can import hurry.jgrowl fromhurry.jgrowland.needit
where you want these resources to be included on a page:from hurry.jgrowl import jgrowl

.. in your page or widget rendering code, somewhere ..

jgrowl.need()This requires integration between your web framework andhurry.resource, and making sure that the original resources
(shipped in thejgrowl-builddirectory inhurry.jgrowl)
are published to some URL.The package has already been integrated forGrokand the Zope
Toolkit. If you depend on thehurry.zoperesourcepackage in yoursetup.py, the above example should work out of the box. Make sure
to depend on thehurry.zoperesourcepackage in yoursetup.py.CHANGES1.2.4 (2010-10-07)Initial public release, packages jgrowl 1.2.4Download
Package: hurry.jqgrid
hurry.jqgridIntroductionThis library packages the jQueryjqgrid pluginforhurry.resource(for jquery).How to use?You can import a variety of jqgrid resources fromhurry.jqgrid:from hurry.jqgrid import locale_en, grid_base

.. in your page or widget rendering code, somewhere ..

locale_en.need()
grid_base.need()Important: Load a localebeforeyou load any grid functionality;
if you don’t you will get errors aboutjgrid.format.This requires integration between your web framework andhurry.resource, and making sure that the original resources are
published to some URL.The package has already been integrated forGrokand the Zope
Toolkit. If you depend on thehurry.zoperesourcepackage in yoursetup.py, the above example should work out of the box. Make sure
to depend on thehurry.zoperesourcepackage in yoursetup.py.CHANGES3.6.2.0 (2010-01-12)Initial public release, using jqgrid version 3.6.2Download
Package: hurry.jqplot
hurry.jqplotIntroductionThis library packagesjqPlotforhurry.resource. It is aware of jqPlot’s
structure and different modes (normal, minified).How to use?You can import jqPlot fromhurry.jqplotand.needit where you want
these resources to be included on a page:from hurry.jqplot import jqplot

.. in your page or widget rendering code, somewhere ..

jqplot.need()This requires integration between your web framework andhurry.resource,
and making sure that the original resources (shipped in thejqplot-builddirectory inhurry.jqplot) are published to some URL.The package has already been integrated forGrokand Zope 3. If you depend
on thehurry.zoperesourcepackage in yoursetup.py, the above example
should work out of the box. Make sure to depend on thehurry.zoperesourcepackage in yoursetup.py.
For grok, depending onmegrok.resourceshould do itPreparing hurry.jqplot before releaseThis section is only relevant to release managers ofhurry.jqplot.When releasinghurry.jqplot, an extra step should be taken. Follow the
regular packagerelease instructions, but before egg generation (python setup.py register sdist upload) first executebin/jqplotprepare. This
will download the jqPlot library and place it in the egg.  (The version number
is currently hardcoded in the hurry.jqplot.prepare module).CHANGES0.9.7.2 (2010-10-19)support hurry.resource 0.100.9.7.1 (2010-06-29)Using jqPlot-0.9.7.Download
Package: hurry.jquery
hurry.jqueryImportanthurry.jquery has been superseded byjs.jqueryIntroductionThis library packagesjQueryforhurry.resource. It is aware of jQuery’s
structure and different modes (normal, minified).How to use?You can import jQuery fromhurry.jqueryand.needit where you want
these resources to be included on a page:from hurry.jquery import jquery

.. in your page or widget rendering code, somewhere ..

jquery.need()This requires integration between your web framework andhurry.resource,
and making sure that the original resources (shipped in thejquery-builddirectory inhurry.jquery) are published to some URL.The package has already been integrated forGrokand Zope 3. If you depend
on thehurry.zoperesourcepackage in yoursetup.py, the above example
should work out of the box. Make sure to depend on thehurry.zoperesourcepackage in yoursetup.py.Preparing hurry.jquery before releaseThis section is only relevant to release managers ofhurry.jquery.The javascript code that this package relies on is not checked into
subversion to sidestep the copyright policy of svn.zope.org. Instead,
just before release to pypi, an entry point is triggered that
downloads the appropriate javascript code. To trigger this automated
behavior you should do the release usingbin/fullrelease, which
uses zest.releaser configured with the appropriate entry points.CHANGESImportanthurry.jquery has been superseded byjs.jquery1.4.3.1 (2010-10-18)Using jQuery-1.4.3.1.4.2.3 (2010-07-28)We needed to do some safety checks in the zest.releaser entry points
as otherwise these entry points would be triggered even for the
release process of packages that depend on this (such as
hurry.jqueryui).1.4.2.2 (2010-07-28)Relying on new hurry.resource 0.10, which needs an entry point.Exportjquery_libas the library. Before this change library was
not accessible as it was immediately overwritten by thejqueryResourceInclusion. This means that jquery resources will now be
published underjquery_libin the URL instead ofjquery, but
since these URLs are automatically generated this should be okay.1.4.2.1 (2010-03-14)Using jQuery-1.4.2.Added zest.releaser and using its prerelease-entrypoint to assure download
of the jquery libary before release.  No functional changes.1.3.2.1 (2009-05-27)Initial public release, using jQuery-1.3.2.Download