Saravanan666/pypi-org huggingface dataset:
Package: hsrcard
HSRCardAdd-on module for generating Honkai Star Rail character cards in EnkaNetwork styleEnkaNetworkMiHoMoStarRailCardPython 3.9Pillow 10.0.1cachetools 5.3.1honkairail 1.1.0Installation:pip install hsrcardLaunch:# Import necessary modulesfromhsrcardimporthsrimportasyncio# Define the main function that fetches information about a player using a specified UIDasyncdefmain(uid):asyncwithhsr.HonkaiCard()ashmhm:result=awaithmhm.creat(uid)print(result)asyncio.run(main(700649319))print(result)Output explanation:settings:uid=800293940 - UID (unique identifier) of the player is 800293940.lang='en' - the game language is set to English.hide=False - player profile information is not hidden.save=True - information saving setting is enabled.background=None - no background image.player:uid='700649319' - player's UID is 700649319.nickname='Korzzex' - player's nickname is "Korzzex".level=69 - player's level is 69.avatar - information about the player's avatar:id='201212' - avatar identifier.name='Jingliu' - avatar name is "Jingliu".icon - URL of the avatar image.signature="----".friend_count=39 - the player has 39 friends.world_level=6 - player's world level is 6.card (list of player's character cards):Card(id='1212', name='Jingliu', rarity=5, card=<PIL.Image.Image ...): Information about the "Jingliu" character card:id='1212' - card identifier.name='Jingliu' - character name.rarity=5 - card rarity is 5.card - card image.(similar entries for other character cards).name - list of character names separated by commas: "Jingliu, Silver Wolf, Seele, Luocha".id - list of character card identifiers separated by commas: "1212, 1006, 1102, 1203".ExampleExample Splash ArtExample User ArtLanguages SupportedLanguegeCodeLanguegeCodeLanguegeCodeEnglishenрусскийruChinesechsTiếng ViệtviไทยthTaiwanchtportuguêspt한국어krdeutschde日本語jp中文zhespañoles中文zhIndonesianidfrançaisfrУкраїнськаuaThank the author for the code:Patreon:https://www.patreon.com/deviantapi
Package: hs-rpc
# hello 环思
# 2019/8/1 增加了g.user的赋值操作
# 2019/8/2 增加了g.user的赋值操作,并兼容原来user_id的赋值
# 2019/8/13 token装饰器认证错误从exception改为Unauthorized，返回状态码从500改为401
# 2019/12/18 增加重试机制
Package: hss
Heroku-Streamlit-Setup (hss)This is a simple cli (command line interface) library to help you put your streamlit webapp in production.I'll soon write a article on Medium explaining it (:If you have any problem with it, please open an issue and I'll get back to you.Install with pipThis lib is hosted on pypi.orgpip install hssWhy is this package important and what do I need to use it?From what I've seen there's not lots of documentation about putting streamlit webapps into production, trust me I've suffered. And if this is your first experience with Heroku, this will be very very helpfull.You just need a FreeHerokuAccount, a Github account and aStreamlitwebapp you want to share with the world.The simplest way to use itAfter the requirements.txt, Procfile and the setup.sh file are created, upload them into your project's repositoryCreate a new app using Heroku and selectconnect to Githuband select your desired repo and click DeployDocumentation$ hss --help


Usage:
    hss [options] [<appname>] [<path>] [<email>]

Arguments:
    <appname>             The app filename (with or without .py).
    <path>                The path to the directory containing the application
                          files for which a requirements file should be
                          generated (defaults to the current working
                          directory).
    <email>               The email associated with your Heroku account.

Options:
    --no-reqs             Don't make a requirements file
    --no-setup            Don't make a setup.sh file
    --no-proc             Don't make a Procfile
    --force               Substitute the current requirements.txt.
