如何安全运行用户上传代码? 原文: PyCoder’s Weekly - Issue #433 pycoder

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

  • 什么是 Python Wheels 以及为何应该关心?
    • REAL PYTHON In this tutorial, you’ll learn what Python wheels are and why you should care as both a developer and end user of Python packages. You’ll see how the wheel format has gained momentum over the last decade and how it has made the package installation process faster and more stable. (是也乎: 从 egg 到 Wheel … Wheel )
  • Name 中有什么: ShopRunner Python 数据科学库 2.0
    • NICOLE CARLSON
    • • Shared by Nicole Carlson ShopRunner’s data science team decided to rename their open-source libraries after their namesake’s creator made comments that didn’t align with the group’s values. This article makes a great case study on how to rename projects while minimizing developer impact. (是也乎: 硬分叉后的必须手尾. )
  • Django 幸存之道(如果关心数据的话)
    • DANIELE VARRAZO
    • opinion Many developers view Django’s “database agnosticism” as one of the framework’s strengths. Daniele Varrazzo, on the other hand, believes this approach potentially handcuffs the developer from taking advantage of database-specific features. Read Daniele’s detailed opinion and follow the discussion on Hacker News.
  • 在 Python 传参: 背景和最佳做法
    • REAL PYTHON In this tutorial, you’ll explore the concept of passing by reference and learn how it relates to Python’s own system for handling function arguments. You’ll look at several use cases for passing by reference and learn some best practices for implementing pass-by-reference constructs in Python. (是也乎: Pass 其实, 用最无聊的形式来最好. )
  • 从头构造隐性关注分析
    • ANDREW HEALEY There are a number of reasons websites want to collect data about how users use their website. But how this works is often a controversial topic. Learn how tracking works by building a privacy-focused tracking system from scratch. (是也乎: pixel.gif 技巧总是可用的… )
  • 虚拟活动资源
    • PYTHON.ORG Thinking about hosting a virtual Python conference or meetup? The PSF compiled a list of tools and resources to help you be successful! Oh, and they’ll be re-launching their grant program soon! (是也乎: 关键在网络活动的免费平台, 国外有很多, 国内呵呵… )
  • Q3 PSF成员提名截止日期为8月20日
    • TWITTER.COM/THEPSF Do you know someone who deserves to be a PSF fellow? Why not nominate them?

讨论

Discussions

文章,教程和嗯哼

Articles, Tutorials and Talks

  • Django Views — 正道
    • LUKE PLANT Views are one of the core components of a Django application. Django offers two kinds of views: function-based views and class-based views. Which one should you use? Fortunately, there’s an opinionated guide to help you sort things out! (是也乎: 反正当年各种 MV* 模型非常多, 总之, 嫑折腾框架设计好的模式就好. )
  • 如何用 Python 将语音记录转录为文本
    • MATT MAKAI Learn to transcribe speech in recordings like MP3s into text with Python and AssemblyAI’s API. (是也乎: 当然的, English only, 中文这方面有天然壁垒… )
  • 打包Python代码的选项: Wheels,Conda,Docker等
    • ITAMAR TURNER-TRAURING There’s a lot of ways to package your Python code. Find out which one is right for you. (是也乎: 打包不是发布,距离发行早. 但是, 在工程中, 却又是必须的… Docker 没想到这篇是 Docker 的软文… )
  • 用 Python 和 Pytest 测试 Twilio 交互式语音响应/IVR 系统
    • HAKI BENITA Learn advanced testing techniques for Twilio IVR systems using Python and pytest
  • The Real Python Podcast – 第21集: 探索K均值聚类并与熊猫一起创建成绩簿
    • REAL PYTHON
    • Podcast Do you want to learn the how and when of implementing K-means clustering in Python? Would you like to practice your pandas skills with a real-world project? This week on the show, David Amos is back with another batch of PyCoder’s Weekly articles and projects. (是也乎: Podcast )
  • TensorFlow 数据集: 问题部分
    • KATIE PORTERFIELD
    • AND YOAV ZIMMERMAN TensorFlow’s data loader is built around sequential access. This introduces some potentially important pitfalls for data engineering projects. Learn what these issues are and when to avoid them.
  • Pysa: Python 代码的开源静态分析
    • GRAHAM BLEANEY
    • AND SINAN CEPEL Facebook has just open-sourced a static analysis tool for detecting security issues in Python code. (是也乎: Fb 出手了, 当年 珢神在 Google 作的就是类似工具, 没想到10年后, 这方面依然没彻底解决… )

好物

Interesting Projects, Tools and Libraries, Projects & Code

📆🐍 活动/大会

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

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报) 101camp11py 报名将结束 报名

课程规划:
    报名截止 2020.08.23
    正式开课 2020.08.30
    课程结束 2020.10.11

详情 => 蟒营™ Python 入门班第11

PS


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

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

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

NN 4103 RPP