蟒周刊-406-值得收藏的22个最常用 Python 模块
发布日期:2022-02-10 13:35:45 浏览次数:21 分类:技术文章

本文共 5448 字,大约阅读时间需要 18 分钟。

原文:

PyCoder

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

------

    • BARRY WARSAW

“Now that LinkedIn engineering has fully embraced Python 3, we no longer have to worry about supporting Python 2 and have seen our support loads decrease. We can now depend on the latest open source libraries and tools, and free ourselves from the constrictions of having to write bilingual Python.”

(是也乎:

LinkedIn 的故事教导我们...

)

    • REAL PYTHON

In this quick and practical tutorial, you’ll learn when to use the Python is, is not, == and != operators. You’ll see what these comparison operators do under the hood, dive into some quirks of object identity and interning, and define a custom class.

(是也乎:

Comparing

好可爱的插图, 油号不匹配真的会出大事儿的

)

    • RIGEL DI SCALA

“Software engineering principles, from Robert C. Martin’s book Clean Code, adapted for Python. This is not a style guide. It’s a guide to producing readable, reusable, and refactorable software in Python.”

    • ERIK-JAN VAN BAAREN

“As a starting point, I took a list of the most downloaded Python packages on PyPI over the past 365 days. Let’s dive in and find out what they do, how they’re related, and why they rank so high!”

(是也乎:

最具价值的模块, 多数没收录在内建中:

Urllib3;Six(2->3 自动兼容);botocore, boto3, s3transfer, awscli (云厂商专用模块);

Pip;Python-dateutil;Requests;S3transfer;Certifi(SSL 支持模块我);Idna(民族文化);PyYAML(越来越常用的);

Pyasn1;Docutils;Chardet;

RSA;

Jmespath(叕一个 JSON 支持);

Setuptools;Pytz;Futures;

Colorama;Simplejson;

都是百万级别的下载量...)

    • JAMES BENNETT

“Everything I’m currently doing for testing my personal [Python] projects, and the reasoning for why I do things the way I do.” Interesting read if you’re looking to optimize your testing setup.

(是也乎:

私人项目才玩的起高科技哪,越是大项目, 越应该选择无聊的技术桟.

)

    • DJANGOPROJECT.COM

Fixes CVE-2020-7471: Potential SQL injection via StringAgg(delimiter)

(是也乎:

Django 现在分裂为几个大产品线,是否正确, 还有待市场检验.

)

    • PYDATA.ORG

(是也乎:

等了10多年的 1.0 版本

)

讨论

Discussions

    • PYTHON.ORG

(是也乎:

对历史兼容何时变的不是第一要求了?

)

文章,教程和嗯哼

Articles, Tutorials and Talks

    • ITAMAR TURNER-TRAURING

“When you’re choosing a base image for your Docker image, Alpine Linux is often recommended. […] But if you’re using Python, Alpine Linux will quite often: Make your builds much slower. Make your images bigger. Waste your time.” Related discussion on Hacker News.

(是也乎:

等等,这是 Alpine 的特性嘛? 只针对 Python?

)

    • REAL PYTHON
    • video

Learn how to work with Python’s set data type. You’ll see how to define set objects in Python and discover the operations that they support. By the end of this course, you’ll have a good feel for when a set is an appropriate choice in your own programs.

(是也乎:

真蟒, 在有了流量后, 开始大力积累收费内容了...

)

    • REAL PYTHON

In this tutorial, you’ll learn how to use a Flask Blueprint to help you structure your application by grouping its functionality into reusable components. You’ll learn what Blueprints are, how they work, and how you can use them to organize your code.

(是也乎:

Blueprint

兰图是 Flask 对应用工程的思考成果,可惜, 整个儿 Flask 的生产力被依赖的上游模块拖乱了,导致 Django 赢得了一切.

)

    • SOBOLEVN.ME
    • • Shared by Nikita Sobolev

“Dependency injection is a controversial topic. There are known problems, hacks, and even whole methodologies on how to work with DI frameworks. It is not the case when using a functional approach.”

    • PETER SPERL
    • & BEN GREEN
    • (BLOOMBERG)

Tips about avoiding known gotchas when configuring uWSGI to host services at scale — while still providing a base level of defensiveness and high reliability.

(是也乎:

uWSGI 不错, 因为不可安装在 windows 中

)

    • OLEG ŻERO

“Pure python implementation of the random search optimization algorithm as an alternative to the standard gradient descent, given a very silly example.”

(是也乎:

在 世界重启 那书中, 广泛的讨论了人类技术的可靠延续 ;-))

    • YING WANG

(是也乎:

不是 王珢, 是另外一位在校学生, 之前推荐过这篇文章.

)

    • ANDREW ODENDAAL

(是也乎:

很久没见 PyPy 相关的文章了...

)

    • FAIZAN BASHIR

(是也乎:

其实, Anaconda 已经作的很好了

)

    • FERENC BODON
    • • Shared by Ferenc Bodon

好物

Interesting Projects, Tools and Libraries, Projects & Code

    • GITHUB.COM/VISIONML

(是也乎:

atom_overview

叕一个追踪库, 只是基于 PyTorch, 不知道实时性如何

)

    • GITHUB.COM/OMEGAML

