Bob Belderbos
banner
bbelderbos.bsky.social
Bob Belderbos
@bbelderbos.bsky.social
1.1K followers 54 following 370 posts
๐Ÿ‘‹ Co-Founder of Pybites ๐Ÿ Python software developer + coach ๐Ÿ“˜ Love books/ reading
Posts Media Videos Starter Packs
New Bite on the platform:

Subclassing: Vehicles in Motion

#python
I really like the retry use case to demonstrate #python decorators:
Build a tool with Rust, then integrate it into Python with the amazing PyO3 ๐Ÿฆ€ ๐Ÿ˜ ๐Ÿ“ˆ
Cool, more and more Rust ๐Ÿฆ€ ๐Ÿ˜
All because of needed performance?
Cool, love language learning so I'd check it out. I did a quick tool for this googletrans a while ago: github.com/bbelderbos/l... (need to go back and make a nicer GUI, probably using NiceGUI)
GitHub - bbelderbos/language-translator-gui
Contribute to bbelderbos/language-translator-gui development by creating an account on GitHub.
github.com
Oh cool, love seeing more Rust in Python these days. I recorded two Python related podcasts, coaching devs so more reviewing, working on more @pybites.bsky.social dev cohorts, including Rust
What are you doing with #python this week?
Haven't been here in a while? What's happening?
Structure + high accountability help:

> "This project has been different. In less time, Iโ€™ve completed more of an project than ever before. The constraint of 6 weeks has pushed me to keep going, and the regular check-ins with Bob and the cohort have kept my motivation high. ๐Ÿš€"
Heads up I am running another Snipster #Python training cohort next week - we'll build this cool app:
Thanks for joining us ๐ŸŽง @tiangolo.com ๐ŸŽ‰ and for all you do with @fastapi.tiangolo.com, other libs, and now FastAPI Cloud ๐Ÿ˜

It will be so nice to deploy FastAPI apps with just: `fastapi deploy` ๐Ÿš€

www.youtube.com/watch?v=Q_8a...
Pybites Podcast 191: Code, click, cloud - how Sebastiรกn Ramรญrez is taking FastAPI to the next level
YouTube video by Pybites
www.youtube.com
snakeviz == nice for profiling + visualizing ๐Ÿ’ก ๐Ÿ’ช ๐Ÿ

uv run python -m cProfile -o profile.out -m script_or_package
uv add --dev snakeviz
uv run snakeviz profile.out

(Screenshot: me profiling slow Pandas code as a candidate to refactor using Polars ๐Ÿ”ฅ)

#python #debugging
๐Ÿ‘จโ€๐Ÿซ Want in?

The main cohort is full, but beginner spots are still open (or join the waiting list for the next intermediate one)

Check it out here ๐Ÿ‘‰ pybitescoaching.com
Our @pybites.bsky.social coaching cohorts are going to be fun + transformative. With clear structure + coach guidance, but also learning from each other.๐Ÿ’ก
๐Ÿš€ Built a #Streamlit front-end on top of a #FastAPI backend for our next cohort (starting next week!) ๐Ÿš€

Great stack for quickly prototyping a front-end, all #Python, no JS ๐Ÿ˜Ž

(For more serious web apps you definitely want JS and/or htmlx though ๐Ÿ’ก)
7 adjacent skills that made me a better #developer (early on):

๐Ÿ’ป Vim + CLI
๐Ÿ›  Support/troubleshooting
๐Ÿšข Building complete apps
โœ๏ธ Writing/blogging
โœ… Automating tasks
๐Ÿ” Git
๐Ÿค Mentoring/teaching

Code is just the start. These built the real foundation.

#developers #python
#vibecoding, is it doing more harm than good?
TIL about the ๐Ÿ”ฅ chardet library โ€” it guesses unknown file encodings!

๐Ÿ“„ Write text in latin-1 โžก๏ธ try to read as utf-8 โžก๏ธ ๐Ÿ’ฅ UnicodeDecodeError.

๐Ÿ‘จโ€๐Ÿ’ป Solution:
๐Ÿš€ Build real software, not just more tutorials.

Join our 6-week Pybites Developer Cohort (PDC Professional) and ship a real app:

โœ… Clean arch + TDD
โœ… CLI + FastAPI
โœ… CI/CD + Cloud deploy
โœ… Portfolio-ready repo

Start May 12 โ†’ pybitescoaching.com
Pybites Developer Cohort (PDC) Coaching
pybitescoaching.com