Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Library for interacting with Open Tree of Life resources

Project Description

peyotl is a python package written to make it easier to interact with the software produced by the Open Tree of Life project. Specifically, to:

  1. interact with a local version of the phylesystem repository of
    curated phylogenetic studies ;
  2. call web services associated with the studies (served by web app
    running the phylesystem api code);
  3. call web services associated with taxonomic resolution services
    (running taxomachine );
  4. call web services associated with Open Tree of Life’s “synthetic” estimate
    of the tree of life (running treemachine);
  5. call web services associated with an annotation database (that
    we have not built yet)

Currently peyotl is used to implement most of the functionality in the phylesystem api backend of the study curation tool.


virtualenv pey
. pey/bin/activate
pip install -r requirements.txt
python develop
python test

performs the basic installation and test. For full(er) documentation, check out the wiki.


Thanks to NSF and HITS for funding support.

peyotl is primarily written by Mark Holder, Emily Jane McTavish, and Jim Allman, but see the CONTRIBUTORS file for a more complete list of people who have contributed code.

The fabulous Karl Gude created the logo.

Several parts of the, logging, documentation, and test suite were based on Jeet Sukumraran’s work in the DendroPy package.

The sortattr.xslt stylesheet (which is only used in round-trip testing) is from
The peyotl.phylesystem.git_actions (and the tests) were a part of the
repo which was primarily the work of Duke Leto (at that time).

Jim Allman, Karen Cranston, Cody Hinchliff, Mark Holder, Peter Midford, and Jonathon Rees all participated in the discussions that led to the NexSON mapping.

The peyotl/test/data/nexson/phenoscape/nexml test file is from Phenoscape file (download), NESCent [Feb 16, 2014] The citation for the data is in the nexml doc itself.

Etymology: According to Wikipedia, peyotl is the Nahuatl word for Lophophora williamsii.

Release History

This version
History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
(1.1 MB) Copy SHA256 Hash SHA256
Source None Nov 14, 2014

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Kabu Creative Kabu Creative UX & Design Google Google Cloud Servers Fastly Fastly CDN StatusPage StatusPage Statuspage DigiCert DigiCert EV Certificate