pythonista-weekly : Pyw 501

欢迎阅读《pythonista周刊》第501期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-501 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Microsoft adds enterprise support for PyTorch AI on Azure Microsoft makes Facebook’s AI Python library more friendly for enterprises with patches and hotfixes for Windows 10. 文章、教程与话题 在Python中编写一个受Jinja启发的模板库 在这篇文章中,我们将在 Python 中建立一个最小的文本模板库,其灵感来自 Jinja。它将能够显示变量并对数组进行迭代。 Shrinking your Python application’s Docker image: an overview 在这篇文章中,你会发现你可以用来缩小图像的许多技术的概述,大约按逻辑顺序包装组织。重点是 Python,尽管这些技术中有许多是比较通用的。 Visual Studio Code ❤️ Pytorch 学习 Visual Studio Code 中的一些惊人的功能,可以提高你的 PyTorch 水平。 Why the sad face? 解释 Black 风格的一个细节的文章。 在PostgreSQL上通过Django查询集的范围字段提高性能 来自一个使用 PostgreSQL 的 Django 应用程序的数据库优化的简短故事 Retool - Build Internal Tools, 10x faster. By developers for developers. Retool gives you a powerful set of building blocks: tables, lists, charts and more. Integrate with any datasource, REST API, gRPC, or Firebase and customize your app with JS. Save hundreds of hours. SPONSOR Per-visitor Data With Sessions Django 是如何知道用户是否登录的?框架可以在哪里为你的应用程序上的访问者存储数据?在这篇文章中,我们将回答这些问题,并看看 Django 中一个叫做 session 的存储概念。 pyFLAC: Real-time lossless audio compression in Python pyFLAC 软件包使 Sonos 在内部研究项目中更有效地传输高质量的音频数据,将数据率降低了约40%。实时应用于原始音频流的能力意味着它可以支持大型数据集,而不需要从磁盘进行额外的后期处理。 Making a Modern Python Package with Poetry 制作一个完整的命令行应用程序,没有任何 setup.py 的麻烦 What is WSGI and Why Do You Need Gunicorn and Nginx in Django 在这篇文章中,我们将讨论 WSGI、Gunicorn 和 Nginx。我们将讨论为什么你需要这些东西,以及它们如何与 Django 一起工作。 Making microrepos feel like monorepos with all-repos Line Search Optimization With Python Brython简介 ...

2021-05-28 · 3 min · 1086 words · ZoomQuiet

Issue 474

单女生/硬件公司的工具和技术 原文: PyCoder’s Weekly - Issue #474 210526 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210526 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 用来经营单身硬件公司的工具和技术 STARGIRL FLOWERS Winterbloom makes open-source, boutique synthesizers. There’s a lot that goes into running a hardware company. Someone has to design the hardware, code the firmware, write the documentation, not to mention administrate the company. Winterbloom does all of this with just one engineer — Stargirl Flowers. Learn what tools and tech Stargirl uses to run her company, and how Python fits into the big picture in more ways than one. (是也乎: One-Woman 一直是亮点… ) 咩是 WSGI? 为毛在 Django 项目需要 Gunicorn 和 Nginx? DENIS OREHOVSKY • Shared by Denis Django is one of the most popular Python web frameworks. But you can’t run a web application with Django alone. You need a host of other tools in place to deploy a Django project, from a server to run your application to a server to handle incoming requests. In this article, you’ll learn about Gunicorn and Nginx and how they work together with Django to deliver a web application to your users. (是也乎: 老梗, 可其实可以用其它协议跑的 ) 用 Django/Vue 和 GraphQL 建立博客 REAL PYTHON In this step-by-step project, you’ll build a blog from the ground up. You’ll turn your Django blog data models into a GraphQL API and consume it in a Vue application for users to read. You’ll end up with an admin site and a user-facing site you can continue to refine for your own use. (是也乎: 还是 Pelican 更加轻便吧, 不占用在线计算资源的才是好 blog 系统 ) 在6月12日前帮 PSF 筹集 80,000 美元 TWITTER.COM/THEPSF PyPy v7.3.5: Python 2.7 and 3.7 错误修正版本 PYPY.ORG (是也乎: 随着老爹的 flag 竖立起来, 以往各种以性能为目标的社区, 立即被打了鳮血… ) 探讨/吐糟 Discussions ...

2021-05-26 · 5 min · 2038 words · ZoomQuiet

pythonista-weekly : Pyw 500

欢迎阅读《pythonista周刊》第500期。Let us start 原文: https://mailchi.mp/pythonweekly/python-weekly-issue-500 翻译:Dustyposa 来自赞助商(PS:原文的赞助商): Ray Summit | June 22-24: Scalable Python & ML for everyone Build & scale any application with Ray, the open-source Python framework. Join Ray Summit to see how Ray is becoming the dominant platform in distributed computing and the best way to scale ML & Python. Register free to join live & on-demand. ...

2021-05-21 · 3 min · 1351 words · ZoomQuiet

Issue 473

SpaceX 如何控制星舰的? 原文: PyCoder’s Weekly - Issue #473 210519 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210519 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. SpaceX 如何降落星舰/排序 THOMAS GODDEN While waiting for SN15 to launch, Thomas Goddard set out to pull together a 2-dimensional simulation of the Starship landing. Tying together knowledge of trajectory optimization, Thomas modeled the landing in Python with the CasADI library and used Matplotlib to generate an animation which, when played side-by-side with the footage of the landing, results in remarkable similarity to the actual landing dynamics. (是也乎: 是的, JS/Py 反正以往 NASA 不用的, SpaceX 都用上了, 关键是 多快好省, 至于现代语言/系统在太空的意外错误, 通过三主机协议选举也就解决了… ) Flask 2.0中的异步 PATRICK KENNEDY • Shared by Patrick Kennedy This article looks at Flask 2.0’s new async functionality and how to leverage it in your Flask projects. You’ll learn how Flask processes requests asynchronously using a traditional WSGI server, instead of the ASGI server used by many other async web frameworks. You’ll also learn how to simulate Flask 2.0 async in Flask 1.X applications. 嵌入式Python/ 在BBC micro:bit上构建游戏 REAL PYTHON Learn about embedded development, an exciting area of programming that allows you to bring your code into the physical world. You’ll learn about your options for writing embedded Python code and build a basic game using the BBC micro:bit. (是也乎: 是的, 就是那个 BBC ) EuroPython 2021 议题投票已开放 EUROPYTHON.EU Planning on attending EuroPython this year? If you’re registered and have paid for a ticket, or if you’ve attended any of the past conferences, you can vote on talk submissions until May 23. (是也乎: 其实, 很多都是从 US 复场过来的 ) 所有 Pallets 项目主要版本发布 PALLETSPROJECTS.COM Flask 2.0, Werkzeug 2.0, Jinja 3.0, Click 8.0, ItsDangerous 2.0, and MarkupSafe 2.0 (是也乎: 全明星队… ) PyCon US 2024 以及 2025 将在宾夕法尼亚州的匹兹堡举行 PYCON.BLOGSPOT.COM 探讨/吐糟 Discussions ...

2021-05-19 · 5 min · 2132 words · ZoomQuiet