Saravanan666/pypi-org huggingface dataset:
Package: whinesnips
{}whinesnipswhine's nips mmmWebsite:whsn.whinyaan.xyzGithub:github.com/whinee/whinesnipsPyPi:pypi.org/project/whinesnipsTo be updated, be sure to watch this repository and join theDiscord Support Server (!2)for this and other projects.Interested in commissioning projects? Inquire through Discord(whinyaan) or through e-mail(whinyaan@protonmail.com). Price starts at 30 USD.Table of ContentsImportantWhat’s this?Supported OSesUsageGetting StartedKnown Issues and LimitationsContributionsLicenseMITAttributionMIT LogoIconsFurther ReadingImportantwhinesnips is still in Development Stage.Using the library at this stage is not recommended.What’s this?whinesnips is a python library ― that is named to sound like "whine's nips" (nipples) ― that I made in order to separate and unify all of my python utility functions in a singular repository.Supported OSesSupposedly every operating system that supports running python, more preferably natively.UsageThis section is not yet complete.Getting StartedVisitthis linkto get started. The instructions will get you a copy of the project up and running on your local machine for development and testing purposes.Known Issues and LimitationsThere is no know issues and limitations for this library at the moment.ContributionsFor contributing in whinesnips, visitthis linkLicenseMITCopyright for portions of projectwhinesnipsare held by [whi_ne, Github accountwhineeowner, 2021-2022] as part of projectMangDL, and by [whi_ne, Github accountwhineeowner, 2022] as part of projectYAMHL.All other copyright for projectwhinesnipsare held by [Github
AccountwhineeOwner, 2023].Check thelicensefor more details.AttributionMIT LogoMassachusetts Institute of Technology(vectorized byMysid, modified bywhi~nyaan!), Public domain, via Wikimedia CommonsIconsExclamation Mark,Code Fork,Star,Group,Code, andDiscordicons byIcons8NOTE:If a reference or source material is not attributed properly or not at all, please kindly message me at Discord:whinyaanor create a pull request so I can properly give credit to their respective authors.Further ReadingFrequently Asked QuestionsLicense AgreementLatest Documentation (0.0.x.x)All DocumentationChangelogLatest BumpLatest CommitNotes for whi~nyaan!
Package: whiplash
Python API Client for the whiplash APIFree software: ISC licenseDocumentation:https://whiplash.readthedocs.org.FeaturesAdd ItemsManage OrdersManage Ship NoticesInstallationpip install whiplashExampleCreate a new Item:from whiplash import Whiplash

# Not for production
whiplash = Whiplash('Hc2BHTn3bcrwyPooyYTP', test=True)

product1 = whiplash.item.create(
    title='Apple iPhone 5',
    sku='A1429',
    group_id='iPhone 5',
)
print product1.title
print product1.id
print product1.currencyHistory0.1.0 (2015-01-11)First release on PyPI.
Package: whippersnappy
WhipperSnapPyWhipperSnapPY is a small Python OpenGL program to render FreeSurfer and
FastSurfer surface models and color overlays and generate screen shots.Contents:Capture 4x4 surface plots (front & back, left and right)OpenGL window for interactive visualizationNote, that currently no off-screen rendering is supported. Even in snap
mode an invisible window will be created to render the openGL output
and capture the contents to an image. In order to run this on a headless
server, inside Docker, or via ssh we recommend to install xvfb and runapt update && apt install -y python3 python3-pip xvfb
pip3 install pyopengl glfw pillow numpy pyrr PyQt5==5.15.6
pip3 install .
xvfb-run whippersnap ...Installation:TheWhipperSnapPypackage can be installed from this repository using:python3 -m pip install .Usage:Local:After installing the Python package, the whippersnap program can be run using
the installed command line tool such as in the following example:whippersnap -lh $OVERLAY_DIR/$LH_OVERLAY_FILE \
            -rh $OVERLAY_DIR/$RH_OVERLAY_FILE \
            -sd $SURF_SUBJECT_DIR \
            -o $OUTPUT_DIR/whippersnappy_image.png \Note that adding the--interactiveflag will start an interactive GUI that
