{"id":13442327,"url":"https://github.com/PegasusWang/python-web-guide","last_synced_at":"2025-03-20T13:33:28.363Z","repository":{"id":40633414,"uuid":"58998645","full_name":"PegasusWang/python-web-guide","owner":"PegasusWang","description":"python/golang -web入坑指南","archived":false,"fork":true,"pushed_at":"2025-02-28T03:31:31.000Z","size":5494,"stargazers_count":689,"open_issues_count":0,"forks_count":215,"subscribers_count":37,"default_branch":"master","last_synced_at":"2025-02-28T11:17:08.861Z","etag":null,"topics":["backend","backend-service","go","golang","golang-server","golang-tools","python","tutorial","web"],"latest_commit_sha":null,"homepage":"http://python-web-guide.readthedocs.io/zh/latest/","language":"CSS","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"AngelCrunchDev/z42-doc","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PegasusWang.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null},"funding":{"github":["PegasusWang"],"custom":["https://www.paypal.me/pegasuswang"]}},"created_at":"2016-05-17T07:05:39.000Z","updated_at":"2025-02-28T03:31:35.000Z","dependencies_parsed_at":"2023-02-15T15:01:05.123Z","dependency_job_id":"e58c4231-3aa4-426f-8fd9-4481f3639b17","html_url":"https://github.com/PegasusWang/python-web-guide","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PegasusWang%2Fpython-web-guide","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PegasusWang%2Fpython-web-guide/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PegasusWang%2Fpython-web-guide/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PegasusWang%2Fpython-web-guide/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PegasusWang","download_url":"https://codeload.github.com/PegasusWang/python-web-guide/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244619290,"owners_count":20482395,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["backend","backend-service","go","golang","golang-server","golang-tools","python","tutorial","web"],"created_at":"2024-07-31T03:01:44.373Z","updated_at":"2025-03-20T13:33:27.809Z","avatar_url":"https://github.com/PegasusWang.png","language":"CSS","readme":"==================================\nPython/Golang Web 入坑指南\n==================================\n\n.. code-block:: text\n\n     ____        _   _                    ______        __        __   _        ____       _     _\n    |  _ \\ _   _| |_| |__   ___  _ __    / / ___| ___   \\ \\      / /__| |__    / ___|_   _(_) __| | ___\n    | |_) | | | | __| '_ \\ / _ \\| '_ \\  / / |  _ / _ \\   \\ \\ /\\ / / _ \\ '_ \\  | |  _| | | | |/ _` |/ _ \\\n    |  __/| |_| | |_| | | | (_) | | | |/ /| |_| | (_) |   \\ V  V /  __/ |_) | | |_| | |_| | | (_| |  __/\n    |_|    \\__, |\\__|_| |_|\\___/|_| |_/_/  \\____|\\___/     \\_/\\_/ \\___|_.__/   \\____|\\__,_|_|\\__,_|\\___|\n           |___/\n\n`本电子书线上访问地址 https://python-web-guide.readthedocs.io/zh/latest/ \u003chttps://python-web-guide.readthedocs.io/zh/latest/\u003e`_\n\n本指南根据作者的自学和工作经历提供(吐槽)一下python/golang\nweb的学习路线，主要包括概念介绍，参考书籍，开发工具和开发流程等，希望可以帮助非科班人士通过自学入门python/golang\n网站开发，弥补学校教育和公司需求之间的鸿沟(也作为自己的学习笔记和面试参考手册)，同时也希望可以作为公司菜鸟实习生的培训手册，帮助公司快速培训新人上手开发，减轻招聘压力。\n笔者目前能力有限，希望有经验的python圈人士可以一起协作。\n本小书灵感来自于 requests 库作者的 `python-guide \u003chttps://github.com/kennethreitz/python-guide\u003e`_ 。\n你可以使用强大的电子书阅读软件 `calibre \u003chttps://calibre-ebook.com/\u003e`_ 下载epub格式阅读。\n\n如果您感兴趣，也可以参考慕课网教程 `《Python工程师面试宝典》 \u003chttps://coding.imooc.com/class/318.html\u003e`_ 。\n本课程提供了详细的Python后端知识大纲和常考面试题，帮助自学的同学就业。如果本文档有误，您可以在 github 直接提 issue.\n\n注意：Python 不适合工程管理不完善的团队构建大型项目。如果贵团队没有编码规范、单元测试、静态检测、持续集成、文档注释中的一个或者几个，请慎用动态语言。\nPython 结合 Go 基本可以解决大部分业务场景，Python 用来快速实现业务和想法，Go 来解决性能瓶颈，这俩也是笔者目前使用最多的语言。\n如果因为某些网络原因打不开 readthedoc 网站，您可以参考下方快速上手使用 sphinx 本地构建电子书访问。\n\n\n.. image:: https://readthedocs.org/projects/z42/badge/?version=latest\n\n.. code-block:: python\n\n    # 快速上手构建本地电子书\n    # 使用方式 1\n    # 本项目页面托管在 readthedoc，如果国内因为网络原因打不开，可以使用如下方式在本地构建\n    git clone https://github.com/PegasusWang/python-web-guide.git    # 协作请fork一份你自己的地址\n    pip install -r requirements.txt # 安装 Sphinx==1.3.4\n    make html   # 构建 html 电子书，之后会在本地生成一个 _build/html 文件夹\n    cd _build/html   # 切换到构建好的 html 静态文件夹里\n    python3 -m http.server  # 启动一个本地文件服务器，或者 python2 用 python -m SimpleHTTPServer\n    # 之后打开 http://127.0.0.1:8000/ 即可本地访问电子书\n\n    # 方式2(推荐)：加入 sphinx-autobuild 自动编辑刷新\n    git clone https://github.com/PegasusWang/python-web-guide.git    # 协作请fork一份你自己的地址\n    pip install -r requirements.txt  # 安装 Sphinx==1.3.4, sphinx-autobuild\n    make serve  # 之后打开 http://127.0.0.1:8000/ 即可本地访问电子书，编辑保存直接自动刷新浏览器\n\n文档采用rst格式书写，用 `readthedocs \u003chttps://readthedocs.org/\u003e`_ 托管。一个快速的rst语法demo `教程 \u003chttp://azuwis.github.io/sphinx_demo/demo.html\u003e`_。 如果使用vim编写可以使用rst插件 `riv.vim \u003chttps://github.com/Rykka/riv.vim\u003e`_ 配合 `InstantRst \u003chttps://github.com/Rykka/InstantRst\u003e`_ 本地预览，定期pull一下拉取更新。\n欢迎你fork一份然后添加自己的章节，本书主要面对经验尚浅的同学作为自学的指导手册，并非速成指南，内容来自笔者日常学习和工作经验的持续总结。\n本电子版书集合了同事的智慧结晶，非常感谢你们带我入坑。\n本指南同时会有一些不负责任的吐槽。学到东西的请狂点 star，让笔者有动力更新更多业界实战干货，更多技术分享请关注作者知乎帐号 `pegasuswang \u003chttps://www.zhihu.com/people/pegasus-wang/activities\u003e`_ ，知乎专栏 `Python 学习之路 \u003chttps://zhuanlan.zhihu.com/python-web\u003e`_ ，`个人博客 \u003chttp://ningning.today/\u003e`_ 。\n笔者还维护了一个 vim 视频教程专栏，感兴趣可以访问 `玩转vim \u003chttps://zhuanlan.zhihu.com/vim-video\u003e`_\n\nTODO:\n=================================================================\n如果您觉得有用，可以打赏支持作者继续创作！\n\n\n.. raw:: html\n\n   \u003ccenter\u003e\n    \u003cimg src=\"https://user-images.githubusercontent.com/4470478/47126924-74800900-d2bd-11e8-8f24-6d03ddafbc07.png\" alt=\"微信打赏\" width=260 height=300\u003e\n   \u003c/center\u003e\n","funding_links":["https://github.com/sponsors/PegasusWang","https://www.paypal.me/pegasuswang"],"categories":["Tutorial","Uncategorized","CSS"],"sub_categories":["Windows Manager","Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPegasusWang%2Fpython-web-guide","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FPegasusWang%2Fpython-web-guide","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FPegasusWang%2Fpython-web-guide/lists"}