Trying to get your tools to use the correct #python
(Created using https://deathgenerator.com/#smb )

🌗 KittenTTS:25MB 以內的頂尖文字轉語音模型 😻
➤ 顛覆傳統!輕巧高效的 AI 語音合成新紀元
✤ https://github.com/KittenML/KittenTTS
KittenTTS 是一個革命性的開源文字轉語音 (TTS) 模型,以其驚人的輕量級設計(模型大小不到 25MB)和卓越的語音合成品質脫穎而出。該模型僅有 1500 萬個參數,無需 GPU 即可在任何裝置上運行,並提供多種高品質人聲選項,實現即時語音合成。本文說明瞭如何透過 pip 安裝並使用 KittenTTS Python 套件,快速體驗其先進的 TTS 功能。
+ 哇!25MB 就能做出這麼高品質的 TTS,而且還不用 GPU?這真是太驚人了,絕對要試試看!
+ 看到 KittenTTS 的介紹,感覺像是為行動裝置或資源有限的專案量身打造。開發者們的努力值得肯定!
#文字轉語音 #AI #模型 #Python #輕量化
The largest five AI providers should support @ThePSF with a grant of 1 million USD per year each for a period of 5 years. All these companies and their business depends on Python and they should show their commitment to Python.
Companies like Meta offer millions to single AI persons. They should have the money for supporting #Python with a very small portion of their budgets.
https://fosstodon.org/@ThePSF/114975715473155253
🌘 Amaranth 語言與工具鏈 0.6.0.dev100 文件導覽
➤ 用 Python 打造 FPGA 硬體的強大工具
✤ https://amaranth-lang.org/docs/amaranth/latest/intro.html#the-amaranth-language
Amaranth 是一個基於 Python 的開源工具鏈,用於開發同步數位邏輯硬體,旨在簡化 FPGA 開發流程。它結合了 Amaranth 語言、標準函式庫、模擬器及建置系統,並能與現有業界標準工具鏈整合,同時提供開發板定義,讓使用者能專注於應用邏輯。
+ 終於有了一個能讓 Python 愛好者也能輕鬆駕馭 FPGA 開發的工具!
+ 整合了 Yosys 和常見 FPGA 工具鏈,感覺很完整,期待實際應用。
#FPGA #硬體描述語言 #Python #工具鏈
@treyhunner I'm going to take a wild guess here and say that you are safe to stop making non-HTML builds of #Python documentation.
In fact I would go as far as to say that you should focus those efforts, that once went to non-HTML builds, into making the #HTML #documentation more accessible for #AI to read and understand.
Do you use PDF, epub, or other downloadable #Python documentation? Or do you only use the web docs?
The core team are trying to decide whether it's worth keeping various non-HTML builds (which are often slow to build).
https://discuss.python.org/t/removing-non-html-pdf-epub-etc-documentation-downloads/101343
Hey, #Python
Anyone know what's up with Django ORM and async? Last I heard they were working on adding async support to everything, but the ORM is still sync only?
The latest edition of the Python Papers Newsletter is out now!
Learn how to read a TOML document with #Python using the standard library! 🐍🔥

#NumPy #OpenSimplexNoise #Loop "Noise walkers" Code at: https://github.com/villares/sketch-a-day/tree/main/2025/sketch_2025_08_05
More sketch-a-day: https://abav.lugaralgum.com/sketch-a-day
If you like this, support my work:
https://www.paypal.com/donate/?hosted_button_id=5B4MZ78C9J724
https://liberapay.com/Villares
https://wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding
Asking for an opinion from all my #python friends. The non-work Python project I'm developing has a few places where I need to find the most recent text above the current position that matches a #regex. I can either:
- Require the non-standard regex module (https://pypi.org/project/regex/) which has a REVERSE flag
- Create a "match all the things from the beginning, but then only use the one whose match.start() is before the current position
The first is clearly cleaner, but requires users to add one more module (they're already needing to add two others for different stuff in the program). The second is a tad kludgy, slower (but only by maybe a tenth of a second), but requires no additional includes.
Opinions? Strong opinions? First-hand experience with the regex module?
Primeros pasos con PyQt y QtDesigner. Primer programa con Python https://myblog.clonbg.es/primeros-pasos-con-pyqt-y-qtdesigner-primer-programa-con-python/ #Programación #Python #PyQT https://clonbg.es

So we can use any(), all(), or Python's "in" operator to check conditions... but what if we need to get the actual value that matches rather than just a boolean indicating whether there was a match? https://trey.io/xtql6h