🦠A simple and fast (< 200ms) API for tracking the global coronavirus (COVID-19, SARS-CoV-2) outbreak. It's written in python using the 🔥 FastAPI framework. Supports multiple sources!
The country.py was imported many different helpers, so I used the singleton pattern to make the class only have one single instance, which makes the country only have one country object. This ensures that a class has at most one instance and provides a global access to that instance.
The country.py was imported many different helpers, so I used the singleton pattern to make the class only have one single instance, which makes the country only have one country object. This ensures that a class has at most one instance and provides a global access to that instance.