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

All Samples(105)  |  Call(22)  |  Derive(6)  |  Import(77)
Interact with a The Movie Database user account.

See: http://docs.themoviedb.apiary.io/#account

src/o/a/oauthssodemo-HEAD/index.py   oauthssodemo(Download)
import os
import urllib
from account import Account
 
def get_target_url():
 
        # not happy with this, but not sure what else is available       
        acct = Account(key_name=user_id, 
                       name=userinfo['name'] if 'name' in userinfo['name'] else None, 
                       user_info=json.dumps(userinfo), 

src/l/o/logpy-HEAD/examples/user-classes.py   logpy(Download)
from account import Account
from logpy import unifiable, run, var, eq, membero, variables
from logpy.core import lall
from logpy.arith import add, gt, sub
 
unifiable(Account)  # Register Account class
 
accounts = (Account('Adam', 'Smith', 1, 20),
            Account('Carl', 'Marx', 2, 3),
            Account('John', 'Rockefeller', 3, 1000))
 
# Describe a couple of transformations on accounts
source = Account(first, last, ident, balance)
target = Account(first, last, ident, newbalance)
 

src/c/s/csb43-0.3.2/csb43/csb43/csb_file.py   csb43(Download)
from __future__ import absolute_import
 
from .account import Account
from ..utils import (check_strict,
                     raiseCsb43Exception,
            self.__accounts.append(record)
        else:
            self.__accounts.append(Account(record,
                                           self.__strict,
                                           decimal=self.__decimal,

src/l/a/lastpass-python-HEAD/lastpass/parser.py   lastpass-python(Download)
 
from Crypto.Cipher import AES
from account import Account
 
 
        password = cls.decode_aes256_auto(cls.read_item(io), encryption_key)
 
        return Account(id, name, username, password, url, group)
 
    # Reads one chunk from a stream and creates a Chunk object with the data read.

src/o/m/omniture-0.3.1/omniture/__init__.py   omniture(Download)
# encoding: utf-8
 
from account import Account, Suite
from elements import Value, Element, Segment
from query import Query
        secret = source[key_to_secret]
 
    return Account(username, secret, endpoint)
 
 

src/p/y/python-omniture-HEAD/omniture/__init__.py   python-omniture(Download)
# encoding: utf-8
 
from account import Account, Suite
from elements import Value, Element, Segment
from query import Query
        secret = source[key_to_secret]
 
    return Account(username, secret, endpoint)
 
 

src/w/e/webexpy-2.2.6/webex/test/test_account.py   webexpy(Download)
import unittest
from .. import error as e
from .. import account
from ..account import Account
from .helper import TestHelper
    def test_invalid_account(self):
        with self.assertRaises(e.InvalidAccount): Account()
        with self.assertRaises(e.InvalidAccount): Account(username='test', password='test', site_name='234@234')
        with self.assertRaises(e.InvalidAccount): Account(username='test', password='test')
        with self.assertRaises(e.InvalidAccount): Account(username='test', site_name='test')

src/s/t/StockMarket-HEAD/server.py   StockMarket(Download)
import cPickle as pickle
import socket
from account import Account
from stock import Stock
 
def parseData(data):
  # parse client requests according to server_api
  global stocks
  if data == "create":
    account = Account(stocks.keys())

src/n/u/numericube-twistranet-2.0.0/twistranet/twistapp/models/__init__.py   numericube-twistranet(Download)
# Importing all models from submodules
 
# Low-level stuff
from twistable import Twistable
from account import Account, AnonymousAccount

src/n/u/numericube-twistranet-2.0.0/twistranet/twistapp/models/twistable.py   numericube-twistranet(Download)
        Just pass the request object.
        """
        from account import Account, AnonymousAccount, UserAccount
        u = getattr(request, 'user', None)
        if isinstance(u, User):
        If you want to use a system account, declare a '__account__' variable in your caller function.
        """
        from account import Account, AnonymousAccount, UserAccount
 
        # If we have the __account__ object, then it's quite obvious here...

  1 | 2 | 3 | 4 | 5 | 6 | 7  Next