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

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

src/r/e/related-work.net-HEAD/DataImport/tools/s3cmd/S3/S3.py   related-work.net(Download)
from Utils import *
from SortedDict import SortedDict
from AccessLog import AccessLog
from ACL import ACL, GranteeLogDelivery
from BidirMap import BidirMap
    def get_accesslog(self, uri):
        request = self.create_request("BUCKET_LIST", bucket = uri.bucket(), extra = "?logging")
        response = self.send_request(request)
        accesslog = AccessLog(response['data'])
        return accesslog
    def set_accesslog(self, uri, enable, log_target_prefix_uri = None, acl_public = False):
        request = self.create_request("BUCKET_CREATE", bucket = uri.bucket(), extra = "?logging")
        accesslog = AccessLog()
        if enable:
            accesslog.enableLogging(log_target_prefix_uri)

src/o/p/OpenCitationsCorpus-HEAD/ImportArxiv/tools/s3cmd/S3/S3.py   OpenCitationsCorpus(Download)
from Utils import *
from SortedDict import SortedDict
from AccessLog import AccessLog
from ACL import ACL, GranteeLogDelivery
from BidirMap import BidirMap
    def get_accesslog(self, uri):
        request = self.create_request("BUCKET_LIST", bucket = uri.bucket(), extra = "?logging")
        response = self.send_request(request)
        accesslog = AccessLog(response['data'])
        return accesslog
    def set_accesslog(self, uri, enable, log_target_prefix_uri = None, acl_public = False):
        request = self.create_request("BUCKET_CREATE", bucket = uri.bucket(), extra = "?logging")
        accesslog = AccessLog()
        if enable:
            accesslog.enableLogging(log_target_prefix_uri)

src/s/3/s3cmd-1.5.0-alpha3/S3/S3.py   s3cmd(Download)
from Utils import *
from SortedDict import SortedDict
from AccessLog import AccessLog
from ACL import ACL, GranteeLogDelivery
from BidirMap import BidirMap
    def get_accesslog(self, uri):
        request = self.create_request("BUCKET_LIST", bucket = uri.bucket(), extra = "?logging")
        response = self.send_request(request)
        accesslog = AccessLog(response['data'])
        return accesslog
    def set_accesslog(self, uri, enable, log_target_prefix_uri = None, acl_public = False):
        request = self.create_request("BUCKET_CREATE", bucket = uri.bucket(), extra = "?logging")
        accesslog = AccessLog()
        if enable:
            accesslog.enableLogging(log_target_prefix_uri)

src/s/3/s3cmd-HEAD/S3/S3.py   s3cmd(Download)
from Utils import *
from SortedDict import SortedDict
from AccessLog import AccessLog
from ACL import ACL, GranteeLogDelivery
from BidirMap import BidirMap
    def get_accesslog(self, uri):
        request = self.create_request("BUCKET_LIST", bucket = uri.bucket(), extra = "?logging")
        response = self.send_request(request)
        accesslog = AccessLog(response['data'])
        return accesslog
    def set_accesslog(self, uri, enable, log_target_prefix_uri = None, acl_public = False):
        request = self.create_request("BUCKET_CREATE", bucket = uri.bucket(), extra = "?logging")
        accesslog = AccessLog()
        if enable:
            accesslog.enableLogging(log_target_prefix_uri)

src/s/3/s3cmd-modification-HEAD/S3/S3.py   s3cmd-modification(Download)
from Exceptions import *
from ACL import ACL, GranteeLogDelivery
from AccessLog import AccessLog
from S3Uri import S3Uri
 
	def get_accesslog(self, uri):
		request = self.create_request("BUCKET_LIST", bucket = uri.bucket(), extra = "?logging")
		response = self.send_request(request)
		accesslog = AccessLog(response['data'])
		return accesslog
	def set_accesslog(self, uri, enable, log_target_prefix_uri = None, acl_public = False):
		request = self.create_request("BUCKET_CREATE", bucket = uri.bucket(), extra = "?logging")
		accesslog = AccessLog()
		if enable:
			accesslog.enableLogging(log_target_prefix_uri)