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

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

src/r/e/RestAuth-0.6.4/RestAuth/bin/restauth-import.py   RestAuth(Download)
            pwd = data['password']
            if isinstance(pwd, six.string_types):
                user_backend.set_password(username=username, password=pwd)
                print('* %s: Set password from input data.' % username)
            elif isinstance(pwd, dict):
        elif created and args.gen_passwords:
            raw_passwd = Service.objects.make_random_password(length=16)
            user_backend.set_password(username=username, password=raw_passwd)
            print('* %s: Generated password: %s' % (username, raw_passwd))
 

src/r/e/RestAuth-0.6.4/RestAuth/Users/views.py   RestAuth(Download)
                raise PasswordInvalid("Password too short")
 
        user_backend.set_password(username=name, password=password)
        return HttpResponseNoContent()
 

src/r/e/RestAuth-0.6.4/RestAuth/bin/restauth-user.py   RestAuth(Download)
            print(args.pwd)
 
        user_backend.set_password(args.user.username, password)
    elif args.action in ['ls', 'list']:
        for username in sorted(user_backend.list()):
            print(args.pwd)
 
        user_backend.set_password(args.user.username, args.pwd)
    elif args.action == 'view':
        props = property_backend.list(args.user)