Skip to main content

FastKit — Python 开发工具包

Project description

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

Verison Hits

项目介绍

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fastkit-0.1.21-py3-none-any.whl (36.8 kB view details)

Uploaded Python 3

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

Hashes for fastkit-0.1.21.tar.gz
Algorithm Hash digest
SHA256 c3f33fcb989d6e05eb26d1c40736a18bb455950005262594888e996764949db6
MD5 2d7df7d4169db8eeeb7767f71c7e1eae
BLAKE2b-256 15cc06b875cf5b3753ec55b07ba7fc729c6cc24d959b50067f3b25fed0a0eddf

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastkit-0.1.21.tar.gz:

Publisher: publish.yml on jagerzhang/FastKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for fastkit-0.1.21-py3-none-any.whl
Algorithm Hash digest
SHA256 b4f6923c2d15eb0cd3927d4d7cf004865d22362d5b4292da7499c6f06b23c803
MD5 f6f8aac065fcc7c4d290e4c0cbd5c1c7
BLAKE2b-256 42beb8e224ec92b1e709f14791c5d350076af51b22bf4740e72fa0c7c56c5620

See more details on using hashes here.

Provenance

The following attestation bundles were made for fastkit-0.1.21-py3-none-any.whl:

Publisher: publish.yml on jagerzhang/FastKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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