Saravanan666/pypi-org huggingface dataset:
Package: ywh-collab
YWH Collab██╗   ██╗██╗    ██╗██╗  ██╗       ██████╗ ██████╗ ██╗     ██╗      █████╗ ██████╗ 
╚██╗ ██╔╝██║    ██║██║  ██║      ██╔════╝██╔═══██╗██║     ██║     ██╔══██╗██╔══██╗
 ╚████╔╝ ██║ █╗ ██║███████║█████╗██║     ██║   ██║██║     ██║     ███████║██████╔╝
  ╚██╔╝  ██║███╗██║██╔══██║╚════╝██║     ██║   ██║██║     ██║     ██╔══██║██╔══██╗
   ██║   ╚███╔███╔╝██║  ██║      ╚██████╗╚██████╔╝███████╗███████╗██║  ██║██████╔╝
   ╚═╝    ╚══╝╚══╝ ╚═╝  ╚═╝       ╚═════╝ ╚═════╝ ╚══════╝╚══════╝╚═╝  ╚═╝╚═════╝DescriptionYWH Collab is a comparator of private program for hunters collaboration.
The goal of this tool is to be able to find common programs that accept collaboration between hunters without revealing the names of the clients of the private programs to which you are invited.Please note that if you share the list of anonymized programs publicly, it will be possible for all other members of the program to know that you are also invited!InstallationInstall frompip:▶ pip install ywh-collabUsageIt is possible to provide the JWT as an argument or to provide credentials in an interactive session to log in your Yes We Hack account.$python3-mywh-collab-h
usage:ywh-collab[-h][-jJWT]-fFILENAME{export,compare}YesWeHackprivateprogramcomparatorforhunterscollaborationbyAethlios.

positionalarguments:{export,compare}ExportyourlistofprogramIDsorcomparealistwithyourprogramstofindcommonprogramsthatacceptcollab.

