Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Created November 19, 2010 05:06
Show Gist options
  • Save andrewxhill/706141 to your computer and use it in GitHub Desktop.
Save andrewxhill/706141 to your computer and use it in GitHub Desktop.
First implementation of a taxonomy model for the Map of Life project
class Species(db.Model):
authority = db.TextProperty()
classification = db.TextProperty()
names = db.TextProperty()
class SpeciesIndex(db.Model):
names = db.StringListProperty()
authorityName = db.StringProperty()
kingdom = db.StringProperty()
phylum = db.StringProperty()
class_ = db.StringProperty()
order_ = db.StringProperty()
superFamily = db.StringProperty()
family = db.StringProperty()
genus = db.StringProperty()
species = db.StringProperty()
infraSpecies = db.StringProperty()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment