SaltCat 最近的时间轴更新
SaltCat's repos on GitHub
Python · 50 人关注
richuru
using Rich in Loguru to colour the logs
Python · 25 人关注
Mina
Rust · 23 人关注
barffine
Experimental Rust backend tailored for self-hosted or resource-limited deployments of AFFiNE.
Python · 13 人关注
python-mirai
a backup for python-mirai
JavaScript · 12 人关注
opencode-omit-max-tokens
OpenCode plugin to omit max_output_tokens from API requests
Python · 6 人关注
KnowledgeFruits
This is a pythonic Minecraft Yggdrasil Server, it works with flask and peewee. Have a good time.
JavaScript · 3 人关注
LiteLoaderQQNT-Markdown
为QQ添加Markdown渲染支持; it works on my machine
Shell · 3 人关注
rtwo-restart-sms
A simple magisk/kernelsu module, restart sms service on boot to fix rtwo sms
JavaScript · 2 人关注
GraiaDocument
Python · 2 人关注
mr-cli
1 人关注
ClashX.Meta
TypeScript · 1 人关注
comet-mcp
MCP Server connecting to Perplexity Comet browser
C++ · 1 人关注
cronet-binaries
Cross-platform binaries for cronet (Chromium Network Stack)
Zig · 1 人关注
dart.zig
Dart compiled with Zig
1 人关注
mirai-api-http
Mirai HTTP API (console) plugin
Shell · 1 人关注
moto_sm8550_local_manifests
1 人关注
rejected-github-profile-achievements-zhcn
😵 GitHub achievements that did not make the cut, in SC
Python · 1 人关注
SingingPiano
0 人关注
Action-TWRP-builder
用GitHub工作流构建安卓系统的Recovery
0 人关注
actions_build_ErfanGSIs
2020-04-21 commit了好几次后,终于成功!现在可以按照readme.md使用了!
Python · 0 人关注
aioffsend
a asyncio port of Firefox Send.
Python · 0 人关注
Alconna
A High-performance, Generality, Humane Python CLI Arguments Parser Library. 一个直观的、高性能、泛用的Python命令行参数解析器集成库
Shell · 0 人关注
android-kernel-actions
An action to build an Android kernel with specified toolchains.
0 人关注
Android-Kernel-Builder
Automaticcaly build android kernel by github actions.
0 人关注
arocc
A modern fully featured C compiler.
0 人关注
avilla-tg
The next-gen framework for IM development. Powered by Graia Project.
0 人关注
awesome-pdm
A curated list of awesome PDM plugins and resources
Vue · 0 人关注
BewlyCat
BewlyCat——基于BewlyBewly开发的Bilibili拓展
Java · 0 人关注
BilibiliTask
哔哩哔哩(B站)自动完成每日任务,投币,点赞,直播签到,自动兑换银瓜子为硬币,自动送出即将过期礼物,漫画App签到。
PHP · 0 人关注
blessing-skin-server
A web application brings your custom skins back in offline Minecraft servers.(第三方 Minecraft 皮肤站)
Python · 0 人关注
Bot
Java · 0 人关注
CatServer
Minecraft1.10.2/1.12.2版本的Forge+Bukkit服务端
0 人关注
CatShare
类原生 & 海外设备,现已加入互传联盟。
Pascal · 0 人关注
convnet
Convnet客户端
0 人关注
cpython
The Python programming language
0 人关注
CraftTweaker-Documentation
CraftTweaker 简体中文文档
Python · 0 人关注
cryptography
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers.
Cython · 0 人关注
cython-cronet
0 人关注
cython-hidapi
:snake: Python wrapper for the HIDAPI
0 人关注
dart_sealed
Dart and Flutter sealed class generator and annotations, with match methods and other utilities. There is also super_enum compatible API.
0 人关注
docker-osxcross
MacOSX cross toolchain as Docker image
0 人关注
docs-zh
0 人关注
docsify
🃏 A magical documentation site generator.
0 人关注
docsify-themeable
A delightfully simple theme system for docsify.js. Features multiple themes with rich customization options, an improved desktop and mobile experience, and legacy browser support (IE10+).
Cython · 0 人关注
elaina-segment
0 人关注
EnergyLevelTransition
Athwart the Gehlon roars a squall, Beneath the tree do roamers stall. When to becrawl, a windfall. 骤风穿行于知识之槲,迷茫者在树下彷徨驻足。将要攀登之际,果实落下。
0 人关注
EnigTech2
大型集成科魔类魔改整合包
Java · 0 人关注
FLE
Far Land Era
0 人关注
github-notion-star
0 人关注
go-cqhttp
cqhttp的golang实现,轻量、原生跨平台.
0 人关注
gregtech6-chinese-guide
各位老哥可以在GitBook和github来Star一下
0 人关注
GreyElaina
Ruby · 0 人关注
homebrew-homebrew
0 人关注
httpcore
A minimal HTTP client. ⚙️
0 人关注
httpx
A next generation HTTP client for Python. 🦋
Python · 0 人关注
httpx-ws
WebSocket support for HTTPX
Python · 0 人关注
HYDRA
[ECCV] HYDRA: A Hyper Agent for Dynamic Compositional Visual Reasoning
0 人关注
k2-firmware
斐讯K2刷机,固件,breed
0 人关注
koishi
QQ bot out of the box
JavaScript · 0 人关注
listen1_chrome_extension
one for all free music in china (chrome extension, also works for firefox)
JavaScript · 0 人关注
listen1_desktop
one for all free music in china (Windows, Mac, Linux desktop)
0 人关注
loguru
Python logging made (stupidly) simple
0 人关注
LSPosed
LSPosed Framework
0 人关注
Magisk
The Magic Mask for Android
0 人关注
malay-bot
Python · 0 人关注
MARLIN
[CVPR] MARLIN: Masked Autoencoder for facial video Representation LearnINg
JavaScript · 0 人关注
mcbbs-markdown2bbcode-converter
Convert Github Flavored Markdown to MCBBS Flavored BBCode
0 人关注
MCDReforged
A rewrited version of MCDaemon, a python script to control your Minecraft server
JavaScript · 0 人关注
MCSManager
A simple, lightweight, multi-instance Minecraft server panel
Zig · 0 人关注
middleout_array.zig
Python · 0 人关注
Minecraft-Mod-Language-Package
Release Website
0 人关注
mirai
高效率 QQ 机器人支持库
Shell · 0 人关注
my-lede-r6250
0 人关注
onebot
OneBot 标准:一个聊天机器人应用接口标准
TypeScript · 0 人关注
onedrive-vercel-index
OneDrive public directory listing, powered by Vercel and Next.js
0 人关注
opencode
The open source coding agent.
TypeScript · 0 人关注
opentui
OpenTUI is a library for building terminal user interfaces (TUIs)
0 人关注
pandas-cn
Pandas中文文档,欢迎贡献!
0 人关注
pdm
A modern Python package manager with PEP 582 support.
Dart · 0 人关注
pilipala
PiliPala 是使用Flutter开发的BiliBili第三方客户端,感谢使用。
C++ · 0 人关注
plugin-htmlkit
Lite HTML renderer plugin for NoneBot2
Rust · 0 人关注
pyo3-stub-gen
Stub file (*.pyi) generator for PyO3
0 人关注
pyre-check
Performant type-checking for python.
Python · 0 人关注
python-prompt-toolkit
Library for building powerful interactive command line applications in Python
Python · 0 人关注
Python-Type-Challenges
Learn Python typing (type hints) by completing online challenges!
Python · 0 人关注
qqrobot
coolQ robot
TypeScript · 0 人关注
quartz
🌱 a fast, batteries-included static-site generator that transforms Markdown content into fully functional websites
0 人关注
QuickShop-Reremake
QuickShop is a shop plugin, that allows players to sell items from a chest with no commands. It allows players to purchase any number of items easily. In fact, this plugin doesn't even have any commands that a player would ever need! Minecraft SunnySide Community continue update this plugin now!
0 人关注
Reno4-5G
Python · 0 人关注
requests
Python HTTP Requests for Humans™ ✨🍰✨
Makefile · 0 人关注
rtwo-twrpdtgen-dt
Rust · 0 人关注
slint
Slint is an open-source declarative GUI toolkit to build native user interfaces for Rust, C++, JavaScript, or Python apps.
JavaScript · 0 人关注
SpellCards
TypeScript · 0 人关注
spu
An online tool that can help you convert minecraft commands from 1.12 to 1.13.
Swift · 0 人关注
StageNow
SaltCat

