CoolFace
Apppublic

Chittrarasu/Population_FastAPI

sourceHugging Faceupdated 2y agoView on Hugging Face
0likes
population_models.cpython-313.pyc17 linesDownload Raw Back to __pycache__
12I��g"���SSKJrJr SSKJrJr "SS\5r"SS\5r"SS\5r"S	S3\5r	"SS\5r4g
)�)�	BaseModel�Field)�List�Unionc�0�\rSrSr%\"SSSS9r\\S'Srg)	�
ContinentBase�.�Continent Name�Asia��title�example�	continent�N)	�__name__�5__module__�__qualname__�__firstlineno__rr�str�__annotations__�__static_attributes__r��;C:\chitu\population_api\backend\models\population_models.pyrrs���3�&6��G�I�s�Grrc��\rSrSr%\"SSSS9r\\S'\"SSSS9r\\S	'\"SS6SS9r	\7\S'\"SS
SS9r\\S'\"SSSS9r\\S'\"SSSS9r
\\S'\"SSSS9r\\S'\"SSSS9r\\S'\"SSSS9r\8\S'Srg )!�ContinentStats�.zTotal Number of Countries�0r�Total_Countries�Total Population�n\$�Total_PopulationzAverage Population Per Countryiظ�Average_PopulationzTotal Land Area (sq km)iX���9Total_AreazHighest Country PopulationiNrS�max_populationzLowest Country Populationi���min_populationzCountry with Highest Population�China�Country_Max_PopulationzCountry with Lowest Population�Maldives�Country_Min_Populationz!Population Density (people/sq km)�g�Population_DensityrN)rrrrrr�intrr!r"�floatr#r$r%r'rr)r+rrrrrrs��� ��,G�QS�T�O�S�T�!�#�-?��T��c�T� %�c�1Q�[c� d���d��C�'@�(�S�J��S���+G�Q[�\�N�C�\���+F�PV�W�N�C�W�"'��3T�^e�"f��C�f�"'��3S�]g�"h��C�h� %�c�1T�^a� b���brrc�:�\rSrSr%\"SSSS9r\\S'\\S'Sr	g	)10�ContinentResponse�.r11rrr�12statisticsrN)13rrrrrrrrrrrrrr/r/s���3�&6��G�I�s�G��rr/c�:�\rSrSr%\"SS/SQS9r\\\S'Sr	g)	�ContinentsListResponse�.zList of Continents)r�Europe�Africar�14continentsrN)15rrrrrr7rrrrrrrr3r3s��!�#�-A�Kg�h�J��S�	�hrr3c�V�\rSrSr%\"SSSS9r\\S'\"SSSS9r\	\\16\4\S	'S17rg)�StatResponse�.zStatistic Namerr�statzStatistic Valuer �valuerN)
rrrrrr;rrr<rr,r-rrrrr9r9s7���c�!1�;M�N�D�#�N�$)�#�5F�PZ�$[�E�5��c�5��!�[rr9N)�pydanticrr�typingrrrrr/r3r9rrr�<module>r?sO��%��H�I�H�	c�Y�	c��	��i�Y�i�\�9�\r