Skip to main content

FastKit — Python 开发工具包

Project description

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

License Verison

[TOC]

项目介绍

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.18.tar.gz (30.5 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: fastkit-0.1.18.tar.gz
  • Upload date:
  • Size: 30.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.27.1 setuptools/39.2.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.6.8

File hashes

Hashes for fastkit-0.1.18.tar.gz
Algorithm Hash digest
SHA256 cbbeb469de38fe82ade2249f161ad60bd61cb35564da5512cebf0ef1219e1494
MD5 a98f684d54e1dba2f2cd9a4ab698c71d
BLAKE2b-256 bde8c36b0ca29a7972c1f110349e71f9c2211f3c82809aabd788b34f26ac2731

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