tools¶
-
wipo_ipc.tools.
convert_to_human
(ipc_code: str) → str¶ Parameters: ipc_code – string representation of a IPC code in official form Returns: string representation of the input IPC code in human-friendly form Return type: str Example
>>> convert_to_human("A61F0005580000") "A61F 5/58"
-
wipo_ipc.tools.
convert_to_official
(ipc: str) → str¶ Parameters: ipc_code – string representation of a IPC code in human-friendly form Returns: string representation of the input IPC code in official form Return type: str Example
>>> convert_to_official("A61F 5/58") "A61F0005580000"
-
wipo_ipc.tools.
get_pure_group
(ipc_code: str) → str¶ Parameters: ipc_code – string representation of a full IPC code Returns: string representation of the group of the input ipc code Return type: str Example
>>> get_pure_group("A61F0005580000") A61F0005000000