countries-dictionary 3.0.0__py3-none-any.whl → 3.0.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of countries-dictionary might be problematic. Click here for more details.

@@ -1,6 +1,7 @@
1
1
  from countries_dictionary import COUNTRIES
2
2
 
3
3
  def iso_finder(code: str):
4
+ """Returns a string which consists of the name of the country and its formal name, based on the provided ISO code"""
4
5
  for x in COUNTRIES:
5
6
  if code == COUNTRIES[x]["ISO 3166-1"]["alpha-2"]: return f"{x} — {COUNTRIES[x]["formal name"]}"
6
7
  else:
@@ -2,7 +2,7 @@
2
2
 
3
3
  from countries_dictionary import COUNTRIES
4
4
  from countries_dictionary.russia import RUSSIA
5
- from countries_dictionary.russia import UNITED_STATES
5
+ from countries_dictionary.united_states import UNITED_STATES
6
6
  from countries_dictionary.vietnam import VIETNAM
7
7
  import json
8
8
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: countries_dictionary
3
- Version: 3.0.0
3
+ Version: 3.0.1
4
4
  Summary: Provides a dictionary contains all members and observer states of the United Nations and information about them
5
5
  Author-email: Ngô Trần Quang Thiện <quangthienngotran@gmail.com>
6
6
  License: GNU GENERAL PUBLIC LICENSE
@@ -709,7 +709,7 @@ Countries Dictionary provides:
709
709
  - Population
710
710
  - Some functions which you might find helpful
711
711
 
712
- Before using, it is recommended to see the code on [GitHub](https://github.com/ThienFakeVN/countries_dictionary/) to understand how the code works
712
+ Before using, it is recommended to see the code on [GitHub](https://github.com/ThienFakeVN/countries_dictionary/) to understand how it works
713
713
 
714
714
  I created this module as an offline source of countries' information which is easy to access and use by coders.
715
715
 
@@ -0,0 +1,11 @@
1
+ countries_dictionary/__init__.py,sha256=9TqDxIxHiX1mhXSdeltXUMfKVXYA5ee3cuLurl988MY,78042
2
+ countries_dictionary/iso_finder.py,sha256=PB9lbeVUWi_kY5Z3ABTGVF1npndsSAHvmO82Ou8N4Yk,668
3
+ countries_dictionary/quick_functions.py,sha256=Ok62u2R88NubIrMtNSiHHzZ29orx_GYdrDmiSycAHyI,4477
4
+ countries_dictionary/russia.py,sha256=3tmknQM_51PHmsF6TI6arFdjwPhWBEPHPiKP7PzXBmI,20119
5
+ countries_dictionary/united_states.py,sha256=WJs5OrMMXinLPJWzt42hHPt89OLUC4qgifDUB9OrvoQ,15035
6
+ countries_dictionary/vietnam.py,sha256=zRdwasxzwMJNbkNInljXzEu2gA9TDEI5F8cIM4TmBtg,6446
7
+ countries_dictionary-3.0.1.dist-info/licenses/LICENCE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
8
+ countries_dictionary-3.0.1.dist-info/METADATA,sha256=iS3vbA2zYZXvcCCfBVc1xDdDfGtqwRgbMJmSCV_u1xA,43153
9
+ countries_dictionary-3.0.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
+ countries_dictionary-3.0.1.dist-info/top_level.txt,sha256=7tkD6sfiOQ__y-Eb2rnPUU0Lbhr_wtFBNcRus-aU4Zw,21
11
+ countries_dictionary-3.0.1.dist-info/RECORD,,
@@ -1,11 +0,0 @@
1
- countries_dictionary/__init__.py,sha256=9TqDxIxHiX1mhXSdeltXUMfKVXYA5ee3cuLurl988MY,78042
2
- countries_dictionary/iso_finder.py,sha256=O7-nrs52F0gc0gzEi_pEp7e01NjYE5Tk5jGsr6ECqgw,546
3
- countries_dictionary/quick_functions.py,sha256=iAre9vZ6WxmL_63vIbjZbfeezv8bHtsrb6BgbKGDwAE,4470
4
- countries_dictionary/russia.py,sha256=3tmknQM_51PHmsF6TI6arFdjwPhWBEPHPiKP7PzXBmI,20119
5
- countries_dictionary/united_states.py,sha256=WJs5OrMMXinLPJWzt42hHPt89OLUC4qgifDUB9OrvoQ,15035
6
- countries_dictionary/vietnam.py,sha256=zRdwasxzwMJNbkNInljXzEu2gA9TDEI5F8cIM4TmBtg,6446
7
- countries_dictionary-3.0.0.dist-info/licenses/LICENCE,sha256=gcuuhKKc5-dwvyvHsXjlC9oM6N5gZ6umYbC8ewW1Yvg,35821
8
- countries_dictionary-3.0.0.dist-info/METADATA,sha256=_QT6EtjycfHQklZJfxwUqPBOHxh8bh5lSg8Fyp4uA6Y,43159
9
- countries_dictionary-3.0.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
10
- countries_dictionary-3.0.0.dist-info/top_level.txt,sha256=7tkD6sfiOQ__y-Eb2rnPUU0Lbhr_wtFBNcRus-aU4Zw,21
11
- countries_dictionary-3.0.0.dist-info/RECORD,,