udata 10.8.2.dev36743__py2.py3-none-any.whl → 10.8.2.dev36842__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 udata might be problematic. Click here for more details.

Files changed (45) hide show
  1. udata/harvest/backends/ckan/__init__.py +3 -0
  2. udata/harvest/backends/ckan/harvesters.py +274 -0
  3. udata/harvest/backends/ckan/models.py +10 -0
  4. udata/harvest/backends/ckan/schemas/__init__.py +0 -0
  5. udata/harvest/backends/ckan/schemas/ckan.py +86 -0
  6. udata/harvest/backends/ckan/schemas/dkan.py +98 -0
  7. udata/harvest/tests/ckan/conftest.py +67 -0
  8. udata/harvest/tests/ckan/data/dkan-french-w-license.json +226 -0
  9. udata/harvest/tests/ckan/test_ckan_backend.py +697 -0
  10. udata/harvest/tests/ckan/test_ckan_backend_errors.py +140 -0
  11. udata/harvest/tests/ckan/test_ckan_backend_filters.py +130 -0
  12. udata/harvest/tests/ckan/test_dkan_backend.py +68 -0
  13. udata/static/chunks/{11.b6f741fcc366abfad9c4.js → 11.0f04e49a40a0a381bcce.js} +3 -3
  14. udata/static/chunks/{11.b6f741fcc366abfad9c4.js.map → 11.0f04e49a40a0a381bcce.js.map} +1 -1
  15. udata/static/chunks/{13.2d06442dd9a05d9777b5.js → 13.d9c1735d14038b94c17e.js} +2 -2
  16. udata/static/chunks/{13.2d06442dd9a05d9777b5.js.map → 13.d9c1735d14038b94c17e.js.map} +1 -1
  17. udata/static/chunks/{17.e8e4caaad5cb0cc0bacc.js → 17.81c57c0dedf812e43013.js} +2 -2
  18. udata/static/chunks/{17.e8e4caaad5cb0cc0bacc.js.map → 17.81c57c0dedf812e43013.js.map} +1 -1
  19. udata/static/chunks/{19.f03a102365af4315f9db.js → 19.8da42e8359d72afc2618.js} +3 -3
  20. udata/static/chunks/{19.f03a102365af4315f9db.js.map → 19.8da42e8359d72afc2618.js.map} +1 -1
  21. udata/static/chunks/{8.778091d55cd8ea39af6b.js → 8.494b003a94383b142c18.js} +2 -2
  22. udata/static/chunks/{8.778091d55cd8ea39af6b.js.map → 8.494b003a94383b142c18.js.map} +1 -1
  23. udata/static/common.js +1 -1
  24. udata/static/common.js.map +1 -1
  25. udata/translations/ar/LC_MESSAGES/udata.mo +0 -0
  26. udata/translations/ar/LC_MESSAGES/udata.po +72 -65
  27. udata/translations/de/LC_MESSAGES/udata.mo +0 -0
  28. udata/translations/de/LC_MESSAGES/udata.po +72 -65
  29. udata/translations/es/LC_MESSAGES/udata.mo +0 -0
  30. udata/translations/es/LC_MESSAGES/udata.po +72 -65
  31. udata/translations/fr/LC_MESSAGES/udata.mo +0 -0
  32. udata/translations/fr/LC_MESSAGES/udata.po +72 -65
  33. udata/translations/it/LC_MESSAGES/udata.mo +0 -0
  34. udata/translations/it/LC_MESSAGES/udata.po +72 -65
  35. udata/translations/pt/LC_MESSAGES/udata.mo +0 -0
  36. udata/translations/pt/LC_MESSAGES/udata.po +72 -65
  37. udata/translations/sr/LC_MESSAGES/udata.mo +0 -0
  38. udata/translations/sr/LC_MESSAGES/udata.po +72 -65
  39. udata/translations/udata.pot +74 -70
  40. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/METADATA +3 -1
  41. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/RECORD +45 -33
  42. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/entry_points.txt +2 -0
  43. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/LICENSE +0 -0
  44. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/WHEEL +0 -0
  45. {udata-10.8.2.dev36743.dist-info → udata-10.8.2.dev36842.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,226 @@
1
+ {
2
+ "help": "Return the metadata of a dataset (package) and its resources. :param id: the id or name of the dataset :type id: string",
3
+ "success": true,
4
+ "result": [
5
+ {
6
+ "id": "04be6288-696d-4331-850d-a144871a7e3a",
7
+ "name": "antennes-regionales-de-la-region-hauts-de-france-au-01102019-0",
8
+ "title": "Antennes régionales de la Région Hauts-de-France (au 01/10/2019)",
9
+ "author_email": "sig@hautsdefrance.fr",
10
+ "maintainer": "Opendata de la Région Hauts-de-France",
11
+ "maintainer_email": "opendata@hautsdefrance.fr",
12
+ "license_title": "http://www.etalab.gouv.fr/pages/Licence_ouverte_Open_licence-5899923.html",
13
+ "notes": "<p>Liste et coordonnées des antennes de proximité du conseil régional Hauts-de-France.</p>\n",
14
+ "url": "https://opendata.hautsdefrance.fr/?q=dataset/antennes-regionales-de-la-region-hauts-de-france-au-01102019-0",
15
+ "state": "Active",
16
+ "private": true,
17
+ "revision_timestamp": "jeu, 19/12/2019 - 03:00",
18
+ "metadata_created": "mar, 10/12/2019 - 09:23",
19
+ "metadata_modified": "2019-09-30 22:00:00",
20
+ "creator_user_id": "235f2695-89bd-4a0d-8bcf-b6e26b7b3981",
21
+ "type": "Dataset",
22
+ "resources": [
23
+ {
24
+ "id": "33f30271-cd5c-49ae-b44b-595caae16126",
25
+ "revision_id": "",
26
+ "url": "https://geocatalogue.hautsdefrance.fr/geonetwork/srv/api/records/4b5f8e1b-de37-47cd-9203-37a59f318b09/attachments/coordonnees_antennes.xlsx",
27
+ "description": "<p>Tableau des données</p>\n",
28
+ "format": "xlsx",
29
+ "state": "Active",
30
+ "revision_timestamp": "jeu, 19/12/2019 - 03:00",
31
+ "name": "coordonnees_antennes.xlsx",
32
+ "mimetype": "xlsx",
33
+ "size": "42 octets",
34
+ "created": "jeu, 19/12/2019 - 03:00",
35
+ "resource_group_id": "b72cd25d-1cec-49f6-8c71-297bd373fa01",
36
+ "last_modified": "Date changed jeu, 19/12/2019 - 03:00"
37
+ },
38
+ {
39
+ "id": "ab5948b1-95be-4806-ad8d-efaa9ffe43dc",
40
+ "revision_id": "",
41
+ "url": "https://sig.hautsdefrance.fr/ext/mv/?config=antenne_regionale.xml#",
42
+ "description": "<p>Visionneuse cartographique avec une représentation simplifiée des données</p>\n",
43
+ "format": "",
44
+ "state": "Active",
45
+ "revision_timestamp": "jeu, 19/12/2019 - 03:00",
46
+ "name": "Visionneuse mviewer",
47
+ "mimetype": "",
48
+ "size": "",
49
+ "created": "jeu, 19/12/2019 - 03:00",
50
+ "resource_group_id": "b72cd25d-1cec-49f6-8c71-297bd373fa01",
51
+ "last_modified": "Date changed jeu, 19/12/2019 - 03:00"
52
+ }
53
+ ],
54
+ "tags": [
55
+ {
56
+ "id": "0800bf74-0728-48ef-b6bb-6e458feff785",
57
+ "vocabulary_id": "2",
58
+ "name": "ADMINISTRATION"
59
+ },
60
+ {
61
+ "id": "3e213764-c884-402b-88f5-097a5de38876",
62
+ "vocabulary_id": "2",
63
+ "name": "ADRESSE"
64
+ },
65
+ {
66
+ "id": "8da693f4-e4d3-432e-8192-fa4d12ee21e8",
67
+ "vocabulary_id": "2",
68
+ "name": "AISNE"
69
+ },
70
+ {
71
+ "id": "40577117-4987-4588-b08c-e1636fa0865b",
72
+ "vocabulary_id": "2",
73
+ "name": "ANTENNE REGIONALE"
74
+ },
75
+ {
76
+ "id": "46af567e-d862-4d65-8912-0f7eff3f94a8",
77
+ "vocabulary_id": "2",
78
+ "name": "DONNEES OUVERTES"
79
+ },
80
+ {
81
+ "id": "713c6627-5caa-4434-9583-159b8f9fbfea",
82
+ "vocabulary_id": "2",
83
+ "name": "HAUTS-DE-FRANCE"
84
+ },
85
+ {
86
+ "id": "1e14a78d-127f-4401-ac4a-09159f5d22b2",
87
+ "vocabulary_id": "2",
88
+ "name": "NORD"
89
+ },
90
+ {
91
+ "id": "08f08873-ce41-465b-a055-826f6cee0ca4",
92
+ "vocabulary_id": "2",
93
+ "name": "OISE"
94
+ },
95
+ {
96
+ "id": "de6a5ac7-c9cb-42c8-b6a9-506740c54be3",
97
+ "vocabulary_id": "2",
98
+ "name": "PAS-DE-CALAIS"
99
+ },
100
+ {
101
+ "id": "b428bef2-9a4c-4545-9a70-1549ae2384a7",
102
+ "vocabulary_id": "2",
103
+ "name": "POLITIQUE REGIONALE"
104
+ },
105
+ {
106
+ "id": "f8676e82-0864-4b8f-afd2-2ca3368ccb53",
107
+ "vocabulary_id": "2",
108
+ "name": "PROXIMITE"
109
+ },
110
+ {
111
+ "id": "c18de608-ae9b-4043-81e1-27e367461a0d",
112
+ "vocabulary_id": "2",
113
+ "name": "SOMME"
114
+ },
115
+ {
116
+ "id": "33efc6a3-86b4-4ca3-b9b1-301d8ce7a379",
117
+ "vocabulary_id": "2",
118
+ "name": "Services d utilité publique et services publics"
119
+ }
120
+ ],
121
+ "groups": [
122
+ {
123
+ "description": "<p>Conseil régional des Hauts-de-France</p>\n",
124
+ "id": "b72cd25d-1cec-49f6-8c71-297bd373fa01",
125
+ "image_display_url": "https://opendata.hautsdefrance.fr/sites/default/files/Logo%20R%C3%A9gion%20HDF-pourleweb.jpg",
126
+ "title": "Région Hauts-de-France",
127
+ "name": "group/region-hauts-de-france"
128
+ }
129
+ ],
130
+ "extras": [
131
+ {
132
+ "key": "access_constraints",
133
+ "value": "[]"
134
+ },
135
+ {
136
+ "key": "bbox-east-long",
137
+ "value": "4.65820313"
138
+ },
139
+ {
140
+ "key": "bbox-north-lat",
141
+ "value": "51.16423318"
142
+ },
143
+ {
144
+ "key": "bbox-south-lat",
145
+ "value": "48.80546301"
146
+ },
147
+ {
148
+ "key": "bbox-west-long",
149
+ "value": "1.18652344"
150
+ },
151
+ {
152
+ "key": "contact-email",
153
+ "value": "sig@hautsdefrance.fr"
154
+ },
155
+ {
156
+ "key": "coupled-resource",
157
+ "value": "[]"
158
+ },
159
+ {
160
+ "key": "dataset-reference-date",
161
+ "value": "[{&quot;type&quot;: &quot;revision&quot;, &quot;value&quot;: &quot;2019-10-01&quot;}]"
162
+ },
163
+ {
164
+ "key": "frequency-of-update",
165
+ "value": "asNeeded"
166
+ },
167
+ {
168
+ "key": "graphic-preview-description",
169
+ "value": "logohdf.png"
170
+ },
171
+ {
172
+ "key": "graphic-preview-file",
173
+ "value": "https://geocatalogue.hautsdefrance.fr/geonetwork/srv/api/records/4b5f8e1b-de37-47cd-9203-37a59f318b09/attachments/logohdf.png"
174
+ },
175
+ {
176
+ "key": "guid",
177
+ "value": "4b5f8e1b-de37-47cd-9203-37a59f318b09"
178
+ },
179
+ {
180
+ "key": "licence",
181
+ "value": "[]"
182
+ },
183
+ {
184
+ "key": "metadata-date",
185
+ "value": "2019-11-13T11:24:54"
186
+ },
187
+ {
188
+ "key": "metadata-language",
189
+ "value": "fre"
190
+ },
191
+ {
192
+ "key": "metadata_created",
193
+ "value": "2019-11-13T11:24:54"
194
+ },
195
+ {
196
+ "key": "metadata_modified",
197
+ "value": "2019-11-13T11:24:54"
198
+ },
199
+ {
200
+ "key": "resource-type",
201
+ "value": "dataset"
202
+ },
203
+ {
204
+ "key": "responsible-party",
205
+ "value": "[{&quot;name&quot;: &quot;R\\u00e9gion Hauts-de-France&quot;, &quot;roles&quot;: [&quot;pointOfContact&quot;]}]"
206
+ },
207
+ {
208
+ "key": "spatial_harvester",
209
+ "value": "true"
210
+ },
211
+ {
212
+ "key": "harvest_object_id",
213
+ "value": "281dfceb-ed90-46da-aef6-4ad5e1348150"
214
+ },
215
+ {
216
+ "key": "harvest_source_id",
217
+ "value": "c6a6feb7-fc9a-4a26-ab6a-cd13024c4fdd"
218
+ },
219
+ {
220
+ "key": "harvest_source_title",
221
+ "value": "Données ouvertes publiées par la région Hauts-de-France"
222
+ }
223
+ ]
224
+ }
225
+ ]
226
+ }