Saravanan666/pypi-org huggingface dataset:
Package: hanotify
# Hanotify Crash ReporterWritten by Benjamin Wallis## OverviewHanotify is a commandline tool for monitoring crash reports that are submitting to HockeyApp. When hanotify detects that a crash report is at a vertain level of severity, it will send an email to given developer.## SetupHanotify is built using Python 2.7.5. The actual installation of the tools uses setuptools, so to install hanotify as a system wide command line tool, simply run the following command from the root:```sudo python setup.py install```Please note that Notify does require that you have the hockeylib package installed on your system. You will need to clone and install this package manually. The link to the repo is below:[https://bitbucket.org/astonclub/hockeyapp-cli](https://bitbucket.org/astonclub/hockeyapp-cli)## Watching appsNot feeling up to explaing how the tool works. If you really want to know just ask me in person!![https://www.petfinder.com/wp-content/uploads/2012/11/99233806-bringing-home-new-cat-632x475.jpg](https://www.petfinder.com/wp-content/uploads/2012/11/99233806-bringing-home-new-cat-632x475.jpg)
Package: hans
HANSThis code implements the Height-Averaged Navier-Stokes (HANS) scheme for two-dimensional lubrication problems as described in the following paper:Holey, H. et al. (2022) Tribology Letters, 70(2), p. 36.InstallationPackaged versions can be installed viapip install hansExamplesRun from the command line withmpirun -n <NP> python3 -m hans -i <input_file> [-p] [-r <restart_file>]whereNPis the number of MPI processes. The plot option (-p,--plot) is only available for serial execution. Example input files as well as jupyter-notebooks can be found in theexamplesdirectory.The command line interface contains some scripts for plotting and creating animations.
For instance, 1D profiles of converged solutions can be displayed withplot1D_last.pyTestsRun all tests from the main source directory withpytestor append the path to the test definition file (located intests) to run selected tests only.FundingThis work is funded by the German Research Foundation (DFG) through GRK 2450.
Package: hanser-py-library
hanser-py-libraryThis tool downloads a book fromhttps://www.hanser-elibrary.comsaves them
to a PDF File called-.pdf. If the book's title contains
characters that aren't allowed in a filename it will be saved as-.pdf. If files with that name already exist the number of
existing files will be appended to the chosen file name like this(#).By default the merged book will be saved in the directory from which the
program was called, but you can provide a custom output directory.If a complete book pdf is available, the tool will preferably download that
file, otherwise it will download each individual chapter and merge them into a
single file before saving. Unfortunately, this leads to links within the merged
book (e.g. chapter references) being broken.The tool will check whether you are authorized to access the book before
downloading anything. If you are unauthorized, the book will be skipped.InstallationInstalling throughpipxisolates packages in their own environment and
exposes their entrypoints via PATH.pipx install hanser-py-libraryAlternatively install regularly via pip:pip install hanser-py-libraryUsageusage: hanser [-h] [--isbn [[...]]] [-o PATH] [-f] [URL [URL ...]]You must provide at least one valid URL or ISBN. The program will attempt
to fix URLs with missing schemes by defaulting to "https://". Each URL
needs to end with a valid ISBN-10 or -13 number. Valid URL formats include:Referencing by ISBN-10 or ISBN-13https://www.hanser-elibrary.com/isbn/{ISBN}
https://hanser-elibrary.com/isbn/{ISBN}
www.hanser-elibrary.com/isbn/{ISBN}
hanser-elibrary.com/isbn/{ISBN}Referencing by DOI and ISBN-13https://www.hanser-elibrary.com/doi/book/{DOI}/{ISBN}
https://hanser-elibrary.com/doi/book/{DOI}/{ISBN}
www.hanser-elibrary.com/doi/book/{DOI}/{ISBN}
hanser-elibrary.com/doi/book/{DOI}/{ISBN}OptionsShortLongDescription-h--helpShow help message and exit.-o--outPath to output directory. Relative and abstract paths supported. Cannot point towards file.Paths starting with '~' it will be expanded from the user's home directoryPath must point towards existing directory unless-fis set.-f--forceIf set the output directory and every directory on the way will be forcibly created.Exits if the directory cannot be created.--isbnISBNs of books to download. Can be either ISBN-10 or 13.If you want to provide both ISBNs and URLs, provide URLs first like this:hanser [URL [URL ...]] [--isbn [[...]]]If ISBN(s) and URL(s) are provided, URL books will be downloaded before ISBN books.ExamplesSaving in current working directoryhanser https://www.hanser-elibrary.com/isbn/9783446450776

hanser https://www.hanser-elibrary.com/doi/book/10.3139/9783446450776

hanser --isbn 9783446450776Saving in a directory that existshanser -o path/to/dir hanser-elibrary.com/isbn/9783446450776Saving in a directory that may or may not existhanser -o path/to/dir -f hanser-elibrary.com/isbn/9783446450523Encountered a Bug?Feel free toopen an issueif you encountered bugs or have other
ideas that aren't yet listed in thebacklog.
Package: hansken
hansken.pyhansken.pyis a Python client toHansken's REST API, developed and maintained by the Netherlands Forensic Institute.Installationhansken.pyis hosted on PyPI, install it usingpip:pip install hanskenThe installation package defines extras to enable some additional features:report: utilities to help create reports in HTML and PDF formats;mount: enables themountsubcommand, creating FUSE mounts for data sources in a Hansken project;kerberos: enables the use of Kerberos single-sign-on authentication for environments that support it;all: installs all of the above.These extras can be installed usingpip:pip install hansken[all]
Package: hantekosc
Hantekosc provides a Python interface to control the mobile USB-oscilloscopes made by Hantek.
It is based on library “Hantek6022API” (https://github.com/Ho-Ro/Hantek6022API).FeaturesImplemented software triggerSettings like recording length, sample rate, presample ratio or trigger mode can be set in a simple wayExamplesExample for initializing an oscilloscope device:from hantekosc import oscilloscope

 osc = oscilloscope.Oscilloscope()
 osc.channels[0].voltage_range = 5
 osc.channels[1].voltage_range = 5
 osc.trigger_mode = 'REPEAT'
 osc.sample_rate = 1 * 1e6
 osc.record_length = 2000
 osc.pre_sample_ratio = 0.2
 osc.selected_channel = 0
 osc.channels[0].trigger_kind = 'FALLING'
 osc.channels[0].trigger_level = 0.5

 osc.start()Example of retrieving data from the oscilloscope’s channel 1 after initialization:timing_data = osc.channels[0].measured_data[0]
voltage_data = osc.channels[0].measured_data[1]Installation requirementsJust copy the 60-hantek6022api rules to the system’s folder:curl -fsSL https://raw.githubusercontent.com/BMecke/hantekosc/main/PyHT6022/udev/60-hantek6022api.rules | sudo tee /etc/udev/rules.d/60-hantek6022api.rulesRestart “udev” management tool:Restart “udev” management tool:sudo service udev restartInstall hantekosc (The use of virtual environments is recommended):pip install hantekosc
Package: hanyang_registration
IntroUnofficial Hanyang Registration for PythonInstallationpip install hanyang_registrationQuick Start1. Loginfrom hanyang_registration import sugang

sinchung = sugang.Sinchung(verbose=True, erica=True) #default True
sinchung.login('2014036123', 'your_password')2. Set Class Codessinchung.sugang_codes = ['12345', '12345', '12345', ...]3. Registersinchung.register()Changelogv1.0.2 - Releasev1.1 - init시에 log_level이 verbose로 변경되었습니다.sinchung = sugang.Sinchung(verbose=True) # default Truev1.1.1 -issue#5issue#6을 수정하였습니다.v1.1.2 - 새로 추가된 IN_HGT_SUUP_FLAG param 추가v1.1.4 - IN_HGT_SUUP_FLAG에 일반적인  수강신청을 위해서 0번값 추가.v1.1.5 - IN_SGSC_GB param 추가, erica flag 추가v1.1.6 - NETFUNNEL 대응
Package: hanythingondemand
Documentation is available atRead the
DocsGoalHOD is a set of scripts to start services, for example a Hadoop cluster,
from within another resource management system (i.e. Torque/PBS). As
such, it allows traditional users of HPC systems to experiment with
Hadoop or use it as a production setup if there is no dedicated setup
available.Hadoop is not the only software supported. HOD can also create HBase
databases, IPython notebooks, and set up a Spark environment.BenefitsThere are two main benefits:Users can run jobs on a traditional batch cluster. This is good for
small to medium Hadoop jobs where the framework is used but having a
‘big data’ cluster isn’t required. At this point the performance
benefits of a parallel file system outweigh the ‘share nothing’
architecture of a HDFS style file system.Users from different groups can run whichever version of Hadoop they
like. This removes the need for painful upgrades to running Yarn
clusters and hoping all users’ jobs are backwards compatible.HistoryHadoop used to ship it’s own HOD (Hadoop On Demand) but it was not
maintained and only supported Hadoop without tuning. The HOD code that
was shipped with Hadoop 1.0.0 release was buggy to say the least. An
attempt was made to make it work on the UGent HPC infrastructure, and
although a working Hadoop cluster was realised, it was a nightmare to
extend it’s functionality. At that point (April 2012), hanythingondemand
was started to be better maintainable and support more tuning and
functionality out of the box. For example, HBase was a minimum
requirement. Hence, why Hadoop on Demand became ‘Hanything’. Apart from
the acronym ‘HOD’ nothing of Hadoop On Demand was reused.More on the history of Hadoop On Demand can be found in section 2 ofthis paper on Yarn
(PDF)How does it work?hanythingondemand works by launching an MPI job which uses the reserved
nodes as a cluster-in-a-cluster. These nodes then have the various
Hadoop services started on them. Users can launch a job at startup
(batch mode) or login to worker nodes (using thehod connectcommand) where they can interact with their services.PrerequisitesA cluster usingTorque.environment-modulesto manage
the environmentThe rest of the requirements can be installed usingEasyBuild:Python and various libraries.mpi4pyeg. on fedorayum install-ympi4py-mpich2If you build this yourself, you will probably need to set the $MPICC
environment variable.vsc-base- Used for
command line parsing.vsc-mympirun-
Used for setting up the MPI job.pbs_python- Used
for interacting with the PBS (aka Torque) server.netifacesnetaddrJavaOracle JDK or OpenJDK - both installable with EasybuildHadoop binarieseg. theCloudera distribution
versions(used to test
HOD)Example use cases:Creating an HOD cluster:# submits a job to start a Hadoop cluster on 16 nodes$hodcreate--distHadoop-2.3.0-cdh5.0-n16--labelmy-cluster### Connect to your new cluster.$hodconnectmy-cluster### Then, in your session, you can run your hadoop jobs:$hadoopjarsomejob.jarSomeClassarg1arg2‘Set it and forget it’ batch jobs:# Run a batch job on 1 node:$hodbatch--distHadoop-2.3.0-cdh5.0--labelmy-cluster--script=my-script.sh
Package: hanziconv
This tool converts between simplified and traditional Chinese Characters.
It consists of two parts:a command line tool:hanzi-converta python library:hanziconvThis module supports both Python 2 and 3Installation$pipinstallhanziconvUninstallation$[sudo]pipuninstallhanziconvCommand Line ToolSynopsis$./hanzi-convert--helpusage:hanzi-convert[-h][-oOUTFILE][-s][-v]infileSimplifiedandTraditionalChineseCharacterConversionVersion0.3.2(ByBernardYue)ConvertingtoTraditionalHanzibydefaultwithno-sflagpositionalarguments:infilefilename|"-",correspondstostdinoptionalarguments:-h,--helpshowthishelpmessageandexit-oOUTFILE,--outputOUTFILEfilenametosaveoutput,stdoutifomitted-s,--simplifiedconverttosimplifiedcharacters-v,--versionshowprogram'sversionnumberandexitExampleConversion from stdin$./hanzi-convert-PressCrtl-DwhenfinishedTypingawayNowwritesomechinesecharacters繁简转换器^DTypingawayNowwritesomechinesecharacters繁簡轉換器$Python APIExample>>>fromhanziconvimportHanziConv>>>print(HanziConv.toSimplified('繁簡轉換器'))繁简转换器>>>print(HanziConv.toTraditional('繁简转换器'))繁簡轉換器>>>HanziConv.same('繁簡轉換器','繁简转换器')TrueTestingThe module usespytest.  Use pip to installpytest.$[sudo]pipinstallpytestThen checkout source code and run test as normal.$gitclonehttps://github.com/berniey/hanziconv$cdhanziconv$pythonsetup.pytestYou are encouraged to usevirtualenvandvirtualenvwrapperfor to avoid changing your currently operating environment.LicenseThis module is distributed under Apache License Version 2.0.The character map used in this module is based on the Multi-function
Chinese Character Database developed by Chinese University of Hong Kong.
Package: hanzidentifier
Hanzi Identifier is a simple Python module that identifies a string of text as
having Simplified or Traditional characters.GitHub:https://github.com/tsroten/hanzidentifierFree software: MIT licenseAboutEasy-to-use helper functions for identifying strings:>>>importhanzidentifier>>>hanzidentifier.has_chinese('Hello my name is John.')False>>>hanzidentifier.is_simplified('John说：你好！')True>>>hanzidentifier.is_traditional('John說：你好！')True>>>hanzidentifier.has_chinese('Country in Simplified: 国家. Country in Traditional: 國家.')TrueHere it is without the helper functions:>>>hanzidentifier.identify('Hello my name is Thomas.')ishanzidentifier.UNKNOWNTrue>>>hanzidentifier.identify('Thomas 说：你好！')ishanzidentifier.SIMPLIFIEDTrue>>>hanzidentifier.identify('Thomas 說：你好！')ishanzidentifier.TRADITIONALTrue>>>hanzidentifier.identify('你好！')ishanzidentifier.BOTHTrue>>>hanzidentifier.identify('Country in Simplified: 国家. Country in Traditional: 國家.')ishanzidentifier.MIXEDTruehanzidentifier.identifyhas five possible return values:hanzidentifier.UNKNOWN: there are no recognized Chinese characters in the string.hanzidentifier.BOTH: the string is compatible with both Simplified and Traditional character systems.hanzidentifier.TRADITIONAL: the string consists of Traditional characters.hanzidentifier.SIMPLIFIED: the string consists of Simplified characters.hanzidentifier.MIXED: the string consists of characters recognized solely as Traditional characters and also consists of characters recognized solely as Simplified characters.Characters that aren’t found in CC-CEDICT are ignored when determining a string’s identity.
Hanzi Identifier uses the CC-CEDICT data provided byZhonto identify Chinese characters.Because the Traditional and Simplified Chinese character systems overlap, a
string containing Simplified characters could identify ashanzidentifier.SIMPLIFIEDorhanzidentifier.BOTHdepending on if the
characters are also Traditional characters.Getting StartedInstall Hanzi Identifier:$ pip install hanzidentifierReport bugs and ask questions viaGitHub IssuesContribute features or bug fixes
Package: hanzidentifier-preview
Hanzi Identifier is a simple Python module that identifies a string of text as
having Simplified or Traditional characters.GitHub:https://github.com/tsroten/hanzidentifierFree software: MIT licenseAboutEasy-to-use helper functions for identifying strings:>>>importhanzidentifier>>>hanzidentifier.has_chinese('Hello my name is John.')False>>>hanzidentifier.is_simplified('John说：你好！')True>>>hanzidentifier.is_traditional('John說：你好！')True>>>hanzidentifier.has_chinese('Country in Simplified: 国家. Country in Traditional: 國家.')TrueHere it is without the helper functions:>>>hanzidentifier.identify('Hello my name is Thomas.')ishanzidentifier.UNKNOWNTrue>>>hanzidentifier.identify('Thomas 说：你好！')ishanzidentifier.SIMPLIFIEDTrue>>>hanzidentifier.identify('Thomas 說：你好！')ishanzidentifier.TRADITIONALTrue>>>hanzidentifier.identify('你好！')ishanzidentifier.BOTHTrue>>>hanzidentifier.identify('Country in Simplified: 国家. Country in Traditional: 國家.')ishanzidentifier.MIXEDTruehanzidentifier.identifyhas five possible return values:hanzidentifier.UNKNOWN: there are no recognized Chinese characters in the string.hanzidentifier.BOTH: the string is compatible with both Simplified and Traditional character systems.hanzidentifier.TRADITIONAL: the string consists of Traditional characters.hanzidentifier.SIMPLIFIED: the string consists of Simplified characters.hanzidentifier.MIXED: the string consists of characters recognized solely as Traditional characters and also consists of characters recognized solely as Simplified characters.Characters that aren’t found in CC-CEDICT are ignored when determining a string’s identity.
Hanzi Identifier uses the CC-CEDICT data provided byZhonto identify Chinese characters.Because the Traditional and Simplified Chinese character systems overlap, a
string containing Simplified characters could identify ashanzidentifer.SIMPLIFIEDorhanzidentifier.BOTHdepending on if the
characters are also Traditional characters.Hanzi Identifier’s functions accept and return unicode.Getting StartedInstall Hanzi Identifier:$ pip install hanzidentifierReport bugs and ask questions viaGitHub IssuesContribute features or bug fixesChange Logv1.0.2 (2015-08-06)New README formatAdds Travis CI supportUsesio.open()insetup.py. Fixes #1.v1.0.1 (2014-04-14)Fixes URL typo.v1.0 (2014-04-12)Version 1.0 merges some changes from Dragon Mapper. It is not backwards compatible with
the previous versions of Hanzi Identifier (e.g. some of the constants are named differently).Merges code fromDragon Mapperproject.Adds tox support.v0.1 (2013-04-24)Initial release.
Package: hanzigrid
This is the command line tool that generated the above chinese character study grids, and with which you can create your
own study grids.SVG images- great for printing, making your own chinese character poster and hanging it on your wall!An interactive HTML page(using the SVG images - for study on computers or mobile devices. There’s also
Javascript/JSON output which you can immediately reuse in your own applications.The tool is fed a list of input characters (a plain text file), and it will look up each character in HSK level 1 to 6
and draw it on the grid along with additional information. This means you can use it to generate custom grids with
exactly the charactersyouwant and in the order you want.FeaturesCharacters can be assigned a colour corresponding to the tone (1 - red, 2 - yellow, 3 - green, 4 - blue). Characters that
have multiple readings, are neutral tone, or for which no pinyin could be found (if they’re not in HSK) are always shown in black.HSK levels can be indicated by cell background colour (HSK1-3: white, HSK4: light grey; HSK5: yellow, HSK6: red, not
in HSK: dark grey).  This may act as a cue for you to skip the character until you’re proficient in the lowel levels.Example words from the HSK lexicon are shown (up to two in the images). In the interactive form, click a character words in which they occur.Showing pinyin on the grid is supported (but not enabled by default)Pinyin ordering is supported (not enabled by default)The alternative character (simlified/traditional) can be shown in the bottom-right corner of the cell.You can determines the columns/rows/cell sizes.InstallationFamiliarity with Python and the command line is assumed if you want to use this tool to make your own hanzi grids,
install hanzigrid using pip as follows:pip install hanzigridUsageSeehanzigrid--helpNotesThe interactive page HTML outputted by this tool has to be served from a proper webserver, serving locally fromfile:///will not work well!
Package: hanzilvlib
HanziLvLibA library to view contents fromHanziLevelProject.FeaturesHanzi meanings, variants,components and supercompositions, sorted byHanzi frequency.Built-inCE-DICTand sorted byvocab frequency.Sentences fromChinese Sentences and audio, spoon fed, and if inadequate, fromJukuuInstallationpip install hanzilvlibUsagePlease see/example.ipynb.Related projectsHanziLevelUp- A Hanzi learning suite, with levels based on Hanzi Level Project, aka. another attempt to clone WaniKani.com for Chinese.zhlib- A collection of Chinese tools, databases and dictionaries.CJKradlib- Generate compositions, supercompositions and variants for a given Hanzi / Kanji.
Package: haoda
Hardware-Aware Optimization and Design AutomationReusable Python utilities for hardware-aware optimization and design automation.Feature Synopsisintermediate representation (IR) systemXilinx tool backendXilinx report parserIntel tool backendIntel report parserGetting StartedPrerequisitesPython 3.6+ and correspondingpipHow to install Python 3.6+ on Ubuntu 18.04+ and CentOS 7?Ubuntu 18.04+sudoaptinstallpython3python3-pipCentOS 7sudoyuminstallpython3python3-pipInstalling from PyPIpython3-mpipinstall--user--upgradehaodaInstalling from Sourcepython3setup.pyinstall--userInstalling for Developmentpython3-mpipinstall--editable.
Package: haokan-download-icexmoon
haokan-download用途本程序用于从好看视频批量下载某个作者的视频注意事项禁止将本程序用于商业用途。本程序使用Python编写，需要Python环境支持。本程序并未使用多线程，出于作者懒和减少服务器压力的原因。核心的下载服务依赖于you-get，通过命令行进行调用，所以请确保你的电脑可以在命令行正常执行you-get xxx。下载结果会保存在命令行的当前工作目录，请确保当前目录有足够空间。经过测试发现you-get对haokan视频的支持并不完善，已经有人提交pull改善，但尚未合并到主分支，所以需要自己手动打包安装该分支代码，或者下载并安装我打包的版本you_get-0.4.1500-py3-none-any.whl。安装pip install haokan-download-icexmoon使用通过某个好看作者页面获取作者id，比如http://haokan.hao123.com/author/1682248365073087，作者id为1682248365073087。运行python -m haokan_download --uid xxx --limit xxx进行下载，uid选项必须，limit非必须，后者可以限制下载数目。等待下载结果。因为是单进程，下载速度比较慢。更新日志0.0.2增加缓存机制
Package: haokjsonapi
haokjsonapihaokjsonapiis a Python package that extends the built-injsonlibrary to support complex and range objects in JSON serialization and deserialization.InstallationYou can installhaokjsonapiusing pip:pipinstallhaokjsonapiUsageSerializing Complex Objectshaokjsonapiallows you to serialize complex and range objects to JSON easily. To use it, import thehaokjsonapimodule and use thedumpsfunction:importhaokjsonapidata=complex(1,2)json_str=haokjsonapi.dumps(data)Deserializing Complex ObjectsYou can also deserialize JSON data containing complex and range objects back into Python objects usinghaokjsonapi. Use theloadsfunction:importhaokjsonapijson_str='{"hey": {"real": 1.0, "imag": 2.0, "__extended_json_type__": "complex"}, "there": {"start": 1, "stop": 10, "step": 3, "__extended_json_type__": "range"}, "73": false}'data=haokjsonapi.loads(json_str)LicenseThis package is distributed under the MIT License. See theLICENSEfile for more details.AcknowledgmentsWe would like to thank the Python community and the creators of thejsonlibrary for their valuable contributions.
Package: hapdcensae
Notre moduleLe package $mickjagger$ a été réalisé par nous Diagana Adja, Afangnibo Kokou Jérôme, Clinton Maradonna, Houri Yasmine et Preda Ioana, étudiants en 2e année à l'ENSAE Paris. Il a été réalisé dans le cadre de notre cours de Python pour le datascientist/l'économiste. Il vise à représenter un graphe ou une carte dans le but de suivre l'évolution temporelle d'une variable donnée.Idéalement, tout devrait être fait avec $matplotlib$ mais certains modules comme $cartopy$ , $imageio$ , $networkx$ nous ont été utiles. Et nous proposons une représentation avec $folium$ en vue d'alternatives à matplotlib. Folium propose quant à lui des cartes avec une affichage semblable à celle de Google Map. Nous avons notamment une fonction qui retourne un fichier GIF enregristré dans le répertoire de travail.Par ailleurs, une autre fonction, dont nous détaillons le fonctionnement dans le notebook $example$ propose un graphe pour aller plus loint dans la représentation et dans le suivi de la série temporelle.*Le module porte le nom de $mickjagger$ en référence à une tactique utilisée par Deckard Shaw(Jason Statham) et sa soeur dans le film "Fast and Furious: Hobbs & Shaw" qui a plu à un de nos membres.µ