(是也乎:

for humans 是个好目标, 只是作到的非常少

)

    • GITHUB.COM/GEORGEK42

(是也乎:

叕一种嵌入 C 代码的形式

)

    • GITHUB.COM/CHRISTIANSCOTT

(是也乎:

超越推导

)

    • GITHUB.COM/PYHANDLE

(是也乎:

H 就是 handle,为 C 提供更好的 Python 接口,这个思路很靠谱哪.

)

    • GITHUB.COM/DEPPEN8
    • • Shared by Python Bytes FM

(是也乎:

Flake8 终于开始关注 Pandas 了

)

    • GITHUB.COM/JONATHANWILLITTS
    • • Shared by Jonathan Willitts

(是也乎:

经过400多期, 9年的积累, 现在 pycoders 周刊,越来越多主动分享的消息了

)

    • GITHUB.COM/MAXHUMBER
    • • Shared by Max Humber

(是也乎:

gif

叕一个 gif 动画制造工具, 嗯哼, 这 logo 非常亲切了

tornado

使用也非常简单:

import gif    from matplotlib import pyplot as plt
@gif.frame    def plot(x, y):        plt.figure(figsize=(5, 3), dpi=100)        plt.scatter(x, y)        plt.xlim((0, 100))        plt.ylim((0, 100))

正常定义好一帧 plt 图片, 然后指定范围自动化生成就好, 比如:

from random import randint
frames = []    for _ in range(50):        x = [randint(0, 100) for _ in range(10)]        y = [randint(0, 100) for _ in range(10)]        frame = plot(x, y)        frames.append(frame)

)

    • GITHUB.COM/MABAU
    • • Shared by Martin Bauer

(是也乎:

基于 sympy

)

📆🐍 活动/大会

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

    • February 8 to February 9, 2020
    • USA
    • February 8, 2020
    • TX,USA

(是也乎:

Pythonner 才是正式的 Python 开发者族群名哪.

)

    • February 8 to February 10, 2020
    • 波兰
    • February 10, 2020
    • Canada
    • February 11, 2020
    • ??
    • February 11, 2020
    • 德国
    • February 11, 2020
    • IN,USA

DAMA

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

    • 5py
    • 报名

(( ̄▽ ̄):

第五期已经开始报名:

20.2.20 报名截止    20.3.1  正式开课    20.4.12 按时结束

)

    • github.com/wuhan2020

(是也乎:

高速完成构建/发布/传播, 以及社区联合的开源项目,数据不公开, 那就由人来采集再公开.

)

是也乎

NN 3914

  • 首发:
  • 修订:

蟒营™Python入门班第5期已开始报名:计划:

  • 报名截止 2020.2.24
  • 正式开课 2020.3.1
  • 按时结束 2020.4.12

报名表

:||||||

Powered by: /

本文由博客一文多发平台 发布!

转载地址:https://blog.csdn.net/zoomquiet/article/details/104179860 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:蟒周刊-405-Python 3.9.0a3 现在可用于测试
下一篇:蟒周刊-392-可期仙器 ->removestar ->自动替换*导入为显式导入

发表评论

最新留言

做的很好,不错不错
[***.243.131.199]2024年03月02日 03时33分43秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

db2与mysql编目_DB2编目、联邦数据库 - Goopand's OS Space - OSCHINA - 中文开源技术交流社区... 2019-04-21
atomikosdatasourcebean mysql_SpringBoot2整合JTA组件实现多数据源事务管理 2019-04-21
webpack 入口文件 php,如何实现webpack多入口文件打包配置 2019-04-21
php tire树,Immutable.js源码之List 类型的详细解析(附示例) 2019-04-21
matlab转差频率控制,转差频率控制的异步电机调速系统的研究 2019-04-21
oracle错误1327,Oracle中的PGA监控报警分析(r11笔记第97天) 2019-04-21
php函数内的循环,PHP 循环列出目录内容的函数代码 2019-04-21
oracle树状排序,Oracle树状结构查询 2019-04-21
深度linux内核升级,深度操作系统 2020.11.11 更新发布:内核升级 2019-04-21
sql 拆解函数_SQL入门50题详解(含知识点讲解及代码运行步骤拆解) 2019-04-21
java和python交互 jni_Python基于pyjnius库实现访问java类 2019-04-21
macbook pro 卸载mysql_MacBook Pro全新重装OS X Yosemite 2019-04-21
已达到计算机的连接数最大值无法再同此远程计算机连接_电脑远程访问已达到计算机的连接数最大值怎么办?解决方法很简单... 2019-04-21
mysql表名长度_JavaWeb之MySQL(一) 2019-04-21
mysql服务器语法_Mysql语法 2019-04-21
pdf 模版 汉字和数字_《吉林大学珠海学院毕业论文(设计)模板》(汉字标题版) .pdf... 2019-04-21
python bottle部署_nginx+uwsgi+bottle python服务器部署 2019-04-21
python双击py一闪_Python脚本在双击.py时无法正常运行 2021-06-24
redis logfile为空_关于Redis(二) 2021-06-24
mysql 设计两个主键都不可重复_程序员面试备战篇:18个经典MySQL面试专题解析(干货分享答案)... 2021-06-24