repo_name stringlengths 5 92 | path stringlengths 4 232 | copies stringclasses 19
values | size stringlengths 4 7 | content stringlengths 721 1.04M | 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 15 997 | alpha_frac float64 0.25 0.97 | autogenerated bool 1
class |
|---|---|---|---|---|---|---|---|---|---|---|
aubreystarktoller/django-babik-card-primitives | setup.py | 1 | 1665 | import sys
from setuptools import setup
from setuptools.command.test import test as TestCommand
class PyTest(TestCommand):
user_options = [('pytest-args=', 'a', "Arguments to pass to py.test")]
def initialize_options(self):
TestCommand.initialize_options(self)
self.pytest_args = []
def fi... | bsd-3-clause | -7,242,708,815,215,698,000 | 32.979592 | 78 | 0.622222 | false |
simonkrogmann/planets | gui/object_3D.py | 1 | 4105 | # -*- coding: cp1252 -*-
import vector
import time
class Planet3D:
"""ein 3D-Objekt für das graphics-Modul, dass mit einem Planeten verbunden ist"""
def __init__(self, Parent, Planet):
self.Parent = Parent
self.Planet = Planet
self.Planet.Register(self)
self.Positions = [Planet[... | mit | -6,019,683,214,109,623,000 | 37.009259 | 97 | 0.557613 | false |
Aloomaio/googleads-python-lib | examples/ad_manager/v201805/product_package_item_service/get_product_package_items_for_product_package.py | 1 | 2302 | #!/usr/bin/env python
#
# Copyright 2016 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 | 1,369,016,464,488,928,300 | 40.107143 | 80 | 0.715899 | false |
baidu/palo | build-support/run_clang_format.py | 2 | 5703 | #!/usr/bin/env python
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "Li... | apache-2.0 | -5,497,260,695,327,298,000 | 38.604167 | 83 | 0.60512 | false |
smithfarm/s3-tests | s3tests/functional/test_s3.py | 1 | 203153 | from cStringIO import StringIO
import boto.exception
import boto.s3.connection
import boto.s3.acl
import bunch
import datetime
import time
import email.utils
import isodate
import nose
import operator
import socket
import ssl
import os
import requests
import base64
import hmac
import sha
import pytz
import json
import ... | mit | 6,290,664,039,525,795,000 | 30.922219 | 425 | 0.645011 | false |
pachterlab/kma | inst/pre-process/tests/test_intron_ops.py | 1 | 19345 | # intron ops
# Copyright (C) 2015 Harold Pimentel
#
# 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 2 of the License, or
# (at your option) any later version.
#
# This program is ... | gpl-2.0 | -1,933,365,010,458,152,400 | 35.777567 | 80 | 0.548204 | false |
tisnik/fabric8-analytics-common | dashboard/src/jacoco_to_codecov.py | 1 | 4579 | """Module to convert JaCoCo coverage report into the report compatible with Pycov utility."""
import csv
def format_coverage_line(text, statements, missed, coverage, missed_lines=False):
"""Format one line with code coverage report of one class or for a summary."""
format_string = "{:80} {:3d} {:3d} {:3... | apache-2.0 | -754,818,450,584,529,800 | 39.166667 | 99 | 0.647085 | false |
fladi/sorl-thumbnail | tests/runtests.py | 1 | 1833 | #!/usr/bin/env python
from __future__ import unicode_literals
import os
import sys
from os.path import abspath, dirname, join as pjoin
import django
from django.conf import settings
def runtests(verbosity=1, interactive=True, failfast=True, settings_module='settings.default'):
here = abspath(dirname(__file__))
... | bsd-3-clause | 1,865,367,570,763,572,000 | 23.77027 | 95 | 0.63066 | false |
huiyiqun/check_mk | cmk_base/core.py | 1 | 9266 | #!/usr/bin/python
# -*- encoding: utf-8; py-indent-offset: 4 -*-
# +------------------------------------------------------------------+
# | ____ _ _ __ __ _ __ |
# | / ___| |__ ___ ___| | __ | \/ | |/ / |
# | | | | '_ \ / _ \/ __| |/ /... | gpl-2.0 | 3,326,192,585,655,252,000 | 38.598291 | 113 | 0.506583 | false |
pfalcon/picotui | picotui/editorext.py | 1 | 5118 | #
# Extended VT100 terminal text editor, etc. widgets
# Copyright (c) 2015 Paul Sokolovsky
# Distributed under MIT License
#
import sys
import os
from .editor import *
# Edit single line, quit on Enter/Esc
class LineEditor(Editor):
def handle_cursor_keys(self, key):
if super().handle_cursor_keys(key):
... | mit | -3,940,507,001,391,494,700 | 24.979695 | 88 | 0.540445 | false |
jfisher-usgs/DigitalLibrary | files/form_addFolder.py | 1 | 1306 | ## Script (Python) "form_addFolder"
##bind container=container
##bind context=context
##bind namespace=
##bind script=script
##bind subpath=traverse_subpath
##parameters=
##title=
##
request = container.REQUEST
REQUEST = context.REQUEST
publicStatus = ''
if not context.anonymousHasPermission(context):
publicStat... | gpl-2.0 | -2,139,083,281,066,213,400 | 26.787234 | 135 | 0.701378 | false |
anthropo-lab/XP | EPHEMER/insider_trading_project/insider_trading/consumers.py | 1 | 7993 | from channels import Group as channelsGroup
from channels.sessions import channel_session
import random
from .models import Group as OtreeGroup, Subsession as OtreeSubsession, Constants
import json
import channels
import logging
from otree import constants_internal
import django.test
from otree.common_internal import ... | gpl-3.0 | -7,776,490,304,224,844,000 | 44.936782 | 91 | 0.477793 | false |
icarito/sugar | src/jarabe/journal/listmodel.py | 1 | 10564 | # Copyright (C) 2009, Tomeu Vizoso
#
# 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
# (at your option) any later version.
#
# This program is distributed in ... | gpl-3.0 | -7,650,490,496,236,193,000 | 32.220126 | 79 | 0.591064 | false |
MuffinMedic/znc-weblog | weblog.py | 1 | 5161 | import znc
import os
def is_safe_path(basedir, path):
return os.path.abspath(path).startswith(basedir)
class weblog(znc.Module):
module_types = [znc.CModInfo.GlobalModule]
description = "Allowings viewing of log files from the ZNC webadmin"
wiki_page = "Weblog"
def OnLoad(self, args, message):
... | gpl-3.0 | 4,999,262,817,996,553,000 | 32.732026 | 199 | 0.496803 | false |
CalvinNeo/EasyMLPlatform | py/graphic/tree.py | 1 | 4067 | #coding:utf8
import numpy as np
import math
import pylab as pl
import matplotlib.cm as cm
import matplotlib.mlab as mlab
import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
import json
class GraphTree:
def __init__(self):
self.jsonobj = {}
self.leafNode = dict(boxstyle = 'roun... | apache-2.0 | 7,361,431,833,645,096,000 | 38.485437 | 114 | 0.572412 | false |
deplinenoise/rlaunch | vbcc-driver.py | 1 | 1297 | #! /usr/bin/python
import sys
import os
import os.path
import subprocess
import re
line_re = re.compile(r'^(warning|error) (\d+) in line (\d+) of "([^"]*)":\s*(.*)$')
def fix_fn(root_dir, fn):
# If there are path separators in the filename, assume the path is valid
if fn.find(os.sep) != -1:
return fn
if os.pa... | gpl-3.0 | 2,088,134,103,908,204,300 | 19.587302 | 83 | 0.621434 | false |
thefab/tornadis | tornadis/pool.py | 1 | 7269 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# This file is part of tornadis library released under the MIT license.
# See the LICENSE file for more information.
import tornado.gen
import tornado.ioloop
import tornado.locks
import logging
import functools
from collections import deque
from tornadis.client import C... | mit | -2,969,162,958,521,919,500 | 35.164179 | 79 | 0.554959 | false |
Azure/azure-sdk-for-python | sdk/network/azure-mgmt-network/azure/mgmt/network/v2019_07_01/operations/_virtual_network_taps_operations.py | 1 | 29661 | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | mit | 1,230,676,813,930,605,800 | 47.704433 | 191 | 0.634672 | false |
felipeZ/nonAdiabaticCoupling | nac/integrals/nonAdiabaticCoupling.py | 1 | 5341 | __all__ = ['calculate_couplings_3points', 'calculate_couplings_levine',
'compute_overlaps_for_coupling', 'correct_phases']
from compute_integrals import compute_integrals_couplings
from nac.common import (
Matrix, Tensor3D, retrieve_hdf5_data, tuplesXYZ_to_plams)
from os.path import join
import numpy as... | mit | -2,166,787,619,494,257,400 | 30.040698 | 79 | 0.617719 | false |
wkerzendorf/wsynphot | wsynphot/base.py | 1 | 15987 | # defining the base filter curve classes
import os
from scipy import interpolate
from wsynphot.spectrum1d import SKSpectrum1D as Spectrum1D
import pandas as pd
from wsynphot.io.cache_filters import load_filter_index, load_transmission_data
from astropy import units as u, constants as const
from astropy import uti... | bsd-3-clause | 6,882,483,729,775,752,000 | 33.454741 | 108 | 0.585851 | false |
ChrisTimperley/PythonCGum | cgum/program.py | 1 | 5861 | from cgum.basic import *
from cgum.utility import FNULL
from pprint import pprint
import cgum.statement as statement
import cgum.expression as expression
import cgum.preprocessor as preprocessor
import cgum.typs as typs
from subprocess import Popen, CalledProcessError
import os.path
import json
import tempfile
import ... | mit | 3,467,776,033,047,293,000 | 31.743017 | 103 | 0.613888 | false |
greenonion/pytvd | tvdip.py | 1 | 8146 | """
tvdip.py
~~~~~~~~
This module is a direct port of the original [1] tvdip Matlab script into
NumPy.
[1] M.A. Little, Nick S. Jones (2010) "Sparse Bayesian Step-Filtering for High-
Throughput Analysis of Molecular Machine Dynamics", in 2010 IEEE International
Conference on Acoustics, Speech and Signal Processing, 2... | gpl-2.0 | -8,849,415,337,858,050,000 | 33.811966 | 98 | 0.545912 | false |
Hitechverma/zamboni | mkt/webapps/indexers.py | 1 | 19450 | from operator import attrgetter
from django.core.urlresolvers import reverse
from django.db.models import Min
import commonware.log
from elasticsearch_dsl import F
from elasticsearch_dsl.filter import Bool
import mkt
from mkt.constants import APP_FEATURES
from mkt.constants.applications import DEVICE_GAIA
from mkt.p... | bsd-3-clause | 7,220,130,324,447,549,000 | 40.918103 | 79 | 0.48874 | false |
tobykurien/MakerDroid | assetsrc/public.mp3/fabmetheus_utilities/fabmetheus_tools/interpret_plugins/gts.py | 1 | 4561 | """
This page is in the table of contents.
The gts.py script is an import translator plugin to get a carving from an gts file.
An import plugin is a script in the interpret_plugins folder which has the function getCarving. It is meant to be run from the interpret tool. To ensure that the plugin works on platforms wh... | gpl-3.0 | 1,615,288,114,955,321,900 | 48.043011 | 441 | 0.754221 | false |
DarkFenX/Pyfa | eos/saveddata/targetProfile.py | 1 | 20115 | # ===============================================================================
# Copyright (C) 2014 Ryan Holmes
#
# This file is part of eos.
#
# eos is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, e... | gpl-3.0 | 6,335,731,424,209,932,000 | 48.666667 | 141 | 0.554412 | false |
napalm-automation/napalm-yang | napalm_yang/models/openconfig/network_instances/network_instance/protocols/protocol/isis/levels/level/link_state_database/lsp/tlvs/tlv/mt_isn/neighbors/neighbor/subTLVs/subTLVs_/bandwidth_constraints/__init__.py | 1 | 12844 | # -*- coding: utf-8 -*-
from operator import attrgetter
from pyangbind.lib.yangtypes import RestrictedPrecisionDecimalType
from pyangbind.lib.yangtypes import RestrictedClassType
from pyangbind.lib.yangtypes import TypedListType
from pyangbind.lib.yangtypes import YANGBool
from pyangbind.lib.yangtypes import YANGListTy... | apache-2.0 | 1,062,767,270,325,623,600 | 37.570571 | 375 | 0.583775 | false |
sserrot/champion_relationships | venv/Lib/site-packages/ipykernel/inprocess/blocking.py | 1 | 3068 | """ Implements a fully blocking kernel client.
Useful for test suites and blocking terminal interfaces.
"""
#-----------------------------------------------------------------------------
# Copyright (C) 2012 The IPython Development Team
#
# Distributed under the terms of the BSD License. The full license is in
# ... | mit | 1,264,620,225,133,396,200 | 31.989247 | 78 | 0.58605 | false |
JNRowe/shell-doctest | shelldoctest/shelldoctest.py | 1 | 8293 | #!/usr/bin/env python
"""
Shell Doctest module.
:Copyright: (c) 2009, the Shell Doctest Team All rights reserved.
:license: BSD, see LICENSE for more details.
"""
import commands
import doctest
import inspect
import re
import subprocess
import sys
master = None
_EXC_WRAPPER = 'system_command("%s")'
def system_comma... | bsd-3-clause | 179,705,790,688,534,100 | 40.054455 | 106 | 0.526227 | false |
alfa-addon/addon | plugin.video.alfa/channels/vi2.py | 1 | 11788 | # -*- coding: utf-8 -*-
# -*- Channel Vi2.co -*-
# -*- Created for Alfa-addon -*-
# -*- By the Alfa Develop Group -*-
import sys
PY3 = False
if sys.version_info[0] >= 3: PY3 = True; unicode = str; unichr = chr; long = int
import re
import base64
from channelselector import get_thumb
from core import htt... | gpl-3.0 | -5,339,963,962,902,820,000 | 34.138037 | 140 | 0.54155 | false |
alduxvm/pyMultiWii | pymultiwii/__init__.py | 1 | 17209 | #!/usr/bin/env python
"""multiwii.py: Handles Multiwii Serial Protocol."""
__author__ = "Aldo Vargas"
__copyright__ = "Copyright 2017 Altax.net"
__license__ = "GPL"
__version__ = "1.6"
__maintainer__ = "Aldo Vargas"
__email__ = "alduxvm@gmail.com"
__status__ = "Development"
import serial, time, struct
class Mult... | gpl-3.0 | -4,195,867,136,472,903,000 | 39.302108 | 134 | 0.490964 | false |
ryfeus/lambda-packs | pytorch/source/caffe2/python/transformations_test.py | 1 | 12467 | # Copyright (c) 2016-present, Facebook, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed... | mit | -8,150,191,426,778,888,000 | 35.346939 | 110 | 0.566295 | false |
mio-to/cnambot | simulations/cnambot/cyr_demo02.py | 1 | 2268 | from morse.builder import *
# Land robot
morsy = Morsy()
morsy.translate(2.25, -0.75)
pose = Pose()
pose.translate(x=-0.0, z=0.0)
morsy.append(pose)
gripper = Gripper()
gripper.translate(x=0.2000, z=0.5000)
gripper.properties(Angle=360.0, Distance=0.5);
morsy.append(gripper)
camera = VideoCamera()
camera.translate(... | gpl-2.0 | -8,526,240,466,677,877,000 | 21.019417 | 83 | 0.735009 | false |
Aravinthu/odoo | addons/mrp_repair/models/mrp_repair.py | 4 | 32545 | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from datetime import datetime
from odoo import api, fields, models, _
from odoo.addons import decimal_precision as dp
from odoo.exceptions import UserError, ValidationError
from odoo.tools import float_compare
class S... | agpl-3.0 | -5,396,696,964,052,102,000 | 48.161631 | 227 | 0.570103 | false |
arsfeld/conduit | conduit/modules/ShutterflyModule/ShutterflyModule.py | 1 | 3532 | """
Shutterfly Data Sink
"""
import logging
log = logging.getLogger("modules.Shutterfly")
import conduit
import conduit.utils as Utils
from conduit.datatypes import Rid
import conduit.dataproviders.Image as Image
import conduit.Exceptions as Exceptions
import conduit.datatypes.Photo as Photo
Utils.dataprovider_add_di... | gpl-2.0 | -7,614,566,365,720,435,000 | 22.084967 | 86 | 0.693658 | false |
ybayle/ReproducibleResearchIEEE2017 | src/svmbff.py | 1 | 22789 | # -*- coding: utf-8 -*-
#!/usr/bin/python
#
# Author Yann Bayle
# E-mail bayle.yann@live.fr
# License MIT
# Created 13/10/2016
# Updated 20/01/2017
# Version 1.0.0
#
"""
Description of svmbff.py
======================
bextract -mfcc -zcrs -ctd -rlf -flx -ws 1024 -as 898 -sv -fe filename.mf -w out.arff
... | mit | 6,587,038,869,646,503,000 | 37.594915 | 166 | 0.56146 | false |
Southpaw-TACTIC/Team | src/python/Lib/site-packages/PySide/examples/declarative/scrolling.py | 1 | 2311 | #!/usr/bin/env python
# Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
# All rights reserved.
# Contact: PySide Team (pyside@openbossa.org)
#
# This file is part of the examples of PySide: Python for Qt.
#
# You may use this file under the terms of the BSD license as follows:
#
# "Redistribution and... | epl-1.0 | 1,676,431,145,130,090,000 | 39.54386 | 72 | 0.762441 | false |
j-marjanovic/myhdl | myhdl/_always_comb.py | 1 | 4522 | # This file is part of the myhdl library, a Python package for using
# Python as a Hardware Description Language.
#
# Copyright (C) 2003-2009 Jan Decaluwe
#
# The myhdl library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public License as
# published by t... | lgpl-2.1 | -1,478,581,630,403,665,000 | 33 | 93 | 0.638655 | false |
enricobacis/cineca-scopus | src/cineca3.py | 1 | 3928 | #!/usr/bin/env python
#coding: utf-8
from contextlib import closing
from operator import itemgetter
from datetime import datetime
from argparse import ArgumentParser
from unicodecsv import DictWriter
from utils import read_cineca_file, csv_to_db
import sqlite3
import json
import re
FIELDS = ['Ateneo', 'Facoltà', 'Fas... | mit | -8,302,143,502,810,306,000 | 37.881188 | 90 | 0.578813 | false |
j-rock/cs598ps | src/py/main.py | 1 | 4059 | import sys
import time
from cssigps.offlineclassifier import *
from cssigps.dataset import *
from cssigps.feature import *
from cssigps.experiments import *
from get_dropbox_path import *
def print_usage():
"""
Print the usage for the main script.
"""
print("USAGE: use the run.sh or the main.py direct... | mit | -7,437,332,897,349,050,000 | 29.75 | 103 | 0.537078 | false |
jtaghiyar/kronos | setup.py | 1 | 1513 | '''
Created on Jul 10, 2014
@author: jtaghiyar
'''
import codecs
import os
import re
from setuptools import setup
def read(*paths):
here = os.path.dirname(os.path.abspath(__file__))
with open(os.path.join(here, *paths)) as f:
return f.read()
def get_version():
version_file = read("kronos", "kron... | mit | -666,503,168,781,725,600 | 30.520833 | 78 | 0.621943 | false |
wdv4758h/ZipPy | edu.uci.python.benchmark/src/micro/boolean-logic.py | 1 | 1621 | # zwei 04/24/2014
# micro benchmark: method call polymorphic inspired by richards
import time
iteration = 50000
class Task(object):
def __init__(self, p, w, h):
self.packet_pending = p
self.task_waiting = w
self.task_holding = h
self.link = None
def isTaskHoldingOrWaiting(self... | bsd-3-clause | -691,052,674,666,857,300 | 21.527778 | 83 | 0.586675 | false |
pelson/conda-build | tests/test_misc.py | 4 | 2003 | import json
from os.path import join
import pytest
from conda_build.utils import on_win
import conda_build._link as _link
from conda_build.conda_interface import PathType, EntityEncoder, CrossPlatformStLink
def test_pyc_f_2():
assert _link.pyc_f('sp/utils.py', (2, 7, 9)) == 'sp/utils.pyc'
def test_pyc_f_3():
... | bsd-3-clause | -808,085,511,508,831,500 | 30.296875 | 84 | 0.636046 | false |
BiznetGIO/horizon | openstack_dashboard/api/base.py | 1 | 12067 | # Copyright 2012 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Copyright 2012 Nebula, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the... | apache-2.0 | 6,872,752,707,314,681,000 | 31.790761 | 79 | 0.59642 | false |
CLVsol/oehealth_gs | oehealth_gs_medicament/__openerp__.py | 1 | 2003 | # -*- encoding: utf-8 -*-
################################################################################
# #
# Copyright (C) 2013-Today Carlos Eduardo Vercelino - CLVsol #
# ... | agpl-3.0 | -2,859,585,841,854,151,000 | 45.581395 | 80 | 0.423365 | false |
ozmartian/tvlinker | tvlinker/threads.py | 1 | 11150 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
import os
import sys
import time
from datetime import datetime, timedelta
from tzlocal import get_localzone
import pytz
import requests
from PyQt5.QtCore import QObject, QSettings, QThread, pyqtSignal, pyqtSlot
from PyQt5.QtWidgets import QMessageBox, qApp
from bs4 imp... | gpl-3.0 | 5,962,978,612,205,332,000 | 34.623003 | 118 | 0.562332 | false |
xunilrj/sandbox | courses/course-edx-dat2031x/Simulation.py | 1 | 2680 | # -*- coding: utf-8 -*-
def sim_normal(nums, mean = 600, sd = 30):
import numpy as np
import numpy.random as nr
for n in nums:
dist = nr.normal(loc = mean, scale = sd, size = n)
titl = 'Normal distribution with ' + str(n) + ' values'
print('Summary for ' + str(n) + ' samples')
... | apache-2.0 | 8,129,955,515,365,953,000 | 29.804598 | 67 | 0.614179 | false |
samdroid-apps/sugar-toolkit-gtk3 | src/sugar3/bundle/activitybundle.py | 1 | 14091 | # Copyright (C) 2007, Red Hat, Inc.
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2 of the License, or (at your option) any later version.
#
# This library is distrib... | lgpl-2.1 | 4,325,474,794,642,606,600 | 34.583333 | 78 | 0.560145 | false |
specify/specify7 | specifyweb/stored_queries/tests.py | 1 | 11203 | from sqlalchemy import orm
from unittest import skip
from specifyweb.specify.api_tests import ApiTests
from .queryfieldspec import QueryFieldSpec
from . import models
@skip("These tests are out of date.")
class StoredQueriesTests(ApiTests):
# def setUp(self):
# super(StoredQueriesTests, self).setUp()
... | gpl-2.0 | 3,723,801,496,089,554,400 | 39.010714 | 116 | 0.508703 | false |
uclouvain/osis | learning_unit/ddd/domain/description_fiche.py | 1 | 2627 | ##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core ... | agpl-3.0 | -6,738,978,772,855,739,000 | 45.070175 | 87 | 0.680883 | false |
jaor/bigmler | bigmler/anomaly/dispatcher.py | 1 | 10221 | # -*- coding: utf-8 -*-
#
# Copyright 2014-2020 BigML
#
# 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 ... | apache-2.0 | 6,740,342,672,061,636,000 | 40.048193 | 79 | 0.627532 | false |
Aplopio/document-converter | converters/utilities.py | 1 | 4138 | import sys
import re
import os
import shutil
import logging as log
sys.path.append('..')
from config import OUTPUT_FOLDER, UPLOAD_FOLDER
PARENT_DIR = os.path.dirname(os.path.dirname(os.path.realpath(__file__)))
TMP_DIR = os.path.join(PARENT_DIR, UPLOAD_FOLDER)
from html_pdf import HtmlPdf
from html_txt import HtmlTx... | mit | 4,393,052,712,470,979,600 | 33.483333 | 79 | 0.639198 | false |
codilime/veles | python/veles/scli/client.py | 1 | 13837 | # Copyright 2017 CodiLime
#
# 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, softwar... | apache-2.0 | -1,839,075,806,865,339,100 | 30.094382 | 78 | 0.539206 | false |
askin/GNazar | GNazar/gnazar.py | 1 | 6314 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#
# Licensed under GPL v2
# Copyright 2010, Aşkın Yollu <askin@askin.ws>
#
# 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 2 of the L... | gpl-2.0 | 1,321,648,834,766,344,000 | 31.525773 | 79 | 0.572266 | false |
laurmurclar/mitmproxy | mitmproxy/tools/console/flowview.py | 1 | 23737 | import math
import os
import sys
from functools import lru_cache
from typing import Optional, Union # noqa
import urwid
from mitmproxy import contentviews
from mitmproxy import exceptions
from mitmproxy import export
from mitmproxy import http
from mitmproxy.net.http import Headers
from mitmproxy.net.http import sta... | mit | 642,012,547,737,181,300 | 33.551674 | 104 | 0.487256 | false |
kuzmoyev/Google-Calendar-Simple-API | tests/test_attachment.py | 1 | 3788 | from unittest import TestCase
from gcsa.attachment import Attachment
from gcsa.serializers.attachment_serializer import AttachmentSerializer
DOC_URL = 'https://docs.google.com/document/d/1uDvwcxOsXkzl2Bod0YIfrIQ5MqfBhnc1jusYdH1xCZo/edit?usp=sharing'
class TestAttachment(TestCase):
def test_create(self):
... | mit | 5,226,027,302,797,445,000 | 38.873684 | 108 | 0.587381 | false |
Azure/azure-sdk-for-python | sdk/network/azure-mgmt-network/azure/mgmt/network/v2020_04_01/operations/_web_application_firewall_policies_operations.py | 1 | 20908 | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | mit | -6,169,865,617,561,209,000 | 48.079812 | 215 | 0.643486 | false |
abhinavsingh/proxy.py | examples/websocket_client.py | 1 | 1465 | # -*- coding: utf-8 -*-
"""
proxy.py
~~~~~~~~
⚡⚡⚡ Fast, Lightweight, Pluggable, TLS interception capable proxy server focused on
Network monitoring, controls & Application development, testing, debugging.
:copyright: (c) 2013-present by Abhinav Singh and contributors.
:license: BSD, see LICENSE... | bsd-3-clause | -4,967,191,948,487,152,000 | 28.18 | 86 | 0.654558 | false |
sebalas/fake-useragent | fake_useragent/utils.py | 1 | 2970 | import os
import re
from . import settings
try: # Python 2
from urllib import urlopen, quote_plus
except ImportError: # Python 3
from urllib.request import urlopen
from urllib.parse import quote_plus
try:
import json
except ImportError:
import simplejson as json
def get(url, annex=None):
i... | apache-2.0 | 6,406,799,067,328,781,000 | 19.915493 | 70 | 0.6 | false |
Daeinar/norx-py | norx.py | 1 | 7942 | """
Python2 implementation of NORX.
------
:author: Philipp Jovanovic <philipp@jovanovic.io>, 2014-2015.
:license: CC0, see LICENSE for more details.
"""
from struct import pack, unpack
class NORX(object):
def __init__(self, w=64, r=4, d=1, t=256):
assert w in [32, 64]
assert r >= 1... | cc0-1.0 | -3,776,232,993,985,714,000 | 30.515873 | 121 | 0.467137 | false |
timfreund/pycontrol-shed | pycontrolshed/model.py | 1 | 13233 | # Copyright (C) 2011 Tim Freund and contributors.
#
# This software may be used and distributed according to the terms of the
# GNU General Public License version 2 or any later version.
from functools import wraps
from pycontrol import pycontrol
import logging
import pycontrolshed
import socket
# In [1]: route_domai... | gpl-2.0 | 8,453,095,348,816,026,000 | 35.555249 | 117 | 0.590796 | false |
skob/alerta | setup.py | 1 | 1622 | #!/usr/bin/env python
import setuptools
with open('VERSION') as f:
version = f.read().strip()
with open('README.md') as f:
readme = f.read()
setuptools.setup(
name='alerta-server',
version=version,
description='Alerta server WSGI application',
long_description=readme,
url='https://github... | apache-2.0 | 1,114,736,307,577,252,900 | 27.964286 | 64 | 0.587546 | false |
Scratchcat1/AATC | flask_app/Flask_Test_App.py | 1 | 5816 | from flask import Flask, flash, redirect, render_template, request, session, abort
import random,os,ast,prettytable
from flask_app import forms
import AATC_Server_002 as AATC_Server
import HedaBot
COMMANDS = HedaBot.CreateCommandDictionary()
COMMANDS["AddFlight"][2]["Type"] = lambda x: HedaBot.SplitWaypoints(x,... | gpl-3.0 | 1,400,593,260,159,722,000 | 31.813953 | 234 | 0.597146 | false |
ragupta-git/ImcSdk | imcsdk/mometa/comm/CommSnmp.py | 1 | 8759 | """This module contains the general information for CommSnmp ManagedObject."""
from ...imcmo import ManagedObject
from ...imccoremeta import MoPropertyMeta, MoMeta
from ...imcmeta import VersionMeta
class CommSnmpConsts:
ADMIN_STATE_DISABLED = "disabled"
ADMIN_STATE_ENABLED = "enabled"
COM2_SEC_NONE = "N... | apache-2.0 | 1,721,278,884,973,908,700 | 63.881481 | 230 | 0.574837 | false |
HyperloopTeam/FullOpenMDAO | lib/python2.7/site-packages/traits-4.3.0-py2.7-macosx-10.10-x86_64.egg/traits/tests/dict_test_case.py | 1 | 3621 | #------------------------------------------------------------------------------
#
# Copyright (c) 2007, Enthought, Inc.
# All rights reserved.
#
# This software is provided without warranty under the terms of the BSD
# license included in /LICENSE.txt and may be redistributed only
# under the conditions described ... | gpl-2.0 | -1,642,906,959,306,978,300 | 29.686441 | 79 | 0.574151 | false |
linuxipho/mycroft-core | mycroft/configuration/config.py | 1 | 8186 |
# Copyright 2017 Mycroft AI Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writi... | apache-2.0 | 6,509,178,606,018,905,000 | 30.363985 | 78 | 0.557049 | false |
wevote/WebAppPublic | apis_v1/documentation_source/positions_count_for_one_ballot_item_doc.py | 1 | 2560 | # apis_v1/documentation_source/positions_count_for_one_ballot_item_doc.py
# Brought to you by We Vote. Be good.
# -*- coding: UTF-8 -*-
def positions_count_for_one_ballot_item_doc_template_values(url_root):
"""
Show documentation about positionsCountForOneBallotItem
"""
required_query_parameter_list =... | bsd-3-clause | 5,725,262,911,566,859,000 | 38.384615 | 115 | 0.5375 | false |
longde123/MultiversePlatform | server/config/common/character_factory.py | 1 | 4399 | #
# The Multiverse Platform is made available under the MIT License.
#
# Copyright (c) 2012 The Multiverse Foundation
#
# 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 restrict... | mit | 2,857,242,688,523,992,600 | 39.357798 | 81 | 0.711525 | false |
shoopio/shoop | shuup/importer/admin_module/import_views.py | 1 | 7325 | # -*- coding: utf-8 -*-
# This file is part of Shuup.
#
# Copyright (c) 2012-2019, Shoop Commerce Ltd. All rights reserved.
#
# This source code is licensed under the OSL-3.0 license found in the
# LICENSE file in the root directory of this source tree.
import hashlib
import logging
import os
from datetime import datet... | agpl-3.0 | -5,630,403,041,267,978,000 | 37.151042 | 105 | 0.632628 | false |
PeridotYouClod/gRPC-Makerboards | generated/proto_out/sensors_pb2_grpc.py | 1 | 20413 | # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
import grpc
import generated.proto_out.sensors_pb2 as sensors__pb2
class FrontEndStub(object):
"""http://www.grpc.io/docs/guides/concepts.html is good reference for #tags
#FrontEnd #Simple
The FrontEnd server is the endpoint that most clien... | mit | -6,543,290,364,991,223,000 | 38.483559 | 85 | 0.725371 | false |
skirpichev/omg | diofant/vector/dyadic.py | 1 | 8076 | from ..core import AtomicExpr, Integer, Pow
from ..matrices import ImmutableMatrix
from .basisdependent import (BasisDependent, BasisDependentAdd,
BasisDependentMul, BasisDependentZero)
class Dyadic(BasisDependent):
"""
Super class for all Dyadic-classes.
References
=====... | bsd-3-clause | -3,575,280,719,085,110,000 | 28.911111 | 79 | 0.541605 | false |
UCBerkeleySETI/blimpy | blimpy/plotting/plot_time_series.py | 1 | 1628 | from .config import *
from ..utils import rebin, db
from .plot_utils import calc_extent
def plot_time_series(wf, f_start=None, f_stop=None, if_id=0, logged=True, orientation='h', MJD_time=False, **kwargs):
""" Plot the time series.
Args:
f_start (float): start frequency, in MHz
f_stop (float)... | bsd-3-clause | -8,949,116,032,728,782,000 | 30.921569 | 117 | 0.616093 | false |
openstack/horizon | openstack_dashboard/dashboards/admin/volumes/forms.py | 1 | 10388 | # Copyright 2012 United States Government as represented by the
# Administrator of the National Aeronautics and Space Administration.
# All Rights Reserved.
#
# Copyright 2012 Nebula, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the... | apache-2.0 | 679,940,254,032,079,700 | 40.386454 | 79 | 0.545148 | false |
ijmarshall/robotreviewer3 | robotreviewer/robots/rationale_robot.py | 1 | 13649 | """
the BiasRobot class takes the full text of a clinical trial as
input as a robotreviewer.data_structures.MultiDict, and returns
bias information in the same format, which can easily be converted
to JSON.
there are multiple ways to build a MultiDict, however the most common
way used in this project is as a PDF binar... | gpl-3.0 | -8,401,132,343,254,432,000 | 38.781341 | 236 | 0.577281 | false |
SnabbCo/neutron | neutron/db/migration/alembic_migrations/env.py | 1 | 3054 | # Copyright 2012 New Dream Network, LLC (DreamHost)
#
# 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... | apache-2.0 | -1,243,438,621,249,044,200 | 28.650485 | 78 | 0.712508 | false |
zork9/pygame-pyMM | bombertoad.py | 1 | 3050 |
# Copyright (c) 2013 Johan Ceuppens.
# All rights reserved.
# Redistribution and use in source and binary forms are permitted
# provided that the above copyright notice and this paragraph are
# duplicated in all such forms and that any documentation,
# advertising materials, and other materials related to such
# dist... | gpl-2.0 | 8,758,164,902,192,934,000 | 34.882353 | 95 | 0.71377 | false |
MadsJensen/agency_connectivity | make_df_hilbert_data.py | 1 | 1383 | import numpy as np
import pandas as pd
import scipy.io as sio
from my_settings import *
data = sio.loadmat("/home/mje/Projects/agency_connectivity/Data/data_all.mat")[
"data_all"]
column_keys = ["subject", "trial", "condition", "shift"]
result_df = pd.DataFrame(columns=column_keys)
for k, subject in enumerate(s... | bsd-3-clause | 5,829,760,773,845,085,000 | 32.731707 | 79 | 0.501808 | false |
jdf76/plugin.video.youtube | resources/lib/youtube_plugin/kodion/utils/http_server.py | 1 | 21426 | # -*- coding: utf-8 -*-
"""
Copyright (C) 2018-2018 plugin.video.youtube
SPDX-License-Identifier: GPL-2.0-only
See LICENSES/GPL-2.0-only for more information.
"""
from six.moves import BaseHTTPServer
from six.moves.urllib.parse import parse_qs, urlparse
from six.moves import range
import json
import os
... | gpl-2.0 | 4,763,203,937,845,970,000 | 41.511905 | 146 | 0.519882 | false |
InnovArul/codesmart | Assignments/Jul-Nov-2017/reinforcement_learning_udemy/rl/monte_carlo_soft_epsilon.py | 1 | 3861 | from __future__ import print_function
import numpy as np
from grid import standard_grid, negative_grid
from iterative_policy_evaluation import print_values, print_policy
import matplotlib.pyplot as plt
from monte_carlo_exploring_starts import max_dict
EPS = 1e-4
GAMMA = 0.9
ALL_POSSIBLE_ACTIONS = {'U', 'D', 'L', 'R'}
... | gpl-2.0 | -5,864,667,669,027,085,000 | 29.164063 | 121 | 0.573168 | false |
naturalness/sensibility | sensibility/language/java/__init__.py | 1 | 6245 | #!/usr/bin/env python3
# -*- coding: UTF-8 -*-
# Copyright 2017 Eddie Antonio Santos <easantos@ualberta.ca>
#
# 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/licens... | apache-2.0 | 170,523,511,138,746,530 | 33.888268 | 100 | 0.620657 | false |
postlund/pyatv | tests/support/test_dns.py | 1 | 10011 | """Unit tests for pyatv.support.dns"""
import io
import typing
import pytest
from pyatv.support import dns
@pytest.mark.parametrize(
"name,expected",
(
("_http._tcp.local", (None, "_http._tcp", "local")),
("foo._http._tcp.local", ("foo", "_http._tcp", "local")),
("foo.bar._http._tcp.... | mit | 8,634,286,590,532,209,000 | 34.715827 | 88 | 0.591903 | false |
Ale-/civics | apps/models/migrations/0028_auto_20170924_1153.py | 1 | 1318 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.6 on 2017-09-24 11:53
from __future__ import unicode_literals
import apps.models.utils
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('models', '0027_auto_20170922_1554'),
]
operations = [
... | gpl-3.0 | -8,622,433,261,067,904,000 | 49.230769 | 394 | 0.688361 | false |
baixuexue123/djmo | utils/csv_response_.py | 1 | 2274 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals, absolute_import
import csv
import codecs
import cStringIO
from django.http import StreamingHttpResponse
from django.views.generic import View
"""
流式响应StreamingHttpResponse可以快速,节省内存地产生一个大型文件
"""
class Echo(object):
"""An object that implements jus... | mit | -4,467,090,691,717,978,600 | 27.25641 | 85 | 0.599819 | false |
gunan/tensorflow | tensorflow/python/feature_column/feature_column_v2.py | 1 | 192558 | # Copyright 2017 The TensorFlow Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applica... | apache-2.0 | -4,151,921,635,238,022,000 | 39.099542 | 128 | 0.674347 | false |
ClockworkOrigins/m2etis | configurator/quicktest/reporting/direct_null_1m_02-09-13.py | 1 | 2085 | __author__ = 'amw'
from quicktest.Reporting import plot3d, plot2d, create_dataset, create_plot_matrix
# Initialise database config
db_config = {"hostname": "localhost", "port": "27017", "db_name": "simulations", "collection_name": "02-09-13"}
# Create plot
tag = "direct_null_1m_020913"
x_param = "parameters.numSubs... | apache-2.0 | -6,342,424,384,006,199,000 | 47.488372 | 115 | 0.631175 | false |
YaoQ/faceplusplus-demo | hello.py | 1 | 2906 | #!/usr/bin/env python2
# Import system libraries and define helper functions
import time
import sys
import os
import os.path
from pprint import pformat
# First import the API class from the SDK
from facepp import API
from facepp import File
def print_result(hint, result):
def encode(obj):
if type(obj) is ... | gpl-2.0 | -6,944,040,991,084,908,000 | 31.288889 | 83 | 0.67309 | false |
noskill/virt-manager | virtManager/connect.py | 1 | 15892 | #
# Copyright (C) 2006, 2013 Red Hat, Inc.
# Copyright (C) 2006 Daniel P. Berrange <berrange@redhat.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 Software Foundation; either version 2 of the License, or
# (... | gpl-2.0 | 1,945,841,404,944,853,200 | 32.527426 | 80 | 0.543418 | false |
sravangottapu/Ip_Scanner | ip_scanner.py | 1 | 1187 | import threading
import time
import os
import re
import shlex
import _thread
import sys
import subprocess
alive = True
f = open("list.txt","w")
class myThread(threading.Thread):
def __init__(self,var,ip):
threading.Thread.__init__(self)
self.var = var
self.ip = ip
def run(self):
... | gpl-3.0 | 6,060,178,347,985,288,000 | 21.396226 | 45 | 0.581297 | false |
mbj4668/pyang | pyang/plugins/threegpp.py | 1 | 11115 | """3GPP usage guidelines plugin
See 3GPP TS 32.160 clause 6.2
Copyright Ericsson 2020
Author balazs.lengyel@ericsson.com
Revision 2020-11-25
Checks implemented
6.2.1.2 Module name starts with _3gpp-
6.2.1.3 namespace pattern urn:3gpp:sa5:<module-name>
6.2.1.4-a prefix ends with 3gpp
6.2.1.4-b prefix.lengt... | isc | 1,029,402,971,902,015,200 | 34.970874 | 79 | 0.544939 | false |
silvio/elbe | elbepack/xmldefaults.py | 1 | 4019 |
import random
import string
import sys
armel_defaults = {
"arch": "armel",
"size": "20G",
"mem": "256",
"interpreter": "qemu-system-arm",
"userinterpr": "qemu-arm-static",
"console": "ttyAMA0,115200n1",
"machine": "versatile... | gpl-3.0 | 1,458,241,890,226,960,400 | 28.123188 | 91 | 0.464543 | false |
TeamLocker/Server | TeamLocker_Server/protobufs/Libsodium_pb2.py | 1 | 3197 | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: protobufs/Libsodium.proto
import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflecti... | gpl-3.0 | -4,341,607,792,040,625,700 | 33.75 | 289 | 0.713794 | false |
shaarli/python-shaarli-client | setup.py | 1 | 2012 | #!/usr/bin/env python3
"""Setup script for shaarli-client"""
import codecs
import os
import re
from setuptools import find_packages, setup
def get_long_description():
"""Reads the main README.rst to get the program's long description"""
with codecs.open('README.rst', 'r', 'utf-8') as f_readme:
return... | mit | -5,212,573,942,387,458,000 | 31.451613 | 76 | 0.598907 | false |
de-tour/detour | server/handling.py | 1 | 6094 | import cherrypy
from cherrypy.lib.static import serve_file
from cherrypy.process.plugins import SimplePlugin
from queue import Queue, Empty
from collections import namedtuple
from concurrent import Crawler
import parsing
import json
import traceback
import random
from urllib.parse import unquote
from ws4py.websocket i... | gpl-3.0 | 3,814,767,568,741,064,000 | 32.119565 | 107 | 0.582212 | false |
niklasberglund/freesprints | source/freesprints/__init__.py | 1 | 9191 | import pygame, sys
import pygame.font
from pygame.locals import *
import logging
import fs_menu
import helpers as helpers
import plugins
import os.path
import race
import hardware
import defaults
import logging
from rainbow_logging_handler import RainbowLoggingHandler
DISPLAY_RESOLUTION = (1024, 768)
# platform-speci... | mit | -8,094,526,841,021,716,000 | 29.842282 | 121 | 0.527581 | false |
pburdet/hyperspy | hyperspy/_signals/eds.py | 1 | 21939 | # -*- coding: utf-8 -*-
# Copyright 2007-2011 The HyperSpy developers
#
# This file is part of HyperSpy.
#
# HyperSpy 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... | gpl-3.0 | 1,777,743,600,678,881,300 | 37.489474 | 104 | 0.548749 | false |
stevedh/queryutils | queryutils/user.py | 1 | 2181 |
from json import JSONEncoder
class User(object):
def __init__(self, name):
self.name = name
self.sessions = {}
self.queries = []
class VerboseUserEncoder(JSONEncoder):
def encode(self, obj):
user_dict = {}
user_dict['name'] = obj.name
session_dict = {}
... | bsd-3-clause | 8,245,894,538,224,595,000 | 33.078125 | 74 | 0.558459 | false |
carolFrohlich/nipype | nipype/pipeline/plugins/tests/test_debug.py | 2 | 1618 | # -*- coding: utf-8 -*-
import os
import nipype.interfaces.base as nib
from tempfile import mkdtemp
from shutil import rmtree
from nipype.testing import assert_raises, assert_false
import nipype.pipeline.engine as pe
class InputSpec(nib.TraitedSpec):
input1 = nib.traits.Int(desc='a random int')
input2 = nib.... | bsd-3-clause | 4,694,182,697,043,114,000 | 25.966667 | 66 | 0.645859 | false |
ajhager/copycat | copycat/workspace/string.py | 1 | 12784 | # Copyright (c) 2007-2017 Joseph Hager.
#
# Copycat is free software; you can redistribute it and/or modify
# it under the terms of version 2 of the GNU General Public License,
# as published by the Free Software Foundation.
#
# Copycat is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; with... | gpl-2.0 | -2,942,944,997,608,735,000 | 41.471761 | 80 | 0.632431 | false |
noahlittle/noahlittle.github.io | iCTRL/var/mobile/pentest/exploits/iCTRL/cupp/cupp.py | 1 | 55986 | #!/usr/bin/python
#
# [Program]
#
# CUPP 3.1
# Common User Passwords Profiler
#
#
#
# [Author]
#
# Muris Kurgas aka j0rgan
# j0rgan [at] remote-exploit [dot] org
# http://www.remote-exploit.org
# http://www.azuzi.me
#
#
#
# [License]
#
# This program is free software; you can redistribute it and/or modify
# ... | apache-2.0 | -5,743,812,412,542,314,000 | 29.003751 | 478 | 0.633408 | false |
ISCDtoolbox/FaciLe | pipeline/createDatabase.py | 1 | 2873 | import os
import sys
import numpy as np
from copy import deepcopy
import argparse
#Parallel
import subprocess as sp
import multiprocessing as mp
sys.path.append(os.path.join(os.path.dirname(__file__),"../projects/tools"))
import msh
import executable_paths as exe
def parse():
parser = argparse.ArgumentParser(de... | gpl-3.0 | 9,033,572,557,116,844,000 | 31.647727 | 116 | 0.622346 | false |
iain-peddie/well-behaved-python | tests/WellBehavedPythonTests/Discovery/ModuleExaminerTests.py | 1 | 3114 | #!/usr/bin/env python3
# Copyright 2013 Iain Peddie inr314159@hotmail.com
#
# This file is part of WellBehavedPython
#
# WellBehavedPython 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 v... | gpl-3.0 | 8,893,566,164,321,204,000 | 35.635294 | 95 | 0.706487 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.