Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)

src/l/e/leastauthority.com-HEAD/lae_automation/signup.py   leastauthority.com(Download)
 
from lae_automation.config import Config
from lae_automation.initialize import activate_user_account_desktop, verify_user_account, \
    create_user_bucket, deploy_EC2_instance, verify_and_store_serverssh_pubkey
from lae_automation.aws.queryapi import TimeoutError, wait_for_EC2_addresses
        def _wait_until_verified(how_long_secs):
            d3 = verify_user_account(useraccesskeyid, usersecretkey, usertoken, producttoken, stdout,
                                     stderr)
            def _maybe_again(res):
                if res:

src/l/e/leastauthority.com-HEAD/verify.py   leastauthority.com(Download)
from twisted.python.failure import Failure
 
from lae_automation.initialize import verify_user_account
 
 
        print x.value.response
 
d = verify_user_account(useraccesskeyid, usersecretkey, usertoken, producttoken, sys.stdout, sys.stderr)
d.addBoth(cb)
d.addCallbacks(lambda ign: os._exit(0), lambda ign: os._exit(1))