includes a visualization of one hemisphere side and a simple application through
which color threshold values can be configured.Docker:the whippersnap program can be run within a docker container to capture
a snapshot by building the provided Docker image and running a container as
follows:docker build --rm=true -t whippersnappy -f ./Dockerfile .docker run --rm --init --name my_whippersnappy -v $SURF_SUBJECT_DIR:/surf_subject_dir \
                                               -v $OVERLAY_DIR:/overlay_dir \
                                               -v $OUTPUT_DIR:/output_dir \
                                               --user $(id -u):$(id -g) whippersnappy:latest \
                                               --lh_overlay /overlay_dir/$LH_OVERLAY_FILE \
                                               --rh_overlay /overlay_dir/$RH_OVERLAY_FILE \
                                               --sdir /surf_subject_dir \
                                               --output_path /output_dir/whippersnappy_image.pngIn this example:$SURF_SUBJECT_DIRcontains the surface files,$OVERLAY_DIRcontains the overlays to be loaded on to the surfaces,$OUTPUT_DIRis the local output directory in which the snapshot will be saved, and${LH/RH}_OVERLAY_FILEpoint to the specific overlay files to load.Note:The--initflag is needed for thexvfb-runtool to be used correctly.Links:We also invite you to check out our lab webpage athttps://deep-mi.org
Package: whippet
Usemaketargets to execute git hooks. Inspired byhusky.RationaleWhen working onNode.jsprojects, I liked the simplicity of setting up git hooks using husky. Since I failed to find a similar tool in python ecosystem, I decided to write one myself.As far as I know, there is no standard equivalent tonpm scriptsin python, so I chose to rely on make which seems to be a popular way to organise project-related tasks in the python world.NoteDevelopment follows my needs at work, which means whippet might be a bit light on features. Feel free to make a suggestion if you’re missing something.InstallationWhippet is available as aPyPI package. Use a tool that can install packages from it, like for instancepip.$pipinstallwhippetUsageInstall hooksOnce whippet is installed, it is used by invokingwhippetexecutable in the directory where you wish to install hooks. Whippet checks if that directory (or its ancestor) contains a.gitdirectory and offers to install hooks into it.$cddemo$whippetwhippet-Areyousureyouwanttoinstallhooksin/home/bpp/demo/.git?[Y/n]ySetup targetWhippet hooks are scripts that check for the existence of make targets with the same name as git hooks. If such a target exists, the script executes it. Let’s takepre-commitas an example. Once whippet hooks are installed, we simply addpre-committarget to the Makefile like so:pre-commit:@echo"Whippet says: Woof!"Then the target will be executed onpre-commit:$gitcommit-m'Testing whippet'pre-commitWhippetsays:Woof![masterd654d33]Bar1filechanged,12insertions(+)createmode100644Makefile$Uninstall hooksIf you had enough and want to remove whippet git hooks invokewhippetand passuninstallcommand$whippetuninstallwhippet-Areyousureyouwanttouninstallhooksin/home/bpp/demo/.git?[Y/n]yNon-interactiveTo avoid the prompt pass the--assume-yesargument to whippet. This can be useful when adding whippet to initialisation target in Makefile. Example:init:poetryinstallwhippet--assume-yes
Package: whip-sound
Whip SoundWhip Application uses the numeric option for different whip sounds.InstallationUsing Pip$pipinstallwhip-soundManual$gitclonehttps://github.com/anandtripathi5/whip-sound$cdwhip-sound$pythonsetup.pyinstallUsagePlay default Whip Sound$whipPlay Random Whip Sound$whiprandomPlay Whip Sounds with Options from 1-5$whip1# or$whip2
Package: whiptail
whiptailUse whiptail to display dialog boxes from shell scripts.Installation$ pip install whiptailLinksFork me on GitHubChangelog0.2 (2014-01-23)Removed need for the utile libary. Whiptail now only needs standard library.Added support for Python 2 and 3.Made code pass PEP8 with no errors.Made code pass pyflakes with no errors.Added Makefile for common operations.0.1 (2013-03-29)First release.
Package: whiptail-dialogs
Use whiptail to display dialog boxes from Python scripts.DocsTestsPyPIActivityQAOtherwhiptailis a library that will let you present a variety of questions or
display messages using dialog boxes from a Python script.Currently, these types of dialog boxes are implemented:yes/no boxmenu boxinput boxmessage boxtext boxinfo boxchecklist boxradiolist boxgauge boxpassword boxInstallationwhiptailcan be installed from PyPI.To install withpip:$python-mpipinstallwhiptail-dialogsYou must also have thewhiptailpackage installed on your system.On Debian and derivatives this can be installed with:$apt-getinstallwhiptail
Package: whirlpool-essentials
Whirlpool EssentialsWhirlpool Essentials is a core library to interacting with Orca Whirlpool Program in Python.Documentationpdoc for Whirlpool EssentialsDependenciesThis library have been tested in the following environment.Python: 3.10.6solders: 0.18.1solana: 0.30.2anchorpy: 0.18.0Installationpip install solana solders anchorpypip install whirlpool-essentialsSampleGet SOL/USDC Whirlpool Priceimport asyncio

