importpython-barnner.png

该读

~ 文章, Blog, 教程...

Victor Stinner sees a need to improve Python performance in order to keep it competitive with other languages. He brought up some ideas for doing that in a 2017 Python Language Summit session. No solid conclusions were reached, but there is a seemingly growing segment of the core developers who are interested in pushing Python's performance much further, possibly breaking the existing C API in the process.

(是也乎:

运行时性能爱好者们的嗯哼... )

Luigi is a Python module that helps you build complex pipelines of batch jobs. It handles dependency resolution, workflow management, visualisation etc. It also comes with Hadoop support built in.

Curated list of cheatsheets.

(是也乎:

cheat-sheet

讲真, 图形的不如 ipynb 那种可运行的...

)

PyGotham is a New York City based, eclectic, Py-centric conference covering many topics. There’s a diverse speaker list, and some things which will be quite different. PyGotham attracts developers of various backgrounds and skill levels from the New York metropolitan area and beyond. Activities include two full days of talks, lightning talk sessions, and a social event.

Do not use /root/.pyenv/shims/python . Use direct python in pyenv.

(是也乎:

其实, 更加 Pythonic 的方案是脱离 cron 使用 python 原生的定期任务模块 )

Build a naive Article Spell-checker in 10 Lines of Python Code.

Elizabeth is a Python library, which helps generate mock data. Part II of the tutorial we shared previously.

How to implement records, structs, and “plain old data objects” in Python using only built-in data types and classes from the standard library.

(是也乎:

records-structs

)

(是也乎:

可下载的 pdf 版本幻灯: 10 awesome features

  • 高级解包 ~ 追加了变参数,以及更直觉的操作
  • 关键词参数 ~ 能模式匹配了
  • Chained 异常 ~ 能返回更多信息了
  • 更好的追踪子类 OSError
  • 一切都能迭代了
  • 更加严格的比较了 ~ 原先一切都能相互嗯哼不行了
  • yield from ~ 形式上更加明显进行嗯哼了
  • asyncio ~ 重点广告特性
  • 标准库追加了几个
  • Fun ~ 中文|emoji 变量/类/函式名,
  • 区分了 Unicode and bytes
  • 矩阵运算支持
  • Pathlib ~ 只希望 win 系统也相同支持的更加自然...

)

In this blog post, we’re going to get back to basics and walk through how to get started using Apache Kafka with your Python applications.

Picard is a cross-platform music tagger written in Python. This is a fairly old package.

好物

~ 包/模块/库/片段...

NetBox is an IP address management (IPAM) and data center infrastructure management (DCIM) tool. Initially conceived by the network engineering team at DigitalOcean, NetBox was developed specifically to address the needs of network and infrastructure engineers.

(是也乎:

netbox_logo

screenshot2

因为 IPv6 了? )

A curated list of Machine Learning related surveys, overviews and books.

  • gain
    • 594 Stars, 29 Fork

Web crawling framework for everyone. Written with asyncio, uvloop and aiohttp. Everyone could write their own web crawler easily with gain framework. Gain framework provide a pretty simple api.

(是也乎:

Python3.5+

)

Geohash is a geocoding system invented by Gustavo Niemeyer and placed into the public domain. It is a hierarchical spatial data structure which subdivides space into buckets of grid shape, which is one of the many applications of what is known as a Z-order curve, and generally space-filling curves.

(是也乎:

proximityhash

震中分析

)

80 characters per line is waaaay too many. All Python programs should have at most six characters per line.

(是也乎:

将一切程序转换为每行只有6个字符的可用脚本, 一种通过扩展空间来进行混淆的技术... )

  • Nodz
    • 37 Stars, 17 Fork

Nodz : Visualize your data - Free nodes based graph generator.

(是也乎:

Nodz

嗯哼?! Qt.. )

Deep Learning Pipelines provides high-level APIs for scalable deep learning in Python. The library comes from Databricks and leverages Spark for its two strongest facets: In the spirit of Spark and Spark MLlib, it provides easy-to-use APIs that enable deep learning in very few lines of code. It uses Spark's powerful distributed engine to scale out deep learning on massive datasets.

(是也乎:

嗯哼, 热词合体... )

Apple CoreML example with scikit-learn

Get a full fake REST API with zero coding

(是也乎:

通过一个 JSON 声明来完成 RESTfull 接口的伪服务 )

HTTP/HTTPS proxy in a single python script

(是也乎:

单文件的代理器 )

An extremely well tested and commented red black tree implementation. Worth a look if you are studying the material.

Data validation and settings management using python 3.6 type hinting. Define how data should be in pure, canonical python; validate it with pydantic.

(是也乎:

基于 Py3.6+ 的特性,实现的数据验证和设置管理 )

( ̄▽ ̄)

这是 StackOverflow 联合创始人 Jeff Atwood 注释的十戒。程序员普遍有很强的 ego,都应该看看本文,打印下来时刻提醒自己:)

(是也乎:

Ten Commandments of Egoless Programming

源自 71 年神书: The Psychology of Computer Programming

银年纪念版

  • 承认并接受你也会犯错
  • 你不是你的代码
  • 无论你有多少奇招, 别人都有更多
  • 获得共识前不要重写代码(<-- 不是重构)
  • 在尊重和耐心的前提下, 和菜鸟沟通
  • 世上唯一不变的是变化 (即, PM 是自然现象)
  • 真正的权威源自知识而不是立场 (呵呵...)
  • 为你坚信的战斗, 但得优雅的接受失败
  • 嫑作 "房间摆设" (悲惨工作三征兆:无闻/无关/不可测)
  • 批评代码而不是人

软件的人性化原则 是永恒的

( ̄▽ ̄) 可惜, 程序猿的边缘化也是永恒的...

)

是也乎


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->