Package: hssp
HSSP 爬虫框架一个基于python asyncio开发的爬虫框架作者@昊色居士特性使用scrapy框架的选择器parsel作为内置网页选择器使用python async异步爬取基于tenacity的自动异常重试基于fake-useragent的可选随机UA支持爬取结束自动导出至json、xml、csv、xls文件内置pyppeteer框架支持动态爬取支持以Item方式爬取安装使用 pip 安装 hssppipinstallhssp路线图完善使用pyppeteer对网页内容进行下载（实现部分功能，但存在问题）增加基于apscheduler进行定时爬取爬取结束自动导出至数据库完善使用文档增加更多示例支持如需支持，请发送电子邮件至xhrtxh@gmail.com。开发测试项目使用pdm管理依赖，需先安装pdmpipinstallpdmpdmsync技术栈异步网络请求 httpx网页选择器 parsel日志打印 loguru异常重试 tenacity随机UA fake-useragent>动态爬取 pyppeteer数据处理 pandas、orjson、aiofiles致谢基于asyncio和aiohttp的异步爬虫框架scrapy爬虫框架
Package: hstaxe
HSTaXeHSTaXe is a Python package to provide a uniform process to perform spectral
extraction for the Hubble Space Telescope. HSTaXe supports all slitless
spectroscopy modes provided by the Wide Field Camera 3 (WFC3) and Advanced
Camera for Surveys (ACS).The corehstaxeis written in ANSI C and is highly cross-platform by
leveragingCFITSIO,GSL, andWCSLIB, which have been successfully
employed under Linux, Solaris, and MacOS X.HSTaXe is the successor to aXe, a similar package written on PyRAF/IRAF.QuickstartTo install the latest release ofhstaxe, we recommend the following steps::conda create --name hstaxe-env "python>=3.8, <3.11"
conda activate hstaxe-env
conda install gsl cfitsio make automake autoconf libtool pkg-config -y
conda install wcstools -c https://conda.anaconda.org/conda-forge/ --override-channels -y
pip install hstaxe --no-cache-dirFor additional installation instructions, including instructions on installing older
or development versions of hstaxe, visit our full documentation:https://hstaxe.readthedocs.io/en/latest/hstaxe/installing.htmlExample notebooks can also be found on our full documentation:https://hstaxe.readthedocs.io/en/latest/hstaxe/examples.htmlTo run the notebooks, you will need to install jupyter::pip install jupyter
Package: hstgrism
HSTGRISMWebpage:https://bkornpob.github.io/hstgrism/8.5.0contamination.py: introducing 'configuration'wfc3uvisg280.pysub2full.py8.4.0contamination.pygrismapcorr.py added min and max wavelength columns to the tables in order to force the code performing nearest neighbour extrapolation.8.3.0headersummary.py8.2.0WFC3IRG141 is introduced.8.1.0ObjectMask is introduced.
Package: hstk
Hammerspace CLI tool and python toolkit (hstk)Supports Hammerspace release 4.6.0 and later.InstallInstalling with pipThe easiest way to install the hs command + hstk library is with pip.  You may
need to use your package manager (yum/apt/etc) to install the python-pip
package.  Once you have the 'pip' command, decide if you want to install for
all users in the system libraries or for just your account.As your user (installs in your account only) or using sudo/root (installs in system directories):$ pip install hstkThis will pull down the needed dependencies as well.  This does not install the
bash completions, seeshell completionspython click dependencyThere is a dependency on the click python package.  It is known to work with
click version 6.7 that comes from the EPEL repo for centos 7.  The easiest
thing to do is to grab that RPM.  If you have EPEL repos enabled:
$ yum install python2-clickIf not, you can build your own RPM of click... This example grabs an older version
of click, if you try a newer version and it doesn't work, plese file a bug athttps://github.com/hammer-space/hstk$ yum install rpm-build
$ wgethttps://github.com/pallets/click/archive/6.7.tar.gz$ tar xzvf 6.7.tar.gz
$ cd click-6.7/
$ python2 setup.py bdist_rpm
$ ls -l dist/click-6.7-1.noarch.rpm
-rw-r----- 1 user group 120312 Dec 18 19:59 dist/click-6.7-1.noarch.rpmbuilding hstk rpm$ git clonehttps://github.com/hammer-space/hstk.git$ cd hstk
$ python2 setup.py bdist_rpm
$ ls -l dist/hstk-4.1.0.1-1.noarch.rpm
-rw-r----- 1 root root 20652 Dec 18 20:01 dist/hstk-4.1.0.1-1.noarch.rpmshell completionThe above pip and rpm install methods don't configure shell completion.  The
short version, for bash, to enable system wide completions, add this file
$ cat /etc/bash_completion.d/hs_bash_completion
eval "$(LANG=en_US.utf8 _HS_COMPLETE=source hs)"More details on how to enable shell completion are available from theClick ProjectInstalling on a system that is not connected to the internetCentos8Install base python3 RPMs on target system
python3 python3-pip python3-setuptoolsmove on to 'Collect and install wheel files for any Distro'Collect and install wheel files for any DistroOn an internet connected system, generate the pip requirements and download all
needd packages.
python3 -m hstk_for_req
source hstk_for_req/bin/activate
pip3 install hstk
mkdir /tmp/hstk_pkgs
cd /tmp/hstk_pkgs
pip3 freeze > requirements.txtNote that you may need to remove some old packages installed by RPM for
download to work, I removed the 'gpg==' and 'rpm==' lines from the generated
requirements.txtpip3 download -r requirements.txtCopy that directory over to your offline system and (assuming you are going to
install into a venv)python3 -m venv hstk
source hstk/bin/activate
cd /path/to/hstk_pkgs       # copied over to this node
pip3 install *.whl
Package: hstream
HStreamEasiest interactive python web app using htmx and semantic htmlUsagepip install hstream# main.py