from solana.rpc.async_api import AsyncClient
from solders.pubkey import Pubkey
from solders.keypair import Keypair

from orca_whirlpool.constants import ORCA_WHIRLPOOL_PROGRAM_ID
from orca_whirlpool.context import WhirlpoolContext
from orca_whirlpool.utils import PriceMath, DecimalUtil

SOL_USDC_8_WHIRLPOOL_PUBKEY = Pubkey.from_string("7qbRF6YsyGuLUVs6Y1q64bdVrfe4ZcUUz1JRdoVNUJnm")

async def main():
    connection = AsyncClient(RPC_ENDPOINT_URL)
    ctx = WhirlpoolContext(ORCA_WHIRLPOOL_PROGRAM_ID, connection, Keypair())

    # get SOL/USDC(ts=8) whirlpool
    whirlpool_pubkey = SOL_USDC_8_WHIRLPOOL_PUBKEY
    whirlpool = await ctx.fetcher.get_whirlpool(whirlpool_pubkey)
    decimals_a = (await ctx.fetcher.get_token_mint(whirlpool.token_mint_a)).decimals  # SOL_DECIMAL
    decimals_b = (await ctx.fetcher.get_token_mint(whirlpool.token_mint_b)).decimals  # USDC_DECIMAL

    print("whirlpool token_mint_a", whirlpool.token_mint_a)
    print("whirlpool token_mint_b", whirlpool.token_mint_b)
    print("whirlpool tick_spacing", whirlpool.tick_spacing)
    print("whirlpool tick_current_index", whirlpool.tick_current_index)
    print("whirlpool sqrt_price", whirlpool.sqrt_price)
    price = PriceMath.sqrt_price_x64_to_price(whirlpool.sqrt_price, decimals_a, decimals_b)
    print("whirlpool price", DecimalUtil.to_fixed(price, decimals_b))

asyncio.run(main())Get Liquidity Distribution of SOL/USDC Whirlpoolimport asyncio
import os

from dotenv import load_dotenv
from solders.pubkey import Pubkey
from solana.rpc.async_api import AsyncClient

from orca_whirlpool.accounts import AccountFinder, AccountFetcher
from orca_whirlpool.constants import ORCA_WHIRLPOOL_PROGRAM_ID
from orca_whirlpool.utils import PoolUtil

async def main():
    connection = AsyncClient(RPC_ENDPOINT_URL)
    whirlpool_pubkey = Pubkey.from_string("HJPjoWUrhoZzkNfRpHuieeFk9WcZWjwy6PBjZ81ngndJ")

    # get liquidity distribution
    fetcher = AccountFetcher(connection)
    whirlpool = await fetcher.get_whirlpool(whirlpool_pubkey)
    finder = AccountFinder(connection)
    tick_arrays = await finder.find_tick_arrays_by_whirlpool(
        ORCA_WHIRLPOOL_PROGRAM_ID,
        whirlpool_pubkey,
    )

    liquidity_distribution = PoolUtil.get_liquidity_distribution(whirlpool, tick_arrays)

    for ld in liquidity_distribution:
        print(ld.tick_lower_index, ld.tick_upper_index, ld.liquidity)

