repo_name
stringlengths
5
92
path
stringlengths
4
221
copies
stringclasses
19 values
size
stringlengths
4
6
content
stringlengths
766
896k
license
stringclasses
15 values
hash
int64
-9,223,277,421,539,062,000
9,223,102,107B
line_mean
float64
6.51
99.9
line_max
int64
32
997
alpha_frac
float64
0.25
0.96
autogenerated
bool
1 class
ratio
float64
1.5
13.6
config_test
bool
2 classes
has_no_keywords
bool
2 classes
few_assignments
bool
1 class
decimalbell/devnull
python/sidl/unpacker.py
1
3416
import struct class Unpacker(object): def __init__(self, buf): self._buffer = buf self._offset = 0 self._typemethods = {'b': self.unpack_int8, 'B': self.unpack_uint8, 'h': self.unpack_int16, 'H': self.unpack_uint16, 'i': self.unpack...
mit
-6,304,016,966,791,125,000
31.226415
79
0.522248
false
3.78714
false
false
false
kived/kvlang
kvlang/ast_parser.py
1
4502
from functools import partial import weakref from kivy.compat import iteritems from kivy.factory import Factory from kivy.lang import ParserRuleProperty, Parser, ParserException, ParserRule as kivy_ParserRule, Builder as kivy_Builder from kivy.logger import Logger from kivy.weakproxy import WeakProxy from kvlang.kvTree...
mit
-200,474,541,999,551,460
29.835616
121
0.677477
false
3.372285
false
false
false
nco/pynco
nco/nco.py
1
19238
""" nco module. Use Nco class as interface. """ import distutils.spawn import os import re import shlex import six import subprocess import tempfile from distutils.version import LooseVersion class NCOException(Exception): def __init__(self, stdout, stderr, returncode): super(NCOException, self).__init_...
mit
-416,057,038,847,101,900
34.429098
117
0.477025
false
4.599092
false
false
false
CristianBB/SickRage
sickbeard/dailysearcher.py
1
4268
# Author: Nic Wolfe <nic@wolfeden.ca> # URL: https://sickrage.github.io # Git: https://github.com/SickRage/SickRage.git # # This file is part of SickRage. # # SickRage is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Found...
gpl-3.0
-8,188,740,517,060,104,000
37.45045
182
0.626992
false
4.163902
false
false
false
aileron-split/aileron-web
server/blog/models.py
1
1104
from django.db import models # Blog app models. class Post(models.Model): published = models.BooleanField(default=False) published_date = models.DateTimeField(null=True, blank=True) slug = models.SlugField(max_length=80) title = models.CharField(max_length=80, default='Post Title') subtitle = mode...
gpl-3.0
2,635,139,199,670,405,000
47
88
0.71558
false
3.631579
false
false
false
BrendanLeber/adventofcode
2019/09-sensor_boost/intcode.py
1
7073
# -*- coding: utf-8 -*- import pdb import sys import traceback from collections import deque from enum import IntEnum from typing import Deque, Dict, List, NamedTuple, Optional, Tuple, Union class ParameterMode(IntEnum): POSITIONAL = 0 IMMEDIATE = 1 RELATIVE = 2 class ParameterType(IntEnum): READ =...
mit
-8,612,136,722,465,389,000
37.862637
93
0.548565
false
3.846112
false
false
false
Alberto-Beralix/Beralix
i386-squashfs-root/usr/lib/ubiquity/ubiquity/i18n.py
1
12630
# -*- coding: utf-8; Mode: Python; indent-tabs-mode: nil; tab-width: 4 -*- # Copyright (C) 2006, 2007, 2008 Canonical Ltd. # Written by Colin Watson <cjwatson@ubuntu.com>. # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # t...
gpl-3.0
-2,029,924,248,393,744,000
36.698507
356
0.588645
false
4.005392
false
false
false
antont/tundra
src/Application/PythonScriptModule/pymodules_old/simiangrid/auth.py
1
2238
#httplib was ok and httplib2 especially had nice api, but they don't work thru proxies and stuff #-- curl is the most robust thing #import httplib import curl #a high level wrapper over pycurl bindings import json import hashlib #only 'cause has a hardcoded pwd here now - for real this comes from connection or launcher...
apache-2.0
-1,794,691,461,481,782,000
33.430769
128
0.689455
false
3.723794
false
false
false
MarkusHackspacher/PythonFarmGame
farmlib/expbar.py
1
2110
''' Created on 31-05-2012 @author: orneo1212 ''' import pygame from pygameui import Label class ExpBar(Label): """ExpBar class """ def __init__(self, player): self.player = player self.oldexp = -1.0 Label.__init__(self, "", (9, 58)) def update_text(self): """update t...
gpl-3.0
8,185,247,811,750,345,000
26.402597
78
0.507109
false
3.425325
false
false
false
simpeg/simpeg
SimPEG/EM/Static/IP/Run.py
1
2114
import numpy as np from SimPEG import (Maps, DataMisfit, Regularization, Optimization, Inversion, InvProblem, Directives) def run_inversion( m0, survey, actind, mesh, std, eps, maxIter=15, beta0_ratio=1e0, coolingFactor=5, coolingRate=2, upper=np.inf, lower=-np.inf, use_sen...
mit
3,890,722,355,732,215,300
28.361111
79
0.621097
false
3.36089
false
false
false
howknows/Ropper
ropperapp/disasm/chain/arch/ropchainx86.py
1
36189
# coding=utf-8 # # Copyright 2014 Sascha Schirra # # This file is part of Ropper. # # Ropper is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later ver...
gpl-2.0
-8,572,569,844,129,845,000
39.707537
218
0.562022
false
3.858925
false
false
false
myfavouritekk/TPN
tools/propagate/regression_propagation.py
1
6216
#!/usr/bin/env python # -------------------------------------------------------- # Test regression propagation on ImageNet VID video # Modified by Kai KANG (myfavouritekk@gmail.com) # -------------------------------------------------------- """Test a Fast R-CNN network on an image database.""" import argparse import...
mit
8,607,709,763,917,852,000
38.341772
92
0.591055
false
3.632963
false
false
false
TunnelBlanket/Houdini
Houdini/Data/Stamp.py
1
1225
# coding: utf-8 from sqlalchemy import Column, Integer, SmallInteger, text, ForeignKey from sqlalchemy.orm import relationship from Houdini.Data import Base metadata = Base.metadata class Stamp(Base): __tablename__ = 'stamp' PenguinID = Column(ForeignKey(u'penguin.ID', ondelete=u'CASCADE', onupdate=u'CASCAD...
mit
-1,121,676,306,723,954,800
41.275862
125
0.726531
false
3.431373
false
false
false
Crompulence/cpl-library
examples/interactive_plot_example/python/CFD_recv_and_plot_grid_interactive.py
1
3724
import numpy as np import matplotlib.pyplot as plt from matplotlib.widgets import Slider from mpi4py import MPI from cplpy import CPL from draw_grid import draw_grid #initialise MPI and CPL comm = MPI.COMM_WORLD CPL = CPL() CFD_COMM = CPL.init(CPL.CFD_REALM) nprocs_realm = CFD_COMM.Get_size() # Parameters of the cpu...
gpl-3.0
4,246,740,477,422,610,000
30.033333
81
0.583512
false
2.528174
false
false
false
DarthMaulware/EquationGroupLeaks
Leak #5 - Lost In Translation/windows/Resources/Dsz/PyScripts/Tasking/Mcl_Cmd_Put_Tasking.py
1
6883
# uncompyle6 version 2.9.10 # Python bytecode 2.7 (62211) # Decompiled from: Python 3.6.0b2 (default, Oct 11 2016, 05:27:10) # [GCC 6.2.0 20161005] # Embedded file name: Mcl_Cmd_Put_Tasking.py UPLOADS_DIR = 'Uploads' MAX_CHUNK_SIZE = 1047552 def TaskingMain(namespace): import mcl.imports import mcl.target ...
unlicense
-8,070,547,693,328,371,000
44.289474
123
0.611361
false
3.531555
false
false
false
helewonder/knightgame
wargame/game.py
1
3956
from hut import Hut, create_unit from functions import print_bold, print_dotted_line, show_health, \ print_wave_line from knight import Knight from uniterror import HutNotNumberError, HutOutRangeError class OrGame(): """ The Game Class , mainly """ def __init__(self, hut_numbers=5): """ge...
mit
-2,352,176,094,657,368,000
30.903226
78
0.523509
false
4.016244
false
false
false
Mach33Labs/labautomation
github.py
1
5717
#!/usr/bin/python import datetime import fcntl import github3 import gzip import json import os import re import select import socket import subprocess import sys import time import mysql.connector TARGET_VM = 'devosa' TARGET_IP_BLOCK = '192.168.53.0/24' with open(os.path.expanduser('~/.github_automation'), 'r') ...
apache-2.0
634,645,749,023,385,500
29.902703
80
0.509183
false
3.783587
false
false
false
abhikeshav/ydk-py
cisco-ios-xr/ydk/models/cisco_ios_xr/Cisco_IOS_XR_aaa_locald_cfg.py
1
1133
""" Cisco_IOS_XR_aaa_locald_cfg This module contains a collection of YANG definitions for Cisco IOS\-XR aaa\-locald package configuration. This YANG module augments the Cisco\-IOS\-XR\-aaa\-lib\-cfg module with configuration data. Copyright (c) 2013\-2015 by Cisco Systems, Inc. All rights reserved. """ import ...
apache-2.0
-94,935,661,741,093,040
16.166667
86
0.677846
false
3.529595
false
false
false
acsone/alfodoo
cmis_web_proxy/controllers/cmis.py
1
18684
# Copyright 2016 ACSONE SA/NV (<http://acsone.eu>) # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). import json import logging import urlparse import werkzeug from odoo import _, http from odoo.http import request from odoo.exceptions import AccessError from odoo.addons.web.controllers import main ...
agpl-3.0
6,017,278,269,581,853,000
39.267241
79
0.596286
false
4.189238
false
false
false
lablup/backend.ai-manager
src/ai/backend/manager/api/session_template.py
1
14992
import json import logging from typing import ( Any, List, Mapping, TYPE_CHECKING, Tuple, ) import uuid from aiohttp import web import aiohttp_cors import sqlalchemy as sa import trafaret as t import yaml from ai.backend.common import validators as tx from ai.backend.common.logging import BraceSty...
lgpl-3.0
-2,623,418,009,516,440,000
36.668342
101
0.566169
false
3.926663
false
false
false
domain51/d51.django.apps.blogs
d51/django/apps/blogs/models.py
1
1309
from django.db import models from django.contrib.auth.models import User from django.core.urlresolvers import reverse class RichTextField(models.TextField): pass class Post(models.Model): internal_title = models.CharField(max_length=255) display_title = models.CharField(null=True, blank=True, max_length=2...
gpl-3.0
-3,552,080,607,034,685,400
29.44186
75
0.663866
false
3.895833
false
false
false
fls-bioinformatics-core/RnaChipIntegrator
rnachipintegrator/Features.py
1
19026
#!/bin/env python # # Features.py: classes for handling feature data # Copyright (C) University of Manchester 2011-2019 Peter Briggs, Leo Zeef # & Ian Donaldson # """ Features.py Classes for handling feature data. """ import logging import io from .distances import closestDistanceToRegion from .utils imp...
artistic-2.0
-4,439,065,279,214,473,700
36.087719
77
0.553716
false
4.833841
false
false
false
mahabs/nitro
nssrc/com/citrix/netscaler/nitro/resource/stat/cmp/cmp_stats.py
1
23212
# # Copyright (c) 2008-2015 Citrix Systems, Inc. # # Licensed under the Apache License, Version 2.0 (the "License") # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
apache-2.0
1,323,930,941,714,670,600
24.039914
384
0.721006
false
3.227475
false
false
false
pbasov/fuel-extension-cpu-pinning
fuel_extension_cpu_pinning/validators.py
1
1623
from fuel_extension_cpu_pinning.models import CpuPinOverride from nailgun.api.v1.validators.base import BasicValidator from nailgun.errors import errors from nailgun.logger import logger class CpuPinningValidator(BasicValidator): schema = { "$schema": "http://json-schema.org/draft-04/schema#", "ti...
apache-2.0
5,613,233,836,513,574,000
36.744186
79
0.610598
false
3.731034
false
false
false
akvo/butler
setup.py
1
2525
# -*- coding: UTF-8 -*- from distutils.command.install import INSTALL_SCHEMES from distutils.core import setup from setuptools import find_packages import os import re import time _version = "0.1.%sdev0" % int(time.time()) _packages = find_packages('butler', exclude=["*.tests", "*.tests.*", "tests.*", "tests"]) # m...
agpl-3.0
-8,536,758,986,645,435,000
27.693182
109
0.643564
false
3.184111
false
false
false
n3wb13/OpenNfrGui-5.0-1
lib/python/Plugins/Extensions/NFR4XBoot/ubi_reader/ui/common.py
5
3812
import os from ubi_io import leb_virtual_file from ubifs import ubifs, walk, output from ubifs.defines import PRINT_UBIFS_KEY_HASH, PRINT_UBIFS_COMPR from ubi.defines import PRINT_VOL_TYPE_LIST, UBI_VTBL_AUTORESIZE_FLG output_dir = os.path.join(os.path.dirname(os.path.dirname(os.path.realpath(__file__))), 'output'...
gpl-2.0
6,523,534,966,752,915,000
41.83908
113
0.543284
false
3.163485
false
false
false
DS-CM/live-slides
src/GetImage.py
1
1282
import http.client, urllib.request, urllib.parse, urllib.error, base64, json from pprint import pprint class GetImage: def __init__(self, key): self.key = key def getImage(self, keywords): search_string = "" for x in keywords: search_string = search_string + " " + x ...
apache-2.0
6,372,495,451,247,394,000
28.136364
90
0.513261
false
4.162338
false
false
false
paypal/keystone
keystone/common/sql/migrate_repo/versions/016_normalize_domain_ids.py
1
19579
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2012 OpenStack LLC # Copyright 2013 IBM Corp. # # 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/...
apache-2.0
4,975,266,049,065,287,000
44.21709
78
0.623117
false
4.145458
false
false
false
hpc/hypnotoad
hypnotoad/plugins/datamodels/ldap/ldap_plugin.py
1
3400
# # An ldap data model plugin for hypnotoad. # import ldap import logging from hypnotoad.core import plugin LOG = logging.getLogger('root') class ldap_plugin(plugin.data_model_plugin): def setup(self, config, model_version): """Called before the plugin is asked to do anything.""" if config.ge...
bsd-3-clause
450,297,542,380,948,160
32.333333
86
0.519412
false
3.944316
true
false
false
hanelsofterp/green-hanel
purchase_landed_cost_assigning_before_receiving/wizard/wizard_import.py
1
1127
__author__ = 'trananhdung' from openerp import models, fields, api class extendPickingImportWizard(models.TransientModel): _inherit = 'picking.import.wizard' pickings = fields.Many2many( comodel_name='stock.picking', relation='distribution_import_picking_rel', column1='wizard_id', ...
gpl-3.0
947,077,968,450,730,200
38.25
77
0.582076
false
3.899654
false
false
false
rambler-digital-solutions/aioriak
aioriak/datatypes/datatype.py
1
4884
from . import TYPES from aioriak.error import ContextRequired class Datatype: ''' Base class for all convergent datatype wrappers. You will not use this class directly, but it does define some methods are common to all datatype wrappers. ''' #: The string "name" of this datatype. Each datatyp...
mit
-50,095,760,985,934,680
27.231214
75
0.577805
false
4.620624
false
false
false
nschaetti/pyTweetBot
pyTweetBot/tweet/RSSHunter.py
1
2080
#!/usr/bin/env python # -*- coding: utf-8 -*- # import feedparser from .Hunter import Hunter from .Tweet import Tweet import logging from textblob import TextBlob # Find new tweets from RSS streams class RSSHunter(Hunter): """ Find new tweets from RSS streams """ # Constructor def __init__(self,...
gpl-3.0
-6,919,431,503,497,942,000
21.608696
99
0.522115
false
4.262295
false
false
false
Dymaxion00/KittenGroomer
fs/opt/groomer/functions_pier9.py
1
2525
#!/usr/bin/env python # -*- coding: utf-8 -*- import os from helpers import FileBase, KittenGroomerBase, main printers = ['.STL', '.obj'] cnc = ['.nc', '.tap', '.gcode', '.dxf', '.stl', '.obj', '.iges', '.igs', '.vrml', '.vrl', '.thing', '.step', '.stp', '.x3d'] shopbot = ['.ai', '.svg', '.dxf', '.dwg', '.eps...
bsd-3-clause
8,387,122,660,357,544,000
36.132353
101
0.565149
false
3.216561
false
false
false
zqfan/leetcode
algorithms/227. Basic Calculator II/solution.py
1
1095
class Solution(object): def calculate(self, s): """ :type s: str :rtype: int """ queue = collections.deque() method = { "+": operator.add, "-": operator.sub, "*": operator.mul, "/": operator.div } pri = {...
gpl-3.0
8,992,052,370,713,019,000
27.076923
68
0.368037
false
3.99635
false
false
false
RaghavPro/Runescape-Hiscores
hiscores/forms.py
1
2377
from django import forms from django.core.exceptions import FieldError from .models import Skills class SearchForm(forms.Form): search = forms.CharField( widget=forms.TextInput(attrs={'class': 'form-control', 'placeholder': 'Username', 'required': ''}), max_length=12, label=False) def clean_s...
gpl-2.0
856,744,986,639,875,300
36.730159
109
0.63231
false
4.063248
false
false
false
kevinr/750book-web
750book-web-env/lib/python2.7/site-packages/kombu/transport/beanstalk.py
1
3295
""" kombu.transport.beanstalk ========================= Beanstalk transport. :copyright: (c) 2010 - 2012 by David Ziegler. :license: BSD, see LICENSE for more details. """ from __future__ import absolute_import import socket from Queue import Empty from anyjson import loads, dumps from beanstalkc import Connectio...
mit
6,936,786,577,293,115,000
24.944882
69
0.553869
false
4.240669
false
false
false
atlefren/beerdatabase
breweryname_compare.py
1
1755
# -*- coding: utf-8 -*- import json from beertools import BreweryNameMatcher def read_json(filename): with open(filename, 'r') as infile: return json.loads(infile.read()) def get_breweries_polet(): with open('data/polet.json', 'r') as infile: data = json.loads(infile.read()) breweri...
mit
8,518,859,701,575,844,000
30.909091
73
0.614815
false
3.179348
false
false
false
ddico/odoo
addons/mrp/models/mrp_workorder.py
1
39609
# -*- coding: utf-8 -*- # Part of Odoo. See LICENSE file for full copyright and licensing details. from datetime import datetime, timedelta from dateutil.relativedelta import relativedelta from collections import defaultdict import json from odoo import api, fields, models, _, SUPERUSER_ID from odoo.exceptions import...
agpl-3.0
3,872,464,057,137,297,000
50.708877
230
0.601883
false
3.934148
false
false
false
blakev/suds
suds/__init__.py
1
4404
# This program is free software; you can redistribute it and/or modify # it under the terms of the (LGPL) GNU Lesser General Public License as # published by the Free Software Foundation; either version 3 of the # License, or (at your option) any later version. # # This program is distributed in the hope that it will ...
lgpl-3.0
-8,721,852,589,140,907,000
27.597403
85
0.581971
false
3.97832
false
false
false
meprogrammerguy/pyMadness
scrape_stats.py
1
2098
#!/usr/bin/env python3 from urllib.request import urlopen from bs4 import BeautifulSoup import pandas as pd import html5lib import pdb from collections import OrderedDict import json import csv import contextlib url = "https://kenpom.com/index.php" #url = "https://kenpom.com/index.php?y=2017" #past year testing over...
mit
-3,005,067,790,104,389,600
22.054945
72
0.609152
false
2.838972
false
false
false
berkeley-stat159/project-alpha
code/utils/scripts/glm_script.py
1
3957
""" Script for GLM functions. Run with: python glm_script.py """ # Loading modules. from __future__ import absolute_import, division, print_function import numpy as np import matplotlib.pyplot as plt import nibabel as nib import os import sys # Relative paths to subject 1 data. project_path = "../../.....
bsd-3-clause
-381,920,970,145,549,500
28.75188
125
0.664645
false
2.854978
false
false
false
dbatalov/ri-optimizer
example_main.py
1
9032
""" This is the main example script to execute, it is meant as an example of how the riptimize.py module is to be used, and effectivey acts as the driver of the module with rudimentary console UI + CSV report generation and S3 upload. It's job is to demonstrate the functionality of riptimize and it is not meant to...
bsd-2-clause
-7,441,872,143,540,658,000
46.042553
192
0.660762
false
3.884731
false
false
false
EKiefer/edge-starter
py34env/Scripts/enhancer.py
1
1558
#!c:\users\ekiefer\projects\django\my_edge\py34env\scripts\python.exe # # The Python Imaging Library # $Id$ # # this demo script creates four windows containing an image and a slider. # drag the slider to modify the image. # try: from tkinter import Tk, Toplevel, Frame, Label, Scale, HORIZONTAL except ImportError:...
mit
8,260,503,957,191,499,000
25.40678
80
0.646341
false
3.103586
false
false
false
prasannav7/ggrc-core
test/integration/ggrc/models/factories.py
1
4323
# Copyright (C) 2013 Google Inc., authors, and contributors <see AUTHORS file> # Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file> # Created By: dan@reciprocitylabs.com # Maintained By: urban@reciprocitylabs.com """Factories for models""" import random import factory from ggrc import db f...
apache-2.0
-2,486,109,641,783,697,400
23.844828
78
0.734906
false
3.575682
false
false
false
k0001/meaningtoolws
meaningtoolws/ct.py
1
4944
# -*- coding: utf-8 -*- # Copyright (c) 2009, Popego Corporation <contact [at] popego [dot] com> # All rights reserved. # # This file is part of the Meaningtool Web Services Python Client project # # See the COPYING file distributed with this project for its licensing terms. """ Meaningtool Category Tree REST API v0....
bsd-3-clause
6,838,378,754,736,598,000
32.405405
101
0.587379
false
3.624633
false
false
false
proversity-org/edx-platform
lms/djangoapps/student_account/talenetic.py
1
7807
from six.moves.urllib_parse import urlencode, unquote import jwt import json from django.conf import settings from student.models import Registration, UserProfile from social_core.backends.oauth import BaseOAuth2 from django.contrib.auth.models import User import uuid import logging import social_django log...
agpl-3.0
211,726,550,094,709,500
33.166667
106
0.575893
false
4.096013
false
false
false
denis-guillemenot/pmi_collect
simpleHTTPServer.py
1
1587
# ---------------------------------------------------------------- # name : simpleHTTPServer.py # object: Simple MultiThreaded Web Server # usage: python SimpleHTTPServer [port] / default port: 8080 # author: denis_guillemenot@fr.ibm.com / denis.guillemenot@gmail.com # date : 19/09/2013 # ---------------------------...
mit
3,394,831,740,184,228,400
24.190476
82
0.608066
false
3.348101
false
false
false
sylvainnizac/Djangoctopus
blog/admin.py
1
2774
# -*- coding: utf8 -*- from django.contrib import admin from blog.models import Categorie, Article, Comment class ArticleAdmin(admin.ModelAdmin): list_display = ('titre', 'auteur', 'date', 'categorie', 'apercu_contenu') list_filter = ('auteur','categorie',) date_hierarchy = 'date' ordering =...
gpl-2.0
-2,033,523,279,121,713,400
33.848101
104
0.587722
false
3.407178
false
false
false
googleapis/googleapis-gen
google/ads/googleads/v6/googleads-py/google/ads/googleads/v6/services/services/media_file_service/transports/grpc.py
1
11285
# -*- coding: utf-8 -*- # Copyright 2020 Google 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 applicable law or...
apache-2.0
-4,525,491,664,470,927,400
43.254902
112
0.608773
false
4.725712
false
false
false
derv82/wifite2
wifite/tools/ifconfig.py
1
1784
#!/usr/bin/env python # -*- coding: utf-8 -*- import re from .dependency import Dependency class Ifconfig(Dependency): dependency_required = True dependency_name = 'ifconfig' dependency_url = 'apt-get install net-tools' @classmethod def up(cls, interface, args=[]): '''Put interface up'''...
gpl-2.0
4,402,937,286,454,165,000
28.245902
113
0.568946
false
3.90372
false
false
false
HalcyonChimera/osf.io
website/project/metadata/schemas.py
1
2265
import os import json LATEST_SCHEMA_VERSION = 2 def _id_to_name(id): return ' '.join(id.split('_')) def _name_to_id(name): return '_'.join(name.split(' ')) def ensure_schema_structure(schema): schema['pages'] = schema.get('pages', []) schema['title'] = schema['name'] schema['version'] = schema.g...
apache-2.0
8,412,698,295,121,021,000
38.736842
98
0.696247
false
3.296943
false
false
false
ashbc/tgrsite
tgrsite/settings.py
1
6161
""" Django settings for tgrsite project. Generated by 'django-admin startproject' using Django 1.10.2. For more information on this file, see https://docs.djangoproject.com/en/1.10/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.10/ref/settings/ """ import os...
isc
-7,394,605,813,598,171,000
26.382222
91
0.687226
false
3.42468
false
false
false
Guts/isogeo-api-py-minsdk
isogeo_pysdk/models/metadata.py
1
38320
# -*- coding: UTF-8 -*- #! python3 """ Isogeo API v1 - Model of Metadata (= Resource) entity See: http://help.isogeo.com/api/complete/index.html#definition-resource """ # ############################################################################# # ########## Libraries ############# # #####################...
gpl-3.0
639,171,598,854,724,600
26.235252
116
0.522886
false
4.686888
false
false
false
lochiiconnectivity/exabgp
lib/exabgp/configuration/engine/tokeniser.py
1
3330
# encoding: utf-8 """ tokeniser.py Created by Thomas Mangin on 2014-06-22. Copyright (c) 2014-2015 Exa Networks. All rights reserved. """ from exabgp.util import coroutine from exabgp.configuration.engine.location import Location from exabgp.configuration.engine.raised import Raised # convert special caracters @cor...
bsd-3-clause
-4,720,082,603,888,199,000
22.125
100
0.597297
false
3.094796
false
false
false
tmilicic/networkx
networkx/classes/function.py
1
16409
"""Functional interface to graph methods and assorted utilities. """ # Copyright (C) 2004-2015 by # Aric Hagberg <hagberg@lanl.gov> # Dan Schult <dschult@colgate.edu> # Pieter Swart <swart@lanl.gov> # All rights reserved. # BSD license. # import networkx as nx from networkx.utils import not_implemente...
bsd-3-clause
-4,094,525,715,898,061,000
23.899848
82
0.566945
false
3.7049
false
false
false
ESS-LLP/erpnext-healthcare
erpnext/hr/doctype/salary_slip/salary_slip.py
1
34819
# Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors # License: GNU General Public License v3. See license.txt from __future__ import unicode_literals import frappe, erpnext import datetime from frappe.utils import add_days, cint, cstr, flt, getdate, rounded, date_diff, money_in_words, getdate from fr...
gpl-3.0
4,243,228,669,414,350,300
42.415212
176
0.711881
false
2.979293
false
false
false
SISC2014/JobAnalysis
MongoRetrieval/src/EfficiencyHistogram.py
1
6076
''' Created on Jun 19, 2014 @author: Erik Halperin List of Keys _id JobStartDate Requirements TransferInput TotalSuspensions LastJobStatus BufferBlockSize OrigMaxHosts RequestMemory WantRemoteSyscalls LastHoldReasonCode ExitStatus Args JobFinishedHookDone JobCurrentStartDate CompletionDate JobLeaseDuration Err Remote...
mit
4,049,639,096,715,589,000
22.46332
129
0.697334
false
3.295011
false
false
false
openprocurement/openprocurement.edge
openprocurement/edge/views/auctions.py
1
7066
# -*- coding: utf-8 -*- from functools import partial from openprocurement.edge.utils import ( context_unpack, decrypt, encrypt, APIResource, json_view ) from openprocurement.edge.utils import eaopresource from openprocurement.edge.design import ( by_dateModified_view_ViewDefinition, real_b...
apache-2.0
-6,018,885,631,503,351,000
37.612022
154
0.538353
false
3.994347
true
false
false
IhToN/DAW1-PRG
Ejercicios/SeguTrim/Objetos/Punto.py
1
4377
""" Clase Punto coord x coord y suma(punto) resta(punto) Clase Traza instancias Punto en una Lista añadir punto comparar dos trazas (dos trazas serán iguales si sus puntos son iguales) """ import math import turtle class Punto: def __init__(self, x...
apache-2.0
-7,849,022,810,489,935,000
25.815951
100
0.538778
false
3.133333
false
false
false
pmediano/ComputationalNeurodynamics
Fall2016/Exercise_1/Solutions/IzNeuronRK4.py
1
1897
""" Computational Neurodynamics Exercise 1 Simulates Izhikevich's neuron model using the Runge-Kutta 4 method. Parameters for regular spiking, fast spiking and bursting neurons extracted from: http://www.izhikevich.org/publications/spikes.htm (C) Murray Shanahan et al, 2016 """ import numpy as np import matplotlib....
gpl-3.0
194,822,784,332,023,800
19.397849
78
0.618345
false
2.319071
false
false
false
RaminderSinghSahni/micro-ram-bot
tasks.py
1
4411
#!/usr/bin/env python # -*- coding: utf-8 -*- from microsoftbotframework import Response import celery import os import sys import json # import argparse from google.cloud import language import google.auth # import language try: import apiai except ImportError: sys.path.append(os.path.join(os.path.dirname(os...
mit
-5,725,038,473,106,126,000
37.692982
150
0.568579
false
4.261836
false
false
false
orlenko/sfpirg
sfpirgapp/migrations/0022_auto__del_field_organization_mailing_address__add_field_organization_m.py
1
25180
# -*- coding: utf-8 -*- import datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Deleting field 'Organization.mailing_address' db.delete_column(u'sfpirgapp_organization', 'mailing_address...
bsd-2-clause
-7,932,003,057,941,393,000
78.686709
187
0.562311
false
3.590475
false
false
false
QudevETH/PycQED_py3
pycqed/simulations/chevron_sim.py
1
2373
""" Based on Olli's mathematica notebook used to simulate chevrons """ import numpy as np from scipy.linalg import expm ham = lambda e, g: np.array([[0.5*e, g], [g, -0.5*e]]) evol = lambda e, g, dt: expm(dt*1j*ham(e, g)) def rabisim(efun, g, t, dt): """ This function returns the evolution of a system descri...
mit
-6,412,169,818,103,500,000
33.897059
81
0.554994
false
3.085826
false
false
false
felipead/breakout
source/breakout/game/GameController.py
1
4147
from OpenGL.GL import * from OpenGL.GLU import * import pygame from pygame.constants import * from breakout.game.GameEngine import GameEngine _FRAMES_PER_SECOND = 60 _MOUSE_VISIBLE = True _CANVAS_WIDTH = 250 _CANVAS_HEIGHT = 300 _DEFAULT_SCREEN_WIDTH = 500 _DEFAULT_SCREEN_HEIGHT = 600 class GameController(object)...
gpl-2.0
2,273,906,769,018,133,000
35.699115
112
0.661201
false
3.938272
false
false
false
pampi/pad
backend.py
1
26210
#Copyright (C) 2014 Adrian "APi" Pielech #This program is free software: you can redistribute it and/or modify #it under the terms of the GNU General Public License as published by #the Free Software Foundation, either version 3 of the License, or #any later version. #This program is distributed in the hope that it w...
gpl-3.0
-7,560,106,690,500,875,000
44.687063
175
0.488578
false
3.980655
false
false
false
endlessm/chromium-browser
third_party/chromite/scripts/test_image.py
1
4062
# -*- coding: utf-8 -*- # Copyright 2014 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """Script to mount a built image and run tests on it.""" from __future__ import print_function import os import sys import unitt...
bsd-3-clause
-3,099,706,782,971,267,600
32.295082
79
0.670852
false
3.754159
true
false
false
OCA/contract
contract_variable_quantity/models/contract_line.py
1
2127
# Copyright 2016 Tecnativa - Pedro M. Baeza # Copyright 2018 Tecnativa - Carlos Dauden # Copyright 2018 ACSONE SA/NV # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import api, models from odoo.tools import float_is_zero from odoo.tools.safe_eval import safe_eval class AccountAnalyticInvoic...
agpl-3.0
1,996,008,599,080,476,700
33.306452
77
0.5496
false
4.05916
false
false
false
fusionbox/satchless
examples/demo/core/views.py
1
1250
# -*- coding:utf-8 -*- from django.contrib import messages from django.shortcuts import redirect from django.template.response import TemplateResponse from django.utils.translation import ugettext_lazy as _ from satchless.order.app import order_app def home_page(request): messages.success(request, _(u'<strong>We...
bsd-3-clause
-7,441,253,123,787,888,000
36.878788
109
0.6872
false
3.869969
false
false
false
Robbie1977/AlignmentPipe
align/settings.py
1
10620
import psycopg2, os # import subprocess from socket import gethostname host = gethostname() con = psycopg2.connect(host='bocian.inf.ed.ac.uk', database='alignment', user='aligner_admin', password='default99') cur = con.cursor() cur.execute("SELECT upload_dir FROM system_server WHERE host_name like '" + host + "'") rec...
mit
-6,374,926,531,072,543,000
34.165563
146
0.706874
false
3.366086
false
false
false
apel/rest
api/tests/test_cloud_record_summary_get.py
1
9827
"""This module tests GET requests to the Cloud Sumamry Record endpoint.""" import logging import MySQLdb from api.utils.TokenChecker import TokenChecker from django.core.urlresolvers import reverse from django.test import Client, TestCase from mock import patch QPATH_TEST = '/tmp/django-test/' class CloudRecordSum...
apache-2.0
-8,940,463,494,486,466,000
40.817021
79
0.51908
false
4.681753
true
false
false
berkmancenter/mediacloud
apps/webapp-api/src/python/webapp/auth/password.py
1
5455
import base64 import hashlib import os from mediawords.db import DatabaseHandler from mediawords.util.log import create_logger from mediawords.util.perl import decode_object_from_bytes_if_needed __HASH_SALT_PREFIX = "{SSHA256}" __HASH_LENGTH = 64 # SHA-256 hash length __SALT_LENGTH = 64 __MIN_PASSWORD_LENGTH = 8 _...
agpl-3.0
8,678,888,388,578,591,000
32.67284
120
0.67846
false
3.841549
false
false
false
jakubtyniecki/pact
sort/hybrid.py
1
2447
""" hybrid sort module """ from sort.framework import validate THRESHOLD = 10 # threshold when to fallback to insert sort @validate def sort(arr): """ hybrid sort """ hybridsort(arr, 0, len(arr) - 1) return arr def hybridsort(arr, first, last): """ hybrid sort """ stack = [] stack.append(...
mit
7,002,549,922,402,661,000
23.969388
67
0.548018
false
3.74732
false
false
false
xuludev/CVLH_tutorial
netease_spider.py
1
3334
import json import time import os import re import requests from bs4 import BeautifulSoup import chardet """ url_list = [ 'http://tech.163.com/special/00097UHL/tech_datalist_02.js?callback=data_callback', 'http://ent.163.com/special/000380VU/newsdata_index_02.js?callback=data_callback', 'http://spor...
apache-2.0
-1,926,016,843,630,203,600
34.855556
152
0.653092
false
2.785714
false
false
false
mdavidsaver/spicetools
spicetools/view/mainwin_ui.py
1
8609
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'spicetools/view/mainwin.ui' # # Created: Sun Apr 27 13:13:01 2014 # by: PyQt4 UI code generator 4.9.3 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf...
gpl-3.0
8,151,757,473,375,844,000
58.784722
137
0.724707
false
4.043682
false
false
false
Jumpscale/jumpscale_portal8
apps/portalbase/macros/page/action/3_action.py
1
1083
def main(j, args, params, tags, tasklet): page = args.page data = {'action': args.getTag('id'), 'class': args.getTag('class') or '', 'deleterow': args.getTag('deleterow') or 'false', 'label': args.getTag('label') or '', } extradata = {} tags = j.data.tags...
apache-2.0
6,079,685,514,749,661,000
32.84375
74
0.554017
false
3.493548
false
false
false
volnrok/sortable-challenge
main.py
1
3683
import json import random import re from check import check_match from encoder import Encoder from listing import Listing from product import Product # We'll sort products by manufacturer first man_lookup = {} # List of common manufacturer aliases aliases = { 'agfaphoto': 'agfa', 'fuji': 'fujifilm', 'hew...
mit
-3,413,363,037,030,869,000
31.307018
132
0.519685
false
4.38975
false
false
false
Jorgesolis1989/SIVORE
corporaciones/views.py
1
11935
from django.shortcuts import render_to_response from django.shortcuts import render ,redirect from django.template.context import RequestContext from corporaciones.models import Corporacion , Sede from django.contrib.auth.decorators import permission_required from corporaciones.forms import FormularioRegistroCorporacio...
apache-2.0
9,110,471,766,066,271,000
43.155556
157
0.585472
false
3.509567
false
false
false
teamCarel/EyeTracker
src/shared_modules/calibration_routines/finish_calibration.py
1
17482
''' (*)~--------------------------------------------------------------------------- Pupil - eye tracking platform Copyright (C) 2012-2017 Pupil Labs Distributed under the terms of the GNU Lesser General Public License (LGPL v3.0). See COPYING and COPYING.LESSER for license details. -----------------------------------...
lgpl-3.0
1,249,891,660,788,555,000
50.875371
194
0.605709
false
3.668065
false
false
false
nfqsolutions/pylm
tests/test_services/test_subscribed_client.py
1
2736
import concurrent.futures import time from concurrent.futures import ThreadPoolExecutor import zmq from pylm.clients import Client from pylm.parts.core import zmq_context from pylm.parts.messages_pb2 import PalmMessage def fake_server(messages=1): db_socket = zmq_context.socket(zmq.REP) db_socket.bind('inpr...
agpl-3.0
-7,718,448,006,989,908,000
25.823529
72
0.56981
false
3.858956
false
false
false
Stargrazer82301/CAAPR
CAAPR/CAAPR_AstroMagic/PTS/pts/magic/tools/sesame.py
1
3792
#!/usr/bin/env python # -*- coding: utf8 -*- # ***************************************************************** # ** PTS -- Python Toolkit for working with SKIRT ** # ** © Astronomical Observatory, Ghent University ** # ***************************************************************** ##...
mit
-434,090,002,494,834,500
27.727273
78
0.498813
false
4.193584
false
false
false
containers-ftw/cftw
cftw/utils.py
1
8502
''' utils.py: part of cftw package Copyright (c) 2017 Vanessa Sochat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, mod...
mit
8,000,063,582,081,847,000
32.472441
90
0.597389
false
4.217262
false
false
false
pepincho/playground
python/Learn-Python-The-Hard-Way/exercises11to20.py
1
2190
# exercise 11 name = input("What's your name? ") # take the name from the keyboard print ("Your name is {}".format(name)) # exercise 15 file_again = input("Type the filename again: > ") # read the file's name from the keyboard txt_again = open(file_again) # open the file print (txt_again.read()) # print the file's co...
mit
-1,002,428,991,431,571,700
21.121212
90
0.67032
false
2.807692
false
false
false
bfontaine/Teebr
teebr/features.py
1
6724
# -*- coding: UTF-8 -*- from __future__ import absolute_import, unicode_literals import re from json import dumps from collections import defaultdict from .log import mkLogger from .text.utils import contains_emoji, extract_named_entities from .text.utils import most_common_words from .text.spam import is_spam logg...
mit
-323,460,344,605,223,000
22.840426
81
0.542466
false
3.519895
false
false
false
jabez007/Training_Helpyr
Setup/__init__.py
1
7646
import re import os APP_PATH = os.path.join(*os.path.split(os.path.dirname(os.path.realpath(__file__)))[:-1]) import sys if APP_PATH not in sys.path: sys.path.append(APP_PATH) import MyTrack import PowerShell import Phonebook import Overlord import Log LOGGER = Log.MyLog(name=__name__) # # # # """ Special setup ...
mit
-4,601,870,185,056,420,400
31.675214
132
0.639681
false
3.836427
false
false
false
aricaldeira/PySPED
pysped/cte/webservices_flags.py
1
2161
# -*- coding: utf-8 -*- # # PySPED - Python libraries to deal with Brazil's SPED Project # # Copyright (C) 2010-2012 # Copyright (C) Aristides Caldeira <aristides.caldeira at tauga.com.br> # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Library General Public Lic...
lgpl-2.1
-2,877,343,729,118,594,600
36.54386
76
0.757944
false
2.801047
false
false
false
sunoru/pokemon_only
stall/migrations/0001_initial.py
1
6359
# Generated by Django 2.2.2 on 2019-06-04 21:16 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
gpl-2.0
-6,446,297,086,749,532,000
59.343137
246
0.560845
false
3.61421
false
false
false
meraki-analytics/cassiopeia
cassiopeia/cassiopeia.py
1
6069
from typing import List, Set, Dict, Union, TextIO import arrow import datetime from .data import Region, Queue, Season, Tier, Division, Position from .core import Champion, Summoner, ChampionMastery, Rune, Item, Match, Map, SummonerSpell, Realms, ProfileIcon, LanguageStrings, CurrentMatch, ShardStatus, Versions, Match...
mit
2,522,235,741,749,909,500
35.341317
429
0.731257
false
3.276998
true
false
false
sk413025/tilitools
latentsvdd.py
1
3222
from cvxopt import matrix,spmatrix,sparse,uniform,normal,setseed from cvxopt.blas import dot,dotu from cvxopt.solvers import qp from cvxopt.lapack import syev import numpy as np import math as math from kernel import Kernel from svdd import SVDD from ocsvm import OCSVM import pylab as pl import matplotlib.pyplot as...
mit
-4,128,180,928,146,153,500
29.396226
86
0.646182
false
2.685
false
false
false
sniemi/SamPy
sandbox/src1/pviewer/pviewer.py
1
31336
#!/usr/bin/env python from tkFileDialog import * from Tkinter import * from tkSimpleDialog import Dialog import tkMessageBox from plotAscii import * from imageUtil import * from view2d import * from mdaAscii import * import Pmw import os, string import AppShell global Scan global SH # SHARED class setupPrinter(...
bsd-2-clause
-3,291,895,447,585,921,000
27.987974
146
0.633361
false
2.725818
false
false
false
c0cky/mediathread
mediathread/projects/admin.py
1
1386
from django.contrib import admin from django.contrib.auth.models import User from mediathread.projects.models import Project class ProjectAdmin(admin.ModelAdmin): search_fields = ("title", "participants__last_name", "author__username", "participants__last_name") list...
gpl-2.0
7,909,254,326,937,188,000
43.709677
75
0.519481
false
4.95
false
false
false
lorensen/VTKExamples
src/Python/Deprecated/GeometricObjects/ParametricObjectsDemo.py
1
5485
# !/usr/bin/env python # -*- coding: utf-8 -*- import vtk def main(): colors = vtk.vtkNamedColors() colors.SetColor("BkgColor", [26, 51, 102, 255]) parametricObjects = list() parametricObjects.append(vtk.vtkParametricBoy()) parametricObjects.append(vtk.vtkParametricConicSpiral()) parametric...
apache-2.0
3,249,549,297,955,955,000
36.827586
88
0.678213
false
3.728756
false
false
false
jamielennox/python-keystoneclient
keystoneclient/tests/test_cms.py
1
6122
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # d...
apache-2.0
-8,033,659,842,411,192,000
40.364865
78
0.601764
false
3.929397
true
false
false
rmed/textventures
src/textventures/instances/key_navigation.py
1
4144
# -*- coding: utf-8 -*- # This file is part of TextVentures - https://github.com/RMed/textventures # # Copyright (C) 2013 Rafael Medina García <rafamedgar@gmail.com> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free...
gpl-2.0
5,757,127,063,372,303,000
30.150376
74
0.502052
false
4.542763
false
false
false
banansson/cask
cask.py
1
3281
#!/usr/bin/python import sys import argparse from os import path from src.bag import Bag from src.package import Package from src.task import Task from src.message import Message from src.application import Application from src.application_info import ApplicationInfo from src.bootstrap import Bootstrap from src impor...
mit
1,634,004,693,254,727,000
29.663551
97
0.650716
false
3.919952
false
false
false
batermj/algorithm-challenger
code-analysis/programming_anguage/python/source_codes/Python3.8.0/Python-3.8.0/Tools/scripts/pep384_macrocheck.py
4
4720
""" pep384_macrocheck.py This programm tries to locate errors in the relevant Python header files where macros access type fields when they are reachable from the limided API. The idea is to search macros with the string "->tp_" in it. When the macro name does not begin with an underscore, then we have found a dorman...
apache-2.0
-1,668,539,338,901,291,500
30.891892
75
0.523517
false
3.725335
false
false
false
yongfuyang/vnpy
vn.trader/ctaAlgo/ctaBase.py
1
5912
# encoding: UTF-8 ''' 本文件中包含了CTA模块中用到的一些基础设置、类和常量等。 ''' from __future__ import division # 把vn.trader根目录添加到python环境变量中 import sys sys.path.append('..') # 常量定义 # CTA引擎中涉及到的交易方向类型 CTAORDER_BUY = u'买开' CTAORDER_SELL = u'卖平' CTAORDER_SELLTODAY = u'卖平今' CTAORDER_SELLYESTERDAY = u'卖平昨' CTAORDER_SHORT = u'卖开' CTAORDER_CO...
mit
8,423,452,578,316,974,000
25.412935
79
0.514883
false
2.730453
false
false
false
OpenToAllCTF/OTA-Challenge-Bot
server/consolethread.py
1
1960
import threading from bottypes.invalid_console_command import InvalidConsoleCommand from util.loghandler import log class ConsoleThread(threading.Thread): def __init__(self, botserver): self.botserver = botserver threading.Thread.__init__(self) def update_config(self, option, value): ...
mit
-3,119,133,389,237,143,600
31.131148
88
0.512245
false
4.722892
true
false
false
Thomasvdw/ProgProject
Data/PVdata/add_sum_capacity_perdate.py
1
4323
# -*- coding: utf-8 -*- """ Created on Wed May 27 20:06:01 2015 @author: Thomas """ # Python standard library imports import csv import os def main(): sizes = [] for file in os.listdir("reformatted/"): print file size_total = [] size_2000 = [] size_2001 = [] ...
mit
-6,894,113,067,600,910,000
31.757576
81
0.417303
false
4.070621
false
false
false
argvk/lastfmloved-syncer
update_banshee.py
1
1928
import sqlite3 import sys import requests import xml.dom.minidom from os import path con = None artists = {} url_params = {} total_pages = -1 page_no = 0 user_name = sys.argv[1] banshee_db = path.expanduser("~/.config/banshee-1/banshee.db") con = sqlite3.connect(banshee_db) cur = con.cursor() while True: if tot...
mit
-6,483,506,008,347,363,000
25.777778
146
0.598029
false
3.658444
false
false
false
googleads/googleads-python-lib
examples/adwords/adwords_appengine_demo/views/add_campaign_view.py
1
2373
#!/usr/bin/env python # # Copyright 2014 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
apache-2.0
375,887,224,737,519,740
35.507692
78
0.664981
false
3.981544
false
false
false