from hstream import hs

visitor_name = hs.text_input("What's your name?", default_value = "friend")

hs.markdown(f"Welcome {visitor_name}")python -m hstream main.pyor here's a fullerexampleExamplesSelect demoStatic filesThemingMoreMotivationLove Streamlit but:impossible to customise beyond PoC phasehard to reason about when extending and deployingnon-standard approach doesn't play nicely with existing ecosystemsH-(html)-Stream is built with semantic html, FastApi and htmx to provide a fast and simple framework for rapid web app development that follows traditional frontend/server architecture (or at least follow it closer than Streamlit).Featureslive server reload on file change (through univorn)semantic html and basic html manipulation from within scriptbasic components - see belowswap stylesheetcomplex html manipulation from within script (setting attributes)plotly plot supportselect componentmulti select componentauto ssl certs for easy deploymentexample component architecturereload browser on code changeBugskey handling is a little inconsistent and it's not clear to the user when they need to use keys - meaning if you run into reloading / rending issues provide all you components with uniquekeyparameterComponentshs.markdownhs.text_inpuths.checkboxhs.button: renders and evaluates to true if the user click the button (still a little unsure exactly how this should be implemented as evaluating to true doesn't quite capture the ideal of pressing a button)hs.slider: numeric slider inpuths.plot: output matplotlib figures to the userhs.image: display an imagehs.html: allows more complex formatting, for example:a html formfrom hstream import hs
with hs.html('form'):
    hs.text_input('Name')
    hs.checkbox('Would you like to be my friend?')a card provided bymvp.cssfrom hstream import hs
with hs.html('section'):
    with hs.html('aside'):
        hs.markdown('We can make some beautiful pages very simply')
    with hs.html('aside'):
        hs.markdown('For example these responsive cards, which respond to screen sizes')
    with hs.html('aside'):
        hs.markdown('Thanks to: ')
        with hs.html('a', href='https://andybrewer.github.io/mvp/'):
            hs.markdown('mvp.css')hs.stylesheet_href = https://unpkg.com/@vladocar/basic.css@1.0.3/css/basic.cssto use a different classless css frameworkhs.app: to directly access the FastAPI instance if you want to extend it like a normal webserver (i.e. add custom paths, static files ect.)TechnologiesBig thanks to the following libraries in particularStreamlithtmxYattagpico cssMVP.cssFastAPIuvicorn
