---
title: "Discussion on \"Python Singleton classes & Multiprocessing\" | Hashnode"
description: "Discussion on \"Python Singleton classes & Multiprocessing\". I'm sure many of you already know that but I want to write about my today challenge. In my python project, I have Singleton classes which are created by this metaclass\nclass Singleton(type):\n    _instances = {}\n    def __call__(cls, *args, **kwargs):..."
url: "https://hashnode.com/posts/python-singleton-classes-and-multiprocessing/611c027d888ca15f5d392e5e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Python Singleton classes & Multiprocessing](https://blog.imberkay.com/python-singleton-classes-and-multiprocessing?utm_source=hashnode&utm_medium=feed)

I'm sure many of you already know that but I want to write about my today challenge. In my python project, I have Singleton classes which are created by this metaclass class Singleton(type): \_instances = {} def \_\_call\_\_(cls, \*args, \*\*kwargs):...

Aug 17, 2021 · 1 min read · blog.imberkay.com  
Read the article

-   [#python](https://hashnode.com/tag/python)
-   [#bugs-and-errors](https://hashnode.com/tag/bugs-and-errors)

## Written by

[Berkay Akyazı](https://hashnode.com/@bakyazi)

@bakyazi · Ankara, TR

  
[View profile](https://hashnode.com/@bakyazi)

Java, Python, React

## Responses 1

Markdown supported · ⌘↵ to post

[Selcuk Bakirkaya](https://hashnode.com/@SelcukB)

[Aug 18, 2021](https://hashnode.com/posts/python-singleton-classes-and-multiprocessing/611c027d888ca15f5d392e5e/comment/611cc15e888ca15f5d393f0f)

Well done
