Module Expr Str Import alias Import alias ImportFrom alias alias alias alias Import alias Import alias ImportFrom alias Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr If CompareNotEq NameLoad Str body Import alias Assign NameStore Str Assign NameStore NameLoad Assign NameStore Str Assign NameStore Str Assign NameStore BinOpAdd NameLoad Str Assign NameStore IfExp NameLoad NameLoad BinOpAdd BinOpAdd NameLoad NameLoad Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore TupleLoad NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str body If UnaryOpNot Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad body TryExcept body Expr Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd CompareNotEq NameLoad Str Call AttributeLoad NameLoad attr Str body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Print Str Raise Assign NameStore ListLoad Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore ListLoad Str Str Str Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Str Assign NameStore SubscriptLoad NameLoad Index Num Assign NameStore BoolOpOr CompareEq Call NameLoad AttributeLoad NameLoad attr Num BoolOpAnd CompareGt Call NameLoad AttributeLoad NameLoad attr Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Str If BoolOpAnd CompareEq NameLoad Str NameLoad body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str orelse Assign NameStore Str FunctionDef arguments args NameParam defaults NameLoad body Expr Str Assign NameStore ListLoad For NameStore ListComp NameLoad comprehension NameStore NameLoad Call NameLoad NameLoad body Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareEq SubscriptLoad NameLoad Slice Num Str CompareNotEq SubscriptLoad NameLoad Index Num Str BoolOpOr UnaryOpNot Call NameLoad Call NameLoad NameLoad BinOpAdd SubscriptLoad NameLoad Slice Num Str BoolOpAnd Call NameLoad Call NameLoad NameLoad BinOpAdd SubscriptLoad NameLoad Slice Num Str CompareLt Call NameLoad Call NameLoad NameLoad BinOpAdd SubscriptLoad NameLoad Slice Num Str Call NameLoad Call NameLoad NameLoad NameLoad NameLoad For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Expr Call NameLoad Call NameLoad NameLoad NameLoad Assign NameStore ListComp NameLoad comprehension NameStore Call AttributeLoad NameLoad attr NameLoad BoolOpAnd CompareEq SubscriptLoad NameLoad Slice Num Str CompareNotEq SubscriptLoad NameLoad Index Num Str CompareIn Str Call AttributeLoad Call AttributeLoad Call NameLoad Call NameLoad NameLoad NameLoad Str attr attr For NameStore NameLoad body Assign NameStore Call AttributeLoad Str attr SubscriptLoad Call AttributeLoad NameLoad attr Str Slice Num Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad ListLoad NameLoad TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad If CompareNotIn NameLoad NameLoad body Expr AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str TupleLoad NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults NameLoad body Return ListComp AttributeLoad NameLoad attr comprehension NameStore Call NameLoad NameLoad decorator_list FunctionDef arguments args defaults body ImportFrom alias Return NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore ListLoad Str Str Str Str Str Str For NameStore NameLoad body If Call AttributeLoad NameLoad attr NameLoad body If CompareNotEq Call NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Num body For NameStore NameLoad body Assign SubscriptStore AttributeLoad NameLoad attr Index NameLoad SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Break decorator_list Expr Call NameLoad Assign NameStore Str
N/A N/A EcoData Retriever