Package: hstreamdb
hstreamdb-pyPython client forHStreamDBInstallationCreate a new virtual environment if you prefer to use isolated environments:virtualenv-ppython3./venvsource./venv/bin/activateInstall hstreamdb:pipinstallhstreamdbExamplesHere's a basic example (For more examples and api documentation, see:https://hstreamdb.github.io/hstreamdb-py/) :$python>>>fromhstreamdbimportinsecure_client>>>asyncdefmain():...asyncwithawaitinsecure_client(host="127.0.0.1",port=6570)asclient:...streams=awaitclient.list_streams()...print(list(streams))...>>>importasyncio>>>asyncio.run(main())
Package: hstsparser
HSTS ParserHSTS Parser is a simple tool to parse Firefox and Chrome's HSTS databases into actually helpful forensic artifacts! You can read more about the research behind this tool and potential uses for it over onmy blog!InstallationHSTS Parser can be installed via pip, or as a native executable.From PyPiIf you already have Python installed, you can install HSTS Parser using pip.pipinstallhstsparserOn FedoraHSTS Parser is available through Fedora COPR for Fedora 38+.dnfcoprenablethebeanogamer/hstsparser
dnfinstallhstsparserOn WindowsWindows binaries are published by GitHub Actions CI for each release of HSTS Parser. You can download these on thereleases page.UsageAll of the below documentation is written for the Python version rather than the standalone executable, but the commands will be the same.$hstsparser-h
usage:hstsparser[-h][-wWORDLIST][--csvCSV](--firefox|--chrome)FILE

ProcessHSTSdatabases

positionalarguments:FILEThepathtothedatabasetobeprocessed

optionalarguments:-h,--helpshowthishelpmessageandexit-wWORDLISTThepathtothedatabasetobeprocessed--csvCSVOutputtoaCSVfile--firefoxProcessaFirefoxdatabase--chromeProcessaChromedatabaseExamplesFirefoxhstsparser--firefoxSiteSecurityServiceState.txtChromehstsparser--chromeTransportSecurityChrome with Wordlisthstsparser-wwordlist.txt--chromeTransportSecurityScreenshotsFirefoxChrome with WordlistLinksMy Blog PostMDN - HSTSChromium - HSTS
Package: hstspreload
hstspreloadChromium HSTS Preload list as a Python package.Install viapython -m pip install hstspreloadSeehttps://hstspreload.orgfor more information regarding the list itself.APIThe package provides a single function:in_hsts_preload()which takes an
IDNA-encoded host and returns eitherTrueorFalseregarding whether
that host should be only accessed via HTTPS.ChangelogThis package is built entirely by an automated script running once a month.
If you need a release sooner of the package please reach out and I'll trigger a release manually.This script gathers the HSTS Preload list by monitoringthis file in the Chromium repository. Changes to the HSTS Preload list can be seen in the history of that file.LicenseBSD-3
Package: hstt
hstt - HTTP stress testing toolParamsusage: hstt [-h] [-n <num>] [-c <num>] [--rps <num>] [-d <sec>] [-t <sec>]
            [-H [<header> [<header> ...]]] [-b <body>] [-m <method>] [--debug]
            [--insecure] [--chrome] [--no-reuse] [--no-tui] [--version]
            url

HTTP stress testing tool (hstt)

positional arguments:
  url                target URL

optional arguments:
  -h, --help         show this help message and exit
  -n <num>           Total number of requests to perform (default: 10)
  -c <num>           Number of concurrent requests (default: 1)
  --rps <num>        Target request per second (still limited by -c)
  -d <sec>           Total duration limit (default: 30)
  -t <sec>           The timeout for each request (default: 30)
  -H [<header> ...]  A request header to be sent
  -b <body>          A request body to be sent
  -m <method>        An HTTP request method for each request (default: GET)
  --debug            Run in debug mode
  --insecure         Skip TLS verification
  --chrome           Use Chrome User-Agent header
  --no-reuse         New connection for each request
  --no-tui           Not show curses UI
  --version          Show version numberOutput$ hstt https://example.com -n 3000 -c 10 -t 0.3

