Skip to main content

Python utils

Project description

Python 编程工具集,本着实用、简单的原则,尽量减少对其他模块的依赖。

由于内容比较杂,所以并不过分追求兼容性。

pu.aio

asyncio 相关扩展和工具。

pu.aio.timer

提供一个简单的 Timer。

  • class Timer

pu.aio.client

简单的 Client 类和支持重连的 ReconnectingClient

  • class Client

  • class ReconnectingClient

pu.aio.virtualprotocol

支持动态协议识别,根据收到的数据判断连接实际采用的协议。

  • class VirtualProtocol

  • class RealProtocol

0.1.0(2014-10-25)

  • pu.aio.client

  • pu.aio.timer

  • pu.aio.virtualprotocol

  • pu.util.shorten

Project details


Supported by

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