Skip to main content

FastKit — Python 开发工具包

Project description

FastKit: FastFlyer 框架配套开发工具包

Verison

项目介绍

FastKit 是 Python 开发工具包,集成了 增强 HTTP 请求、MySQL、Redis 等通用方法。

FastKit

项目依赖

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 对接RedisCacheout组件
数据存储 fastkit/database 基于 SQLAlchemyDataset 封装,同时提供ORMSQL使用模式
消息队列 fastkit/message 对接kafka组件,提供生产者和消费者模型
基础功能 fastkit/utils 提供字符串格式化等各种工具函数

开发规范&建议

  • 推荐插件或设置:
    • 懒人三套:PythonautoDocstringyapf,建议开启保存自动格式化代码设置
    • 懒人进阶:安装Copilot插件,自动猜想代码

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fastkit-0.1.20.tar.gz (30.2 kB view details)

Uploaded Source

File details

Details for the file fastkit-0.1.20.tar.gz.

File metadata

  • Download URL: fastkit-0.1.20.tar.gz
  • Upload date:
  • Size: 30.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for fastkit-0.1.20.tar.gz
Algorithm Hash digest
SHA256 711827f1f4990d24aa84be826e7576db504a5a989cf71ad9d5ef31b8262edd7a
MD5 25b574906eac6723c77f0af3405f47a1
BLAKE2b-256 015206e3edff39170c752c68969d78ba184ebc0520df40f0705ce7e6978b2dec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page