## HSTT results
Concurrency:           10 (reusing connection per worker)
Time taken for tests:  17.22 seconds
Complete requests:     2997
Failed requests:       3
Requests per second:   174.21 [#/sec] (mean)
Time per request:      51.818 [ms] (mean)
Time per request:      5.746 [ms] (mean, across all concurrent requests)

## Statuses
200       :   2997 ( 99.90%)
timeout   :      3 (  0.10%)

## Timings (ms)
             Mean    Min    50%    80%    95%    99%    Max
Connect:      171    145    167    180    208    211    240
TTFB:          49     20     50     50     60     63     76
Total:         52     35     50     53     60    200    290
Package: hsutilities
Hostsharing UtilitiesA python package with some useful functions for working in a webspace or managed server ofHostsharing eG.WhyWe have multiple uses for such functions, and it is useful to have them in one place.Getting startedInstalling:pip install hsutilitiesA simple example:fromhsutilitiesimportdomainsashsdomainsfromhsutilitiesimportusersashsusersfromhsutilitiesimportadminashsadminpac=hsusers.get_current_pac()domains=hsdomains.get_domains_of_user(pac)api=hsadmin.get_api(pac)api.domain.add(set={'name':'example.org','user':'xyz00-example'})
Package: hsvpicker
hsvpickerFinding HSV bounding values for tracking/masking an objectHow to find HSV bounding values to track or mask an object?.This is the most common question as stated in opencv documentation. By using the hsvpicker we get a hsv bounding values by simply calling a function.Overview:We can get lower and upper bounding hsv values by clicking the left button of a mouse on an image for which object we want to track or mask.Usage:Getting it:To download hsvpicker, either fork this github repo or simply use Pypi via pip.$pipinstallhsvpickerUsing it:STEP 1: import hsvpicker packagefromhsvpicker.hsvimportHSVSTEP 2: Create an objectbound=HSV('pass the image url')STEP 3: Getting a HSV valuebound.get_value()Image will display here, you will choose color by simply double clicking the mouse's left button on an image and then it finds hsv values of the respected color .(i.e The color which we want to track or mask). PRESSqto quit the window.STEP 4 : Getting a bounding valueslower_bound,upper_bound=bound.get_boundings(h=20,s=50,v=60)You can fine tune color boundings by using h,s and v. Default values of h,s, and v are 20,50,60 respectively. This function returns numpy.ndarray.
Package: ht
ContentsWhat is ht?InstallationDocumentationLatest source codeBug reportsLicense informationCitationWhat is ht?ht is open-source software for engineers and technicians working in the
fields of chemical or mechanical engineering. It includes modules
for various heat transfer functions.Among the tasks this library can be used for are:Sizing a Shell & Tube heat exchanger using any of the Zukauskas, ESDU 73031, or Bell methodsCalculating pressure drop in a Hairpin heat exchangerCalculating heat loss of objects, including insulated objectsCalculating heat loss from buried pipePerforming radiative heat transfer calculationsConderser and Reboiler ratingDetailed heat exchanger evaluation; finding fouling factorsHeat transfer in packed bedsSizing a Plate and Frame heat exchangerModeling an Air CoolerSupercritical CO2 or water heat transferThe ht library depends on the SciPy library to provide numerical constants,
interpolation, integration, and numerical solving functionality. ht runs on
all operating systems which support Python, is quick to install, and is free
of charge. ht is designed to be easy to use while still providing powerful
functionality. If you need to perform some heat transfer calculations, give
ht a try.InstallationGet the latest version of ht fromhttps://pypi.python.org/pypi/ht/If you have an installation of Python with pip, simple install it with:$ pip install htAlternatively, if you are usingcondaas your package management, you can simply
install ht in your environment fromconda-forgechannel with:$ conda install -c conda-forge htTo get the git version, run:$ git clone git://github.com/CalebBell/ht.gitDocumentationht’s documentation is available on the web:https://ht.readthedocs.io/en/latest/index.htmlLatest source codeThe latest development version of ht’s sources can be obtained athttps://github.com/CalebBell/htBug reportsTo report bugs, please use the ht’s Bug Tracker at:https://github.com/CalebBell/ht/issuesLicense informationht is MIT licensed. SeeLICENSE.txtfor information on the terms &
conditions for usage of this software, and a DISCLAIMER OF ALL WARRANTIES.Although not required by the ht license, if it is convenient for you,
please cite ht if used in your work. Please also consider contributing
any changes you make back, such that they may be incorporated into the
main library and all of us will benefit from them.CitationTo cite ht in publications use:Caleb Bell and Contributors (2016-2023). ht: Heat transfer component of Chemical Engineering Design Library (ChEDL)
https://github.com/CalebBell/ht.
Package: ht0740
HT0740 40V / 10A Switch BreakoutBuild StatusCoverage
StatusPyPi PackagePython
VersionsInstallingStable library from PyPi:Just runsudo pip install ht0740Latest/development library from GitHub:git clonehttps://github.com/pimoroni/ht0740-pythoncdht0740-pythonsudo ./install.sh0.0.2Port to new i2cdevice>=0.0.6 set/get API0.0.1Initial Release
Package: htables
HTables is a library for storing string-to-string mapping objects in a
database. Two backends are supported so far:~htables.PostgresqlDBand~htables.SqliteDB.>>> import htables
>>> db = htables.SqliteDB(':memory:')
>>> with db.session() as dbs:
...     dbs['tweet'].create_table()
...     dbs['tweet'].new(text="Hello world!")
...     dbs.commit()Tables are collections of Rows. A row is basically a dictionary with an
extraidproperty. Its keys and values must be strings.>>> with db.session() as dbs:
...     tweet = dbs['tweet'].find_first()
...     tweet['author'] = '1337 h4x0r'
...     tweet.save()
...     dbs.commit()There are many ways of retrieving rows. The following all fetch the
same record:>>> with db.session() as dbs:
...     tweet_table = dbs['tweet']
...     [tweet] = list(tweet_table.find())
...     [tweet] = list(tweet_table.find(author='1337 h4x0r'))
...     tweet = tweet_table.find_first()
...     tweet = tweet_table.find_single()
...     tweet = tweet_table.get(1)Linksdocumentationsource code
Package: htail
Tail over HTTP(S).Use casesWhen access to log file(s) is shared via HTTP, or when only the
last part of a large file should be retrieved without transfering it all.Look & feelMimics GNUtail(at least as of GNU coreutils 8.21), with hints ofcurlwhere needed (ex: CA certificates).Differences:There is no line notion, only bytes, therefor there is no-nnor–max-unchanged-statsoptions.
Fetches 1024 bytes by default, instead of 10 lines.Follow is obviously done by name, not by descriptor.File accesses being more expensive than with typical tail, quadratic delay
is available by specifying–sleep-max-interval.
Package: htamd
HT (AMD Intel System)A package that allows to track the x, y, z locations of specific points from 0-20 in your hands. (AMD Intel System)Key Features•How To Use•Install•Key FeaturesTracks your handThe hand connections or lines can be show or hiddenWorks for almost all computersQuick and not much lagSimple code that is easy to understand and customize if neededHow To UseThe following code gets the x, y locations of the index finger tip and moves the mouse accordinglyimporthtamdimportcv2cap=cv2.VideoCapture(0)handt=htamd.ht()while1:success,img=cap.read()img=handt.findhand(img,show_lines=False)lml=handt.findpos()iflen(lml)!=0:print(lml[8])cv2.imshow("Box",img)cv2.waitKey(1)InstallInstall with pip$pipinstallhtamdLicenseMIThttp://advaith.athenaserv.com· 
GitHub@advaith-22· 
Twitter@_Advaith_S
Package: htbapi
htbapiAn unofficial API Wrapper for Hackthebox (and more!)Wanna know more? Wanna know what functions exist?
Go to theWikiHow to use the APIYou can:Install the libraryJust keep it in your working directory.Installing - Way 1:Clone this repositoryDopip3 install .orpip install .whilst in the repo dir to install.Installing - Way 2:Dopip3 install htbapiorpip install htbapito install.Usage:You have 4 sub-libraries you can import.htbapi.core,htbapi.machines,htbapi.challengesandhtbapi.socialIf you wanna know what functions you can use, go to theWiki.If you really like my work and you have some spare money to spend, why notdonate on PayPal?