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

All Samples(5)  |  Call(2)  |  Derive(0)  |  Import(3)

src/h/i/hiicart-HEAD/hiicart/models.py   hiicart(Download)
    def _get_gateway(self, name):
        # importing now prevents circular import issues.
        from hiicart.gateway.amazon.gateway import AmazonGateway
        from hiicart.gateway.comp.gateway import CompGateway
        from hiicart.gateway.google.gateway import GoogleGateway
            return CompGateway(self)
        elif name == "google":
            return GoogleGateway(self)
        elif name == "paypal":
            return PaypalGateway(self)

src/h/i/hiicart-HEAD/hiicart/gateway/google/views.py   hiicart(Download)
from django.views.decorators.csrf import csrf_view_exempt
from hiicart.gateway.base import GatewayError
from hiicart.gateway.google.gateway import GoogleGateway
from hiicart.gateway.google.ipn import GoogleIPN
from hiicart.utils import format_exceptions, call_func, cart_by_uuid
    cart = _find_cart(data)
    if cart:
        gateway = GoogleGateway(cart)
        # Check credentials
        if gateway.settings.get("IPN_AUTH_VALS", False):

src/h/i/hiicart-HEAD/hiicart/__init__.py   hiicart(Download)
    from hiicart.gateway.base import GatewayError
    from hiicart.gateway.amazon.gateway import AmazonGateway
    from hiicart.gateway.google.gateway import GoogleGateway
    from hiicart.gateway.paypal.gateway import PaypalGateway
    from hiicart.gateway.paypal2.gateway import Paypal2Gateway