会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Go_Forward
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
33
下一页
2021年6月4日
python -m参数
摘要: 把模块当做脚本运行,标准库和第三方库都可以 会把当前路径添加到sys.path中
阅读全文
posted @ 2021-06-04 20:24 Go_Forward
阅读(43)
评论(0)
推荐(0)
编辑
2021年6月3日
sql注入
摘要: pypolaris
阅读全文
posted @ 2021-06-03 22:19 Go_Forward
阅读(32)
评论(0)
推荐(0)
编辑
2021年5月28日
mysql 存储ipv6
摘要: 自定义列 https://groups.google.com/g/sqlalchemy/c/lZw0GipVYFw https://docs.sqlalchemy.org/en/14/core/custom_types.html#types-sql-value-processing
阅读全文
posted @ 2021-05-28 12:12 Go_Forward
阅读(98)
评论(0)
推荐(0)
编辑
2021年5月26日
python微服务
摘要: https://realpython.com/python-microservices-grpc/ https://github.com/saqibbutt/python-flask-microservices https://github.com/PacktPublishing/Hands-on-
阅读全文
posted @ 2021-05-26 15:17 Go_Forward
阅读(165)
评论(0)
推荐(0)
编辑
2021年5月25日
sqlalchemy insert or ignore
摘要: insert ignore # insert ignoreinsert_stmt = TimePoint.__table__.insert().prefix_with(" ignore").values(data) session.execute(insert_stmt) # insert on d
阅读全文
posted @ 2021-05-25 10:58 Go_Forward
阅读(1151)
评论(0)
推荐(0)
编辑
2021年5月7日
flask gevent
摘要: flask的不同部署方式 使用gevent部署,只是在不同请求之间是异步的,同一个请求之间还是串行的。 https://iximiuz.com/en/posts/flask-gevent-tutorial/
阅读全文
posted @ 2021-05-07 21:09 Go_Forward
阅读(74)
评论(0)
推荐(0)
编辑
2021年5月6日
阻塞非阻塞,同步异步
摘要: 大多数情况下,对socket来说,阻塞和同步是一个东西 阻塞:调用后,等待,直到拿到结果 非阻塞:调用后,api返回一个错误,后面调用方轮训或者api通知调用方 异步:调用后,api立即返回,结果ready后,通知调用方 https://stackoverflow.com/questions/262
阅读全文
posted @ 2021-05-06 20:07 Go_Forward
阅读(54)
评论(0)
推荐(0)
编辑
2021年4月11日
python grpc 微服务
摘要: https://realpython.com/python-microservices-grpc/ https://www.manning.com/books/developing-microservice-apis-with-python https://www.freecodecamp.org/
阅读全文
posted @ 2021-04-11 15:26 Go_Forward
阅读(70)
评论(0)
推荐(0)
编辑
2021年4月9日
pylint代码静态检查
摘要: 使用git-pylint-commit-hook工具 pre-commit脚本 配置文件放在仓库根目录/hooks下面 git-pylint-commit-hook --limit=9.0 --pylintrc=hooks/.pylintrc 配置 [BASIC] # Regular express
阅读全文
posted @ 2021-04-09 23:45 Go_Forward
阅读(144)
评论(0)
推荐(0)
编辑
2021年4月8日
git hook 共享
摘要: https://stackoverflow.com/questions/427207/can-git-hook-scripts-be-managed-along-with-the-repository
阅读全文
posted @ 2021-04-08 21:05 Go_Forward
阅读(111)
评论(0)
推荐(0)
编辑
上一页
1
2
3
4
5
6
···
33
下一页