countries-dictionary 3.0.0__tar.gz → 3.0.1__tar.gz
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.
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/PKG-INFO +2 -2
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/README.md +1 -1
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/iso_finder.py +1 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/quick_functions.py +1 -1
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/PKG-INFO +2 -2
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/pyproject.toml +1 -1
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/LICENCE +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/__init__.py +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/russia.py +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/united_states.py +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/vietnam.py +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/SOURCES.txt +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/dependency_links.txt +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/top_level.txt +0 -0
- {countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: countries_dictionary
|
|
3
|
-
Version: 3.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
|
|
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
|
|
|
@@ -22,7 +22,7 @@ Countries Dictionary provides:
|
|
|
22
22
|
- Population
|
|
23
23
|
- Some functions which you might find helpful
|
|
24
24
|
|
|
25
|
-
Before using, it is recommended to see the code on [GitHub](https://github.com/ThienFakeVN/countries_dictionary/) to understand how
|
|
25
|
+
Before using, it is recommended to see the code on [GitHub](https://github.com/ThienFakeVN/countries_dictionary/) to understand how it works
|
|
26
26
|
|
|
27
27
|
I created this module as an offline source of countries' information which is easy to access and use by coders.
|
|
28
28
|
|
{countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/iso_finder.py
RENAMED
|
@@ -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:
|
{countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/quick_functions.py
RENAMED
|
@@ -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.
|
|
5
|
+
from countries_dictionary.united_states import UNITED_STATES
|
|
6
6
|
from countries_dictionary.vietnam import VIETNAM
|
|
7
7
|
import json
|
|
8
8
|
|
{countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/PKG-INFO
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: countries_dictionary
|
|
3
|
-
Version: 3.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
|
|
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
|
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "countries_dictionary"
|
|
7
|
-
version = "3.0.
|
|
7
|
+
version = "3.0.1"
|
|
8
8
|
description = "Provides a dictionary contains all members and observer states of the United Nations and information about them"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.7"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary/united_states.py
RENAMED
|
File without changes
|
|
File without changes
|
{countries_dictionary-3.0.0 → countries_dictionary-3.0.1}/countries_dictionary.egg-info/SOURCES.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|