💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
- tomorrow 如果不需要同步结果,使用这个效率很高,比如爬虫 > pip3 install tomorrow ``` from tomorrow import threads @threads(30) # 使用装饰器,这个函数异步执行, 30是线程数 def get_url(q, url): q.get(url) time.sleep(30) ```