SaltCat

V2EX 第 435227 号会员,加入于 2019-08-11 18:10:41 +08:00
SaltCat 最近回复了
2020 年 12 月 14 日
回复了 Antigen 创建的主题 Python 请推荐一门能精确控制大量并发并行的编程语言或解决方案
> 一毫秒都无法接受

rust + tokio 吧.
2020 年 12 月 7 日
回复了 IVeverKB 创建的主题 Python 新手 关于 Python 协程的一个问题
用 asyncio.Lock,还有就直接 asyncio 技术栈一把嗦吧,asyncio 的侵入性感觉还是太强了。。。
2020 年 12 月 7 日
回复了 oldbird 创建的主题 程序员 怎么知道 QQ 好友里哪些和自己在同一个群里?
mirai 自己写吧
2020 年 12 月 2 日
回复了 abersheeran 创建的主题 Python 关于协程转线程的一个问题
感觉你的表述并不清楚: 你没有说是如何从 coroutine send msg 到 thread 进行处理的(try contextvars); 第一个写的消息被覆盖, 是否考虑使用类似 stack 这样的数据结构 + property 防止覆盖? 如果涉及到同 /异步上下文传递, 可以考虑 `contextvars` 这个库: asyncio 在执行协程时会复制一份当前的上下文来执行, 从而避免出现覆写的问题;
希望能解决你的问题.
我好久都不用直接 json 序列化了, 上次用是 custom FastAPI 的 Response, 自己造了个 OrjsonResponse(后面官方提供了), 就用了 singledispacherxxxxx 和这个特性.
使用 json.dumps 的 default 参数:

```
json.dumps(sth, default=lambda x: x.toNative() if isinstance(x, MyCustomFloat) else None)
```
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4501 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 28ms · UTC 10:00 · PVG 18:00 · LAX 02:00 · JFK 05:00
♥ Do have faith in what you're doing.