asyncio.run(main())
Package: whirlpool-py311
python-whirlpoolTheWhirlpoolalgorithm is designed by Vincent Rijmen and Paulo S.L.M. Barreto.
It is a secure and modern digest function that has been recommended by theNESSIEproject and adopted in the ISO/IEC 10118-3 international standard.Digest functions, also known as hash functions, produce fixed-length output (a
digest or hash) from a variable-length message. They are designed to be a
one-way function.This library is a Python wrapper around the Whirlpool C reference implementation.
The Whirlpool reference implementations are public domain, as is this code.The first version of the wrapper was written by James Cleveland with help
from #python on irc.freenode.net.Later on the wrapper was rewritten by Olaf Conradi to use the hashlib interface
and he made the library compatible with Python 3.InstallationThis library is available onPyPI.pip install whirlpoolUsageThis is the same interface as provided by the other digest algorithms in
Python's hashlib.import whirlpool

wp = whirlpool.new("My String")
hashed_string = wp.hexdigest()

wp.update("My Salt")
hashed_string = wp.hexdigest()Starting with Python 3 text strings (as shown above) are stored as unicode.
You need to specify the encoding of these strings before hashing.wp = whirlpool.new(data.encoding('utf-8'))Strings that are marked as binary do not need encoding.DevelopmentThe source code is available onGitHub.git clone https://github.com/oohlaf/python-whirlpool.git
cd python-whirlpoolInstall in development mode using:python setup.py developOr install in editable mode using pip:pip install -e .TestingThis module is tested using Python 2.7, PyPy, and Python 3.3 and up.You can run the test suite usingpython setup.py testWhirlpool ChangelogAll notable changes to this project will be documented in this file.
The format is based onKeep a Changelogand this
project adheres toSemantic Versioning.Unreleased1.0.0(2018-02-19)AddedPort to Python 3.Added PyPy support. PyPy3 does not work due to functions
that have not yet been ported (like missingPyUnicode_New).Added Continuous Integration using Travis CI and AppVeyor.Added automatic upload to PyPI for successful build tags. Proper
vX.Y.Z style tags upload to production PyPI, any other build
(including .devX appended) upload to Test PyPI.FixedFix struct function declaration prototype warnings.Fix pointer warnings.ChangedPackage ownership transferred to Olaf Conradi.Started usingSemantic Versioningtogether withKeep a Changelog.Restructured the package setup and revamped build scripts.DeprecatedRemoved the old deprecatedhash()interface.0.3(2013-01-23)AddedAdded the same interface as other Python digest algorithms have
(like the defaulthashlibmodule).ChangedCreated proper unit tests.DeprecatedThehash()function is deprecated. Please transition to the hashlib
interface and usenew()andhexdigest().0.2 (unreleased)This release was skipped.0.1 (2011-05-18)AddedInitial commit by James Cleveland.
Package: whirlpool-sixth-sense
Whirlpool's Sixth Sense (unofficial)Unofficial API for Whirlpool's 6th Sense appliances.As an example on how to use this library, please check the implementation of Home Assistant'sWhirlpool Integration, or take a look at thewhirlpool_ac.pyfile.If a command does not work, check if it works through the official app.NOTICEUse this at your own risk. If, by using this software, any damage is caused to your appliance, or if you get too hot because your AC got crazy and now you can't sleep, the developers of this software or the manufacturer of your appliance cannot be blamed.Using the clilisting all Whirpool appliances for an account:python cli.py -l -b "whirlpool" -e "person@mail.com" -p "password123"viewing/controlling a single Maytag appliance:python cli.py -l -b "maytag" -s "SAID123" -e "person@mail.com" -p "password123"
Package: whirls
A fullscreen program that displays an animated, twisting tessellation of whirls. Click to show or hide a panel of sliders to adjust the whirls. Press Esc to exit.LinksReleasesSourceAPI Reference (Recommended)API Reference (Alternate)What is a Whirl?Begin with an arbitrary polygon. Construct a nested polygon by joining points that are a fractional distance along each edge. Repeat this process ad infinitum.The vertices of the whirl form a logarithmic spiral, and they approximate a pursuit curve. The center of the spiral is the centroid of the polygon.If the constructed polygon’s vertices lie on midpoints of the base polygon, then it’s called a midpoint polygon. If the constructed polygon has an even number of sides, then it’s called a derived polygon.DependenciesThis program was developed against:Python 3.5NumPy 1.10SciPy 0.17Matplotlib 1.5Pygame 1.9PGU 0.18Older versions may or may not work.InstallationThese are minimal instructions to install and run this program on Windows 64 bit, including all dependencies. These instructions will not interfere with any other installed versions of Python and do not affect your PATH environment variable.DownloadWinPython-64bit-3.5.1.3.exeand install toC:\py\WinPython-64bit-3.5.1.3Downloadpygame-1.9.2a0-cp35-none-win_amd64.whlandpgu-0.18.zip.Open Command Prompt and run the following:C:\py\WinPython-64bit-3.5.1.3\python-3.5.1.amd64\python -m pip install C:\Users\<user>\Downloads\pygame-1.9.2a0-cp35-none-win_amd64.whl
C:\py\WinPython-64bit-3.5.1.3\python-3.5.1.amd64\python -m pip install C:\Users\<user>\Downloads\pgu-0.18.zip
C:\py\WinPython-64bit-3.5.1.3\python-3.5.1.amd64\python -m pip install whirls
C:\py\WinPython-64bit-3.5.1.3\python-3.5.1.amd64\python -m whirlsTroubleshootingDLL load failedImportError: DLL load failed: The specified module could not be found.If you installed Pygame for Python 3.5 from the link provided, then you need to install theMicrosoft Visual C++ 2015 Redistributable.SyntaxErrorIf you get an error like this:File "C:\py\WinPython-32bit-3.5.1.3\python-3.5.1\lib\site-packages\pgu\gui\container.py", line 57
    except StyleError,e:
                     ^
