python

Back Open Paginator
23.08.2025 23:21
neustradamus (@neustradamus@mastodon.social)

6.3.0 has been released ( / / / / / / ) dev.gajim.org/gajim/python-nbx




Show Original Post


23.08.2025 22:17
AndriiKuznietsov75 (@AndriiKuznietsov75@social.kyiv.dcomm.net.ua)

🐍📕 Підручник #Python, що включає матеріали щодо поглиблених концепцій Python та аналізу даних.
До нього входять:
▪️Упаковка та розпакування значень, менеджери контексту, декоратори та інші теми;
▪️Робота з класами, включаючи магічні методи;
▪️Обробка та візуалізація даних;
▪️Основи машинного навчання.
hsf-training.github.io/analysi




Show Original Post


23.08.2025 22:14
snacktraces (@snacktraces@hachyderm.io)

Another thing I find useful about numpy in Python is that it can even be used to make up "data" to use with the other functionality in the library. That whole "say that you have a 2 x 2 array" thing is just as straightforward as...

array_2d = numpy.random.rand(2, 2)

And there you have it, a 2 x 2 array to work with. After saving all that time, I could probably go for...

snack = numpy.make_sandwich(peanut butter, jelly)

#python #SoftwareEngineering




Show Original Post


23.08.2025 21:51
coatless (@coatless@mastodon.social)

TIL: The web framework licensing game is mostly MIT/Apache… except Shiny for went rogue with GPL-2 😅

Shiny for : MIT ✅
Gradio: MIT ✅
Streamlit: Apache 2.0 ✅
Dash: Apache 2.0 ✅
: GPL-2 🤷‍♂️

Anyone know the backstory here?




Show Original Post


23.08.2025 21:41
GripNews (@GripNews@mastodon.social)

🌗 掃描式線相機影像處理:從雜訊到清晰影像的技術解析
➤ 一位鐵道攝影愛好者的掃描式線相機影像優化實戰
daniel.lawrence.lu/blog/y2025m
本文詳細介紹使用掃描式線相機捕捉火車等移動物體影像的後製處理流程。作者首先說明瞭相機規格與原始數據的儲存方式。接著,探討如何透過計算「能量函數」來偵測影像中的動態區域,並採用分塊處理及百分位數篩選法來排除背景雜訊。在速度估計方面,利用 Bayer array 中紅綠藍(RGB)感測器的綠色通道相位差,透過子像素插值和穩健的樣條擬合,精確計算移動主體的移動速度。隨後,基於速度估計結果進行重取樣,並使用 Hann 窗函數提高影像品質,避免鋸齒狀偽影。文章也觸及了 Bayer 陣列的色彩還原(demosaicing)技術,以及解決垂直條紋和雜訊的處理方法,最後簡述了實作細節。
+ 原來處理線相機的影像這麼複雜,作者的步驟很清晰,學到了很多!
+ 針對速度估計的部分,利用綠色通道的差異來計算真是巧妙的設計。




Show Original Post


23.08.2025 21:35
lobsters (@lobsters@mastodon.social)

microdot: The impossibly small web framework for Python and MicroPython lobste.rs/s/cts0cb
github.com/miguelgrinberg/micr




Show Original Post


23.08.2025 20:41
douglasvb (@douglasvb@mastodon.social)

I switched to the individual streams from the ip cams with this script rather than use the restream function which seemed to be a bit glitchy and also slow. It seems to be working pretty well overall. I haven't seen any failures yet.

I went ahead and switched over the webpage to show photos from this setup. I'll watch it for an hour or two to make sure things appear to be working correctly and then I'll turn off the old computer.

I might add more logging and ...




Show Original Post


23.08.2025 19:51
snacktraces (@snacktraces@hachyderm.io)

One of the most helpful things about Python and other language ecosystems that provide libraries, is the ability to do most of what you need to do quickly with one library.

Example: in numpy there are already functions to import or export data from/to a file. No need to use another "file access library" because numpy has it covered.

Extra special super secret bonus points to all the library maintainers out there, who are also often volunteering their time for such.

#python #softwareengineering




Show Original Post


23.08.2025 19:40
geekland (@geekland@mastodon.social)

[How-To] Problema ‘externally-managed-environment’ al instalar mediante pip3
h4ckseed.wordpress.com/2025/08




Show Original Post


23.08.2025 18:02
habr (@habr@zhub.link)

Telegram Ads: Полное руководство для инженеров и data-driven маркетологов. От архитектуры воронки до ROI

Большинство гайдов по Telegram Ads учат нажимать на кнопки. Эта статья учит строить систему. Мы разберем платформу с инженерной точки зрения: от экономики аукциона и неочевидных механик таргетинга до проектирования отказоустойчивой системы трекинга на базе Telegram Deep Links с примерами на Python. Я покажу, как мы строим data-driven подход, который позволяет отсекать до 90% неконверсионного трафика, снижать CAC в разы и принимать решения на основе данных, а не интуиции. Это самый полный технический мануал по Telegram Ads в рунете. Под капот, к цифрам и коду →

habr.com/ru/articles/940026/

#telegram_ads #реклама_в_телеграм #кейс #аналитика #python #telegram_bot_api #deep_link #cac #datadriven #таргетинг_телеграм




Show Original Post


23.08.2025 18:00
sheena (@sheena@fosstodon.org)

The #PSF board elections are here! If you are into #Python then you should really consider signing up as a #PSF member, and casting your vote.

Here's an excellent article about the election process:
python.org/nominations/electio

I'm running for the board this year. You can see my nomination here:
python.org/nominations/electio




Show Original Post


23.08.2025 17:47
EndorNim (@EndorNim@mathstodon.xyz)

theguardian.com/technology/202

I’ve got a bad feeling about this! Thank God there are no tariff wars to worsen things.

#ai #science #technology #python #openthepodbaydoorhal




Show Original Post


1 ...1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 ...1547
UP