Git Product home page Git Product logo

nonebot_plugin_picsearcher's Introduction

nonebot_plugin_picsearcher

pypi implementation wheel python license

功能

  • 从各个接口查找色图来源,目前支持ascii2d exhentai iqdb saucenao trace.moe

开始使用

建议必须使用 pip

  • 通过 pip 从 PyPI 安装
pip install nonebot-plugin-picsearcher
  • 在 nonebot2 项目中设置 load_plugin()
nonebot.load_plugin('nonebot_plugin_picsearcher')
  • 参照下文在 nonebot2 项目的环境文件 .env.* 中添加配置项
  • 使用时at搜图即可

配置项

由于exhentai的接口需要cookie以及fq,因此需要在配置文件 中加入如下选项,没有设置COOKIE时会回退到eh有些loli本就搜不到了

EX_COOKIE=XXXXX
PROXY=XXXX  # type: str e.g. PROXY=http://127.0.0.1:8889
SEARCH_LIMIT=2  # 搜索结果数量限制 防刷屏
RISK_CONTROL=true # 风控模式 启动后会使用合并转发 只有gocq有实现
RECORD_PRIORITY=99 # 记录上一张图片matcher的优先级,与 上一张 命令有关

更新日志

  • v0.1.4

    • 修复了formdata手动改库的问题,改为就地hook aiohttp
    • yandex搜图
  • v0.1.5rc1

    • 加入可选的search_limit配置项,确认一次搜索的显示结果数量,默认2
    • 加入可选的proxy选项
  • v0.1.6rc1

    • 手残的代价(
  • v0.1.6rc2

    • 支持nb2.beta1, 需要onebot adapter
  • v0.1.7

    • 支持beta2
  • v0.1.11rc1

下一阶段目标

  • Yandex? Maybe

特别感谢

优化建议

可以来抓更多网站的接口or汇报bug or pr

nonebot_plugin_picsearcher's People

Contributors

black201 avatar lgc2333 avatar sourcery-ai-bot avatar synodriver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

nonebot_plugin_picsearcher's Issues

关于在配置文件中添加apikey

大佬好,我参照说明魔改了formdata.py,但是只有assii2d能用,是还需要添加其他搜图网站的apikey吗,请问获得apikey后填写的格式是什么?

报错,参数错误

09-20 21:38:41 [INFO] nonebot | Event will be handled by <Matcher from nonebot_plugin_picsearcher, type=message, priority=0, temp=True>
/home/beyond/qqbot/qqbotpy/lib/python3.10/site-packages/aiohttp/connector.py:905: RuntimeWarning: An HTTPS request is being sent through an HTTPS proxy. This support for TLS in TLS is known to be disabled in the stdlib asyncio. This is why you'll probably see an error in the log below.

It is possible to enable it via monkeypatching under Python 3.7 or higher. For more details, see:

You can temporarily patch this as follows:

在提示中给出了一些“解决方案”,看起来要修改调用了aiohttp的某些语句,但不知具体如何应用。

我是用的代理是v2ray
proxy设置为socks5://127.0.0.1:10808

插件如何使用?

大佬,我@机器人然后搜图他说参数不正确,可是我也没看到别的使用说明啊

trace.moe返回的数据格式发生的变化

新的格式里anilist只有id了,还有trace.py line 60 的FormData错误用成了aiohttp原版的
{
"anilist": 20740,
"filename": "[HYSUB]Yamada-kun to 7-nin no Majo[OAD][01][BIG5_MP4][1024X576].mp4",
"episode": 1,
"from": 360.33,
"to": 363.17,
"similarity": 0.8345495133319203,
"video": "https://media.trace.moe/video/20740/%5BHYSUB%5DYamada-kun%20to%207-nin%20no%20Majo%5BOAD%5D%5B01%5D%5BBIG5_MP4%5D%5B1024X576%5D.mp4?t=361.75&token=zrW69bECSDUNg9vQ7MRP02jU",
"image": "https://media.trace.moe/image/20740/%5BHYSUB%5DYamada-kun%20to%207-nin%20no%20Majo%5BOAD%5D%5B01%5D%5BBIG5_MP4%5D%5B1024X576%5D.mp4?t=361.75&token=zrW69bECSDUNg9vQ7MRP02jU"
}

求助

image
L)JFT8)_TF4XLMP%29ZO1M3
FJ6AE{ZE%FTVIN3{Z5VDE~3
请问大佬代码没报错为什么这里会报错啊
image
这个是报错信息
Traceback (most recent call last):
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 83, in get_setu
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 83, in
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 35, in get_des
async for msg in get_des_ex(url):
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_plugin_picsearcher\ex.py", line 99, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\nonebot_plugin_picsearcher\ex.py", line 74, in get_pic_from_url
async with session.post(target, data=data, headers=headers, proxy=proxy) as res:
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client.py", line 1138, in aenter
self._resp = await self._coro
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client.py", line 535, in _request
conn = await self._connector.connect(
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\connector.py", line 905, in _create_connection
_, proto = await self._create_proxy_connection(req, traces, timeout)
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\connector.py", line 1221, in _create_proxy_connection
proxy_req = ClientRequest(
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client_reqrep.py", line 305, in init
self.update_host(url)
File "C:\Users\wdnmd_10108523518376\AppData\Local\Programs\Python\Python39\lib\site-packages\aiohttp\client_reqrep.py", line 366, in update_host
raise InvalidURL(url)
aiohttp.client_exceptions.InvalidURL: XXXX

报错

群里任意发一张图就会触发这个插件然后报错,不固定触发,也没发搜图den等关键词
image

下载picsearcher后无法处理图片

问题:搜索图片后控制台可以抓到”搜“但无图片返回

排查:当启动该插件时周期性提示:
Task exception was never retrieved
future: <Task finished name='Task-84' coro=<Bot.handle_event() done, defined at C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\adapters\onebot\v11\bot.py:186> exception=TypeError("'<' not supported between instances of 'str' and 'int'")>
Traceback (most recent call last):
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\adapters\onebot\v11\bot.py", line 193, in handle_event
await handle_event(self, event)
File "C:\Users\user\AppData\Local\Programs\Python\Python310\lib\site-packages\nonebot\message.py", line 288, in handle_event
for priority in sorted(matchers.keys()):
TypeError: '<' not supported between instances of 'str' and 'int'

环境操作如下:已pip install Brotli ,pip install nonebot-plugin-picsearcher 设置配置项,未在 nonebot2 项目中设置 load_plugin()(设置后会提示已存在不需要)

搜图用ex报错乱码,开了香港代理全局模式

1、是不知道ex_cookie=后面填什么

image
易北. bot 10:07:26
参数错误

易北. bot 10:07:26
Traceback (most recent call last):
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\connector.py", line 969, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore # noqa
File "c:\users\administrator\appdata\local\programs\python\python38\lib\asyncio\base_events.py", line 1050, in create_connection
transport, protocol = await self._create_connection_transport(
File "c:\users\administrator\appdata\local\programs\python\python38\lib\asyncio\base_events.py", line 1080, in _create_connection_transport
await waiter
File "c:\users\administrator\appdata\local\programs\python\python38\lib\asyncio\sslproto.py", line 529, in data_received
ssldata, appdata = self._sslpipe.feed_ssldata(data)
File "c:\users\administrator\appdata\local\programs\python\python38\lib\asyncio\sslproto.py", line 189, in feed_ssldata
self._sslobj.do_handshake()
File "c:\users\administrator\appdata\local\programs\python\python38\lib\ssl.py", line 944, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Program Files\zhenxun_bot-0.1.5.3\my_plugins\picsearcher_init_.py", line 86, in get_setu
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "C:\Program Files\zhenxun_bot-0.1.5.3\my_plugins\picsearcher_init_.py", line 86, in
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "C:\Program Files\zhenxun_bot-0.1.5.3\my_plugins\picsearcher_init_.py", line 38, in get_des
async for msg in get_des_ex(url):
File "C:\Program Files\zhenxun_bot-0.1.5.3\my_plugins\picsearcher\ex.py", line 99, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "C:\Program Files\zhenxun_bot-0.1.5.3\my_plugins\picsearcher\ex.py", line 74, in get_pic_from_url
async with session.post(target, data=data, headers=headers, proxy=proxy) as res:
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\client.py", line 1117, in aenter
self._resp = await self._coro
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\client.py", line 520, in _request
conn = await self._connector.connect(
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\connector.py", line 535, in connect
proto = await self._create_connection(req, traces, timeout)
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\connector.py", line 890, in _create_connection
_, proto = await self._create_proxy_connection(req, traces, timeout)
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\connector.py", line 1139, in _create_proxy_connection
transport, proto = await self._wrap_create_connection(
File "C:\Users\Administrator\AppData\Local\pypoetry\Cache\virtualenvs\zhenxun-bot-C596GTka-py3.8\lib\site-packages\aiohttp\connector.py", line 971, in _wrap_create_connection
raise ClientConnectorCertificateError(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientConnectorCertificateError: Cannot connect to host upld.e-hentai.org:443 ssl:True [SSLCertVerificationError: (1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1131)')]

私聊可以正常使用,群聊使用就会报错

只有群聊使用会报这个错误
08-29 18:41:14 [ERROR] nonebot | Running matcher <Matcher from nonebot_plugin_picsearcher, type=message, priority=0, temp=True> failed.
Traceback (most recent call last):
File "", line 1, in
File "D:\python\lib\multiprocessing\spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "D:\python\lib\multiprocessing\spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "D:\python\lib\multiprocessing\process.py", line 314, in _bootstrap
self.run()
File "D:\python\lib\multiprocessing\process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "D:\python\lib\site-packages\uvicorn_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "D:\python\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "D:\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\python\lib\asyncio\base_events.py", line 633, in run_until_complete
self.run_forever()
File "D:\python\lib\asyncio\base_events.py", line 600, in run_forever
self._run_once()
File "D:\python\lib\asyncio\base_events.py", line 1896, in _run_once
handle._run()
File "D:\python\lib\asyncio\events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\python\lib\site-packages\nonebot\message.py", line 146, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "D:\python\lib\site-packages\nonebot\message.py", line 196, in run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 672, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 639, in simple_run
await handler(
File "D:\python\lib\site-packages\nonebot\dependencies_init
.py", line 92, in call
return await self.call(**values)
File "D:\python\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 85, in get_setu
msgs: Message = sum(
File "D:\python\lib\site-packages\nonebot\adapters\onebot\v11\message.py", line 284, in radd
return super(Message, self).radd(
File "D:\python\lib\site-packages\nonebot\internal\adapter\message.py", line 178, in radd
result = self.class(other)
File "D:\python\lib\site-packages\nonebot\internal\adapter\message.py", line 117, in init
self.extend(self._construct(message)) # pragma: no cover
File "D:\python\lib\site-packages\nonebot\internal\adapter\message.py", line 311, in extend
for segment in obj:
File "D:\python\lib\site-packages\nonebot\adapters\onebot\v11\message.py", line 313, in construct
for type
, data in _iter_message(msg):
File "D:\python\lib\site-packages\nonebot\adapters\onebot\v11\message.py", line 301, in _iter_message
for cqcode in re.finditer(
File "D:\python\lib\re.py", line 247, in finditer
return _compile(pattern, flags).finditer(string)
TypeError: expected string or bytes-like object

关于EX_COOKIE的问题

请问我是应该设置为E站的ipb_pass_hash还是应该以字符串的形式将ipb_member_id , igneous , ipb_pass_hash均设置进去 .
我现在使用的是ipb_pass_hash . 但是经过我个人的测试返回值均为 " 找不到高相似度的 " .
我看了您和其他人的BUG讨论 , 并了解到了https://e-hentai.org/?f_shash=nofile&fs_from=
然后我使用相同图片搜索得到结果 .

刚接触nonebot 有些问题想请教一下

在 nonebot2 项目中设置 load_plugin()
nonebot.load_plugin('nonebot_plugin_picsearcher')

这句话是什么意思,我不理解
E站没去过,这边挂了v也进不去,听说还有表里站?求指引

e站搜索失效

手动能搜到,但是bot搜索不到
给出env的设置,希望能帮忙康康

HOST=127.0.0.1
PORT=8073
SECRET=
ACCESS_TOKEN=
COMMAND_START=["/",""]
COMMAND_SEP=["."]
NICKNAME=["awesome", "bot"]
APSCHEDULER_AUTOSTART=true
APSCHEDULER_CONFIG={"apscheduler.timezone": "Asia/Shanghai"}

EX_COOKIE='"domain": ".e-hentai.org", "expiry": 1668497998, "httpOnly": false, "name": "sk", "path": "/", "secure": false, "value": "54azub075xa1furqmeh6hn67qzb9"}, {"domain": ".e-hentai.org", "httpOnly": false, "name": "ipb_session_id", "path": "/", "secure": false, "value": "c02cfd65f53eb2a0fecc2e292bd2be37"}, {"domain": ".e-hentai.org", "expiry": 1668497996, "httpOnly": false, "name": "ipb_pass_hash", "path": "/", "secure": false, "value": "702680826f91a819da80b61be152e9d7"}, {"domain": ".e-hentai.org", "expiry": 1668497996, "httpOnly": false, "name": "ipb_member_id", "path": "/", "secure": false, "value": "5778116"'
PROXY=http://127.0.0.1:7890 # type: str e.g. PROXY=http://127.0.0.1:8889
SEARCH_LIMIT=2 # 搜索限制 防刷屏
RISK_CONTROL=true # 风控模式 启动后会使用合并转发 只有gocq有实现

Connect call failed咋处理

Traceback (most recent call last):
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 986, in _wrap_create_connection
return await self._loop.create_connection(*args, **kwargs) # type: ignore[return-value] # noqa
File "D:\Python310\lib\asyncio\base_events.py", line 1076, in create_connection
raise exceptions[0]
File "D:\Python310\lib\asyncio\base_events.py", line 1060, in create_connection
sock = await self._connect_sock(
File "D:\Python310\lib\asyncio\base_events.py", line 969, in _connect_sock
await self.sock_connect(sock, address)
File "D:\Python310\lib\asyncio\selector_events.py", line 501, in sock_connect
return await fut
File "D:\Python310\lib\asyncio\selector_events.py", line 541, in _sock_connect_cb
raise OSError(err, f'Connect call failed {address}')
ConnectionRefusedError: [Errno 10061] Connect call failed ('127.0.0.1', 1080)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\Python310\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 83, in get_setu
async for msg in limiter(get_des(url, mod), getattr(bot.config, "search_limit", None) or 2):
File "D:\Python310\lib\site-packages\nonebot_plugin_picsearcher\utils.py", line 9, in limiter
yield await gen.asend(None)
File "D:\Python310\lib\site-packages\nonebot_plugin_picsearcher_init_.py", line 51, in get_des
async for msg in get_des_sau(url):
File "D:\Python310\lib\site-packages\nonebot_plugin_picsearcher\saucenao.py", line 84, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "D:\Python310\lib\site-packages\nonebot_plugin_picsearcher\saucenao.py", line 77, in get_pic_from_url
async with session.post("https://saucenao.com/search.php", data=data, headers=header, proxy=proxy) as res:
File "D:\Python310\lib\site-packages\aiohttp\client.py", line 1138, in aenter
self._resp = await self._coro
File "D:\Python310\lib\site-packages\aiohttp\client.py", line 535, in _request
conn = await self._connector.connect(
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 905, in _create_connection
_, proto = await self._create_proxy_connection(req, traces, timeout)
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 1231, in _create_proxy_connection
transport, proto = await self._create_direct_connection(
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 1206, in _create_direct_connection
raise last_exc
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 1175, in _create_direct_connection
transp, proto = await self._wrap_create_connection(
File "D:\Python310\lib\site-packages\aiohttp\connector.py", line 992, in _wrap_create_connection
raise client_error(req.connection_key, exc) from exc
aiohttp.client_exceptions.ClientProxyConnectionError: Cannot connect to host 127.0.0.1:1080 ssl:default [Connect call failed ('127.0.0.1', 1080)]
这个报错咋处理呢

转换CQ码出现错误,trace报错

使用的是nb plugin安装
CQ码报错
image
搜图只有ex,nao,yandex,iqdb,ascii2d(起码没有报错),
使用trace时报错
image

顺便问一下,没有图片返回是正常的吗
image

env配置如下

HOST=127.0.0.1
PORT=8080
LOG_LEVEL=DEBUG
FASTAPI_RELOAD=false
command_start=[""]

EX_COOKIE=XXXXX
PROXY=http://127.0.0.1:1082 # type: str e.g. PROXY=http://127.0.0.1:8889
SEARCH_LIMIT=3 # 搜索限制 防刷屏
RISK_CONTROL=true # 风控模式 启动后会使用合并转发 只有gocq有实现
RECORD_PRIORITY=99 # 记录上一张图片matcher的优先级,与 上一张 命令有关

无法加载插件

如题,pip安装后提示找不到插件?

05-20 17:25:17 [SUCCESS] nonebot | Succeeded to import "nonebot.plugins.echo"
05-20 17:25:17 [ERROR] nonebot | Failed to import "nonebot_plugin_picsearcher"
Traceback (most recent call last):
File "c:\program files\python\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "c:\program files\python\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Program Files\python\Scripts\nb.exe_main
.py", line 7, in

sys.exit(main())

File "c:\program files\python\lib\site-packages\click\core.py", line 1130, in
call
return self.main(*args, **kwargs)
File "c:\program files\python\lib\site-packages\click\core.py", line 1055, in
main
rv = self.invoke(ctx)
File "c:\program files\python\lib\site-packages\click\core.py", line 1657, in
invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "c:\program files\python\lib\site-packages\click\core.py", line 1404, in
invoke
return ctx.invoke(self.callback, **ctx.params)
File "c:\program files\python\lib\site-packages\click\core.py", line 760, in i
nvoke
return callback(*args, **kwargs)
File "c:\program files\python\lib\site-packages\nb_cli\commands\main.py", line
30, in run
run_bot(file, app)
File "c:\program files\python\lib\site-packages\nb_cli\handlers\deploy.py", li
ne 19, in run_bot
module = importlib.import_module(module_name)
File "c:\program files\python\lib\importlib_init
.py", line 127, in import

module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File ".\bot.py", line 27, in
nonebot.load_from_toml("pyproject.toml")
File "c:\program files\python\lib\site-packages\nonebot\plugin\load.py", line
119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "c:\program files\python\lib\site-packages\nonebot\plugin\load.py", line
53, in load_all_plugins
return manager.load_all_plugins()
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 128, in load_all_plugins
return set(
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 129, in
filter(None, (self.load_plugin(name) for name in self.list_plugins()))

File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 104, in load_plugin
module = importlib.import_module(name)
File "c:\program files\python\lib\importlib_init_.py", line 127, in import_
module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 194, in exec_module
super().exec_module(module)
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "c:\program files\python\lib\site-packages\nonebot_plugin_picsearcher_i
nit
.py", line 15, in
from .ex import get_des as get_des_ex
File "c:\program files\python\lib\site-packages\nonebot_plugin_picsearcher\ex.
py", line 15, in
cookie: str = driver.config.ex_cookie
AttributeError: 'Config' object has no attribute 'ex_cookie'
05-20 17:25:17 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_apschedul
er"
05-20 17:25:17 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_setu_now"

05-20 17:25:17 [SUCCESS] nonebot | Running NoneBot...
05-20 17:25:17 [DEBUG] nonebot | Loaded adapters: OneBot V11
05-20 17:25:17 [INFO] uvicorn | Will watch for changes in these directories: ['C
:\Users\Administrator\Desktop\Kokoro']
05-20 17:25:17 [INFO] uvicorn | Uvicorn running on http://127.0.0.1:8080 (Press
CTRL+C to quit)
05-20 17:25:17 [INFO] uvicorn | Started reloader process [8500] using watchgod
05-20 17:25:18 [WARNING] uvicorn | The --reload flag should not be used in produ
ction on Windows.
05-20 17:25:18 [SUCCESS] nonebot | NoneBot is initializing...
05-20 17:25:18 [INFO] nonebot | Current Env: dev
05-20 17:25:18 [DEBUG] nonebot | Loaded Config: {'driver': '~fastapi', 'host': I
Pv4Address('127.0.0.1'), 'port': 8080, 'log_level': 'DEBUG', 'api_timeout': 30.0
, 'superusers': {'1354961639'}, 'nickname': {'可可萝'}, 'command_start': {'/'},
'command_sep': {'.'}, 'session_expire_timeout': datetime.timedelta(seconds=120),
'search_limit': 2, 'risk_control': True, 'record_priority': 99, 'fastapi_reload
': True, 'environment': 'dev'}
05-20 17:25:18 [DEBUG] nonebot | Succeeded to load adapter "OneBot V11"
05-20 17:25:18 [SUCCESS] nonebot | Succeeded to import "nonebot.plugins.echo"
05-20 17:25:18 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_apschedul
er"
05-20 17:25:18 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_setu_now"

05-20 17:25:18 [ERROR] nonebot | Failed to import "nonebot_plugin_picsearcher"
Traceback (most recent call last):
File "", line 1, in
File "c:\program files\python\lib\multiprocessing\spawn.py", line 116, in spaw
n_main
exitcode = _main(fd, parent_sentinel)
File "c:\program files\python\lib\multiprocessing\spawn.py", line 129, in _mai
n
return self._bootstrap(parent_sentinel)
File "c:\program files\python\lib\multiprocessing\process.py", line 315, in _b
ootstrap
self.run()
File "c:\program files\python\lib\multiprocessing\process.py", line 108, in ru
n
self._target(*self._args, **self._kwargs)
File "c:\program files\python\lib\site-packages\uvicorn\subprocess.py", line 7
6, in subprocess_started
target(sockets=sockets)
File "c:\program files\python\lib\site-packages\uvicorn\server.py", line 60, i
n run
return asyncio.run(self.serve(sockets=sockets))
File "c:\program files\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "c:\program files\python\lib\asyncio\base_events.py", line 603, in run_un
til_complete
self.run_forever()
File "c:\program files\python\lib\asyncio\base_events.py", line 570, in run_fo
rever
self._run_once()
File "c:\program files\python\lib\asyncio\base_events.py", line 1859, in run
once
handle._run()
File "c:\program files\python\lib\asyncio\events.py", line 81, in _run
self._context.run(self.callback, *self.args)
File "c:\program files\python\lib\site-packages\uvicorn\server.py", line 67, i
n serve
config.load()
File "c:\program files\python\lib\site-packages\uvicorn\config.py", line 458,
in load
self.loaded_app = import_from_string(self.app)
File "c:\program files\python\lib\site-packages\uvicorn\importer.py", line 21,
in import_from_string
module = importlib.import_module(module_str)
File "c:\program files\python\lib\importlib_init
.py", line 127, in import

module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "", line 783, in exec_module
File "", line 219, in _call_with_frames_removed
File ".\bot.py", line 27, in
nonebot.load_from_toml("pyproject.toml")
File "c:\program files\python\lib\site-packages\nonebot\plugin\load.py", line
119, in load_from_toml
return load_all_plugins(plugins, plugin_dirs)
File "c:\program files\python\lib\site-packages\nonebot\plugin\load.py", line
53, in load_all_plugins
return manager.load_all_plugins()
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 128, in load_all_plugins
return set(
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 129, in
filter(None, (self.load_plugin(name) for name in self.list_plugins()))

File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 104, in load_plugin
module = importlib.import_module(name)
File "c:\program files\python\lib\importlib_init_.py", line 127, in import_
module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1014, in _gcd_import
File "", line 991, in _find_and_load
File "", line 975, in _find_and_load_unlocked
File "", line 671, in _load_unlocked
File "c:\program files\python\lib\site-packages\nonebot\plugin\manager.py", li
ne 194, in exec_module
super().exec_module(module)
File "", line 783, in exec_module
File "", line 219, in call_with_frames_removed
File "c:\program files\python\lib\site-packages\nonebot_plugin_picsearcher_i
nit
.py", line 15, in
from .ex import get_des as get_des_ex
File "c:\program files\python\lib\site-packages\nonebot_plugin_picsearcher\ex.
py", line 15, in
cookie: str = driver.config.ex_cookie
AttributeError: 'Config' object has no attribute 'ex_cookie'
05-20 17:25:18 [INFO] uvicorn | Started server process [4104]
05-20 17:25:18 [INFO] uvicorn | Waiting for application startup.
05-20 17:25:18 [INFO] nonebot_plugin_apscheduler | Scheduler Started
05-20 17:25:18 [INFO] uvicorn | Application startup complete.
05-20 17:25:19 [INFO] uvicorn | ('127.0.0.1', 59364) - "WebSocket /onebot/v11/ws
/" [accepted]

trace搜图无法使用,请问解决办法?

报错信息:
Traceback (most recent call last):
File "bot.py", line 37, in
nonebot.run(app="mp_main:app")
File "D:\python\lib\site-packages\nonebot_init_.py", line 258, in run
get_driver().run(*args, **kwargs)
File "D:\python\lib\site-packages\nonebot\drivers\fastapi.py", line 168, in run
uvicorn.run(
File "D:\python\lib\site-packages\uvicorn\main.py", line 463, in run
server.run()
File "D:\python\lib\site-packages\uvicorn\server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "D:\python\lib\asyncio\runners.py", line 44, in run
return loop.run_until_complete(main)
File "D:\python\lib\asyncio\base_events.py", line 603, in run_until_complete
self.run_forever()
File "D:\python\lib\asyncio\windows_events.py", line 316, in run_forever
super().run_forever()
File "D:\python\lib\asyncio\base_events.py", line 570, in run_forever
self._run_once()
File "D:\python\lib\asyncio\base_events.py", line 1859, in _run_once
handle._run()
File "D:\python\lib\asyncio\events.py", line 81, in _run
self._context.run(self._callback, *self._args)
File "D:\python\lib\site-packages\nonebot\message.py", line 153, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "D:\python\lib\site-packages\nonebot\message.py", line 202, in run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 668, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\python\lib\site-packages\nonebot\internal\matcher.py", line 635, in simple_run
await handler(
File "D:\python\lib\site-packages\nonebot\dependencies_init
.py", line 92, in call
return await self.call(**values)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher_init_.py", line 79, in get_setu
async for msg in limiter(get_des(url, mod), bot.config.search_limit or 2):
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\utils.py", line 9, in limiter
yield await gen.asend(None)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher_init_.py", line 38, in get_des
async for msg in get_des_trace(url):
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\trace.py", line 88, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "D:\python学习\pyqq\qqbots\src\plugins\nonebot_plugin_picsearcher\trace.py", line 73, in get_pic_from_url
data = aiohttp.FormData(boundary="----WebKitFormBoundary9cyjY8YBBN8SGdG4")
TypeError: init() got an unexpected keyword argument 'boundary'

搜图机器人报参数错误

报错如下

Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_picsearcher/init.py", line 83, in get_setu
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_picsearcher/init.py", line 83, in
[msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_picsearcher/init.py", line 35, in get_des
async for msg in get_des_ex(url):
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_picsearcher/ex.py", line 99, in get_des
image_data: List[Tuple] = await get_pic_from_url(url)
File "/usr/local/lib/python3.10/dist-packages/nonebot_plugin_picsearcher/ex.py", line 74, in get_pic_from_url
async with session.post(target, data=data, headers=headers, proxy=proxy) as res:
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 1138, in aenter
self._resp = await self._coro
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client.py", line 535, in _request
conn = await self._connector.connect(
File "/usr/local/lib/python3.10/dist-packages/aiohttp/connector.py", line 542, in connect
proto = await self._create_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/connector.py", line 905, in _create_connection
_, proto = await self._create_proxy_connection(req, traces, timeout)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/connector.py", line 1221, in _create_proxy_connection
proxy_req = ClientRequest(
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client_reqrep.py", line 305, in init
self.update_host(url)
File "/usr/local/lib/python3.10/dist-packages/aiohttp/client_reqrep.py", line 366, in update_host
raise InvalidURL(url)
aiohttp.client_exceptions.InvalidURL: XXXX

项目支持的python版本是?

目前使用的python版本是3.10.7,出现代理错误,请问支持的版本是?
报错代码如下:

Traceback (most recent call last):
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/nonebot_plugin_picsearcher/__init__.py", line 86, in get_setu
    [msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/nonebot_plugin_picsearcher/__init__.py", line 86, in <listcomp>
    [msg if isinstance(msg, Message) else Message(msg) async for msg in get_des(url, mod)])
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/nonebot_plugin_picsearcher/__init__.py", line 47, in get_des
    async for msg in get_des_asc(url):
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/nonebot_plugin_picsearcher/ascii2d.py", line 39, in get_des
    image_data: List[Tuple] = await get_pic_from_url(url)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/nonebot_plugin_picsearcher/ascii2d.py", line 33, in get_pic_from_url
    async with session.get(real_url, proxy=proxy) as resp:
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/client.py", line 1138, in __aenter__
    self._resp = await self._coro
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/client.py", line 535, in _request
    conn = await self._connector.connect(
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/connector.py", line 542, in connect
    proto = await self._create_connection(req, traces, timeout)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/connector.py", line 905, in _create_connection
    _, proto = await self._create_proxy_connection(req, traces, timeout)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/connector.py", line 1221, in _create_proxy_connection
    proxy_req = ClientRequest(
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 305, in __init__
    self.update_host(url)
  File "/root/.pyenv/versions/3.10.7/lib/python3.10/site-packages/aiohttp/client_reqrep.py", line 366, in update_host
    raise InvalidURL(url)
aiohttp.client_exceptions.InvalidURL: #%20type:%20str%20e.g.%20PROXY=http://127.0.0.1:8889

能否考虑增加yandex平台

感觉Yandex的搜图算最好用的了基本上二次元,网图那些基本都能搜到,如果可以的话可以有更好的体验

搜图后出现expected string or bytes-like object报错

大佬,我的配置是这个image,搜图后无论是哪个网站,都会显示如下报错
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python3.9/multiprocessing/spawn.py", line 116, in spawn_main
exitcode = _main(fd, parent_sentinel)
File "/usr/local/lib/python3.9/multiprocessing/spawn.py", line 129, in _main
return self._bootstrap(parent_sentinel)
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 315, in _bootstrap
self.run()
File "/usr/local/lib/python3.9/multiprocessing/process.py", line 108, in run
self._target(*self._args, **self._kwargs)
File "/usr/local/lib/python3.9/site-packages/uvicorn/_subprocess.py", line 76, in subprocess_started
target(sockets=sockets)
File "/usr/local/lib/python3.9/site-packages/uvicorn/server.py", line 60, in run
return asyncio.run(self.serve(sockets=sockets))
File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
return loop.run_until_complete(main)
File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 146, in _check_matcher
await _run_matcher(Matcher, bot, event, state, stack, dependency_cache)

File "/usr/local/lib/python3.9/site-packages/nonebot/message.py", line 196, in _run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 672, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "/usr/local/lib/python3.9/site-packages/nonebot/internal/matcher.py", line 639, in simple_run
await handler(
File "/usr/local/lib/python3.9/site-packages/nonebot/dependencies/init.py", line 92, in call
return await self.call(**values)
File "/usr/local/lib/python3.9/site-packages/nonebot_plugin_picsearcher/init.py", line 85, in get_setu
msgs: Message = sum(
File "/usr/local/lib/python3.9/site-packages/nonebot/adapters/onebot/v11/message.py", line 284, in radd
return super(Message, self).radd(
File "/usr/local/lib/python3.9/site-packages/nonebot/internal/adapter/message.py", line 178, in radd
result = self.class(other)
File "/usr/local/lib/python3.9/site-packages/nonebot/internal/adapter/message.py", line 117, in init
self.extend(self._construct(message)) # pragma: no cover
File "/usr/local/lib/python3.9/site-packages/nonebot/internal/adapter/message.py", line 311, in extend
for segment in obj:
File "/usr/local/lib/python3.9/site-packages/nonebot/adapters/onebot/v11/message.py", line 313, in construct
for type
, data in _iter_message(msg):
File "/usr/local/lib/python3.9/site-packages/nonebot/adapters/onebot/v11/message.py", line 301, in _iter_message
for cqcode in re.finditer(
File "/usr/local/lib/python3.9/re.py", line 248, in finditer
return _compile(pattern, flags).finditer(string)
TypeError: expected string or bytes-like object
大佬能帮忙看看是什么原因吗

调用机器人失败

  • env配置文件:
HOST=0.0.0.0
PORT=8080
EX_COOKIE=
PROXY=
SEARCH_LIMIT=2  # 搜索限制 防刷屏
RISK_CONTROL=true # 风控模式 启动后会使用合并转发 只有gocq有实现
RECORD_PRIORITY=99 # 记录上一张图片matcher的优先级,与 上一张 命令有关
DRIVER=~fastapi
  • nonebot日志:
[root@localhost NSFWBot]# nb run
09-17 23:41:07 [SUCCESS] nonebot | NoneBot is initializing...
09-17 23:41:07 [INFO] nonebot | Current Env: prod
09-17 23:41:08 [SUCCESS] nonebot | Succeeded to import "echo"
09-17 23:41:08 [SUCCESS] nonebot | Succeeded to import "single_session"
09-17 23:41:08 [SUCCESS] nonebot | Succeeded to import "nonebot_plugin_picsearcher"
09-17 23:41:08 [SUCCESS] nonebot | Running NoneBot...
09-17 23:41:08 [INFO] uvicorn | Started server process [19187]
09-17 23:41:08 [INFO] uvicorn | Waiting for application startup.
09-17 23:41:08 [INFO] uvicorn | Application startup complete.
09-17 23:41:08 [INFO] uvicorn | Uvicorn running on http://0.0.0.0:8080 (Press CTRL+C to quit)
09-17 23:41:10 [INFO] uvicorn | ('127.0.0.1', 49762) - "WebSocket /onebot/v12/" [accepted]
09-17 23:41:10 [INFO] nonebot | OneBot V12 | Bot 1026152696 connected
09-17 23:41:10 [INFO] websockets | connection open
  • onebot日志:
[2022-09-17 23:46:02] [INFO]: 收到群 BOT、酷推、Пулемет (601022072) 内 Пулемет РП-46 (2909954314) 的消息: [CQ:at,qq=1026152696] 搜图 (-2088904522) 
  • 看起来似乎是nonebot没有接收到onebot的消息?
  • 应该怎么处理呢?

AttributeError: 'NoneType' object has no attribute 'SendGroupForwardMsgResult'

[PyBot][02:54:28.725][ERROR] [message]Running Matcher(type='message', module=non
ebot_plugin_picsearcher) failed.
Traceback (most recent call last):
File "D:\server\Yunzai\plugins\py-plugin\main.py", line 13, in
nonebot.run(root)
File "D:\server\Yunzai\plugins\py-plugin\nonebot_init_.py", line 56, in run
driver.run([str(x) for x in driver.config.plugins])
File "D:\server\Yunzai\plugins\py-plugin\nonebot\drivers.py", line 48, in run
loop.run_until_complete(self.serve(plugins))
File "C:\Users\tanka\AppData\Local\Programs\Python\Python310\lib\asyncio\base

events.py", line 636, in run_until_complete
self.run_forever()
File "C:\Users\tanka\AppData\Local\Programs\Python\Python310\lib\asyncio\windo
ws_events.py", line 321, in run_forever
super().run_forever()
File "C:\Users\tanka\AppData\Local\Programs\Python\Python310\lib\asyncio\base

events.py", line 603, in run_forever
self.run_once()
File "C:\Users\tanka\AppData\Local\Programs\Python\Python310\lib\asyncio\base

events.py", line 1909, in _run_once
handle._run()
File "C:\Users\tanka\AppData\Local\Programs\Python\Python310\lib\asyncio\event
s.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "D:\server\Yunzai\plugins\py-plugin\nonebot\message.py", line 130, in _ch
eck_matcher
await run_matcher(Matcher, bot, event, state, stack, dependency_cache)
File "D:\server\Yunzai\plugins\py-plugin\nonebot\message.py", line 182, in run_matcher
await matcher.run(bot, event, state, stack, dependency_cache)
File "D:\server\Yunzai\plugins\py-plugin\nonebot\internal\matcher.py", line 721, in run
await self.simple_run(bot, event, state, stack, dependency_cache)
File "D:\server\Yunzai\plugins\py-plugin\nonebot\internal\matcher.py", line 696, in simple_run
await handler(
File "D:\server\Yunzai\plugins\py-plugin\nonebot\dependencies_init
.py", line 83, in call
return await cast(Callable[..., Awaitable[R]], self.call)(**values)
File "C:\Users\tanka\AppData\Local\pypoetry\Cache\virtualenvs\py-plugin-0I-3EAGL-py3.10\lib\site-packages\nonebot_plugin_picsearcher_init
.py", lin
e 89, in get_setu
await bot.send_group_forward_msg(group_id=event.group_id,
File "D:\server\Yunzai\plugins\py-plugin\nonebot\adapters\onebot\v11\bot.py", line 525, in send_group_forward_msg
result: GRPCSendGroupForwardMsgResult = (await self.result_map.get(request_id)).SendGroupForwardMsgResult
AttributeError: 'NoneType' object has no attribute 'SendGroupForwardMsgResult'

所有搜索方式都会这样

搜索报错

YPE T5 T7Q6Y{ZB12$AZFJ9
IS(9PXS0@ N7@95I S7@7
代理和cookie都填好了,搜索后台报错

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.