optionalarguments:-h,--helpshowthishelpmessageandexit-jJWT,--jwtJWTTheJWTtokenoftheYWHsession-fFILENAME,--filenameFILENAMETheinputoroutputfilenameExportFirst, you can export the list of program IDs intooutput.txtfile to share it with another hunter :python3-mywh-collab-foutput.txtexportCompareIn a second step, you can compare the list of program IDs of another hunter stored ininput.txtfile with your private programs in order to find common programs that accept hunters' collaboration.python3-mywh-collab-finput.txtcompareChangelogv1.0.1 - Minor fixv1.0.0 - Initial release
Package: ywkd-tools
娱网科道内部python 公用包安装使用 pip 安装$ pip install ywkd_toolspip 地址https://pypi.org/project/ywkd-tools/使用PRC 调用fromywkd_tools.inner_service_apisimportInnerServicesInnerServices.setup(service_name=<调用者名称>,base_url=<RPCDomain>,secret=<RPC认证密码>)# 发送短信InnerServices.MSG().send_sms([57],'SMS_177552091',{'username':'tester','password':'pwd12345'})# 用户过滤InnerServices.Cperm().filter_users(group_codes__in=['ceo'])# 调用自定义方法 funInnerServices.Cperm().rpc_client.fun(...)# 获取用户详情InnerServices.Cperm().get_user(1)# 实例1:classAViewOrSerializer(xxx):defsome_method(...):cperm=InnerServices.Cperm()cperm.get_user(...)cperm.filter_users(...)cperm.rpc_client.fun(...)...# 实例2:@app.task(...)defasyn_job(...):cperm=InnerServices.Cperm(request_id='xxxxxxxxxx')# or cperm = InnerServices.Cperm(request=request)cperm.get_user(...)cperm.filter_users(...)cperm.rpc_client.fun(...)...Auth 认证# 在初始化文件中执行fromywkd_tools.authimportAuthAuth.setup(service_name=<调用者名称>,rpc_base_url=<RPCDomain>,rpc_secret=<RPC认证密码>)# 在django view文件中fromywkd_tools.authimportAuthclassSomeView(BaseView):"""需要认证的Django Vew"""authentication_classes=[Auth.RSTFBasciAuthentication]...defget(self,request,*args,**kwargs):returnself.list(request,*args,**kwargs)defpost(self,request,*args,**kwargs):returnself.create(request,*args,**kwargs)# 在对外提供RPC服务的文件中frommodernrpc.coreimportrpc_methodfrommodernrpc.authimportset_authentication_predicatefromywkd_tools.authimportAuth@rpc_methoddefping():"""不需要认证的rpc 接口"""return'pong'@rpc_method@set_authentication_predicate(Auth.RPCBasciAuthentication().authenticate)defget_import_info():"""需要认证的rpc 接口"""return...发布包# 确保您拥有setuptools并wheel 安装了最新版本$python3-mpipinstall--upgradesetuptoolswheel# 安装Twine$python3-mpipinstall--upgradetwine# 从setup.py位于的同一目录运行此命令$python3setup.pysdistbdist_wheel# 运行Twine以上传所有存档dist$python3-mtwineuploaddist/*
$python3-mtwineupload--skip-existingdist/*
Package: yworklog
Stack based utility with CLI interface helping you to monitor time spent on
tasks.The stack base helps with dealing with tasks interupted with other tasks,
unfortunately it can’t deal with tasks running in parallel (yet).UsageStart an activity$ wl start playing chessPause it with a random encounter$ wl end fappingCheck out how long did the fapping take you$ wl diff
2012-07-11 10:09:23.626468 end    fapping
diff: 0:00:12.802342Resume what you have started$ wl resumeCheck out your logs since you have started$ wl end # <- this step shouldn't be needed in the future, before doing `diff -f`
$ wl diff -f
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 end
diff: 0:00:25.195985List all your logs$ wl list
2012-07-11 09:52:34.045907 start  fuuu
2012-07-11 09:52:37.928545 end    kek
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 endAnd wrap up$ wl pop
2012-07-11 10:09:09.823053 start  playing chess
2012-07-11 10:09:23.626468 end    fapping
2012-07-11 10:11:04.459657 resume
2012-07-11 10:11:15.852227 end
diff: 0:00:25.195985
$ wl list
2012-07-11 09:52:34.045907 start  fuuu
2012-07-11 09:52:37.928545 end    kekInstall$ python setup.py install
$ alembic upgrade head
Package: yxapollo
Exampleapollo.pyfromApolloimportApolloapollo1=Apollo("your_appid_1","your_config_server_url_1")apollo2=Apollo("your_appid_2","your_config_server_url_2")main.pyfromapolloimportapollo1,apollo2value1=apollo1.get_value("your_key",namespace="your_namespace")value2=apollo1.get_value("your_key",namespace="your_namespace")打包发版流程setup.py修改版本号push项目打包python3setup.pysdistbdist_wheel项目发布python3 -m twine upload dist/*
Package: yxdb
yxdb-pyyxdb-py is a library for reading YXDB files into Python.install usingpip install yxdbThe library does not have external dependencies and is a pure Python solution.The public API is contained in the YxdbReader class. Instantiate YxdbReader with the following constructors:YxdbReader(path=str)- load from a fileYxdbReader(stream=BytesIO)- load from an in-memory streamIterate through the records in the file using thenext()method in a while loop:while reader.next():
    # do somethingFields can be access via theread_index()andread_name()methods on the YxdbReader class.The list of fields in the YXDB file can be access via thelist_fields()method.To read spatial objects, use theyxdb.spatial.to_geojson()function. Theto_geojson()function translates the binary SpatialObj format into a GeoJSON string.
Package: yxf
Convert from XLSForm to YAML and backyxf (short forYAMLXLSForms) is a converter between XLSForms and
YAML files. With yxf, you can store forms as text-files. This brings a number of
advantages to managing many forms. For example, you can store forms in version
control, view differences between two forms, and easily share updates between
multiple forms.UsageTo convert an XLSForm to a YAML file:python -m yxf form.xlsx.By default, the result will be calledform.yaml, in other words, the same name
as the input file with the extension changed to.yaml. You can specify a
different output file name using the--output othername.yamloption.To convert a YAML file to an XLSForm:python -m yxf form.yaml.Here's a screenshot showing the YAML and XLSForm version of a form side-by-side:Using Markdownyxf can generate and read Markdown instead of YAML. The format is taken frommd2xlsform. This can be useful if
you would like something more compact than YAML, e.g., to paste into a community
forum.To use Markdown, add a--markdownargument to the yxf invocation:# Will generate form.mdpython-myxf--markdownform.xlsxInstallationGet the latest version from the GitHub repo:python -m pip install yxfFeaturesComments in formsyxf encourages adding comments to XLSForms. It uses a special column labeled#to that end. Other tools ignore this column, so that it can be used for
explanations that are useful to the readers of the.xlsxor.yamlfiles.Pretty spreadsheetsyxf tries hard to make the XLSForm files look pretty. It is possible to use yxf
just for that purpose, without intending to store forms as YAML files. To do so,
simply convert a form to YAML and back:python -m yxf form.xlsx
python -m yxf -o form-pretty.xlsx form.yamlDevelopmentyxf is still being developed. Feedback and contributions are welcome.
Please open issues in theissue tracker.Please run all of the following before committing:Format the code:black .Run unit tests:pytestSee lint warnings (and please fix them :)):pylint yxfTo publish on PyPI:Increment the version number insetup.cfg.Runpython -m build.Upload usingpython -m twine upload dist/*-version-*.
Package: yxpy
Tested in Python2.7, Python3.4.callitYou can do:from __future__ import print_function

print('x', 'y', sep=',')But I can not do:from __future__ import print_function

parameters = ('x', 'y', sep=',')
print(parameters)With callit, I can do similar thing:from __future__ import print_function
from yxpy.callit import CallIt

parameters = CallIt('x', 'y', sep=',')
parameters(print)Sometimes, you may use Parameters(similar to CallIt):from __future__ import print_function
from yxpy.callit import Parameters

parameters = Parameters('x', 'y', sep=',')
parameters(format)dotitUsually, dictionary can be used like this:d = dict(a=1)
d['b'] = 2
x = d['a'] + d['b']The members in dictionary can only be accessed by[], But in some other
languages(eg. javascript), they can be access by.:d.b = 2
x = d.a + d.bWith dotit, you can do same thing in similar manner, dotit provide thress
class to do it.DotDict:from dotit import DotDict
d = DotDict(a=1)
d.b = 2
x = d.a + d.bDotOrderedDict, inherit from collections.OrderedDict:...     # similar to DotDictDotIt, if you already have a dict like object, you can wrapper with DotIt:d = dict(a=1, b=2)
...
d = DotIt(d)
x = d.a + d.bDotIt can also deal with nest dict:d = dict(a=dict(aa=1, ab=2), b=2)
...
d = DotIt(d)
x = d.a.aa + d.a.abloaditLoad or reload python objectimport module:import loaditload moudule:mod = loadit.load_it('mymodule')load function:func = loadit.load_it('mymodule.func')load class:MyClass = loadit.load_it('mymodule.MyClass')reload module:new_mod = loadit.reload_it(mod)reload function:new_func = loadit.reload_it(func)reload class:NewMyClass = loadit.reload_it(MyClass)yamlfileload config from YAML file, add a include tag.main.yaml:a: !include a.yamla.yaml:name: ausage:from yxpy import yamlfile

yamlfile.load('main.yaml')logginghandlersSocketHandler(host, port)DatagramHandler(host, port)RedisListHandler(list_name, list_maxsize=1024, host=’localhost’, port=6379, password=None)RedisPublishHandler(self, channel, host=’localhost’, port=6379, password=None)SocketHandler & DatagramHandlerlogging package provide many Handlers, includeSocketHandlerandDatagramHandler, but the data transmit to server is packed as binary, this
module privide simular handler to transmit plain text to server.example:socket_handler = SocketHandler(host, port)
...
datagram_handler = DatagramHandler(host, port)
...RedisListHandler & RedisPublishHandleruse Redis as log server, the two handler is just privide a singleway to redis
server. to keep simple, the handlers does check the response of redis.example:handler = RedisListHandler(list_name=’logtest’, list_maxsize=100, password=’test’)
…
handler = RedisPublishHandler(channel=’logtest’, password=’test’)
…Changes0.1.5(2014-10-11)refactoring: import statement inreloadit0.1.3(2014-09-26)DotIt support nest dict.0.1.2(2014-09-26)add dotit: include DotIt, DotDict, DotOrderedDict0.1.1(2014-09-19)add logginghandlers:
- SocketHandler
- DatagramHandler
- RedisListHandler
- RedisPublishHandler0.1.0(2014-09-18)callitloadityamlfile
Package: yxq-stock
yxq_stock [![Version][version-badge]][version-link] ![License][license-badge]Predict one's stockExampleinput your corporation's strock
output predicted the stock valueHow to useusage: yxq_stock [-h] 

optional arguments:
  -h, --help         show this help message and exit



### setup$ pip install yxq_stock### License

(https://github.com/lc930627/yxq_stock/blob/master/LICENSE)


[version-badge]:   https://img.shields.io/badge/version-0.1-brightgreen.svg
[version-link]:    https://pypi.python.org/pypi/yxq_stock/
[license-badge]:   https://img.shields.io/github/license/pythonml/yxq_stock
Package: yxr-atcoder-core
YeXiaoRain-Atcoder-CoreAboutSome Atcoder core api withpython >= 3.8.Based on this library, you can easily build command-line programs and intermediate services.DocsUser DocumentDeveloper DocumentCurrrent Feature Listac_core.auth modulefetch_login()is_logged_in()ac_core.contest modulefetch_standing()fetch_tasks()fetch_tasks_meta()parse_standing()parse_tasks()ac_core.language modulefetch_language()ac_core.problem moduleparse_task()ac_core.result modulefetch_result()fetch_result_by_url()parse_result()ac_core.submit modulefetch_submit()ac_core.url moduleurl_2_contest_id()
Package: yxr-codeforces-core
yxr-codeforces-corepython3.8+ (typing.ProtocolNew in version 3.8.)featurecodeinline example docunit teste2e testaccount login✅✅✅✅submit code✅✅✅❌submission websocket✅✅✅❌my submission page✅✅❌❌contest register✅✅❌✅contest list✅✅✅❌contest meta✅✅✅❌contest standing(common/friends)✅✅✅❌problems✅✅✅❌specific problem✅✅✅❌language list✅✅✅❌pid/url parser✅✅❌❌domain 2 ip dig tool❌❌❌❌DocsUserDeveloper
Package: yxspkg_songzgif
SongZ GIF is a GUI to make gif based on pyqt5, moviepy, imageio, scipy.misc and numpy.The full documentation for API can be found here.InstallationTo get the latest version:$ python -m pip install yxspkg_songzgif –userUsageTo start with the module:$ python -m yxspkg_songzgif.gifSupportIf you have any questions or comments please send an email toblacksong@yeah.net
Package: yxytmtoolP
yxy-tm-pip-tools工具集合安装(Python 版本>=3.8.0)pip install --upgrade yxytmtoolP使用发送邮件from tmtool.tools import Tool
tool = Tool()

tool.mail_from_user_host = '发件地址host'
tool.mail_from_user = '发件人邮箱号'
tool.mail_from_user_pwd = '发件人密码'

tool.send_mail_msg(to_user='收件人邮箱地址（这里是列表，可填写多个）', title='邮件标题', content='邮件内容')
Package: yy
===========================pytodos===========================Command line lightweight todos... image:: https://travis-ci.org/chuanwu/PyTodos.svg?branch=master.. image:: https://badge.fury.io/py/pytodos.svg:target: https://badge.fury.io/py/pytodosInstall::pip install pytodosUsage::add: 增加任务list: 显示未完成的任务以及一个礼拜以内处理完的任务listall：显示未完成的任务以及处理完的所有任务got x: x表示未完成任务的编号，将其标记为完成.. image:: https://ooo.0o0.ooo/2017/04/19/58f729d498fa7.pngAttention::文件保存在/tmp/data.txt，请注意不要误删了，否则您的数据会丢失。
Package: yyafl
Yann’s Yet Another Form Library is a web form validtion and metadata library.
Inspired heavily by Django newforms, yyafl is a partial-reimplementation and
adaptation of the ‘newforms’ library to exist outside of the Django
infastructure, letting it be used in other frameworks, such as CherryPy and
Pylons. Forms are created as a special class of domain object, which can then be
validated and data extracted, and upon encountering errors, allow the form to be
regenerated in HTML for the user’s viewing.YYAFL believes in the separation of style from content, and as such is designed
to be used
in several different popular templating systems such as Mako and Cheetah, by
allowing much of the layout work to be done in the templating system. If you
wish to generate more generic, yet still flexible forms, yyafl has support for
decorators (Python classes and callables) which are applied when rendering a
form as HTML,
compatible with basic template callable methods.
Package: yydict
YYDictYYDictcan convert a normal dictionary into a property dictionary.YYDictis a module that exposes a dictionary subclass that allows items to be set like attributes.
Values are gettable and settable using both attribute and item syntax.YYDict可以将普通字典转换为属性字典。YYDict是一个模块，它公开了一个dictionary子类，允许像设置属性一样设置项。
使用属性和项语法，值是可获取和可设置的。INSTALLYYDict安装也非常方便,只要使用pip 工具即可.pipinstallyydictUSAGEHOW TO USE THE YYDict ?YYDict 使用起来非常方便,可以使用obj.xxx来访问字典中对应的key, 对于字典中的key可以通过访问属性的方式进行访问.fromyydictimportYYDict>>>data={'foo':3,'bar':{'x':1,'y':2}}...d=YYDict(data)>>>>>>d.foo3>>>d.bar{'x':1,'y':2}>>>d.bar.x1>>>d.bar.y2>>>d.aaaTraceback(mostrecentcalllast):...AttributeError:'YYDict'objecthasnoattribute'aaa'>>># 转成 常规的词典>>>regular=d.to_dict()>>>regular{'foo':3,'bar':{'x':1,'y':2}}>>>data{'foo':3,'bar':{'x':1,'y':2}}>>>data==regularTrue>>>dataisregularFalse>>>type(data),type(regular)(<class'dict'>, <class 'dict'>)>>>d=YYDict({'foo':3})>>>d['foo']3>>>d.foo3>>>d.barTraceback(mostrecentcalllast):...AttributeError:'YYDict'objecthasnoattribute'bar'Worksrecursively>>>d=YYDict({'foo':3,'bar':{'x':1,'y':2}})>>>isinstance(d.bar,dict)True>>>d.bar.x1Bullet-proof>>>YYDict({}){}>>>YYDict(d={}){}>>>YYDict(None){}>>>d={'a':1}>>>YYDict(**d){'a':1}>>>YYDict((('a',1),('b',2))){'a':1,'b':2}Setattributes>>>d=YYDict()>>>d.foo=3>>>d.foo3>>>d.bar={'prop':'value'}>>>d.bar.prop'value'>>>d{'foo':3,'bar':{'prop':'value'}}>>>d.bar.prop='newer'>>>d.bar.prop'newer'>>># Values extraction>>>d=YYDict({'foo':0,'bar':[{'x':1,'y':2},{'x':3,'y':4}]})>>>isinstance(d.bar,list)True>>>fromoperatorimportattrgetter>>>list(map(attrgetter('x'),d.bar))[1,3]>>>list(map(attrgetter('y'),d.bar))[2,4]>>>d=YYDict()>>>list(d.keys())[]>>>d=YYDict(foo=3,bar=dict(x=1,y=2))>>>d.foo3>>>d.bar.x1Stilllikeadictthough>>>o=YYDict({'clean':True})>>>list(o.items())[('clean',True)]Andlikeaclass>>>classFlower(YYDict):...power=1...mean={}...color={"r":100,"g":0,"b":0}...>>>f=Flower()>>>f.power1>>>f.color.r100>>>f.mean.x=10>>>f.mean.x10>>>f=Flower({'height':12})>>>f.height12>>>f['power']1>>>sorted(f.keys())['color','height','mean','power']updateandpopitems>>>d=YYDict(a=1,b='2')>>>e=YYDict(c=3.0,a=9.0)>>>d.update(e)>>>d.c3.0>>>d['c']3.0>>>d.get('c')3.0>>>d.update(a=4,b=4)>>>d.b4>>>d.pop('a')4>>>d.aTraceback(mostrecentcalllast):...AttributeError:'YYDict'objecthasnoattribute'a'Similar toolsTreeDict, a fast
and full-featured dict-like tree container.addicteasydictCHANGELOG0.0.1 (2023-12-09)first version0.0.2 (2023-12-21)fix setting not allow setting keys,values problem.For more info check out the README athttps://gitee.com/changyubiao/yydict.
Package: yyets
YYeTsBot人人影视bot，戳我使用人人影视分享站，戳我使用机器人和网站由我长期维护，如果遇到问题可以提issue。👉 前端在这里👈使用说明直接发送想要看的剧集名称就可以了，可选分享网页或者链接（ed2k和磁力链接）。支持字幕侠、人人影视离线资源搜索资源时，会按照我预定的优先级（人人影视离线、字幕侠）进行搜索，当然也可以使用命令强制某个字幕组，如/yyets_offline 逃避可耻由于译名的不同，建议输入部分译名，然后从列表中进行选择。比如说想看权力的游戏第四季，那么直接搜索"权力的游戏"就可以了。命令start - 开始使用
help - 帮助
credits - 致谢
ping - 运行状态
settings - 获取公告
zimuxia_online - 字幕侠在线数据  
newzmz_online - new字幕组在线数据 
yyets_offline - 人人影视离线数据截图常规搜索资源分享站截图本网站永久免费，并且没有任何限制。支持收藏功能，会跨设备同步指定字幕组搜索目前只支持YYeTsOffline、ZimuxiaOnline和NewzmzOnline如何下载磁力和电驴资源？迅雷提示资源敏感电驴资源请下载使用eMule，然后添加如下两个server listserver.metserver list for emule速度还可以哦磁力使用百度网盘、115等离线，或使用utorrent等工具，记得更新下tracker list哦小白使用想要自己留一份资源，但是又不懂编程？ 没关系！目前提供两种方式，请根据自己情况选择
“离线使用” 意味着可以断网使用，但是不会自动更新资源，需要手动更新数据库；“在线应用” 意味着需要有互联网才可以使用。离线  完整运行包这个版本是新的UI，拥有全部的最新功能。运行在你本地的电脑上，不依赖外界环境。参考文档离线  一键运行包一键运行包。拥有比较新的UI，只不过只有最基础的搜索、查看资源的功能。使用方法步骤如下请到GitHub Release，找最新的YYeTsBot 离线一键运行包windows：双击第一步下载的exe文件； macos/Linux，cd到你的目录,chmod +x yyetsweb ; ./yyetsweb程序会自动下载数据库并启动。等到出现启动提示时， 打开浏览器http://127.0.0.1:8888就可以看到熟悉的搜索界面啦！在线 原生应用程序使用tauri封装的网页。内容等同于https://yyets.dmesg.app，只不过是原生的App。使用方法如下请到GitHub Release，找最新的YYeTsBot Appwindows下载msi，macos下载dmg或tar.gz，Linux下载AppImage或deb（Debian based）安装后，打开App，就可以看到熟悉的搜索界面啦！开发网站开发如何部署、参与开发、具体API接口，可以参考这个文档Python Library也可以作为Python Library去调用pip3 install yyets>>> from yyets import YYeTs
>>> yy=YYeTs("逃避")
[2021-09-21 19:22:32 __init__.py:54 I] Fetching 逃避可耻却有用...https://yyets.dmesg.app/api/resource?id=34812
[2021-09-21 19:22:33 __init__.py:54 I] Fetching 无法逃避...https://yyets.dmesg.app/api/resource?id=29540
[2021-09-21 19:22:35 __init__.py:54 I] Fetching 逃避者...https://yyets.dmesg.app/api/resource?id=37089

>>> yy.result
[<yyets.Resource object at 0x10cc7b130>, <yyets.Resource object at 0x10ca0e880>, <yyets.Resource object at 0x10cc7b040>]

>>> for y in yy.result:
        print(y)
    
逃避可耻却有用 - NIGERUHA HAJIDAGA YAKUNITATSU
无法逃避 - Inescapable
逃避者 - Shirkers

>>> yy.result[0].cnname
'逃避可耻却有用'

>>> yy.result[0].list
[{'season_num': '101', 'season_cn': '单剧', 'items': {'APP': [{'iteCredits人人影视追新番FIX字幕侠new字幕组支持我觉得本项目对你有帮助？你可以通过以下方式表达你的感受：感谢字幕组点一个star🌟和fork🍴宣传，使用，提交问题报告收藏我的博客Telegram Channel捐助我，给我买杯咖啡？捐助我，爱发电？捐助我，GitHub Sponsor捐助我，Stripe感谢感谢所有支持本项目的人！LicenseMIT
Package: yyimg
Introductionyyimg is a high-level image-processing tool, written in Python and usingOpenCVas backbend. This repo helps you with processing images for your deep learning projects.InstallationCommands to install from pip or download the source code from our websitehttps://pypi.org/project/yyimg$ pip3 install yyimg==1.0.0rcExample UseageTake one image in Kitti dataset for example:importyyimgfromPILimportImageimage,boxes,classes=yyimg.load_data()ItemsDescriptionimagea numpy array of shape (height, width, #channels)boxesa numpy array of shape (N, 5), representing N 2Dboxes of[class_index, xmin, ymin, xmax, ymax]classesa list of class namesprint(classes)['Car','Truck','Van','Pedestrian']visualize 2D boxesdraw_image=yyimg.draw_2Dbox(image,boxes,class_category=classes)draw_image=cv2.cvtColor(draw_image,cv2.COLOR_BGR2RGB)# BGR -> RGBImage.fromarray(draw_image).show()data augmentation- horizontal_flipwith 2D bounding boxes:aug_image,boxes=yyimg.horizontal_flip(image,boxes)without 2D bounding boxes:aug_image=yyimg.horizontal_flip(image)- add_rainaug_image=yyimg.add_rain(image)- shift_gamaaug_image=yyimg.shift_gamma(image)- shift_brightnessaug_image=yyimg.shift_brightness(image)- shift_coloraug_image=yyimg.shift_color(image)
Package: yypget
yypgetFor my beautiful baby Teacher Yang.@#@@@#######&&#######@@@@@@@@@###@@@@&%!%@@$@@&&########@############@@@@@@####@@&%!$@@%@###@##############@####@&##@@@#@##@@$||$@@%#######################@@@&&@@@@@@@@@@$|&@@$&@@@#@@###@@##############@&$&&&&&&@&@@$&#@$%$#####@@######@#########@@@&$$%|%$&@&&@@@@$###@@################@@#@@&&$$$|!|&&@#@&@@#$@@@@@@@############@#@&&&$&@@@&%;:!&#@@&@##$&@$%@####&&####@@@@&&&&&&&&$|!:'''!@@@&&@@@$@@@@########@||&&@&%%%||%$$@$%!'``!@@&$$&@@%&@@##@######@!:;!%%||;'`:!||;`...`!@@&%%$&&%@&&&&@@#####@!:'''::;'.  .''``.. `%@&$%$!';!#@&@#########$:::':!;'..```````.!#@&%$&&&&%##@&@####$&###$;::!;:'. .':'```.;@@&%$@@@@&%###############$;;!||;''`..```.:@#&$|$##@@@$@###############@|!%$%|||;'`.`|##$%|%@#@#@@%@@@@@@@@@#########@%|%||!;;:%##@$$%|$&@@@@@$&&&&&&&&&@##########@|!;:;|&@#@%|$@@@&%||&#$&&&&&@@@@@##########@$|!!!|%@@@$!|@#@!''`. :&&&&&&&&@@########@$|!;!!!||$@###@$|!;!!:``:$@&&&&&&&@########@%;;;;::':''````;!;|!;''`:!@&&&&&$&@#######@%|!;::::'::''`':::;!;::'`:'$&$$&&&@@######@%!;::::'''''''':'':!::;:'':.|&$$$$$&@#####&%!':':::'''''';:`'':;;::::';:&&$$$$&@####&%!:''':'''''''::'''';;;;;;::;.|@&$%$&&##@&%!!!:::::'''';:''`:'':;;;;;;;;:$&&$%&&@@$%%|:;|::;;;::``':``'':::!!!|!!!`|&&$%%%&@$%|;:'``':'':``''``''`':;!!||||!:$&&$%$&&@%!!:'``'::``'''`````':;;;!;:;;;InstallationPrerequisitesThe following dependencies are required and must be installed separately.Python 3Install via pip$pip3installyypgetUpgrading$pip3install--upgradeyypgetSupported SitesVideoSiteURLVideo好看视频https://sv.baidu.com/*搜狐视频https://tv.sohu.com/*DocumentSiteURLDOCTXTPPTPDF百度文库https://wenku.baidu.com/**