countries-dictionary 8.3.4__tar.gz → 9.0.0.dev1__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.
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/PKG-INFO +3 -1
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/README.md +2 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/pyproject.toml +1 -1
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/__init__.py +2 -0
- countries_dictionary-9.0.0.dev1/src/countries_dictionary/themed/communist_states.py +62 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/vietnam.py +2 -2
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary.egg-info/PKG-INFO +3 -1
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary.egg-info/SOURCES.txt +1 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/LICENCE +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/setup.cfg +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/countries.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/russia.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/tools/iso_finder.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/tools/quick_functions.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/united_states.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/unrecognised_states/__init__.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/unrecognised_states/transnistria.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/unrecognised_states/unrecognised.py +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary.egg-info/dependency_links.txt +0 -0
- {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: countries_dictionary
|
|
3
|
-
Version:
|
|
3
|
+
Version: 9.0.0.dev1
|
|
4
4
|
Summary: Provides dictionaries contains countries and unrecognised states and information about them
|
|
5
5
|
Author-email: Ngô Trần Quang Thiện <quangthienngotran@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -685,6 +685,8 @@ Description-Content-Type: text/markdown
|
|
|
685
685
|
License-File: LICENCE
|
|
686
686
|
Dynamic: license-file
|
|
687
687
|
|
|
688
|
+
<div align="center"><img src="image\countries_dictionary_logo.png"></div>
|
|
689
|
+
|
|
688
690
|
Countries Dictionary is a data-oriented module which provides dictionaries of countries and states, from members of UN to unrecognised ones.
|
|
689
691
|
|
|
690
692
|
I created this module as an offline source of countries' information which is easy to access and use by coders.
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
<div align="center"><img src="image\countries_dictionary_logo.png"></div>
|
|
2
|
+
|
|
1
3
|
Countries Dictionary is a data-oriented module which provides dictionaries of countries and states, from members of UN to unrecognised ones.
|
|
2
4
|
|
|
3
5
|
I created this module as an offline source of countries' information which is easy to access and use by coders.
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "countries_dictionary"
|
|
7
|
-
version = "
|
|
7
|
+
version = "9.0.0.dev1"
|
|
8
8
|
description = "Provides dictionaries contains countries and unrecognised states and information about them"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
requires-python = ">=3.7"
|
{countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/__init__.py
RENAMED
|
@@ -8,5 +8,7 @@ from .vietnam import VIETNAM
|
|
|
8
8
|
from .unrecognised_states import UNRECOGNISED_STATES
|
|
9
9
|
from .unrecognised_states.transnistria import TRANSNISTRIA
|
|
10
10
|
|
|
11
|
+
from .themed.communist_states import COMMUNIST_STATES
|
|
12
|
+
|
|
11
13
|
from .tools.quick_functions import quick_function, json_dictionary, sort_dictionary
|
|
12
14
|
from .tools.iso_finder import iso_finder, iso_ru_finder, iso_us_finder, iso_vn_finder
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
COMMUNIST_STATES = {
|
|
2
|
+
"China": {
|
|
3
|
+
"party": "Communist Party of China",
|
|
4
|
+
"politburo seats": 23,
|
|
5
|
+
"politburo's term": 20,
|
|
6
|
+
"central committee's members": 205,
|
|
7
|
+
"central committee's alternates": 171,
|
|
8
|
+
"central committee's term": 20,
|
|
9
|
+
"SSOP": "National People's Congress",
|
|
10
|
+
"SSOP seats": 2977, # Excluding NPCSC
|
|
11
|
+
"party's SSOP seats": 2040, # Excluding NPCSC
|
|
12
|
+
"SSOP's term": 14,
|
|
13
|
+
},
|
|
14
|
+
"Cuba": {
|
|
15
|
+
"party": "Communist Party of Cuba",
|
|
16
|
+
"politburo seats": 14,
|
|
17
|
+
"politburo's term": 8,
|
|
18
|
+
"central committee's members": 115,
|
|
19
|
+
"central committee's alternates": 0,
|
|
20
|
+
"central committee's term": 8,
|
|
21
|
+
"SSOP": "National Assembly of People's Power",
|
|
22
|
+
"SSOP seats": 470,
|
|
23
|
+
"party's SSOP seats": 442,
|
|
24
|
+
"SSOP's term": 10,
|
|
25
|
+
},
|
|
26
|
+
"Laos": {
|
|
27
|
+
"party": "Lao People's Revolutionary Party",
|
|
28
|
+
"politburo seats": 13,
|
|
29
|
+
"politburo's term": 12,
|
|
30
|
+
"central committee's members": 73,
|
|
31
|
+
"central committee's alternates": 15,
|
|
32
|
+
"central committee's term": 12,
|
|
33
|
+
"SSOP": "National Assembly",
|
|
34
|
+
"SSOP seats": 175,
|
|
35
|
+
"party's SSOP seats": 169,
|
|
36
|
+
"SSOP's term": 10,
|
|
37
|
+
},
|
|
38
|
+
"North Korea": {
|
|
39
|
+
"party": "Workers' Party of Korea",
|
|
40
|
+
"politburo seats": 19,
|
|
41
|
+
"politburo's term": 9,
|
|
42
|
+
"central committee's members": 139,
|
|
43
|
+
"central committee's alternates": 111,
|
|
44
|
+
"central committee's term": 8,
|
|
45
|
+
"SSOP": "Supreme People's Assembly",
|
|
46
|
+
"SSOP seats": 687,
|
|
47
|
+
"party's SSOP seats": 671,
|
|
48
|
+
"SSOP's term": 15,
|
|
49
|
+
},
|
|
50
|
+
"Vietnam": {
|
|
51
|
+
"party": "Communist Party of Vietnam",
|
|
52
|
+
"politburo seats": 19,
|
|
53
|
+
"politburo's term": 14,
|
|
54
|
+
"central committee's members": 180,
|
|
55
|
+
"central committee's alternates": 20,
|
|
56
|
+
"central committee's term": 14,
|
|
57
|
+
"SSOP": "National Assembly",
|
|
58
|
+
"SSOP seats": 500,
|
|
59
|
+
"party's SSOP seats": 482,
|
|
60
|
+
"SSOP's term": 16,
|
|
61
|
+
},
|
|
62
|
+
}
|
{countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/vietnam.py
RENAMED
|
@@ -23,7 +23,7 @@ VIETNAM = {
|
|
|
23
23
|
"population": 4664124,
|
|
24
24
|
"ISO 3166-2:VN": "VN-HP",
|
|
25
25
|
},
|
|
26
|
-
"Da Nang": { #
|
|
26
|
+
"Da Nang": { # Including Hoàng Sa
|
|
27
27
|
"region": "South Central",
|
|
28
28
|
"landlocked": False,
|
|
29
29
|
"administrative centre": "Hải Châu ward",
|
|
@@ -207,7 +207,7 @@ VIETNAM = {
|
|
|
207
207
|
"population": 3346853,
|
|
208
208
|
"ISO 3166-2:VN": "VN-33",
|
|
209
209
|
},
|
|
210
|
-
"Khánh Hòa province": { #
|
|
210
|
+
"Khánh Hòa province": { # Including Trường Sa
|
|
211
211
|
"region": "South Central",
|
|
212
212
|
"landlocked": False,
|
|
213
213
|
"administrative centre": "Nha Trang ward",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: countries_dictionary
|
|
3
|
-
Version:
|
|
3
|
+
Version: 9.0.0.dev1
|
|
4
4
|
Summary: Provides dictionaries contains countries and unrecognised states and information about them
|
|
5
5
|
Author-email: Ngô Trần Quang Thiện <quangthienngotran@gmail.com>
|
|
6
6
|
License: GNU GENERAL PUBLIC LICENSE
|
|
@@ -685,6 +685,8 @@ Description-Content-Type: text/markdown
|
|
|
685
685
|
License-File: LICENCE
|
|
686
686
|
Dynamic: license-file
|
|
687
687
|
|
|
688
|
+
<div align="center"><img src="image\countries_dictionary_logo.png"></div>
|
|
689
|
+
|
|
688
690
|
Countries Dictionary is a data-oriented module which provides dictionaries of countries and states, from members of UN to unrecognised ones.
|
|
689
691
|
|
|
690
692
|
I created this module as an offline source of countries' information which is easy to access and use by coders.
|
|
@@ -10,6 +10,7 @@ src/countries_dictionary.egg-info/PKG-INFO
|
|
|
10
10
|
src/countries_dictionary.egg-info/SOURCES.txt
|
|
11
11
|
src/countries_dictionary.egg-info/dependency_links.txt
|
|
12
12
|
src/countries_dictionary.egg-info/top_level.txt
|
|
13
|
+
src/countries_dictionary/themed/communist_states.py
|
|
13
14
|
src/countries_dictionary/tools/iso_finder.py
|
|
14
15
|
src/countries_dictionary/tools/quick_functions.py
|
|
15
16
|
src/countries_dictionary/unrecognised_states/__init__.py
|
|
File without changes
|
|
File without changes
|
{countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/countries.py
RENAMED
|
File without changes
|
{countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev1}/src/countries_dictionary/russia.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|