Kamaropoulos / COVID19Py

A tiny Python package for easy access to up-to-date Coronavirus (COVID-19, SARS-CoV-2) cases data.
https://pypi.org/project/COVID19Py/
GNU General Public License v3.0
84 stars 57 forks source link

Singleton Pattern Applied to Data class #108

Closed nijlogan closed 3 years ago

nijlogan commented 3 years ago

The Data class can now only be instantiated once, which is appropriate considering the purpose of its use in tandem with the COVID19 class as a compartment class.