{"id":13736821,"url":"https://github.com/eaton-lab/toytree","last_synced_at":"2025-04-12T16:38:07.385Z","repository":{"id":19853961,"uuid":"87832823","full_name":"eaton-lab/toytree","owner":"eaton-lab","description":"A minimalist tree plotting library using toyplot graphs","archived":false,"fork":false,"pushed_at":"2025-04-03T17:40:34.000Z","size":24678,"stargazers_count":175,"open_issues_count":15,"forks_count":29,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-03T18:14:20.538Z","etag":null,"topics":["phylogeny","plotting","python","tree"],"latest_commit_sha":null,"homepage":"http://eaton-lab.org/toytree","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/eaton-lab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-04-10T16:23:19.000Z","updated_at":"2025-04-03T17:39:22.000Z","dependencies_parsed_at":"2023-10-17T02:03:25.192Z","dependency_job_id":"b6fd778b-fccb-42a0-827f-b656b3e9a8a2","html_url":"https://github.com/eaton-lab/toytree","commit_stats":{"total_commits":1535,"total_committers":21,"mean_commits":73.0952380952381,"dds":"0.17263843648208466","last_synced_commit":"17b1e48d7d836e82e55186f5741a1db316aec65a"},"previous_names":[],"tags_count":70,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaton-lab%2Ftoytree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaton-lab%2Ftoytree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaton-lab%2Ftoytree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eaton-lab%2Ftoytree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eaton-lab","download_url":"https://codeload.github.com/eaton-lab/toytree/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248597710,"owners_count":21130928,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["phylogeny","plotting","python","tree"],"created_at":"2024-08-03T03:01:29.244Z","updated_at":"2025-04-12T16:38:07.365Z","avatar_url":"https://github.com/eaton-lab.png","language":"Jupyter Notebook","funding_links":[],"categories":["Jupyter Notebook"],"sub_categories":[],"readme":"Toytree\n==========\n\nTree plotting with **Toytree** in Python\n----------------------------------------\nWelcome to toytree, a Python library for tree object data parsing, visualization,\nmanipulation, and numerical and evolutionary analyses. If you are new to toytree, head to \nthe [User Guide](https://eaton-lab.org/toytree/quick_guide/) to see examples and learn about its features.\n\nThe goal of toytree is to provide a light-weight Python equivalent to widely used tree analysis\nand plotting libraries in R, and in doing so, to promote further development of phylogenetic and\nevolutionary analysis methods in Python.\n\nToytree generates rich interactive figures (SVG+HTML+JS) that render in jupyter-notebooks or webpages,\nand can be exported as high quality SVG, PDF, or PNG figures for publications. The library is minimal\ndependencies, is easy to install, and can be easily incorporated into other projects. \n\n\nCurrent release info\n--------------------\n| Name | Downloads | Version | Platforms |\n| --- | --- | --- | --- |\n| [![Conda Recipe](https://img.shields.io/badge/recipe-toytree-green.svg)](https://anaconda.org/conda-forge/toytree) | [![Conda Downloads](https://img.shields.io/conda/dn/conda-forge/toytree.svg)](https://anaconda.org/conda-forge/toytree) | [![Conda Version](https://img.shields.io/conda/vn/conda-forge/toytree.svg)](https://anaconda.org/conda-forge/toytree) | [![Conda Platforms](https://img.shields.io/conda/pn/conda-forge/toytree.svg)](https://anaconda.org/conda-forge/toytree) |\n\nInstalling toytree\n-------------------\nToytree can be installed using conda or pip (conda preferred):\n```\nconda install toytree -c conda-forge\n```\nIt is possible to list all of the versions of `toytree` available on your platform with:\n```\nconda search toytree --channel conda-forge\n```\n\nDocumentation\n-------------\nSee the full documentation at [http://eaton-lab.org/toytree](http://eaton-lab.org/toytree).\n\n\nExample code\n------------\n\n```python\n# import toyplot and load a newick file from a public URL\nimport toytree\ntre = toytree.tree(\"https://eaton-lab.org/data/Cyathophora.tre\")\n\n# root the tree using a wildcard string matching and draw a tree figure.\nrtre = tre.root('~prz')\nrtre.draw(width=400, tip_labels_align=True);\n\n# or chain a few functions together\ntre.root('~prz').drop_tips(\"~tham\").ladderize().draw();\n\n# extensive styling options are available\nrtre.draw(\n    tip_labels_colors='pink',\n    node_labels='support',\n    node_sizes=15,\n    node_colors=\"cyan\",\n    edge_style={\n        \"stroke\": \"darkgrey\", \n        \"stroke-width\": 3,\n    },\n)\n```\n\nExample plots\n------------\n\n![./manuscript/ToyTree-figure.svg](./manuscripts/toytree-1.0/ToyTree-figure.svg)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featon-lab%2Ftoytree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Featon-lab%2Ftoytree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Featon-lab%2Ftoytree/lists"}