蠎周刊:Issue 389

Rust 来解决 Python 环境管理问题->pyflow

原文: PyCoder's Weekly - Issue #389

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

  • Django 入门: 构建投资组合应用程序

    • REAL PYTHON
    • video

In this course, you’ll learn the basics of creating powerful web applications with Django, a Python web framework. You’ll build a portfolio website to showcase your web development projects, complete with a fully functioning blog.

(是也乎:

好象今年开始, 真蟒 已经占据主要周刊内容了...

)

  • 适用于 Python 的自动格式化程序

    • KEVIN PETERS
    • • Shared by Kevin Peters

An auto formatter is a tool that will format your code in a way it complies with the tool or any other standard it set. But which auto formatter should you use with Python code?

(是也乎:

这种事儿叫用户选择会出人命的, 学习 golang, 及时官方钦定一个并内建才对

)

  • 用 Datadog 分布式跟踪和 APM 监视您的 Python 应用程序

    • DATADOG
    • sponsor

Debug and optimize your code by tracing requests across web servers, databases, and services in your environment—and seamlessly correlate those traces with metrics and logs to troubleshoot issues. Try Datadog in your environment with a free 14-day trial →

(是也乎:

非常实诚的好服务

)

  • Timsort: 从未听说过的最快排序算法

    • BRANDON SKERRITT

CPython uses Timsort for sorting containers. Timsort is a fast O(n log n) stable sorting algorithm built for the real world — not constructed in academia.

  • PyPy 的新 JSON 解析器

    • PYPY STATUS BLOG

PyPy has a new and faster JSON parser implementation. This post covers the design decisions that were made to develop the new and improved parser.

(是也乎:

好象只有 PyPy 还在继续 Pythonic 之旅

)

  • 用 %autoreload 自动重新加载 Python 模块

    • SEBASTIAN WITOWSKI

Tired of having to reload a module each time you change it? IPython’s %autoreload to the rescue!

  • 教程中不常用的 六个 Django 模板标签

    • MEDIUM.COM/@HIGHCENBURG

{% for ... %} {% empty %} {% endfor %} anyone?

(是也乎:

为什么不常用? 原因很明显了哪

)

  • (浮点) 数字, 丫们说谎

    • GLYPH LEFKOWITZ

When and why 2 + 2 = 4.00000000000000000001…

(是也乎:

老爹当年一闪神, 到今反复嗯哼永不断

)

  • Python 2.7 退休倒计时:〜2.5个月

    • PYTHONCLOCK.ORG

(是也乎:

放心万里长城永不倒

)

讨论

Discussions
  • 您最喜欢的 Python 库是哪个?

    • MIKE DRISCOLL

Twitter discussion about everyone’s best-loved Python libraries. What’s your personal favorite?

(是也乎:

只能是 this

)

文章,教程和嗯哼

Articles, Tutorials and Talks
  • 如何在 CPython 中实现字典

    • DATA-STRUCTURES-IN-PRACTICE.COM

Learn what hash tables are, why you would use them, and how they’re used to implement dictionaries in the most popular Python interpreter: CPython.

(是也乎:

其实, 就是当年 Python 源代码鉴赏的片段思考

)

  • 构建 Python 的 C 扩展模块

    • REAL PYTHON

Learn how to write Python interfaces in C. Find out how to invoke C functions from within Python and build Python C extension modules. You’ll learn how to parse arguments, return values, and raise custom exceptions using the Python API.

(是也乎:

Cython 即安.

)

  • 矫正的 Adam 会好过 Adam?

    • ADRIAN ROSEBROCK

“Is the Rectified Adam (RAdam) optimizer actually better than the standard Adam optimizer? According to my 24 experiments, the answer is no, typically not (but there are cases where you do want to use it instead of Adam).”

(是也乎:

作者发现, 还是原版好

)

  • 用 Python zip() 函数进行并行迭代

    • REAL PYTHON

How to use Python’s built-in zip() function to solve common programming problems. You’ll learn how to traverse multiple iterables in parallel and create dictionaries with just a few lines of code.

  • 2020年之后RHEL如何支持Python 2?

    • REDHAT.COM

What the Py 2.x end-of-life deadline means in practice, e.g. “Just because the PSF consider Python 2 unsupported does not mean that Python 2 is unsupported within RHEL.” Also see the related discussion on Hacker News.

(是也乎:

大厂也曰了, 官方不支持, 不是事儿

)

  • 从头开始使用 Python 进行主成分分析 (PCA)

    • ORAN LOONEY

