Did I find the right examples for you? yes no

All Samples(3)  |  Call(0)  |  Derive(0)  |  Import(3)
str(object='') -> string

Return a nice string representation of the object.
If the argument is a string, the return value is the same object.

src/d/o/doora-HEAD/q.py   doora(Download)
#-*-coding:utf-8-*-
 
from config import ACCESS_KEY, SECRET_KEY
 
import qiniu.conf
 
qiniu.conf.ACCESS_KEY = ACCESS_KEY
qiniu.conf.SECRET_KEY = SECRET_KEY

src/l/i/libstorages-0.0.2/cloudstore/qbox/digestoauth.py   libstorages(Download)
      data = ''.join([data,params])
 
    hashed = hmac.new(config.SECRET_KEY,data,sha1)
    return urlsafe_b64encode(hashed.digest())
 

src/l/i/libstorages-0.0.2/cloudstore/qbox/uptoken.py   libstorages(Download)
    def generate_encoded_digest(self, signature):
        hashed = hmac.new(config.SECRET_KEY, signature, sha1)
        return urlsafe_b64encode(hashed.digest())
 
    def generate_token(self):

src/h/a/Havaiana-2.4.1/havaiana/__init__.py   Havaiana(Download)
from flask.ext.paginate import Pagination
 
from config import ITEMS_PER_PAGE, SECRET_KEY
from helpers import get_ojota_children, get_data_codes, get_form
from renderers import render_field
 
        self.app.debug = True
        self.app.secret_key = SECRET_KEY
        self.app.run(host="0.0.0.0")
 

src/d/o/doodle-HEAD/doodle/doodle.py   doodle(Download)
json, url_for, render_template, redirect, flash, g
from extensions import db, db_check
from config import SECRET_KEY
import views
from  models import User, Weibo
 
    app = Flask(DEFAULT_APP_NAME)
    app.secret_key = SECRET_KEY
 
    configure_modules(app, modules) 

src/f/l/Flask-Skeleton-App-HEAD/flask_app.py   Flask-Skeleton-App(Download)
    app = Flask(__name__)
    app.config.from_object(config)
    app.secret_key = config.SECRET_KEY
 
    # db import

src/o/p/opencloud-HEAD/utils/__init__.py   opencloud(Download)
    except RuntimeError:
        import config
        salt = config.SECRET_KEY
    h = hashlib.sha256(salt)
    h.update(password)