SyntaxError: invalid syntaxThen change that line to read:except StyleError as e:That file does not belong to this project.
Package: whirly
whirlywhirly provides easy-to-use Python classes for the spectral solution of two-dimensional partial differential equations, especially those related to fluid dynamics. The core of the package is the abstractPseudospectralSolverclass, which is easily extensible to a variety of PDEs with linear and nonlinear terms. For time stepping, whirly implements a fourth-order integrating factor method as outlined inYang et al. (2021), accessible through theIFRK4Integratorclass.Seeexample.ipynbfor a quick demonstration of whirly used to solve the two-dimensionalvorticity equation.whirly can be installed withpip install whirly.
Package: whiskers
“Vibrissae (singular: vibrissa), or whiskers, are specialized hairs (or, in
certain bird species, specialized feathers) usually employed for tactile
sensation.” - WikipediaWhiskers is a Pyramid application for storing information about your buildouts.
It is intended to use with buildout.sendpickedversions (PyPI,Github)
extension.Reason behind WhiskersWhy? Shortly to automate your workflow.Think an environment where you’re managing tens or hundereds of buildouts - say
Plone instances. Most of them have probably almost same packages and almost same
versions. Now you make an critical fix to some custom package and you need to
know which buildouts you have to update. Whikers helps you here by knowing what
is required and where.Installation using virtualenvvirtualenv whiskers --no-site-packages
cd whiskers
bin/pip install whiskers
wget https://github.com/pingviini/whiskers/raw/master/production.ini
bin/pserve production.iniFutureWhiskers is currently just storing buildout information. Future
plans involve at least following features:Have a buildout history so you can follow what packages have
been updated, added or removed.0.2 (2012-04-28)Fix issue #1: Not all packages are shown.
[markvl]Fixed how package versions are sorted.
[markvl & pingviini]0.1 (2011-12-11)Initial version
Package: whiskey-flask
:tumbler_glass:  Whiskey makes writing happen.Whiskey is a static site generator focusing on making writing happen. It gets
out of the way so you can focus on telling your story.FeaturesBuilt around flat Markdown files using the power of PandocBuilt-in publish and backup functionalitiesCommand-line drivenHas an "update" post-style for tweet-like postsGenerates feeds of regular posts, update posts, and all posts so you
can integrate updates with sites likemicro.blogInstallTo install Whiskey, run:python3-mpipinstallwhiskey-flaskFor an example site to get started, seenickwynja/whiskey-example. To
see Whiskey in use, visitnickwynja.com.
Package: whisk-parser
==============Whisk Parser==============Parse emails from Vosk API and Whisper.++++++++++++Installation++++++++++++Please make sure that you haveupdated pipto the latest version before installing whisk-parser.You can install the module using Python Package Index using the below command... code-block:: pythonpip install whisk_parser+++++Usage+++++First you have to import the module using the below code... code-block:: pythonimport whisk_parser as wpThen you can use theparse_emailmethod to convert a string to a valid email... code-block:: python>>> print(wp.parse_email('my email is john at gmail.com'))
my email is john@gmail.com

