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,… Continue reading What is the Repository Pattern and How to Use it in Python?
Articles on SQL
PyBites Twitter Digest – Issue 37, 2018
By PyBites Team on 2 December 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Code Challenge 51 – Analyse NBA Data with SQL/sqlite3 – Review
By PyBites Team on 24 September 2018
In this article we review last week’s Analyse NBA Data with SQL/sqlite3 code challenge.
Code Challenge 51 – Analyse NBA Data with SQL/sqlite3
By PyBites Team on 17 September 2018
Hi Pythonistas, Welcome to Pybites Code Challenge 51! In this challenge we get you analysing NBA player data from a CSV file.
Twitter Digest 2018 Week 13
By PyBites Team on 1 April 2018
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter Digest 2017 Week 45
By PyBites Team on 12 November 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
Twitter digest 2017 week 32
By PyBites Team on 13 August 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.
The making of my Task Manager App for the PyBites Code Challenge
By Martin Uribe on 2 May 2017
As a relatively newcomer to the Python scene I’ve come to realize that the best way to learn is to actually participate in coding challenges. This has helped to push me out of my comfort zone.
Twitter digest 2017 week 16
By PyBites Team on 23 April 2017
Every weekend we share a curated list of 15 cool things (mostly Python) that we found / tweeted throughout the week.