由於 Python 的根基來自 Unix 文化,它周圍的工具鏈(toolchain)也深受其「do one thing, and do it well」哲學影響,著重於創建單一功能,可與其他工具互動的元件。搭配開源社群常見的「bring your own tools」理念,Python 傳統上並沒有一個「標準」的工具搭配,而是讓大家發揮創意自由組合。這同時是優點,也是詛咒——不論你的背景為何,都可以在 Python 找到習慣的配置,但是經驗較少的人就容易犯錯,用了不適合自己,甚至根本錯誤的開發環境。
About Wen-Wei Liao:
Wen-Wei Liao is formally educated in Life Science and holds a master's degree in Systems Neuroscience at National Tsing Hua University.
He is currently working in Pao-Yang Chen's lab at Academia Sinica.
...
https://www.youtube.com/watch?v=JWNguqc_bIg
活動網頁: https://tw.pycon.org/2021/en-us/conference/warmups/taichungpy
Taichung.py:
我們是一群台中Python程式語言的愛好者,希望在台中可以跟 Python 同好分享 Python 有關的訊息或活動,以及相關的技術或知識。
Chapters:
0:00 活動開場
1:59 Taichung.py 介紹
10:26 講者分享: Jimmy Chuo - How to process ECG signal for Machine Learning
51:25 講者分享: Miya - Use machine learning to generate medical report
1:25:54 活動結尾
...
https://www.youtube.com/watch?v=mvrHFM07IUA
PyCon APAC 2022|一般演講 Talks|國泰金控 Cathay Financial Holdings / 美光科技 Micron 冠名贊助
✏️ 共筆 Note:https://hackmd.io/@pycontw/HkrTI6XJo
?? Slido:https://app.sli.do/event/ez4eKwjekuNrwQbbDmEjL9
? 投影片 Slides:https://drive.google.com/file/d/1WMPMgOp6mpLTZf-U_abGfDRLCTCc-ois/view?usp=sharing
? 語言 Language:英文 English
? 層級 Level:中階 Intermediate
? 分類 Category:Python 核心 Python Core
? 摘要 Abstract ?
Developers often mess up the validation steps of the payloads from API requests. Following a systematic way to setup the validator and keep code clean is crucial. A decorator is a function that takes another function as an argument and extends its behavior without explicitly modifying it. Validator-as-a-decorator is an ideal approach for function-based APIs since the validation always happens before the API call happens. It is also reusable and prevent the need of changing the API implementation itself. In this talk, I'll first use a Flask (web framework) + Cerberus (3rd-party data validation library) example to demo the steps of building a Validator-as-a-decorator. The other part of the talk, I'll compare different data validation library in both functionality and restriction aspects, also briefly mention how other web frameworks (Django/FastAPI) deal with request payload validation.
? 說明 Description ?
Here are the data validation libraries would be mentioned in this talk:
- [Cerberus] https://docs.python-cerberus.org/en/stable/
- [jsonschema] https://python-jsonschema.readthedocs.io/en/stable/
References on how other web frameworks deal with request payload validation:
- [Data spec validator for Django] https://github.com/hardcoretech/data-spec-validator
- [Pydantic and how it's used by FastAPI] https://fastapi.tiangolo.com/tutorial/body/
? 講者介紹 About Speaker - Sammy Wen ?
Software Engineer II @ Nylas. Currently in Vancouver, BC, Canada. My 5-year journey in Python is awesome! So glad to see the community keeps growing!
#pycontw #pyconapac2022 #python #restapi #flask #cerberus
Follow “PyCon Taiwan”
⭐️ Official Website: https://tw.pycon.org
⭐️ Facebook: https://www.facebook.com/pycontw
⭐️ Instagram: https://www.instagram.com/pycontw
⭐️ Twitter: https://twitter.com/PyConTW
⭐️ LinkedIn: https://www.linkedin.com/company/pycontw
⭐️ Blogger: https://pycontw.blogspot.com
...
https://www.youtube.com/watch?v=JLbv10YJSPU
Speaker: Albert Huang
Bit-encoded parser in communication system is not easy to program, and usually written in C. Sometimes for lack of toolchain or reduction of memory footprint, programmers might still need to write it in assembly, and it's definitely not a happy task. The author tries to share his happy experience on rapid prototyping this kind of parser in Python, and later coded them in assembly running in an embedded processor.
About the speaker
大學念交大電信系,研究所從清華資工所畢業後在通訊 IC 上從事 DSP 韌體設計,對於即時系統與通訊系統有著莫名的熱情,自從 2000 年學了 Python 之後,就一直愛不釋手,在公司裡面嘗試在所有非組合語言與 C 語言的場合都用 Python 建立方便的工具,近年來致力於讓數位訊號處理能夠深入淺出的讓有興趣的人能夠學習,希望減緩 DSP 實作的學習曲線。
個人網頁連結 http://alberthuang314.blogspot.com/
Twitter @AlbertHuang314
頭銜 Principal Firmware Engineer
https://tw.pycon.org/2015apac/zh/program/32
...
https://www.youtube.com/watch?v=0xOW8hxWXRE
Day 2, R3 11:10–11:40
Constantly waiting for your data processing code to finish executing? Through real-life stories, we will explore how to leverage on parallel and asynchronous programming in Python to speed up your data processing pipelines - so that you could focus more on getting value out of your data. While this talk assumes a basic understanding of processes in data pipelines and data science workflows, anyone with a basic understanding of the Python language would be able to understand the concepts and use cases illustrated with analogies.
Slides: https://speakerdeck.com/ongchinhwee/speed-up-your-data-processing-parallel-and-asynchronous-programming-in-python
Speaker: Chin Hwee Ong
Ong Chin Hwee is a data engineer, aspiring polymath and Industry 4.0 enthusiast who happens to be interested in things that fly (and stuff that burn to keep things flying). Hailing from a background in aerospace engineering and computational modelling, Chin Hwee has experience working on innovative projects in collaboration with academia and industry partners. Chin Hwee is a contributor to the documentation for pandas 1.0 and enjoys sharing her experiences at meetups and conferences.
...
https://www.youtube.com/watch?v=w2eUdxPQQ78