code
stringlengths
1
1.49M
vector
listlengths
0
7.38k
snippet
listlengths
0
7.38k
# 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 ...
[ [ 8, 0, 0.082, 0.0055, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0984, 0.0164, 0, 0.66, 0.0769, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.1148, 0.0055, 0, 0.66, ...
[ "\"\"\"Functional tests for models/review.py.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n]", "from models import entities", "from models import models", "from models import student_work", "from models import transforms", "from tests.functional import actions", "from google.appengin...
# 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 ...
[ [ 8, 0, 0.011, 0.0007, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0133, 0.0022, 0, 0.66, 0.1, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.0155, 0.0007, 0, 0.66, ...
[ "\"\"\"Functional tests for modules/review/review.py.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n]", "import types", "from models import models", "from models import student_work", "from modules.review import domain", "from modules.review import peer", "from modules.review import r...
# 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 ...
[ [ 8, 0, 0.0607, 0.004, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0688, 0.004, 0, 0.66, 0.0625, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0769, 0.004, 0, 0.66, ...
[ "\"\"\"Functional tests for modules/course_explorer/course_explorer.py.\"\"\"", "__author__ = 'rahulsingal@google.com (Rahul Singal)'", "from controllers import sites", "from models import config", "from models import models", "from models import transforms", "from models.models import PersonalProfile",...
# 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 ...
[ [ 8, 0, 0.1829, 0.0122, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2195, 0.0366, 0, 0.66, 0.125, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.2561, 0.0122, 0, 0.66, ...
[ "\"\"\"Functional tests for models.models.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n]", "from models import entities", "from tests.functional import actions", "from google.appengine.ext import db", "class FirstChild(entities.BaseEntity):\n first_kept = db.Property()\n first_rem...
# 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 ...
[ [ 8, 0, 0.0746, 0.005, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0896, 0.0149, 0, 0.66, 0.1111, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.1045, 0.005, 0, 0.66, ...
[ "\"\"\"Functional tests for modules/review/peer.py.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n]", "from models import models", "from models import student_work", "from modules.review import domain", "from modules.review import peer", "from tests.functional import actions", "from g...
# 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 ...
[ [ 8, 0, 0.0143, 0.001, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0162, 0.001, 0, 0.66, 0.0833, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0181, 0.001, 0, 0.66, ...
[ "\"\"\"Student progress trackers.\"\"\"", "__author__ = 'Sean Lip (sll@google.com)'", "import datetime", "import logging", "import os", "from tools import verify", "import courses", "from models import QuestionDAO", "from models import QuestionGroupDAO", "from models import StudentPropertyEntity",...
# 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 ...
[ [ 8, 0, 0.0183, 0.0012, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0207, 0.0012, 0, 0.66, 0.0238, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0231, 0.0012, 0, 0.66,...
[ "\"\"\"Core data model classes.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "import logging", "import appengine_config", "from config import ConfigProperty", "import counters", "from counters import PerfCounter", "from entities import BaseEntity", "import transforms", "from googl...
# 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 ...
[ [ 8, 0, 0.0877, 0.0058, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1082, 0.0234, 0, 0.66, 0.1, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.1287, 0.0058, 0, 0.66, ...
[ "\"\"\"Helper functions to work with various models.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n 'sll@google.com (Sean Lip)',\n]", "import logging", "import transforms", "_LOG = logging.getLogger('models.utils')", "logging.basicConfig()", "class Error(Exception):\n \"\"\"Base e...
# 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 ...
[ [ 8, 0, 0.0661, 0.0044, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0793, 0.0132, 0, 0.66, 0.1111, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.0925, 0.0044, 0, 0.66,...
[ "\"\"\"Review processor that is used for managing human-reviewed assessments.\"\"\"", "__author__ = [\n 'sll@google.com (Sean Lip)',\n]", "from modules.review import domain", "import entities", "import student_work", "import transforms", "PEER_MATCHER = 'peer'", "ALLOWED_MATCHERS = [PEER_MATCHER]",...
# 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 ...
[ [ 8, 0, 0.2113, 0.0141, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2394, 0.0141, 0, 0.66, 0.25, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.2676, 0.0141, 0, 0.66, ...
[ "\"\"\"Properties and its collections.\"\"\"", "__author__ = 'Abhinav Khandelwal (abhinavk@google.com)'", "import collections", "class Property(object):\n \"\"\"Property.\"\"\"\n\n def __init__(\n self, name, label, property_type, select_data=None, description=None,\n optional=False, extra...
# 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 ...
[ [ 8, 0, 0.029, 0.0019, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0328, 0.0019, 0, 0.66, 0.0455, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0367, 0.0019, 0, 0.66, ...
[ "\"\"\"Virtual file system for managing files locally or in the cloud.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "import datetime", "import os", "from common import jinja_utils", "import jinja2", "from entities import BaseEntity", "from models import MemcacheManager", "from googl...
# 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 ...
[ [ 8, 0, 0.0072, 0.0005, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0082, 0.0005, 0, 0.66, 0.0145, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0091, 0.0005, 0, 0.66,...
[ "\"\"\"Common classes and methods for managing Courses.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "import copy", "from datetime import datetime", "import logging", "import os", "import pickle", "import sys", "import appengine_config", "from common.schema_fields import FieldRegi...
# 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 ...
[ [ 8, 0, 0.1705, 0.0114, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1932, 0.0114, 0, 0.66, 0.3333, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.5114, 0.5795, 0, 0.66,...
[ "\"\"\"Classes supporting dynamically registering custom modules.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "class Module(object):\n \"\"\"A class that holds module information.\"\"\"\n\n def __init__(\n self, name, desc, global_routes, namespaced_routes,\n notify_module_...
# 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 ...
[ [ 8, 0, 0.3191, 0.0213, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.3617, 0.0213, 0, 0.66, 0.25, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.4255, 0.0213, 0, 0.66, ...
[ "\"\"\"Utility for Sending notifications.\"\"\"", "__author__ = 'Abhinav Khandelwal (abhinavk@google.com)'", "from google.appengine.api import mail", "from google.appengine.api import users", "class EmailManager(object):\n \"\"\"Notification Manager. Sends emails out.\"\"\"\n\n def __init__(self, cour...
# 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 ...
[ [ 8, 0, 0.031, 0.0021, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0351, 0.0021, 0, 0.66, 0.0333, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0393, 0.0021, 0, 0.66, ...
[ "\"\"\"Set of converters between db models, Python and JSON dictionaries, etc.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "import base64", "import datetime", "import json", "from xml.etree import ElementTree", "import yaml", "import entities", "from google.appengine.api import dat...
# 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 ...
[ [ 8, 0, 0.2055, 0.0137, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2329, 0.0137, 0, 0.66, 0.1429, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.274, 0.0137, 0, 0.66, ...
[ "\"\"\"Manages mapping of users to roles and roles to privileges.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "import config", "from google.appengine.api import users", "GCB_ADMIN_LIST = config.ConfigProperty(\n 'gcb_admin_user_emails', str, (\n 'A list of email addresses for sup...
# 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 ...
[ [ 8, 0, 0.0212, 0.0014, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.024, 0.0014, 0, 0.66, 0.0263, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0283, 0.0014, 0, 0.66, ...
[ "\"\"\"Common classes and methods for processing text content.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "from pyparsing import alphas", "from pyparsing import Combine", "from pyparsing import Each", "from pyparsing import Group", "from pyparsing import Literal", "from pyparsing im...
# 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 ...
[ [ 8, 0, 0.0543, 0.0036, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.067, 0.0145, 0, 0.66, 0.1, 777, 0, 0, 0, 0, 0, 5, 0 ], [ 1, 0, 0.0797, 0.0036, 0, 0.66, ...
[ "\"\"\"Models and helper utilities for the review workflow.\"\"\"", "__author__ = [\n 'johncox@google.com (John Cox)',\n 'sll@google.com (Sean Lip)',\n]", "import entities", "import models", "import transforms", "from google.appengine.ext import db", "class KeyProperty(db.StringProperty):\n \"\...
# 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 ...
[ [ 8, 0, 0.0794, 0.0053, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0899, 0.0053, 0, 0.66, 0.0714, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1005, 0.0053, 0, 0.66,...
[ "\"\"\"Common classes and methods for managing persistent entities.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "from counters import PerfCounter", "from google.appengine.ext import db", "DB_QUERY = PerfCounter(\n 'gcb-models-db-query',\n 'A number of times a query()/all() was execut...
# 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 ...
[ [ 8, 0, 0.2239, 0.0149, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2537, 0.0149, 0, 0.66, 0.2, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 2, 0, 0.3134, 0.0448, 0, 0.66, ...
[ "\"\"\"Manages performance counters of an application and/or its modules.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "def incr_counter_global_value(unused_name, unused_delta):\n \"\"\"Hook method for global aggregation.\"\"\"\n pass", " \"\"\"Hook method for global aggregation.\"\"...
# 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 ...
[ [ 8, 0, 0.0909, 0.0061, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.103, 0.0061, 0, 0.66, 0.0588, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1152, 0.0061, 0, 0.66, ...
[ "\"\"\"Common classes and methods for managing long running jobs.\"\"\"", "__author__ = 'Pavel Simakov (psimakov@google.com)'", "from datetime import datetime", "import logging", "import time", "import traceback", "import entities", "import transforms", "from google.appengine import runtime", "fro...
# 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 ...
[ [ 8, 0, 0.0607, 0.0262, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0787, 0.0033, 0, 0.66, 0.0435, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0852, 0.0033, 0, 0.66,...
[ "\"\"\"Manages dynamic properties of an application and/or its modules.\n\nAn application must explicitly declare properties and provide a type, doc string\nand default value for each. The default property values are overridden by\nthe new values found in the environment variable with the same name. Those are\nfurt...
# 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 ...
[ [ 8, 0, 0.1339, 0.0089, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1518, 0.0089, 0, 0.66, 0.0625, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1696, 0.0089, 0, 0.66,...
[ "\"\"\"Custom configurations and functions for Google App Engine.\"\"\"", "__author__ = 'psimakov@google.com (Pavel Simakov)'", "import logging", "import os", "import sys", "PRODUCTION_MODE = not os.environ.get(\n 'SERVER_SOFTWARE', 'Development').startswith('Development')", "BUNDLE_LIB_FILES = True"...
# 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 ...
[ [ 8, 0, 0.0216, 0.0014, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0245, 0.0014, 0, 0.66, 0.0222, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0274, 0.0014, 0, 0.66,...
[ "\"\"\"Handlers that are not directly related to course content.\"\"\"", "__author__ = 'Saifu Angto (saifu@google.com)'", "import base64", "import hmac", "import os", "import time", "import urlparse", "import appengine_config", "from common import jinja_utils", "from models import models", "from...
# 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 ...
[ [ 8, 0, 0.0161, 0.0011, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0183, 0.0011, 0, 0.66, 0.025, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0204, 0.0011, 0, 0.66, ...
[ "\"\"\"Handlers for generating various frontend pages.\"\"\"", "__author__ = 'Saifu Angto (saifu@google.com)'", "import datetime", "import urllib", "import urlparse", "from models import courses", "from models import models", "from models import student_work", "from models import transforms", "fro...
# 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 ...
[ [ 8, 0, 0.0691, 0.0046, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0783, 0.0046, 0, 0.66, 0.0588, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0876, 0.0046, 0, 0.66,...
[ "\"\"\"Classes and methods to manage all aspects of student assessments.\"\"\"", "__author__ = 'pgbovine@google.com (Philip Guo)'", "import datetime", "import logging", "from models import courses", "from models import models", "from models import review", "from models import student_work", "from mo...
# 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 ...
[ [ 8, 0, 0.1456, 0.0097, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.165, 0.0097, 0, 0.66, 0.0714, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1845, 0.0097, 0, 0.66, ...
[ "\"\"\"Custom Jinja2 filters used in Course Builder.\"\"\"", "__author__ = 'John Orr (jorr@google.com)'", "import jinja2", "from models import config", "from models import models", "from webapp2_extras import i18n", "import safe_dom", "import tags", "CAN_USE_JINJA2_TEMPLATE_CACHE = config.ConfigProp...
# 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 ...
[ [ 8, 0, 0.0725, 0.0048, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0821, 0.0048, 0, 0.66, 0.125, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0918, 0.0048, 0, 0.66, ...
[ "\"\"\"Mapping from schema to backend properties.\"\"\"", "__author__ = 'Abhinav Khandelwal (abhinavk@google.com)'", "import collections", "import json", "from models.property import Property", "from models.property import Registry", "class SchemaField(Property):\n \"\"\"SchemaField defines a simple ...
"""Classes to build sanitized HTML.""" __author__ = 'John Orr (jorr@google.com)' import cgi import re def escape(strg): return cgi.escape(strg, quote=1).replace("'", ''').replace('`', '`') class Node(object): """Base class for the sanitizing module.""" @property def sanitized(self): ...
[ [ 8, 0, 0.0055, 0.0055, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0166, 0.0055, 0, 0.66, 0.1, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0276, 0.0055, 0, 0.66, ...
[ "\"\"\"Classes to build sanitized HTML.\"\"\"", "__author__ = 'John Orr (jorr@google.com)'", "import cgi", "import re", "def escape(strg):\n return cgi.escape(strg, quote=1).replace(\"'\", ''').replace('`', '`')", " return cgi.escape(strg, quote=1).replace(\"'\", ''').replace('`', '`...
# 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 ...
[ [ 8, 0, 0.0362, 0.0024, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0411, 0.0024, 0, 0.66, 0.0385, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0483, 0.0024, 0, 0.66,...
[ "\"\"\"Handlers for custom HTML tags.\"\"\"", "__author__ = 'John Orr (jorr@google.com)'", "import inspect", "import logging", "import mimetypes", "import os", "import pkgutil", "from xml.etree import cElementTree", "import appengine_config", "from common import schema_fields", "from extensions ...
#!/usr/bin/python # Copyright 2011 Google, Inc. All Rights Reserved. # simple script to walk source tree looking for third-party licenses # dumps resulting html page to stdout import os, re, mimetypes, sys # read source directories to scan from command line SOURCE = sys.argv[1:] # regex to find /* */ style commen...
[ [ 1, 0, 0.0816, 0.0102, 0, 0.66, 0, 688, 0, 4, 0, 0, 688, 0, 0 ], [ 14, 0, 0.1224, 0.0102, 0, 0.66, 0.0714, 792, 6, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1531, 0.0102, 0, ...
[ "import os, re, mimetypes, sys", "SOURCE = sys.argv[1:]", "COMMENT_BLOCK = re.compile(r\"(/\\*.+?\\*/)\", re.MULTILINE | re.DOTALL)", "COMMENT_LICENSE = re.compile(r\"(license)\", re.IGNORECASE)", "COMMENT_COPYRIGHT = re.compile(r\"(copyright)\", re.IGNORECASE)", "EXCLUDE_TYPES = [\n \"application/xml\...
#!/usr/bin/python # # Copyright (C) 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 ...
[ [ 14, 0, 0.0281, 0.0017, 0, 0.66, 0, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0347, 0.0017, 0, 0.66, 0.0303, 509, 0, 1, 0, 0, 509, 0, 0 ], [ 8, 0, 0.0364, 0.0017, 0, 0...
[ "__author__ = 'afshar@google.com (Ali Afshar)'", "import sys", "sys.path.insert(0, 'lib')", "import os", "import httplib2", "import sessions", "from google.appengine.ext import webapp", "from google.appengine.ext.webapp.util import run_wsgi_app", "from google.appengine.ext import db", "from google...
#!/usr/bin/python # # Copyright (C) 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 ...
[ [ 14, 0, 0.0557, 0.0033, 0, 0.66, 0, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0689, 0.0033, 0, 0.66, 0.0333, 688, 0, 1, 0, 0, 688, 0, 0 ], [ 1, 0, 0.0721, 0.0033, 0, 0...
[ "__author__ = 'afshar@google.com (Ali Afshar)'", "import os", "import httplib2", "import sessions", "from google.appengine.ext import db", "from google.appengine.ext.webapp import template", "from apiclient.discovery import build_from_document", "from apiclient.http import MediaUpload", "from oauth2...
# This is the version of this source code. manual_verstr = "1.5" auto_build_num = "211" verstr = manual_verstr + "." + auto_build_num try: from pyutil.version_class import Version as pyutil_Version __version__ = pyutil_Version(verstr) except (ImportError, ValueError): # Maybe there is no pyutil insta...
[ [ 14, 0, 0.1667, 0.0556, 0, 0.66, 0, 189, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.3889, 0.0556, 0, 0.66, 0.3333, 295, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.6111, 0.0556, 0, 0...
[ "manual_verstr = \"1.5\"", "auto_build_num = \"211\"", "verstr = manual_verstr + \".\" + auto_build_num", "try:\n from pyutil.version_class import Version as pyutil_Version\n __version__ = pyutil_Version(verstr)\nexcept (ImportError, ValueError):\n # Maybe there is no pyutil installed.\n from dist...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel 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 Software without restriction, including without limitation the ...
[ [ 8, 0, 0.3, 0.575, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.625, 0.025, 0, 0.66, 0.3333, 311, 0, 1, 0, 0, 311, 0, 0 ], [ 1, 0, 0.65, 0.025, 0, 0.66, 0.6...
[ "\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including withou...
""" The MIT License Copyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel 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 Software without restriction, including without limitation the ...
[ [ 8, 0, 0.2927, 0.561, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.6098, 0.0244, 0, 0.66, 0.25, 311, 0, 1, 0, 0, 311, 0, 0 ], [ 1, 0, 0.6341, 0.0244, 0, 0.66, ...
[ "\"\"\"\nThe MIT License\n\nCopyright (c) 2007-2010 Leah Culver, Joe Stump, Mark Paschal, Vic Fryzel\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including withou...
# Copyright 2011 Google Inc. All Rights Reserved. """Multi-credential file store with lock support. This module implements a JSON credential store where multiple credentials can be stored in one file. That file supports locking both in a single process and across processes. The credential themselves are keyed off o...
[ [ 8, 0, 0.0437, 0.0741, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0847, 0.0026, 0, 0.66, 0.0588, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0899, 0.0026, 0, 0.66,...
[ "\"\"\"Multi-credential file store with lock support.\n\nThis module implements a JSON credential store where multiple\ncredentials can be stored in one file. That file supports locking\nboth in a single process and across processes.\n\nThe credential themselves are keyed off of:\n* client_id", "__author__ = 'jb...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.0145, 0.0035, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0176, 0.0009, 0, 0.66, 0.0244, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0193, 0.0009, 0, 0.66,...
[ "\"\"\"An OAuth 2.0 client.\n\nTools for interacting with OAuth 2.0 protected resources.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import base64", "import clientsecrets", "import copy", "import datetime", "import httplib2", "import logging", "import os", "import sys", "im...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.1604, 0.0472, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1981, 0.0094, 0, 0.66, 0.125, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.217, 0.0094, 0, 0.66, ...
[ "\"\"\"Utilities for OAuth.\n\nUtilities for making it easier to work with OAuth 2.0\ncredentials.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import os", "import stat", "import threading", "from anyjson import simplejson", "from client import Storage as BaseStorage", "from clien...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.1371, 0.0403, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1694, 0.0081, 0, 0.66, 0.1111, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1855, 0.0081, 0, 0.66,...
[ "\"\"\"OAuth 2.0 utilities for Django.\n\nUtilities for using OAuth 2.0 in conjunction with\nthe Django datastore.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import oauth2client", "import base64", "import pickle", "from django.db import models", "from oauth2client.client import St...
#!/usr/bin/python2.4 # -*- coding: utf-8 -*- # # Copyright (C) 2011 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 ...
[ [ 1, 0, 0.0738, 0.0041, 0, 0.66, 0, 177, 0, 1, 0, 0, 177, 0, 0 ], [ 1, 0, 0.0779, 0.0041, 0, 0.66, 0.0625, 154, 0, 1, 0, 0, 154, 0, 0 ], [ 1, 0, 0.082, 0.0041, 0, 0...
[ "import base64", "import hashlib", "import logging", "import time", "from OpenSSL import crypto", "from anyjson import simplejson", "CLOCK_SKEW_SECS = 300 # 5 minutes in seconds", "AUTH_TOKEN_LIFETIME_SECS = 300 # 5 minutes in seconds", "MAX_TOKEN_LIFETIME_SECS = 86400 # 1 day in seconds", "cla...
# Copyright (C) 2011 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 agreed to in writ...
[ [ 8, 0, 0.1619, 0.0476, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2, 0.0095, 0, 0.66, 0.0909, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.2286, 0.0095, 0, 0.66, ...
[ "\"\"\"Utilities for reading OAuth 2.0 client secret files.\n\nA client_secrets.json file contains all the information needed to interact with\nan OAuth 2.0 protected service.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "from anyjson import simplejson", "TYPE_WEB = 'web'", "TYPE_INSTALL...
__version__ = "1.0c2"
[ [ 14, 0, 1, 1, 0, 0.66, 0, 162, 1, 0, 0, 0, 0, 3, 0 ] ]
[ "__version__ = \"1.0c2\"" ]
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.5312, 0.1562, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.6562, 0.0312, 0, 0.66, 0.5, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 7, 0, 0.875, 0.2812, 0, 0.66, ...
[ "\"\"\"Utility module to import a JSON module\n\nHides all the messy details of exactly where\nwe get a simplejson module from.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "try: # pragma: no cover\n # Should work for Python2.6 and higher.\n import json as simplejson\nexcept ImportError: #...
import Cookie import datetime import time import email.utils import calendar import base64 import hashlib import hmac import re import logging # Ripped from the Tornado Framework's web.py # http://github.com/facebook/tornado/commit/39ac6d169a36a54bb1f6b9bf1fdebb5c9da96e09 # # Tornado is licensed under the Apache Licen...
[ [ 1, 0, 0.006, 0.006, 0, 0.66, 0, 32, 0, 1, 0, 0, 32, 0, 0 ], [ 1, 0, 0.0119, 0.006, 0, 0.66, 0.1, 426, 0, 1, 0, 0, 426, 0, 0 ], [ 1, 0, 0.0179, 0.006, 0, 0.66, ...
[ "import Cookie", "import datetime", "import time", "import email.utils", "import calendar", "import base64", "import hashlib", "import hmac", "import re", "import logging", "class LilCookies:\n\n @staticmethod\n def _utf8(s):\n if isinstance(s, unicode):\n return s.encode(\"utf-8\")\n ...
# Copyright (C) 2007 Joe Gregorio # # Licensed under the MIT License """MIME-Type Parser This module provides basic functions for handling mime-types. It can handle matching mime-types against a list of media-ranges. See section 14.1 of the HTTP specification [RFC 2616] for a complete explanation. http://www.w3.o...
[ [ 8, 0, 0.0814, 0.1105, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1453, 0.0058, 0, 0.66, 0.0833, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.1512, 0.0058, 0, 0.66...
[ "\"\"\"MIME-Type Parser\n\nThis module provides basic functions for handling mime-types. It can handle\nmatching mime-types against a list of media-ranges. See section 14.1 of the\nHTTP specification [RFC 2616] for a complete explanation.\n\n http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html#sec14.1", "__v...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.0342, 0.0083, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0414, 0.0021, 0, 0.66, 0.0476, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0476, 0.0021, 0, 0.66,...
[ "\"\"\"Utilities for OAuth.\n\nUtilities for making it easier to work with OAuth.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import copy", "import httplib2", "import logging", "import oauth2 as oauth", "import urllib", "import urlparse", "from anyjson import simplejson", "tr...
#!/usr/bin/python2.4 # # Copyright (C) 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 l...
[ [ 8, 0, 0.0519, 0.0182, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0649, 0.0026, 0, 0.66, 0.0625, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0701, 0.0026, 0, 0.66,...
[ "\"\"\"Model objects for requests and responses.\n\nEach API may support one or more serializations, such\nas JSON, Atom, etc. The model classes are responsible\nfor converting between the wire format and the Python\nobject representation.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.2619, 0.0635, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.3175, 0.0159, 0, 0.66, 0.2, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.3492, 0.0159, 0, 0.66, ...
[ "\"\"\"Utilities for OAuth.\n\nUtilities for making it easier to work with OAuth 1.0 credentials.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import pickle", "import threading", "from apiclient.oauth import Storage as BaseStorage", "class Storage(BaseStorage):\n \"\"\"Store and retr...
# Copyright (C) 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 agreed to in writ...
[ [ 1, 0, 0.2679, 0.0179, 0, 0.66, 0, 629, 0, 1, 0, 0, 629, 0, 0 ], [ 1, 0, 0.2857, 0.0179, 0, 0.66, 0.2, 177, 0, 1, 0, 0, 177, 0, 0 ], [ 1, 0, 0.3036, 0.0179, 0, 0.6...
[ "import apiclient", "import base64", "import pickle", "from django.db import models", "class OAuthCredentialsField(models.Field):\n\n __metaclass__ = models.SubfieldBase\n\n def db_type(self):\n return 'VARCHAR'\n\n def to_python(self, value):", " __metaclass__ = models.SubfieldBase", " def db_t...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.1259, 0.037, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.1556, 0.0074, 0, 0.66, 0.125, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.1704, 0.0074, 0, 0.66, ...
[ "\"\"\"Utilities for Google App Engine\n\nUtilities for making it easier to use the\nGoogle API Client for Python on Google App Engine.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "import pickle", "from google.appengine.ext import db", "from apiclient.oauth import OAuthCredentials", "...
#!/usr/bin/python2.4 # # Copyright (C) 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 l...
[ [ 8, 0, 0.1545, 0.0407, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.187, 0.0081, 0, 0.66, 0.0769, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.2114, 0.0081, 0, 0.66, ...
[ "\"\"\"Errors for the library.\n\nAll exceptions defined by the library\nshould be defined in this file.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "from oauth2client.anyjson import simplejson", "class Error(Exception):\n \"\"\"Base error for this module.\"\"\"\n pass", " \"\"\"Base...
__version__ = "1.0c2"
[ [ 14, 0, 1, 1, 0, 0.66, 0, 162, 1, 0, 0, 0, 0, 3, 0 ] ]
[ "__version__ = \"1.0c2\"" ]
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.1205, 0.1452, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2046, 0.0033, 0, 0.66, 0.2, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.2112, 0.0033, 0, 0.66, ...
[ "\"\"\"Schema processing for discovery based APIs\n\nSchemas holds an APIs discovery schemas. It can return those schema as\ndeserialized JSON objects, or pretty print them as prototype objects that\nconform to the schema.\n\nFor example, given the schema:", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", ...
# Copyright (C) 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 agreed to in writ...
[ [ 8, 0, 0.5312, 0.1562, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.6562, 0.0312, 0, 0.66, 0.5, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 7, 0, 0.875, 0.2812, 0, 0.66, ...
[ "\"\"\"Utility module to import a JSON module\n\nHides all the messy details of exactly where\nwe get a simplejson module from.\n\"\"\"", "__author__ = 'jcgregorio@google.com (Joe Gregorio)'", "try: # pragma: no cover\n import simplejson\nexcept ImportError: # pragma: no cover\n try:\n # Try to import from...
# Early, and incomplete implementation of -04. # import re import urllib RESERVED = ":/?#[]@!$&'()*+,;=" OPERATOR = "+./;?|!@" EXPLODE = "*+" MODIFIER = ":^" TEMPLATE = re.compile(r"{(?P<operator>[\+\./;\?|!@])?(?P<varlist>[^}]+)}", re.UNICODE) VAR = re.compile(r"^(?P<varname>[^=\+\*:\^]+)((?P<explode>[\+\*])|(?P<part...
[ [ 1, 0, 0.0204, 0.0068, 0, 0.66, 0, 540, 0, 1, 0, 0, 540, 0, 0 ], [ 1, 0, 0.0272, 0.0068, 0, 0.66, 0.0833, 614, 0, 1, 0, 0, 614, 0, 0 ], [ 14, 0, 0.0408, 0.0068, 0, ...
[ "import re", "import urllib", "RESERVED = \":/?#[]@!$&'()*+,;=\"", "OPERATOR = \"+./;?|!@\"", "EXPLODE = \"*+\"", "MODIFIER = \":^\"", "TEMPLATE = re.compile(r\"{(?P<operator>[\\+\\./;\\?|!@])?(?P<varlist>[^}]+)}\", re.UNICODE)", "VAR = re.compile(r\"^(?P<varname>[^=\\+\\*:\\^]+)((?P<explode>[\\+\\*])...
#!/usr/bin/env python # Copyright (c) 2010, Google Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this l...
[ [ 8, 0, 0.1818, 0.0267, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.2032, 0.0053, 0, 0.66, 0.2, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.2219, 0.0107, 0, 0.66, ...
[ "\"\"\"Module to enforce different constraints on flags.\n\nA validator represents an invariant, enforced over a one or more flags.\nSee 'FLAGS VALIDATORS' in gflags.py's docstring for a usage manual.\n\"\"\"", "__author__ = 'olexiy@google.com (Olexiy Oryeshko)'", "class Error(Exception):\n \"\"\"Thrown If val...
"""SocksiPy - Python SOCKS module. Version 1.00 Copyright 2006 Dan-Haim. 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 ...
[ [ 8, 0, 0.0365, 0.0708, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 8, 0, 0.0845, 0.0205, 0, 0.66, 0.04, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0982, 0.0023, 0, 0.66, ...
[ "\"\"\"SocksiPy - Python SOCKS module.\nVersion 1.00\n\nCopyright 2006 Dan-Haim. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n1. Redistributions of source code must retain the above copyright ...
""" iri2uri Converts an IRI to a URI. """ __author__ = "Joe Gregorio (joe@bitworking.org)" __copyright__ = "Copyright 2006, Joe Gregorio" __contributors__ = [] __version__ = "1.0.0" __license__ = "MIT" __history__ = """ """ import urlparse # Convert an IRI to a URI following the rules in RFC 3987 # # The characte...
[ [ 8, 0, 0.0318, 0.0545, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0636, 0.0091, 0, 0.66, 0.0909, 777, 1, 0, 0, 0, 0, 3, 0 ], [ 14, 0, 0.0727, 0.0091, 0, 0.66...
[ "\"\"\"\niri2uri\n\nConverts an IRI to a URI.\n\n\"\"\"", "__author__ = \"Joe Gregorio (joe@bitworking.org)\"", "__copyright__ = \"Copyright 2006, Joe Gregorio\"", "__contributors__ = []", "__version__ = \"1.0.0\"", "__license__ = \"MIT\"", "__history__ = \"\"\"\n\"\"\"", "import urlparse", "escape_...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0102, 0.003, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0124, 0.0005, 0, 0.66, 0.0323, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0134, 0.0005, 0, 0.66, ...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = 'branches/3144'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0108, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0132, 0.0005, 0, 0.66, 0.0357, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0142, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.10'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Val...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0146, 0.0043, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0178, 0.0007, 0, 0.66, 0.0556, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0193, 0.0007, 0, 0.66,...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand prefixes.\n\n\"\"\"", "__version__ = '1.1.1'", "import struct", "class Error(Exception):\n\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 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 a...
[ [ 8, 0, 0.0168, 0.0044, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0204, 0.0009, 0, 0.66, 0.0667, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.0235, 0.0018, 0, 0.66,...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses and\nprefixes.\n\"\"\"", "__version__ = '1.0.1'", "class Error(Exception):\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\"\"", "class IPTypeError(...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0111, 0.0033, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0136, 0.0005, 0, 0.66, 0.0333, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0147, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.0.0'", "import struct", "class Error(Exception):\n\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class f...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python3.1 # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/L...
[ [ 8, 0, 0.0182, 0.001, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 1, 0, 0.0213, 0.001, 0, 0.66, 0.1667, 88, 0, 1, 0, 0, 88, 0, 0 ], [ 1, 0, 0.0223, 0.001, 0, 0.66, ...
[ "\"\"\"Unittest for ipaddr module.\"\"\"", "import unittest", "import time", "import ipaddr", "if ipaddr._compat_has_real_bytes:\n _cb = lambda bytestr: bytes(bytestr, 'charmap')\nelse:\n _cb = str", " _cb = lambda bytestr: bytes(bytestr, 'charmap')", " _cb = str", "class IpaddrUnitTest(un...
#!/usr/bin/python3.1 # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/L...
[ [ 8, 0, 0.0109, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0132, 0.0005, 0, 0.66, 0.0385, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0143, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.5-py3k'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0107, 0.0031, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.013, 0.0005, 0, 0.66, 0.0357, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0141, 0.0005, 0, 0.66, ...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = 'trunk'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Valu...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0109, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0133, 0.0005, 0, 0.66, 0.0417, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0143, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.2'", "import struct", "class AddressValueError(ValueError):\n \"\"\"A Value Error related to the address.\"\"\"", "...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0113, 0.0033, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0137, 0.0005, 0, 0.66, 0.0333, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0148, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.0.0'", "import struct", "class Error(Exception):\n\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class f...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0108, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0132, 0.0005, 0, 0.66, 0.0385, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0143, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.5'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Valu...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 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 a...
[ [ 8, 0, 0.0169, 0.0044, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0204, 0.0009, 0, 0.66, 0.0667, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.024, 0.0027, 0, 0.66, ...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses and\nprefixes.\n\"\"\"", "__version__ = '1.0.0'", "class Error(Exception):\n \"\"\"Base class for exceptions.\"\"\"\n pass", " \"\"\"Base class for exceptions.\"\"\"", "class IPTy...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0111, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0135, 0.0005, 0, 0.66, 0.0417, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0146, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = 'trunk'", "import struct", "class AddressValueError(ValueError):\n \"\"\"A Value Error related to the address.\"\"\"", "...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0148, 0.0043, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.018, 0.0007, 0, 0.66, 0.0556, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0195, 0.0007, 0, 0.66, ...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand prefixes.\n\n\"\"\"", "__version__ = '1.1.0'", "import struct", "class Error(Exception):\n\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0147, 0.0043, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0179, 0.0007, 0, 0.66, 0.0556, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0194, 0.0007, 0, 0.66,...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand prefixes.\n\n\"\"\"", "__version__ = '1.1.1'", "import struct", "class Error(Exception):\n\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0109, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0133, 0.0005, 0, 0.66, 0.0417, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0143, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.3'", "import struct", "class AddressValueError(ValueError):\n \"\"\"A Value Error related to the address.\"\"\"", "...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0109, 0.0032, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0132, 0.0005, 0, 0.66, 0.0385, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0143, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.4'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Valu...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 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 a...
[ [ 8, 0, 0.0168, 0.0044, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0204, 0.0009, 0, 0.66, 0.0667, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.0235, 0.0018, 0, 0.66,...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses and\nprefixes.\n\"\"\"", "__version__ = '1.0.1'", "class Error(Exception):\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\"\"", "class IPTypeError(...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4857, 0.0286, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5429, 0.0286, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8143, 0.4, 0, 0.66, ...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n classifiers=[\n 'Development Status :: 5 - Product...
#!/usr/bin/python # # Copyright 2007 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 a...
[ [ 8, 0, 0.0168, 0.0044, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0204, 0.0009, 0, 0.66, 0.0667, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 3, 0, 0.0235, 0.0018, 0, 0.66,...
[ "\"\"\"An IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses and\nprefixes.\n\"\"\"", "__version__ = '1.0.1'", "class Error(Exception):\n \"\"\"Base class for exceptions.\"\"\"", " \"\"\"Base class for exceptions.\"\"\"", "class IPTypeError(...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0105, 0.0031, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0128, 0.0005, 0, 0.66, 0.0357, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0138, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.8'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Valu...
#!/usr/bin/python # # Copyright 2008 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 a...
[ [ 1, 0, 0.4722, 0.0278, 0, 0.66, 0, 152, 0, 1, 0, 0, 152, 0, 0 ], [ 1, 0, 0.5278, 0.0278, 0, 0.66, 0.5, 522, 0, 1, 0, 0, 522, 0, 0 ], [ 8, 0, 0.8056, 0.4167, 0, 0.6...
[ "from distutils.core import setup", "import ipaddr", "setup(name='ipaddr',\n maintainer='Google',\n maintainer_email='ipaddr-py-dev@googlegroups.com',\n version=ipaddr.__version__,\n url='http://code.google.com/p/ipaddr-py/',\n license='Apache License, Version 2.0',\n classifiers=[...
#!/usr/bin/python # # Copyright 2007 Google Inc. # Licensed to PSF under a Contributor Agreement. # # 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/LICE...
[ [ 8, 0, 0.0105, 0.0031, 0, 0.66, 0, 0, 1, 0, 0, 0, 0, 0, 0 ], [ 14, 0, 0.0128, 0.0005, 0, 0.66, 0.0357, 162, 1, 0, 0, 0, 0, 3, 0 ], [ 1, 0, 0.0138, 0.0005, 0, 0.66,...
[ "\"\"\"A fast, lightweight IPv4/IPv6 manipulation library in Python.\n\nThis library is used to create/poke/manipulate IPv4 and IPv6 addresses\nand networks.\n\n\"\"\"", "__version__ = '2.1.8'", "import struct", "IPV4LENGTH = 32", "IPV6LENGTH = 128", "class AddressValueError(ValueError):\n \"\"\"A Valu...