FastKit — Python 开发工具包
Project description
FastKit: FastFlyer 框架配套开发工具包
项目介绍
FastKit 是 Python 开发工具包,集成了 增强 HTTP 请求、MySQL、Redis 等通用方法。
项目依赖
python版本:>3, <4
安装方法
使用下面的命令直接安装最新版本
pip3 install fastkit
注:若安装报错,可以 case by case 解决,或者提供报错截图。
功能说明
注:功能将持续更新,使用请查阅功能配套说明文档。
| 功能 | 说明文档 | 备注 |
|---|---|---|
| 日志打印 | fastkit/logging | 同时支持本地Console、文件日志打印 |
| HTTP请求 | fastkit/httpx | 提供HTTP状态码对象和HTTP增强型客户端等功能 |
| 配置中心 | fastkit/configure | 鹅厂内部版本特有,开源版本已剔除 |
| 服务发现 | fastkit/discovery | 鹅厂内部版本特有,开源版本已剔除 |
| 监控告警 | fastkit/monitor | 鹅厂内部版本特有,开源版本已剔除 |
| 数据缓存 | fastkit/cache | 对接Redis和Cacheout组件 |
| 数据存储 | fastkit/database | 基于 SQLAlchemy和 Dataset 封装,同时提供ORM和SQL使用模式 |
| 消息队列 | fastkit/message | 对接kafka组件,提供生产者和消费者模型 |
| 基础功能 | fastkit/utils | 提供字符串格式化等各种工具函数 |
开发规范&建议
- 推荐插件或设置:
- 懒人三套:
Python、autoDocstring、yapf,建议开启保存自动格式化代码设置 - 懒人进阶:安装
Copilot插件,自动猜想代码
- 懒人三套:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file fastkit-0.1.21.tar.gz.
File metadata
- Download URL: fastkit-0.1.21.tar.gz
- Upload date:
- Size: 30.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c3f33fcb989d6e05eb26d1c40736a18bb455950005262594888e996764949db6
|
|
| MD5 |
2d7df7d4169db8eeeb7767f71c7e1eae
|
|
| BLAKE2b-256 |
15cc06b875cf5b3753ec55b07ba7fc729c6cc24d959b50067f3b25fed0a0eddf
|
Provenance
The following attestation bundles were made for fastkit-0.1.21.tar.gz:
Publisher:
publish.yml on jagerzhang/FastKit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastkit-0.1.21.tar.gz -
Subject digest:
c3f33fcb989d6e05eb26d1c40736a18bb455950005262594888e996764949db6 - Sigstore transparency entry: 202570743
- Sigstore integration time:
-
Permalink:
jagerzhang/FastKit@0cdcb75e5b48aafa0a136900f7d1add7977f41f7 -
Branch / Tag:
refs/tags/v0.1.21 - Owner: https://github.com/jagerzhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0cdcb75e5b48aafa0a136900f7d1add7977f41f7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file fastkit-0.1.21-py3-none-any.whl.
File metadata
- Download URL: fastkit-0.1.21-py3-none-any.whl
- Upload date:
- Size: 36.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b4f6923c2d15eb0cd3927d4d7cf004865d22362d5b4292da7499c6f06b23c803
|
|
| MD5 |
f6f8aac065fcc7c4d290e4c0cbd5c1c7
|
|
| BLAKE2b-256 |
42beb8e224ec92b1e709f14791c5d350076af51b22bf4740e72fa0c7c56c5620
|
Provenance
The following attestation bundles were made for fastkit-0.1.21-py3-none-any.whl:
Publisher:
publish.yml on jagerzhang/FastKit
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
fastkit-0.1.21-py3-none-any.whl -
Subject digest:
b4f6923c2d15eb0cd3927d4d7cf004865d22362d5b4292da7499c6f06b23c803 - Sigstore transparency entry: 202570747
- Sigstore integration time:
-
Permalink:
jagerzhang/FastKit@0cdcb75e5b48aafa0a136900f7d1add7977f41f7 -
Branch / Tag:
refs/tags/v0.1.21 - Owner: https://github.com/jagerzhang
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@0cdcb75e5b48aafa0a136900f7d1add7977f41f7 -
Trigger Event:
push
-
Statement type: