上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 33 下一页
摘要: 问题描述 在执行 wsl --install 安装Windows子系统Linux WSL (Windows Subsystem for Linux) 时报错: 无法从“https://raw.githubusercontent.com/microsoft/WSL/master/distributio 阅读全文
posted @ 2024-09-29 16:28 王竹笙 阅读(1798) 评论(0) 推荐(0)
摘要: wsl安装 在搜索栏搜 powershell,管理员身份打开 按下win + X,打开终端管理员 wsl --install dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /n 阅读全文
posted @ 2024-09-29 16:05 王竹笙 阅读(1254) 评论(0) 推荐(0)
摘要: opentelemetry简介 opentelemetry是什么 opentelemetry是一套由CNCF主导的云原生可观测性的标准协议,全称:OpenTelemetry Protocol,简称OTLP。 opentelemetry产生的背景 可观测性一个很重要的领域 Trace 有两个业界标杆: 阅读全文
posted @ 2024-09-11 10:26 王竹笙 阅读(361) 评论(0) 推荐(0)
摘要: #串行执行 import time def consumer(res): '''任务1:接收数据,处理数据''' pass def producer(): '''任务2:生产数据''' res=[] for i in range(10000000): res.append(i) return res 阅读全文
posted @ 2024-01-15 11:05 王竹笙 阅读(33) 评论(0) 推荐(0)
摘要: from sqlalchemy import create_engine,Column,String,Integer from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionm 阅读全文
posted @ 2023-10-07 16:50 王竹笙 阅读(580) 评论(0) 推荐(0)
摘要: 框架要兼容版本包范围,这极为重要很容易忽略的问题。无形的BUG会由此而生。 阅读全文
posted @ 2023-09-12 18:20 王竹笙 阅读(43) 评论(0) 推荐(0)
摘要: ASGI 和 WSGI两种不同服务器类型 阅读全文
posted @ 2023-09-12 16:12 王竹笙 阅读(73) 评论(0) 推荐(0)
摘要: Python的类型提示type hints Pydantic是一个基于Python 类型提示来定义数据验证,序列化和文档(使用JSON 模式)库 Starlette 是一种轻量级的ASGI 框架/工具包,是构建高性能Asyncio服务的理想选择 starlette 官网 阅读全文
posted @ 2023-09-12 16:02 王竹笙 阅读(199) 评论(0) 推荐(0)
摘要: 1. 配置数据库信息 pip3 install -i https://pypi.tuna.tsinghua.edu.cn/simple -r .\req.txt req.txt pydantic-core==2.6.3 typing-extensions==4.7.1 python-multipar 阅读全文
posted @ 2023-09-06 18:38 王竹笙 阅读(2475) 评论(0) 推荐(1)
摘要: 1. 说明 1.1 SQLAlchemy 简单来说,SQLAlchemy 就是一个 ORM 工具,提供了灵活的数据模型定义和查询语法,支持多种数据库后端,比如: MySQL SQLite Oracle PostgreSQL Microsoft SQL Server,等等其它数据库 在 FastAPI 阅读全文
posted @ 2023-08-28 10:36 王竹笙 阅读(1797) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 33 下一页