150 行代码的全文搜索引擎

原文: PyCoder's Weekly - Issue #466

pycoder

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

Learn how to organize models into dataframes for exploratory data analysis, and why you might want to consider doing this.

Go from data preparation to search engine in just a few lines of Python.

(是也乎:

IDF )

In this step-by-step tutorial, you’ll learn what Python’s OrderedDict is and how to use it in your code. You’ll also learn about the main differences between regular dictionaries and ordered dictionaries.

(是也乎:

OrderedDict

)

OpenTelemetry Python distributed tracing API/SDK released its 1.0 version.


探讨/吐糟

Discussions

A design team needs to process 745 headshots to fit 150x150px for an external platform. The team: Ugh, this will take over 2 weeks. A Python developer: Hang on, give me 5 minutes.

(是也乎:

Wizard ~ 男巫;

嗯哼, 没毛病

)


文章/教程/嗯哼

Articles, Tutorials and Talks

Python list comprehensions make it easy to create lists while performing sophisticated filtering, mapping, and conditional logic on their members. In this course, you’ll learn when to use a list comprehension in Python and how to create them effectively.

(是也乎:

Comprehensions

伟大的列表推导式

)

The boat has finally been unstuck, but just in case you want to check on whether or not anything like this happens again, here you go!

(是也乎:

PIL -> Twilio

也是经典的社区相爱相杀故事.

)

The HPy project aims to create a simpler and faster C API for Python.

Dane Hillard, the author of the book Practices of the Python Pro, discusses a variety of topics, including code complexity, Python package maintenance, and popcorn.

(是也乎:

Community

)

Learn about two of Python’s data structures: records and sets. You’ll look at multiple types and classes for both of these and learn which implementations are best for your specific use cases.

(是也乎:

Sets

)

If you need to secure Python’s bytecode to minimize attack surfaces in your production deployment, then you’ll definitely want to check this out!

Python 3.10 is slated to be released in October of this year. Read about some of the features and changes you can expect to see.

(是也乎:

放飞的 Python 越来越像 C++ 23?

)

Dan Bader talks about Real Python’s completely refreshed layout designed to improve users’ learning experience.

(是也乎:

Experience

)


好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

icecream

再次推荐, 这个思路是清奇的... 一次替代了 print 以及 logging 两模块

)


📆🐍 活动/大会

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

(是也乎:

即便是线上的, 一样收费.

)

(是也乎:

以色列, 全球创新热点地区...

)

(是也乎:

反正很早都上 油管了, 随时可以 review, 当然, 这个随时, 随时了很多年都没刷光.

)


DAMA

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

(是也乎:

独创 logging + debug 模块

)

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)

(是也乎:

私人初体验, 现在 http/https 资源混用浏览器越来越傲娇了, 最好有工具可以统一迁移...

)


PS:


好文笔,感叹号年度配额: 2/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4334

RPP


Comments


大妈的多重宇宙 - YouTube

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

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


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


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

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