René's URL Explorer Experiment


Title: GitHub - yanghongfei/clean-code-python: :bathtub: Clean Code concepts adapted for Python

Open Graph Title: GitHub - yanghongfei/clean-code-python: :bathtub: Clean Code concepts adapted for Python

X Title: GitHub - yanghongfei/clean-code-python: :bathtub: Clean Code concepts adapted for Python

Description: :bathtub: Clean Code concepts adapted for Python. Contribute to yanghongfei/clean-code-python development by creating an account on GitHub.

Open Graph Description: :bathtub: Clean Code concepts adapted for Python. Contribute to yanghongfei/clean-code-python development by creating an account on GitHub.

X Description: :bathtub: Clean Code concepts adapted for Python. Contribute to yanghongfei/clean-code-python development by creating an account on GitHub.

Opengraph URL: https://github.com/yanghongfei/clean-code-python

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository
route-controllerfiles
route-actiondisambiguate
fetch-noncev2:558ed7ab-3b95-be74-1245-0953d47fd155
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-id8CA2:E1D0E:3F1709:533A58:696B3FE3
html-safe-nonce5b24d4a4188115915ed2a52e53c4fbbf4aa1847bbb4a1fc08eb962886e53e0c7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Q0EyOkUxRDBFOjNGMTcwOTo1MzNBNTg6Njk2QjNGRTMiLCJ2aXNpdG9yX2lkIjoiNjk1NDgyMzg2NjgyMzQyNjAxOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac637c5d19fe20e090e88ff25152c03bee3d8dd5e6bb86dfc1f1206480f77d4059
hovercard-subject-tagrepository:594706791
github-keyboard-shortcutsrepository,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location//
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/yanghongfei/clean-code-python
twitter:imagehttps://opengraph.githubassets.com/1aaade7d88696f00a02f2e22f45051b598d3e2b6d98ab436dbf21c5ca3bbd907/yanghongfei/clean-code-python
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1aaade7d88696f00a02f2e22f45051b598d3e2b6d98ab436dbf21c5ca3bbd907/yanghongfei/clean-code-python
og:image:alt:bathtub: Clean Code concepts adapted for Python. Contribute to yanghongfei/clean-code-python development by creating an account on GitHub.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d
turbo-cache-controlno-preview
go-importgithub.com/yanghongfei/clean-code-python git https://github.com/yanghongfei/clean-code-python.git
octolytics-dimension-user_id22789928
octolytics-dimension-user_loginyanghongfei
octolytics-dimension-repository_id594706791
octolytics-dimension-repository_nwoyanghongfei/clean-code-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id544676217
octolytics-dimension-repository_parent_nwoyinruiqing/clean-code-python
octolytics-dimension-repository_network_root_id102487700
octolytics-dimension-repository_network_root_nwozedr/clean-code-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release82560a55c6b2054555076f46e683151ee28a19bc
ui-targetcanary-1
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/yanghongfei/clean-code-python#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fyanghongfei%2Fclean-code-python
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fyanghongfei%2Fclean-code-python
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E&source=header-repo&source_repo=yanghongfei%2Fclean-code-python
Reloadhttps://github.com/yanghongfei/clean-code-python
Reloadhttps://github.com/yanghongfei/clean-code-python
Reloadhttps://github.com/yanghongfei/clean-code-python
yanghongfei https://github.com/yanghongfei
clean-code-pythonhttps://github.com/yanghongfei/clean-code-python
yinruiqing/clean-code-pythonhttps://github.com/yinruiqing/clean-code-python
Notifications https://github.com/login?return_to=%2Fyanghongfei%2Fclean-code-python
Fork 0 https://github.com/login?return_to=%2Fyanghongfei%2Fclean-code-python
Star 0 https://github.com/login?return_to=%2Fyanghongfei%2Fclean-code-python
MIT license https://github.com/yanghongfei/clean-code-python/blob/master/LICENSE
0 stars https://github.com/yanghongfei/clean-code-python/stargazers
824 forks https://github.com/yanghongfei/clean-code-python/forks
Branches https://github.com/yanghongfei/clean-code-python/branches
Tags https://github.com/yanghongfei/clean-code-python/tags
Activity https://github.com/yanghongfei/clean-code-python/activity
Star https://github.com/login?return_to=%2Fyanghongfei%2Fclean-code-python
Notifications https://github.com/login?return_to=%2Fyanghongfei%2Fclean-code-python
Code https://github.com/yanghongfei/clean-code-python
Pull requests 0 https://github.com/yanghongfei/clean-code-python/pulls
Actions https://github.com/yanghongfei/clean-code-python/actions
Projects 0 https://github.com/yanghongfei/clean-code-python/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/yanghongfei/clean-code-python/security
Please reload this pagehttps://github.com/yanghongfei/clean-code-python
Insights https://github.com/yanghongfei/clean-code-python/pulse
Code https://github.com/yanghongfei/clean-code-python
Pull requests https://github.com/yanghongfei/clean-code-python/pulls
Actions https://github.com/yanghongfei/clean-code-python/actions
Projects https://github.com/yanghongfei/clean-code-python/projects
Security https://github.com/yanghongfei/clean-code-python/security
Insights https://github.com/yanghongfei/clean-code-python/pulse
Brancheshttps://github.com/yanghongfei/clean-code-python/branches
Tagshttps://github.com/yanghongfei/clean-code-python/tags
https://github.com/yanghongfei/clean-code-python/branches
https://github.com/yanghongfei/clean-code-python/tags
176 Commitshttps://github.com/yanghongfei/clean-code-python/commits/master/
https://github.com/yanghongfei/clean-code-python/commits/master/
.github/workflowshttps://github.com/yanghongfei/clean-code-python/tree/master/.github/workflows
.github/workflowshttps://github.com/yanghongfei/clean-code-python/tree/master/.github/workflows
.gitattributeshttps://github.com/yanghongfei/clean-code-python/blob/master/.gitattributes
.gitattributeshttps://github.com/yanghongfei/clean-code-python/blob/master/.gitattributes
.gitignorehttps://github.com/yanghongfei/clean-code-python/blob/master/.gitignore
.gitignorehttps://github.com/yanghongfei/clean-code-python/blob/master/.gitignore
.travis.ymlhttps://github.com/yanghongfei/clean-code-python/blob/master/.travis.yml
.travis.ymlhttps://github.com/yanghongfei/clean-code-python/blob/master/.travis.yml
CONTRIBUTORShttps://github.com/yanghongfei/clean-code-python/blob/master/CONTRIBUTORS
CONTRIBUTORShttps://github.com/yanghongfei/clean-code-python/blob/master/CONTRIBUTORS
LICENSEhttps://github.com/yanghongfei/clean-code-python/blob/master/LICENSE
LICENSEhttps://github.com/yanghongfei/clean-code-python/blob/master/LICENSE
Makefilehttps://github.com/yanghongfei/clean-code-python/blob/master/Makefile
Makefilehttps://github.com/yanghongfei/clean-code-python/blob/master/Makefile
README.mdhttps://github.com/yanghongfei/clean-code-python/blob/master/README.md
README.mdhttps://github.com/yanghongfei/clean-code-python/blob/master/README.md
conftest.pyhttps://github.com/yanghongfei/clean-code-python/blob/master/conftest.py
conftest.pyhttps://github.com/yanghongfei/clean-code-python/blob/master/conftest.py
requirements.txthttps://github.com/yanghongfei/clean-code-python/blob/master/requirements.txt
requirements.txthttps://github.com/yanghongfei/clean-code-python/blob/master/requirements.txt
READMEhttps://github.com/yanghongfei/clean-code-python
Licensehttps://github.com/yanghongfei/clean-code-python
https://github.com/yanghongfei/clean-code-python#clean-code-python
https://travis-ci.com/zedr/clean-code-python
https://www.python.org/download/releases/3.8.3/
https://github.com/yanghongfei/clean-code-python#目录
介绍https://github.com/yanghongfei/clean-code-python#%E4%BB%8B%E7%BB%8D
变量https://github.com/yanghongfei/clean-code-python#%E5%8F%98%E9%87%8F
函数https://github.com/yanghongfei/clean-code-python#%E5%87%BD%E6%95%B0
https://github.com/yanghongfei/clean-code-python#%E7%B1%BB
S: 单一功能原则(SRP:Single responsibility principle)https://github.com/yanghongfei/clean-code-python#s%E5%8D%95%E4%B8%80%E5%8A%9F%E8%83%BD%E5%8E%9F%E5%88%99
O: 开闭原则(OCP:Open/Closed Principle)https://github.com/yanghongfei/clean-code-python#%E5%BC%80%E9%97%AD%E5%8E%9F%E5%88%99
L: 里氏替换原则 (LSP:Liskov Substitution Principle)https://github.com/yanghongfei/clean-code-python#%E9%87%8C%E6%B0%8F%E6%9B%BF%E6%8D%A2%E5%8E%9F%E5%88%99
I: 接口隔离原则 (ISP:Interface Segregation Principle)https://github.com/yanghongfei/clean-code-python#%E6%8E%A5%E5%8F%A3%E9%9A%94%E7%A6%BB%E5%8E%9F%E5%88%99
D: 依赖倒置原则 (DIP:Dependency Inversion Principle (DIP)https://github.com/yanghongfei/clean-code-python#%E4%BE%9D%E8%B5%96%E5%80%92%E7%BD%AE%E5%8E%9F%E5%88%99
项目里不要有重复代码 (DRY:Don't repeat yourself)https://github.com/yanghongfei/clean-code-python#%E9%A1%B9%E7%9B%AE%E9%87%8C%E4%B8%8D%E8%A6%81%E6%9C%89%E9%87%8D%E5%A4%8D%E4%BB%A3%E7%A0%81
其它语言版本https://github.com/yanghongfei/clean-code-python#%E5%85%B6%E5%AE%83%E8%AF%AD%E8%A8%80%E7%89%88%E6%9C%AC
https://github.com/yanghongfei/clean-code-python#介绍
代码整洁之道https://www.amazon.com/Clean-Code-Handbook-Software-Craftsmanship/dp/0132350882
https://github.com/yanghongfei/clean-code-python#变量
https://github.com/yanghongfei/clean-code-python#使用有意义完整的单词作为变量名字少用拼音缩略语
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#同一个项目中表示同一个东西的时候请使用相同的变量名
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#使用便于搜索的命名方式
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#变量名要有意义
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#起名不要想当然
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#不要在变量名中加一些不必要冗余的东西
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#必要的话给参数赋一个默认值同时也可以显示的说明参数的类型
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#函数
https://github.com/yanghongfei/clean-code-python#函数的参数-参数个数小于等于两个
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#一个函数只需要负责一件事情
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#函数的名字需要表达它的功能
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#函数应该只有一层抽象abstraction
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#函数的参数里面不要出现-truefalse-标志位
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#函数要避免副作用side-effect
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#类
https://github.com/yanghongfei/clean-code-python#单一功能原则
https://github.com/yanghongfei/clean-code-python#开闭原则
Mixinshttps://docs.djangoproject.com/en/4.1/topics/class-based-views/mixins/
https://github.com/yanghongfei/clean-code-python#里氏替换原则
https://github.com/yanghongfei/clean-code-python#接口隔离原则
https://github.com/yanghongfei/clean-code-python#依赖倒置原则
a submission made to the Django documentationhttps://code.djangoproject.com/ticket/21179
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#项目里不要有重复代码
维基百科https://en.wikipedia.org/wiki/Don%27t_repeat_yourself
⬆ 回到顶部https://github.com/yanghongfei/clean-code-python#%E7%9B%AE%E5%BD%95
https://github.com/yanghongfei/clean-code-python#其它语言版本
https://github.com/zedr/clean-code-pythonnhttps://github.com/zedr/clean-code-python
fredsonchaves07/clean-code-pythonhttps://github.com/fredsonchaves07/clean-code-python
https://github.com/SepehrRasouli/clean-code-pythonhttps://github.com/SepehrRasouli/clean-code-python
⬆ back to tophttps://github.com/yanghongfei/clean-code-python#table-of-contents
Readme https://github.com/yanghongfei/clean-code-python#readme-ov-file
MIT license https://github.com/yanghongfei/clean-code-python#MIT-1-ov-file
Please reload this pagehttps://github.com/yanghongfei/clean-code-python
Activityhttps://github.com/yanghongfei/clean-code-python/activity
0 starshttps://github.com/yanghongfei/clean-code-python/stargazers
0 watchinghttps://github.com/yanghongfei/clean-code-python/watchers
0 forkshttps://github.com/yanghongfei/clean-code-python/forks
Report repository https://github.com/contact/report-content?content_url=https%3A%2F%2Fgithub.com%2Fyanghongfei%2Fclean-code-python&report=yanghongfei+%28user%29
Releaseshttps://github.com/yanghongfei/clean-code-python/releases
Packages 0https://github.com/users/yanghongfei/packages?repo_name=clean-code-python
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.