pdb while writing some stuff in #Python, and it's really nice to interact with!breakpoint() function, making conditional breakpoints very natural:if [condition]:* You don't need any special invocation to start the debugger - just run the script as you normally would and you end up in a pdb shell when a breakpoint is hit.
breakpoint()
>>> for key, some_list in some_dict.items():I end up writing things in the repl first, but within the context that the code would be written in reality.
... for value in some_list:
... breakpoint()
Brainfart of the day: "Linssi (Lens in Finnish) is an AI-powered image recognition application that runs entirely on your local machine. It scans your photos, identifies their content, learns to recognize faces, and builds a searchable database from your image collection. Requires an NVIDIA CUDA-capable GPU."
Currently running 107352 photos to the database...
Very first initial version available https://codeberg.org/hiltsu/linssi
#llm #yolo #photography #python

New Pybites podcast is live -> Why #Python developers are learning #Rust
Check it out here: https://www.youtube.com/watch?v=-5uLLBvWK5Q and let me know if you're into Rust or planning to learn it this year ...
#PyTV is now LIVE!
https://www.youtube.com/watch?v=qKkyBhXIJJU
Join us :)
Ускоряем pandas, не переписывая код. Мой опыт с FireDucks
Привет! Меня зовут Егор Лукьянов, я старший аналитик данных в Ozon Tech. В своей работе я часто сталкиваюсь с проблемой масштабируемости в pandas . Код, который быстро работает на гигабайте данных, начинает невыносимо тормозить на десяти. Уверен, эта боль знакома многим. Сейчас есть быстрые альтернативы, например, Polars . Я сам пробовал переводить на него свои проекты. Скорость действительно впечатляет, но как в анекдоте есть нюанс: приходится переписывать чуть ли не весь код и привыкать к новому синтаксису. А это большая работа, на которую не всегда есть время. И вот здесь я наткнулся на FireDucks — библиотеку, которая обещает решить эту проблему, просто заменив одну строку импорта. Звучало слишком хорошо, чтобы быть правдой. После опыта с Polars я был уверен, что где-то должен быть подвох. Я решил проверить FireDucks на нескольких типичных задачах. В этой статье я хочу без лишнего хайпа поделиться тем, что у меня получилось. Мы посмотрим на реальные примеры кода, сравним скорость и разберёмся, где эта библиотека действительно хороша, а где могут быть проблемы.
https://habr.com/ru/companies/ozontech/articles/1005590/
#pandas #data_analysis #data_engineering #python
Python Spotlight: Hack Emoji Count Loop
Python Spotlight: Hack Emoji Count Loop This content explores interesting aspects of this topic. The information provided offers valuable insights and perspectives. Understanding this reveals how everyday things are more thoughtful than they appear. Next time you'll notice this detail. This fascinating detail shows how much thought goes into things we take for granted.
#python #coding #programming #juniorde...
https://www.youtube.com/watch?v=wpXdwQIK_VI
Tuple Methods and Built in functions Explained - S1 EP06 P5 - #python #PythonProgramming #LearnPython #PythonBasics #Programming101 #pythonlife #ListItem #CodeTutorial #TechEducation #DeveloperLife #DailyCoding #Shorts #Reel #tiktoklearningcampaign #CodingForBeginners #PythonForBeginner #Programming #CodingTip #PythonOperators #codedaily
🐧 7 Best Free and Open Source Python Object-Relational Mapping Software
Object–relational mapping (ORM) is a programming technique for converting data between incompatible type systems using object-oriented languages. The post 7 Best Free and Open Source Python Object-...
📰 Source: LinuxLinks
🔗 Link: https://www.linuxlinks.com/best-free-open-source-object-relational-mapping-software-python/
Excel und andere #Spreadsheets sind für mich die größten Automatisierungsverhinderer in Organisationen. Ich nutze sie höchstens für Wegwerf-Tabellen. Alles, was komplexer ist oder Massendaten verarbeitet, gehört in Microservices – z. B. in #Python oder #JavaScript. GUI-basierte Tabellen bremsen Automatisierung und lassen sich schlecht in Workflows integrieren. Moderne #IT sollte solche Aufgaben als Code lösen. #Digitalisierung #Automatisierung #VibeCoding
🎉 Best deal ever on #jetbrains : if your #PyCharm subscription has just ended or is about to end, you get a perpetual "fallback" license to PyCharm 2024.3, aka the best PyCharm version ever, since 2025.* was all about #AI bullshit features and reduced stability.
#python #ide #webdev #django #resistGenAI #noAI #noGenAI
In T, pipelines are first class, and mixing #Python and #Rstats nodes is easy! Passing objects to and from R or Python is handled seamlessly with built-in serializers, with the option for users to provide their own!
https://github.com/b-rodrigues/tlang/

«Анализ данных. Как стать профессионалом». Обзор книги
Издательская практика в настоящее время требует оценивать англоязычные книги, а в идеале — отлавливать бестселлеры — задолго до выхода, по первым черновикам. Занятие увлекательное, но порой рискованное. Поэтому в потенциальной переводной книге мы ищем сочетание «широкого контекста» и заключённой внутри него «необходимой новизны». Книга должна быть понятна и интересна широкой аудитории, но не перемалывать в очередной раз широко известные вещи, к тому же разобранные в блогах, а серьёзно облегчать повседневный труд и при этом предлагать ступеньку для роста.
https://habr.com/ru/companies/bhv_publishing/articles/995806/
#data_science #анализ_данных #проектирование_систем #python #книги #развитие_продукта