wipo-gbd-transformation 1.1.76__py3-none-any.whl → 1.1.78__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/brtm/filters.py +7 -3
- gbdtransformation/brands/brtm/tests/test01.xml +53 -0
- gbdtransformation/brands/notm/filters.py +13 -1
- gbdtransformation/brands/notm/template.yml +1 -1
- gbdtransformation/brands/xxxx/template.yml +1 -1
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/METADATA +1 -1
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/RECORD +11 -10
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/LICENSE.md +0 -0
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/WHEEL +0 -0
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/entry_points.txt +0 -0
- {wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/top_level.txt +0 -0
|
@@ -16,7 +16,9 @@ def translate_type(header):
|
|
|
16
16
|
|
|
17
17
|
# extraction missing info.
|
|
18
18
|
if not code:
|
|
19
|
-
|
|
19
|
+
# defaulting rather than failing...
|
|
20
|
+
return 'TRADEMARK'
|
|
21
|
+
#raise Exception('Incomplete Document Info')
|
|
20
22
|
if code == 'Marca': return 'TRADEMARK'
|
|
21
23
|
if code == 'Marca Madri': return 'TRADEMARK'
|
|
22
24
|
"""
|
|
@@ -25,7 +27,8 @@ def translate_type(header):
|
|
|
25
27
|
if code == 'Madrid': return 'TRADEMARK'
|
|
26
28
|
if code == 'Banjul Protocol Marks': return 'TRADEMARK'
|
|
27
29
|
"""
|
|
28
|
-
|
|
30
|
+
return 'TRADEMARK'
|
|
31
|
+
#raise Exception('Type "%s" is not mapped.' % code)
|
|
29
32
|
|
|
30
33
|
def translate_kind(trademark, header):
|
|
31
34
|
subcode = header.TransactionSubCode
|
|
@@ -49,7 +52,8 @@ def translate_kind(trademark, header):
|
|
|
49
52
|
if subcode == 'Madrid Protocol': return ['Individual']
|
|
50
53
|
if subcode == 'Banjul Protocol Marks': return ['Individual']
|
|
51
54
|
"""
|
|
52
|
-
|
|
55
|
+
return ['Undefined']
|
|
56
|
+
#raise Exception('Kind "%s" not mapped.' % subcode)
|
|
53
57
|
|
|
54
58
|
def translate_status(trademark):
|
|
55
59
|
status = trademark.MarkCurrentStatusCode
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
|
|
3
|
+
<Transaction xmlns="http://www.wipo.int/standards/XMLSchema/trademarks" xmlns:wo="http://www.wipo.int/standards/XMLSchema/wo-trademarks">
|
|
4
|
+
<TradeMarkTransactionBody>
|
|
5
|
+
<TransactionContentDetails>
|
|
6
|
+
<TransactionIdentifier></TransactionIdentifier>
|
|
7
|
+
<TransactionCode></TransactionCode>
|
|
8
|
+
<TransactionSubCode></TransactionSubCode>
|
|
9
|
+
<TransactionData>
|
|
10
|
+
<TradeMarkApplication>
|
|
11
|
+
<TradeMarkDetails>
|
|
12
|
+
<TradeMark>
|
|
13
|
+
<RegistrationOfficeCode>BR</RegistrationOfficeCode>
|
|
14
|
+
<ApplicationNumber>MMA1501730141</ApplicationNumber>
|
|
15
|
+
<ApplicationDate></ApplicationDate>
|
|
16
|
+
<ApplicationLanguageCode>pt</ApplicationLanguageCode>
|
|
17
|
+
<MarkImageDetails>
|
|
18
|
+
<MarkImage/>
|
|
19
|
+
</MarkImageDetails>
|
|
20
|
+
<PublicationDetails>
|
|
21
|
+
<Publication>
|
|
22
|
+
<PublicationIdentifier>MMA1501730141</PublicationIdentifier>
|
|
23
|
+
<PublicationDate>2023-12-12</PublicationDate>
|
|
24
|
+
</Publication>
|
|
25
|
+
</PublicationDetails>
|
|
26
|
+
<ApplicantDetails>
|
|
27
|
+
<Applicant>
|
|
28
|
+
<ApplicantAddressBook>
|
|
29
|
+
<FormattedNameAddress>
|
|
30
|
+
<Name>
|
|
31
|
+
<FreeFormatName>
|
|
32
|
+
<FreeFormatNameDetails>
|
|
33
|
+
<FreeFormatNameLine languageCode="pt">Shengqun Zhou</FreeFormatNameLine>
|
|
34
|
+
</FreeFormatNameDetails>
|
|
35
|
+
</FreeFormatName>
|
|
36
|
+
</Name>
|
|
37
|
+
<Address>
|
|
38
|
+
<AddressCountryCode>CN</AddressCountryCode>
|
|
39
|
+
</Address>
|
|
40
|
+
</FormattedNameAddress>
|
|
41
|
+
</ApplicantAddressBook>
|
|
42
|
+
</Applicant>
|
|
43
|
+
</ApplicantDetails>
|
|
44
|
+
<wo:WordMarkSpecification/>
|
|
45
|
+
<wo:MarkEventDetails/>
|
|
46
|
+
<wo:MarkCurrentStatusCode>Depositado</wo:MarkCurrentStatusCode>
|
|
47
|
+
</TradeMark>
|
|
48
|
+
</TradeMarkDetails>
|
|
49
|
+
</TradeMarkApplication>
|
|
50
|
+
</TransactionData>
|
|
51
|
+
</TransactionContentDetails>
|
|
52
|
+
</TradeMarkTransactionBody>
|
|
53
|
+
</Transaction>
|
|
@@ -151,4 +151,16 @@ def translate_licence_status(status):
|
|
|
151
151
|
if status.lower() == 'valid': return 'Valid'
|
|
152
152
|
|
|
153
153
|
return 'Other'
|
|
154
|
-
#raise Exception('licence status "%s" is not mapped.' % status)
|
|
154
|
+
#raise Exception('licence status "%s" is not mapped.' % status)
|
|
155
|
+
|
|
156
|
+
def clean_vienna_class(the_class):
|
|
157
|
+
if the_class == None:
|
|
158
|
+
return None
|
|
159
|
+
if len(the_class) == 0:
|
|
160
|
+
return None
|
|
161
|
+
# remove trailing dot
|
|
162
|
+
if the_class.endswith("."):
|
|
163
|
+
the_class = the_class[:-1]
|
|
164
|
+
if len(the_class) == 0:
|
|
165
|
+
return None
|
|
166
|
+
return the_class
|
|
@@ -94,7 +94,7 @@ markImageDetails:
|
|
|
94
94
|
code:
|
|
95
95
|
{% call(viennaClass) match('viennaClassificationBag', markImage.markImageClassification.figurativeElementClassificationBag) %}
|
|
96
96
|
{% call(viennaValue) match('viennaClassification', viennaClass) %}
|
|
97
|
-
- {{ viennaValue.viennaCategory }}
|
|
97
|
+
- {{ viennaValue.viennaCategory | clean_vienna_class }}
|
|
98
98
|
{% endcall %}
|
|
99
99
|
{% endcall %}
|
|
100
100
|
{% endif %}
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
|
|
24
24
|
type: # (TRADEMARK|EMBLEM|AO|GI|INN)
|
|
25
25
|
kind:
|
|
26
|
-
- str # (Individual|Collective|Certificate|Defensive|Other|Membership)
|
|
26
|
+
- str # (Individual|Collective|Certificate|Defensive|Other|Membership|Undefined)
|
|
27
27
|
markFeature: # (Word|Stylized characters|Figurative|Combined|Three dimensional|Colour|Sound|Hologram|Olfactory|Motion|Municipal|Chimney|Other|Undefined)
|
|
28
28
|
|
|
29
29
|
registrationOfficeCode:
|
{wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/RECORD
RENAMED
|
@@ -45,10 +45,11 @@ gbdtransformation/brands/bntm/schema,sha256=AP0MxQyD0hY4APRh8nxitlxMqJYJB4AaaTJ8
|
|
|
45
45
|
gbdtransformation/brands/bntm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
46
46
|
gbdtransformation/brands/bntm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
47
47
|
gbdtransformation/brands/brtm/__init__.py,sha256=4i_g7tbu8MmPJccRZCkqJES_bzwGUY59SxTlZT_e3Xs,37
|
|
48
|
-
gbdtransformation/brands/brtm/filters.py,sha256
|
|
48
|
+
gbdtransformation/brands/brtm/filters.py,sha256=-T0JEm1VaWeveGjejdGuid8vHTcH3yKsayQWJDIP5Y0,6012
|
|
49
49
|
gbdtransformation/brands/brtm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRFeqaJt6Q,3242
|
|
50
50
|
gbdtransformation/brands/brtm/template.yml,sha256=U3dMrcxS-meJthPQow_R1MAVH1DYdJ4AyJSAR6s9LJQ,952
|
|
51
51
|
gbdtransformation/brands/brtm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
52
|
+
gbdtransformation/brands/brtm/tests/test01.xml,sha256=PwEldq_lGbrysSYk43ebupzXP57T5_fhtpnQx_TqjB4,2231
|
|
52
53
|
gbdtransformation/brands/bttm/__init__.py,sha256=cCkwMJ9sn4nPbrt8gZzcLovRJzV9uLi2L-6dU_KsIzg,229
|
|
53
54
|
gbdtransformation/brands/bttm/filters.py,sha256=3OFCcjpjkIQ_GbYeGcwTpc-qWBZLUybaUzr4e4s-eEI,2326
|
|
54
55
|
gbdtransformation/brands/bttm/schema,sha256=AP0MxQyD0hY4APRh8nxitlxMqJYJB4AaaTJ8y20-XBA,3283
|
|
@@ -296,8 +297,8 @@ gbdtransformation/brands/natm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRF
|
|
|
296
297
|
gbdtransformation/brands/natm/template.yml,sha256=PO7s1HDQM9ushIJuIX3z_dfWO-f62YDzBG_sYKDlnG8,34
|
|
297
298
|
gbdtransformation/brands/natm/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
298
299
|
gbdtransformation/brands/notm/__init__.py,sha256=YRZPymjJv7V5vqjphBN1UOHZ3RL1oeYYqaOI6AKInl0,88
|
|
299
|
-
gbdtransformation/brands/notm/filters.py,sha256=
|
|
300
|
-
gbdtransformation/brands/notm/template.yml,sha256=
|
|
300
|
+
gbdtransformation/brands/notm/filters.py,sha256=KNc0PXlUgKm3SRhKGn0SUHJ_Zg2YvIvfQZnP8qoARzc,5811
|
|
301
|
+
gbdtransformation/brands/notm/template.yml,sha256=iNPRI1DSe7LKzt-jFHNcd2DBeo-0yGd-xr1nZK9pYL0,10156
|
|
301
302
|
gbdtransformation/brands/nztm/__init__.py,sha256=UHmbQDIPDdApISBKfO9tKOX6LgUQ_Ib-IVMR5kCVMTY,86
|
|
302
303
|
gbdtransformation/brands/nztm/filters.py,sha256=dAjrg03Yq37H10oAM8rnAMNa71lZHuG1uMwHi25kIvA,4211
|
|
303
304
|
gbdtransformation/brands/nztm/schema,sha256=tpcyNMtmiBQQ0FsxKKTASRSo4nbrw0j0_b1nhELyAzE,6355
|
|
@@ -456,7 +457,7 @@ gbdtransformation/brands/wstm/tests/test.xml.gz,sha256=UKm7LTvKaETUtHMKurFGqkqXO
|
|
|
456
457
|
gbdtransformation/brands/xxxx/__init__.py,sha256=fricc3VHm4BwGRFKIIqB0t-NtP3tTVRrEYee_gWpiFo,172
|
|
457
458
|
gbdtransformation/brands/xxxx/filters.py,sha256=YCaQ6yH2LINwCQvbPHDhnORQyWglbswLlSOY6ur3KXQ,1874
|
|
458
459
|
gbdtransformation/brands/xxxx/schema,sha256=g_oWkd7k2e5fAQR1BdNkPSsIgP3dkTyc7esWo_UOHQA,163
|
|
459
|
-
gbdtransformation/brands/xxxx/template.yml,sha256
|
|
460
|
+
gbdtransformation/brands/xxxx/template.yml,sha256=EM5IES2irQvlNvylR_JRmIAtrUna0QzJKK5Jr_RqdzY,7104
|
|
460
461
|
gbdtransformation/brands/zmtm/__init__.py,sha256=Mtsi_-CaLQirHkhnletNhJ4li-pZlzEZMcKjv6mEk50,256
|
|
461
462
|
gbdtransformation/brands/zmtm/filters.py,sha256=FkGfv3nPiYDUy97O7bDzPp824qoDsqX-oh2Ox01NTpA,2344
|
|
462
463
|
gbdtransformation/brands/zmtm/schema,sha256=TFrF4FR76cytcbtQkDWxtF74I0tCPRDIvWRFeqaJt6Q,3242
|
|
@@ -584,9 +585,9 @@ gbdtransformation/utilities/st66.xsd,sha256=co8aFN3a5TpudllRttWmfLeiZu8ulNipfeXm
|
|
|
584
585
|
schemas/ShazamConfig.py,sha256=D67os5B11C41h_WZ7kk54Ss0Kk7tHh8W0d_1c_aX-lY,1191
|
|
585
586
|
schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
586
587
|
schemas/schema_extractor.py,sha256=3-ImtnI777f6b3VA0A_w-NoXdlGz5VZMzK6MnPdQQAY,10294
|
|
587
|
-
wipo_gbd_transformation-1.1.
|
|
588
|
-
wipo_gbd_transformation-1.1.
|
|
589
|
-
wipo_gbd_transformation-1.1.
|
|
590
|
-
wipo_gbd_transformation-1.1.
|
|
591
|
-
wipo_gbd_transformation-1.1.
|
|
592
|
-
wipo_gbd_transformation-1.1.
|
|
588
|
+
wipo_gbd_transformation-1.1.78.dist-info/LICENSE.md,sha256=6r2dL13EwZqSt2ellLbJRFTA-6ECIDOer4YthCfkac0,35654
|
|
589
|
+
wipo_gbd_transformation-1.1.78.dist-info/METADATA,sha256=Wp9ill2T_9x9nSybXeWrIk4OUZP-z96JkI_E13Fgpns,577
|
|
590
|
+
wipo_gbd_transformation-1.1.78.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
|
591
|
+
wipo_gbd_transformation-1.1.78.dist-info/entry_points.txt,sha256=NFLtlP3mPHUi-hEoUcz4CXa7vcpP8bbwd18HS4arbEk,223
|
|
592
|
+
wipo_gbd_transformation-1.1.78.dist-info/top_level.txt,sha256=oU1j-JNLga18Fd-EV6Xl9wM8zxYoNVEzb7P8MDhTPJg,26
|
|
593
|
+
wipo_gbd_transformation-1.1.78.dist-info/RECORD,,
|
{wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/LICENSE.md
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{wipo_gbd_transformation-1.1.76.dist-info → wipo_gbd_transformation-1.1.78.dist-info}/top_level.txt
RENAMED
|
File without changes
|