PyCoder 507

PyCoder 召募兼职播客 原文: PyCoder’s Weekly - Issue #507 220112 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220112 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Hey there, Quick announcement: I’m looking to hire a talented PyCoder’s Weekly Curator and Podcast Co-Host to join the PyCoder’s team in a part-time, freelance role 🎉 In this role, you’ll research and curate links and news for PyCoder’s Weekly and you’ll regularly join the Real Python Podcast to co-host the show with Christopher Bailey to talk about the latest Python news and projects. You’ll work closely with me (Dan Bader) and the host of the RP Podcast (Christopher Bailey) in this role and we will train you on the specifics of our curation tools and podcast recording process. Basically, you’ll be getting paid to read Python articles and stay up to date with the latest projects and Python news 🎓🐍 If you’re interested or know anybody who would be a great fit for this role, check out the full job posting at the link below: → → PyCoder’s Curator and Podcast Co-Host (Part-Time, Remote) Wanted 用 Bulma 构建 Django 前端 - 第 2 部分 REAL PYTHON In the second part of this tutorial series, you’ll continue to build out a social network with Django. You’ll learn how to set up routing, views, and templates for your app. You’ll also apply CSS styling to the Django front end by using the Bulma framework to improve your app’s user interface. (是也乎: 作者 很 Python ) 用 Flask 上 Web 部署 Python 脚本 REAL PYTHON COURSE In this course, you’ll learn how to go from a local Python script to a fully deployed Flask web application that you can share with the world. (是也乎: 感觉现在 Django 和 Flask 文章的比例, 稳定在 5:1 左右 ) 从 Unravelling 声明中开解 BRETT CANNON Django Security 已发布: 4.0.1, 3.2.11, and 2.2.26 DJANGO SOFTWARE FOUNDATION 公布 2021 年第四季度的 PSF 会员 PYTHON SOFTWARE FOUNDATION 探讨/吐糟 Discussions ...

2022-01-12 · 4 min · 1867 words · ZoomQuiet

PyCoder 506

21 年 Django 开发者调查结果 原文: PyCoder’s Weekly - Issue #506 220105 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 220105 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Gem: 探索式字符串替代 NED BATCHELDER Here’s a Python gem: a small bit of Python that uses the power of the language and standard library well. It’s a function to list strings generated by a pattern with embedded alternatives. It takes an input string with brace-wrapped possibilities, and generates all the strings made from making choices among them: explode("{Alice,Bob} ate a {banana,donut}.") (是也乎: 不是, 这项目名儿, 蹭 Ruby 的? ) 用 Django 构建社交网络 - 第 1 部分 REAL PYTHON In this four-part tutorial series, you’ll build a social network with Django to showcase in your portfolio. You’ll learn about relationships between Django models and how to use forms so that users can interact with your app. You’ll also make your site look good by using the Bulma CSS framework. (是也乎: 这插图有点儿马虎了 ) 通过构建自己的 Linter 来学习 Python ASTs TUSHAR SADHWANI • Shared by Tushar Sadhwani A guide to Abstract Syntax Trees in Python. They form the basis of a lot of tools we take for granted, like linters, code formatters and syntax highlighting. With this article you’ll get to learn about ASTs by building your own linter from scratch. (是也乎: 不是, ASTs 折腾明白了, 第一作品不应该是 DSL 嘛? ) urllib3 在 2021 年筹集到 15,000 美元 SETH MICHAEL LARSON 2021 年 Django 开发者调查结果 DJANGO SOFTWARE FOUNDATION (是也乎: 还有很多反直觉结果… ) 探讨/吐糟 Discussions ...

2022-01-05 · 4 min · 1961 words · ZoomQuiet

PyCoder 505

PyO3 ~ 被 Py 氧化的 Rust 原文: PyCoder’s Weekly - Issue #505 211229 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211229 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python Zip 导入: 快速分发模块和包 REAL PYTHON In this step-by-step tutorial, you’ll learn what Zip imports are and how to use them in Python. You’ll learn to create your own importable ZIP files and make them available for use. Finally, you’ll learn how to use the zipimport module to dynamically import code from ZIP files. (是也乎: 传统手工艺, 发布应用发行版 ) 用 Python 编写高速异步 HTTP 请求 JONLUCA DECARO Different formats and code snippets to make a large amount of network requests locally, with controls for rate limiting and error handling. Shortcut Provides Speedy Task Management, Reporting, and Collaboration for Software Teams Shortcut is project management built for developers. Whether you’re a startup that iterates quickly by providing every engineer with a free pallet of Red Bull, or a large org that has strict ship dates to hit, give us a try for free → SHORTCUTSPONSOR (是也乎: aiohttp 的硬广 ) 应该使用版本上限约束吗? HENRY SCHREINER • Shared by Henry Schreiner package>=7 vs package>=7,<8: Should you be adding upper bounds to dependency version constraints in Python packages? PEP 669: CPython 的低影响监控 PYTHON.ORG sing a profiler or debugger in CPython can have a severe impact on performance. Slowdowns by an order of magnitude are common. This PEP proposes an API for monitoring of Python programs running on CPython that will enable monitoring at low cost. 探讨/吐糟 Discussions ...

2021-12-29 · 4 min · 1780 words · ZoomQuiet

PyCoder 504

有 GC 的 LISP/436 字节 原文: PyCoder’s Weekly - Issue #504 211222 Zoom.Quiet(大妈) 用时 13 分钟 完成快译 211222 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 引发和处理 Python 异常 REAL PYTHON COURSE In this course, you’ll learn what an exception is and how it differs from a syntax error. You’ll learn about raising exceptions, making assertions, and catching exceptions to change the control flow of your program using the try, except, else, and finally keywords. (是也乎: ) 带有 GC 的 LISP,436 字节 JUSTINE TUNNEY This one isn’t about Python specifically, but worth a read because it’s so mindblowingly cool: A LISP interpreter that’s tiny enough to fit in a 512-byte master boot record. (是也乎: 淦…是的, 这世界总是会被 LISP 重写一下.. ) 用 Poetry 嗯哼依赖管理 REAL PYTHON Learn how Poetry will help you start new projects, maintain existing ones, and master dependency management. (是也乎: 叕一则硬广… ) 2022 年 Python 指导委员会选举结果 PYTHON.ORG 探讨/吐糟 Discussions ...

2021-12-22 · 4 min · 1768 words · ZoomQuiet