followthemoney 3.7.2__py2.py3-none-any.whl → 3.7.4__py2.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 followthemoney might be problematic. Click here for more details.
- followthemoney/__init__.py +1 -1
- followthemoney/export/csv.py +1 -1
- followthemoney/types/country.py +9 -1
- followthemoney/types/name.py +1 -0
- followthemoney/util.py +1 -5
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/METADATA +1 -1
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/RECORD +12 -12
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/LICENSE +0 -0
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/WHEEL +0 -0
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/entry_points.txt +0 -0
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/namespace_packages.txt +0 -0
- {followthemoney-3.7.2.dist-info → followthemoney-3.7.4.dist-info}/top_level.txt +0 -0
followthemoney/__init__.py
CHANGED
followthemoney/export/csv.py
CHANGED
followthemoney/types/country.py
CHANGED
|
@@ -28,6 +28,7 @@ class CountryType(EnumType):
|
|
|
28
28
|
names = {
|
|
29
29
|
"zz": gettext("Global"),
|
|
30
30
|
"eu": gettext("European Union"),
|
|
31
|
+
"un": gettext("United Nations"),
|
|
31
32
|
"zr": gettext("Zaire"),
|
|
32
33
|
# Overwrite "Czechia" label:
|
|
33
34
|
"cz": gettext("Czech Republic"),
|
|
@@ -45,8 +46,9 @@ class CountryType(EnumType):
|
|
|
45
46
|
"so-som": gettext("Somaliland"),
|
|
46
47
|
"cy-trnc": gettext("Northern Cyprus"),
|
|
47
48
|
"az-nk": gettext("Nagorno-Karabakh"),
|
|
49
|
+
"iq-kr": gettext("Kurdistan"),
|
|
48
50
|
"cn-xz": gettext("Tibet"),
|
|
49
|
-
"
|
|
51
|
+
"cq": gettext("Sark"),
|
|
50
52
|
"gb-wls": gettext("Wales"),
|
|
51
53
|
"gb-sct": gettext("Scotland"),
|
|
52
54
|
"gb-nir": gettext("Northern Ireland"),
|
|
@@ -61,6 +63,12 @@ class CountryType(EnumType):
|
|
|
61
63
|
int(code)
|
|
62
64
|
except ValueError:
|
|
63
65
|
names[code] = label
|
|
66
|
+
# Remove some ISO-3611 codes that are not countries:
|
|
67
|
+
names.pop("xa", None)
|
|
68
|
+
names.pop("xb", None)
|
|
69
|
+
names.pop("qo", None)
|
|
70
|
+
names.pop("ea", None)
|
|
71
|
+
names.pop("ez", None)
|
|
64
72
|
return names
|
|
65
73
|
|
|
66
74
|
def clean_text(
|
followthemoney/types/name.py
CHANGED
followthemoney/util.py
CHANGED
|
@@ -18,12 +18,8 @@ DEFAULT_LOCALE = "en"
|
|
|
18
18
|
T = TypeVar("T")
|
|
19
19
|
K = TypeVar("K")
|
|
20
20
|
V = TypeVar("V")
|
|
21
|
-
try:
|
|
22
|
-
# Work-around for Python 3.8 backward compat:
|
|
23
|
-
PathLike = Union[str, os.PathLike[str]]
|
|
24
|
-
except TypeError:
|
|
25
|
-
PathLike = Union[str, os.PathLike] # type: ignore
|
|
26
21
|
|
|
22
|
+
PathLike = Union[str, os.PathLike[str]]
|
|
27
23
|
i18n_path = os.path.join(os.path.dirname(__file__), "translations")
|
|
28
24
|
state = local()
|
|
29
25
|
log = logging.getLogger(__name__)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
followthemoney/__init__.py,sha256=
|
|
1
|
+
followthemoney/__init__.py,sha256=BCzDwyxrvRykVZdh525iWctn8m5LA_LvhPSbMsDiW1g,360
|
|
2
2
|
followthemoney/compare.py,sha256=1GFkCfTzA8QR0CH90kvySR8hvl9hQRUerW5Xw2Ivmpg,5134
|
|
3
3
|
followthemoney/exc.py,sha256=ynZs_UnTVxHR-iBfat_CpVLraYzVX5yLtVf5Ti14hl4,734
|
|
4
4
|
followthemoney/graph.py,sha256=VNDKrUBkz_-DmKsr5v-Xm8VfxzabnTwkU_MFk92_TjA,10848
|
|
@@ -13,7 +13,7 @@ followthemoney/proxy.py,sha256=M7RIPF0k-P3v7GYKYhRVVaO1cnUf5FArJepE-2c0KMQ,20033
|
|
|
13
13
|
followthemoney/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
14
14
|
followthemoney/rdf.py,sha256=_BzWiBc61UYjiyadvGKya4P4JlJfvZtNrn8SP2hC2JM,328
|
|
15
15
|
followthemoney/schema.py,sha256=Tk61vRmWaawW-1HOmu-hbYZtkD8it0fIvNtSRxBEQxA,16774
|
|
16
|
-
followthemoney/util.py,sha256=
|
|
16
|
+
followthemoney/util.py,sha256=wpbofEWScRrbaVAFjfpzcYf_V-qT-XruWJRnWGM9WIY,4376
|
|
17
17
|
followthemoney/cli/__init__.py,sha256=Fl05wMr5-FlOSMRpmu1HJSNfPRpy8u9as5IRbGXdo4U,421
|
|
18
18
|
followthemoney/cli/aggregate.py,sha256=Gwfi5Bt1LCwqbpsCu4P1Cr-QJtCWhbaqgGEzfwJUUL4,2142
|
|
19
19
|
followthemoney/cli/cli.py,sha256=yrPw2iyKY-E-uRWe6KN9W3ayvz-22vfpe_ZeD0RiI0c,3591
|
|
@@ -23,7 +23,7 @@ followthemoney/cli/sieve.py,sha256=Wh1UQxzyM9Gh60ooS4s4ydlW1b69bMzFM08tg8ttSIY,1
|
|
|
23
23
|
followthemoney/cli/util.py,sha256=CFcS-PEwpMasMWX_Yg283O_PaAhcPwkvahFNWc13C8c,4769
|
|
24
24
|
followthemoney/export/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
25
25
|
followthemoney/export/common.py,sha256=_YrXrwsqmyboDZDhtJ_PazUUJYe1Y-Trqc9lz4YlVR8,991
|
|
26
|
-
followthemoney/export/csv.py,sha256=
|
|
26
|
+
followthemoney/export/csv.py,sha256=AvWgyWg0nICAVLv4k9QgWRlgJhJonKCjzlZkrahe5Tg,2633
|
|
27
27
|
followthemoney/export/excel.py,sha256=pj6zNpIbye_Zm3vhCamcqHEe9Fw-RyjtWQDCFY6608s,2645
|
|
28
28
|
followthemoney/export/graph.py,sha256=v0z1FgadyFk5aQ0A5q8E9R4fSO-Tpi5JU9YTDwnRKD8,2765
|
|
29
29
|
followthemoney/export/neo4j.py,sha256=JCLb1eW5FFIJXqmnpNMRzRs1KYuYkCtHZp7KJcu-JNY,7104
|
|
@@ -132,7 +132,7 @@ followthemoney/types/__init__.py,sha256=X9XeM6JktzirAw5gGkyDKGM70NuiJ9Tbjoq0IwVc
|
|
|
132
132
|
followthemoney/types/address.py,sha256=P6ctzojJks70RZIwk5Bhc9djxejZo4Te0m5pQ9M7bAM,1651
|
|
133
133
|
followthemoney/types/checksum.py,sha256=OqjCsBPyMIV3_Y20kTTvjkyayy32pBtaI5KKwYQb6lY,937
|
|
134
134
|
followthemoney/types/common.py,sha256=Yk-7LZ6uDgFzKXUZxQ_j5miN2ZMnlBOziU0iFC7FE9I,10202
|
|
135
|
-
followthemoney/types/country.py,sha256=
|
|
135
|
+
followthemoney/types/country.py,sha256=PlkqZ9_06UO3f47YFYyL3gWwpm151FFlWAV3fodtPfQ,3409
|
|
136
136
|
followthemoney/types/date.py,sha256=4lZCd0aws-T3HE2BYkb-a-t8iQDr0nqFSAEBoUKiTlM,2683
|
|
137
137
|
followthemoney/types/email.py,sha256=zAnMHwC_FZh7IagpDRhGZf-GfQR6uW8d-lZP4UCdGcM,2745
|
|
138
138
|
followthemoney/types/entity.py,sha256=RCDD9j7MWA_dd0Ib33dl1E6PubsiS1yfVeIOsDxWYpY,2431
|
|
@@ -143,7 +143,7 @@ followthemoney/types/ip.py,sha256=BxGARP9JWEWvyRnr7A7xUNwmTxyFd9kwXSZrKR0TK2Q,14
|
|
|
143
143
|
followthemoney/types/json.py,sha256=Hefwns1-ziJf310MWvdfX5ICkOgj9cnnMJuqq1e6qKY,1676
|
|
144
144
|
followthemoney/types/language.py,sha256=gbOnrScpC8bOwlbygaMZa-mddoJonX3GPhCHg03i_0I,2632
|
|
145
145
|
followthemoney/types/mimetype.py,sha256=EZ5hIdn-wosfLc-GjXDaOzevxaSXPbSPHDUJmPT1h0I,1355
|
|
146
|
-
followthemoney/types/name.py,sha256=
|
|
146
|
+
followthemoney/types/name.py,sha256=fSAeg_f_y07Ld6jncIFScCg3Jpr-jLXzCMkZfk3AeUc,2189
|
|
147
147
|
followthemoney/types/number.py,sha256=9l5v3hcAoJ4V6jaBS_-Kc1gtdJlQrY9L98ElC5e_PLQ,943
|
|
148
148
|
followthemoney/types/phone.py,sha256=2YFbPBtMepvCWTdcxXq3Fq4AU8B4QYk1FARBpsH8xjs,4040
|
|
149
149
|
followthemoney/types/registry.py,sha256=hvQ1oIWz_4PpyUnKA5azbaZCulNb5LCIPyC-AQYVVyw,1936
|
|
@@ -177,10 +177,10 @@ tests/types/test_phones.py,sha256=_GTl-0r5hok8ovUJPRqP7k9kJYMVbanjYUMLrbzFb5U,11
|
|
|
177
177
|
tests/types/test_registry.py,sha256=IkrHjrEiIIPd4PdMFUg_jVh_gsE6CzGXIF8s3LIbnl0,296
|
|
178
178
|
tests/types/test_topic.py,sha256=m35GSwTy-r77YACGDDac09nYLBIUua42Dy7z292m9EU,707
|
|
179
179
|
tests/types/test_urls.py,sha256=JVmzJ0DKDBle_xLjmOHn0hgDTCpLmljrcfbOM1GSGRw,1170
|
|
180
|
-
followthemoney-3.7.
|
|
181
|
-
followthemoney-3.7.
|
|
182
|
-
followthemoney-3.7.
|
|
183
|
-
followthemoney-3.7.
|
|
184
|
-
followthemoney-3.7.
|
|
185
|
-
followthemoney-3.7.
|
|
186
|
-
followthemoney-3.7.
|
|
180
|
+
followthemoney-3.7.4.dist-info/LICENSE,sha256=Jln3uF70A9AQySyrP9JAW6sQTubLoKVQunvuJqISv7w,1098
|
|
181
|
+
followthemoney-3.7.4.dist-info/METADATA,sha256=NRmBtEEX8WoS2KugQaAdNuI7Tn_P_ZNbktg10_vIQ_4,4453
|
|
182
|
+
followthemoney-3.7.4.dist-info/WHEEL,sha256=fS9sRbCBHs7VFcwJLnLXN1MZRR0_TVTxvXKzOnaSFs8,110
|
|
183
|
+
followthemoney-3.7.4.dist-info/entry_points.txt,sha256=wpgi-5-jyqCy-yw0eYZbnhBuPja_q3RJmiEl7NymXtQ,593
|
|
184
|
+
followthemoney-3.7.4.dist-info/namespace_packages.txt,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
|
185
|
+
followthemoney-3.7.4.dist-info/top_level.txt,sha256=O33_kGPehy6-69B_k01UgMK55_JOhwqe2de7ND23b-Y,21
|
|
186
|
+
followthemoney-3.7.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|