原文: PyCoder’s Weekly - Issue #380 realpython

  • 在 Django Admin 中管理用户应该了解的
    • REAL PYTHON Learn what you need to know to manage users in Django admin. Out of the box, Django admin doesn’t enforce special restrictions on the user admin. This can lead to dangerous scenarios that might compromise your system. (是也乎: 当年的时尚, 今天就变成黑魔法了… )
  • 为什么你的 Mock 不起作用
    • NED BATCHELDER “Mocking is a powerful technique for isolating tests from undesired interactions among components. But often people find their mock isn’t taking effect, and it’s not clear why. Hopefully this explanation will clear things up.” (是也乎: 所以, 还是 Docker 中给真东西测试吧 )
  • Django 安全版本发布: 2.2.4, 2.1.11 and 1.11.23
    • DJANGOPROJECT.COM Addresses DoS possibilities in django.utils.text.Truncator, strip_tags(), django.utils.encoding.uri_to_iri(), and a potential SQL injection issue in JSONField/HStoreField. (是也乎: 三连发…可见 Django 基金会是真赚銭的… )
  • PySpark 大数据处理的第一步
    • REAL PYTHON Take your first steps with Spark, PySpark, and Big Data processing concepts using intermediate Python concepts.
  • 用 Fakes 以及 Factories 改进 Django 测试
    • MARTIN ANGELOV This blog post is an introduction into unit testing in Django. It offers an explanation on what are faker and factories and code examples illustrating them.
  • Python 中的内存管理
    • ARTEM GOLUBIN This article describes memory management in CPython 3.6 and how it uses a pool allocator called PyMalloc to speed-up memory operations and reduce fragmentation. (是也乎: 随着 Python 越来越 C++ 化, 内存问题也必然回到程序猿眼前… )
  • PEP 589 – TypedDict: 带有一组固定键的字典类型提示
    • PYTHON.ORG

讨论

Discussions

文章,教程和嗯哼

Articles, Tutorials and Talks

  • 用 Matplotlib 和 Python 探索数学
    • ANTONIO CANGIANO “Data Visualization can be a great tool for mathematical exploration and experimentation. In this article, I show you an example using Matplotlib and Python.” (是也乎: 对比隔壁的 Seaborn 们就知道 matplotlob 是老了… )
  • 如何用 Seaborn 在 Python 中制作散点图
    • ERIK MARSJA Learn how to make scatter plots, adding trend lines, text, rotating the labels, changing color, and markers, among other things.
  • Python 提示进入正在运行的进程: 用 Manhole 进行调试
    • ITAMAR TURNER-TRAURING “Sometimes your Python process will behave strangely, run slowly, or give you the wrong answers. And while hopefully you have logging, the logging isn’t always enough. So how do you debug this process?” (是也乎: OTP 已经成熟使用20年的小技巧, 当然, LISP 用的时间更加长 )
  • 11 种 Python 初学者技巧
    • REAL PYTHON
    • video In this course, you’ll see several learning strategies and tips that will help you jumpstart your journey towards becoming a rockstar Python programmer! (是也乎: 学习 Python 11 种最佳开始姿势: Code Every Day ~ 每天编程 Write It Out ~ 写下来 Go Interactive ~ 运行起来 Take Breaks ~ 追踪错误 Become a Bug Bounty Hunter ~ 找到问题 Surround Yourself With Others Who Are Learning ~ 和其它人交流 Teach ~ 教导自己 Pair Program ~ 结对编程 Ask GOOD Questions ~ 问好问题 Build Something, Anything ~ 构造点什么 Contribute to Open Source ~ 为开源作贡献 这不就是 Hacker 的养成手册嘛? )
  • 传输学习和 PyTorch 的图像分类
    • DAN NELSON In this article you’ll go over the theory behind transfer learning and see how to carry out an example of transfer learning on Convolutional Neural Networks (CNNs) in PyTorch. (是也乎: transfer 转移学习? )
  • 使用 QuadTree 算法在 Python 中实现 Photo Stylizer
    • RICHARD BARELLA Learn how to write a Python script to create a quadtree based filter for stylizing photos. (是也乎: stylizing 风格化图片? )
  • Softmax 函数的一个简单解释
    • VICTOR ZHOU What Softmax is, how it’s used, and how to implement it in Python. (是也乎: 本家? Princeton 学生, 已经分别在 Google/Airbnb/Facebook 实习过了… Softmax 函式是神经网络计算中一种算法, 不是 Python 自己的新嗯哼… )
  • Python 基础: Python 3的实用介绍
    • REAL PYTHON
    • book
    • sponsor Make the leap from Beginner to Intermediate in Python with this complete curriculum freshly updated for Python 3.7. Includes exercises, interactive quizzes, and sample projects so you’ll always know what to focus on next. Get the book today and save 27% → (是也乎: 嗯哼? 真蟒 作培训果然积累出书了,毕竟国外出版业还比较健康, 有銭赚… )
  • 了解用于分类的决策树 (Python)
    • MICHAEL GALARNYK
  • 10分钟, 过 Django 上传文件到 S3
    • DAVID BRUTON
  • 如何使用 Linting,Type-Checking,Testing 等设置 Python 项目
    • SOURCERY.AI
  • 用 Pairs Plots 在 Python 进行数据可视化
    • WILL KOEHRSEN
  • Using Twitter With Python and Tweepy
    • MIKE DRISCOLL

好物

Interesting Projects, Tools and Libraries, Projects & Code

📆🐍 活动/大会

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

DAMA

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

Jobs

必须 Pythonic 相关 …

是也乎

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

NN 3732