wipo-gbd-transformation 1.1.50__py3-none-any.whl → 1.1.51__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 wipo-gbd-transformation might be problematic. Click here for more details.
- gbdtransformation/brands/istm/filters.py +22 -14
- gbdtransformation/brands/sgtm/template.trademark.yml +1 -1
- gbdtransformation/execs.py +1 -1
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/METADATA +5 -2
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/RECORD +9 -10
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/WHEEL +1 -1
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/entry_points.txt +1 -0
- gbdtransformation/.DS_Store +0 -0
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/top_level.txt +0 -0
|
@@ -10,28 +10,36 @@ def get_full_address(applicant):
|
|
|
10
10
|
|
|
11
11
|
def translate_status(status, status_is):
|
|
12
12
|
# office did not map to english -> we do it
|
|
13
|
-
if
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
13
|
+
if 'Áfrýjun' in status_is: return 'Pending' # Appeal
|
|
14
|
+
if status_is == 'Afturkallað': return 'Ended' # Revoked
|
|
15
|
+
if status_is == 'Birt': return 'Pending' # Published
|
|
16
|
+
if status_is == 'Andmæli': return 'Registered' # Published
|
|
17
|
+
if status_is == 'Krafa um niðurfellingu': return 'Ended' # Request for cancellation
|
|
18
|
+
if status_is == 'Tilbúið til birtingar': return 'Pending' # Ready for publishing
|
|
19
|
+
if status_is == 'Í rannsókn': return 'Registered' # Investigating ..
|
|
20
|
+
if status_is == 'Krafa um ógildingu': return 'Registered' # Claim for annulment ..
|
|
21
|
+
if status_is == 'Rannsóknarhæft': return 'Pending' #Researchable or in their office Application
|
|
22
|
+
if status_is == 'Fyrsta höfnun': return 'Pending' #First rejection or in their office Application
|
|
23
|
+
if status_is == 'Hafna': return 'Ended' #Rejection or in their office Application
|
|
24
|
+
if status_is == 'Vafamál': return 'Registered' #Investigating or in their office Application
|
|
25
|
+
if status_is == 'Endurupptökufrestur': return 'Pending' #Re-admission deadline (Trad)
|
|
26
|
+
if 'Í bi' in status_is: return 'Pending' #On hold
|
|
27
|
+
if 'nari sko' in status_is: return 'Pending'
|
|
28
|
+
if 'Rökstu' in status_is: return 'Pending'
|
|
29
|
+
if status_is == 'Rökstuningur': return 'Pending'
|
|
30
|
+
if status_is == 'Synja': return 'Ended'
|
|
31
|
+
if status_is == 'Umsögn hjá NS': return 'Pending'
|
|
32
|
+
|
|
26
33
|
|
|
27
34
|
if status == 'Filed': return 'Pending'
|
|
28
35
|
if status == 'Expired': return 'Expired'
|
|
29
36
|
if status == 'Ended': return 'Ended'
|
|
30
37
|
if status == 'Registered': return 'Registered'
|
|
31
|
-
|
|
38
|
+
#return 'Unknown'
|
|
32
39
|
raise Exception('Status "%s/%s" unmapped' % (status, status_is))
|
|
33
40
|
|
|
34
41
|
|
|
42
|
+
|
|
35
43
|
def translate_feature(feature, is3D):
|
|
36
44
|
if not feature: return 'Undefined'
|
|
37
45
|
|
gbdtransformation/execs.py
CHANGED
|
@@ -514,7 +514,7 @@ def run():
|
|
|
514
514
|
buffer = []
|
|
515
515
|
for root, dirs, files in os.walk(root_path):
|
|
516
516
|
for f in files:
|
|
517
|
-
if f.endswith('.xml.gz') or
|
|
517
|
+
if f.endswith('.xml.gz'): #or f.endswith('.xml'):
|
|
518
518
|
buffer.append(os.path.join(root_path, root, f))
|
|
519
519
|
if len(buffer) == nb:
|
|
520
520
|
return buffer
|
{wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/METADATA
RENAMED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: wipo-gbd-transformation
|
|
3
|
-
Version: 1.1.
|
|
3
|
+
Version: 1.1.51
|
|
4
4
|
Summary: GBD XML ETL package
|
|
5
5
|
Home-page: https://github.com/GBD-Wipo/xmlE
|
|
6
6
|
Author: WIPO GDB team
|
|
7
7
|
Author-email: gbd@wipo.int
|
|
8
|
+
License: UNKNOWN
|
|
8
9
|
Keywords: gbdtransformation
|
|
10
|
+
Platform: UNKNOWN
|
|
9
11
|
Classifier: Programming Language :: Python :: 3.6
|
|
10
|
-
License-File: LICENSE.md
|
|
11
12
|
Requires-Dist: boto3
|
|
12
13
|
Requires-Dist: jinja2 (==2.11.2)
|
|
13
14
|
Requires-Dist: xmltodict
|
|
@@ -18,3 +19,5 @@ Requires-Dist: tabulate
|
|
|
18
19
|
Requires-Dist: markupsafe (==2.0.1)
|
|
19
20
|
|
|
20
21
|
GBD XML ETL package
|
|
22
|
+
|
|
23
|
+
|
{wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/RECORD
RENAMED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
gbdtransformation/.DS_Store,sha256=0P5iuLZ7zgY5l38MNfo5m8w3yfR_rIdKFFFjvnF0ws4,6148
|
|
2
1
|
gbdtransformation/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
3
|
-
gbdtransformation/execs.py,sha256=
|
|
2
|
+
gbdtransformation/execs.py,sha256=sKJZz2fVlY6lhKMEv20aWDuF9x9IaHq13ZcouRiriTs,23945
|
|
4
3
|
gbdtransformation/parser.py,sha256=m6b1J0kJEaEDc0I8HKxzzN2nsQWKFfLlQqS3nT02kb4,7074
|
|
5
4
|
gbdtransformation/renders.py,sha256=RmvQgugnG2ErvDxP4I9yovW67gEZNpOd59nrzEYfQPI,4555
|
|
6
5
|
gbdtransformation/brands/__init__.py,sha256=abDdinNkilR-qYg4dhVxP_e1-ZixCzVuHGxbFt710TE,1605
|
|
@@ -170,7 +169,7 @@ gbdtransformation/brands/ipas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5N
|
|
|
170
169
|
gbdtransformation/brands/ipas/filters.py,sha256=cjHa9yciQfUWC2XehqcluwLODbajU8yZvleATpKI6-4,6561
|
|
171
170
|
gbdtransformation/brands/ipas/template.yml,sha256=TMD1OLKdxGN9XLc6gjTIArM0bXjT0hwQbam4PTvxAzE,7402
|
|
172
171
|
gbdtransformation/brands/istm/__init__.py,sha256=Odl0eAIHwvFrNHxJCqM-9Yht1kcLcXJSZDpJbSLXeq0,192
|
|
173
|
-
gbdtransformation/brands/istm/filters.py,sha256=
|
|
172
|
+
gbdtransformation/brands/istm/filters.py,sha256=6FijaxD9sYtuCT9tQjHQAO51BWl38z6X3Jt3xSyVuQU,2903
|
|
174
173
|
gbdtransformation/brands/istm/schema,sha256=iMcsysU2fLG9lQYr3rwsbt3U0oC8xrIrB0-XitQGsMg,789
|
|
175
174
|
gbdtransformation/brands/istm/template.yml,sha256=Eo7aW87OOyLeHpR7TwEejapKYFFevMfW7S26yH2IaL0,3660
|
|
176
175
|
gbdtransformation/brands/ittm/__init__.py,sha256=x7MEG0cRT7jOj2U9I4stffawL5ZOFcH3iywiNSsdXEQ,132
|
|
@@ -329,7 +328,7 @@ gbdtransformation/brands/sgtm/filters.py,sha256=A33B4MgHARwiRZOoAYp5jph9Ou9tbVLZ
|
|
|
329
328
|
gbdtransformation/brands/sgtm/schema,sha256=ALI9vWmb7uoMBS0JABxaKzoX3xmiXpC_T_abgs5W09k,4140
|
|
330
329
|
gbdtransformation/brands/sgtm/template.article6ter.yml,sha256=xjxu53T6OHeLIDVJtAb4bEcvC2kE_eAabPYxhWJy30I,1282
|
|
331
330
|
gbdtransformation/brands/sgtm/template.r13.yml,sha256=2VwWbySE3wioV3sM5aX4nnaptYLIUM3CpbVQzBSRk34,1076
|
|
332
|
-
gbdtransformation/brands/sgtm/template.trademark.yml,sha256=
|
|
331
|
+
gbdtransformation/brands/sgtm/template.trademark.yml,sha256=AONjkqmM-oVherPT8dpBpsP_FvadqnmZIE7L-YSBYJE,5219
|
|
333
332
|
gbdtransformation/brands/sgtm/template.yml,sha256=1lTY8vRYFjD4Jrm01eEVYsyrc1eAunIyoUR1JQ1ab1s,231
|
|
334
333
|
gbdtransformation/brands/smtm/__init__.py,sha256=PvcF7h_D20Ek7gX5oteTimzNH0AFDmIHnQeCbkGLR5I,109
|
|
335
334
|
gbdtransformation/brands/smtm/filters.py,sha256=9JkafJ4XuA9SdQ6OqidukGKf7xK1QtPiSCiLo8QfAvg,2369
|
|
@@ -553,9 +552,9 @@ gbdtransformation/utilities/st66.xsd,sha256=co8aFN3a5TpudllRttWmfLeiZu8ulNipfeXm
|
|
|
553
552
|
schemas/ShazamConfig.py,sha256=D67os5B11C41h_WZ7kk54Ss0Kk7tHh8W0d_1c_aX-lY,1191
|
|
554
553
|
schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
555
554
|
schemas/schema_extractor.py,sha256=3-ImtnI777f6b3VA0A_w-NoXdlGz5VZMzK6MnPdQQAY,10294
|
|
556
|
-
wipo_gbd_transformation-1.1.
|
|
557
|
-
wipo_gbd_transformation-1.1.
|
|
558
|
-
wipo_gbd_transformation-1.1.
|
|
559
|
-
wipo_gbd_transformation-1.1.
|
|
560
|
-
wipo_gbd_transformation-1.1.
|
|
561
|
-
wipo_gbd_transformation-1.1.
|
|
555
|
+
wipo_gbd_transformation-1.1.51.dist-info/LICENSE.md,sha256=6r2dL13EwZqSt2ellLbJRFTA-6ECIDOer4YthCfkac0,35654
|
|
556
|
+
wipo_gbd_transformation-1.1.51.dist-info/METADATA,sha256=lVkfFqrxT_LF3WYKXA2J4DpW-3S-XBjkhqf_CPzCg4A,533
|
|
557
|
+
wipo_gbd_transformation-1.1.51.dist-info/WHEEL,sha256=g4nMs7d-Xl9-xC9XovUrsDHGXt-FT0E17Yqo92DEfvY,92
|
|
558
|
+
wipo_gbd_transformation-1.1.51.dist-info/entry_points.txt,sha256=na14_dHw81P8fsyO71hEe2mauQLksGZ5TgfMxv4aOrg,166
|
|
559
|
+
wipo_gbd_transformation-1.1.51.dist-info/top_level.txt,sha256=oU1j-JNLga18Fd-EV6Xl9wM8zxYoNVEzb7P8MDhTPJg,26
|
|
560
|
+
wipo_gbd_transformation-1.1.51.dist-info/RECORD,,
|
gbdtransformation/.DS_Store
DELETED
|
Binary file
|
{wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/LICENSE.md
RENAMED
|
File without changes
|
{wipo_gbd_transformation-1.1.50.dist-info → wipo_gbd_transformation-1.1.51.dist-info}/top_level.txt
RENAMED
|
File without changes
|