Could you generate a python script for Blender that would define an armature for a hierarchy of bones?

Let the hierarchy of bones be in this format:
Root, head: (0, 0, 0), tail: (0, 0.1, 0)
- pelvis, head: (0, 0, 0), tail: (0, 0.1, 0)
-- spine\_01, head: (0, 0, 0), tail: (0, 0.1, 0)
--- spine\_02, head: (0, 0, 0), tail: (0, 0.1, 0)
---- spine\_03, head: (0, 0, 0), tail: (0, 0.1, 0)
----- clavicle\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------- upperarm\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
-------- lowerarm\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
--------- hand\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- thumb\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- thumb\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ thumb\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- index\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- index\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ index\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- middle\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- middle\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ middle\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- ring\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- ring\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ ring\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- pinky\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- pinky\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ pinky\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----- clavicle\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------- upperarm\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
-------- lowerarm\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
--------- hand\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- thumb\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- thumb\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ thumb\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- index\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- index\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ index\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- middle\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- middle\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ middle\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- ring\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- ring\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ ring\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---------- pinky\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----------- pinky\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
------------ pinky\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----- neck\_01, head: (0, 0, 0), tail: (0, 0.1, 0)
----- head, head: (0, 0, 0), tail: (0, 0.1, 0)
-- thigh\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
--- calf\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
---- foot\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
----- ball\_l, head: (0, 0, 0), tail: (0, 0.1, 0)
-- thigh\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
--- calf\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
---- foot\_r, head: (0, 0, 0), tail: (0, 0.1, 0)
----- ball\_r, head: (0, 0, 0), tail: (0, 0.1, 0)

Please write a function that would load such a hierarchy from a file. Let the name of the file be "skeleton.hierarchy".
뼈대 계층 구조에 대한 뼈대를 정의하는 Blender용 파이썬 스크립트를 생성할 수 있나요?뼈의 계층 구조는 다음과 같은 형식이 될 것입니다:뿌리, 머리: (0, 0, 0), 꼬리: (0, 0.1, 0)- 골반, 머리: (0, 0, 0), 꼬리: (0, 0.1, 0)-- spine\_01, head: (0, 0, 0), tail: (0, 0.1, 0)--- spine\_02, head: (0, 0, 0), tail: (0, 0.1, 0)---- spine\_03, head: (0, 0, 0), tail: (0, 0.1, 0)----- clavicle\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------- upperarm\_l, head: (0, 0, 0), tail: (0, 0.1, 0)-------- lowerarm\_l, head: (0, 0, 0), tail: (0, 0.1, 0)--------- hand\_l, head: (0, 0, 0), tail: (0, 0.1, 0)---------- thumb\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----------- thumb\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------------ thumb\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)---------- index\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----------- index\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------------ index\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)---------- middle\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----------- middle\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------------ middle\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)---------- ring\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----------- ring\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------------ ring\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)---------- pinky\_01\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----------- pinky\_02\_l, head: (0, 0, 0), tail: (0, 0.1, 0)------------ pinky\_03\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----- clavicle\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------- upperarm\_r, head: (0, 0, 0), tail: (0, 0.1, 0)-------- lowerarm\_r, head: (0, 0, 0), tail: (0, 0.1, 0)--------- hand\_r, head: (0, 0, 0), tail: (0, 0.1, 0)---------- thumb\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----------- thumb\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------------ thumb\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)---------- index\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----------- index\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------------ index\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)---------- middle\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----------- middle\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------------ middle\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)---------- ring\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----------- ring\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------------ ring\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)---------- pinky\_01\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----------- pinky\_02\_r, head: (0, 0, 0), tail: (0, 0.1, 0)------------ pinky\_03\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----- neck\_01, head: (0, 0, 0), tail: (0, 0.1, 0)----- head, head: (0, 0, 0), tail: (0, 0.1, 0)-- thigh\_l, head: (0, 0, 0), tail: (0, 0.1, 0)--- 종아리\_l, 머리: (0, 0, 0), 꼬리: (0, 0.1, 0)---- foot\_l, head: (0, 0, 0), tail: (0, 0.1, 0)----- ball\_l, head: (0, 0, 0), tail: (0, 0.1, 0)-- thigh\_r, head: (0, 0, 0), tail: (0, 0.1, 0)--- 종아리\_r, 머리: (0, 0, 0), 꼬리: (0, 0.1, 0)---- foot\_r, head: (0, 0, 0), tail: (0, 0.1, 0)----- ball\_r, head: (0, 0, 0), tail: (0, 0.1, 0)파일에서 이러한 계층 구조를 로드하는 함수를 작성하세요. 파일 이름은 "skeleton.hierarchy"로 하세요.