Saravanan666/pypi-org huggingface dataset:
Package: ykdl
YouKuDownLoaderA video downloader focus on China mainland video sites.Origin website:https://github.com/zhangn1985/ykdlNow, it has migrated to the new website:https://github.com/SeaHOH/ykdlAnd, it is still looking for a new owner,see#565.This project is a fork ofyou-getwith below changes.Structured source code.Focus on China mainland video sites.Dropped supports of Python 3.4 and below
(see#487).Simple installation guideThere are some useful software package managers.macOS/Linux:HomebrewDebian/Linux: APTWindows:ChocolateyStep:DependenciesFFmpeg, for merge media files.mpv, default media player (optimal compatibility).Python 3pip and setuptools, make sure they are updated.python3 -m ensurepip
python3 -m pip install pip --upgrade
python3 -m pip install setuptools --upgradeykdl from PyPI or GitHubpip3 install ykdl --upgradepip3 install https://github.com/SeaHOH/ykdl/archive/master.zip --force-reinstall --no-deps
pip3 install https://github.com/SeaHOH/ykdl/archive/master.zip --upgradeMake sure those folders are in yourPATH, if they are not, add them.Windows: folders of ffmpeg.exe, mpv.exe, and python.exe,
and folder “<PYTHONHOME>\Scripts”others: “~/.local/bin” or “/usr/local/bin”Site statusPlease check wiki page:sites-statusBugs report, features require, and pull requests are welcome.Change Log for ykdl1.8.2enable pep517change API name from “vid” to “mid”, step 1add index item to MediaInfo for playlistadd util.lazyfix compatibility with m3u8 3.5.0 (#621) @Joekyfix default filename timestamp (#622) @a67878813add new extractor: acfun.liveupdate GeneralSimple, Bilibili, Douban, DouYin, iQIYI, iXiGua, Huya, Weibomove extractor from “le.le” to “le”remove Baidu, iXiGua.live1.8.1.post1fix compatibility bug on Python 3.9 and below (#604)1.8.1add support HTTP cacheadd support interactive modeadd–show-allargumentimprove handling of media title and filenamebilibili.live API has been changed (#600 @fraic)support new sites: iXiGuaupdate GeneralSimple, Bilibili, DouYin, YinYueTai1.8.0warning:warning:warning:<lots of breaks>add Brotli support (extra)fix output and update dependenciesupdate Bilibili, Douban, Huya, iQIYI, Weibomore see early PRE-releasesSee full change log.
Package: ykdraco
ykdracoimportykdracofile="1.bin"# read I3S geometry file with draco compressedwithopen(file,"rb")asf:content=f.read()# parse draco contentdraco=ykdraco.decode(content)# points, numpy array, format as (x, y, z)print(f"The count of vertex:{len(draco.points)}")# normal, numpy array, format as (x, y, z)print(f"The count of normal:{len(draco.normals)}")# colors, numpy array, format as (r, g, b, a)print(f"The count of colors:{len(draco.colors)}")# uv, numpy array, format as (u, v)print(f"The count of uv0:{len(draco.tex_coord)}")I3S draco geometry file decoderInstallationBinary wheels are available for users with Python >= 3.6 and pip >= 20.Installation from source requires Python >= 3.6, pip >= 10, and a C++ compiler that is fully compatible with C++11.It supports Linux, OS X, and Windows. Numpy is required.pipinstallykdraco
Package: ykenan-log
ykenan_logPrint and save a simple log to a fileThis is a simple log package. You can seeGithub-ykenan_loguploadpy-mbuild
twinecheckdist/*
twineuploaddist/*Useinstallpipinstallykenan_loguse# -*- coding: utf-8 -*-importykenan_loglogger=ykenan_log.Logger("name","log")if__name__=='__main__':print("run...")logger.debug("info......")logger.info("info......")logger.warn("info......")logger.error("info......")outputrun...2023-03-1709:21:36rootname[34768]DEBUGinfo......2023-03-1709:21:36rootname[34768]INFOinfo......2023-03-1709:21:36rootname[34768]WARNINGinfo......2023-03-1709:21:36rootname[34768]ERRORinfo......Introductionmain functionykenan_log.Logger(name: str = None,log_path: str = None,level: str = "DEBUG",is_solitary: bool = True,is_form_file: bool = True,size: int = 104857600,backup_count: int = 10,encoding: str = "UTF-8"):param name: Project Name
:param log_path: Log file output path. Default is log_%Y%m%d.log.
:param level: Log printing level. Default is DEBUG.
:param is_solitary: When the file path is consistent (here, the log_path parameter is not a specific file name, but a file path), whether the file is formed independently according to the name parameter. Default is True.
:param is_form_file: Whether to form a log file. Default is True.
:param size: Setting the file size if a file is formed. Default is 104857600. (100MB)
:param backup_count: Setting the number of rotating files if a file is formed. Default is 10.
:param encoding: Setting of file encoding if a file is formed. Default is UTF-8.
Package: ykenan-ukbiobank
ykenan_ukbiobankuploadpy-mbuild
twinecheckdist/*
twineuploaddist/*pip3installykenan_ukbiobankfromykenan_ukbiobankimportDownloaddownload=Download(ukbfetch_file="/mnt/f/software/ukbiobank/ukbfetch",bulk_file="/mnt/f/software/ukbiobank/ukb676745.bulk",key_file="/mnt/f/software/ukbiobank/k152703r676745.key",output_path="/mnt/f/software/ukbiobank/download")download.run()
Package: yk-face
YouFace API: Python SDK & SampleThis repository contains the Python SDK for the YouFace API, an offering withinYouverse ServicesGetting startedInstall the module usingpip:pipinstallyk_faceUse it:importyk_faceasYKFKEY='subscription key'# Replace with a valid Subscription Key here.YKF.Key.set(KEY)BASE_URL='YouFace API URL'# Replace with a valid URL for YouFace API.YKF.BaseUrl.set(BASE_URL)img_file_path='image path'# Replace with a valid image file path here.detected_faces=YKF.face.process(img_file_path)print(f'Detected faces:{detected_faces}')Installing from the source codepythonsetup.pyinstallRunning the sampleA sample python script is also provided. Please check the sample directory in this repository.YouFace API DetailsFor a complete specification of our Face API please check theswagger file.Contact & SupportFor more information and trial licenses pleasecontact usor join us at ourdiscord community.
Package: ykpers-cffi
Extremely small bindings tolibykpersfor communicating with aYubiKeyover USB. The features are currently “whatever I need at the time.” Feel free
to make suggestions about what to do next. Here’s approximately what it can do
at the moment:from ykpers import YubiKey

yk = YubiKey.open_first_key()
print 'yubikey {0.versionMajor}.{0.versionMinor}'.format(yk.get_status())
print 'slot 1:', yk.hmac_challenge_response('hi').encode('hex')
print 'slot 2:', yk.hmac_challenge_response('hi', slot=2).encode('hex')Why notpython-yubico?It only runs on linux and reimplements what libykpers already does.
Package: ykpstools
YKPS ToolsYKPS Tools is a package containing tools & utilities associated with online logins of YKPS. It is distributed under theMIT License. YKPS Tools requires a distribution ofPython 3.xinstalled. It is also published onPyPI.FeaturesYKPS Tools has the following tools:Authorize to school Wi-FiRequest to Powerschool LearningRequest to PowerschoolRequest to OutlookInstallationDependenciesYKPS Tools depends on (SeeInsights / Dependency graph):A distribution ofPython3.x(Python,Anaconda, etc.)requests /requestswaylan /beautifulsouplxml /lxmlInstallation on PythonYKPS Tools can be installed usingpipin shell:python3-mpipinstall--upgradeykpstoolsOr, to get the newest version of YKPS Tools (recommended since it is still at an early stage of development):python3-mpipinstall--upgradegit+https://github.com/HanwenZhu/ykpstools.gitOr, with local installation:gitclonehttps://github.com/HanwenZhu/ykpstools.gitcdykpstools
python3-mpipinstall--upgrade-e.DemonstrationTestTo test what the repository can do:python3-mykpstoolsExampleIn Python shell:>>>importykpstoolsasyt>>>>>># Login to Powerschool Learning>>>page=yt.powerschool_learning(prompt=True)>>># Print html>>>page.soup().find('div',id='navbarowner').get_text(strip=True)*Yournameshouldappearhere*
Package: yk-totp
yk-totpyk-totpis a little CLI util for YubiKeys,
that will generate TOTP codes upon request.The added benefit compared tothe officialykmanis that it offers
to store the password for unlocking your YubiKey in your system's keyring,
whereasykmanstores your password in it's config file.
(While the password is stored asPBKDF2HMAC-hash and not in plain-text,
this hash is all that is required to get to your 2FA,
yet this hash is not protected in any way.)This allowsyk-totpto be used in other tools (like in anAlfred Worflow)
which don't offer facilities to store or enter a password,
or where it's inconvenient to repeatedly enter the password.RequirementsThis tool requiresPython 3and an operating system that is supported by both,thekeyringPython moduleand bytheykmantool from YubiCo.InstallationFor now, the way to installyk-totpis via PIP:pip3install-Uyk-totpUse the same command to update to a new version.Error while installationIf you get errors while installingyk-totp, try this:# Update the Python modules responsible for installing other modulespip3install-UpipwheelsetuptoolsCheckif you haveswiginstalled,
which is apparently required to installpyscard,
which is a dependency ofykman:# macOS with Homebrewbrewinstallswig# Linux (apt)sudoaptupdate&&sudoaptinstallswig# Linux (yum)sudoyuminstallswig# Windows with ChocolatelychocoinstallswigDevelopmentpython3-mvenv.venvsource.venv/bin/active
pip3install-Upipsetuptoolswheel
pip3install-rrequirements.txt
pip3install-e.Releasepip3install-Ubuildtwine
python3-mbuildLicensing and CopyrightThis code is copyrighted.
But it can be used under the terms of theMIT licensefor your own purposes.
It builds upon the following third party modules:keyringfor the interaction with the operating system's keyring, which is MIT licensed.yubikey-managerfor communicating with the YubiKey, which is licensed under a BSD-2-Clause License.clickfor the CLI interface, which is licensed under a BSD-3-Clause License.Open source software rocks 🎸!
Package: yl-django-betterforms
App for Django featuring improved form base classes.Home-page:https://django-betterforms.readthedocs.org/en/latest/Author: Fusionbox
Author-email:programmers@fusionbox.comLicense: UNKNOWN
Description: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Django
Classifier: Framework :: Django :: 1.8
Classifier: Framework :: Django :: 1.9
Classifier: Framework :: Django :: 1.10
Classifier: Framework :: Django :: 1.11
Classifier: Framework :: Django :: 2.0
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Internet :: WWW/HTTP
Package: yldprolog
yldprologyldprolog is a rewrite ofYieldProlog, which compiles Prolog into source code that you can embed in your code. Yield Prolog supports several programming languages, yldprolog only supports Python.The rewrite grew out of the need to run multiple Prolog instances concurrently. In Yield Prolog, the active instance is a Python module, and therefore it is cumbersome to have multiple instances at the same time. This rewrite uses object instances instead, which make this much easier.The interface for the engine changed and as a result, the code generated by the existing YieldProlog compiler is not compatible with yldprolog. You will need to use the yldprolog compiler.The yldprolog compiler uses ANTLR and supports the most common Prolog constructs.UsageCompiling a Prolog programLet's look at the following Prolog script:%
% The following Prolog code is based on the example "monkey and banana"
% from: Ivan Bratko, Prolog Programming for Artificial Intelligence,
% third edition. ISBN 0-201-40375-7.
%

move(state(middle,onbox,middle,hasnot),
     grasp,
     state(middle,onbox,middle,has)).

move(state(P,onfloor,P,H),
     climb,
     state(P,onbox,P,H)).

move(state(P1,onfloor,P1,H),
     push(P1,P2),
     state(P2,onfloor,P2,H)).

move(state(P1,onfloor,B,H),
     walk(P1,P2),
     state(P2,onfloor,B,H)).

canget(state(_,_,_,has)).
canget(State1) :-
     move(State1,Move,State2),
     canget(State2).You can compile this Prolog script with:yldpc monkey.prolog > monkey.pyThe result is a Python module that defines the predicates as functions.
You can use these modules in your program, for example.# 1. construct the yldproglog engine
yp = YP()
# 2. load a script from a path or filename
yp.load_script_from_file(pathlib.Path(_SCRIPT_DIR) / 'monkey.py')
# 3. execute the query:
#    canget(state(atdoor, onfloor, atwindow, hasnot))
q = yp.query('canget', [yp.functor('state',
	[yp.atom('atdoor'), yp.atom('onfloor'),
	yp.atom('atwindow'), yp.atom('hasnot')])])
# 4. q is a generator that will give all solutions. Since this
#    query has infinitely many solutions, we will just get the
#    first one.
self.assertEqual(next(q), False)
Package: ylecomments
ylecomments v1Python package for fetching comments from Yle Comments APIPOSTing comments is not supported at this time. Support for this is unlikely.InstallationpipinstallylecommentsExample usagefromylecommentsimportylecomments# Get comments for a specific article# https://yle.fi/a/74-20023410article=ylecomments.YleArticle("74-20023410")comments=article.get_approved_comments()# Print the first commentprint(comments[0].content)# Print the comment author's nameprint(comments[0].author)# Print the amount of likes the comment hasprint(comments[0].likes)# Other attributes:# rejectedAt, children, content, likes, acceptedAt, createdByModerator,# author, topicExternalId, id, parentId, topCommentId, authenticatedAuthor,# topicId, createdAt, createdByTrustedCommentAuthor, createdByCommentator,# isModerationReply
Package: yliveticker
Live from Yahoo FinanceGet market data from Yahoo Finance websocket in near-real time.
wss://streamer.finance.yahoo.com/Setuppipinstallylivetickerpypi package homeExampleThe following snippet prints out live metrics in console output. You can follow other symbols by providing them inticker_names.importyliveticker# this function is called on each ticker updatedefon_new_msg(ws,msg):print(msg)yliveticker.YLiveTicker(on_ticker=on_new_msg,ticker_names=["BTC=X","^GSPC","^DJI","^IXIC","^RUT","CL=F","GC=F","SI=F","EURUSD=X","^TNX","^VIX","GBPUSD=X","JPY=X","BTC-USD","^CMC200","^FTSE","^N225"])NoteCheck trading hours for your market if you don't observe any live metrics
Package: yliveticker-test
Live from Yahoo FinanceGet market data from Yahoo Finance websocket in near-real time.
wss://streamer.finance.yahoo.com/Setuppipinstallylivetickerpypi package homeExampleimportyliveticker# this function is called on each ticker updatedefon_new_msg(msg):print(msg)yliveticker.YLiveTicker(on_ticker=on_new_msg,ticker_names=["BTC=X","^GSPC","^DJI","^IXIC","^RUT","CL=F","GC=F","SI=F","EURUSD=X","^TNX","^VIX","GBPUSD=X","JPY=X","BTC-USD","^CMC200","^FTSE","^N225"])
Package: yls
YLSLanguage serverforYARAlanguage.:rocket: Features:Code completion of all available modules (including function parameters)Function documentation for hovers and code completionOpinionated code formattingSignature helpLintingGo-to definition and referencesSymbol highlighting under the cursorDebugging usingyari...For more information, check out:Blog postWiki:snake: Minimal supported version of Python is3.8.InstallationTo setup your environment please follow instructions onwiki.How to developInstall YLS in development mode with all necessary dependencies.poetryinstallTestsYou can run tests with the following command:poetryrunpytestLicenseCopyright (c) 2022 Avast Software, licensed under the MIT license. See theLICENSEfile for more
details.YLS and its related projects uses third-party libraries or other resources
listed, along with their licenses, in theLICENSE-THIRD-PARTYfile.FAQWhy are you usingpluggy?Some parts depend on our internal services, however we are working on making
most of the code available. This is just the first piece.
Package: yls-macos-arm
This is a temporary fork of the original YLS repository (avast/yls) in order to allow an easy installation of all components on macOS ARM devices.YLSLanguage serverforYARAlanguage.:rocket: Features:Code completion of all available modules (including function parameters)Function documentation for hovers and code completionOpinionated code formattingSignature helpLintingGo-to definition and referencesSymbol highlighting under the cursorDebugging usingyari...For more information, check out:Blog postWiki:snake: Minimal supported version of Python is3.8.InstallationTo setup your environment please follow instructions onwiki.How to developInstall YLS in development mode with all necessary dependencies.poetryinstallTestsYou can run tests with the following command:poetryrunpytestLicenseCopyright (c) 2022 Avast Software, licensed under the MIT license. See theLICENSEfile for more
details.YLS and its related projects uses third-party libraries or other resources
listed, along with their licenses, in theLICENSE-THIRD-PARTYfile.FAQWhy are you usingpluggy?Some parts depend on our internal services, however we are working on making
most of the code available. This is just the first piece.
Package: ym
ymData type that handles year and month values.UsageImportfromymimportymInitializefrom year, monthym(2020,4)#=> ym(2020, 4)from current monthym.current()#=> ym(2020, 7)from stringym.parse("2020-04")#=> ym(2020, 4)from date or datetime objectfromdatetimeimportdateym.parse(date.today())#=> ym(2020, 7)Get year, monthcurrent=ym.current()#=> ym(2020, 7)current.y#=> 2020current.m#=> 7Add, Subym(2020,4)+10#=> ym(2021, 2)ym(2020,4)-10#=> ym(2019, 6)ym(2020,7)-ym(2020,4)#=> 3Compareym(2020,7)<ym(2020,4)#=> Falseym(2020,7)>ym(2020,4)#=> Trueym(2020,7)==ym(2020,4)#=> FalseRangelist(ym(2020,4).to(2020,7))#=> [ym(2020, 4), ym(2020, 5), ym(2020, 6)]current=ym.current()#=> ym(2020, 7)list(current.to(current+6))#=> [ym(2020, 7), ym(2020, 8), ym(2020, 9), ym(2020, 10), ym(2020, 11), ym(2020, 12)]
Package: yman
ymanyman is a python script used for saving/restoring yakuake sessions (currently running commands, working directories, environment variables, tab titles)NOTE: unless disabled when building, yakuake will display a warning about running commands from DBus once per a system session (per login).Installationpip install ymanTo use autocomplete (supported in bash/zsh) add this line to your zshrc/bashrc:eval "$(_YMAN_COMPLETE=bash_source yman)"(keepbash_sourcefor both bash and zsh)Usage» yman
Usage: yman [OPTIONS] COMMAND [ARGS]...

Options:
  --help  Show this message and exit.

Commands:
  list     List saved sessions
  remove   Remove saved sessions
  restore  Restore saved sessions
  store    Store the currently running sessionsSaving a session:» yman store sessionName
Storing current session as sessionName (skipping current terminal: yes)
Successfully stored current session as sessionNameRestoring a session:» yman restore sessionName
Restoring session sessionNameListing saved sessions:» yman list
Saved sessions:
- sessionName
- demoRemoving a saved session:» yman remove sessionName
Are you sure you want to remove session sessionName? [y/N]: y
Package: ymcntr
BASIC CALCULATORThis is a module of basic calculatorBy YamInstallationThis library can be installed by the pip command, open your terminal and type in the following command...pipinstallymcntrFunctions of this libraryFirst import the library using this commandimportymcntrasycand then proceed to call the functionsSimple Countyc.plus()This function can be used to add two numbersyc.min()This function can be used to subtract two numbersComplex Countyc.mult()This function can be used to multiply two numbersyc.div()This function can be used to divide two numbersThe parametersnum1 (first number)- first number used in the calculationnum2 (second number)- second number used in the calculationExample :You have 2 bottle, then you got 5 bottle, now how much bottle you have?In this case, you have 2 bottle then add 5 more bottle. So you will need theyc.plus()function with the following calculations:>>>importymcntrasyc>>>yc.plus(2,5)7So, your your bottle now are 7
Package: ymdantic
YMDanticОписаниеYMDantic- это клиентская библиотека на Python для работы с API Yandex Music.
Она позволяет получать информацию о треках, альбомах, плейлистах и других объектах сервиса.Особенностью библиотеки является использованиеPydanticдля валидации и сериализации данных.ТехнологииПроект написан на Python и использует следующие библиотеки:aiohttp для асинхронных HTTP-запросовdataclass_rest для работы с REST APIPydantic для валидации и сериализации данныхУстановка и использованиеДля установки библиотеки используйте pip/poetry:pipinstallymdanticилиpoetryaddymdanticПример использованияПолучаем список чартов и выводим трекиimportasynciofromymdanticimportYMClientasyncdefget_chart(client:YMClient)->None:chart_block=awaitclient.get_chart()print(chart_block.title,end="\n\n")print("Треки в чарте:")forplaylist_trackinchart_block.chart.tracks:print(f"{playlist_track.track.artists_names}-{playlist_track.track.title}")if__name__=="__main__":asyncio.run(get_chart(client=YMClient(token="y0_123")))
Package: ymdown
ymdownA utility build on top of ytmusicapi and yt-dlp for easy search-and-download in YouTube Music.Installationpip install ymdownUsagesymdown <input_song_list_path> <output_directory_path>You can change the format by using-f, the default format is .mp3.ymdown -f wav <input_song_list_path> <output_directory_path>