Skip to content

Recipes for Python. Hands-on code examples, snippets and guides for daily work.

License

Notifications You must be signed in to change notification settings

lucas-six/python-cookbook

Repository files navigation

Python Cookbook

Python Logo

GitHub Actions - lint pre-commit

Recipes for Python. Hands-on code examples, snippets and guides for daily work.

https://lucas-six.github.io/python-cookbook/

Language Core (语言核心)

General

Text Processing (文本处理)

Extended Type (拓展类型)

Date & Time (日期时间)

Decorator (装饰器)

Context Manager (上下文管理器)

Exception Handling

Type Hint / Type Annotation (类型提示/类型注解)

I/O, File-Like Object

Logging (日志)

Networks and Communications (网络通信)

Asynchronous I/O (异步 I/O)

System

Build (构建)

Command-Line Arguments Parser

  • argparse
  • optparse (deprecated since Python 3.2)
  • getopt: C-Style Parser

Package Management

Project

Test

Performance

Deploy

Web Development

HTTP Client/Request

Web Frameworks

Web Server

Task Queue

System Services Driver

MongoDB

Redis

RabbitMQ

IoT

MQTT

Recipes

Language Core (语言核心)

More Details

License

Apache 2.0 License