Saravanan666/pypi-org huggingface dataset:
Package: hin
Dotfile managerUsage:hin[OPTIONS]COMMAND[ARGS]...Dotfilemanager.Options:-h,--helpShowthismessageandexit.-v,--versionShowtheversionandexit.Commands:addAddnewFILEtoversioncontrol.cloneCloneadotfilerepositoryfromaURL.commitCommitchangestoFILE.installInstalladotfilerepository.linkCreateanewLINKfromTARGET.listListallversioneddotfiles.pushPushchangestoremote.removeRemoveFILEfromversioncontrol.statusCheckversionstatus.undoRevertpreviouscommitandactions.uninstallUninstalladotfilerepository.
Package: hindiwsd
📌 A pipeline for transliteration of Hinglish code mixed data to Hindi Devanagari script, spell correction, POS tagging and word sense disambiguation of the Hindi Devanagari script.📖 With this package, we aim to tackle the problem of word sense disambiguation by making atleast the preliminary steps a lot easier. The problem statement we decided to tackle was the translation of Hinglish code mixed data to Hindi Devanagari and then to carry out word sense disambiguation on the Hindi text. We make use of libraries such asspello,indic-transliteration,pyiwnandindic_tagger.💡 Functionalitieshindiwsd will mainly carry out the following tasks for now:Hinglish to Hindi transliterationSpell correction of Hindi textPOS tagging of Hindi textWord Sense Disambiguation of Hindi text with the help of IndoWordNetEnhanced Lesk's Algorithm using custom dataset💾 InstallationInstall hindiwsd via 'pip'pipinstallhindiwsd🗒️ NOTEA small change will need to be made to iwn.py from the pyiwn library before using our packageThere is a missing try-catch block in iwn.py that might cause our package to crashHere's a quick fix, use our patchediwn.pyinstead. Copy it's contents and replace it with the original iwn.py.The path to the original iwn.py would bepath-to-your-env-or-python-folder/lib/site-packages/pyiwn/iwn.py📄 CUSTOM DATASET FOR ENHANCED LESK'S ALGORITHMThe custom dataset is availablehere.Here is a preview of what it looks like⚡Getting Started🔤 Word Sense DisambiguationThe wordsense() function from the hindi_wsd.py script.It prints out the Hindi Devanagari spell corrected sentence, POS tags and disambiguated word meanings for each word in the sentence available on theIndoWordNet.>>>fromhindiwsdimporthindi_wsd>>>print(hindi_wsd.wordsense("aaj achha din hai"))You can also directly feed in Hindi sentences to the wordsense() function.>>>fromhindiwsdimporthindi_wsd>>>print(hindi_wsd.wordsense("आज अच्छा दिन है"))🏷️ POS tagging for Hindi DevanagariGetting POS tags for a Hindi sentence using the POS_tagger() function from the wsd.py script. Returns a list of tuples containing word and respective tag(NOUN, ADJECTIVE, ADVERB, VERB).>>>fromhindiwsdimportwsd>>>print(wsd.POS_tagger('आज अच्छा दिन है'))📚 Hinglish to Hindi transliteration with spell correctionTransliterating the Hinglish code mixed sentence to Hindi Devanagari using the preprocess_transliterate() function from the wsd.py script. Returns two strings. The first is the spell corrected Hinglish sentence followed by the spell corrected Hindi sentence.>>>fromhindiwsdimportwsd>>>print(wsd.preprocess_transliterate('aaj achha din hai'))Feel free to reach out to us for more information!Praatibh SuranaMirza Yusuf
Package: hindsight
This client provides access to Behave for Jira in a Python environment. It uses a HTTP GET call to
download a compressed stream containing the feature files for the specified project, and then unzips
the features into the specified directory.InstallationIf using pip, simply:pip install hindsightIf installing manually, grab the tarball below and extract to a temporary directory. Make sure therequestspackage is installed and available, and then run:python setup.py installfrom inside the temporary directoryUsageWithin a script:#!/usr/bin/env python

from hindsight.behave import JiraConnector

