code
stringlengths
582
165k
apis
list
extract_api
stringlengths
325
147k
# !usr/bin/env python # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2018-10-11 17:51:43 # @Last modified by: <NAME> # @Last Modified time: 2018-11-29 17:23:15 from __future__ import print_function, division, absolute_import import numpy as np import astropy import...
[ "marvin.utils.general.general.get_drpall_table", "marvin.utils.plot.scatter.plot", "marvin.tools.quantities.spectrum.Spectrum" ]
[((1530, 1567), 'numpy.argmax', 'np.argmax', (["[par1['snr'], par2['snr']]"], {}), "([par1['snr'], par2['snr']])\n", (1539, 1567), True, 'import numpy as np\n'), ((1585, 1622), 'numpy.argmin', 'np.argmin', (["[par1['rms'], par2['rms']]"], {}), "([par1['rms'], par2['rms']])\n", (1594, 1622), True, 'import numpy as np\n'...
#!/usr/bin/env python # encoding: utf-8 # # bpt.py # # Created by <NAME> on 19 Jan 2017. from __future__ import division from __future__ import print_function from __future__ import absolute_import from packaging.version import parse import warnings import matplotlib import matplotlib.pyplot as plt import numpy as ...
[ "marvin.utils.plot.bind_to_figure" ]
[((1783, 1810), 'matplotlib.pyplot.figure', 'plt.figure', (['None', '(8.5, 10)'], {}), '(None, (8.5, 10))\n', (1793, 1810), True, 'import matplotlib.pyplot as plt\n'), ((1830, 1885), 'matplotlib.pyplot.subplots_adjust', 'plt.subplots_adjust', ([], {'top': '(0.99)', 'bottom': '(0.08)', 'hspace': '(0.01)'}), '(top=0.99, ...
# Imports from time import sleep as wait # import sleep as wait for timer from marvin.essentials import speak # speak function from word2number import w2n ############################## # File containing Timer code # ############################## class TimerService(): def __init__(self, time_for, speak_type): ...
[ "marvin.essentials.speak" ]
[((2512, 2549), 'marvin.essentials.speak', 'speak', (['"""Timer Done!"""', 'self.speak_type'], {}), "('Timer Done!', self.speak_type)\n", (2517, 2549), False, 'from marvin.essentials import speak\n'), ((725, 767), 'marvin.essentials.speak', 'speak', (['"""You can\'t have a timer for 0 time"""'], {}), '("You can\'t have...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: <NAME>, <NAME>, and <NAME> # @Date: 2017-03-20 # @Filename: conftest.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) # # @Last modified by: <NAME> # @Last modified time: 2018-07-21 21:51:06 import copy import itertools import os...
[ "marvin.config.login", "marvin.config.forceDbOn", "marvin.config.forceDbOff", "marvin.config.setMPL", "marvin.tools.modelcube.ModelCube", "marvin.tools.maps.Maps", "marvin.config.getoption", "marvin.api.api.Interaction", "marvin.tools.query.Query", "marvin.utils.general.check_versions", "marvin....
[((872, 903), 'warnings.simplefilter', 'warnings.simplefilter', (['"""always"""'], {}), "('always')\n", (893, 903), False, 'import warnings\n'), ((4462, 4510), 'pytest.fixture', 'pytest.fixture', ([], {'scope': '"""session"""', 'params': 'releases'}), "(scope='session', params=releases)\n", (4476, 4510), False, 'import...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.validateList", "marvin.lib.base.Account.create", "marvin.lib.base.SecurityGroup.create", "marvin.lib.base.SecurityGroup.delete", "marvin.lib.common.get_domain", "marvin.lib.base.SecurityGroup.list", "marvin.lib.common.get_template", "marvin.lib.utils.cleanup_resources" ]
[((4659, 4695), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['basic', 'provisioning']"}), "(tags=['basic', 'provisioning'])\n", (4663, 4695), False, 'from nose.plugins.attrib import attr\n'), ((11305, 11341), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['basic', 'provisioning']"}), "(tags=['basic', 'provi...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.updateZone.updateZoneCmd", "marvin.lib.base.Domain.create", "marvin.lib.base.Account.create", "marvin.lib.base.VirtualMachine.list" ]
[((7390, 7461), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'nuagevsp', 'isonw']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'nuagevsp', 'isonw'], required_hardware='false')\n", (7394, 7461), False, 'from nose.plugins.attrib import attr\n'), ((14323, 14392), 'nose.plugins.attrib.attr...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_snapshots", "marvin.lib.utils.is_snapshot_on_nfs", "marvin.lib.common.list_volumes", "marvin.lib.base.Volume.create_from_snapshot", "marvin.lib.common.get_domain", "marvin.lib.base.Snapshot.create", "marvin.lib.base.Template.create_from_snapshot", "marvin.lib.base.Volume.create...
[((7341, 7399), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic'], required_hardware='true')\n", (7345, 7399), False, 'from nose.plugins.attrib import attr\n'), ((2248, 2273), 'marvin.lib.common.get_domain', 'get_domain', (['cls....
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.listKubernetesClusters.listKubernetesClustersCmd", "marvin.lib.base.StoragePool.list", "marvin.lib.decoratorGenerators.skipTestIf", "marvin.lib.utils.random_gen", "marvin.cloudstackAPI.scaleKubernetesCluster.scaleKubernetesClusterCmd", "marvin.lib.common.get_domain", "marvin.clouds...
[((16124, 16182), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'smoke'], required_hardware='true')\n", (16128, 16182), False, 'from nose.plugins.attrib import attr\n'), ((16188, 16224), 'marvin.lib.decoratorGenerators.skipTestIf', 's...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.get_process_status", "marvin.lib.base.Domain.create", "marvin.cloudstackAPI.rebootRouter.rebootRouterCmd", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.utils.get_host_credentials", "marvin.lib.base.Zone", "marvin.lib.common.get_free_vlan", "marvin.lib.base.PublicIPAddress.li...
[((9746, 9796), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (9750, 9796), False, 'from nose.plugins.attrib import attr\n'), ((2504, 2523), 'marvin.lib.base.Zone', 'Zone', (['zone.__dict__'], {}), '(zone.__dic...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Domain.create", "marvin.cloudstackAPI.listConfigurations.listConfigurationsCmd", "marvin.lib.base.Template.list", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.ServiceO...
[((7684, 7749), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'sg']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'basic', 'sg'], required_hardware='false')\n", (7688, 7749), False, 'from nose.plugins.attrib import attr\n'), ((9130, 9195), 'nose.plugins.attrib.attr', 'attr', ([]...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.common.get_template", "marvin.lib.utils.cleanup_resources" ]
[((6057, 6126), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'simulator', 'basic', 'vgpu', 'provisioning']"}), "(tags=['advanced', 'simulator', 'basic', 'vgpu', 'provisioning'])\n", (6061, 6126), False, 'from nose.plugins.attrib import attr\n'), ((4675, 4701), 'marvin.lib.common.get_domain', 'get_dom...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Domain.create", "marvin.lib.base.VirtualMachine.list", "marvin.lib.common.get_free_vlan", "marvin.lib.base.Zone", "marvin.lib.utils.get_host_credentials", "marvin.lib.base.Host.list", "marvin.lib.utils.execute_command_in_host", "marvin.lib.base.Network.create", "marvin.lib.common.ge...
[((13203, 13255), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advancedsg']", 'required_hardware': '"""false"""'}), "(tags=['advancedsg'], required_hardware='false')\n", (13207, 13255), False, 'from nose.plugins.attrib import attr\n'), ((14225, 14277), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanc...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.Host.list", "marvin.lib.base.ServiceOffering.create", "marvin.lib.common.get_template", "marvin.lib.utils.cleanup_resources", "marvin.lib...
[((2436, 2501), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'sg']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'basic', 'sg'], required_hardware='false')\n", (2440, 2501), False, 'from nose.plugins.attrib import attr\n'), ((3894, 3959), 'nose.plugins.attrib.attr', 'attr', ([]...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.updateStorageCapabilities.updateStorageCapabilitiesCmd", "marvin.lib.base.VirtualMachine.attach_volume", "marvin.lib.base.Volume", "marvin.cloudstackTestCase.unittest.SkipTest", "marvin.cloudstackAPI.listStoragePools.listStoragePoolsCmd", "marvin.lib.base.Account.create", "marvin.l...
[((2906, 3005), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'eip', 'sg', 'advancedns', 'smoke']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'basic', 'eip', 'sg', 'advancedns', 'smoke'],\n required_hardware='false')\n", (2910, 3005), False, 'from nose.plugins.attrib import...
from requests import get from marvin.essentials import speak ######################### # File to hold Api work # ######################### class ApiService(): def __init__(self, speak_type): self.speak_type = speak_type def tacoFullRand(self): url = 'http://taco-randomizer.herokuapp.com/ran...
[ "marvin.essentials.speak" ]
[((371, 379), 'requests.get', 'get', (['url'], {}), '(url)\n', (374, 379), False, 'from requests import get\n'), ((804, 812), 'requests.get', 'get', (['url'], {}), '(url)\n', (807, 812), False, 'from requests import get\n'), ((2529, 2591), 'marvin.essentials.speak', 'speak', (['"""Opening the full taco recipe for you""...
from marvin.cloudstackAPI import ( listConfigurations, listNetworkACLLists, listDomains, listZones, listTemplates, listRouters, listNetworks, listSystemVms, listVirtualMachines, listLoadBalancerRuleInstances, listVlanIpRanges, listHosts, listPublicIpAddresses, lis...
[ "marvin.cloudstackAPI.listPortForwardingRules.listPortForwardingRulesCmd", "marvin.cloudstackAPI.listHosts.listHostsCmd", "marvin.cloudstackAPI.listVlanIpRanges.listVlanIpRangesCmd", "marvin.cloudstackAPI.listConfigurations.listConfigurationsCmd", "marvin.cloudstackAPI.listNetworkACLLists.listNetworkACLList...
[((946, 970), 'marvin.cloudstackAPI.listZones.listZonesCmd', 'listZones.listZonesCmd', ([], {}), '()\n', (968, 970), False, 'from marvin.cloudstackAPI import listConfigurations, listNetworkACLLists, listDomains, listZones, listTemplates, listRouters, listNetworks, listSystemVms, listVirtualMachines, listLoadBalancerRul...
# !usr/bin/env python2 # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2017-06-12 18:18:54 # @Last modified by: <NAME> # @Last modified time: 2017-07-31 12:07:88 from __future__ import absolute_import, division, print_function import copy import json from imp import...
[ "marvin.utils.datamodel.query.base.ParameterGroup", "marvin.config.forceDbOn", "marvin.tools.query.Query", "marvin.config.forceDbOff", "marvin.tools.results.marvintuple" ]
[((857, 903), 'pytest.fixture', 'pytest.fixture', ([], {'scope': '"""function"""', 'autouse': '(True)'}), "(scope='function', autouse=True)\n", (871, 903), False, 'import pytest\n'), ((1181, 1197), 'pytest.fixture', 'pytest.fixture', ([], {}), '()\n', (1195, 1197), False, 'import pytest\n'), ((1363, 1379), 'pytest.fixt...
#!/usr/bin/env python # encoding: utf-8 # # @Author: <NAME>, <NAME>, <NAME> # @Date: Oct 25, 2017 # @Filename: base.py # @License: BSD 3-Clause # @Copyright: <NAME>, <NAME>, <NAME> from __future__ import division from __future__ import print_function from __future__ import absolute_import from astropy import units a...
[ "marvin.utils.datamodel.maskbit.get_maskbits" ]
[((466, 554), 'astropy.units.Unit', 'u.Unit', (['"""spaxel"""'], {'represents': 'u.pixel', 'doc': '"""A spectral pixel"""', 'parse_strict': '"""silent"""'}), "('spaxel', represents=u.pixel, doc='A spectral pixel', parse_strict=\n 'silent')\n", (472, 554), True, 'from astropy import units as u\n'), ((2274, 2295), 'ma...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.VpcOffering.create", "marvin.lib.base.VpcOffering.list", "marvin.lib.base.Network.create", "marvin.lib.base.Account.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.common.get_domain", "marvin.cloudstackAPI.updateResourceCount.updateResourceCountCmd", "marvin.lib.base.Public...
[((10203, 10266), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'intervlan']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'intervlan'], required_hardware='false')\n", (10207, 10266), False, 'from nose.plugins.attrib import attr\n'), ((6006, 6032), 'marvin.lib.common.get_domain', 'get_do...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.sshClient.SshClient", "marvin.cloudstackAPI.updateConfiguration.updateConfigurationCmd" ]
[((1263, 1334), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['devcloud', 'basic', 'advanced']", 'required_hardware': '"""false"""'}), "(tags=['devcloud', 'basic', 'advanced'], required_hardware='false')\n", (1267, 1334), False, 'from nose.plugins.attrib import attr\n'), ((2139, 2210), 'nose.plugins.attrib.attr',...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Domain.create", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.base.FireWallRule.create", "marvin.lib.base.Host.list", "marvin.lib.base.PublicIPAddress.list", "marvin.lib.base.Domain.list", "marvin.lib.base.Network.create", "marvin.lib.c...
[((8483, 8533), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (8487, 8533), False, 'from nose.plugins.attrib import attr\n'), ((10985, 11035), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", '...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.validateList", "marvin.lib.base.Account.create", "marvin.lib.base.Configurations.list", "marvin.lib.common.get_domain", "marvin.lib.base.Volume.list", "marvin.lib.base.Snapshot.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.Snapshot.create", "marvin.lib.base.Servi...
[((3695, 3753), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic'], required_hardware='true')\n", (3699, 3753), False, 'from nose.plugins.attrib import attr\n'), ((7324, 7382), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.random_gen", "marvin.cloudstackAPI.addKubernetesSupportedVersion.addKubernetesSupportedVersionCmd", "marvin.lib.base.Configurations.update", "marvin.cloudstackAPI.deleteKubernetesSupportedVersion.deleteKubernetesSupportedVersionCmd", "marvin.lib.base.Configurations.list", "marvin.lib.uti...
[((4964, 5022), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'smoke'], required_hardware='true')\n", (4968, 5022), False, 'from nose.plugins.attrib import attr\n'), ((7792, 7850), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackException.CloudstackAclException.verifyMsginException" ]
[((13628, 13696), 'nose.plugins.attrib.attr', 'attr', (['"""simulator_only"""'], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "('simulator_only', tags=['advanced'], required_hardware='false')\n", (13632, 13696), False, 'from nose.plugins.attrib import attr\n'), ((14963, 15031), 'nose.plugins.attrib.at...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.PhysicalNetwork.list", "marvin.lib.common.setNonContiguousVlanIds" ]
[((1708, 1758), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (1712, 1758), False, 'from nose.plugins.attrib import attr\n'), ((1341, 1394), 'marvin.lib.common.setNonContiguousVlanIds', 'setNonContiguousVlanIds...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.updateZone.updateZoneCmd", "marvin.lib.base.Configurations.update", "marvin.lib.base.Network.create", "marvin.lib.base.Account.create", "marvin.lib.base.NetworkOffering.create", "marvin.cloudstackAPI.updateVirtualMachine.updateVirtualMachineCmd" ]
[((77127, 77189), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'nuagevsp']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'nuagevsp'], required_hardware='false')\n", (77131, 77189), False, 'from nose.plugins.attrib import attr\n'), ((77569, 77631), 'nose.plugins.attrib.attr', 'attr', ([]...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.validateList", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.Template.create", "marvin.lib.base.Volume.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.DiskOffering.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.b...
[((4982, 5051), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedsg', 'sg']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedsg', 'sg'], required_hardware='true')\n", (4986, 5051), False, 'from nose.plugins.attrib import attr\n'), ((4913, 4960), 'marvin.lib.utils.cleanup_resou...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.base.SecurityGroup.list", "marvin.lib.base.LoadBalancerRule.list", "marvin.lib.base.PublicIPAddress.list", "marvin.cloudstackAPI.authorizeSecurityGroupIngress.authorizeSecurityGroupIngressCmd", "marvin.lib.commo...
[((7053, 7071), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['eip']"}), "(tags=['eip'])\n", (7057, 7071), False, 'from nose.plugins.attrib import attr\n'), ((12550, 12568), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['eip']"}), "(tags=['eip'])\n", (12554, 12568), False, 'from nose.plugins.attrib import a...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Host.create", "marvin.lib.base.VirtualMachine.list", "marvin.lib.common.get_pod", "marvin.lib.base.Template.register", "marvin.cloudstackAPI.startVirtualMachine.startVirtualMachineCmd", "marvin.lib.common.list_virtual_machines", "marvin.lib.base.VmSnapshot.list", "marvin.lib.base.VmSn...
[((9887, 9953), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'vgpu']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic', 'vgpu'], required_hardware='true')\n", (9891, 9953), False, 'from nose.plugins.attrib import attr\n'), ((10758, 10824), 'nose.plugins.attrib.attr', 'attr',...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.NetworkPermission.remove", "marvin.lib.base.Domain.create", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.Zone", "marvin.lib.base.SSHKeyPair.create", "marvin.lib.base.Network.create", "marvin.lib.common.get_domain", "marvin.lib.base.NetworkPermission.create", "marvin.lib.b...
[((11982, 12032), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (11986, 12032), False, 'from nose.plugins.attrib import attr\n'), ((12536, 12586), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: <NAME>, <NAME>, and <NAME> # @Date: 2017-11-08 # @Filename: maps.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) # # @Last modified by: <NAME> (<EMAIL>) # @Last modified time: 2018-11-14 10:49:45 from __future__ import absolute_i...
[ "marvin.config.lookUpRelease", "marvin.tools.modelcube.ModelCube", "marvin.utils.general.check_versions", "marvin.tools.quantities.Map.from_maps", "marvin.utils.general.FuzzyDict", "marvin.utils.general.general.getSpaxel", "marvin.tools.cube.Cube", "marvin.config.lookUpVersions", "marvin.utils.dap.b...
[((9387, 9427), 'marvin.config.lookUpRelease', 'marvin.config.lookUpRelease', (['file_drpver'], {}), '(file_drpver)\n', (9414, 9427), False, 'import marvin\n'), ((9853, 9904), 'marvin.config.lookUpVersions', 'marvin.config.lookUpVersions', ([], {'release': 'self._release'}), '(release=self._release)\n', (9881, 9904), F...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.GuestOs.listMapping", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.DiskOffering.create", "marvin.lib.common.get_pod", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.Host.list", "marvin.lib.bas...
[((9926, 9998), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns', 'smoke'], required_hardware='true')\n", (9930, 9998), False, 'from nose.plugins.attrib import attr\n'), ((10291, 10363), 'nose.plugins.attrib.at...
# !usr/bin/env python2 # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2017-04-06 15:30:50 # @Last modified by: <NAME> # @Last Modified time: 2018-04-03 16:08:48 from __future__ import print_function, division, absolute_import import os import pytest import requests ...
[ "marvin.web.create_app" ]
[((539, 579), 'os.environ.get', 'os.environ.get', (['"""USE_BROWSERSTACK"""', 'None'], {}), "('USE_BROWSERSTACK', None)\n", (553, 579), False, 'import os\n'), ((949, 979), 'pytest.fixture', 'pytest.fixture', ([], {'params': 'osstuff'}), '(params=osstuff)\n', (963, 979), False, 'import pytest\n'), ((1029, 1064), 'pytest...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_snapshots", "marvin.lib.common.list_storage_pools", "marvin.lib.base.Domain.create", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.Template.create", "marvin.lib.base.Volume", "marvin.lib.base.VmSnapshot.list", "marvin.lib.base.StoragePool.update", "marvin.lib.base.T...
[((14349, 14398), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""true"""'}), "(tags=['advanced'], required_hardware='true')\n", (14353, 14398), False, 'from nose.plugins.attrib import attr\n'), ((18400, 18449), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']",...
#!/usr/bin/env python # encoding: utf-8 # # test_map.py # # @Author: <NAME> <andrews> # @Date: 2017-07-02 13:08:00 # @Last modified by: andrews # @Last modified time: 2018-03-01 11:03:79 from copy import deepcopy import numpy as np from astropy import units as u import matplotlib import pytest from marvin import...
[ "marvin.tools.maps.Maps", "marvin.tools.quantities.Map._add_ivar", "marvin.tests.marvin_test_if", "marvin.tools.quantities.Map._unit_propagation", "marvin.tools.quantities.Map._mul_ivar", "marvin.tools.quantities.Map._pow_ivar", "marvin.config.lookUpVersions", "marvin.utils.datamodel.dap.plotting.get_...
[((683, 719), 'numpy.array', 'np.array', (['[[16.35, 0.8], [0, -10.0]]'], {}), '([[16.35, 0.8], [0, -10.0]])\n', (691, 719), True, 'import numpy as np\n'), ((747, 784), 'numpy.array', 'np.array', (['[[591.0, 1e-08], [4.0, 10]]'], {}), '([[591.0, 1e-08], [4.0, 10]])\n', (755, 784), True, 'import numpy as np\n'), ((817, ...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Template.register", "marvin.lib.utils.random_gen", "marvin.cloudstackAPI.scaleKubernetesCluster.scaleKubernetesClusterCmd", "marvin.lib.base.Template.list", "marvin.lib.utils.cleanup_resources", "marvin.cloudstackAPI.listKubernetesSupportedVersions.listKubernetesSupportedVersionsCmd", "...
[((15484, 15542), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'smoke'], required_hardware='true')\n", (15488, 15542), False, 'from nose.plugins.attrib import attr\n'), ((16926, 16984), 'nose.plugins.attrib.attr', 'attr', ([], {'tags...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.get_process_status", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.FireWallRule.create", "marvin.lib.utils.get_host_credentials", "marvin.lib.common.list_publicIP", "marvin.lib.common.list_nat_rules", "marvin.lib.base.Network.create", "marvin.lib.common.list_routers", "ma...
[((2733, 2803), 'logging.debug', 'logging.debug', (["('Result from SSH into the Virtual Machine: %s' % result)"], {}), "('Result from SSH into the Virtual Machine: %s' % result)\n", (2746, 2803), False, 'import logging\n'), ((6059, 6129), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'ss...
from marvin.lib.base import (Vpn, VpnCustomerGateway, StaticRoute, PrivateGateway, Network, NATRule, PublicIPAddress, ...
[ "marvin.utils.MarvinLog.MarvinLog", "marvin.lib.base.PrivateGateway.create", "marvin.lib.base.NetworkACLList.create", "marvin.lib.base.StaticRoute.create", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.base.FireWallRule.create", "marvin.lib.base.Domain.list", "marvin.lib.base.Tag.create", "m...
[((5227, 5350), 'marvin.lib.base.VPC.create', 'VPC.create', ([], {'api_client': 'self.api_client', 'data': 'vpc_data', 'zone': 'self.zone', 'account': 'account', 'randomizeID': 'self.randomizeNames'}), '(api_client=self.api_client, data=vpc_data, zone=self.zone,\n account=account, randomizeID=self.randomizeNames)\n'...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.random_gen", "marvin.lib.base.VmSnapshot.create", "marvin.lib.utils.validateList", "marvin.lib.base.VmSnapshot.list", "marvin.lib.base.VmSnapshot.deleteVMSnapshot", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.Volume.list", "marvin.lib.base.Sna...
[((4398, 4470), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns', 'smoke'], required_hardware='true')\n", (4402, 4470), False, 'from nose.plugins.attrib import attr\n'), ((5741, 5813), 'nose.plugins.attrib.attr...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_networks", "marvin.lib.base.Network.create", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.NetworkOffering.update", "marvin.lib.common.get_template", "marvi...
[((5182, 5232), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (5186, 5232), False, 'from nose.plugins.attrib import attr\n'), ((2178, 2203), 'marvin.lib.common.get_domain', 'get_domain', (['cls.apiclient'], {})...
# Imports from time import sleep as wait # to have a pause from json import load # parse and add json data from threading import Thread # thread to maximize efficency of marvin from marvin.essentials import speak # speak to user ########################## # File for contacts code # ########################## # Functi...
[ "marvin.essentials.speak" ]
[((461, 477), 'json.load', 'load', (['check_name'], {}), '(check_name)\n', (465, 477), False, 'from json import load\n'), ((1300, 1309), 'time.sleep', 'wait', (['(0.5)'], {}), '(0.5)\n', (1304, 1309), True, 'from time import sleep as wait\n'), ((1123, 1146), 'json.load', 'load', (['contact_data_list'], {}), '(contact_d...
# !/usr/bin/env python # -*- coding: utf-8 -*- # # Filename: caching.py # Project: db # Author: <NAME> # Created: Friday, 24th January 2020 2:47:54 pm # License: BSD 3-clause "New" or "Revised" License # Copyright (c) 2020 <NAME> # Last Modified: Monday, 27th January 2020 6:36:07 pm # Modified By: <NAME> from __futur...
[ "marvin.config._allowed_releases.keys" ]
[((717, 758), 'os.environ.get', 'os.environ.get', (['"""MANGA_SCRATCH_DIR"""', 'None'], {}), "('MANGA_SCRATCH_DIR', None)\n", (731, 758), False, 'import os\n'), ((875, 912), 'os.path.join', 'os.path.join', (['dogpath', '"""dogpile_data"""'], {}), "(dogpath, 'dogpile_data')\n", (887, 912), False, 'import os\n'), ((3741,...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Router.destroy", "marvin.lib.base.StoragePool.create", "marvin.lib.base.StoragePool.cancelMaintenance", "marvin.lib.common.get_zone", "marvin.lib.base.User.registerUserKeys", "marvin.lib.common.list_routers", "marvin.lib.common.get_domain", "marvin.lib.common.list_clusters", "marvin...
[((8315, 8427), 'solidfire.factory.ElementFactory.create', 'ElementFactory.create', (['solidfire[TestData.mvip]', 'solidfire[TestData.username]', 'solidfire[TestData.password]'], {}), '(solidfire[TestData.mvip], solidfire[TestData.username\n ], solidfire[TestData.password])\n', (8336, 8427), False, 'from solidfire.f...
import matplotlib.pyplot as plt from astropy.io import fits from astropy.table import Table import numpy as np from marvin.tools.cube import Cube import pandas as pd with fits.open('./data2/manga_firefly-v2_4_3-STELLARPOP.fits')as fin: firefly_plateifus = fin['GALAXY_INFO'].data['PLATEIFU'] spaxel_binid = fin[...
[ "marvin.tools.cube.Cube" ]
[((172, 229), 'astropy.io.fits.open', 'fits.open', (['"""./data2/manga_firefly-v2_4_3-STELLARPOP.fits"""'], {}), "('./data2/manga_firefly-v2_4_3-STELLARPOP.fits')\n", (181, 229), False, 'from astropy.io import fits\n'), ((1125, 1134), 'marvin.tools.cube.Cube', 'Cube', (['gal'], {}), '(gal)\n', (1129, 1134), False, 'fro...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.integration.lib.base.Snapshot.create", "marvin.integration.lib.base.Domain.create", "marvin.integration.lib.common.list_snapshots", "marvin.integration.lib.base.ServiceOffering.create", "marvin.integration.lib.base.VirtualMachine.create", "marvin.integration.lib.common.update_resource_limit", "m...
[((12308, 12331), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']"}), "(tags=['advanced'])\n", (12312, 12331), False, 'from nose.plugins.attrib import attr\n'), ((13009, 13032), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']"}), "(tags=['advanced'])\n", (13013, 13032), False, 'from nose...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Project.create", "marvin.lib.common.findSuitableHostForMigration", "marvin.lib.base.Domain.create", "marvin.lib.base.Project.list", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.VirtualMachine.create", "marv...
[((6904, 6981), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'simulator']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'advancedns', 'simulator'], required_hardware='false')\n", (6908, 6981), False, 'from nose.plugins.attrib import attr\n'), ((9315, 9391), 'nose.plugins.a...
# !usr/bin/env python # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2017-09-13 16:05:56 # @Last modified by: <NAME> (<EMAIL>) # @Last modified time: 2018-08-06 11:45:33 from __future__ import absolute_import, division, print_function import copy from astropy import ...
[ "marvin.utils.datamodel.maskbit.get_maskbits" ]
[((22185, 22206), 'marvin.utils.datamodel.maskbit.get_maskbits', 'get_maskbits', (['"""MPL-6"""'], {}), "('MPL-6')\n", (22197, 22206), False, 'from marvin.utils.datamodel.maskbit import get_maskbits\n'), ((22387, 22421), 'copy.deepcopy', 'copy.deepcopy', (['binid_properties[0]'], {}), '(binid_properties[0])\n', (22400,...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.attachVolume.attachVolumeCmd", "marvin.lib.base.VirtualMachine.list", "marvin.cloudstackAPI.deleteIso.deleteIsoCmd", "marvin.lib.base.Host.list", "marvin.lib.base.StoragePool.list", "marvin.lib.decoratorGenerators.skipTestIf", "marvin.cloudstackAPI.startVirtualMachine.startVirtualM...
[((7907, 7943), 'marvin.lib.decoratorGenerators.skipTestIf', 'skipTestIf', (['"""hypervisorNotSupported"""'], {}), "('hypervisorNotSupported')\n", (7917, 7943), False, 'from marvin.lib.decoratorGenerators import skipTestIf\n'), ((7949, 8053), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['devcloud', 'advanced', '...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.listKubernetesClusters.listKubernetesClustersCmd", "marvin.lib.base.StoragePool.list", "marvin.lib.decoratorGenerators.skipTestIf", "marvin.lib.utils.random_gen", "marvin.cloudstackAPI.scaleKubernetesCluster.scaleKubernetesClusterCmd", "marvin.lib.base.Template", "marvin.lib.common...
[((16582, 16640), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'smoke'], required_hardware='true')\n", (16586, 16640), False, 'from nose.plugins.attrib import attr\n'), ((16646, 16682), 'marvin.lib.decoratorGenerators.skipTestIf', 's...
# !/usr/bin/env python # -*- coding: utf-8 -*- # # Filename: MPL11.py # Project: dap # Author: <NAME> # Created: Friday, 26th February 2021 9:23:41 am # License: BSD 3-clause "New" or "Revised" License # Copyright (c) 2021 <NAME> # Last Modified: Friday, 26th February 2021 9:23:42 am # Modified By: <NAME> from __futu...
[ "marvin.utils.datamodel.maskbit.get_maskbits" ]
[((1042, 1067), 'copy.deepcopy', 'copy.deepcopy', (['MPL10_maps'], {}), '(MPL10_maps)\n', (1055, 1067), False, 'import copy\n'), ((1083, 1110), 'copy.deepcopy', 'copy.deepcopy', (['MPL10_models'], {}), '(MPL10_models)\n', (1096, 1110), False, 'import copy\n'), ((1543, 1565), 'marvin.utils.datamodel.maskbit.get_maskbits...
# !/usr/bin/env python # -*- coding: utf-8 -*- # # Filename: MPL9.py # Project: dap # Author: <NAME> # Created: Monday, 4th November 2019 2:32:54 pm # License: BSD 3-clause "New" or "Revised" License # Copyright (c) 2019 <NAME> # Last Modified: Monday, 11th November 2019 3:56:19 pm # Modified By: <NAME> from __future...
[ "marvin.utils.datamodel.maskbit.get_maskbits" ]
[((1287, 1322), 'copy.deepcopy', 'copy.deepcopy', (['MPL8_emline_channels'], {}), '(MPL8_emline_channels)\n', (1300, 1322), False, 'import copy\n'), ((1349, 1387), 'copy.deepcopy', 'copy.deepcopy', (['MPL6_specindex_channels'], {}), '(MPL6_specindex_channels)\n', (1362, 1387), False, 'import copy\n'), ((1403, 1427), 'c...
#!/usr/bin/env python # -*- coding:utf-8 -*- # # @Author: <NAME> (<EMAIL>) # @Date: 2018-07-08 # @Filename: vacs.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) # # @Last modified by: <NAME> # @Last modified time: 2018-07-09 17:27:59 import importlib import astropy.io.fits import pytes...
[ "marvin.contrib.vacs.VACMixIn.__subclasses__", "marvin.tools.maps.Maps" ]
[((1440, 1519), 'pytest.mark.xfail', 'pytest.mark.xfail', ([], {'reason': '"""will not work with tested releases it does not have"""'}), "(reason='will not work with tested releases it does not have')\n", (1457, 1519), False, 'import pytest\n'), ((555, 573), 'marvin.tools.maps.Maps', 'Maps', (['"""7443-12701"""'], {}),...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackAPI.updateZone.updateZoneCmd", "marvin.lib.base.Account.create", "marvin.lib.utils.is_server_ssh_ready", "marvin.lib.base.Host.list" ]
[((11465, 11526), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['migrateACS', 'novms']", 'required_hardware': '"""false"""'}), "(tags=['migrateACS', 'novms'], required_hardware='false')\n", (11469, 11526), False, 'from nose.plugins.attrib import attr\n'), ((17237, 17303), 'nose.plugins.attrib.attr', 'attr', ([], ...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_snapshots", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.Host.cancelMaintenance", "marvin.lib.base.Host.list", "marvin.lib.base.VirtualMachine.migrate", "marvin.lib.base.StoragePool.list", "marvin.lib.utils.is_snapshot_on_nfs", "marvin.lib.base.Cluster.list", "marv...
[((13349, 13407), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic'], required_hardware='true')\n", (13353, 13407), False, 'from nose.plugins.attrib import attr\n'), ((26170, 26228), 'nose.plugins.attrib.attr', 'attr', ([], {'tags...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Zone", "marvin.lib.base.Network.create", "marvin.lib.common.get_domain", "marvin.cloudstackAPI.extractVolume.extractVolumeCmd", "marvin.cloudstackAPI.deleteVolume.deleteVolumeCmd", "marvin.lib.base.Volume.create", "marvin.lib.base.Account.list", "marvin.lib.common.get_template", "ma...
[((6967, 7031), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedsg']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'advancedsg'], required_hardware='false')\n", (6971, 7031), False, 'from nose.plugins.attrib import attr\n'), ((9976, 10040), 'nose.plugins.attrib.attr', 'attr', ([],...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_snapshots", "marvin.lib.common.list_volumes", "marvin.lib.common.get_builtin_template_info", "marvin.lib.base.Template.list", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.Snapshot.create", "marvin.li...
[((6269, 6332), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns'], required_hardware='true')\n", (6273, 6332), False, 'from nose.plugins.attrib import attr\n'), ((4956, 4982), 'marvin.lib.common.get_domain', 'get_domain...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.utils.validateList", "marvin.lib.base.Network.create", "marvin.lib.base.Account.create", "marvin.lib.common.get_domain", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.NetworkOffering.create", "ma...
[((5725, 5813), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['devcloud', 'smoke', 'advanced', 'advancedns']", 'required_hardware': '"""true"""'}), "(tags=['devcloud', 'smoke', 'advanced', 'advancedns'],\n required_hardware='true')\n", (5729, 5813), False, 'from nose.plugins.attrib import attr\n'), ((11578, 11...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Account.create" ]
[((1552, 1614), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'nuagevsp']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'nuagevsp'], required_hardware='false')\n", (1556, 1614), False, 'from nose.plugins.attrib import attr\n'), ((1244, 1343), 'marvin.lib.base.Account.create', 'Account.cr...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Domain.create", "marvin.cloudstackAPI.stopRouter.stopRouterCmd", "marvin.lib.base.VirtualMachine.list", "marvin.cloudstackAPI.rebootRouter.rebootRouterCmd", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.common.get_free_vlan", "marvin.lib.base.FireWallRule.create", "marvin.lib....
[((7694, 7758), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'advancedns'], required_hardware='false')\n", (7698, 7758), False, 'from nose.plugins.attrib import attr\n'), ((12781, 12845), 'nose.plugins.attrib.attr', 'attr', ([]...
#!/usr/bin/env python # encoding: utf-8 # Licensed under a 3-clause BSD license. # Revision History: # Initial Version: 2016-02-17 14:13:28 by <NAME> # 2016-02-23 - Modified to test a programmatic query using a test sample form - <NAME> # 2016-03-02 - Generalized to many parameters and many forms - <NAME>...
[ "marvin.utils.general.temp_setattr", "marvin.tools.results.Results", "marvin.marvindb.db.engine.raw_connection", "marvin.core.marvin_pickle.restore", "marvin.core.exceptions.MarvinError", "marvin.marvindb.db.engine.connect", "marvin.core.exceptions.MarvinBreadCrumb", "marvin.api.api.Interaction", "m...
[((1667, 1685), 'marvin.core.exceptions.MarvinBreadCrumb', 'MarvinBreadCrumb', ([], {}), '()\n', (1683, 1685), False, 'from marvin.core.exceptions import MarvinError, MarvinUserWarning, MarvinBreadCrumb\n'), ((1711, 1728), 'collections.defaultdict', 'defaultdict', (['tree'], {}), '(tree)\n', (1722, 1728), False, 'from ...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.integration.lib.common.get_domain", "marvin.integration.lib.base.startRouter.startRouterCmd", "marvin.integration.lib.base.Account.create", "marvin.integration.lib.base.StaticNATRule.enable", "marvin.integration.lib.base.PublicIPAddress.create", "marvin.integration.lib.base.NetworkOffering.create"...
[((25923, 25959), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'intervlan']"}), "(tags=['advanced', 'intervlan'])\n", (25927, 25959), False, 'from nose.plugins.attrib import attr\n'), ((26998, 27034), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'intervlan']"}), "(tags=['advanced',...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Account.create" ]
[((1534, 1596), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'nuagevsp']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'nuagevsp'], required_hardware='false')\n", (1538, 1596), False, 'from nose.plugins.attrib import attr\n'), ((1226, 1325), 'marvin.lib.base.Account.create', 'Account.cr...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Router.reboot", "marvin.lib.utils.validateList", "marvin.lib.common.setSharedNetworkParams", "marvin.lib.base.NATRule.create", "marvin.lib.common.createEnabledNetworkOffering", "marvin.lib.utils.random_gen", "marvin.lib.base.Domain.create", "marvin.lib.base.NATRule.list", "marvin.li...
[((5212, 5268), 'marvin.lib.common.createEnabledNetworkOffering', 'createEnabledNetworkOffering', (['apiclient', 'networkServices'], {}), '(apiclient, networkServices)\n', (5240, 5268), False, 'from marvin.lib.common import get_domain, get_template, get_zone, setSharedNetworkParams, get_free_vlan, createEnabledNetworkO...
# mglearn_select_sample.py # # Created by <NAME> on 31 Mar 2017. from __future__ import division, print_function, absolute_import, unicode_literals import os import click from marvin import config from mglearn import selection @click.command() @click.option('--release', default=None) @click.option('--drpver', defa...
[ "marvin.config.lookUpRelease" ]
[((233, 248), 'click.command', 'click.command', ([], {}), '()\n', (246, 248), False, 'import click\n'), ((250, 289), 'click.option', 'click.option', (['"""--release"""'], {'default': 'None'}), "('--release', default=None)\n", (262, 289), False, 'import click\n'), ((291, 329), 'click.option', 'click.option', (['"""--drp...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.list_hosts", "marvin.lib.base.NATRule.create", "marvin.lib.utils.get_process_status", "marvin.cloudstackAPI.rebootRouter.rebootRouterCmd", "marvin.lib.common.list_nat_rules", "marvin.lib.base.StaticNATRule.enable", "marvin.lib.base.Router.list", "marvin.lib.base.VirtualMachine.list"...
[((2367, 2402), 'logging.getLogger', 'logging.getLogger', (['"""TestNetworkOps"""'], {}), "('TestNetworkOps')\n", (2384, 2402), False, 'import logging\n'), ((2420, 2443), 'logging.StreamHandler', 'logging.StreamHandler', ([], {}), '()\n', (2441, 2443), False, 'import logging\n'), ((4969, 5054), 'nose.plugins.attrib.att...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.ServiceOffering.create", "marvin.lib.common.list_service_offering", "marvin.lib.base.VirtualMachine.create", "marvin.lib.utils.random_gen", "marvin.cloudstackAPI.updateServiceOffering.updateServiceOfferingCmd", "mar...
[((2253, 2321), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'smoke', 'basic', 'eip', 'sg']"}), "(tags=['advanced', 'advancedns', 'smoke', 'basic', 'eip', 'sg'])\n", (2257, 2321), False, 'from nose.plugins.attrib import attr\n'), ((8160, 8228), 'nose.plugins.attrib.attr', 'attr', ([], {...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.common.list_snapshot_policy", "marvin.lib.utils.validateList", "marvin.lib.base.Configurations.update", "marvin.lib.base.Account.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.common.list_volumes", "marvin.lib.utils.cleanup_resources", "mar...
[((5258, 5316), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic'], required_hardware='true')\n", (5262, 5316), False, 'from nose.plugins.attrib import attr\n'), ((24980, 25038), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "...
# Licensed under a 3-clause BSD style license """ Marvin is a package intended to simply the access, exploration, and visualization of the MaNGA dataset for SDSS-IV. It provides a suite of Python tools, a web interface, and a REST-like API, under tools/, web/, and api/, respectively. Core functionality of Marvin stem...
[ "marvin.db.marvindb.MarvinDB", "marvin.marvindb.forceDbOff", "marvin.api.api.Interaction", "marvin.core.exceptions.MarvinError", "marvin.marvindb.forceDbOn" ]
[((1283, 1303), 'brain.core.logger.initLog', 'initLog', (['logFilePath'], {}), '(logFilePath)\n', (1290, 1303), False, 'from brain.core.logger import initLog\n'), ((1305, 1334), 'warnings.simplefilter', 'warnings.simplefilter', (['"""once"""'], {}), "('once')\n", (1326, 1334), False, 'import warnings\n'), ((1335, 1432)...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.cloudstackException.GetDetailExceptionInfo", "marvin.lib.utils.random_gen" ]
[((1268, 1330), 'logging.Formatter', 'logging.Formatter', (['"""%(asctime)s - %(levelname)s - %(message)s"""'], {}), "('%(asctime)s - %(levelname)s - %(message)s')\n", (1285, 1330), False, 'import logging\n'), ((2025, 2061), 'logging.getLogger', 'logging.getLogger', (['self.__loggerName'], {}), '(self.__loggerName)\n',...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.utils.cleanup_resources", "marvin.lib.utils.validateList", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.Host.list", "marvin.lib.base.Cluster.list", "marvin.lib.base.Host.update", "marvin.lib.base.VirtualMachine.create", "marvin.lib.base.Virtu...
[((6162, 6221), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""simulator only"""'}), "(tags=['advanced'], required_hardware='simulator only')\n", (6166, 6221), False, 'from nose.plugins.attrib import attr\n'), ((1815, 1841), 'marvin.lib.common.get_domain', 'get_domain', (['se...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.utils.cleanup_resources", "marvin.lib.utils.validateList", "marvin.lib.base.Iso.update", "marvin.lib.base.Iso.list", "marvin.lib.common.list_os_types", "marvin.lib.base.Account.create", "marvin.lib.base.Iso.copy", "marvin.lib.base.Zone.list", "marvin.lib...
[((5728, 5776), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'provisioning']"}), "(tags=['advanced', 'basic', 'provisioning'])\n", (5732, 5776), False, 'from nose.plugins.attrib import attr\n'), ((12550, 12598), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'provis...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Router.reboot", "marvin.lib.base.Network.list", "marvin.lib.utils.validateList", "marvin.lib.base.NATRule.create", "marvin.lib.common.wait_for_cleanup", "marvin.lib.common.list_networks", "marvin.cloudstackTestCase.unittest.skip", "marvin.lib.base.VpcOffering.list", "marvin.lib.base...
[((15250, 15300), 'ddt.data', 'data', (['"""network_offering"""', '"""network_offering_vpcns"""'], {}), "('network_offering', 'network_offering_vpcns')\n", (15254, 15300), False, 'from ddt import ddt, data\n'), ((15306, 15342), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'intervlan']"}), "(tags=['ad...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.integration.lib.common.get_domain", "marvin.integration.lib.base.Host.list", "marvin.integration.lib.base.ServiceOffering.create", "marvin.integration.lib.base.VirtualMachine.list", "marvin.integration.lib.base.Account.create", "marvin.integration.lib.utils.cleanup_resources", "marvin.integratio...
[((3119, 3170), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['simulator', 'advanced', 'basic', 'sg']"}), "(tags=['simulator', 'advanced', 'basic', 'sg'])\n", (3123, 3170), False, 'from nose.plugins.attrib import attr\n'), ((4554, 4605), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['simulator', 'advanced',...
# !usr/bin/env python2 # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2017-05-07 16:40:21 # @Last modified by: <NAME> # @Last Modified time: 2017-09-28 17:17:58 from __future__ import print_function, division, absolute_import from marvin.tests.api.conftest import Ap...
[ "marvin.tools.query.Query" ]
[((812, 828), 'pytest.fixture', 'pytest.fixture', ([], {}), '()\n', (826, 828), False, 'import pytest\n'), ((885, 901), 'pytest.fixture', 'pytest.fixture', ([], {}), '()\n', (899, 901), False, 'import pytest\n'), ((1184, 1279), 'pytest.mark.parametrize', 'pytest.mark.parametrize', (['"""page"""', "[('api', 'QueryView:i...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.createChecksum", "marvin.lib.utils.validateList", "marvin.lib.common.compareChecksum", "marvin.lib.base.Volume.create_from_snapshot", "marvin.lib.base.Snapshot.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.Configurations.update", "marvin.lib.base.ServiceOffering.cr...
[((8929, 8987), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'basic'], required_hardware='true')\n", (8933, 8987), False, 'from nose.plugins.attrib import attr\n'), ((2692, 2791), 'marvin.lib.base.Template.create_from_snapshot', 'Tem...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.Vpn.list", "marvin.lib.base.Vpn.create", "marvin.lib.base.VirtualMachine.create", "marvin.lib.common.get_template", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.b...
[((8157, 8194), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns']"}), "(tags=['advanced', 'advancedns'])\n", (8161, 8194), False, 'from nose.plugins.attrib import attr\n'), ((4450, 4476), 'marvin.lib.common.get_domain', 'get_domain', (['cls.api_client'], {}), '(cls.api_client)\n', (4460, 447...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.integration.lib.utils.random_gen" ]
[((1725, 1801), 'cloudstackConnection.cloudConnection', 'cloudstackConnection.cloudConnection', (['self.mgmtDetails', 'asyncTimeout', 'logger'], {}), '(self.mgmtDetails, asyncTimeout, logger)\n', (1761, 1801), False, 'import cloudstackConnection\n'), ((2794, 2809), 'configGenerator.ConfigManager', 'ConfigManager', ([],...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.VpcOffering.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.VPC.create", "marvin.lib.utils.random_gen", "marvin.lib.base.Domain.create", "marvin.cloudstackAPI.createVPCOffering.createVPCOfferingCmd", "marvin.cloudstackAPI.listVPCOfferings.listVPCOfferingsCmd", "marvin....
[((4542, 4641), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'basic', 'eip', 'sg', 'advancedns', 'smoke']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'basic', 'eip', 'sg', 'advancedns', 'smoke'],\n required_hardware='false')\n", (4546, 4641), False, 'from nose.plugins.attrib import...
#!/usr/bin/env python # encoding: utf-8 # Licensed under a 3-clause BSD license. # from __future__ import print_function from marvin.core.exceptions import MarvinError, MarvinUserWarning, MarvinBreadCrumb from marvin.tools.cube import Cube from marvin.tools.maps import Maps from marvin.tools.rss import RSS from marvi...
[ "marvin.tools.maps.Maps", "marvin.utils.general.downloadList", "marvin.utils.general.map_bins_to_column", "marvin.core.marvin_pickle.restore", "marvin.tools.rss.RSS", "marvin.core.exceptions.MarvinUserWarning", "marvin.tools.modelcube.ModelCube", "marvin.api.api.Interaction", "marvin.core.exceptions...
[((1279, 1297), 'marvin.core.exceptions.MarvinBreadCrumb', 'MarvinBreadCrumb', ([], {}), '()\n', (1295, 1297), False, 'from marvin.core.exceptions import MarvinError, MarvinUserWarning, MarvinBreadCrumb\n'), ((1394, 1404), 'functools.wraps', 'wraps', (['fxn'], {}), '(fxn)\n', (1399, 1404), False, 'from functools import...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Network.list", "marvin.lib.utils.random_gen", "marvin.lib.base.Domain.create", "marvin.lib.base.Project.create", "marvin.lib.base.Network.delete", "marvin.lib.base.VpcOffering.create", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.VPC.create", "marvin.lib.base.Network.c...
[((12612, 12662), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""false"""'}), "(tags=['advanced'], required_hardware='false')\n", (12616, 12662), False, 'from nose.plugins.attrib import attr\n'), ((13993, 14043), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: <NAME>, <NAME>, and <NAME> # @Date: 2018-07-20 # @Filename: test_quantities.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) # # @Last modified by: andrews # @Last modified time: 2018-10-19 14:10:15 import matplotlib import nump...
[ "marvin.tools.quantities.Spectrum", "marvin.tools.quantities.DataCube" ]
[((472, 560), 'astropy.units.Unit', 'u.Unit', (['"""spaxel"""'], {'represents': 'u.pixel', 'doc': '"""A spectral pixel"""', 'parse_strict': '"""silent"""'}), "('spaxel', represents=u.pixel, doc='A spectral pixel', parse_strict=\n 'silent')\n", (478, 560), True, 'from astropy import units as u\n'), ((559, 591), 'pyte...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Volume.delete", "marvin.lib.common.list_service_offering", "marvin.lib.utils.random_gen", "marvin.lib.base.VmSnapshot.list", "marvin.lib.base.Template.delete", "marvin.lib.common.list_zones", "marvin.lib.base.VmSnapshot.create", "marvin.cloudstackAPI.resizeVolume.resizeVolumeCmd", "...
[((12928, 13000), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns', 'smoke'], required_hardware='true')\n", (12932, 13000), False, 'from nose.plugins.attrib import attr\n'), ((14631, 14703), 'nose.plugins.attri...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Account.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.ServiceOffering.create", "marvin.lib.common.list_virtual_machines", "marvin.lib.base.VirtualMachine.create", "marvin.lib.common.get_test_template" ]
[((3078, 3156), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['devcloud', 'basic', 'advanced', 'post']", 'required_hardware': '"""true"""'}), "(tags=['devcloud', 'basic', 'advanced', 'post'], required_hardware='true')\n", (3082, 3156), False, 'from nose.plugins.attrib import attr\n'), ((4142, 4212), 'nose.plugins...
#!/usr/bin/env python # encoding: utf-8 # Created by <NAME> on 2016-05-10 20:17:52 # Licensed under a 3-clause BSD license. # Revision History: # Initial Version: 2016-05-10 20:17:52 by <NAME> # Last Modified On: 2016-05-10 20:17:52 by Brian from __future__ import absolute_import, division, print_function ...
[ "marvin.utils.general.getWCSFromPng", "marvin.tools.maps.Maps", "marvin.tools.mixins.MMAMixIn.__init__", "marvin.utils.general.target_is_mastar", "marvin.utils.general.Cutout", "marvin.core.exceptions.MarvinError", "marvin.tools.cube.Cube", "marvin.utils.general.check_versions", "marvin.utils.genera...
[((1903, 2077), 'marvin.tools.mixins.MMAMixIn.__init__', 'MMAMixIn.__init__', (['self'], {'input': 'input', 'filename': 'filename', 'mangaid': 'mangaid', 'plateifu': 'plateifu', 'mode': 'mode', 'data': 'data', 'release': 'release', 'download': 'download', 'ignore_db': '(True)'}), '(self, input=input, filename=filename,...
#!/usr/bin/env python # -*- coding: utf-8 -*- # # @Author: <NAME>, <NAME>, and <NAME> # @Date: 2017-11-01 # @Filename: modelcube.py # @License: BSD 3-clause (http://www.opensource.org/licenses/BSD-3-Clause) # # @Last modified by: <NAME> (<EMAIL>) # @Last modified time: 2018-11-14 11:48:16 from __future__ import absol...
[ "marvin.tools.quantities.Map", "marvin.utils.general.gunzip", "marvin.tools.maps.Maps._check_versions", "marvin.config.lookUpVersions", "marvin.utils.general.general.getSpaxel", "marvin.tools.quantities.Spectrum", "marvin.tools.maps.Maps", "marvin.config.lookUpRelease", "marvin.core.exceptions.Marvi...
[((3346, 3386), 'distutils.version.StrictVersion', 'distutils.version.StrictVersion', (['"""2.0.2"""'], {}), "('2.0.2')\n", (3377, 3386), False, 'import distutils\n'), ((4393, 4437), 'marvin.tools.maps.Maps._check_versions', 'marvin.tools.maps.Maps._check_versions', (['self'], {}), '(self)\n', (4431, 4437), False, 'imp...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Router.reboot", "marvin.lib.base.Network.list", "marvin.lib.utils.validateList", "marvin.lib.common.wait_for_cleanup", "marvin.lib.common.createEnabledNetworkOffering", "marvin.lib.base.NetworkOffering.update", "marvin.lib.common.createNetworkRulesForVM", "marvin.lib.base.Network.upda...
[((2902, 2958), 'marvin.lib.base.Network.list', 'Network.list', (['self.apiclient'], {'id': 'networkid', 'listall': '(True)'}), '(self.apiclient, id=networkid, listall=True)\n', (2914, 2958), False, 'from marvin.lib.base import Account, Network, VirtualMachine, Router, ServiceOffering, NetworkOffering\n'), ((3398, 3620...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.integration.lib.base.SecurityGroup.list", "marvin.integration.lib.common.get_domain", "marvin.cloudstackAPI.revokeSecurityGroupIngress.revokeSecurityGroupIngressCmd", "marvin.integration.lib.base.VirtualMachine.list", "marvin.integration.lib.base.Account.create", "marvin.integration.lib.base.Secur...
[((4254, 4279), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advancedsg']"}), "(tags=['advancedsg'])\n", (4258, 4279), False, 'from nose.plugins.attrib import attr\n'), ((4833, 4858), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advancedsg']"}), "(tags=['advancedsg'])\n", (4837, 4858), False, 'from nose...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.base.Zone", "marvin.lib.base.Configurations.update", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.NetworkOffering.create", "marvin.lib.base.Account.list", "marvin.lib.utils.cleanup_resources", "marvin.lib.common.matchResourceCount", "marvin.l...
[((7066, 7130), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedsg']", 'required_hardware': '"""false"""'}), "(tags=['advanced', 'advancedsg'], required_hardware='false')\n", (7070, 7130), False, 'from nose.plugins.attrib import attr\n'), ((10839, 10903), 'nose.plugins.attrib.attr', 'attr', ([]...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.base.VmSnapshot.create", "marvin.lib.base.Account.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.VmSnapshot.revertToSnapshot", "marvin.lib.base.Host.list", "marvin.lib.base.Template.register", "mar...
[((6245, 6317), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'smoke']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns', 'smoke'], required_hardware='true')\n", (6249, 6317), False, 'from nose.plugins.attrib import attr\n'), ((7606, 7678), 'nose.plugins.attrib.attr...
# !usr/bin/env python # -*- coding: utf-8 -*- # # Licensed under a 3-clause BSD license. # # @Author: <NAME> # @Date: 2018-07-17 23:36:37 # @Last modified by: <NAME> # @Last Modified time: 2018-07-19 15:44:42 from __future__ import print_function, division, absolute_import from collections import defaultdict from...
[ "marvin.contrib.vacs.base.VACMixIn.__subclasses__" ]
[((463, 488), 'marvin.contrib.vacs.base.VACMixIn.__subclasses__', 'VACMixIn.__subclasses__', ([], {}), '()\n', (486, 488), False, 'from marvin.contrib.vacs.base import VACMixIn\n'), ((553, 570), 'collections.defaultdict', 'defaultdict', (['list'], {}), '(list)\n', (564, 570), False, 'from collections import defaultdict...
#!/usr/bin/env python # encoding: utf-8 # # Licensed under a 3-clause BSD license. # # # map.py # # Created by <NAME> on 28 Apr 2017. # # Includes code from mangadap.plot.maps.py licensed under the following 3-clause # BSD license. # # Copyright (c) 2015, SDSS-IV/MaNGA Pipeline Group # # All rights reserved. # # Redist...
[ "marvin.utils.plot.colorbar._one_color_cmap", "marvin.utils.plot.colorbar._draw_colorbar", "marvin.config.lookUpVersions", "marvin.utils.general.maskbit.Maskbit", "marvin.utils.plot.colorbar._set_vmin_vmax", "marvin.utils.plot.colorbar._set_cbrange", "marvin.utils.general.get_plot_params", "marvin.uti...
[((3544, 3577), 'numpy.zeros', 'np.zeros', (['value.shape'], {'dtype': 'bool'}), '(value.shape, dtype=bool)\n', (3552, 3577), True, 'import numpy as np\n'), ((4127, 4160), 'numpy.zeros', 'np.zeros', (['value.shape'], {'dtype': 'bool'}), '(value.shape, dtype=bool)\n', (4135, 4160), True, 'import numpy as np\n'), ((14502...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.base.Project.list", "marvin.lib.utils.cleanup_resources", "marvin.lib.utils.validateList", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.Volume.create", "marvin.lib.base.Account.list", "marvin.lib.base.Project.create", "marvin.lib.base.Virtual...
[((6420, 6458), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'selfservice']"}), "(tags=['advanced', 'selfservice'])\n", (6424, 6458), False, 'from nose.plugins.attrib import attr\n'), ((8907, 8945), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'selfservice']"}), "(tags=['advanced',...
#!/usr/bin/env python # encoding: utf-8 ''' Created by <NAME> on 2016-05-02 16:16:27 Licensed under a 3-clause BSD license. Revision History: Initial Version: 2016-05-02 16:16:27 by <NAME> Last Modified On: 2016-05-02 16:16:27 by Brian ''' from __future__ import print_function from __future__ import division...
[ "marvin.config._mpldict.keys", "marvin.config.lookUpVersions" ]
[((1480, 1502), 'marvin.config._mpldict.keys', 'config._mpldict.keys', ([], {}), '()\n', (1500, 1502), False, 'from marvin import config\n'), ((1765, 1810), 'marvin.config.lookUpVersions', 'config.lookUpVersions', ([], {'release': 'config.release'}), '(release=config.release)\n', (1786, 1810), False, 'from marvin impor...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.base.VpcOffering.create", "marvin.lib.decoratorGenerators.skipTestIf", "marvin.lib.base.NetworkOffering.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.VPC.create", "marvin.lib.base.Network.create", ...
[((6581, 6617), 'marvin.lib.decoratorGenerators.skipTestIf', 'skipTestIf', (['"""hypervisorNotSupported"""'], {}), "('hypervisorNotSupported')\n", (6591, 6617), False, 'from marvin.lib.decoratorGenerators import skipTestIf\n'), ((6623, 6699), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'smoke', 'nat...
#!/usr/bin/env python # encoding: utf-8 # # modelcube.py # # Licensed under a 3-clause BSD license. # # Revision history: # 25 Sep 2016 <NAME> # Initial version from __future__ import division, print_function import json import os from flask import Response, jsonify from flask_classful import route from ...
[ "marvin.utils.general.mangaid2plateifu", "marvin.config.lookUpVersions", "marvin.tools.modelcube.ModelCube", "marvin.api.base.arg_validate.check_args", "marvin.utils.general.parseIdentifier", "marvin.core.exceptions.MarvinError" ]
[((843, 873), 'marvin.config.lookUpVersions', 'config.lookUpVersions', (['release'], {}), '(release)\n', (864, 873), False, 'from marvin import config\n'), ((2780, 2898), 'flask_classful.route', 'route', (['"""/<name>/"""'], {'defaults': "{'bintype': None, 'template': None}", 'methods': "['GET', 'POST']", 'endpoint': '...
import glob from google.colab import drive import time import colab_env from colab_env import envvar_handler import os from marvin import config def mount_drive(): drive.mount("/content/gdrive", force_remount = True) def check_mount_status(): files = [] start_time = time.time() while len(files) == 0...
[ "marvin.config.setRelease", "marvin.config.login" ]
[((170, 220), 'google.colab.drive.mount', 'drive.mount', (['"""/content/gdrive"""'], {'force_remount': '(True)'}), "('/content/gdrive', force_remount=True)\n", (181, 220), False, 'from google.colab import drive\n'), ((283, 294), 'time.time', 'time.time', ([], {}), '()\n', (292, 294), False, 'import time\n'), ((522, 533...
import unittest from marvin.utils.MarvinLog import MarvinLog class TestMarvinLog(unittest.TestCase): def test_create_marvin_log_with_name(self): name = 'test-log' marvin_log = MarvinLog(name) self.assertIsNotNone(marvin_log) self.assertEquals(name, marvin_log.get_logger().name) ...
[ "marvin.utils.MarvinLog.MarvinLog" ]
[((566, 581), 'unittest.main', 'unittest.main', ([], {}), '()\n', (579, 581), False, 'import unittest\n'), ((199, 214), 'marvin.utils.MarvinLog.MarvinLog', 'MarvinLog', (['name'], {}), '(name)\n', (208, 214), False, 'from marvin.utils.MarvinLog import MarvinLog\n'), ((397, 408), 'marvin.utils.MarvinLog.MarvinLog', 'Mar...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.common.get_domain", "marvin.lib.common.get_builtin_template_info", "marvin.lib.base.Project.list", "marvin.lib.utils.validateList", "marvin.lib.base.ServiceOffering.create", "marvin.lib.base.Template.register", "marvin.lib.common.matchResourceCount", "marvin.lib.base.Project.create", "ma...
[((7129, 7178), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'required_hardware': '"""true"""'}), "(tags=['advanced'], required_hardware='true')\n", (7133, 7178), False, 'from nose.plugins.attrib import attr\n'), ((8730, 8779), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced']", 'requ...
#!/usr/bin/env python # encoding: utf-8 ''' Created by <NAME> on 2016-04-29 01:15:33 Licensed under a 3-clause BSD license. Revision History: Initial Version: 2016-04-29 01:15:33 by <NAME> Last Modified On: 2016-04-29 01:15:33 by Brian ''' from __future__ import print_function from __future__ import division...
[ "marvin.utils.general.getRandomImages", "marvin.web.web_utils.buildImageDict" ]
[((676, 710), 'flask.Blueprint', 'Blueprint', (['"""images_page"""', '__name__'], {}), "('images_page', __name__)\n", (685, 710), False, 'from flask import Blueprint, render_template, request\n'), ((1136, 1171), 'flask_classful.route', 'route', (['"""/"""'], {'methods': "['GET', 'POST']"}), "('/', methods=['GET', 'POST...
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
[ "marvin.lib.base.Network.list", "marvin.lib.base.NATRule.create", "marvin.lib.common.list_nat_rules", "marvin.lib.base.Router.list", "marvin.lib.base.VirtualMachine.list", "marvin.lib.base.PublicIPAddress.create", "marvin.lib.utils.cleanup_resources", "marvin.lib.base.FireWallRule.create", "marvin.l...
[((5031, 5101), 'nose.plugins.attrib.attr', 'attr', ([], {'tags': "['advanced', 'advancedns', 'ssh']", 'required_hardware': '"""true"""'}), "(tags=['advanced', 'advancedns', 'ssh'], required_hardware='true')\n", (5035, 5101), False, 'from nose.plugins.attrib import attr\n'), ((13913, 13983), 'nose.plugins.attrib.attr',...