# piglei/one-python-craftsman

来自一位 Pythonista 的编程经验分享，内容涵盖编码技巧、最佳实践与思维模式等方面。

Repository: https://github.com/piglei/one-python-craftsman
Canonical: https://ross.abutalabs.com/products/one-python-craftsman
Homepage: https://www.piglei.com
License: Apache-2.0
License Family: permissive
Topics: python, python3, book, articles
Last push: 2024-05-16T00:19:42+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 2863, "days_push": 840, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 7287, forks 989 (observed 2026-08-28T04:09:58.034022+00:00)

## What it is
A collection of Chinese-language articles and an accompanying book ('The Python Craftsman') sharing Python programming experience, covering coding tips, best practices, and design principles. It is educational content rather than software, aimed at helping developers write more elegant, idiomatic Python code.

## Use cases
- learn python best practices
- improve python code quality
- tips for writing idiomatic python
- learn exception handling habits in python
- object-oriented design principles for python
- variable naming and comment tips in python
- decorator techniques in python

## When to choose
- you are an intermediate Python developer wanting to level up beyond basics
- you prefer practical, detail-focused advice over abstract theory
- you read Chinese and want free, well-structured articles on Python craftsmanship

## When to avoid
- you need runnable software, a library, or a tool
- you are a complete beginner needing a from-scratch Python tutorial
- you only read English, since most content is in Chinese

## Facets
- artifact type: learning-resource
- maturity: active
- function: documentation, developer-tools
- domain: programming-languages, tutorials, education, developer-tools
- platform: python, cross-platform
- tags: python-craftsmanship, best-practices, code-quality, chinese-language, book, articles, clean-code

## Member repositories
- piglei/one-python-craftsman (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:58.034022+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:38:52.289820+00:00, confidence not recorded.
  - readme: https://github.com/piglei/one-python-craftsman (fetched 2026-08-28T04:09:58.034022+00:00, sha a004b86f3c87)
  - homepage: https://www.piglei.com (fetched 2026-08-29T08:34:29.169420+00:00, sha c5f7cadae9ec)
  - site_page: https://www.piglei.com/about (fetched 2026-08-29T08:34:29.178637+00:00, sha a588e2a991c9)
  - site_page: https://www.piglei.com/articles/my-book-releases (fetched 2026-08-29T08:34:29.180352+00:00, sha 11410fd09038)
- Data as of 2026-08-30T08:39:29.467469+00:00.
