python

Back Open Paginator
20.08.2025 16:28
mistersql (@mistersql@mastodon.social)

I got an app and I wish it would install myapp[all] by default and myapp[core] if specified, e.g. on a build server. The options look bad.
- Split package into 2, mypackage-core and mypackage.
- project.optional-dependencies has `[all]` and `[core]` and `dependencies` is empty, eg default installation is broken.
- Default to installing dependencies, make people add `[all]` for what should be the default experience.

Roughly [all] is for desktop use
[core] would be for the same app on CI




Show Original Post


20.08.2025 16:27
talkpython (@talkpython@fosstodon.org)

Episode #516: Accelerating Python Data Science at NVIDIA with Ben Zaitlen and @mkennedy #python #DataScience

talkpython.fm/episodes/show/51




Show Original Post


20.08.2025 16:19
wenzellabs (@wenzellabs@vis.social)

next, add a black bezel, a 16-segment font and add a video over..., hmm, underlay. and lots and lots of eyecandy.

#python #micropython #RGB #apa102 #sk9822 #digitus16





Show Original Post


20.08.2025 16:16
iX_Magazin (@iX_Magazin@social.heise.de)

Posit stellt Positron vor: Neue IDE für Data Science mit Python und R

Mit Positron veröffentlicht Posit eine neue, kostenlose IDE für Data Science. Nutzer können mit Python und R arbeiten. Sie löst RStudio explizit nicht ab.

heise.de/news/Posit-stellt-Pos

#IDE #IT #Python #Softwareentwicklung #news




Show Original Post


20.08.2025 16:02
ACCUConf (@ACCUConf@mastodon.social)

youtu.be/wKZio_KAMQ0




Show Original Post


20.08.2025 15:57
bart (@bart@floss.social)

$ tmux
$ python server.py

#DevOps #Python





Show Original Post


20.08.2025 15:52
habr (@habr@zhub.link)

[Перевод] Паттерны проектирования в Python, о которых следует забыть

Попробуйте поискать в Интернете «Паттерны проектирования на Python» — и получите целую простыню туториалов, демонстрирующих, как в точности воспроизвести на Python паттерны проектирования из книги «Банды четырёх». Там же будут диаграммы классов, иерархии фабрик и столько шаблонного кода, что выхлопа хватит, чтобы отопить маленькую деревню. Так вам внушают, будто вы пишете «серьёзный» код. Умно. Профессионал ьно. Готово для корпоративного использования. Но вот в чём проблема: большинство из этих паттернов решают проблемы, которые в Python просто отсутствуют . Паттерны разрабатывались для таких языков как Java и C++, где для выполнения самых базовых вещей требуется настоящая эквилибристика — нет ни функций первого класса, ни динамической типизации, ни модулей в качестве пространств имён. Разумеется, вам потребуется Фабрика или Синглтон, если без них в вашем языке просто не с чем работать. Слепо копировать эти паттерны в Python — не признак большого ума. Из-за них ваш код сложнее читать, тестировать, а также объяснять очередному бедняге, которому этот код придётся поддерживать. Возможно, через три месяца этим беднягой станете вы..

habr.com/ru/companies/piter/ar

#перевод #python #ооп #совершенный_код




Show Original Post


20.08.2025 15:47
Python4DataScience (@Python4DataScience@mastodon.social)

We have added a section on additional JSON tools: python4data.science/en/latest/




Show Original Post


20.08.2025 15:24
oskard (@oskard@mastodon.nu)

Pythonistas! What fo you think about PyCon DE? Are the talks good? Is it well organised? Thinking about going next year. #pyconde #pycon #python #conference




Show Original Post


20.08.2025 15:23
mblayman (@mblayman@mastodon.social)

🐍 What's in a toolbox? "A hammer, a screwdriver, pliers, measuring tape" Knowing tools helps you make efficient work decisions. Learn about the built-in functions (i.e. tools) available to your code. mattlayman.com/blog/2017/pytho




Show Original Post


20.08.2025 15:16
clonbg (@clonbg@masto.es)

Un par de cursos de Youtube sobre programación myblog.clonbg.es/un-par-de-cur #Programación #VueJs #Python clonbg.es





Show Original Post


20.08.2025 15:01
techbot (@techbot@social.raytec.co)

Attacks Targeting Linux SSH Servers to Install SVF DDoS Bot

A recent attack on poorly managed Linux servers has been identified, involving the installation of SVF Botnet, a DDoS Bot malware developed in Python. The malware uses Discord as its C&C server and employs multiple proxy servers for DDoS attacks. The threat actor gains access through weak SSH credentials and installs the bot using specific commands. SVF Bot supports various DDoS attack methods, primarily L7 HTTP Flood and L4 UDP Flood. It uniquely utilizes public proxy addresses for HTTP flood attacks, enhancing its effectiveness. The malware can receive commands from the threat actor, turning infected Linux servers into DDoS Bots. To protect against such attacks, administrators are advised to use strong passwords, regularly update systems, and implement security measures like firewalls.

Pulse ID: 68a5a890aad2db48780163d5
Pulse Link: otx.alienvault.com/pulse/68a5a
Pulse Author: AlienVault
Created: 2025-08-20 10:50:56

Be advised, this data is unverified and should be considered preliminary. Always do further verification.

#CandC #CyberSecurity #DDoS #Discord #DoS #HTTP #InfoSec #Linux #Malware #OTX #OpenThreatExchange #Password #Passwords #Proxy #Python #RAT #SSH #UDP #Word #bot #botnet #AlienVault




Show Original Post


1 ...1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 ...1547
UP