从维基百科搜集的数据构建分类图。

taxopedia的Python项目详细描述


紫杉属

从维基百科收集的数据中构建分类树(cladograms)。在

安装

使用包管理器pip安装taxopedia。在

pip install taxopedia

示例用法

^{pr2}$

输出示例(树.to_txt)在

Kingdom : Animalia
└── Phylum : Chordata
    └── Class : Mammalia
        └── Magnorder : Boreoeutheria
            └── Grandorder : Euarchonta
                └── Mirorder : Primatomorpha
                    └── Superorder : Euarchontoglires
                        └── Order : Primates
                            └── Parvorder : Catarrhini
                                └── Suborder : Haplorhini
                                    └── Infraorder : Simiiformes
                                        └── Superfamily : Hominoidea (Hominoids or apes)
                                            ├── Family : Hominidae
                                            │   ├── Subfamily : Homininae
                                            │   │   ├── Tribe : Hominini
                                            │   │   │   ├── Genus : Homo
                                            │   │   │   │   ├── Species : †H. erectus
                                            │   │   │   │   │   ├── Subspecies : †H. e. erectus
                                            │   │   │   │   │   └── Subspecies : †H. e. pekinensis (Peking man)
                                            │   │   │   │   ├── Species : H. erectus
                                            │   │   │   │   │   └── Subspecies : H. e. soloensis (Solo Man)
                                            │   │   │   │   ├── Species : H. sapiens
                                            │   │   │   │   │   └── Subspecies : H. s. idaltu
                                            │   │   │   │   ├── Species : Homo erectus
                                            │   │   │   │   ├── Species : Homo sapiens (Human)
                                            │   │   │   │   ├── Species : †Homo antecessor
                                            │   │   │   │   ├── Species : †Homo ergaster
                                            │   │   │   │   ├── Species : †Homo floresiensis
                                            │   │   │   │   ├── Species : †Homo habilis
                                            │   │   │   │   ├── Species : †Homo heidelbergensis
                                            │   │   │   │   ├── Species : †Homo luzonensis
                                            │   │   │   │   ├── Species : †Homo naledi
                                            │   │   │   │   ├── Species : †Homo neanderthalensis (Neanderthal)
                                            │   │   │   │   ├── Species : †Homo rhodesiensis
                                            │   │   │   │   └── Species : †Homo rudolfensis
                                            │   │   │   ├── Subtribe : Australopithecina (Australopiths)
                                            │   │   │   │   ├── Genus : Australopithecus
                                            │   │   │   │   │   ├── Species : Australopithecus afarensis
                                            │   │   │   │   │   ├── Species : Australopithecus africanus
                                            │   │   │   │   │   ├── Species : Australopithecus deyiremeda
                                            │   │   │   │   │   ├── Species : Australopithecus garhi
                                            │   │   │   │   │   ├── Species : Australopithecus sediba
                                            │   │   │   │   │   ├── Species : †Australopithecus anamensis
                                            │   │   │   │   │   └── Species : †Australopithecus bahrelghazali
                                            │   │   │   │   └── Genus : †Paranthropus
                                            │   │   │   │       ├── Species : †P. aethiopicus
                                            │   │   │   │       ├── Species : †P. boisei
                                            │   │   │   │       └── Species : †P. robustus
                                            │   │   │   ├── Subtribe : Panina
                                            │   │   │   │   └── Genus : Pan (Chimpanzees and bonobos)
                                            │   │   │   │       ├── Species : P. troglodytes
                                            │   │   │   │       │   ├── Subspecies : P. t. ellioti (Nigeria-Cameroon chimpanzee)
                                            │   │   │   │       │   ├── Subspecies : P. t. schweinfurthii (Eastern chimpanzee)
                                            │   │   │   │       │   ├── Subspecies : P. t. troglodytes (Central chimpanzee)
                                            │   │   │   │       │   └── Subspecies : P. t. verus (Western chimpanzee)
                                            │   │   │   │       ├── Species : Pan paniscus (Bonobo)
                                            │   │   │   │       └── Species : Pan troglodytes (Chimpanzee)
                                            │   │   │   ├── Subtribe : Hominina
                                            │   │   │   │   └── Genus : †Ardipithecus
                                            │   │   │   │       ├── Species : †A. kadabba
                                            │   │   │   │       └── Species : †A. ramidus
                                            │   │   │   ├── Genus : †Orrorin
                                            │   │   │   │   └── Species : †O. tugenensis (Orrorin)
                                            │   │   │   └── Genus : †Kenyanthropus
                                            │   │   ├── Tribe : Gorillini
                                            │   │   │   ├── Genus : Gorilla
                                            │   │   │   │   ├── Species : G. beringei
                                            │   │   │   │   │   ├── Subspecies : G. b. beringei (Mountain gorilla)
                                            │   │   │   │   │   └── Subspecies : G. b. graueri (Eastern lowland gorilla)
                                            │   │   │   │   ├── Species : G. gorilla
                                            │   │   │   │   │   ├── Subspecies : G. g. diehli (Cross River gorilla)
                                            │   │   │   │   │   └── Subspecies : G. g. gorilla
                                            │   │   │   │   ├── Species : Gorilla beringei (Eastern gorilla)
                                            │   │   │   │   └── Species : Gorilla gorilla
                                            │   │   │   └── Genus : †Chororapithecus
                                            │   │   │       └── Species : †C. abyssinicus (Chororapithecus)
                                            │   │   └── Tribe : †Graecopithecini
                                            │   │       ├── Genus : †Ouranopithecus
                                            │   │       │   ├── Species : †O. macedoniensis
                                            │   │       │   └── Species : †O. turkae
                                            │   │       └── Genus : †Graecopithecus
                                            │   ├── Subfamily : Ponginae
                                            │   │   ├── Tribe : †Sivapithecini
                                            │   │   │   ├── Genus : †Ankarapithecus
                                            │   │   │   │   └── Species : †A. meteai (Ankarapithecus)
                                            │   │   │   ├── Genus : †Gigantopithecus
                                            │   │   │   │   └── Species : †G. blacki (Gigantopithecus)
                                            │   │   │   └── Genus : †Sivapithecus
                                            │   │   ├── Genus : Pongo (Orangutans)
                                            │   │   │   ├── Species : Pongo abelii (Sumatran orangutan)
                                            │   │   │   ├── Species : Pongo pygmaeus (Bornean orangutan)
                                            │   │   │   ├── Species : Pongo tapanuliensis (Tapanuli orangutan)
                                            │   │   │   └── Species : †Pongo hooijeri
                                            │   │   └── Tribe : Pongini
                                            │   │       └── Genus : †Khoratpithecus
                                            │   ├── Subfamily : †Dryopithecinae
                                            │   │   ├── Tribe : †Kenyapithecini
                                            │   │   │   ├── Genus : †Griphopithecus
                                            │   │   │   │   ├── Species : †G. alpani
                                            │   │   │   │   └── Species : †G. suessi
                                            │   │   │   └── Genus : †Kenyapithecus
                                            │   │   │       └── Species : †K. wickeri
                                            │   │   └── Tribe : †Afropithecini
                                            │   │       └── Genus : †Otavipithecus
                                            │   │           └── Species : †O. namibiensis (Otavipithecus)
                                            │   ├── Tribe : †Dryopithecini
                                            │   │   ├── Genus : †Anoiapithecus
                                            │   │   │   └── Species : †A. brevirostris (Anoiapithecus)
                                            │   │   ├── Genus : †Danuvius
                                            │   │   │   └── Species : †D. guggenmosi
                                            │   │   ├── Genus : †Rudapithecus
                                            │   │   │   └── Species : †R. hungaricus (Rudapithecus)
                                            │   │   └── Genus : †Dryopithecus
                                            │   ├── Subfamily : incertae sedis
                                            │   │   └── Genus : †Sahelanthropus
                                            │   │       └── Species : †S. tchadensis
                                            │   ├── Genus : †Nakalipithecus
                                            │   │   └── Species : †N. nakayamai (Nakalipithecus)
                                            │   └── Tribe : †Lufengpithecini
                                            │       └── Genus : †Lufengpithecus
                                            └── Family : Hylobatidae (Gibbons)

许可证

MIT

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何拆分字符串(基于各种分隔符),但不保留空格?   解析。Json格式的txt文件和knime中的java   java Spring rest api为什么在rest api调用的响应中更改了数据类型   升华文本3抛出java。lang.ClassNotFoundException,而记事本++不存在   java Android指纹扫描仪在尝试5次后停止工作?   java Android如何设置精确的重复报警?   java如何使用HTTPGET connect为access API输入用户名和密码   java当测试报告显示没有测试失败时,Gradle为什么说“有失败的测试”?   用Gson实现java获取响应   MapReduce程序中函数错误的java不可映射参数   java spring安全性不符合自动代理的条件   java GWT使用异步回调进行同步/阻塞调用   java奇怪的类数组问题无法在jsp中显示   如何在java中使用PrinterJob使用epl打印条形码   java如何在JTable中居中单元格   将Java Mockito测试转换为Kotlin   html Java正则表达式模式匹配到多个相同标记   testCompile中缺少java Gradle(Android)多项目依赖项   在输入提示后输入字符串时发生java FileNotFoundException