python

Back Open Paginator
06.08.2025 08:23
eliocamp (@eliocamp@mastodon.social)

Trying to get your tools to use the correct

(Created using deathgenerator.com/#smb )





Show Original Post


06.08.2025 07:17
GripNews (@GripNews@mastodon.social)

🌗 KittenTTS:25MB 以內的頂尖文字轉語音模型 😻
➤ 顛覆傳統!輕巧高效的 AI 語音合成新紀元
github.com/KittenML/KittenTTS
KittenTTS 是一個革命性的開源文字轉語音 (TTS) 模型,以其驚人的輕量級設計(模型大小不到 25MB)和卓越的語音合成品質脫穎而出。該模型僅有 1500 萬個參數,無需 GPU 即可在任何裝置上運行,並提供多種高品質人聲選項,實現即時語音合成。本文說明瞭如何透過 pip 安裝並使用 KittenTTS Python 套件,快速體驗其先進的 TTS 功能。
+ 哇!25MB 就能做出這麼高品質的 TTS,而且還不用 GPU?這真是太驚人了,絕對要試試看!
+ 看到 KittenTTS 的介紹,感覺像是為行動裝置或資源有限的專案量身打造。開發者們的努力值得肯定!




Show Original Post


06.08.2025 06:48
zopyx (@zopyx@mastodon.world)

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.

fosstodon.org/@ThePSF/11497571




Show Original Post


06.08.2025 06:18
GripNews (@GripNews@mastodon.social)

🌘 Amaranth 語言與工具鏈 0.6.0.dev100 文件導覽
➤ 用 Python 打造 FPGA 硬體的強大工具
amaranth-lang.org/docs/amarant
Amaranth 是一個基於 Python 的開源工具鏈,用於開發同步數位邏輯硬體,旨在簡化 FPGA 開發流程。它結合了 Amaranth 語言、標準函式庫、模擬器及建置系統,並能與現有業界標準工具鏈整合,同時提供開發板定義,讓使用者能專注於應用邏輯。
+ 終於有了一個能讓 Python 愛好者也能輕鬆駕馭 FPGA 開發的工具!
+ 整合了 Yosys 和常見 FPGA 工具鏈,感覺很完整,期待實際應用。




Show Original Post


06.08.2025 05:28
xnite (@xnite@infosec.exchange)

@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.




Show Original Post


06.08.2025 05:03
treyhunner (@treyhunner@mastodon.social)

Do you use PDF, epub, or other downloadable 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).

discuss.python.org/t/removing-




Show Original Post


06.08.2025 04:37
astraluma (@astraluma@tacobelllabs.net)

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?




Show Original Post


06.08.2025 04:30
driscollis (@driscollis@mastodon.social)

The latest edition of the Python Papers Newsletter is out now!

Learn how to read a TOML document with using the standard library! 🐍🔥





Show Original Post


06.08.2025 04:10
villares (@villares@pynews.com.br)

#NumPy #OpenSimplexNoise #Loop "Noise walkers" Code at: github.com/villares/sketch-a-d
More sketch-a-day: abav.lugaralgum.com/sketch-a-d
If you like this, support my work:
paypal.com/donate/?hosted_butt
liberapay.com/Villares
wise.com/pay/me/alexandrev562 #Processing #Python #py5 #CreativeCoding





Show Original Post


06.08.2025 03:42
paulehoffman (@paulehoffman@infosec.exchange)

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 (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?




Show Original Post


06.08.2025 03:33
clonbg (@clonbg@masto.es)

Primeros pasos con PyQt y QtDesigner. Primer programa con Python myblog.clonbg.es/primeros-paso #Programación #Python #PyQT clonbg.es





Show Original Post


06.08.2025 03:21
treyhunner (@treyhunner@mastodon.social)

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? trey.io/xtql6h




Show Original Post


1 ...1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 ...1546
UP