countries-dictionary 8.3.4__tar.gz → 9.0.0.dev2__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.
Files changed (22) hide show
  1. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/PKG-INFO +3 -1
  2. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/README.md +2 -0
  3. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/pyproject.toml +1 -1
  4. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/__init__.py +3 -0
  5. countries_dictionary-9.0.0.dev2/src/countries_dictionary/themed/__init__.py +2 -0
  6. countries_dictionary-9.0.0.dev2/src/countries_dictionary/themed/communist_states.py +62 -0
  7. countries_dictionary-9.0.0.dev2/src/countries_dictionary/themed/european_union.py +110 -0
  8. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/vietnam.py +2 -2
  9. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary.egg-info/PKG-INFO +3 -1
  10. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary.egg-info/SOURCES.txt +3 -0
  11. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/LICENCE +0 -0
  12. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/setup.cfg +0 -0
  13. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/countries.py +0 -0
  14. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/russia.py +0 -0
  15. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/tools/iso_finder.py +0 -0
  16. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/tools/quick_functions.py +0 -0
  17. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/united_states.py +0 -0
  18. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/unrecognised_states/__init__.py +0 -0
  19. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/unrecognised_states/transnistria.py +0 -0
  20. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary/unrecognised_states/unrecognised.py +0 -0
  21. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/src/countries_dictionary.egg-info/dependency_links.txt +0 -0
  22. {countries_dictionary-8.3.4 → countries_dictionary-9.0.0.dev2}/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: 8.3.4
3
+ Version: 9.0.0.dev2
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="https://raw.githubusercontent.com/ThienFakeVN/thienfakevn.github.io/refs/heads/main/assets/countries_dictionary_logo_web.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="https://raw.githubusercontent.com/ThienFakeVN/thienfakevn.github.io/refs/heads/main/assets/countries_dictionary_logo_web.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 = "8.3.4"
7
+ version = "9.0.0.dev2"
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"
@@ -8,5 +8,8 @@ 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
+ from .themed.european_union import EUROPEAN_UNION
13
+
11
14
  from .tools.quick_functions import quick_function, json_dictionary, sort_dictionary
12
15
  from .tools.iso_finder import iso_finder, iso_ru_finder, iso_us_finder, iso_vn_finder
@@ -0,0 +1,2 @@
1
+ from .communist_states import COMMUNIST_STATES
2
+ from .european_union import EUROPEAN_UNION
@@ -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
+ }
@@ -0,0 +1,110 @@
1
+ EUROPEAN_UNION = {
2
+ "Austria": {
3
+ "date of accession": "1995.01.01",
4
+ "eurozone": True
5
+ },
6
+ "Belgium": {
7
+ "date of accession": "1958.01.01",
8
+ "eurozone": True
9
+ },
10
+ "Bulgaria": {
11
+ "date of accession": "2007.01.01",
12
+ "eurozone": True
13
+ },
14
+ "Croatia": {
15
+ "date of accession": "2013.07.01",
16
+ "eurozone": True
17
+ },
18
+ "Cyprus": {
19
+ "date of accession": "2004.05.01",
20
+ "eurozone": True
21
+ },
22
+ "Czechia": {
23
+ "date of accession": "2004.05.01",
24
+ "eurozone": False
25
+ },
26
+ "Denmark": {
27
+ "date of accession": "1973.01.01",
28
+ "eurozone": False
29
+ },
30
+ "Estonia": {
31
+ "date of accession": "2004.05.01",
32
+ "eurozone": True
33
+ },
34
+ "Finland": {
35
+ "date of accession": "1995.01.01",
36
+ "eurozone": True
37
+ },
38
+ "France": {
39
+ "date of accession": "1958.01.01",
40
+ "eurozone": True
41
+ },
42
+ "Germany": {
43
+ "date of accession": "1958.01.01",
44
+ "eurozone": True
45
+ },
46
+ "Greece": {
47
+ "date of accession": "1981.01.01",
48
+ "eurozone": True
49
+ },
50
+ "Hungary": {
51
+ "date of accession": "2004.05.01",
52
+ "eurozone": False
53
+ },
54
+ "Ireland": {
55
+ "date of accession": "1973.01.01",
56
+ "eurozone": True
57
+ },
58
+ "Italy": {
59
+ "date of accession": "1958.01.01",
60
+ "eurozone": True
61
+ },
62
+ "Latvia": {
63
+ "date of accession": "2004.05.01",
64
+ "eurozone": True
65
+ },
66
+ "Lithuania": {
67
+ "date of accession": "2004.05.01",
68
+ "eurozone": True
69
+ },
70
+ "Luxembourg": {
71
+ "date of accession": "1958.01.01",
72
+ "eurozone": True
73
+ },
74
+ "Malta": {
75
+ "date of accession": "2004.05.01",
76
+ "eurozone": True
77
+ },
78
+ "Netherlands": {
79
+ "date of accession": "1958.01.01",
80
+ "eurozone": True
81
+ },
82
+ "Poland": {
83
+ "date of accession": "2004.05.01",
84
+ "eurozone": False
85
+ },
86
+ "Portugal": {
87
+ "date of accession": "1986.01.01",
88
+ "eurozone": True
89
+ },
90
+ "Romania": {
91
+ "date of accession": "2007.01.01",
92
+ "eurozone": False
93
+ },
94
+ "Slovakia": {
95
+ "date of accession": "2004.05.01",
96
+ "eurozone": True
97
+ },
98
+ "Slovenia": {
99
+ "date of accession": "2004.05.01",
100
+ "eurozone": True
101
+ },
102
+ "Spain": {
103
+ "date of accession": "1986.01.01",
104
+ "eurozone": True
105
+ },
106
+ "Sweden": {
107
+ "date of accession": "1995.01.01",
108
+ "eurozone": False
109
+ }
110
+ }
@@ -23,7 +23,7 @@ VIETNAM = {
23
23
  "population": 4664124,
24
24
  "ISO 3166-2:VN": "VN-HP",
25
25
  },
26
- "Da Nang": { # Includes Hoàng Sa
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": { # Includes Trường Sa
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: 8.3.4
3
+ Version: 9.0.0.dev2
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="https://raw.githubusercontent.com/ThienFakeVN/thienfakevn.github.io/refs/heads/main/assets/countries_dictionary_logo_web.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,9 @@ 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/__init__.py
14
+ src/countries_dictionary/themed/communist_states.py
15
+ src/countries_dictionary/themed/european_union.py
13
16
  src/countries_dictionary/tools/iso_finder.py
14
17
  src/countries_dictionary/tools/quick_functions.py
15
18
  src/countries_dictionary/unrecognised_states/__init__.py