ETE2 (a Python Environment for phylogenetic Tree Exploration) has a method
== Calling home... Got answer!
How is everything in the Earth?
We miss you in Brodo Asogi.
I see you are in shape.
No updates are available.
== Do you want to leave any message?
(Press enter to finish)
from ete2 import Tree
t = Tree() # generate random Tree
t.phonehome() # communicate with Aliens!
The project logo is:
So you could call it an easter egg. But it also has a real purpose, as it is the projects version check method, named with a pinch of humor:
''' I use this module to check for newer versions of ETE '''
def call(): print " == Calling home...", try: f = url.urlopen('http://ete.cgenomics.org/et_phone_home.php?VERSION=%s&ID=%s' %(__VERSION__, __ETEID__))
if not latest: print "I could not find data about your version [%s]" %module_name print "Are you ok?" elif not current: print "I could not determine your version [%s]" %module_name print "Are you ok?" print "Latest stable ETE version is", latest elif latest > current: print "You look a bit old." print "A newer version is available: rev%s" %latest print "Use 'easy_install -U %s' to upgrade" %module_name else: print "I see you are in shape." print "No updates are available."