code stringlengths 1 1.49M | vector listlengths 0 7.38k | snippet listlengths 0 7.38k |
|---|---|---|
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0313,
0.0015,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0358,
0.0015,
0,
0.66,
0.0588,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0373,
0.0015,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.gauth",
"import atom.http_core",
"import gdata.test_config as conf",
"PRIVATE_TEST_KEY = \"\"\"\n -----BEGIN PRIVATE KEY-----\n MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBALRiMLAh9iimur8V\n A7qVvdqxevEuUkW4K+2Kd... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0402,
0.0019,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0459,
0.0019,
0,
0.66,
0.0455,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0478,
0.0019,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.data",
"from gdata import test_data",
"import gdata.test_config as conf",
"import atom.core",
"import atom.data",
"SIMPLE_V2_FEED_TEST_DATA = \"\"\"<feed xmlns='http://www.w3.org/2005/Atom'\n xmlns:gd='http://schemas.g... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.0442,
0.0025,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0516,
0.0025,
0,
0.66,
0.05,
88,
0,
1,
0,
0,
88,
0,
0
],
[
7,
0,
0.0577,
0.0098,
0,
0.66,... | [
"__author__ = 'api.laurabeth@gmail.com (Laura Beth Lincoln)'",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import gdata",
"import gdata.spreads... |
#!/usr/bin/env python
#
# Copyright (C) 2007, 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 require... | [
[
14,
0,
0.0316,
0.0018,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0369,
0.0018,
0,
0.66,
0.05,
540,
0,
1,
0,
0,
540,
0,
0
],
[
1,
0,
0.0387,
0.0018,
0,
0.6... | [
"__author__ = 'api.jscudder (Jeff Scudder)'",
"import re",
"import unittest",
"import urllib",
"import gdata.auth",
"CONSUMER_KEY = 'www.yourwebapp.com'",
"CONSUMER_SECRET = 'qB1P2kCFDpRjF+/Iww4'",
"RSA_KEY = \"\"\"-----BEGIN RSA PRIVATE KEY-----\nMIICXAIBAAKBgQDVbOaFW+KXecfFJn1PIzYHnNXFxhaQ36QM0K5uSb... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.2278,
0.0127,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2658,
0.0127,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2785,
0.0127,
0,
0.66... | [
"__author__ = 'Vic Fryzel <vf@google.com>'",
"import unittest",
"import atom.core",
"from gdata import test_data",
"import gdata.calendar_resource.data",
"import gdata.test_config as conf",
"class CalendarResourceEntryTest(unittest.TestCase):\n\n def setUp(self):\n self.entry = atom.core.parse(test_... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.1895,
0.0105,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2211,
0.0105,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2316,
0.0105,
0,
0.66... | [
"__author__ = 'api.jscudder (Jeff Scudder)'",
"import unittest",
"from gdata import test_data",
"import gdata.blogger",
"import atom",
"class BlogEntryTest(unittest.TestCase):\n\n def testBlogEntryFromString(self):\n entry = gdata.blogger.BlogEntryFromString(test_data.BLOG_ENTRY)\n self.assertEqual... |
#!/usr/bin/python
#
# Copyright 2009 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 b... | [
[
14,
0,
0.0477,
0.0027,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0531,
0.0027,
0,
0.66,
0.0625,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0557,
0.0027,
0,
0.6... | [
"__author__ = 'e.bidelman (Eric Bidelman)'",
"import unittest",
"import atom",
"from gdata import test_data",
"import gdata.acl.data",
"import gdata.data",
"import gdata.docs.data",
"import gdata.test_config as conf",
"class DocsEntryTest(unittest.TestCase):\n\n def setUp(self):\n self.entry = a... |
#!/usr/bin/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 b... | [
[
8,
0,
0.0379,
0.007,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.044,
0.0018,
0,
0.66,
0.0476,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0475,
0.0018,
0,
0.66,
... | [
"\"\"\"Live integration tests of the Google Documents List API.\n\n RESOURCES: Dict of test resource data, keyed on resource type.\n\"\"\"",
"__author__ = 'vicfryzel@google.com (Vic Fryzel)'",
"import os",
"import os.path",
"import tempfile",
"import time",
"import unittest",
"import gdata.client",
... |
#!/usr/bin/env python
#
# Copyright 2009 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 requir... | [
[
1,
0,
0.0161,
0.0161,
0,
0.66,
0,
588,
0,
1,
0,
0,
588,
0,
0
],
[
1,
0,
0.0323,
0.0161,
0,
0.66,
0.1667,
784,
0,
1,
0,
0,
784,
0,
0
],
[
1,
0,
0.0484,
0.0161,
0,
... | [
"import getopt",
"import getpass",
"import sys",
"import unittest",
"import gdata.contacts",
"import gdata.contacts.service",
"class ProfilesServiceTest(unittest.TestCase):\n\n def setUp(self): \n additional_headers = {GDATA_VER_HEADER: 3}\n self.gd_client = gdata.contacts.service.ContactsServ... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.2316,
0.0105,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2632,
0.0105,
0,
0.66,
0.0833,
936,
0,
1,
0,
0,
936,
0,
0
],
[
1,
0,
0.2737,
0.0105,
0,
0... | [
"__author__ = 'jcgregorio@google.com (Joe Gregorio)'",
"import atom.core",
"import atom.data",
"import atom.http_core",
"import gdata.contacts.client",
"import gdata.data",
"import gdata.test_config as conf",
"import unittest",
"conf.options.register_option(conf.APPS_DOMAIN_OPTION)",
"conf.options... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.0625,
0.0037,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0699,
0.0037,
0,
0.66,
0.0714,
784,
0,
1,
0,
0,
784,
0,
0
],
[
1,
0,
0.0735,
0.0037,
0,
0... | [
"__author__ = 'api.jscudder (Jeff Scudder)'",
"import getpass",
"import re",
"import unittest",
"import urllib",
"import atom",
"import gdata.contacts.service",
"import gdata.test_config as conf",
"conf.options.register_option(conf.TEST_IMAGE_LOCATION_OPTION)",
"class ContactsServiceTest(unittest.... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.1803,
0.0082,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2049,
0.0082,
0,
0.66,
0.1111,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2131,
0.0082,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.test_config as conf",
"import gdata.contacts.client",
"import atom.core",
"import atom.data",
"import gdata.data",
"class ContactsTest(unittest.TestCase):\n\n def setUp(self):\n self.client = None\n if conf.options... |
#!/usr/bin/python
#
# Copyright 2009 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 b... | [
[
14,
0,
0.1667,
0.0079,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1905,
0.0079,
0,
0.66,
0.0909,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1984,
0.0079,
0,
0.6... | [
"__author__ = 'Alexandre Vivien <alex@simplecode.fr>'",
"import unittest",
"import gdata.client",
"import gdata.data",
"import gdata.gauth",
"import gdata.marketplace.client",
"import gdata.marketplace.data",
"import gdata.test_config as conf",
"conf.options.register_option(conf.APPS_DOMAIN_OPTION)"... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.2073,
0.0122,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2317,
0.0122,
0,
0.66,
0.0769,
784,
0,
1,
0,
0,
784,
0,
0
],
[
1,
0,
0.2439,
0.0122,
0,
0... | [
"__author__ = 'api.jscudder (Jeffrey Scudder)'",
"import getpass",
"import time",
"import unittest",
"import StringIO",
"import gdata.photos.service",
"import gdata.photos",
"import atom",
"username = ''",
"password = ''",
"test_image_location = '../../testimage.jpg'",
"test_image_name = 'test... |
#!/usr/bin/python
#
# Copyright 2009 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 b... | [
[
8,
0,
0.1856,
0.0103,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2165,
0.0103,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2474,
0.0103,
0,
0.66,
... | [
"\"\"\"Content API for Shopping tests\"\"\"",
"__author__ = 'afshar (Ali Afshar)'",
"import unittest",
"from gdata.contentforshopping import client, data",
"class CFSClientTest(unittest.TestCase):\n\n def test_uri_missing_account_id(self):\n c = client.ContentForShoppingClient()\n self.assertRaises(V... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.2609,
0.0145,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3043,
0.0145,
0,
0.66,
0.1429,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.3188,
0.0145,
0,
0.6... | [
"__author__ = 'api.jscudder (Jeffrey Scudder)'",
"import unittest",
"from gdata import test_data",
"import gdata.photos",
"class AlbumFeedTest(unittest.TestCase):\n\n def setUp(self):\n self.album_feed = gdata.photos.AlbumFeedFromString(test_data.ALBUM_FEED)\n\n def testCorrectXmlParsing(self):\n se... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.0973,
0.0054,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1135,
0.0054,
0,
0.66,
0.1111,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1189,
0.0054,
0,
0.6... | [
"__author__ = 'api.jscudder (Jeffrey Scudder)'",
"import unittest",
"from gdata import test_data",
"import atom",
"import gdata.contacts",
"class ContactEntryTest(unittest.TestCase):\n\n def setUp(self):\n self.entry = gdata.contacts.ContactEntryFromString(test_data.NEW_CONTACT)\n\n def testParsingTe... |
#!/usr/bin/env python
#
# Copyright (C) 2008, 2009 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 appli... | [
[
14,
0,
0.1544,
0.0074,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1765,
0.0074,
0,
0.66,
0.0625,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1838,
0.0074,
0,
0... | [
"__author__ = 'e.bidelman@google.com (Eric Bidelman)'",
"import os",
"import unittest",
"import atom.data",
"import gdata.client",
"import gdata.data",
"import gdata.gauth",
"import gdata.docs.client",
"import gdata.docs.data",
"import gdata.test_config as conf",
"TEST_FILE_LOCATION_OPTION = con... |
#!/usr/bin/env python
#
# 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 ... | [
[
14,
0,
0.3621,
0.0172,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.4138,
0.0172,
0,
0.66,
0.0714,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.431,
0.0172,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.test_config as conf",
"import gdata.analytics.client",
"import gdata.apps.emailsettings.client",
"import gdata.blogger.client",
"import gdata.spreadsheets.client",
"import gdata.calendar_resource.client",
"import gdata.... |
#!/usr/bin/python
# -*- coding: utf-8 -*-
__author__ = 'samuel.cyprian@gmail.com (Samuel Cyprian)'
import unittest
from gdata import oauth, test_config
HTTP_METHOD_POST = 'POST'
VERSION = '1.0'
class OauthUtilsTest(unittest.TestCase):
def test_build_authenticate_header(self):
self.assertEqual(oauth.build_aut... | [
[
14,
0,
0.0075,
0.0019,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0112,
0.0019,
0,
0.66,
0.0556,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0131,
0.0019,
0,
0.6... | [
"__author__ = 'samuel.cyprian@gmail.com (Samuel Cyprian)'",
"import unittest",
"from gdata import oauth, test_config",
"HTTP_METHOD_POST = 'POST'",
"VERSION = '1.0'",
"class OauthUtilsTest(unittest.TestCase):\n def test_build_authenticate_header(self):\n self.assertEqual(oauth.build_authenticate_heade... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.3621,
0.0172,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.4138,
0.0172,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.431,
0.0172,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import sys",
"import gdata.sample_util",
"class SettingsUtilTest(unittest.TestCase):\n\n def setUp(self):\n self.settings = gdata.sample_util.SettingsUtil()\n\n def test_get_param(self):\n self.assert_(self.settings.get_param('missi... |
#!/usr/bin/python
#
# Copyright 2009 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 b... | [
[
14,
0,
0.1006,
0.0056,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1173,
0.0056,
0,
0.66,
0.1,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1229,
0.0056,
0,
0.66,
... | [
"__author__ = 'api.eric@google.com (Eric Bidelman)'",
"import unittest",
"from gdata import test_data",
"import gdata.health",
"import gdata.health.service",
"class ProfileEntryTest(unittest.TestCase):\n\n def setUp(self):\n self.profile_entry = gdata.health.ProfileEntryFromString(\n test_data.... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0621,
0.003,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.071,
0.003,
0,
0.66,
0.0526,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.074,
0.003,
0,
0.66,
... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.test_config as conf",
"import gdata.data",
"import gdata.acl.data",
"import gdata.analytics.data",
"import gdata.dublincore.data",
"import gdata.books.data",
"import gdata.calendar.data",
"import gdata.geo.data",
"i... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.3462,
0.0192,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.4038,
0.0192,
0,
0.66,
0.2,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.4231,
0.0192,
0,
0.66,
... | [
"__author__ = 'api.jscudder (Jeffrey Scudder)'",
"import unittest",
"import gdata.codesearch",
"import gdata.test_data",
"class CodeSearchDataTest(unittest.TestCase):\n\n def setUp(self):\n self.feed = gdata.codesearch.CodesearchFeedFromString(\n gdata.test_data.CODE_SEARCH_FEED)\n\n def testCorre... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.0794,
0.0047,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0888,
0.0047,
0,
0.66,
0.0588,
88,
0,
1,
0,
0,
88,
0,
0
],
[
7,
0,
0.1005,
0.0187,
0,
0.6... | [
"__author__ = 'api.laurabeth@gmail.com (Laura Beth Lincoln)'",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import gdata.spreadsheet.service",
"... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.0321,
0.0018,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0357,
0.0018,
0,
0.66,
0.0417,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0374,
0.0018,
0,
0.6... | [
"__author__ = 'api.jhartmann@gmail.com (Jochen Hartmann)'",
"import unittest",
"from gdata import test_data",
"import gdata.youtube",
"import gdata.youtube.service",
"import atom",
"YOUTUBE_TEMPLATE = '{http://gdata.youtube.com/schemas/2007}%s'",
"YT_FORMAT = YOUTUBE_TEMPLATE % ('format')",
"class V... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0677,
0.0031,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0769,
0.0031,
0,
0.66,
0.0435,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.08,
0.0031,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import os",
"import unittest",
"import gdata.client",
"import atom.http_core",
"import atom.mock_http_core",
"import atom.core",
"import gdata.data",
"import gdata.core",
"import atom",
"import gdata.test_config as conf",
"conf.options.register_... |
#!/usr/bin/env python
#
# 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 ... | [
[
8,
0,
0.1114,
0.0241,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1325,
0.006,
0,
0.66,
0.1429,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1506,
0.006,
0,
0.66,
... | [
"\"\"\"Unit Tests for Google Analytics API query objects.\n\nAnalyticsClientTest: Tests making live requests to Google Analytics API.\n\"\"\"",
"__author__ = 'api.nickm@google.com (Nick Mihailovski)'",
"import unittest",
"from gdata.analytics import client",
"class DataExportQueryTest(unittest.TestCase):\n ... |
#!/usr/bin/env python
#
# 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 ... | [
[
8,
0,
0.0493,
0.0263,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0658,
0.0022,
0,
0.66,
0.0769,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0724,
0.0022,
0,
0.66,... | [
"\"\"\"Unit Tests for Google Analytics Data Export API and Management APIs.\n\nAlthough the Data Export API and Management API conceptually operate on\ndifferent parts of Google Analytics, the APIs share some code so they\nare released in the same module.\n\nAccountFeedTest: All unit tests for AccountFeed class.\nD... |
#!/usr/bin/env python
#
# 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 ... | [
[
8,
0,
0.1434,
0.031,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1705,
0.0078,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1938,
0.0078,
0,
0.66,
... | [
"\"\"\"Functional Tests for Google Analytics Account Feed and Data Feed.\n\nAnalyticsClientTest: Tests making live requests to Google Analytics API.\n\"\"\"",
"__author__ = 'api.nickm@google.com (Nick Mihailovski)'",
"import unittest",
"import gdata.client",
"import gdata.data",
"import gdata.gauth",
"i... |
#!/usr/bin/python
#
# Copyright (C) 2008 Yu-Jie Lin
#
# 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... | [
[
14,
0,
0.0353,
0.002,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0412,
0.002,
0,
0.66,
0.0345,
88,
0,
1,
0,
0,
88,
0,
0
],
[
7,
0,
0.0461,
0.0078,
0,
0.66,... | [
"__author__ = 'livibetter (Yu-Jie Lin)'",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import gdata",
"from gdata import test_data",
"import g... |
#!/usr/bin/python
__author__ = "James Sams <sams.james@gmail.com>"
import unittest
from gdata import test_data
import gdata.books
import atom
class BookEntryTest(unittest.TestCase):
def testBookEntryFromString(self):
entry = gdata.books.Book.FromString(test_data.BOOK_ENTRY)
self.assert_(isins... | [
[
14,
0,
0.069,
0.0172,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1207,
0.0172,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1379,
0.0172,
0,
0.66... | [
"__author__ = \"James Sams <sams.james@gmail.com>\"",
"import unittest",
"from gdata import test_data",
"import gdata.books",
"import atom",
"class BookEntryTest(unittest.TestCase):\n\n def testBookEntryFromString(self):\n entry = gdata.books.Book.FromString(test_data.BOOK_ENTRY)\n self.a... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0302,
0.0014,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0345,
0.0014,
0,
0.66,
0.04,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.0359,
0.0014,
0,
0.66,... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.spreadsheets.data",
"import gdata.test_config as conf",
"import atom.core",
"SPREADSHEET = \"\"\"<entry xmlns=\"http://www.w3.org/2005/Atom\"\n xmlns:gd=\"http://schemas.google.com/g/2005\" \n gd:etag='\"BxAUSQUJRCp... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.0849,
0.0039,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0965,
0.0039,
0,
0.66,
0.0769,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1004,
0.0039,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import gdata.spreadsheets.client",
"import gdata.gauth",
"import gdata.client",
"import atom.http_core",
"import atom.mock_http_core",
"import atom.core",
"import gdata.data",
"import gdata.test_config as conf",
"conf.options.re... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.5625,
0.0312,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.6562,
0.0312,
0,
0.66,
0.125,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.6875,
0.0312,
0,
0.... | [
"__author__ = 'api.jscudder@gmail.com (Jeff Scudder)'",
"import sys",
"import unittest",
"import getopt",
"import getpass",
"import module_test_runner",
"import run_data_tests",
"import run_service_tests",
"if __name__ == '__main__':\n run_data_tests.RunAllTests()\n run_service_tests.GetValuesForT... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.3621,
0.0172,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.4138,
0.0172,
0,
0.66,
0.0526,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.431,
0.0172,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import coverage",
"import all_tests",
"import atom.core",
"import atom.http_core",
"import atom.mock_http_core",
"import atom.auth",
"import atom.client",
"import gdata.gauth",
"import gdata.client",
"import gdata.data",
"im... |
#!/usr/bin/python
# -*-*- encoding: utf-8 -*-*-
#
# Copyright (C) 2006 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
#
# Unle... | [
[
14,
0,
0.0269,
0.0014,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0312,
0.0014,
0,
0.66,
0.027,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0326,
0.0014,
0,
0.... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import sys",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import atom",
"from gdata import te... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.1875,
0.0104,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2188,
0.0104,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2292,
0.0104,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.url",
"import gdata.test_config as conf",
"class UrlTest(unittest.TestCase):\n\n def testParseUrl(self):\n url = atom.url.parse_url('http://www.google.com/calendar/feeds')\n self.assert_(url.protocol == 'http')\n self.... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.2432,
0.0135,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2838,
0.0135,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2973,
0.0135,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.mock_http",
"import atom.http",
"class MockHttpClientUnitTest(unittest.TestCase):\n \n def setUp(self):\n self.client = atom.mock_http.MockHttpClient()\n\n def testRepondToGet(self):\n mock_response = atom.http_interfac... |
#!/usr/bin/env python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.0456,
0.0022,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0521,
0.0022,
0,
0.66,
0.0455,
88,
0,
1,
0,
0,
88,
0,
0
],
[
7,
0,
0.064,
0.0217,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"try:\n from xml.etree import cElementTree as ElementTree\nexcept ImportError:\n try:\n import cElementTree as ElementTree\n except ImportError:\n try:\n from xml.etree import ElementTree",
" from xml.etree import cElementTree a... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.383,
0.0213,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.4468,
0.0213,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.4681,
0.0213,
0,
0.66... | [
"__author__ = 'api.jscudder (Jeff Scudder)'",
"import unittest",
"import atom.http_interface",
"import StringIO",
"class HttpResponseTest(unittest.TestCase):\n\n def testConstructorWithStrings(self):\n resp = atom.http_interface.HttpResponse(body='Hi there!', status=200, \n reason='OK', headers={... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.1106,
0.005,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1256,
0.005,
0,
0.66,
0.1111,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1307,
0.005,
0,
0.66,
... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import StringIO",
"import os.path",
"import atom.mock_http_core",
"import atom.http_core",
"class EchoClientTest(unittest.TestCase):\n \n def test_echo_response(self):\n client = atom.mock_http_core.EchoHttpClient()\n # Send a b... |
#!/usr/bin/python
# -*-*- encoding: utf-8 -*-*-
#
# Copyright (C) 2006 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
#
# Unle... | [
[
14,
0,
0.0205,
0.0011,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0238,
0.0011,
0,
0.66,
0.0256,
509,
0,
1,
0,
0,
509,
0,
0
],
[
1,
0,
0.0249,
0.0011,
0,
0... | [
"__author__ = 'api.jscudder@gmail.com (Jeff Scudder)'",
"import sys",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import atom.data",
"import ... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.4667,
0.0222,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.5333,
0.0222,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.5556,
0.0222,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.auth",
"import atom.http_core",
"class BasicAuthTest(unittest.TestCase):\n \n def test_modify_request(self):\n http_request = atom.http_core.HttpRequest()\n credentials = atom.auth.BasicAuth('Aladdin', 'open sesame')\n ... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.1321,
0.0063,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1509,
0.0063,
0,
0.66,
0.1429,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1572,
0.0063,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.http_core",
"import StringIO",
"class UriTest(unittest.TestCase):\n \n def test_parse_uri(self):\n uri = atom.http_core.parse_uri('http://www.google.com/test?q=foo&z=bar')\n self.assert_(uri.scheme == 'http')\n self.a... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.2308,
0.0128,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2692,
0.0128,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2821,
0.0128,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.token_store",
"import atom.http_interface",
"import atom.service",
"import atom.url",
"class TokenStoreTest(unittest.TestCase):\n\n def setUp(self):\n self.token = atom.service.BasicAuthToken('aaa1', scopes=[\n 'h... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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 ... | [
[
14,
0,
0.1189,
0.0054,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1351,
0.0054,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.1405,
0.0054,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.http_core",
"import atom.auth",
"import atom.client",
"import atom.mock_http_core",
"class AtomPubClientEchoTest(unittest.TestCase):\n\n def test_simple_request_with_no_client_defaults(self):\n client = atom.client.AtomP... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.0983,
0.0058,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.1098,
0.0058,
0,
0.66,
0.125,
688,
0,
1,
0,
0,
688,
0,
0
],
[
1,
0,
0.1156,
0.0058,
0,
0.... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import os",
"import unittest",
"import atom.service",
"import atom.mock_http_core",
"import gdata.test_config as conf",
"class AtomServiceUnitTest(unittest.TestCase):\n \n def testBuildUriWithNoParams(self):\n x = atom.service.BuildUri('/base/feeds/s... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.1856,
0.0103,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2165,
0.0103,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2268,
0.0103,
0,
0.66... | [
"__author__ = 'api.jscudder (Jeff Scudder)'",
"import unittest",
"import gdata.service",
"import atom.mock_service",
"gdata.service.http_request_handler = atom.mock_service",
"class MockRequestTest(unittest.TestCase):\n\n def setUp(self):\n self.request_thumbprint = atom.mock_service.MockRequest('GET'... |
#!/usr/bin/python
#
# Copyright (C) 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 ... | [
[
14,
0,
0.2368,
0.0132,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2763,
0.0132,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2895,
0.0132,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom.mock_http",
"import atom.http",
"class MockHttpClientUnitTest(unittest.TestCase):\n \n def setUp(self):\n self.client = atom.mock_http.MockHttpClient()\n\n def testRepondToGet(self):\n mock_response = atom.http_interfac... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.0495,
0.0027,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.0577,
0.0027,
0,
0.66,
0.0588,
88,
0,
1,
0,
0,
88,
0,
0
],
[
7,
0,
0.0646,
0.011,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"try:\n from xml.etree import ElementTree\nexcept ImportError:\n from elementtree import ElementTree",
" from xml.etree import ElementTree",
" from elementtree import ElementTree",
"import gdata",
"import atom",
"from gdata import ... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.5526,
0.0263,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.6316,
0.0263,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.6579,
0.0263,
0,
0.66... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import all_tests",
"import gdata.test_config as conf",
"conf.options.set_value('runlive', 'true')",
"conf.options.set_value('savecache', 'true')",
"conf.options.set_value('clearcache', 'false')",
"def suite():\n return unittest.TestS... |
#!/usr/bin/python
#
# Copyright (C) 2006 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.3158,
0.0175,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.3684,
0.0175,
0,
0.66,
0.5,
88,
0,
1,
0,
0,
88,
0,
0
],
[
3,
0,
0.7018,
0.614,
0,
0.66,
... | [
"__author__ = 'api.jscudder@gmail.com (Jeff Scudder)'",
"import unittest",
"class ModuleTestRunner(object):\n\n def __init__(self, module_list=None, module_settings=None):\n \"\"\"Constructor for a runner to run tests in the modules listed.\n\n Args:\n module_list: list (optional) The modules whose ... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.5676,
0.027,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.6486,
0.027,
0,
0.66,
0.1667,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.6757,
0.027,
0,
0.66,
... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import all_tests",
"import gdata.test_config as conf",
"conf.options.set_value('runlive', 'false')",
"def suite():\n return unittest.TestSuite((atom_tests.core_test.suite(),))",
" return unittest.TestSuite((atom_tests.core_test.suite(... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.5385,
0.0256,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.6154,
0.0256,
0,
0.66,
0.125,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.641,
0.0256,
0,
0.66,... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import all_tests",
"from gdata.test_config import settings",
"settings.RUN_LIVE_TESTS = True",
"settings.CACHE_RESPONSES = True",
"settings.CLEAR_CACHE = True",
"def suite():\n return unittest.TestSuite((atom_tests.core_test.suite(),... |
#!/usr/bin/env python
#
# Copyright (C) 2009 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... | [
[
14,
0,
0.2165,
0.0103,
0,
0.66,
0,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2371,
0.0103,
0,
0.66,
0.0286,
88,
0,
1,
0,
0,
88,
0,
0
],
[
1,
0,
0.2577,
0.0103,
0,
0.6... | [
"__author__ = 'j.s@google.com (Jeff Scudder)'",
"import unittest",
"import atom_tests.core_test",
"import atom_tests.data_test",
"import atom_tests.http_core_test",
"import atom_tests.auth_test",
"import atom_tests.mock_http_core_test",
"import atom_tests.client_test",
"import gdata_tests.client_tes... |
'''
Created on 7 okt 2010
@author: Xakt
'''
from settings import *
import math
class AgentBrain():
def __init__(self):
self.waypoints = [[500, 480], [500, 520], [480, 500], [520, 500]]
def action(self, observation):
state = self.toState(observation)
# state =... | [
[
8,
0,
0.0101,
0.0168,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0235,
0.0034,
0,
0.66,
0.3333,
168,
0,
1,
0,
0,
168,
0,
0
],
[
1,
0,
0.0268,
0.0034,
0,
0.66... | [
"'''\nCreated on 7 okt 2010\n\n@author: Xakt\n'''",
"from settings import *",
"import math",
"class AgentBrain():\n \n def __init__(self):\n self.waypoints = [[500, 480], [500, 520], [480, 500], [520, 500]]\n \n def action(self, observation):\n state = self.toState(observation)\n ... |
'''
Created on 17 nov 2010
@author: Xakt
'''
import math
import pickle
import random
import copy
import settings
import os
import sys
import time
import pprint
class AgentBrain():
def __init__(self):
self.previousState = ''
self.previousAction = ''
self.DEFAULTVA... | [
[
8,
0,
0.0037,
0.0062,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0086,
0.0012,
0,
0.66,
0.1,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0098,
0.0012,
0,
0.66,
... | [
"'''\nCreated on 17 nov 2010\n\n@author: Xakt\n'''",
"import math",
"import pickle",
"import random",
"import copy",
"import settings",
"import os",
"import sys",
"import time",
"import pprint",
"class AgentBrain():\n \n def __init__(self):\n self.previousState = ''\n self.pr... |
'''
Created on 17 nov 2010
@author: Xakt
'''
import math
import pickle
import random
import copy
import settings
import os
import sys
import time
import pprint
class AgentBrain():
def __init__(self):
self.previousState = ''
self.previousAction = ''
self.DEFAULTVA... | [
[
8,
0,
0.0037,
0.0062,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0086,
0.0012,
0,
0.66,
0.1,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0098,
0.0012,
0,
0.66,
... | [
"'''\nCreated on 17 nov 2010\n\n@author: Xakt\n'''",
"import math",
"import pickle",
"import random",
"import copy",
"import settings",
"import os",
"import sys",
"import time",
"import pprint",
"class AgentBrain():\n \n def __init__(self):\n self.previousState = ''\n self.pr... |
'''
Created on 21 sep 2010
@author: Xakt
'''
import math
import pickle
import random
import traceback, sys
import heapq
import copy
def compare(a,b):
if (a['cost']+a['hcost']) < (b['cost']+b['hcost']):
return -1
elif (a['cost']+a['hcost']) == (b['cost']+b['hcost']):
... | [
[
8,
0,
0.0061,
0.0101,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0141,
0.002,
0,
0.66,
0.125,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.0162,
0.002,
0,
0.66,
... | [
"'''\nCreated on 21 sep 2010\n\n@author: Xakt\n'''",
"import math",
"import pickle",
"import random",
"import traceback, sys",
"import heapq",
"import copy",
"def compare(a,b):\n if (a['cost']+a['hcost']) < (b['cost']+b['hcost']): \n return -1\n elif (a['cost']+a['hcost']) == ... |
'''
Created on 21 sep 2010
@author: Xakt
'''
import math
import pickle
import random
#import traceback, sys
import copy
import settings
import os
class AgentBrain():
def __init__(self):
self.previousState = ''
self.previousAction = ''
self.DEFAULTVALUES = {'goToCon... | [
[
8,
0,
0.0045,
0.0075,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
1,
0,
0.0105,
0.0015,
0,
0.66,
0.1429,
526,
0,
1,
0,
0,
526,
0,
0
],
[
1,
0,
0.012,
0.0015,
0,
0.66,... | [
"'''\nCreated on 21 sep 2010\n\n@author: Xakt\n'''",
"import math",
"import pickle",
"import random",
"import copy",
"import settings",
"import os",
"class AgentBrain():\n \n def __init__(self):\n self.previousState = ''\n self.previousAction = ''\n self.DEFAULTVALUES = {'go... |
#!/usr/bin/env python
#
# Copyright 2006, 2007 Google Inc. All Rights Reserved.
# Author: danderson@google.com (David Anderson)
#
# Script for uploading files to a Google Code project.
#
# This is intended to be both a useful script for people who want to
# streamline project uploads and a reference implementation for
... | [
[
8,
0,
0.1883,
0.0081,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1984,
0.004,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
1,
0,
0.2065,
0.004,
0,
0.66,
... | [
"\"\"\"Google Code file uploader script.\n\"\"\"",
"__author__ = 'danderson@google.com (David Anderson)'",
"import httplib",
"import os.path",
"import optparse",
"import getpass",
"import base64",
"import sys",
"def upload(file, project_name, user_name, password, summary, labels=None):\n \"\"\"Uplo... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.2041,
0.3061,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3878,
0.0204,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4082,
0.0204,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1316,
0.1974,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.25,
0.0132,
0,
0.66,
0.1111,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.2632,
0.0132,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.2941,
0.4412,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5588,
0.0294,
0,
0.66,
0.1,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.5882,
0.0294,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Address'
db.create_table('addressing_address', (
('id', self.gf('django.db.mod... | [
[
1,
0,
0.0253,
0.0127,
0,
0.66,
0,
426,
0,
1,
0,
0,
426,
0,
0
],
[
1,
0,
0.038,
0.0127,
0,
0.66,
0.25,
545,
0,
1,
0,
0,
545,
0,
0
],
[
1,
0,
0.0506,
0.0127,
0,
0.6... | [
"import datetime",
"from south.db import db",
"from south.v2 import SchemaMigration",
"from django.db import models",
"class Migration(SchemaMigration):\n\n def forwards(self, orm):\n \n # Adding model 'Address'\n db.create_table('addressing_address', (\n ('id', self.gf('d... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1429,
0.2143,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2714,
0.0143,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.2857,
0.0143,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0361,
0.0542,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0686,
0.0036,
0,
0.66,
0.0333,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0722,
0.0036,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3846,
0.5769,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.7308,
0.0385,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7692,
0.0385,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/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 ... | [
[
1,
0,
0.1818,
0.0909,
0,
0.66,
0,
879,
0,
1,
0,
0,
879,
0,
0
],
[
7,
0,
0.5,
0.5455,
0,
0.66,
0.5,
0,
0,
1,
0,
0,
0,
0,
2
],
[
1,
1,
0.3636,
0.0909,
1,
0.98,
... | [
"from django.core.management import execute_manager",
"try:\n import settings # Assumed to be in the same directory.\nexcept ImportError:\n import sys\n 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 run dj... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0617,
0.0926,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1173,
0.0062,
0,
0.66,
0.0345,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1235,
0.0062,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0781,
0.1172,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1484,
0.0078,
0,
0.66,
0.0476,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1562,
0.0078,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0714,
0.1071,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1357,
0.0071,
0,
0.66,
0.037,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1429,
0.0071,
0,
0.66,... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0617,
0.0926,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1173,
0.0062,
0,
0.66,
0.0345,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1235,
0.0062,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.4762,
0.7143,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.9048,
0.0476,
0,
0.66,
0.3333,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.9524,
0.0476,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0671,
0.1007,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1275,
0.0067,
0,
0.66,
0.0323,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1342,
0.0067,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0481,
0.0721,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0913,
0.0048,
0,
0.66,
0.0625,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0962,
0.0048,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1299,
0.1948,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.2468,
0.013,
0,
0.66,
0.0476,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.2597,
0.013,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Employee'
db.create_table('hr_employee', (
('id', self.gf('django.db.models.fi... | [
[
1,
0,
0.0064,
0.0032,
0,
0.66,
0,
426,
0,
1,
0,
0,
426,
0,
0
],
[
1,
0,
0.0096,
0.0032,
0,
0.66,
0.25,
545,
0,
1,
0,
0,
545,
0,
0
],
[
1,
0,
0.0128,
0.0032,
0,
0.... | [
"import datetime",
"from south.db import db",
"from south.v2 import SchemaMigration",
"from django.db import models",
"class Migration(SchemaMigration):\n\n def forwards(self, orm):\n \n # Adding model 'Employee'\n db.create_table('hr_employee', (\n ('id', self.gf('django.... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3448,
0.5172,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.6552,
0.0345,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.6897,
0.0345,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1587,
0.2381,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3016,
0.0159,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3175,
0.0159,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0362,
0.0543,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0688,
0.0036,
0,
0.66,
0.0556,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.0725,
0.0036,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3846,
0.5769,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.7308,
0.0385,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7692,
0.0385,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0704,
0.1056,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1338,
0.007,
0,
0.66,
0.0909,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1408,
0.007,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.2,
0.3,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.38,
0.02,
0,
0.66,
0.05,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.4,
0.02,
0,
0.66,
0.1,
20... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Product'
db.create_table('products_product', (
('id', self.gf('django.db.model... | [
[
1,
0,
0.0064,
0.0032,
0,
0.66,
0,
426,
0,
1,
0,
0,
426,
0,
0
],
[
1,
0,
0.0096,
0.0032,
0,
0.66,
0.25,
545,
0,
1,
0,
0,
545,
0,
0
],
[
1,
0,
0.0129,
0.0032,
0,
0.... | [
"import datetime",
"from south.db import db",
"from south.v2 import SchemaMigration",
"from django.db import models",
"class Migration(SchemaMigration):\n\n def forwards(self, orm):\n \n # Adding model 'Product'\n db.create_table('products_product', (\n ('id', self.gf('dja... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.2564,
0.3846,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.4872,
0.0256,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.5128,
0.0256,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0893,
0.1339,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1696,
0.0089,
0,
0.66,
0.0526,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1786,
0.0089,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0508,
0.0761,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.0964,
0.0051,
0,
0.66,
0.04,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1015,
0.0051,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3846,
0.5769,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.7308,
0.0385,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7692,
0.0385,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1961,
0.2941,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3725,
0.0196,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3922,
0.0196,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0862,
0.1293,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1638,
0.0086,
0,
0.66,
0.0625,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1724,
0.0086,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1852,
0.2778,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3519,
0.0185,
0,
0.66,
0.0526,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3704,
0.0185,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
# encoding: utf-8
import datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Adding model 'Document'
db.create_table('documents_document', (
('id', self.gf('django.db.mo... | [
[
1,
0,
0.0081,
0.004,
0,
0.66,
0,
426,
0,
1,
0,
0,
426,
0,
0
],
[
1,
0,
0.0121,
0.004,
0,
0.66,
0.25,
545,
0,
1,
0,
0,
545,
0,
0
],
[
1,
0,
0.0162,
0.004,
0,
0.66,... | [
"import datetime",
"from south.db import db",
"from south.v2 import SchemaMigration",
"from django.db import models",
"class Migration(SchemaMigration):\n\n def forwards(self, orm):\n \n # Adding model 'Document'\n db.create_table('documents_document', (\n ('id', self.gf('... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3125,
0.4688,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5938,
0.0312,
0,
0.66,
0.1667,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.625,
0.0312,
0,
0.66,... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3333,
0.5,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.6333,
0.0333,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.6667,
0.0333,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.0877,
0.1316,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.1667,
0.0088,
0,
0.66,
0.0476,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.1754,
0.0088,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.3846,
0.5769,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.7308,
0.0385,
0,
0.66,
0.2,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.7692,
0.0385,
0,
0.66,
... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.2941,
0.4412,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.5588,
0.0294,
0,
0.66,
0.125,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.5882,
0.0294,
0,
0.66,... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""This file is part of the prometeo project.
This program is free software: you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by the
Free Software Foundation, either version 3 of the License, or (at your
option... | [
[
8,
0,
0.1754,
0.2632,
0,
0.66,
0,
0,
1,
0,
0,
0,
0,
0,
0
],
[
14,
0,
0.3333,
0.0175,
0,
0.66,
0.0833,
777,
1,
0,
0,
0,
0,
3,
0
],
[
14,
0,
0.3509,
0.0175,
0,
0.66... | [
"\"\"\"This file is part of the prometeo project.\n\nThis program is free software: you can redistribute it and/or modify it \nunder the terms of the GNU Lesser General Public License as published by the\nFree Software Foundation, either version 3 of the License, or (at your\noption) any later version.\n\nThis prog... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.