Github 中那些最佳实践+良好架构的项目 原文: PyCoder’s Weekly - Issue #472 pycoder

  • 210512 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 210512 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄.

  • 寻求更快的 Python
    • TIM ANDERSON There seems to be a lot going on in the Python JIT compiler space. Facebook recently open-sourced Instagram’s Cinder runtime, Pyston 2 returned as an open-source project, and the Pyjion project from Microsoft continues to grow. But Python creator Guido van Rossum has suggested that Python developers in need of more performance should consider writing parts of their code as C extensions, or use the PyPy runtime. This article explores Pythons turbulent history with performance optimization. (是也乎: 对运行时性能的追求, 在 Python 宇宙引发了一系列有益的动荡… )
  • 性能如何成为安全 Python 代码的克星
    • DIMA KOTIK While JIT compilers compete for Python performance improvements and some teams rush into asyncio adoption, one has to wonder what the outcome of additional complexity will be. This opinion piece argues that the cost of hurried and potentially unnecessary performance optimization is unstable and insecure code. It’s a good reminder that decisions about project dependencies should be thoroughly researched and made deliberately. (是也乎: 高级语言的宿命 )
  • 堆栈和队列: 选择理想的数据结构
    • REAL PYTHON
    • course Learn about three of Python’s data structures: stacks, queue and priority queues. You’ll look at multiple types and classes for all of these and learn which implementations are best for your specific use cases.
  • 德州仪器/TI 将发布使用 Python 的新型 TI-84 计算器
    • TI.COM
  • EuroPython 2021 征集提案的时间延长至5月16日
    • EUROPYTHON.EU
  • Pylance 现在是 VS Code 的默认 Python 语言服务器
    • MICROSOFT.COM (是也乎: 反正和官方的不同, 怪不得最好使用另外的运行时… )

探讨/吐糟

Discussions


文章/教程/嗯哼

Articles, Tutorials and Talks

  • 用 Python 的 NLTK 软件包进行自然语言处理
    • REAL PYTHON In this beginner-friendly tutorial, you’ll take your first steps with Natural Language Processing (NLP) and Python’s Natural Language Toolkit (NLTK). You’ll learn how to process unstructured data in order to be able to analyze it and draw conclusions from it. (是也乎: NLP NLTK 应该是最易用的 NLP 处理模块了. )
  • 流利的 Django: 更好理解 Django 模型
    • GIRLTHATLOVESTOCODE
    • • Shared by GirlThatLovesToCode Django models are the single, definitive source of information about data in a Django application. That means that all the logic about your data should be located in the model—not in a view as too often can be seen. In this article, you’ll get to know Django models better including things like UUID fields, enumeration types, Meta classes, and custom .save() methods. (是也乎: Fluent 是这两年热门词. )
  • FastAPI 和 Celery 的异步任务
    • MICHALE HERMAN
    • • Shared by Michael Herman Many web apps require long-running tasks, such as resizing image thumbnails or generating PDFs. Background tasks allow a web app to continue to process incoming requests while a task is executing. This tutorial walks you through setting up Celery and Redis to handle background tasks in a FastAPI application. You’ll learn how to containerize everything with Docker, save Celery logs to files, and monitor background tasks with Flower. (是也乎: FastAPI 替代 Flask 成为新的网红… )
  • Python 中的递归/简介
    • REAL PYTHON In this tutorial, you’ll learn about recursion in Python. You’ll see what recursion is, how it works in Python, and under what circumstances you should use it. You’ll finish by exploring several examples of problems that can be solved both recursively and non-recursively. (是也乎: Recursion 递归是最烧脑, 又最简洁的循环形式了. )
  • Bite My Shiny, 带类型注释的库!
    • JUGMAC00.GITHUB.IO
    • • Shared by Jürgen Gmach If you’re a package maintainer and want to make type annotations available to all users of your library, how can you go about doing this? Just add the type annotations to your library, right? Well, no! Learn how type annotations are handled in package distributions in this short but informative article with links to a number of helpful resources.
  • 我忘记了拼写检查
    • VICTOR SHEPELEV Throughout 2020, Victor Shepelev worked on porting the hunspell spellchecker to Python in a project called spylls. In this post he shares his thoughts on spylls checking, noting that it is much more difficult than just comparing strings to an established dictionary. While the article is not technical, it’s a great read exploring some of the assumptions made by hunspell and how they fail in the real world. (是也乎: 少有的分享失败经历的文章 )

好物/妙品/

Interesting Projects, Tools and Libraries, Projects & Code


📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心


DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)


PS


好文笔,感叹号年度配额: 2/3 投稿/反馈邮箱: [email protected] (邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越…)

ZoomQuiet/大妈 就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)
as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4376 RPP