We highly appreciate user feedback for continuous improvement. With hundreds of Bite exercises and thousands of reviews, it’s easy to get overwhelmed by the data. 😱 How do you uncover insights from this sea of feedback? Use code! 😎 Enter TextBlob, a Python library that abstracts away the complexities of Natural Language Processing (NLP). This […]
Articles
AI Best Practices Books Career Code Challenges Concepts Data Data Science Developer Devops Django FastAPI Flask Learning Meta Mindset Modern Python Modules News Packages Podcast Productivity Products Projects PyBites Modules Pycon Reviews Rust Soft Skills Special Testing Tips Tools Twitter Digest Uncategorized
Latest articles
-
The Mutable Trap: Avoiding Unintended Side Effects in Python
·
·
5 min readEver had a Python function behave strangely, remembering values between calls when it shouldn’t? You’re not alone! This is one of Python’s sneakiest pitfalls—mutable default parameters. Recently someone asked for help in our Pybites Circle Community with a Bite exercise that seemed to be behaving unexpectedly. It turned out that this was a result of modifying a mutable parameter […]
-
When Bob and I first started Pybites, there was no way I could have imagined it’d grow to what it is today. Launching our first products was a massive moment for us both, not just because these were ways to sustain the business, but because we were actually HELPING people. People were coming to us […]
-
In this post, I will build a simple fitness tracker app using Python Reflex. Reflex is a Python library that allows you to create reactive applications using a functional and declarative approach. We will use Reflex to create a simple fitness tracker app that allows you to log the amount of workouts completed per week. […]
-
What is this pattern about? The Pipeline design pattern (also known as Chain of Command pattern) is a flexible way to handle a sequence of actions, where each handler in the chain processes the input data and passes it to the next handler. This pattern is commonly used in scenarios involving data processing, web scraping, […]
-
So, you’re a Python developer or you just use Python to make your life easier by writing utility scripts to automate repetitive tasks and boost your productivity.Such Python scripts are usually local to your machine, run from the command line and require some Python skills to use including for instance setting up a virtual environment […]
-
Exact-RAG is a powerful multimodal model designed for Retrieval-Augmented Generation (RAG). It seamlessly integrates text, visual and audio information, allowing for enhanced content understanding and generation. In the rapidly evolving landscape of the Large language model (LLM), the quest for more efficient and versatile models continues unabated. One of the latest advancements in this realm […]
-
The repository pattern is a design pattern that helps you separate business logic from data access code. It does so by providing a unified interface for interacting with different data sources, bringing the following advantages to your system: A practical example Let’s use Python and sqlmodel (PyPI) to demonstrate this pattern (code here): Note: In this implementation, […]
-
We are excited to announce that we’ve extended our Newbie Bites from 25 to 50 Python exercises! 🎉 The importance of exercising when learning how to code 💡 We’re passionate about this new batch of exercises because they require active engagement, which is crucial for learning how to code. Passive methods like reading books or […]