Geek Culture
Published in

Geek Culture

Singleton pattern in Python

Design patterns: Singleton pattern

Hello folks and welcome to yet another article about software design patterns. In this article I would like to share with you a bit more about the singleton creational pattern and how it is used in software. Once we clear out the theoretical part, we will take a look at couple of ways to implemented in Python. Let’s dive in.

In software design, the singleton pattern is a pattern where only a single instance of a class is instantiated and used throughout the designed system. Having a single instance…

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jordan P. Raychev

Jordan P. Raychev

225 Followers

Network, system and software engineer with true passion about technology. Love to read and spend time in nature.