摘要: ![201610251630158001](https://www.w3cschool.cn/attachments/image/20170622/1498119609539254.png) # MongoDB 教程 ## 什么是MongoDB MongoDB 是一个基于分布式文件存储的数据库。由[ 阅读全文
posted @ 2023-08-04 17:05 Gentry-Yang 阅读(192) 评论(0) 推荐(0)
摘要: # APScheduler APScheduler (advanceded python scheduler)是一款Python开发的定时任务工具。 文档地址 https://apscheduler.readthedocs.io/en/latest/userguide.html#starting-t 阅读全文
posted @ 2023-07-04 18:51 Gentry-Yang 阅读(44) 评论(0) 推荐(0)
摘要: ## 1 Celery架构,介绍 ```python # Celery:芹菜(跟翻译没有任何关系),分布式异步任务框架,框架(跟其他web框架无关) # Celery is a project with minimal funding, so we don’t support Microsoft W 阅读全文
posted @ 2023-06-29 16:06 Gentry-Yang 阅读(22) 评论(0) 推荐(0)
摘要: ```python from tencentcloud.common import credential from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException fr 阅读全文
posted @ 2023-06-25 15:02 Gentry-Yang 阅读(103) 评论(0) 推荐(0)
摘要: React 是一个用于构建用户界面的 JAVASCRIPT 库。 React 主要用于构建 UI,很多人认为 React 是 MVC 中的 V(视图)。 React 起源于 Facebook 的内部项目,用来架设 Instagram 的网站,并于 2013 年 5 月开源。 React 拥有较高的性 阅读全文
posted @ 2023-04-23 16:00 Gentry-Yang 阅读(63) 评论(0) 推荐(0)
摘要: 目录 http request type.ts index.ts config.ts index.ts request type.ts import type { AxiosRequestConfig, AxiosResponse, InternalAxiosRequestConfig } from 阅读全文
posted @ 2023-04-22 15:38 Gentry-Yang 阅读(64) 评论(0) 推荐(0)
摘要: python实现雪花算法 import time class InvalidSystemClock(Exception): """ 时钟回拨异常 """ pass # 64位ID的划分 WORKER_ID_BITS = 5 DATACENTER_ID_BITS = 5 SEQUENCE_BITS = 阅读全文
posted @ 2023-03-16 17:03 Gentry-Yang 阅读(93) 评论(0) 推荐(0)
摘要: ![](https://img2023.cnblogs.com/blog/2524622/202303/2524622-20230305185922212-1322255721.jpg) 阅读全文
posted @ 2023-03-05 18:59 Gentry-Yang 阅读(15) 评论(0) 推荐(0)
摘要: 安装 pip3 install djangorestframework Restful规范 #规范:我们可以不按照(公司自己的规范,基本上都大差不差) # REST全称是Representational State Transfer,表征性状态转移,2000年Roy Fielding的博士论文中 # 阅读全文
posted @ 2023-02-12 15:49 Gentry-Yang 阅读(35) 评论(0) 推荐(0)
摘要: fastapi FastAPI 是一个用于构建 API 的现代、快速(高性能)的 web 框架,使用 Python 3.6+ 并基于标准的 Python 类型提示。 关键特性: 快速:可与 NodeJS 和 Go 比肩的极高性能(归功于 Starlette 和 Pydantic)。最快的 Pytho 阅读全文
posted @ 2022-12-31 11:09 Gentry-Yang 阅读(183) 评论(0) 推荐(0)