code
stringlengths
1
1.72M
language
stringclasses
1 value
'''Copyright 2011 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
Python
'''Copyright 2011 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
Python
'''Copyright 2011 Google Inc. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in ...
Python
import logging # Change default log level to debug in dev_appserver to match production logging.getLogger().setLevel(logging.DEBUG) # but leave the default for App Engine APIs logging.getLogger('google.appengine').setLevel(logging.INFO)
Python
#!/usr/bin/env python2.7 import json import logging import os import pprint as pp import sys import unittest import urllib2 try: from webtest import TestApp except: print """Please install webtest from http://webtest.pythonpaste.org/""" sys.exit(1) # Attempt to locate the App Engine SDK based on the system PAT...
Python
#!/usr/bin/env python # Copyright 2012 Google Inc. All Rights Reserved. """Bigquery Client library for Python.""" import abc import collections import datetime import hashlib import itertools import json import logging import os import pkgutil import random import re import string import sys import textwrap import ...
Python
#!/usr/bin/env python # Copyright 2011 Google Inc. All Rights Reserved. """Tests for bigquery_client.py.""" import itertools import json import tempfile from google.apputils import googletest import bigquery_client class BigqueryClientTest(googletest.TestCase): def setUp(self): self.client = bigquery_cli...
Python
#!/usr/bin/env python # # Copyright 2010 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- # # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
Python
#!/usr/bin/env python # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
Python
#!/usr/bin/env python # # Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required ...
Python
#!/usr/bin/env python """Bootstrap setuptools installation If you want to use setuptools in your package's setup.py, just include this file in the same directory with it, and add this to the top of your setup.py:: from ez_setup import use_setuptools use_setuptools() If you want to require a specific version ...
Python
#!/usr/bin/env python # # Copyright 2012 Google Inc. All Rights Reserved. """Python script for interacting with BigQuery.""" import cmd import codecs import datetime import httplib import json import os import pdb import pipes import platform import shlex import sys import time import traceback import types impor...
Python
#!/usr/bin/env python # # Copyright 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
Python
# Copyright 2012 Google Inc. All Rights Reserved. """Library to make BigQuery v2 client requests.""" __author__ = 'kbrisbin@google.com (Kathryn Hurley)' import cgi import errors import logging from apiclient.discovery import build from apiclient.errors import HttpError TIMEOUT_MS = 1000 BIGQUERY_API_VERSION = 'v2' ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. """BigQuery App Engine demo. Demos how to start a BigQuery job running, then poll the job to get the results when it's complete. """ __author__ = 'kbrisbin@google.com (Kathryn Hurley)' import bigqueryv2 import errors import httplib2 import os import simplejson from ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. """Any errors occurring during execution. - Error during query. - Error during poll. """ class Error(Exception): """Base exception.""" pass class QueryError(Error): """Exception raised for errors during query.""" pass class PollError(Error): """Excepti...
Python
#!/usr/bin/env python # # Copyright 2012 Google Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law o...
Python
import httplib2 from apiclient.discovery import build from oauth2client.appengine import oauth2decorator_from_clientsecrets class BigQueryClient(object): def __init__(self, http, decorator): """Creates the BigQuery client connection""" self.service = build('bigquery', 'v2', http=http) self....
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2010 Dimitrios Georgiou <dim.geo at gmail.com> # # This program can be distributed under the terms of the GPLv3. # import os, sys, shelve, StringIO, bsdiff, pickle, zlib from errno import * from stat import * import fuse from fuse import Fuse if no...
Python
#!/usr/bin/env python # -*- coding: utf-8 -*- # Copyright (C) 2010 Dimitrios Georgiou <dim.geo at gmail.com> # # This program can be distributed under the terms of the GPLv3. # import os, sys, shelve, StringIO, bsdiff, pickle, zlib from errno import * from stat import * import fuse from fuse import Fuse if no...
Python
Import('env') name = 'feca' inc = env.Dir('feca') deps = ['mili'] env.CreateHeaderOnlyLibrary(name, inc, deps)
Python
Import('env') name = 'feca' inc = env.Dir('.') src = env.Glob('*.cpp') deps = ['gmock','gtest_main', 'gtest'] env.CreateTest(name, inc, src, deps)
Python
#!/usr/bin/env python from django.core.management import execute_manager try: import settings # Assumed to be in the same directory. except ImportError: import sys sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to ...
Python
from django.db import models class Order( models.Model ): # Order information orderID = models.CharField( max_length=6, unique=True ) cpID = models.CharField( max_length=6 ) professor = models.CharField( max_length=64 ) # Order production status = models.CharField( max_length=16, blank=True ) ...
Python
""" This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". Replace these with more appropriate tests for your application. """ from django.test import TestCase class SimpleTest(TestCase): def test_basic_addition(self): """ ...
Python
from django.conf.urls.defaults import * from fedexweb.xanedu.views import * urlpatterns = patterns( '', ( r'^$', index ), ( r'^(?P<orderID>\d{6})/$', detail ), )
Python
from django.contrib import admin from fedexweb.xanedu.models import * class OrderAdmin( admin.ModelAdmin ): list_display = ( 'status', 'orderID', 'cpID', 'professor', 'producingCenter' ) class CenterAdmin( admin.ModelAdmin ): list_display = ( 'number', 'name', 'email' ) class AddressAdmin( admin.ModelAdmin ...
Python
from django.http import HttpResponse def index( request ): return HttpResponse( 'Welcome to xanedu index' ) def detail( request, orderID ): return HttpResponse( 'Welcome to xanedu %s' % orderID )
Python
from django.conf.urls.defaults import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', # Example: # (r'^fedexweb/', include('fedexweb.foo.urls')), # Uncomment the admin/doc line below and add 'django.contrib.admindocs' ...
Python
# Django settings for fedexweb project. import os DEBUG = True TEMPLATE_DEBUG = DEBUG ADMINS = ( # ('Your Name', 'your_email@domain.com'), ) MANAGERS = ADMINS DATABASE_ENGINE = 'sqlite3' # 'postgresql_psycopg2', 'postgresql', 'mysql', 'sqlite3' or 'oracle'. DATABASE_NAME = 'fedexweb.db' # ...
Python
from django.db import models from django import forms class Delivery( models.Model ): origin = models.ForeignKey( 'Address', related_name='origin', blank=True ) destination = models.ForeignKey( 'Address', related_name='destination', blank=True ) ready = models.DateTimeField() due = models.DateTimeFiel...
Python
""" This file demonstrates two different styles of tests (one doctest and one unittest). These will both pass when you run "manage.py test". Replace these with more appropriate tests for your application. """ from django.test import TestCase class SimpleTest(TestCase): def test_basic_addition(self): """ ...
Python
from django.conf.urls.defaults import * from fedexweb.pud.views import * urlpatterns = patterns( '', ( r'^$', index ), ( r'^(?P<id>\d+)/$', detail ), ( r'^(?P<id>\d+)/label/$', label ), )
Python
from django.contrib import admin from fedexweb.pud.models import * class CenterAdmin( admin.ModelAdmin ): list_display = ( 'number', 'name', 'email' ) class AddressAdmin( admin.ModelAdmin ): list_display = ( 'name', 'street', 'street2', 'city', 'state', 'zip' ) class DeliveryAdmin( admin.ModelAdmin ): l...
Python
from django.http import HttpResponseRedirect from django.shortcuts import render_to_response, get_object_or_404 from fedexweb.pud.models import * def index( request ): puds = Delivery.objects.all() return render_to_response( 'index.html', {'puds': puds} ) def detail( request, id ): if request.method == ...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # -*- encoding:UTF-8 -*- from scipy import * import bisect import time, os, subprocess from pylab import figure, show, rand from matplotlib.patches import Ellipse from matplotlib.pyplot import * #~ from guppy import hpy # for memory profiling #Algunas constantes epsilon = 1E-10 RUNNING_ID = (...
Python
#!/usr/bin/env python # encoding: utf-8 # # Copyright 2012 Greg Neagle. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required...
Python
#!/usr/bin/python # encoding: utf-8 # # Copyright 2011 Greg Neagle. # # Licensed under the Apache License, Version 2.0 (the 'License'); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ...
Python
env = Environment() Program( 'feedread', 'main.cpp', LIBS=['xml2', 'curl'], CPPPATH='/usr/include/libxml2', CPPFLAGS='-W -Wall -pedantic -ansi' )
Python
#!/usr/bin/python import os import os.path import sys import datetime import sendmail from config import * today = datetime.date.today() PROGDIR = os.path.dirname(sys.argv[0]) for name in FEEDS: feed = FEEDS[name] os.system("wget -q -T 5 -O %s/%s.xml \"%s\"" % (RUNDIR,name,feed)) os.system("xsltproc %s/rss.xsl %s/%...
Python
#!/usr/bin/python import sys import os import os.path import smtplib import mimetypes from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.MIMEAudio import MIMEAudio from email.MIMEImage import MIMEImage from email.Encoders import encode_base64...
Python
#!/usr/bin/python RUNDIR="/var/run/feed2kindle" FEEDS={ 'cnbeta':'http://www.cnbeta.com/backend.php', 'csdn':'http://articles.csdn.net/api/rss.php?tid=1008', 'sina':'http://rss.sina.com.cn/news/marquee/ddt.xml' } user = 'yourgmailaccount@gmail.com' passwd = 'yourgmailpassword' recipient = 'yourkindleaccount@free.ki...
Python
#!/usr/bin/python RUNDIR="/var/run/feed2kindle" FEEDS={ 'cnbeta':'http://www.cnbeta.com/backend.php', 'csdn':'http://articles.csdn.net/api/rss.php?tid=1008', 'sina':'http://rss.sina.com.cn/news/marquee/ddt.xml' } user = 'yourgmailaccount@gmail.com' passwd = 'yourgmailpassword' recipient = 'yourkindleaccount@free.ki...
Python
#!/usr/bin/python import os import os.path import sys import datetime import sendmail from config import * today = datetime.date.today() PROGDIR = os.path.dirname(sys.argv[0]) for name in FEEDS: feed = FEEDS[name] os.system("wget -q -T 5 -O %s/%s.xml \"%s\"" % (RUNDIR,name,feed)) os.system("xsltproc %s/rss.xsl %s/%...
Python
#!/usr/bin/python import sys import os import os.path import smtplib import mimetypes from email.MIMEMultipart import MIMEMultipart from email.MIMEBase import MIMEBase from email.MIMEText import MIMEText from email.MIMEAudio import MIMEAudio from email.MIMEImage import MIMEImage from email.Encoders import encode_base64...
Python
from twisted.python import log from twisted.internet import threads import os import struct import hashlib import json import socket import uuid import datetime BUFSIZ = 16384 OP_ERROR = 0 OP_INFO = 1 OP_AUTH = 2 OP_PUBLISH = 3 OP_SUBSCRIBE = 4 MAXBUF = 1024**2 SIZES = { OP_ERROR: 5+...
Python
# Copyright (c) 2009 Upi Tamminen <desaster@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this lis...
Python
# Copyright (c) 2009 Upi Tamminen <desaster@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this lis...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2009 Upi Tamminen <desaster@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, this lis...
Python
#!/usr/bin/env python # # Copyright (c) 2009 Upi Tamminen <desaster@gmail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyrig...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
# Copyright (c) 2013 Thomas Nicholson <tnnich@googlemail.com> # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # 1. Redistributions of source code must retain the above copyright # notice, t...
Python
from distutils.core import setup import os pathtofeapy = os.path.join(os.getcwd(),'src') setup(name='feapy', version='3.14159265', description='Finite Element Method Solver and Utilities', author='Jimmy Leta', author_email='jimmy.leta@gmail.com', url='http://code.google.com/p/feapy/', ...
Python
class SPConstraint: """ Each SP_Constraint object is associated with a single node object. The SPConstraint class only allows time-invariant contraints. Any constraint that varies with time must be implemented in subclasses of SPConstraint. """ def __init__(self, constraint_id, no...
Python
from numpy import array, linspace, append import feapy x = linspace(0.0, 0.25, 3) y = linspace(0.0, 1.5, 5) mydomain = feapy.domain.Domain() node_id = 1 for i in range(y.size): for j in range(x.size): mydomain.add_node(feapy.node.Node(node_id, 2, \ coordinates=array([...
Python
import sys from numpy import zeros, array class Node: def __init__(self, node_id, number_of_degrees_of_freedom, \ coordinates=zeros(2)): self.node_id = node_id self.coordinates = coordinates self.number_of_degrees_of_freedom = number_of_degrees_of_freedom self.co...
Python
from numpy import zeros class Element: def __init__(self): self.number_of_dof = 0 self.stiffness_matrix = None self.element_nodes = [] def print_debug_info(self): """ This is a virtual method that should be defined in all subclasses of Element. """ ...
Python
from numpy import zeros, matrix from element import element class BeamElement(Element): def __init__(self, element_id, youngs_modulus, moment_of_inertia, length): self.element_id = element_id self.youngs_modulus = youngs_modulus self.moment_of_inertia = moment_of_inertia self.lengt...
Python
import node import element import constraint import domain if __name__ == "__main__": print "feapy!"
Python
import sys class Domain: """ Contains dictionaries of elements and nodes which describe the problem domain. """ def __init__(self): self.current_time = 0.0 self.elements = {} self.nodes = {} self.sp_constraints = {} self.number_of_sp_constraints = 0 ...
Python
#!/usr/bin/python # pep8.py - Check Python source code formatting, according to PEP 8 # Copyright (C) 2006 Johann C. Rocholl <johann@rocholl.net> # # Permission is hereby granted, free of charge, to any person # obtaining a copy of this software and associated documentation files # (the "Software"), to deal in the Soft...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# coding: utf-8 # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
Python
# coding: utf-8 # Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2013 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python
# Copyright 2012 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
Python