text
stringlengths
0
1.05M
meta
dict
'''Arsenal API Db Reports.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/reports/db.py", "copies": "1", "size": "2149", "license": "apache-2.0", "hash": -8702274184045836000, "line_mean": 34.2295081967, "line_max": 258, "alpha_frac": 0.6947417403, "autogenerated": false, "ratio": 3.454983922829582,...
'''Arsenal API ec2_instance.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/ec2_instances.py", "copies": "1", "size": "6789", "license": "apache-2.0", "hash": 916379930126695700, "line_mean": 33.2878787879, "line_max": 112, "alpha_frac": 0.5759316541, "autogenerated": false, "ratio": 4.045887961859356...
'''Arsenal API ENC for puppet.''' # Copyright 2015 CityGrid Media, LLC # # 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 requ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/enc.py", "copies": "1", "size": "5630", "license": "apache-2.0", "hash": 3331748297912140300, "line_mean": 32.1176470588, "line_max": 86, "alpha_frac": 0.6150976909, "autogenerated": false, "ratio": 3.840381991814461, "confi...
'''Arsenal API hardware_profiles.''' # Copyright 2015 CityGrid Media, LLC # # 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 r...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/hardware_profiles.py", "copies": "1", "size": "6297", "license": "apache-2.0", "hash": 3949316808963697700, "line_mean": 35.8245614035, "line_max": 116, "alpha_frac": 0.5602667937, "autogenerated": false, "ratio": 4.7488687782...
'''Arsenal API hypervisor_vm_assignments.''' # Copyright 2015 CityGrid Media, LLC # # 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 # # ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/hypervisor_vm_assignments.py", "copies": "1", "size": "6522", "license": "apache-2.0", "hash": 7282204172557788000, "line_mean": 39.2592592593, "line_max": 124, "alpha_frac": 0.5550444649, "autogenerated": false, "ratio": 4.35...
'''Arsenal API IpAddresses.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/ip_addresses.py", "copies": "1", "size": "8295", "license": "apache-2.0", "hash": 6378957677813578000, "line_mean": 34.1483050847, "line_max": 117, "alpha_frac": 0.5860156721, "autogenerated": false, "ratio": 3.953765490943756...
'''Arsenal API network_interfaces.''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/network_interfaces.py", "copies": "1", "size": "15163", "license": "apache-2.0", "hash": 2533437066470021600, "line_mean": 37.4847715736, "line_max": 131, "alpha_frac": 0.4971311746, "autogenerated": false, "ratio": 4.52762018...
'''Arsenal API node_groups.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/node_groups.py", "copies": "1", "size": "10846", "license": "apache-2.0", "hash": -4905445956066552000, "line_mean": 37.0561403509, "line_max": 117, "alpha_frac": 0.4905956113, "autogenerated": false, "ratio": 4.64099272571673...
'''Arsenal API Node Reports.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/reports/nodes.py", "copies": "1", "size": "3979", "license": "apache-2.0", "hash": -7662446073656668000, "line_mean": 33.3017241379, "line_max": 87, "alpha_frac": 0.6290525258, "autogenerated": false, "ratio": 3.90098039215686...
'''Arsenal API nodes.''' # Copyright 2015 CityGrid Media, LLC # # 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 a...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/nodes.py", "copies": "1", "size": "29928", "license": "apache-2.0", "hash": -8074374314148506000, "line_mean": 37.7166882277, "line_max": 105, "alpha_frac": 0.5367882919, "autogenerated": false, "ratio": 4.314878892733564, "...
'''Arsenal API OperatingSystems.''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/operating_systems.py", "copies": "1", "size": "8680", "license": "apache-2.0", "hash": 8603424127052589000, "line_mean": 41.7586206897, "line_max": 116, "alpha_frac": 0.4620967742, "autogenerated": false, "ratio": 5.7943925233...
'''Arsenal API physical_devices.''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/physical_devices.py", "copies": "1", "size": "14318", "license": "apache-2.0", "hash": -2471233858432600000, "line_mean": 38.1202185792, "line_max": 127, "alpha_frac": 0.5998742841, "autogenerated": false, "ratio": 4.434190151...
'''Arsenal API physical_elevations.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/physical_elevations.py", "copies": "1", "size": "9810", "license": "apache-2.0", "hash": -5734323972257057000, "line_mean": 37.023255814, "line_max": 133, "alpha_frac": 0.5935779817, "autogenerated": false, "ratio": 4.45099818...
'''Arsenal API physical_locations.''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/physical_locations.py", "copies": "1", "size": "9526", "license": "apache-2.0", "hash": -565221042085662140, "line_mean": 35.6384615385, "line_max": 131, "alpha_frac": 0.6003569179, "autogenerated": false, "ratio": 4.339863325...
'''Arsenal API physical_racks.''' # Copyright 2015 CityGrid Media, LLC # # 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 requ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/physical_racks.py", "copies": "1", "size": "9123", "license": "apache-2.0", "hash": 8071032369362400000, "line_mean": 34.4980544747, "line_max": 123, "alpha_frac": 0.5875260331, "autogenerated": false, "ratio": 4.1791113147045...
'''Arsenal API Stale Node Reports.''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/reports/stale_nodes.py", "copies": "1", "size": "2600", "license": "apache-2.0", "hash": 7674413253310664000, "line_mean": 35.6197183099, "line_max": 89, "alpha_frac": 0.6307692308, "autogenerated": false, "ratio": 3.969465648...
'''Arsenal API Statuses.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/statuses.py", "copies": "1", "size": "8546", "license": "apache-2.0", "hash": 2013887788802997500, "line_mean": 33.4596774194, "line_max": 107, "alpha_frac": 0.5655277323, "autogenerated": false, "ratio": 4.245404868355688, ...
'''Arsenal API Tags.''' # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/tags.py", "copies": "1", "size": "11747", "license": "apache-2.0", "hash": -6757348908973448000, "line_mean": 34.9235474006, "line_max": 103, "alpha_frac": 0.5421809824, "autogenerated": false, "ratio": 4.066112841813776, "c...
'''Arsenal API testing.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/api/testing.py", "copies": "1", "size": "1764", "license": "apache-2.0", "hash": -4126081280555981300, "line_mean": 28.4, "line_max": 77, "alpha_frac": 0.6989795918, "autogenerated": false, "ratio": 3.4186046511627906, "config_t...
'''Arsenal audit routes singleton object types.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/singleton_audit.py", "copies": "1", "size": "4654", "license": "apache-2.0", "hash": 8719510976555855000, "line_mean": 40.5535714286, "line_max": 122, "alpha_frac": 0.6334336055, "autogenerated": false, "ratio": 3.7172523961661343...
'''Arsenal Authorization class.''' # # Copyright 2015 CityGrid Media, LLC # # 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 r...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/authorization.py", "copies": "1", "size": "6734", "license": "apache-2.0", "hash": 8484785641132507000, "line_mean": 33.3571428571, "line_max": 92, "alpha_frac": 0.5555390555, "autogenerated": false, "ratio": 4.498329993319973, "co...
'''Arsenal client common command line helper functions. These functions support the functions that are called directly by args.func() to invoke the appropriate action. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except i...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/common.py", "copies": "1", "size": "9907", "license": "apache-2.0", "hash": 1944338588494474500, "line_mean": 30.7532051282, "line_max": 92, "alpha_frac": 0.5025739376, "autogenerated": false, "ratio": 4.224733475479744, "confi...
'''Arsenal client data_center command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/data_center.py", "copies": "1", "size": "4769", "license": "apache-2.0", "hash": 6053498102539625000, "line_mean": 30.582781457, "line_max": 91, "alpha_frac": 0.6173201929, "autogenerated": false, "ratio": 3.72869429241595, "co...
'''Arsenal client DataCenters class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface LOG = logging.getLogger(__name__) class DataCenters(ArsenalInterface): '''The arsenal client DataCenters class.''' def __init__(self, **kwargs): super(DataCenters, self).__ini...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/data_centers.py", "copies": "1", "size": "2395", "license": "apache-2.0", "hash": 2869841411564283000, "line_mean": 24.752688172, "line_max": 84, "alpha_frac": 0.5670146138, "autogenerated": false, "ratio": 4.10806174957118...
'''Arsenal client data_centers command line parser''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/data_centers.py", "copies": "1", "size": "5126", "license": "apache-2.0", "hash": 5291552701263042000, "line_mean": 41.7166666667, "line_max": 100, "alpha_frac": 0.5487709715, "autogenerated": false, "ratio": 4.415159345391904...
'''Arsenal client interface''' # # Copyright 2015 CityGrid Media, LLC # # 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 requi...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/arsenal_interface.py", "copies": "1", "size": "10982", "license": "apache-2.0", "hash": -7728949540241081000, "line_mean": 36.3537414966, "line_max": 90, "alpha_frac": 0.4999089419, "autogenerated": false, "ratio": 4.844287...
'''Arsenal client ip_address command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may n...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/ip_address.py", "copies": "1", "size": "2103", "license": "apache-2.0", "hash": 5321466039210395000, "line_mean": 30.8636363636, "line_max": 94, "alpha_frac": 0.6514503091, "autogenerated": false, "ratio": 3.9754253308128544, "...
'''Arsenal client ip_addresses command line parser''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENS...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/ip_addresses.py", "copies": "1", "size": "2807", "license": "apache-2.0", "hash": 1748188771795819500, "line_mean": 40.8955223881, "line_max": 100, "alpha_frac": 0.5557534735, "autogenerated": false, "ratio": 4.399686520376176...
'''Arsenal client network_interface command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # yo...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/network_interface.py", "copies": "1", "size": "2127", "license": "apache-2.0", "hash": 1832593069079260000, "line_mean": 30.7462686567, "line_max": 92, "alpha_frac": 0.654913023, "autogenerated": false, "ratio": 4.020793950850662...
'''Arsenal client network_interfaces command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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/...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/network_interfaces.py", "copies": "1", "size": "2887", "license": "apache-2.0", "hash": -1828501700801208300, "line_mean": 42.0895522388, "line_max": 100, "alpha_frac": 0.568063734, "autogenerated": false, "ratio": 4.525078369...
'''Arsenal client node command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/node.py", "copies": "1", "size": "8848", "license": "apache-2.0", "hash": 5048392682679556000, "line_mean": 30.1549295775, "line_max": 95, "alpha_frac": 0.5774186257, "autogenerated": false, "ratio": 3.8039552880481513, "config...
'''Arsenal client node_group command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may n...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/node_group.py", "copies": "1", "size": "4899", "license": "apache-2.0", "hash": -2002702253426868500, "line_mean": 31.66, "line_max": 97, "alpha_frac": 0.600122474, "autogenerated": false, "ratio": 3.791795665634675, "config_te...
'''Arsenal client NodeGroups class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface LOG = logging.getLogger(__name__) class NodeGroups(ArsenalInterface): '''The arsenal client NodeGroups class.''' def __init__(self, **kwargs): super(NodeGroups, self).__init__(...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/node_groups.py", "copies": "1", "size": "6171", "license": "apache-2.0", "hash": -4951871726355318000, "line_mean": 27.7023255814, "line_max": 91, "alpha_frac": 0.5404310485, "autogenerated": false, "ratio": 4.1979591836734...
'''Arsenal client node_groups command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/node_groups.py", "copies": "1", "size": "5738", "license": "apache-2.0", "hash": -4243693504866415600, "line_mean": 42.4696969697, "line_max": 100, "alpha_frac": 0.5355524573, "autogenerated": false, "ratio": 4.434312210200927...
'''Arsenal client Nodes class.''' import os import re import subprocess import logging from arsenalclient.authorization import check_root from arsenalclient.interface.arsenal_interface import ArsenalInterface from arsenalclient.arsenal_facts import ArsenalFacts LOG = logging.getLogger(__name__) class Nodes(ArsenalIn...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/nodes.py", "copies": "1", "size": "11602", "license": "apache-2.0", "hash": -3541024768666615300, "line_mean": 31.6816901408, "line_max": 97, "alpha_frac": 0.5200827444, "autogenerated": false, "ratio": 4.245151847786316, ...
'''Arsenal client nodes command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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 #...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/nodes.py", "copies": "1", "size": "6854", "license": "apache-2.0", "hash": -5170428775422378000, "line_mean": 41.5714285714, "line_max": 100, "alpha_frac": 0.5068573096, "autogenerated": false, "ratio": 4.584615384615384, "c...
'''Arsenal client physical_device command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/physical_device.py", "copies": "1", "size": "12176", "license": "apache-2.0", "hash": -3821003417314332700, "line_mean": 33.106442577, "line_max": 100, "alpha_frac": 0.5767904074, "autogenerated": false, "ratio": 4.05461205461205...
'''Arsenal client PhysicalDevices class.''' import logging from arsenalclient.exceptions import NoResultFound from arsenalclient.interface.arsenal_interface import ArsenalInterface LOG = logging.getLogger(__name__) class PhysicalDevices(ArsenalInterface): '''The arsenal client PhysicalDevices class.''' def _...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/physical_devices.py", "copies": "1", "size": "4086", "license": "apache-2.0", "hash": -1589771902121644500, "line_mean": 28.8248175182, "line_max": 91, "alpha_frac": 0.5746451297, "autogenerated": false, "ratio": 4.15243902...
'''Arsenal client physical_devices command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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/LI...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/physical_devices.py", "copies": "1", "size": "9444", "license": "apache-2.0", "hash": -8187935576948143000, "line_mean": 42.3211009174, "line_max": 98, "alpha_frac": 0.527742482, "autogenerated": false, "ratio": 4.806106870229...
'''Arsenal client physical_elevation command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # y...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/physical_elevation.py", "copies": "1", "size": "5293", "license": "apache-2.0", "hash": 151336408412449180, "line_mean": 31.472392638, "line_max": 95, "alpha_frac": 0.614018515, "autogenerated": false, "ratio": 4.074672825250192,...
'''Arsenal client PhysicalElevations class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface from arsenalclient.exceptions import NoResultFound LOG = logging.getLogger(__name__) class PhysicalElevations(ArsenalInterface): '''The arsenal client PhysicalElevations class.''' ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/physical_elevations.py", "copies": "1", "size": "4647", "license": "apache-2.0", "hash": -2430379858394731000, "line_mean": 30.612244898, "line_max": 83, "alpha_frac": 0.5769313536, "autogenerated": false, "ratio": 4.178956...
'''Arsenal client physical_elevations command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/physical_elevations.py", "copies": "1", "size": "5485", "license": "apache-2.0", "hash": -7804064074968614000, "line_mean": 39.9328358209, "line_max": 98, "alpha_frac": 0.5371011851, "autogenerated": false, "ratio": 4.78204010...
'''Arsenal client physical_location command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # yo...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/physical_location.py", "copies": "1", "size": "6607", "license": "apache-2.0", "hash": 7080894601636082000, "line_mean": 32.538071066, "line_max": 98, "alpha_frac": 0.6125321629, "autogenerated": false, "ratio": 3.946833930704898...
'''Arsenal client PhysicalLocations class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface LOG = logging.getLogger(__name__) class PhysicalLocations(ArsenalInterface): '''The arsenal client PhysicalLocations class.''' def __init__(self, **kwargs): super(Physic...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/physical_locations.py", "copies": "1", "size": "3284", "license": "apache-2.0", "hash": -4711640525385563000, "line_mean": 27.0683760684, "line_max": 90, "alpha_frac": 0.5624238733, "autogenerated": false, "ratio": 4.309711...
'''Arsenal client physical_locations command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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/...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/physical_locations.py", "copies": "1", "size": "8292", "license": "apache-2.0", "hash": 6258486483178088000, "line_mean": 42.873015873, "line_max": 98, "alpha_frac": 0.5267727931, "autogenerated": false, "ratio": 4.84628872004...
'''Arsenal client physical_rack command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you ma...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/physical_rack.py", "copies": "1", "size": "5906", "license": "apache-2.0", "hash": 3653607186209441000, "line_mean": 30.752688172, "line_max": 87, "alpha_frac": 0.5985438537, "autogenerated": false, "ratio": 3.8601307189542484, ...
'''Arsenal client PhysicalRacks class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface from arsenalclient.exceptions import NoResultFound LOG = logging.getLogger(__name__) class PhysicalRacks(ArsenalInterface): '''The arsenal client PhysicalRacks class.''' def __init_...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/physical_racks.py", "copies": "1", "size": "4165", "license": "apache-2.0", "hash": 2734161379985650700, "line_mean": 29.1811594203, "line_max": 93, "alpha_frac": 0.53757503, "autogenerated": false, "ratio": 4.2982456140350...
'''Arsenal client physical_racks command line parser''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICE...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/physical_racks.py", "copies": "1", "size": "4950", "license": "apache-2.0", "hash": 8570557374262896000, "line_mean": 39.243902439, "line_max": 98, "alpha_frac": 0.5507070707, "autogenerated": false, "ratio": 4.471544715447155...
'''Arsenal client register command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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....
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/register.py", "copies": "1", "size": "1203", "license": "apache-2.0", "hash": 7294668129366622000, "line_mean": 37.8064516129, "line_max": 79, "alpha_frac": 0.6816292602, "autogenerated": false, "ratio": 3.9185667752442996, ...
'''Arsenal client status command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not u...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/status.py", "copies": "1", "size": "2649", "license": "apache-2.0", "hash": 5479448015066096000, "line_mean": 30.9156626506, "line_max": 97, "alpha_frac": 0.6281615704, "autogenerated": false, "ratio": 3.9894578313253013, "conf...
'''Arsenal client Statuses class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface from arsenalclient.exceptions import NoResultFound LOG = logging.getLogger(__name__) class Statuses(ArsenalInterface): '''The arsenal client Statuses class.''' def __init__(self, **kwarg...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/statuses.py", "copies": "1", "size": "4158", "license": "apache-2.0", "hash": 3813897269108759600, "line_mean": 27.2857142857, "line_max": 98, "alpha_frac": 0.5555555556, "autogenerated": false, "ratio": 4.313278008298755, ...
'''Arsenal client statuses command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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....
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/statuses.py", "copies": "1", "size": "3065", "license": "apache-2.0", "hash": -189609769788920640, "line_mean": 40.9863013699, "line_max": 99, "alpha_frac": 0.5634584013, "autogenerated": false, "ratio": 4.487554904831625, "...
'''Arsenal client tag command line helpers. These functions are called directly by args.func() to invoke the appropriate action. They also handle output formatting to the commmand line. ''' # # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/cli/tag.py", "copies": "1", "size": "2928", "license": "apache-2.0", "hash": 958740324206589400, "line_mean": 26.3644859813, "line_max": 83, "alpha_frac": 0.6328551913, "autogenerated": false, "ratio": 3.678391959798995, "config_te...
'''Arsenal client Tags class.''' import logging from arsenalclient.interface.arsenal_interface import ArsenalInterface from arsenalclient.exceptions import NoResultFound LOG = logging.getLogger(__name__) class Tags(ArsenalInterface): '''The arsenal client Tags class.''' def __init__(self, **kwargs): ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/interface/tags.py", "copies": "1", "size": "6469", "license": "apache-2.0", "hash": 6039443982611251000, "line_mean": 29.8047619048, "line_max": 88, "alpha_frac": 0.5294481373, "autogenerated": false, "ratio": 4.157455012853471, "c...
'''Arsenal client tags command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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 # ...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/tags.py", "copies": "1", "size": "4375", "license": "apache-2.0", "hash": -2455122732533759000, "line_mean": 38.4144144144, "line_max": 99, "alpha_frac": 0.536, "autogenerated": false, "ratio": 4.42366026289181, "config_test...
'''Arsenal client UID command line parser''' # # Copyright 2015 CityGrid Media, LLC # # 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 # #...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/parser/uid.py", "copies": "1", "size": "1182", "license": "apache-2.0", "hash": 4091396662163528700, "line_mean": 38.4, "line_max": 75, "alpha_frac": 0.6734348562, "autogenerated": false, "ratio": 3.7884615384615383, "config_test":...
'''Arsenal common DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/common.py", "copies": "1", "size": "14759", "license": "apache-2.0", "hash": 2864046689607062500, "line_mean": 34.0570071259, "line_max": 96, "alpha_frac": 0.5366217223, "autogenerated": false, "ratio": 4.63536432160804, "confi...
'''Arsenal data_centers DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/data_centers.py", "copies": "1", "size": "3125", "license": "apache-2.0", "hash": 594985754293032200, "line_mean": 30.887755102, "line_max": 83, "alpha_frac": 0.57376, "autogenerated": false, "ratio": 4.352367688022284, "config...
'''Arsenal data_centers UI''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/data_centers.py", "copies": "1", "size": "3106", "license": "apache-2.0", "hash": -8721439121784910000, "line_mean": 30.06, "line_max": 107, "alpha_frac": 0.6349001932, "autogenerated": false, "ratio": 3.5375854214123006, "confi...
'''Arsenal EC2 DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/ec2_instances.py", "copies": "1", "size": "3158", "license": "apache-2.0", "hash": 356816707042487800, "line_mean": 32.2421052632, "line_max": 90, "alpha_frac": 0.6006966434, "autogenerated": false, "ratio": 4.177248677248677, ...
'''Arsenal facts class''' # # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "client/arsenalclient/arsenal_facts.py", "copies": "1", "size": "14009", "license": "apache-2.0", "hash": -8708454831142906000, "line_mean": 39.7238372093, "line_max": 109, "alpha_frac": 0.5303019487, "autogenerated": false, "ratio": 4.335809346951408, ...
'''Arsenal hardware_profiles DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/hardware_profiles.py", "copies": "1", "size": "3192", "license": "apache-2.0", "hash": 7994315504186905000, "line_mean": 30.603960396, "line_max": 83, "alpha_frac": 0.6049498747, "autogenerated": false, "ratio": 4.284563758389262...
'''Arsenal hardware_profiles UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/hardware_profiles.py", "copies": "1", "size": "3300", "license": "apache-2.0", "hash": 4167211278943553000, "line_mean": 31.6732673267, "line_max": 117, "alpha_frac": 0.6466666667, "autogenerated": false, "ratio": 3.67074527252502...
'''Arsenal home UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 app...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/home.py", "copies": "1", "size": "1912", "license": "apache-2.0", "hash": -2541681411239290000, "line_mean": 32.5438596491, "line_max": 91, "alpha_frac": 0.6668410042, "autogenerated": false, "ratio": 3.734375, "config_test": fa...
'''Arsenal ip_addresses DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/ip_addresses.py", "copies": "1", "size": "2744", "license": "apache-2.0", "hash": 2336409031349168600, "line_mean": 30.9069767442, "line_max": 90, "alpha_frac": 0.595845481, "autogenerated": false, "ratio": 4.182926829268292, "...
'''Arsenal ip_addresses UI.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/ip_addresses.py", "copies": "1", "size": "3125", "license": "apache-2.0", "hash": -1579289000008893700, "line_mean": 30.25, "line_max": 107, "alpha_frac": 0.63488, "autogenerated": false, "ratio": 3.5231116121758737, "config_tes...
'''Arsenal login page.''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/login.py", "copies": "1", "size": "4340", "license": "apache-2.0", "hash": 4483435209964893000, "line_mean": 34.867768595, "line_max": 95, "alpha_frac": 0.6453917051, "autogenerated": false, "ratio": 4.09433962264151, "config_te...
'''Arsenal network_interfaces DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 # # Unl...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/network_interfaces.py", "copies": "1", "size": "3717", "license": "apache-2.0", "hash": 5417627122003131000, "line_mean": 33.4166666667, "line_max": 83, "alpha_frac": 0.5829970406, "autogenerated": false, "ratio": 4.2773302646720...
'''Arsenal network_interfaces UI''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/network_interfaces.py", "copies": "1", "size": "3685", "license": "apache-2.0", "hash": 309921261752176000, "line_mean": 33.4392523364, "line_max": 119, "alpha_frac": 0.6366350068, "autogenerated": false, "ratio": 3.65213082259663...
'''Arsenal node_groups DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 req...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/node_groups.py", "copies": "1", "size": "3631", "license": "apache-2.0", "hash": -5454191541481278000, "line_mean": 30.850877193, "line_max": 83, "alpha_frac": 0.5678876343, "autogenerated": false, "ratio": 4.251756440281031, "...
'''Arsenal node_groups UI.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/node_groups.py", "copies": "1", "size": "3226", "license": "apache-2.0", "hash": 2117727284921581000, "line_mean": 30.9405940594, "line_max": 105, "alpha_frac": 0.6292622443, "autogenerated": false, "ratio": 3.5411635565312842, ...
'''Arsenal nodes DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/nodes.py", "copies": "1", "size": "7921", "license": "apache-2.0", "hash": -1277032278955777500, "line_mean": 45.0523255814, "line_max": 95, "alpha_frac": 0.5052392375, "autogenerated": false, "ratio": 4.871463714637146, "confi...
'''Arsenal nodes UI.''' # Copyright 2015 CityGrid Media, LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by ap...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/nodes.py", "copies": "1", "size": "4244", "license": "apache-2.0", "hash": -2636350571472831500, "line_mean": 33.2258064516, "line_max": 98, "alpha_frac": 0.6182846371, "autogenerated": false, "ratio": 3.5814345991561183, "confi...
'''Arsenal operating_systems DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/operating_systems.py", "copies": "1", "size": "3265", "license": "apache-2.0", "hash": -8483435560717833000, "line_mean": 31.65, "line_max": 85, "alpha_frac": 0.6125574273, "autogenerated": false, "ratio": 4.318783068783069, "c...
'''Arsenal operating_systems UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/operating_systems.py", "copies": "1", "size": "3344", "license": "apache-2.0", "hash": -1063064780656874900, "line_mean": 32.1089108911, "line_max": 117, "alpha_frac": 0.6447368421, "autogenerated": false, "ratio": 3.6466739367502...
'''Arsenal physical_devices DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 # # Unles...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/physical_devices.py", "copies": "1", "size": "5498", "license": "apache-2.0", "hash": 777380110910657200, "line_mean": 38.8405797101, "line_max": 84, "alpha_frac": 0.5143688614, "autogenerated": false, "ratio": 4.891459074733096,...
'''Arsenal physical_devices UI''' # Copyright 2015 CityGrid Media, LLC # # 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 requ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/physical_devices.py", "copies": "1", "size": "3650", "license": "apache-2.0", "hash": -768403790375163600, "line_mean": 33.4339622642, "line_max": 115, "alpha_frac": 0.6383561644, "autogenerated": false, "ratio": 3.621031746031746...
'''Arsenal physical_elevations DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 # # Un...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/physical_elevations.py", "copies": "1", "size": "4031", "license": "apache-2.0", "hash": -6767618862225960000, "line_mean": 37.3904761905, "line_max": 108, "alpha_frac": 0.5239394691, "autogenerated": false, "ratio": 4.9765432098...
'''Arsenal physical_elevations UI''' # Copyright 2015 CityGrid Media, LLC # # 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 r...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/physical_elevations.py", "copies": "1", "size": "3354", "license": "apache-2.0", "hash": 2836784564725957000, "line_mean": 32.2079207921, "line_max": 121, "alpha_frac": 0.6523553965, "autogenerated": false, "ratio": 3.669584245076...
'''Arsenal physical_locations DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 # # Unl...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/physical_locations.py", "copies": "1", "size": "3693", "license": "apache-2.0", "hash": 1827730498998594800, "line_mean": 33.1944444444, "line_max": 90, "alpha_frac": 0.5705388573, "autogenerated": false, "ratio": 4.4174641148325...
'''Arsenal physical_locations UI''' # Copyright 2015 CityGrid Media, LLC # # 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 re...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/physical_locations.py", "copies": "1", "size": "3705", "license": "apache-2.0", "hash": 663326864963324200, "line_mean": 33.3055555556, "line_max": 119, "alpha_frac": 0.6321187584, "autogenerated": false, "ratio": 3.63948919449901...
'''Arsenal physical_racks DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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 ...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/physical_racks.py", "copies": "1", "size": "2881", "license": "apache-2.0", "hash": -7654623814995391000, "line_mean": 30.6593406593, "line_max": 97, "alpha_frac": 0.6147171121, "autogenerated": false, "ratio": 4.230543318649046,...
'''Arsenal physical_racks UI''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/physical_racks.py", "copies": "1", "size": "3182", "license": "apache-2.0", "hash": 3873988493663222000, "line_mean": 30.82, "line_max": 111, "alpha_frac": 0.6423632935, "autogenerated": false, "ratio": 3.5553072625698325, "conf...
'''Arsenal Pyramid WSGI application.''' # Copyright 2015 CityGrid Media, LLC # # 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 # # Unles...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/__init__.py", "copies": "1", "size": "16883", "license": "apache-2.0", "hash": 1700943995596844800, "line_mean": 47.5143678161, "line_max": 104, "alpha_frac": 0.6612568856, "autogenerated": false, "ratio": 3.511439267886855, "config_t...
'''Arsenal search UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 a...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/search.py", "copies": "1", "size": "1567", "license": "apache-2.0", "hash": -9207760966493578000, "line_mean": 33.0652173913, "line_max": 95, "alpha_frac": 0.6675175495, "autogenerated": false, "ratio": 3.6357308584686776, "conf...
'''Arsenal statuses DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/statuses.py", "copies": "1", "size": "2750", "license": "apache-2.0", "hash": -1044336049757326600, "line_mean": 27.6458333333, "line_max": 83, "alpha_frac": 0.5865454545, "autogenerated": false, "ratio": 4.30359937402191, "con...
'''Arsenal statuses UI.''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/statuses.py", "copies": "1", "size": "3010", "license": "apache-2.0", "hash": 8773256462018915000, "line_mean": 29.404040404, "line_max": 99, "alpha_frac": 0.6305647841, "autogenerated": false, "ratio": 3.6308805790108565, "conf...
'''Arsenal tags DB Model''' # Copyright 2015 CityGrid Media, LLC # # 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...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/models/tags.py", "copies": "1", "size": "3348", "license": "apache-2.0", "hash": -7403587274699867000, "line_mean": 30.8857142857, "line_max": 91, "alpha_frac": 0.5537634409, "autogenerated": false, "ratio": 4.25412960609911, "config_...
'''Arsenal tags UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 app...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/tags.py", "copies": "1", "size": "2924", "license": "apache-2.0", "hash": -6907356200276350000, "line_mean": 28.5353535354, "line_max": 91, "alpha_frac": 0.6183310534, "autogenerated": false, "ratio": 3.5059952038369304, "config...
'''Arsenal UI logout.''' # Copyright 2015 CityGrid Media, LLC # # 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 a...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/logout.py", "copies": "1", "size": "1532", "license": "apache-2.0", "hash": 3709664017918573000, "line_mean": 29.64, "line_max": 76, "alpha_frac": 0.6853785901, "autogenerated": false, "ratio": 3.764127764127764, "config_test": ...
'''Arsenal UI''' # Copyright 2015 CityGrid Media, LLC # # 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 applicabl...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/__init__.py", "copies": "1", "size": "13451", "license": "apache-2.0", "hash": 5420231399911978000, "line_mean": 33.053164557, "line_max": 104, "alpha_frac": 0.5789904096, "autogenerated": false, "ratio": 3.935342305441779, "con...
'''Arsenal user UI.''' # Copyright 2015 CityGrid Media, LLC # # 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 app...
{ "repo_name": "CityGrid/arsenal", "path": "server/arsenalweb/views/user.py", "copies": "1", "size": "3273", "license": "apache-2.0", "hash": -1761750534077628200, "line_mean": 33.09375, "line_max": 109, "alpha_frac": 0.5924228537, "autogenerated": false, "ratio": 4.055762081784387, "config_test...
# Author: Peter Hinch # Copyright Peter Hinch 2017 Released under the MIT license # This uses a pair of buttons to turn an on-board LED on and off. Its aim is # to enable you to decide if the reliability on the ESP8266 is adequate for # your needs. from sys import platform import uasyncio as asyncio ESP32 = platform...
{ "repo_name": "peterhinch/micropython-async", "path": "v2/nec_ir/art1.py", "copies": "1", "size": "1784", "license": "mit", "hash": 7029406542613063000, "line_mean": 28.7166666667, "line_max": 87, "alpha_frac": 0.5860908581, "autogenerated": false, "ratio": 3.4222648752399234, "config_test": fa...
# art3d.py, original mplot3d version by John Porter # Parts rewritten by Reinier Heeres <reinier@heeres.eu> # Minor additions by Ben Axelrod <baxelrod@coroware.com> ''' Module containing 3D artist code and functions to convert 2D artists into 3D versions which can be added to an Axes3D. ''' from __future__ import (abs...
{ "repo_name": "unnikrishnankgs/va", "path": "venv/lib/python3.5/site-packages/mpl_toolkits/mplot3d/art3d.py", "copies": "10", "size": "25411", "license": "bsd-2-clause", "hash": -3191401277897537000, "line_mean": 31.0441361917, "line_max": 89, "alpha_frac": 0.5754200937, "autogenerated": false, "...
"""art_app URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/1.9/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: url(r'^$', views.home, name='home') Class-bas...
{ "repo_name": "creimers/graphene-advent", "path": "src/config/urls.py", "copies": "1", "size": "1111", "license": "mit", "hash": -3796951876503669000, "line_mean": 37.3103448276, "line_max": 79, "alpha_frac": 0.7308730873, "autogenerated": false, "ratio": 3.493710691823899, "config_test": false...
ART = 'art-default.jpg' ICON = 'icon-default.png' SEARCH_ICON = 'icon-search.png' OPTIONS_ICON = 'icon-options.png' NEXT_ICON = 'icon-next.png' BACK_ICON = 'icon-back.png' ADD_ICON = 'icon-add.png' REMOVE_ICON = 'icon-remove.png' from plex_music_service import PlexMusicService def on_error(e): Log(e) return ...
{ "repo_name": "shvets/music-plex-plugin", "path": "src/lib/plex_plugin/Contents/Code/__init__.py", "copies": "1", "size": "1400", "license": "mit", "hash": 5043477883826753000, "line_mean": 29.4347826087, "line_max": 130, "alpha_frac": 0.7278571429, "autogenerated": false, "ratio": 3.097345132743...
""" artemis_pcie Concrete interface for Nysa on the artemis_pcie board """ __author__ = 'you@example.com' import sys import os import time from collections import OrderedDict from array import array as Array from nysa.cbuilder.sdb import SDBError from nysa.host.nysa import Nysa from nysa.host.nysa import NysaError ...
{ "repo_name": "CospanDesign/nysa-artemis-pcie-platform", "path": "artemis_pcie/artemis_pcie.py", "copies": "1", "size": "14373", "license": "mit", "hash": 8163939004843837000, "line_mean": 30.5197368421, "line_max": 85, "alpha_frac": 0.5561817296, "autogenerated": false, "ratio": 3.79234828496042...
""" Art Gatherer class module """ from collections import namedtuple from datetime import datetime from urllib import request import numpy as np from mtgsdk import Card, Set import cv2 from colorpie.image_processing import ImageProcessing MagicCard = namedtuple('MagicCard', [ 'card_id', 'name', 'set_code...
{ "repo_name": "valenc3x/colorpie", "path": "colorpie/art_gatherer.py", "copies": "1", "size": "3105", "license": "mit", "hash": -350704166996315600, "line_mean": 26.972972973, "line_max": 78, "alpha_frac": 0.5748792271, "autogenerated": false, "ratio": 3.9056603773584904, "config_test": false, ...
# Arthon by MohamadKh75 # 2017-10-05 # ******************** from pathlib import Path import linecache # Set the Alphabet folder path alphabet_folder_path = Path("Alphabet").resolve() number_folder_path = Path("Number").resolve() symbol_folder_path = Path("Symbol").resolve() # Find the Path of Symbol def pathFinder...
{ "repo_name": "MohamadKh75/Arthon", "path": "Arthon.py", "copies": "1", "size": "3164", "license": "mit", "hash": 2649466598983160000, "line_mean": 32.3052631579, "line_max": 104, "alpha_frac": 0.5252844501, "autogenerated": false, "ratio": 3.5510662177328842, "config_test": false, "has_no_ke...
""" Article class """ import os import re import subprocess import socket import smtplib import tempfile import datetime from builtins import input from email.mime.text import MIMEText import mistune import git from cmddocs.utils import * from cmddocs.rendering import md_to_ascii # Function definitions def list_arti...
{ "repo_name": "noqqe/cmddocs", "path": "cmddocs/articles.py", "copies": "1", "size": "14598", "license": "mit", "hash": 7067981689918387000, "line_mean": 30.7347826087, "line_max": 101, "alpha_frac": 0.5571311139, "autogenerated": false, "ratio": 3.9199785177228788, "config_test": false, "has...