This package contains a framework for creating and running scripts designed to
download published ecological data, and store the data in a database.

 N/A os N/A sys os.path join isfile getmtime exists N/A imp N/A platform lib.compile compile_script N/A current_platform N/A N/A N/A N/A platform system lower N/A N/A current_platform windows N/A N/A pwd N/A VERSION v1.9.0-dev N/A MASTER True N/A COPYRIGHT Copyright (C) 2011-2016 Weecology University of Florida N/A REPO_URL https://raw.github.com/weecology/retriever/ N/A MASTER_BRANCH N/A REPO_URL master/ N/A REPOSITORY N/A MASTER MASTER_BRANCH N/A N/A REPO_URL VERSION / N/A HOME_DIR N/A N/A N/A os path expanduser ~/.retriever/ N/A dir N/A HOME_DIR N/A N/A N/A os path join HOME_DIR raw_data N/A N/A N/A os path join HOME_DIR scripts N/A N/A N/A N/A N/A N/A os path exists dir N/A N/A N/A N/A N/A N/A os makedirs dir N/A N/A N/A current_platform windows N/A N/A os getenv SUDO_USER N/A N/A pw N/A N/A pwd getpwnam N/A N/A os getenv SUDO_USER N/A N/A N/A os chown dir N/A pw pw_uid N/A pw pw_gid N/A N/A N/A OSError N/A N/A The Retriever lacks permission to access the ~/.retriever/ directory. N/A N/A SCRIPT_SEARCH_PATHS N/A ./ scripts N/A N/A N/A os path join HOME_DIR scripts/ N/A SCRIPT_WRITE_PATH N/A SCRIPT_SEARCH_PATHS N/A -1 N/A DATA_SEARCH_PATHS N/A ./ {dataset} raw_data/{dataset} N/A N/A N/A os path join HOME_DIR raw_data/{dataset} N/A DATA_WRITE_PATH N/A DATA_SEARCH_PATHS N/A -1 N/A isgui N/A N/A N/A len N/A sys argv 1 N/A N/A N/A len N/A sys argv 1 N/A N/A N/A sys argv N/A 1 gui N/A N/A N/A current_platform windows isgui N/A N/A DATA_DIR N/A N/A N/A os path join N/A N/A N/A os path expanduser ~ Desktop N/A N/A DATA_DIR . MODULE_LIST N/A N/A force_compile N/A False N/A N/A Load scripts from scripts directory and return list of modules. N/A modules N/A N/A search_path N/A search_path N/A search_path SCRIPT_SEARCH_PATHS N/A exists search_path N/A N/A to_compile N/A file N/A file N/A N/A os listdir search_path N/A N/A N/A file N/A -7 .script N/A N/A file N/A 0 _ N/A N/A N/A isfile N/A join search_path N/A N/A file N/A -7 .py N/A N/A isfile N/A join search_path N/A N/A file N/A -7 .py N/A N/A getmtime N/A join search_path N/A N/A file N/A -7 .py N/A getmtime N/A join search_path file force_compile N/A script to_compile N/A N/A script_name N/A N/A . join N/A N/A N/A script split . N/A -1 N/A N/A compile_script N/A join search_path script_name N/A files N/A file N/A file N/A N/A os listdir search_path N/A N/A N/A file N/A -3 .py N/A N/A file N/A 0 _ N/A #retriever N/A N/A N/A N/A N/A open N/A join search_path file r readline lower N/A script files N/A N/A script_name N/A N/A . join N/A N/A N/A script split . N/A -1 N/A N/A file pathname desc N/A N/A imp find_module script_name N/A search_path N/A N/A N/A new_module N/A N/A imp load_module script_name file pathname desc N/A N/A new_module modules N/A N/A N/A N/A new_module SCRIPT download N/A N/A N/A modules append new_module N/A N/A N/A N/A N/A N/A N/A sys stderr write N/A Failed to load script: %s (%s) N/A script_name search_path N/A modules N/A SCRIPT_LIST N/A N/A force_compile N/A False N/A N/A N/A N/A module SCRIPT N/A module N/A MODULE_LIST force_compile N/A ENGINE_LIST N/A N/A N/A N/A retriever.engines engine_list N/A engine_list N/A set_proxy N/A N/A N/A N/A N/A Check for proxies and makes them available to urllib N/A proxies N/A https_proxy http_proxy ftp_proxy HTTP_PROXY HTTPS_PROXY FTP_PROXY N/A proxy proxies N/A N/A N/A N/A os getenv proxy N/A N/A N/A N/A len N/A N/A os environ N/A proxy 0 N/A N/A i proxies N/A N/A N/A N/A os environ N/A i N/A N/A os environ N/A proxy N/A N/A N/A N/A set_proxy N/A sample_script # basic information about the script
name: Mammal Life History Database - Ernest, et al., 2003
shortname: MammalLH
description: S. K. Morgan Ernest. 2003. Life history characteristics of placental non-volant mammals. Ecology 84:3402.
tags: Taxon > Mammals, Data Type > Compilation
url: http://esapubs.org/archive/ecol/E084/093/default.htm

# tables
table: species, http://esapubs.org/archive/ecol/E084/093/Mammal_lifehistories_v2.txt