Hey R and Python folks at #NICAR26 looking at coding agents for data analysis: Databot from Posit (formerly RStudio) is another option. It's an agent for the Positron IDE specifically designed for data work.
https://posit.co/blog/introducing-databot/
See a demo from September's Posit conference:
https://youtu.be/Ve7cNChzq5Q?si=NeEs2dzr9Vhpigps&t=1618
#RStats #Python
Writing a #Python module? Want to control which names are exported via "from .. import *"?
Define __all__, a list of strings indicating which names will be exported via "import *":
x = 100
y = [10, 20, 30]
z = {100, 200, 300}
__all__ = ['x', 'z']

A #pytest plugin to make the output look like #pest 's one: https://github.com/einenlum/pytest-elegant
Hey all, sharing a couple blog posts here about domain-driven design (DDD) & scientific (#python) software:
https://blog.nicholdav.info/posts/2026-03-06-domain-driven-design/
& how I use it w/VocalPy:
https://blog.vocalpy.org/posts/2025-12-19-domain-driven-design/
Would love to hear what ppl think.
Esp. curious to hear from folks who know CompSci history + teaching well, and/or who do social sci around SWE -- are there reasons DDD is not more widely known? @gvwilson @dabeaz @Felienne @grimalkina
(big thx to @us_rse @pyOpenSci ppl who gave feedback)
New blog post: I Used NumPy to Plan for My Home Renovations
https://plbrault.com/blog-posts/i-used-numpy-to-plan-for-my-home-renovations/
Pinsource, a fork of my previous application called #hcsr04sensor, is a #python library for interacting with Ultrasonic Sound sensors on arm boards like a #RaspberryPi.
Unlike hcsr04sensor that uses #RPi.GPIO , Pinsource uses #lgpio and should work on a #RaspberryPi5 . Problem is I don't have a Pi 5 and have no immediate plans to get one. If anyone has an #HCSR04 or #JSNSRT04 ultrasonic sensor and a Pi 5 I would appreciate a quick test.
Details in the README at https://github.com/alaudet/pinsource
CryptoBuddy или как мы с другом решили сделать переписку секьюрной
Всем привет! Моя первая статья тут, просьба строго не судить :-) Предыстория Когда-то давным-давно, в прошлом десятилетии, я учился в одном техническом университете по специальности "информационная безопасность автоматизированных систем" и один из предметов, который меня заинтересовал, был криптография. В то время для меня это был какой-то вид магии, сверхспособность - возможность передавать информацию так, чтобы ее понял только тот, кому она предназначалась. Однако после учебы, столкнувшись на практике с данной областью ИБ, романтика ушла на второй план, и осталось практическое понимание необходимости использования криптографии для обмена "конфиденциальной" информацией. Там, на месте работы (одна большая государственная организация), где использовал криптографию в практическом аспекте, и познакомился со своим другом. Почти 9 лет прошло) Потом я перешел работать в SOC, и с криптографией взаимодействую не так часто, однако идея возможности передачи зашифрованной информации все еще была в уме. Поэтому в определенный момент решил реализовать это на практике, создав небольшого локального помощника в данном вопросе.
https://habr.com/ru/articles/1007942/
#python #infosecurity #windows #android
I love Bash. I used to write tons of Bash. There is a lot of Bash in my life, even to this day.
But here's my life now:
* Bash holds some stuff together (small stuff: usually setting variables, aliases, and/or piping together a few CLI tools. See https://github.com/wolf/dotfiles/tree/main/shells/dot-config/shells/topics for examples)
* Zsh is good at doing stuff when I type, so that's my login shell
* If I have to do something interesting, why not just a Python script? In modern times, with a `uv` shebang line and self-specified dependencies ... the only externally visible additional requirement is `uv` itself (you don't even need Python). Just like a shell-based answer: you end up with a single stand-alone file
I'm not going to argue about "but you have to install `uv`". You do you.
#Bash #Zsh #Python #uv #Dotfiles
pyBacting 0.2.16 (with CDK 2.12) is now available at https://pypi.org/project/pybacting/
#python #openscience #cheminformatics
Python Tip: os.scandir() Speed
import os
# 20x faster than os.listdir() for stat operations
for entry in os.scandir('/path'):
if entry.is_file():
print(entry.name, entry.stat().st_size)
os.scandir() caches file metadata during iteration. Up to 20x faster than listdir() + stat() calls.
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
Python Tip: List Comprehension Speed
# 3x faster than a for loop
squares = [x**2 for x in range(1000)]
List comprehensions are not just cleaner — they run up to 3x faster than equivalent for loops in...
https://raccoonette.gumroad.com/l/Python-for-Beginners-From-Zero-to-Your-First-Projects
#Python #CodingTips #Programming
The #PyOhio #CFP is now LIVE! This is the moment you've all been waiting for!
We're really excited to launch PyOhio 2026 with a bang, and we really want to hear what you have to say! Our CFP is open for ANYONE to submit, regardless of experience level! Our CFP will be open until April 19, AoE, so get those proposals started! You can submit up to 3 talk proposals using the form here: https://pretalx.com/pyohio-2026/cfp
Boosts are appreciated, and thank you for your support!
