https://github.com/aminehsan/designpattern-singleton
Analysis and implementation of the Singleton Design Pattern
https://github.com/aminehsan/designpattern-singleton
computer-software-engineer design-pattern singleton singleton-design-pattern
Last synced: 6 months ago
JSON representation
Analysis and implementation of the Singleton Design Pattern
- Host: GitHub
- URL: https://github.com/aminehsan/designpattern-singleton
- Owner: aminehsan
- Created: 2023-07-01T17:22:24.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-07T18:44:05.000Z (over 1 year ago)
- Last Synced: 2025-04-09T07:44:44.060Z (8 months ago)
- Topics: computer-software-engineer, design-pattern, singleton, singleton-design-pattern
- Language: Python
- Homepage:
- Size: 27.3 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Design Pattern Singleton
> Analysis and implementation of the Singleton Design Pattern

Singleton is a creational design pattern that lets you ensure that a class has only one instance, while providing a global access point to this instance.
## How to run Python
```bash
python main.py
```
#### Output :
> Singleton works, both variables contain the same instance
#### Structure :
```
├── main.py
```