b4j = JiraConnector()
b4j.fetch(
    host='http://localhost:2990/jira',
    username='behaver',
    password='atdd4me',
    key='PROJ',
    dir='features',
    manual=True,
    verify=False
)This take mandatory arguments host and key, and the rest are optional.Or the same request from the command line (if you installed via pip):behave-cli -u behaver -p atdd4me -d features -m http://localhost:2990/jira PROJTaking the form:behave-cli [-u USERNAME] [-p PASSWORD] [-d DIR] [-m] [--verify] HOST KEYField descriptions:host:      the host URL to the Jira installation running Behave for Jira
username:  username of user with Behave rights on desired project
password:  password for this user
key:       project key to download features for
dir:       directory relative to the script to download features to
           (can also use absolute path)
manual:    flag to include scenarios tagged with manual in the download
verify:    flag to indicate whether to verify the SSL certificate if connecting over SSL
           (only applicable to CA certificates - self signed certificates cannot be verified)More infoPlease see the guide athttp://hindsighttesting.com/docs
Package: hintapi
MERGE TOhttps://github.com/abersheeran/kuiHint API中文
|English基于 Type hint 的 Web 框架hintapi 文档hintapi 实现了WSGI接口，并使用 Radix Tree 进行路由查找。是最快的 Python web 框架之一。一切特性都服务于快速开发高性能的 Web 服务。大量正确的类型注释灵活且高效的路由系统能作用于任意路由及路由分组上的路由中间件适用于中间件与视图的依赖注入可视化 API 接口与在线调试支持所有 WSGI 生态的互调用Installpipinstall-UhintapiExamplefromtyping_extensionsimportAnnotatedfromhintapiimportHintAPI,PlainTextResponseapp=HintAPI()@app.router.http("/")defhomepage()->Annotated[str,PlainTextResponse[200]]:return"hi, this is homepage"
Package: hintbot
hintbotA JupyterLab extension.This extension is composed of a Python package namedhintbotfor the server extension and a NPM package namedhintbotfor the frontend extension.RequirementsJupyterLab >= 4.0.0InstallTo install the extension, execute:pipinstallhintbotUninstallTo remove the extension, execute:pipuninstallhintbotTroubleshootIf you are seeing the frontend extension, but it is not working, check
that the server extension is enabled:jupyterserverextensionlistIf the server extension is installed and enabled, but you are not seeing
the frontend extension, check the frontend extension is installed:jupyterlabextensionlistContributingDevelopment installNote: You will need NodeJS to build the extension package.Thejlpmcommand is JupyterLab's pinned version ofyarnthat is installed with JupyterLab. You may useyarnornpmin lieu ofjlpmbelow.# Clone the repo to your local environment# Change directory to the hintbot directory# Install package in development modepipinstall-e"."# Link your development version of the extension with JupyterLabjupyterlabextensiondevelop.--overwrite# Server extension must be manually installed in develop modejupyterserverextensionenablehintbot# Rebuild extension Typescript source after making changesjlpmbuildYou can watch the source directory and run JupyterLab at the same time in different terminals to watch for changes in the extension's source and automatically rebuild the extension.# Watch the source directory in one terminal, automatically rebuilding when neededjlpmwatch# Run JupyterLab in another terminaljupyterlabWith the watch command running, every saved change will immediately be built locally and available in your running JupyterLab. Refresh JupyterLab to load the change in your browser (you may need to wait several seconds for the extension to be rebuilt).By default, thejlpm buildcommand generates the source maps for this extension to make it easier to debug using the browser dev tools. To also generate source maps for the JupyterLab core extensions, you can run the following command:jupyterlabbuild--minimize=FalseDevelopment uninstall# Server extension must be manually disabled in develop modejupyterserverextensiondisablehintbot
pipuninstallhintbotIn development mode, you will also need to remove the symlink created byjupyter labextension developcommand. To find its location, you can runjupyter labextension listto figure out where thelabextensionsfolder is located. Then you can remove the symlink namedhintbotwithin that folder.Packaging the extensionSeeRELEASE
Package: hintcast
hintcastDecorators that allow for automatic type-casting of arguments for a function or strict enforcement of type hints.Usage SummaryImport whatever decorators you want with an import statement likefrom hintcast import cast_hints, strict_hints.Casting TypesTo add automated type-casting to your function/method, use the@cast_hintsdecorator for your method. If a type cannot be cast, a warning will be logged.To attempt to cast but raise a TypeError exception if unable to, pass the keyword argument "strict". E.g.@cast_hints(strict=True).To passNonevalues without casting, pass the keyword argument "cast_none". E.g.@cast_hints(cast_none=False).Enforcing strict typesYou can also use the@strict_hintsdecorator. This will NOT attempt to cast the types, but will raise a ValueError if a type not matching your hint is passed.Usage ExamplesCasting Typesfrom hintcast import cast_hints