Derive PCA from first principles and implement a working version in Python by writing all the linear algebra code from scratch. Nice tutorial!

(是也乎:

从头开始

也就是说

From Scratch

已经变成一种文体了

)

  • 赢得 Python 软件岗位面试

    • PYTHON BYTES FM
    • podcast

Tips on acing your Python coding interview, PSF has a new Code of Conduct, and regex testing tools.

(是也乎:

国外电台节目, 应聘, 一样是热点

)

  • 用 Python 和 Pandas 分析 Stack Overflow 调查

    • MOSHE ZADKA

Do your own data science exploration and analysis on the annual developer survey’s dataset.

(是也乎:

叕来了, 几乎有流量就有一切, 包含公知

)

  • 如何使用 Mapbox 将地图添加到 Django Web App 项目中

    • MATT MAKAI

Learn how to add maps and location-based data to your web applications using Mapbox.

  • 从头开始用 Python 编写 Simplex Solver

    • OLE KRÖGER
  • 用 Kubernetes 上托管的 Python 编写自己的 DNS 服务器

    • NEERAN GUL

(是也乎:

好象 K8s 是万能一般...

)

  • 通过 Streamlit 将 Python 脚本转换为漂亮的 ML 工具

    • ADRIEN TREUILLE
  • Python 和快速 HTTP 客户端

    • JULIEN DANJOU

(是也乎:

其实吧, 最快和全面的还是无头浏览器们...
推荐国产 mini-blink

)

  • 在 Matplotlib 中隐藏图例项目

    • ROBIN WILSON

(是也乎:

其实, Matplotlib 一直有参数控制,只是...

)

好物

Interesting Projects, Tools and Libraries, Projects & Code
  • re-assert: 显示您的正则表达式匹配声明失败的地方

    • GITHUB.COM/ASOTTILE

(是也乎:

叕一个尝试解决 正则表达式 困境的工具...

)

  • PyWaffle: 用 Python 创建华夫饼图

    • GITHUB.COM/GYLI
    • • Shared by Guangyang Li

(是也乎:

老李推荐的? 大西雅图地区 华人工程师

Waffle -> 华夫饼..

)

  • imagededup: 轻松查找重复图像

    • GITHUB.COM/IDEALO

(是也乎:

老梗了...

)

  • django-stubs: 用 于Django 的 PEP-484 类型检查 Stubs

    • GITHUB.COM/TYPEDDJANGO

(是也乎:

一个 PEP 需要模块来支持, 也是没什么了...

)

  • flask-swagger-types: 用以 Flask 的 Swagger API 规范生成器和类型检查器

    • GITHUB.COM/PLAINAS
  • pybind11: C ++ 11 和 Python 间无缝操作

    • PYBIND11.READTHEDOCS.IO

(是也乎:

Seamless -> 差点儿看成 无耻了...

只是,为什么要在 C++11 和 Py 间转换?
难道是想叛逃?

)

  • pyflow: Python 的包依赖关系和版本管理系统

    • GITHUB.COM/DAVID-OCONNOR

(是也乎:

神奇哪, 用 Rust 开发的, 解决 Python 开发/维护/运行时一应问题的工具,
准备替代 Pyenv/Pipenv/... 各种*env 工具

)

活动/大会

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

    • October 8 to October 11, 2019
    • 巴尔干半
  • ⋅ PyCon ZA 2019

    • October 9 to October 14, 2019
    • 南非
  • ⋅ PyConDE & PyData Berlin 2019

    • October 9 to October 12, 2019
    • 德国
  • ⋅ Python Miami

    • October 12 to October 13, 2019
    • USA
  • ⋅ PyCon Pakistan 2019

    • October 12 to October 13, 2019
    • 巴铁;-)
  • ⋅ PyCon India 2019

    • October 12 to October 16, 2019
    • IIT?
  • ⋅ PyCode Conference 2019

    • October 14 to October 17, 2019
    • 波兰

DAMA

❤️ Happy Pythonic ;-( 大妈私人无责任播报)
  • 蟒营 Python 入门班

    • 第3期
    • 101camp3py
第3期已开课, 为期6周;
191103 按时结束,
到时再约 4py ;-)

是也乎

NN 3795
  • 首发: Issue 389 ~蠎周刊 ~汇集全球蠎事儿 ;-)
  • 改进: issue-389.md

蟒营™:Python 入门班||图谱||幻灯||维基

  • 自怼圈
  • 蟒周刊

101camp3py 进行中

  • 190922 已开课
  • 191003 将结束

Powered by: Zoom.Quiet / 昧因科技®

你可能感兴趣的:(python)