Skip to content
View bbelderbos's full-sized avatar

Organizations

@Pybonacci @BetterCodeHub

Block or report bbelderbos

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
bbelderbos/README.md

Hi there! πŸ‘‹

  • 🐍 Python software developer
  • πŸ’» Co-Founder of PyBites
  • πŸ“š Love books/reading

Latest Bluesky posts

  • The Repository Pattern keeps your business logic clean by abstracting data access.

    Swap databases, improve testability, and keep code more maintainable.

    Here's an example using sqlmodel & CSV with the same interface.

    #Python #DesignPatterns #CleanCode (05 Feb 2025) - link

  • Working on some more #rust exercises, coming soon ... (05 Feb 2025) - link
  • I implemented Command-Query Responsibility Segregation (CQRS) in FastAPI yesterday. πŸ’‘

    I probably won't need it any time soon, but this exercise had me think about design πŸ“ˆ (I also used the 'unit of work' pattern using a context manager 😎)

    Great read: https://www.cosmicpython.com/book/chapter_12_cqrs.html (05 Feb 2025) - link

Follow me Β»

Latest Python tips

  • Timing code in Python: Using `timeit` to compare merging dictionaries in #Python: Old way with `**` unpacking vs. new way with `|`. ... (26 Jul 2024) - link
  • Merging dictionaries: Old way: `{**dict1, **dict2}` ... (26 Jul 2024) - link
  • You can now use | for typing: `|` got added to type hints >= 3.10, not needing the `typing` import anymore for these: ... (26 Jul 2024) - link
  • dict dispatch pattern: Tired of long and unmaintainable `if-elif-elif-else` chains? 😱 ... (13 Jul 2024) - link
  • split file name and extension: `pathlib` has you covered, just make a `Path` object and access the `stem` and `suffix` attributes: ... (11 Jul 2024) - link

More Python tips Β»

Build READMERoll your own: How to create a self updating GitHub Readme.

Pinned Loading

  1. bobcodesit bobcodesit Public

    Coding tips (mainly Python) I share on social media.

    Python 31 4

  2. emojisearcher emojisearcher Public

    No more google search, copy emojis to the clipboard.

    Python 20 1

  3. color-searcher color-searcher Public

    Python 30 2

  4. pybites/100DaysOfCode pybites/100DaysOfCode Public

    PyBites #100DaysOfCode

    Python 448 168

  5. PyBites-Open-Source/karmabot PyBites-Open-Source/karmabot Public

    A Python based Slack Chatbot for community interaction

    Python 73 47

  6. PyBites-Open-Source/search PyBites-Open-Source/search Public

    Python 20 3