>>> print(wp.parse_email('my email is john underscore doe at gmail.com'))
my email is john_doe@gmail.com

>>> print(wp.parse_email('The aggregate and underlying individual governance indicators are available at www.govindicators.org.'))
The aggregate and underlying individual governance indicators are available at www.govindicators.org.++++++++++++Contributors++++++++++++Luis Alfredo Reyes (runesc <https://github.com/runesc>__)
Package: whisper2subs
whisper2subsA CLI tool that transcribes audio usingopenai-whisperand translates it usingDeepL.Installpipinstall--userwhisper2subsUsagewhisper2subs--helpTranslateIn order to perform translations into languagesother than English, it's required toprovide an API key from DeepL. Using the--deepl-apikeyoption or with theDEEPL_APIKEYenvironment variable. You cancreate a free accountto get an API key.Transcribe and then translate to Spanish the audio of an mp4 file, using thelarge-v2model.whisper2subs-mlarge-v2-tes--deepl-apikey"yout-api-key"input.mp4subs/If the language of the input file is not specified Whisper will try to detect it. To specify the language of the input file, use the-loption.whisper2subs-lja-mlarge-v2-tes--deepl-apikey"yout-api-key"input.mp4subs/Change output format tostronly:whisper2subs-lja-tes--output-formatsrt--deepl-apikey"yout-api-key"input.mp4subs/For more information:whisper2subs--helpTranscribeTranscribe audio without translating it:whisper2subsinput.mp4text/ReferencesWhisperDeepL API referencedeepl-python
Package: whisper-ane
This project is an attempt to re-define certain architectures to be optimised to run on the ANE. More specifically, it aims to adopt this Apple'sml-ane-transformerscodebase to theWhisperarchitecture. I've been working with the commit hashd18e9ea(there have been some changes to return signatures of internal functions -- that may not impact us, but I haven't tested that yet)Installpipinstallgit+https://github.com/openai/whisper/.git@d18e9ea5dd2ca57c697e8e55f9e654f06ede25d0
pipinstallgit+https://github.com/apple/ml-ane-transformers
pipinstallwhisper_ane
Package: whisper-autosrt
whisper_autosrt is a command line utility for automatic speech recognition and subtitle generation  using faster_whisper module which is a reimplementation of OpenAI Whisper module. It takes video or audio files as input, generate transcriptions for them and optionally translates them to a differentlanguage, and finally saves the resulting subtitles file to disk.                                   It supports a variety of input and output languages and can currently produce subtitles in SRT, VTT,JSON, and RAW format.
Package: whisper-blog
WhisperA highly modularized multi-purpose blog engine, based onFlask.InstallationWIPLicenseThe Whisper blog engine is released under GNU Affero General Public License (version 3) from the Free Software Foundation. A copy of the license should be included with every copy of Whisper, you can also read the license texthere.We consider all plugins developed for Whisper constitute a derivative work, though it's still a grey area in law. Thus, writing plugins for Whisper is super-welcomed, as long as they also inherit and is released under AGPLv3. If you feel against this, we suggest you to seek a non-GPL alternative.