@cast_hints
def add_two(num: int, text: str):
    print(repr(num+2))
    print(repr(text+"2"))Output>>> add_two("3", 3)
5
'32'
>>> add_two("3", None)
5
'None2'Casting types without casting NoneTypefrom hintcast import cast_hints

@cast_hints(cast_none=False)
def add_two(num: int, text: str):
  print(repr(num+2))
  print(repr(text+"2"))Output>>> add_two("3", 3)
5
'32'
>>> add_two("3", None)
5
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'Casting types and raising TypeError when type could not be castfrom hintcast import cast_hints

@cast_hints(strict=True)
def add_two(num: int, text: str):
  print(repr(num+2))
  print(repr(tex+"2"))Output>>> add_two("3", 3)
5
'32'
>>> add_two("test", 3)
TypeError: Could not convert num to <class 'int'>. invalid literal for int() with base 10: 'test'Enforcing strict typing without castingfrom hintcast import strict_hints

@strict_hints
def add_two(num: int, text: str):
  print(repr(num+2))
  print(repr(text+"2"))Output>>> add_two("3", 3)
TypeError: num is not of type <class 'int'>
>>> add_two(3, 3)
TypeError: text is not of type <class 'str'>Future Development PlansTest support for all primitive typesAdd support for checking function return type hintsAdd support for built-in non-primitive data structures such as arrays, lists, etc.Add support for hinting of types within lists, dictionaries, etc.Add ability to enforce typing project-wideWhen all of the functionality above has been implemented and tested, the version number will be incremented to 1.0.0 and this project will leave beta status.
Package: hintedtext
Hinted TextHinted text widget for tkinter.This customHintedTextclass inherits fromtk.Textand adds a hint parameter in the constructor. Theclear_hintmethod is bound to the<FocusIn>event and will clear the hint text if the widget has focus and the text is the same as the hint. Theadd_hintmethod is bound to the<FocusOut>event and will add the hint text back if the widget loses focus and the text is empty.InstallationpipinstallhintedtextUsageimporttkinterastkfromhintedtextimportHintedText,HintedEntryroot=tk.Tk()text=HintedText(root,hint="Enter your text here")text.pack()entry=HintedEntry(root,hint="Enter your text here")entry.pack()root.mainloop()
Package: hinterlist
INTERLIS Tools CollectionPurposeThis module contains toolsfor checking interlis1 and interlis2 files by calling REST service.manipulate interlis1 files such as removing unused topics and tablesInstallpip install hinterlistThat's it.Version HistoryVersionRelease Notes0.0.5detox either with 'keep' or 'remove' parameter0.0.4error count in result0.0.3server alias as optional parameter0.0.2detox submodule added0.0.1initial versionExamplesCheck Interlis 1 file# import modulefromhinterlistimportcheck# create instance of Checker with default server pathsmychecker=check.Checker(server="gugus.dada.admin.ch:6443")# submit synchroneous job, i.e. wait until check finishedresult=mychecker.run_check(xtf=r"P:\ath\to\interlis1.itf",ili=r"P:\ath\to\model.ili",mode=check.Mode.SYNC,config=check.Config.ESRI)# Print resultsprint(result.jobid)print(result.logfile)print(result.success)print(result.valid)print(result.errors)Get Structure of Interlis 1 fileTODO
Package: hintriever
MIT LicenseCopyright (c) 2021 diffuserPermission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Package: hintwith
hintwithHints your function with an existing one.Installation$pipinstallhintwithUsageUsehintwith()to hint a function with another function:>>>fromhintwithimporthintwith>>>defa(x:int,y:int,z:int=0)->int:..."""Sums x, y and z."""...returnx+y+z...>>>@hintwith(a)...defb(*args,**kwargs)->float:...returnfloat(a(*args,**kwargs))...Also, there ishintwithmethod()to hint the function with a method rather than a direct callable.See AlsoGithub repositoryhttps://github.com/Chitaoji/hintwith/PyPI projecthttps://pypi.org/project/hintwith/LicenseThis project falls under the BSD 3-Clause License.Historyv0.1.2Updated comments.v0.1.1New optional parameter forhintwith()andhintwithmethod():__is_method: determines whether the function to get hinted is a method.v0.1.0Initial release.
Package: hiorco
HiOrCoComputingHigher-OrderCo-occurrence patterns in
microbial samples.InstallationCan be easily installed usingpip:pip install hiorcoUsageAs simple as:hiorco samples.tsvYou can download our example here:samples.tsv,
and check the documentation for more options and details:hiorco -hCreditsDaniel Machado, European Molecular Biology Laboratory (EMBL), 2019
Package: hiosint
What is hiosint?hiosint was developed to gather reliable PII (Personal Identifiable Information) from email addresses utilizing sources like data breaches, search engines, and more.InstallationInstall hiosint with PyPI (pip)pipinstallhiosintInstall hiosint from sourcegitclonehttps://github.com/iamosint/hiosint.gitcdhiosint/
pipinstall.UsageWith CLIhiosint--helpWith Libraryhiosint Usesaiohttpbehind the scenes for HTTP requestsimportasynciofromhiosint.modules.leaksimportleakcheckasyncdefmain():results=awaitleakcheck("target email","leakcheck.io API key","email",# default query type is "auto")print(results)asyncio.run(main())LicenseGNU General Public License v3 or later (GPLv3+)
Package: hip2slack-emoji
Did you migrate from Hipchat to Slack and now miss the funny emojis?
Your problems are over!InstallWe usesplinterto make the browser interactions needed to upload the emojis and as
we are using only chromedriver for now, you have to first followthese
instructionsto setup chromedriver in your machine.Make sure to create and activate a Python 3 virtualenv, then type the
following:(venv)$pipinstallhip2slack-emojiRunYou need thre environment variables: -SLACK_TEAM: your Slack
team’s name as inhttps:/.slack.com/-SLACK_EMAIL: your Slack
email -SLACK_PASS: your Slack passwordSo you can run by doing this:(venv)$envSLACK_TEAM=yourslackteamSLACK_EMAIL=your@slack.emailSLACK_PASS=yourslackpasscatchemallIf you want, you can just run:(venv)$catchemallAnd you will get an interactive prompt asking for Slack info.Make sure you have permissions in your team to upload emojis.Enjoy!
Package: hipachectl
hipachectlhipachectl is a command-line tool and library to managedotCloud’shipacheload balancer and reverse proxy. hipachectl lets you:list configured virtual hostsadd a new virtual hostdelete a virtual hosthipachectl is MIT licensed.InstallationEither pull the automatically updatedDockerimage:$ docker pull prologic/hipachectlOr install from the development repository:$ git clone https://github.com/prologic/hipachectl.git
$ cd hipachectl
$ pip install .UsageTo use hipachectl fromDocker:$ docker run prologic/hipachectl -u tcp://ip:port <command>Or:$ hipachectl -u tcp://ip:port <command>Whereipandportare the IP Address and Port of thehipacheinstance or the IP/Port of the Redis instance used. e.g:tcp://redis:6379Or if you have a namedhipacheinstance you can use--link:$ docker run --link hipache prologic/hipachectlFor help use the--helpoption.Change Log0.2 (2015-05-26)Moved project toGithub0.1 (2015-05-26)Added an API0.0.1 (2014-11-01)Initial Release
Package: hipack
hipackis a Python module to work with theHiPackserialization format. The API is intentionally similar to that of the standardjsonandpicklemodules.Features:Both reading, and writingHiPack version 1is supported. The
following extensions are implemented as well:HEP-1: Value Annotations.(Note that extensions defined in HEPs are subject to change while they are
being discussed as proposals.)Small, self-contained, pure Python implementation.Compatible with both Python 2.6 (or newer), and 3.2 (or newer).UsageGiven the following input file:# Configuration file for SuperFooBar v3000
interface {
  language: "en_US"
  panes {
    top: ["menu", "toolbar"]  # Optional commas in lists
    # The colon separating keys and values is optional
    bottom
      ["statusbar"]
  }
  ☺ : True  # Enables emoji
  Unicode→Suþþorteð? : "Indeed, Jürgen!"
}

# Configure plug-ins
plugin: {
  preview  # Whitespace is mostly ignored
  {
    enabled: true
    timeout: 500  # Update every 500ms
  }
}Note that the:separator in between keys and values is optional, and
can be omitted. Also, notice how white space —including new lines— are
completely meaningless and the structure is determined using only braces
and brackets. Last but not least, a valid key is any Unicode character
sequence whichdoes notinclude white space or a colon.The following code can be used to read it into a Python dictionary:importhipackwithopen("superfoobar3000.conf","rb")asf:config=hipack.load(f)Conversions work as expected:Sections are converted into dictionaries.Keys are converted conveted to strings.Text in double quotes are converted to strings.Sections enclosed into{ }are converted to dictionaries.Arrays enclosed into[ ]are converted to lists.Numbers are converted either tointorfloat, whichever is more
appropriate.Boolean values are converted tobool.The following can be used to convert a Python dictionary into its textual
representation:users={"peter":{"uid":1000,"name":"Peter Jøglund","groups":["wheel","peter"],},"root":{"uid":0,"groups":["root"],}}importhipacktext=hipack.dumps(users)When generating a textual representation, the keys of each dictionary will
be sorted, to guarantee that the generated output is stable. The dictionary
from the previous snippet would be written in text form as follows:peter: {
  name: "Peter Jøglund"
  groups: ["wheel" "peter"]
  uid: 1000
}
root: {
  groups: ["root"]
  uid: 0
}InstallationThe stable releases are uploaded toPyPI, so you
can install them and upgrade usingpip:pip install hipackAlternatively, you can install development versions —at your own risk—
directly from the Git repository:pip install -e git://github.com/aperezdc/hipack-pythonDevelopmentIf you want to contribute, please use the usual GitHub workflow:Clone the repository.Hack on your clone.Send a pull request for review.If you do not have programming skills, you can still contribute byreporting
issuesthat you may
encounter.
Package: hipar
HIPAR (Hierarchical Interpretable Pattern-aided Regression)HIPAR is a pattern-based method for regression on tabular data. Given a dataset, HIPAR outputs a set of hybrid rules of the form p => y = f(X) that predict a target variable y. Here, p is a conjunctive pattern that characterizes a region of the dataset (e.g., property-type='house' and surface > 50), and f(X) is a linear function on the numerical features of the dataset.How to use HIPARHIPAR's code is still in alpha status, nevertheless the code can be used without major issues.fromhiparimportHIPARfromdataimportget_simple_housinghipar=HIPAR(min_support=2,interclass_variance_percentile_threshold=0)X,y=get_simple_housing()hipar.fit(X,y)## Get all rules found during the enumeration phaseprint(hipar.all_rules)## Get the rules selected by HiPaR (used for prediction)print(hipar.get_selected_rules())X_test=...print(hipar.predict(X_test))Experimental ResultsThe first implementation of HiPaR including all the experimental evaluation and data is availablehere.RoadmapDiferences with the published versionInterclass variance threshold is calculated over the entire set of refinement conditions and not on the set of discretized refinement conditionsWe do not check if a new rule is betterthan allits parents, but only better than the generating parent. This just sents more rules to the selection phase, but makes the code simpler (I am not confident of the previous implementation of this feature).Improvements w.r.t. the published versionSupport for multiple metrics in the enumeration phase. A new rule will be compared against its parent on all the metrics provided as input in the constructorRoadmapMake a Python installable package [Urgent]Consider other quality criteria to prune during the enumeration such as the p-values of the linear coefficients.If we need to compare against all the HIPAR-based hybrid methods published in the paper, we will have to reimplement them.Consider alternative discretization approaches for the numerical variables in the conditions.PublicationsLuis Galárraga, Olivier Pelgrin, Alexandre Termier. HiPaR: Hierarchical Pattern-aided Regression. Full paper at the Pacific-Asia Conference on Knowledge Discovery and Data Mining (PAKDD 2021), Delhi.[Technical Report]