Saravanan666/pypi-org huggingface dataset:
Package: handyview
English|简体中文🔻Executable files|🔧Installation|📕使用说明HandyView is ahandy image viewerfor convenient viewing and comparing. It is developed with PyQt5.HandySeries:HandyViewHandyFigureHandyCrawlerHandyWriting🔧 InstallationDownload the pre-compiled executable zip file from therelease page.Unzip the fileSet HandyView as the default image viewer, so that you candouble-click the image to openHandyView.Download the handyviewer.dmg from therelease pageand install.If you fail to install the app, you may first need todisable gatekeeperfirst. You should be aware of the risk ofdisabling gatekeeper.Set HandyView as the default image viewer (usecmd+i), so that you candouble-click the image to openHandyView.I used the early version of HandyView on Ubuntu. The current version is not tested on Ubuntu and may be out-of-date.Clone this repogit clone https://github.com/xinntao/HandyView.gitHow to double click to open an imageModify the HandyView.desktop file -Exec & IconCopy the .desktop file to/usr/share/applicationsHow to change the default image viewerRight click an imageGo toProperties->Open WithChooseHandyViewFor python user, you can also launch HandyView from the command line:Clone repo and install dependent packagesgitclonehttps://github.com/xinntao/HandyView.gitcdHandyView
pipinstall-rrequirements.txtRunpython-mhandyview.handyviewer[image_path]:sparkles: FeaturesSwitch among imageswith fixed zoom ration, which is useful when comparing image details. (Unfortunately, I cannot find such a image viewer and this is the initial motivation to develop HandyView).Various comparison modes.Show basic image information,e.g., image path, shape, size, color type, zoom ration, etc.Show the position and color in the current mouse cursor.Draw rectangles on images and show the start and end position.:eyes: ScreenshotCurrent screenshotSwitch among images withfixed zoom ratioCompare images in two-column or three-column modesShow the position and color of the current mouse cursorDraw rectangles and show the start and end positionsCompile to executable programFor Windows and MacOS users, you can find the instructions of compiling the executable program fromhow-to-build.:book: Document (On the way)The basic operation (such as shortcut keys) could be found in theHelpbutton in the toolbar.:hourglass_flowing_sand: TODO listpreview modeshow zoom info for each folder (store in database)drag together in the multi-view comparison modeEditing operationSimple image edit: crop, resize, color conversion, etcDraw rectangular and enlarged the areaMake GIF easily:books: ReferencesQt5 docPyQt5 docQt Key:scroll: License and AcknowledgementThis project is released under theMIT license.IconsI have used the icons fromflaticon. The following are the source links.IconLinkIconLinkIconLinkOpenHistoryRefreshIndexIncludeExcludeCompareClear comparisonHelpMain canvasCompare canvasPreview canvasFingerprintAuto ZoomImageCropVideo(pip install pyqt5 -ihttp://mirrors.xxx.com/pypi/simple/--trusted-host mirrors.xxx.com):e-mail: ContactIf you have any question, please open an issue or emailxintao.wang@outlook.com.
Package: hangar
docstestspackageHangar is version control for tensor data. Commit, branch, merge, revert, and
collaborate in the data-defined software era.Free software: Apache 2.0 licenseWhat is Hangar?Hangar is based off the belief that too much time is spent collecting, managing,
and creating home-brewed version control systems for data. At it’s core Hangar
is designed to solve many of the same problems faced by traditional code version
control system (ie.Git), just adapted for numerical data:Time travel through the historical evolution of a dataset.Zero-cost Branching to enable exploratory analysis and collaborationCheap Merging to build datasets over time (with multiple collaborators)Completely abstracted organization and management of data files on diskAbility to only retrieve a small portion of the data (as needed) while still
maintaining complete historical recordAbility to push and pull changes directly to collaborators or a central server
(ie a truly distributed version control system)The ability of version control systems to perform these tasks for codebases is
largely taken for granted by almost every developer today; However, we are
in-fact standing on the shoulders of giants, with decades of engineering which
has resulted in these phenomenally useful tools. Now that a new era of
“Data-Defined software” is taking hold, we find there is a strong need for
analogous version control systems which are designed to handle numerical data at
large scale… Welcome to Hangar!The Hangar Workflow:Checkout Branch
          |
          ▼
 Create/Access Data
          |
          ▼
Add/Remove/Update Samples
          |
          ▼
       CommitLog Style Output:*   5254ec (master) : merge commit combining training updates and new validation samples
|\
| * 650361 (add-validation-data) : Add validation labels and image data in isolated branch
* | 5f15b4 : Add some metadata for later reference and add new training samples received after initial import
|/
*   baddba : Initial commit adding training images and labelsLearn more about what Hangar is all about athttps://hangar-py.readthedocs.io/InstallationHangar is in early alpha development release!pip install hangarDocumentationhttps://hangar-py.readthedocs.io/DevelopmentTo run the all tests run:toxNote, to combine the coverage data from all the tox environments run:Windowsset PYTEST_ADDOPTS=--cov-append
toxOtherPYTEST_ADDOPTS=--cov-append tox
Package: hangar-api
This page describes the format for the current Hangar REST API as well as general usage guidelines.&lt;br&gt; Note that all routes **not** listed here should be considered **internal**, and can change at a moment&#39;s notice. **Do not use them**.  ## Authentication and Authorization There are two ways to consume the API: Authenticated or anonymous.  ### Anonymous When using anonymous authentication, you only have access to public information, but you don&#39;t need to worry about creating and storing an API key or handing JWTs.  ### Authenticated If you need access to non-public content or actions, you need to create and use API keys. These can be created by going to the API keys page via the profile dropdown or by going to your user page and clicking on the key icon.  API keys allow you to impersonate yourself, so they should be handled like passwords. **Do not share them with anyone else!**  #### Getting and Using a JWT Once you have an API key, you need to authenticate yourself: Send a &#x60;POST&#x60; request with your API key identifier to &#x60;/api/v1/authenticate?apiKey&#x3D;yourKey&#x60;. The response will contain your JWT as well as an expiration time. Put this JWT into the &#x60;Authorization&#x60; header of every request and make sure to request a new JWT after the expiration time has passed.  Please also set a meaningful &#x60;User-Agent&#x60; header. This allows us to better identify loads and needs for potentially new endpoints.  ## Misc ### Date Formats Standard ISO types. Where possible, we use the [OpenAPI format modifier](https://swagger.io/docs/specification/data-models/data-types/#format).  ### Rate Limits and Caching The default rate limit is set at 20 requests every 5 seconds with an initial overdraft for extra leniency. Individual endpoints, such as version creation, may have stricter rate limiting.  If applicable, always cache responses. The Hangar API itself is cached by CloudFlare and internally.
Package: hangarmc-hangar
hangarmc-hangarpythonic type-hintedhangarAPI wrapperInstallationhangarmc-hangar requires python 3.9 or above# PIP3pip3installhangarmc-hangar# PIPpipinstallhangarmc-hangar# Poetrypoetryaddhangarmc-hangarAPIAll functions and classes are properly type hinted and documented with quotes/comments. Please file an issue or pull
request if any issues are found.Basic UsageExamplefromhangarmc_hangarimportHangar,HangarApiException# Create an SDK instancehangar=Hangar()try:# Get all projectsprojects=hangar.search_projects()# Output dataprint(f"Project amount:{projects.pagination.count}")forprojectinprojects.result:print(project.name)exceptHangarApiExceptionase:raiseOutput$pythonsketch.py
Projectamount:32CoolProject
NotQuests
EndBiomeFixer
...andon
Package: hangar-pil
hangar_pilHangar PIL pluginhangar_pil providesload,saveandboard_showmethods and supports jpg, jpeg, png, ppm, bmp, pgm, tif, tiff and webp filesinstallationpipinstallhangar_pilUsage - CLIExamples here are with minimal options possible, checkout the hangar documentation for all available optionsImporting a directory full of images into hangar. Hangar uses hangar_pil to figure out which file formats are supported by hangar_pil and auto infer plugin at runtime. Note that--heightand--widthare plugin specific argumentshangarimportasetimages_directory--height299--width299Exporting: This exports the sample to the current directoryhangarexportaset--formatjpg--samplesample_nameUsage - programmatically
Package: hanging-merge-requests
Hanging Merge RequestsEmojiful daily summaries of open merge requests directly in your Slack.Create you own configuration file with your team, channel and projects as shown inexample_config.json.:thumbsup: / :thumbsdown: - Has upvotes / downvotes:male_zombie: / :female_zombie: - MR is old:thought_balloon: - Has an ongoing discussion:ship: - Has more upvotes than downvotes, tests pass and is ready to be merged:white_check_mark: / :no_entry: - Can be merged / Cannot be merged:green_heart: / :broken_heart: - Tests pass / failsInstallationgit clone https://github.com/Webinterpret/hanging-merge-requests.git
cd hanging-merge-requests && pip install -e .Usagesend-notifications --config-path ../config.json --slack-hook-url $SLACK_HOOK_URL --gitlab-url $GITLAB_URL --gitlab-private-token $GITLAB_PRIVATE_TOKEN --team $TEAMDeployFirst bump version in setup.py in master branch via merge request. Afterwards push a version tag and wait.git tag 1.0.0
git push --tags
Package: hanging-threads
Deadlocks? Detect where your threads hang in Python.InstallationInstall the module with pip:pipinstallhanging_threadsIf installing withWindows, open the command line program “cmd” and typepy-mpipinstallhanging_threadsUsageMonitoring is as simple as calling the start_monitoring() function.fromhanging_threadsimportstart_monitoringmonitoring_thread=start_monitoring()You may also pass additional parameters.monitoring_thread=start_monitoring(seconds_frozen=10,test_interval=100)The values in the example are defaults. This mean the check will happen 10
times per second. If a thread is frozen for at least 10 seconds then the stack
is dumped into standard error stream. This happens again every 10 seconds
while there is no changes in the stack registered during checks. Checks are done in
intervals of 100ms.Note that it makes sense to save the thread object into variable so that you or
somebody else can stop the annoying dumps if needed.
For example, you may want to do this in the Python shell.monitoring_thread.stop()Changelogv2.0.7: Start changelog, fix crash when line number is not known.New ReleasesTo release a new version:Edit theREADME.mdfile in the Changelog Section and add the changes. Increase thehanging_threads.pyversion.gitaddREADME.rsthanging_threads.pygitcommit-m"v2.0.7"gitpushCreate a tag for the version.gittagv2.0.7gitpushoriginv2.0.7Notify solved issues about the release.Further ReadingGIL-deadlocks are not covered by thisPackage requested, so this was createdfaulthandler since Python 3.3 allows dumping stack tracesDiscussion and the source GitHub Gist
Package: hanglish
# Hanglish—It is a simple hangman game which can show the Chinese meaning.Name from Hangman-English to hanglishLeaning Engish by the simple game.—## InstallationThe game can be installed using the following command :`Shell $ pip install hanglish `Once installed the game can be played using the following command :`Shell $ hanglish `—## ContactIf you have any questions, welcome to send an email to <a class=”email” href=”mailto:xiaoh@about.me”>xiaoh@about.me</a>—## BlogWelcom to my blog:http://www.xiaoh.me—### END
Package: hangmangame
AboutThis application is a hangman game for terminal.InstallVia pippip3 install hangmangameVia githubgit clonehttps://github.com/jeffrichardchemistry/hangmangamecd hangmangamepython3 setup.py installRunIn a terminalpython3 -m hangmangameAs a modulefrom hangmangame import hangmanget_game = hangman()get_game.runHangman()
Package: hangman-game
___________.._______
    | .__________))______|
    | | / /      ||
    | |/ /       ||
    | | /        ||.-''.
    | |/         |/  _  \
    | |          ||  `/,|
    | |          (\\`_.'
    | |         .-`--'.
    | |        /Y . . Y\
    | |       // |   | \\
    | |      //  | . |  \\
    | |     ')   |   |   (`
    | |          ||'||
    | |          || ||
    | |          || ||
    | |          || ||
    | |         / | | \
    """"""""""|_`-' `-' |"""|
    |"|"""""""\ \       '"|"|
    | |        \ \        | |
    : :         \ \       : :  Hangman
    . .          `'       . .A CLI game built with PythonInstallation$pipinstallhangman-gameGetting Started$hangmanContributingBug reports and pull requests are welcome on GitHub athttps://github.com/chrisenytc/hangman. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to theContributor Covenantcode of conduct.Fork itchrisenytc/hangmanCreate your feature branch (git checkout -b my-new-feature)Commit your changes (git commit -am "Add some feature")Push to the branch (git push origin my-new-feature)Create new Pull RequestSupportIf you have any problem or suggestion please open an issuehere.LicenseCheckhere.
Package: hangman-package
Hangman PackageThe Hangman package is a Python implementation of the classic game, Hangman. It allows users to play the game by guessing letters to complete a hidden word.InstallationThe package can be installed using pip:pipinstallhangman-packageUsageThe package can be used in the following way:fromhangmanimportHangman# Create a new instance of Hangmanhangman=Hangman()# Start the gamehangman.play()You can pass a list of strings to utilize custom words:fromhangmanimportHangmanwords=["banana","orange","apple","grape","strawberry","lemon","watermelon"]# Create a new instance of Hangman with custom wordshangman=Hangman(words=words)# Start the gamehangman.play()Whenplay()is called, the game will begin and the user will be prompted to guess letters to complete the hidden word. The game ends when the user either completes the word or runs out of guesses.ContributingContributions to the Hangman package are welcome! If you encounter a bug or have a feature request, please open an issue on theGitHub repository.If you would like to contribute to the package, please fork the repository and submit a pull request with your changes.LicenseThe Hangman package is open-source software licensed under theMIT license.
Package: hangthepyman
HangThePyManClassic Hangman game with Pygame & Python touch.Implementation of the hangman game in Pygame. With the ability to ask today's word, most used & searched words and bunch of other fun options to play.Table of ContentsInstallationTODO'sRelease HistoryMetaContributingInstallationPip:pipinstallhangthepymanafter that you can run this on your command line:python-mhangthepymanSource:After cloning, head to hangthepyman directory and run:python3the_hangman.pyTODO'sAdd MenuAdd MusicComplete word functions to improve asked wordsand add Hint optionRelease History0.1.3fixed directory passings to support python 3.6+Added Main MenuAdded End Game Screen, you can continue to play now if you wish so.0.1.2Refactored path codes. There shouldn't be any path problems anymore.
Tested on Kali Linux and Win10. Hopefully works on these platforms. If you encounter any problems make sure you have pygame installed.0.1.1Added Random word function. (You now have 20k words to guess!)Now shows what was the word if u happen to lose or win.Fixed path issues.0.0.2Fixed path issue0.0.1Created the game :)MetaBerkay Girgin –@Gerile3–berkay.grgn@protonmail.comDistributed under the MIT license. SeeLICENSEfor more information.ContributingFork it (https://github.com/Gerile3/HangThePyMan/fork)Create your feature branch (git checkout -b feature/fooBar)Commit your changes (git commit -am 'Add some fooBar')Push to the branch (git push origin feature/fooBar)Create a new Pull Request
Package: hangulize
Hangulize transcribes a loanword to Hangul(the Korean alphabet).>>> print hangulize(u"Giro d'Italia", 'ita')
지로 디탈리아
>>> print hangulize(u'オオサカ', 'jpn')
오사카
>>> print hangulize(u'przyjaciół', 'pol')
프시야치우
>>> print hangulize(u'Алексеев', 'rus')
알렉세예프
>>> print hangulize(u'კახაბერ', 'kat.narrow')
까하베르
>>> print hangulize(u'Ἡρακλῆς', 'grc')
헤라클레스LinksTry OnlineGitHub repositorydevelopment version
Package: hangul-korean
Packagehangul-koreanHangul is the alphabet for the Korean language.hangul-koreanis a package
which currently contains a module for segmenting words in written Korean texts.Segmentation of Korean Words 한국어 낱말 분절Written Korean texts do employ white space characters. However, more often than not,
Korean words occur in a text concatenated immediately to adjacent words without
an intervening space character. This low degree of separation of words from
each other in writing is due somewhat to an abundance of what linguists call "endoclitics"
in the language.As the language has been subjected to principled and rigorous study for a few
decades, the issue of which strings of sounds, or letters, are words and which are
not, has been settled among a small group of selected linguists. This kind of
advancement has not been propagated to the general public yet, and nlp
engineers working on Korean cannot but make do with whatever inconsistent
grammars they happen to have access to. Thus, a major source of difficulty in
developing competent Korean text processors has been, and still is, the notion of a word
as the smallest syntactic unit.TheWordSegmenterclassThe moduletokenizerin this package defines the classWordSegmenter.
It has, among other things, the following methods:init(modelFile, word2idxFile)infile(fileName)outfile(fileName)inputAsString(aStr)doSegment()segmentedOutput()After creating a WordSegmenter object, say wseg, give it a file or a string and then
issue wseg.doSegment(). The word-segmented text will be in a file (if specified
with outfile()) or in an instance variable accessible via segmentedOutput().Typical usefromhangul.tokenizerimportWordSegmenterwsg=WordSegmenter()aPassage="어휴쟤가 왜저래? 정말우스워죽겠네"# 문자열을 함수 inputAsString의wsg.inputAsString(aPassage)# 매개변인으로 주거나# inFile = "tobesegmented"        # 파일 안에 담긴 글을 낱말분절할 때에는# wsg.infile(inFile)              # 그 파일 이름을 함수 infile에 넘긴다.# wsg.outfile("output.txt")wsg.doSegment()# infile()이 사용되면 낱말 분절 된 글이 적힌 파일이 생겨 난다.# 이 파일은 함수 outfile()로 지정될 수 있고 디폴트 값은 "segmented_yyddd_hhmm.txt"이다.# with open("segmented_yyddd_hhmm.txt", "r") as f:#   lines = f.readlines()# for aLine in lines:#   print(aLine)# inputAsString()이 사용된 경우에는print(wsg.segmentedOutput)Forms of a verb are not analyzed into morphsThe lexical category verb is inflected in hundreds (or thousands) of ways in
the language and it is the only category that inflects. We do not analyze
a form of a verb into its morphs. Such an analysis is best reserved for
a separate component of inflectional morphology and is certainly required in
order to do syntactic analyses of various kinds.Slim size of the modelThe model this package uses is of a very compact size: it is merely ten
megabytes long.Forthcoming in the packageThe next version of this package might well contain a POS tagger. A higher
F-measure of the word segmentation system (which currently is 0.970
while that of the open access model is somewhat lower) is something we would
like to see as well.Status of papers that describe this packageA draft is to be submitted to a journal, which describes the way the model for
this package is obtained.
Package: hangul-names
Korean script (Hangul) has used various notations over the years to be
converted to latin (Roman) characters. The currently used official system for
normal words isRevised Romanization (RR), which eliminated ambiguity in
the old systemMcCune–Reischauer (McR). McR uses accented characters to
denote differences in pronounciation. Accented characters were commonly not used
in internet communications as they are hard to type and/or not well supported in
fonts. Over the years font support has improved tremendously, but keyboard
support is still flunky.The lack of accents caused ambiguity in romanized words and people had to guess
from the context what the writer meant (yoandyŏwere both spelled asyo). The Revised Romanization system uses plain characters from theASCIIrange to denote the differences in pronounciation for example through the use of
multi-letter vowels (yeoinstead ofyŏ).However, for people’s names (famous or not), the rules are bent, because people
are used to a certain romanization of their name and have traditionally not
strictly adhered to one system or another. The classical example is that the
surname김is always romanized toKim, whereas RR dictatesGim.This library contains a set of rules that can be implemented to deviate from RR
notation using transliteration definitions and succession rules. It was inspired
by the author’s work onDramawiki, which uses a documented set of prefences,
so that people with the same name in Hangul script, end up romanized exactly the
same. Since Dramawiki aims to support English readers it didn’t make sense to
create pages with titles written in Hangul.
Package: hang-up-an-autumn-moon
Hang up an Autumn MoonI almost forgot
To hang up an autumn moon
Over the mountain.
- Richard Wrighthang-up-an-autumn-moonis an oracular CLI based on haiku by Richard Wright.
This project is currently beta-ish.Web version here:https://hangupanautumnmoon.com/RequiresPython 3InstallationUsing Pip$pipinstallhang-up-an-autumn-moonManual$gitclonehttps://github.com/talnoznisky/hang-up-an-autumn-moon
$cdhang-up-an-autumn-moon
$pythonsetup.pyinstallAuthorstal.noznisky@gmail.comLicenseThis project is licensed under the MIT License - see the LICENSE.md file for detailsAcknowledgments'Haiku: This Other World' by Richard WrightYoshinobu Hakatuni, EditorAnton Semjenov'srandomart implementationGuidebookhang-up-an-autumn moon is an oracular CLI based on the late haiku of Richard WrightQuick start:
Runhang-up-an-autumn-moon oracleto receive a spread of cards pseudo-randomly
generated from the haiku. Select a card to recieve your oracle.Use the --sparrow-mode flag to limit the oracle to haiku about sparrows.Methodology:
When summoned, the oracle randomly selects three haiku from an internal corpus
of haiku by Richard Wright. Then the oracle creates a little doodle of each haiku
by passing segment of the text to an algorithmic art generator. The querent gets
a three-card spread of the doodles and must select one. The oracle returns the card's
full haiku and a judgment to help frame the querent's insight into the haiku.Source material:
The oracle is based on a corpus of haiku by Richard Wright. Each haiku is attributed
with a mode, either sparrow or intensifier, and a pair of judgments. The modes are
similar to the major and minor arcana of the Tarot. Sparrow cards represent
higher-order considerations and are actually all about sparrows. Intensifier cards
speak to day-by-day concerns and their haikus tend to describe the intensification
of one natural element by another. The judgments also vary by mode: sparrow cards
offer single subjective nouns for framing the haiku; intensifier cards offer very
brief imperatives to help the querent ideate a course of action.