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 |
|---|---|---|---|---|---|---|---|---|---|---|
szlin/gitsome | xonsh/pretty.py | 1 | 27713 | # -*- coding: utf-8 -*-
"""
Python advanced pretty printer. This pretty printer is intended to
replace the old `pprint` python module which does not allow developers
to provide their own pretty print callbacks.
This module is based on ruby's `prettyprint.rb` library by `Tanaka Akira`.
The following implementations w... | gpl-3.0 | 1,760,497,032,878,910,500 | 31.337223 | 95 | 0.567062 | false |
pombredanne/func | func/overlord/inventory.py | 1 | 6796 | ##
## func inventory app.
## use func to collect inventory data on anything, yes, anything
##
## Copyright 2007, Red Hat, Inc
## Michael DeHaan <mdehaan@redhat.com>
## +AUTHORS
##
## This software may be freely redistributed under the terms of the GNU
## general public license.
##
## You should have received a copy of ... | gpl-2.0 | 2,945,001,256,754,425,000 | 34.581152 | 121 | 0.543996 | false |
NicolasPresta/ReconoBook | config.py | 1 | 8342 | # coding=utf-8
# ==============================================================================
import tensorflow as tf
# ==============================================================================
FLAGS = tf.app.flags.FLAGS
# ==============================================================================
# ---... | mit | -2,154,105,897,107,655,400 | 57.174825 | 121 | 0.642505 | false |
gangadharkadam/office_erp | erpnext/stock/doctype/stock_reconciliation/stock_reconciliation.py | 1 | 11155 | # Copyright (c) 2013, Web Notes Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
import frappe.defaults
import json
from frappe import msgprint, _
from frappe.utils import cstr, flt, cint
from erpnext.stock.stock_led... | agpl-3.0 | -2,882,474,033,307,407,400 | 35.335505 | 129 | 0.688839 | false |
kdart/pycopia | mibs/pycopia/mibs/SNMP_USER_BASED_SM_MIB.py | 1 | 8334 | # python
# This file is generated by a program (mib2py). Any edits will be lost.
from pycopia.aid import Enum
import pycopia.SMI.Basetypes
Range = pycopia.SMI.Basetypes.Range
Ranges = pycopia.SMI.Basetypes.Ranges
from pycopia.SMI.Objects import ColumnObject, MacroObject, NotificationObject, RowObject, ScalarObject, N... | apache-2.0 | -6,750,926,250,645,303,000 | 31.940711 | 547 | 0.735781 | false |
home-assistant/home-assistant | tests/components/sensor/test_recorder.py | 1 | 19938 | """The tests for sensor recorder platform."""
# pylint: disable=protected-access,invalid-name
from datetime import timedelta
from unittest.mock import patch, sentinel
from homeassistant.components.recorder import history
from homeassistant.components.recorder.const import DATA_INSTANCE
from homeassistant.components.re... | apache-2.0 | -4,513,501,656,360,819,000 | 39.773006 | 88 | 0.582405 | false |
kuke/models | fluid/PaddleNLP/neural_machine_translation/rnn_search/attention_model.py | 1 | 8831 | # Copyright (c) 2018 PaddlePaddle Authors. All Rights Reserve.
#
# 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 appl... | apache-2.0 | -6,780,336,246,658,529,000 | 39.140909 | 79 | 0.576265 | false |
giruenf/GRIPy | algo/spectral/Hilbert.py | 1 | 2141 | # -*- coding: utf-8 -*-
#
# Class for deal with Analytic Signal
# Universidade Estadual do Norte Fluminense - UENF
# Laboratório de Engenharia de Petróleo - LENEP
# Grupo de Inferência em Reservatório - GIR
# Adriano Paulo Laes de Santana
# September 12th, 2017
#
# The following code is based on
# http://docs.scipy.or... | apache-2.0 | 9,056,039,645,876,526,000 | 27.878378 | 91 | 0.669162 | false |
k-yak/kivy_breakout | pong/main.py | 1 | 3115 | import kivy
kivy.require('1.1.3')
from kivy.app import App
from kivy.uix.widget import Widget
from kivy.properties import NumericProperty, ReferenceListProperty,\
ObjectProperty
from kivy.vector import Vector
from kivy.clock import Clock
from kivy.uix.floatlayout import FloatLayout
class Pong(FloatLa... | mit | -4,741,882,946,873,738,000 | 28.262136 | 79 | 0.545746 | false |
AlphaNerd80/Lists | superlists/settings.py | 1 | 2067 | """
Django settings for superlists project.
For more information on this file, see
https://docs.djangoproject.com/en/1.7/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.7/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)... | mit | -1,529,950,277,581,714,700 | 23.607143 | 71 | 0.727141 | false |
Moggi/python-playground | queues_thread.py | 1 | 1510 | # From tutorialspoint.com about Python Multithreaded Programming
# https://www.tutorialspoint.com/python/python_multithreading.htm
# !/usr/bin/python
import Queue
import threading
import time
exitFlag = 0
class myThread (threading.Thread):
def __init__(self, threadID, name, q):
threading.Thread.__init_... | gpl-2.0 | 3,738,729,254,467,271,700 | 21.205882 | 65 | 0.64106 | false |
asoliveira/NumShip | scripts/plot/r-velo-r-zz-plt.py | 1 | 3085 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#É adimensional?
adi = False
#É para salvar as figuras(True|False)?
save = True
#Caso seja para salvar, qual é o formato desejado?
formato = 'jpg'
#Caso seja para salvar, qual é o diretório que devo salvar?
dircg = 'fig-sen'
#Caso seja para salvar, qual é o nome do arquivo... | gpl-3.0 | 4,199,525,215,521,507,300 | 30.050505 | 87 | 0.632726 | false |
apdjustino/DRCOG_Urbansim | src/opus_gui/data_manager/run/tools/synthesizer_create_persons_marginals_table.py | 1 | 4218 | # Opus/UrbanSim urban simulation software.
# Copyright (C) 2010-2011 University of California, Berkeley, 2005-2009 University of Washington
# See opus_core/LICENSE
import os, sys
from opus_core.database_management.configurations.database_server_configuration import DatabaseServerConfiguration
from opus_core.database_m... | agpl-3.0 | -6,381,364,979,689,039,000 | 44.365591 | 281 | 0.661214 | false |
luckydonald/shairport-decoder | examples/image-average.py | 1 | 1351 | # -*- coding: utf-8 -*-
__author__ = 'luckydonald'
from luckydonaldUtils.logger import logging # pip install luckydonald-utils
logger = logging.getLogger(__name__)
from PIL import Image
import sys
from luckydonaldUtils.images.color import most_frequent_color
def average_colour(image):
colour_tuple = [None, None... | lgpl-3.0 | 7,137,069,983,716,982,000 | 21.147541 | 76 | 0.684678 | false |
hkarl/svpb | arbeitsplan/tables.py | 1 | 41071 | # -*- coding: utf-8 -*-
"""
Collect all the tables and column types relevant for django_tables2 here.
"""
import unicodedata
import django_tables2
from django.contrib.auth.models import User
from django.core.urlresolvers import reverse
from django.utils.html import escape, format_html
from django.utils.safestring im... | apache-2.0 | -1,148,436,846,957,183,600 | 33.7663 | 184 | 0.480138 | false |
stefan-jonasson/home-assistant | homeassistant/components/switch/snmp.py | 2 | 4667 | """
Support for SNMP enabled switch.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/switch.snmp/
"""
import logging
import voluptuous as vol
from homeassistant.components.switch import (SwitchDevice, PLATFORM_SCHEMA)
from homeassistant.const import (
... | mit | 5,310,518,417,148,485,000 | 30.533784 | 79 | 0.620956 | false |
ogvalt/saturn | spiking_som.py | 1 | 18544 |
from brian2 import *
from pyqtgraph.Qt import QtGui, QtCore
import numpy as np
import pyqtgraph as pg
import matplotlib.pyplot as plt
from dataset import ArtificialDataSet
class ReceptiveField:
# Parameter that used in standard deviation definition
gamma = 1.5
def __init__(self, bank_size=10, I_min=0... | mit | 4,091,960,593,132,690,000 | 38.04 | 115 | 0.512942 | false |
alexrudy/Cauldron | Cauldron/logger.py | 1 | 1395 | # -*- coding: utf-8 -*-
"""
A useful subclass of logger for more fine-grained messaging.
"""
import logging
import weakref
__all__ = ['KeywordMessageFilter']
class Logger(logging.getLoggerClass()):
"""A basic subclass of logger with some useful items."""
def getChild(self, suffix):
"""Get a chil... | bsd-3-clause | -8,061,825,739,172,878,000 | 26.92 | 80 | 0.581362 | false |
sprtkd/OpenHmnD | object/tst.py | 1 | 3754 | # -*- coding: utf-8 -*-
"""
Created on Tue Jul 11 09:29:01 2017
@author: Punyajoy Saha
"""
#!/usr/bin/env python
from pocketsphinx.pocketsphinx import *
from sphinxbase.sphinxbase import *
#
#import speech2
#
## say() speaks out loud.
#speech2.say("I am speaking out loud.")
#
## in... | mit | 6,885,824,817,186,783,000 | 23.889655 | 93 | 0.641982 | false |
jrief/djangocms-cascade | cmsplugin_cascade/migrations/0029_json_field.py | 1 | 2323 | # Generated by Django 3.1.5 on 2021-01-28 15:52
from django.db import migrations, models
def backwards(apps, schema_editor):
print("Migration backward will not restore your `JSONField`s to `CharField`s.")
class Migration(migrations.Migration):
dependencies = [
('cmsplugin_cascade', '0028_cascade_c... | mit | -3,055,507,169,678,262,000 | 33.161765 | 112 | 0.587602 | false |
SystemsBioinformatics/cbmpy | cbmpy/CBQt4.py | 1 | 32405 | """
CBMPy: CBQt4 module
===================
Constraint Based Modelling in Python (http://pysces.sourceforge.net/getNewReaction)
Copyright (C) 2009-2018 Brett G. Olivier, VU University Amsterdam, Amsterdam, The Netherlands
This program is free software: you can redistribute it and/or modify
it under the terms of the GN... | gpl-3.0 | 6,245,848,769,703,354,000 | 35.823864 | 148 | 0.568523 | false |
presidentielcoin/presidentielcoin | qa/rpc-tests/mempool_spendcoinbase.py | 1 | 2498 | #!/usr/bin/env python3
# Copyright (c) 2014-2016 The Presidentielcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
#
# Test spending coinbase transactions.
# The coinbase transaction in block N can appear in blo... | mit | 8,169,746,611,444,227,000 | 38.650794 | 104 | 0.670937 | false |
hgibs/cinefiles | src/cinefiles/cinefolders.py | 1 | 6051 | #! /usr/bin/env python3
import logging
import shutil
from shutil import copy2, move
from os import path, scandir, makedirs
import os
from sys import maxsize
from guessit import guessit
import configparser
from .cinefiles import Cinefiles
# from guessit import guessit
#
# defaultPath = "/Volumes/Holland Gibson Ext ... | apache-2.0 | -6,665,234,963,519,729,000 | 33.386364 | 77 | 0.497273 | false |
Telestream/telestream-cloud-python-sdk | telestream_cloud_qc_sdk/telestream_cloud_qc/models/framesize_test.py | 1 | 5637 | # coding: utf-8
"""
Qc API
Qc API # noqa: E501
The version of the OpenAPI document: 3.0.0
Contact: cloudsupport@telestream.net
Generated by: https://openapi-generator.tech
"""
import pprint
import re # noqa: F401
import six
from telestream_cloud_qc.configuration import Configuration
class... | mit | -44,024,424,667,962,370 | 27.326633 | 146 | 0.576903 | false |
mikel-egana-aranguren/SADI-Galaxy-Docker | galaxy-dist/static/scripts/pack_scripts.py | 1 | 1952 | #!/usr/bin/env python
import sys, os
from glob import glob
from subprocess import call
from shutil import copyfile
from os import path
# Scripts that should not be packed -- just copied
do_not_pack = set()
cmd = "java -jar ../../scripts/yuicompressor.jar --charset utf-8 --type js %(fname)s -o packed/%(fname)s"
# cm... | gpl-3.0 | -941,269,120,476,930,600 | 28.134328 | 136 | 0.618852 | false |
Skydes/Monitoring | src/main.py | 1 | 2622 | #!/usr/bin/env python
'''
Copyright (c) 2016, Paul-Edouard Sarlin
All rights reserved.
Project: Autonomous Monitoring System
File: main.py
Date: 2016-08-08
Author: Paul-Edouard Sarlin
Website: https://github.com/skydes/monitoring
'''
from multiprocessing import Que... | bsd-3-clause | -800,108,648,192,495,700 | 26.893617 | 130 | 0.745995 | false |
ToonTownInfiniteRepo/ToontownInfinite | toontown/coghq/MintInterior.py | 1 | 10229 | from direct.directnotify import DirectNotifyGlobal
from toontown.battle import BattlePlace
from direct.fsm import ClassicFSM, State
from direct.fsm import State
from direct.showbase import BulletinBoardWatcher
from pandac.PandaModules import *
from otp.distributed.TelemetryLimiter import RotationLimitToH, TLGatherAllAv... | mit | 7,421,334,415,014,637,000 | 41.620833 | 154 | 0.655587 | false |
signalfire/django-property | homes/admin.py | 1 | 2271 | from mapwidgets.widgets import GooglePointFieldWidget
from django.contrib import admin
from django.contrib.gis.db import models
from django.utils.translation import ugettext as _
from homes.models import Block, Banner, SEO, SearchPrice, Branch, PropertyTenure, PropertyType, Alert, MediaType
class SearchPriceAdmin(a... | mit | 5,921,387,022,681,501,000 | 28.115385 | 112 | 0.630559 | false |
miguelzuma/montepython_zuma | montepython/analyze.py | 1 | 95056 | """
.. module:: analyze
:synopsis: Extract data from chains and produce plots
.. moduleauthor:: Karim Benabed <benabed@iap.fr>
.. moduleauthor:: Benjamin Audren <benjamin.audren@epfl.ch>
Collection of functions needed to analyze the Markov chains.
This module defines as well a class :class:`Information`, that sto... | mit | 3,279,992,004,840,234,500 | 43.253259 | 153 | 0.52346 | false |
call-me-jimi/hq | hq/lib/hQCommand.py | 1 | 1329 | import re
class hQCommand( object ):
"""! @brief Command """
def __init__( self,
name,
regExp,
arguments = [],
permission = None,
fct = None,
help = "",
fullhelp = "" ):
self.n... | gpl-2.0 | 594,055,388,762,925,400 | 24.075472 | 62 | 0.470278 | false |
cojocar/vmchecker | vmchecker/submissions.py | 1 | 4960 | #! /bin/bin/env python
# -*- coding: utf-8 -*-
"""
"""
from __future__ import with_statement
import ConfigParser
import os
import time
import datetime
import logging
from .config import DATE_FORMAT
from . import paths
_logger = logging.getLogger('vmchecker.submissions')
def get_time_struct_from_str(time_str):
... | mit | -8,193,271,641,474,638,000 | 32.513514 | 75 | 0.653831 | false |
budnyjj/bsuir_magistracy | disciplines/OTOS/lab_1/lab.py | 1 | 1813 | #!/usr/bin/env python
import functools
import math
import random
import numpy as np
import matplotlib.pyplot as plt
plt.rc('text', usetex=True)
plt.rc('font', family='serif')
# 1D model
def model(x):
a = 2.7; d = 0.1; y_0 = 2
sigma = 0.001
result = y_0 - 0.04 * (x - a) - d * (x - a)**2
return resul... | gpl-3.0 | 7,770,229,010,586,717,000 | 24.9 | 79 | 0.578047 | false |
ucbrise/clipper | integration-tests/deploy_pytorch_to_caffe2_with_onnx.py | 1 | 7042 | from __future__ import absolute_import, print_function
import os
import sys
import requests
import json
import numpy as np
import time
import logging
cur_dir = os.path.dirname(os.path.abspath(__file__))
import torch
import torch.utils.data as data
from torch import nn, optim
from torch.autograd import Variable
import... | apache-2.0 | 3,313,663,111,982,408,000 | 29.484848 | 86 | 0.557938 | false |
dcneeme/droidcontroller | achannels.py | 1 | 26311 | # to be imported to access modbus registers as analogue io
# 03.04.2014 neeme
# 04.04.2014 it works, without periodical executuoin and without acces by svc reg
# 06.04.2014 seguential register read for optimized reading, done
# 14.04.2014 mb[mbi] (multiple modbus connections) support. NOT READY!
# 16.04.2014 fixed mt... | gpl-3.0 | 2,982,232,896,375,325,000 | 45.240773 | 195 | 0.520505 | false |
mtthwflst/terse | Parsers/NRT.py | 1 | 24648 | if __name__ == "__main__":
import sys,os
selfname = sys.argv[0]
full_path = os.path.abspath(selfname)[:]
last_slash = full_path.rfind('/')
dirpath = full_path[:last_slash] + '/..'
print "Append to PYTHONPATH: %s" % (dirpath)
sys.path.append(dirpath)
import copy, string
import math
import nu... | mit | 3,443,818,888,662,613,500 | 28.625 | 117 | 0.438737 | false |
ser/topitup | login_bp.py | 1 | 3595 | # Flask modules
from flask import (
Blueprint,
render_template,
redirect,
url_for,
request,
flash,
g
)
# FLask Login
from flask_login import (
login_user,
logout_user,
current_user
)
# WTForms
from flask_wtf import Form, RecaptchaField
from wtforms import StringField, SubmitFiel... | agpl-3.0 | 2,974,913,591,940,286,500 | 26.234848 | 76 | 0.624478 | false |
lgarren/spack | var/spack/repos/builtin/packages/eccodes/package.py | 1 | 4223 | ##############################################################################
# Copyright (c) 2013-2017, Lawrence Livermore National Security, LLC.
# Produced at the Lawrence Livermore National Laboratory.
#
# This file is part of Spack.
# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.
# LLNL-CODE-64... | lgpl-2.1 | 7,285,572,141,602,078,000 | 43.925532 | 113 | 0.636514 | false |
DaggerES/ReloadCam | DELETED_ReloadCam_Server_Kacsat.py | 1 | 1301 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
#Refrescador automatico de clines
#Creado por Dagger - https://github.com/gavazquez
import ReloadCam_Main, ReloadCam_Helper
def GetVersion():
return 3
#Filename must start with Server, classname and argument must be the same!
class Kacsat(ReloadCam_Main.Server):
... | gpl-3.0 | 1,889,748,658,797,407,500 | 30.731707 | 90 | 0.652575 | false |
yunify/qingcloud-cli | qingcloud/cli/iaas_client/actions/lb/modify_loadbalancer_backend_attributes.py | 1 | 2590 | # =========================================================================
# Copyright 2012-present Yunify, Inc.
# -------------------------------------------------------------------------
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this work except in compliance with the Licens... | apache-2.0 | -2,008,896,815,739,194,600 | 41.459016 | 77 | 0.57027 | false |
ltilve/chromium | tools/mb/mb_unittest.py | 1 | 4852 | # Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Tests for mb.py."""
import json
import sys
import unittest
import mb
class FakeMBW(mb.MetaBuildWrapper):
def __init__(self):
super(FakeMBW, self... | bsd-3-clause | -1,060,539,262,879,962,600 | 27.209302 | 76 | 0.561006 | false |
mbuesch/pyprofibus | stublibs/serial.py | 1 | 2414 | from pyprofibus.compat import *
import time
PARITY_EVEN = "E"
PARITY_ODD = "O"
STOPBITS_ONE = 1
STOPBITS_TWO = 2
class SerialException(Exception):
pass
class Serial(object):
def __init__(self):
self.__isMicropython = isMicropython
self.port = "/dev/ttyS0"
self.__portNum = None
self.baudrate = 9600
self.b... | gpl-2.0 | 8,178,868,719,447,884,000 | 23.886598 | 75 | 0.652444 | false |
cgroza/gEcrit | gEcrit.py | 1 | 29353 | # Copyright (C) 2011 Groza Cristian
#
# 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 di... | gpl-3.0 | 6,744,079,877,106,836,000 | 35.32797 | 204 | 0.581746 | false |
bolshoibooze/err | errbot/backends/campfire.py | 1 | 4381 | import logging
import sys
from errbot.backends.base import Message, build_message
from errbot.errBot import ErrBot
from threading import Condition
log = logging.getLogger(__name__)
try:
import pyfire
except ImportError:
log.exception("Could not start the campfire backend")
log.fatal("""
If you intend... | gpl-3.0 | -7,363,828,428,747,781,000 | 32.7 | 98 | 0.632276 | false |
EOOOL/flaskq | app/api_1_0/comments.py | 1 | 2405 | from flask import jsonify, request, g, url_for, current_app
from .. import db
from ..models import Post, Permission, Comment
from . import api
from .decorators import permission_required
@api.route('/comments/')
def get_comments():
page = request.args.get('page', 1, type=int)
pagination = Comment.qu... | mit | 1,175,486,497,100,385,800 | 32.357143 | 75 | 0.607484 | false |
secnot/uva-onlinejudge-solutions | 10004 - Bicoloring/main.py | 1 | 1734 | import sys
from collections import deque
def load_num():
num_str = sys.stdin.readline()
if num_str == '\n' or num_str=='':
return None
return list(map(int, num_str.rstrip().split()))
def load_graph():
"""Load graph into its adjacency list"""
vertices = load_num()[0]
# Check it i... | mit | -2,551,883,087,197,521,400 | 20.949367 | 76 | 0.544983 | false |
beremaran/cbu-cse3113 | hw07.py | 1 | 2388 | #!/usr/bin/env python
import argparse
import numpy as np
from PIL import Image
'''
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 optio... | gpl-3.0 | -3,285,391,032,930,099,700 | 27.771084 | 117 | 0.664154 | false |
VUEG/bdes_to | src/03_post_processing/similarity.py | 1 | 18175 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
""" Functions and utilities comparing raster and vector similarities.
Module can be used alone or as part of Snakemake workflow.
"""
import logging
import rasterio
import geopandas as gpd
import pandas as pd
import numpy as np
import numpy.ma as ma
from importlib.machine... | mit | -3,889,173,436,250,582,000 | 41.169374 | 108 | 0.592737 | false |
jashandeep-sohi/aiohttp | aiohttp/client.py | 1 | 25360 | """HTTP Client for asyncio."""
import asyncio
import base64
import hashlib
import os
import sys
import traceback
import warnings
import http.cookies
import urllib.parse
import aiohttp
from .client_reqrep import ClientRequest, ClientResponse
from .errors import WSServerHandshakeError
from .multidict import MultiDictPr... | apache-2.0 | -5,988,827,585,146,491,000 | 32.456464 | 79 | 0.536199 | false |
opennewzealand/linz2osm | linz2osm/data_dict/management/commands/update_layer_names.py | 1 | 4626 | # LINZ-2-OSM
# Copyright (C) Koordinates Ltd.
#
# 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 ... | gpl-3.0 | 9,209,304,426,773,775,000 | 42.641509 | 134 | 0.610463 | false |
kmnk/gitn | rplugin/python3/denite/source/gitn_log.py | 1 | 5421 | # File: gitn_log.py
# Author: kmnk <kmnknmk at gmail.com>
# License: MIT license
from gitn.enum import Window
from gitn.util.gitn import Gitn
from denite.process import Process
import os
import re
import time
from .gitn import Source as Base
DATE_GRAPH_HIGHLIGHT = {
'container': {
'name': 'gitnLog_dateGr... | mit | 632,974,363,430,759,600 | 29.455056 | 174 | 0.448072 | false |
Lektorium-LLC/edx-ora2 | openassessment/assessment/models/peer.py | 1 | 18730 | """
Django models specific to peer assessment.
NOTE: We've switched to migrations, so if you make any edits to this file, you
need to then generate a matching migration for it using:
./manage.py schemamigration openassessment.assessment --auto
"""
import random
from datetime import timedelta
from django.db impo... | agpl-3.0 | 7,839,245,104,259,075,000 | 37.778468 | 112 | 0.609557 | false |
yoshrote/valid_model | setup.py | 1 | 1048 | from setuptools import setup, find_packages
setup(name='valid_model',
version='0.4.0',
description="Generic data modeling and validation",
long_description="""\
""",
classifiers=[
'Intended Audience :: Developers',
'License :: OSI Approved :: MIT License',
'P... | mit | -5,580,786,748,296,095,000 | 31.75 | 72 | 0.542939 | false |
LookThisCode/DeveloperBus | Season 2013/Brazil/Projects/QueroMe-master/search/tests.py | 1 | 3836 | # -*- coding: utf-8 -*-
from django.db import models
from django.test import TestCase
# use immediate_update on tests
from django.conf import settings
settings.SEARCH_BACKEND = 'search.backends.immediate_update'
from search import register
from search.core import startswith
# ExtraData is used for ForeignKey tests... | apache-2.0 | -4,262,808,245,865,043,000 | 35.730769 | 89 | 0.643194 | false |
saydulk/django-wysiwyg | django_wysiwyg/templatetags/wysiwyg.py | 1 | 2413 | from django import template
from django.conf import settings
from django.template.loader import render_to_string
try:
from urlparse import urljoin
except ImportError:
from urllib.parse import urljoin
register = template.Library()
def get_settings():
"""Utility function to retrieve settings.py values wit... | mit | -7,762,174,823,449,520,000 | 28.790123 | 126 | 0.675508 | false |
nextgenusfs/funannotate | funannotate/utilities/stringtie2gff3.py | 1 | 3977 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys
import argparse
import funannotate.library as lib
def dict2gff3(input):
from collections import OrderedDict
'''
function to convert funannotate gene dictionary to gff3 output
'''
def _sortDict(d):
return (d[1]['contig'], d[1]['locat... | bsd-2-clause | -5,736,459,926,717,889,000 | 49.341772 | 144 | 0.451848 | false |
SEL-Columbia/commcare-hq | corehq/apps/importer/views.py | 1 | 10857 | import os.path
from django.http import HttpResponseRedirect, HttpResponseServerError
from casexml.apps.case.models import CommCareCase
from corehq.apps.importer import base
from corehq.apps.importer import util as importer_util
from corehq.apps.importer.tasks import bulk_import_async
from django.views.decorators.http i... | bsd-3-clause | 287,405,050,665,804,160 | 39.511194 | 101 | 0.590771 | false |
brianloveswords/webpagemaker | webpagemaker/api/migrations/0004_lowercase_short_url_ids.py | 1 | 1316 | # -*- coding: utf-8 -*-
import datetime
from south.db import db
from south.v2 import DataMigration
from django.db import models
NUMERALS = "3fldc4mzjyqr7bkug5vh0a68xpon9stew12i"
def rebase(num, numerals=NUMERALS):
base = len(numerals)
left_digits = num // base
if left_digits == 0:
return numerals[... | mpl-2.0 | 162,472,665,847,516,580 | 31.9 | 126 | 0.587386 | false |
EndPointCorp/lg_ros_nodes | lg_media/scripts/browser_player.py | 1 | 1133 | #!/usr/bin/env python3
import rospy
from lg_msg_defs.msg import AdhocMedias
from lg_media import DirectorMediaBridge
from interactivespaces_msgs.msg import GenericMessage
from lg_common.helpers import handle_initial_state
from lg_common.helpers import run_with_influx_exception_handler
DEFAULT_VIEWPORT = 'center'
MEDI... | apache-2.0 | 6,909,703,112,144,728,000 | 34.40625 | 91 | 0.713151 | false |
paulmcquad/projecteuler | 0-100/problem31.py | 1 | 1448 | #http://users.softlab.ntua.gr/~ttsiod/euler31.html
#!/usr/bin/env python
# the 8 coins correspond to 8 columns
coins = [1, 2, 5, 10, 20, 50, 100, 200]
TARGET=200
matrix = {}
for y in xrange(0, TARGET+1):
# There is only one way to form a target sum N
# via 1-cent coins: use N 1-cents!
matrix[y, 0] = 1 ... | gpl-3.0 | -9,069,959,849,210,606,000 | 31.909091 | 59 | 0.529006 | false |
mattintosh4/nihonshu | build.py | 1 | 25063 | #!/usr/bin/python
# -*- coding: utf-8 -*-
from subprocess import *
import os
import re
import sys
import shutil
INSTALL_ROOT = '/usr/local/wine'
PROJECT_ROOT = os.path.dirname(os.path.abspath(__file__))
DEPOSROOT = os.path.join(PROJECT_ROOT, 'depos')
SRCROOT = os.path.join(PROJECT_ROOT, 'src')
P... | gpl-3.0 | 7,017,750,207,364,745,000 | 26.878754 | 122 | 0.513865 | false |
savoirfairelinux/quebec-monitoring | scripts/dns.py | 1 | 2091 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
DNS = {
# Cogeco Cable (Trois-rivieres)
'cogeco.ca': ['205.151.69.200','205.151.68.200'],
# Videotron.CA
'videotron.ca': ['205.151.222.250', '205.151.222.251'],
# Colbanet
'colba.net': ['216.252.64.75', '216.252.64.76'],
}
template_... | agpl-3.0 | -6,103,445,619,368,963,000 | 27.256757 | 77 | 0.432329 | false |
paul99/clank | PRESUBMIT.py | 1 | 13362 | # Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
"""Top-level presubmit script for Chromium.
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details about the presu... | bsd-3-clause | 8,264,440,543,859,224,000 | 37.396552 | 82 | 0.66966 | false |
unt-libraries/catalog-api | django/sierra/utils/test_helpers/orm.py | 1 | 5271 | """
Contains test helpers for managing ORM test models and such.
"""
import os
from collections import OrderedDict
from django.db import models
from django.core import management
from django.db import connections, OperationalError
from django.conf import settings
class AppModelsEnvironment(object):
"""
Cla... | bsd-3-clause | 6,047,544,646,794,864,000 | 35.351724 | 79 | 0.616771 | false |
dpanth3r/biggraphite | biggraphite/glob_utils.py | 1 | 15872 | #!/usr/bin/env python
# Copyright 2016 Criteo
#
# 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 agree... | apache-2.0 | -4,000,647,928,094,152,000 | 29.75969 | 88 | 0.550718 | false |
AlexGidiotis/Multimodal-Gesture-Recognition-with-LSTMs-and-CTC | multimodal_fusion/sequence_decoding.py | 1 | 3585 |
import pandas as pd
import numpy as np
from operator import itemgetter
from itertools import groupby
from keras.preprocessing import sequence
from keras.models import Sequential
from keras.models import model_from_json
from keras import backend as K
from keras.optimizers import RMSprop
import keras.callbacks
from kera... | mit | 6,923,407,496,692,858,000 | 27.228346 | 112 | 0.68954 | false |
HewlettPackard/oneview-ansible | test/test_oneview_scope.py | 1 | 11066 | #!/usr/bin/python
# -*- coding: utf-8 -*-
###
# Copyright (2016-2020) Hewlett Packard Enterprise Development LP
#
# 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/licen... | apache-2.0 | -3,200,483,235,945,231,000 | 34.928571 | 104 | 0.653895 | false |
rtucker-mozilla/mozilla_inventory | core/utils.py | 1 | 6521 | from django.db.models import Q
from django.core.exceptions import ValidationError
import ipaddr
import smtplib
from email.mime.text import MIMEText
from settings.local import people_who_need_to_know_about_failures
from settings.local import inventorys_email
# http://dev.mysql.com/doc/refman/5.0/en/miscellaneous-func... | bsd-3-clause | 522,087,460,123,051,500 | 28.776256 | 78 | 0.535501 | false |
Vladimir-Ivanov-Git/raw-packet | Scripts/DHCP/dhcpv6_rogue_server.py | 1 | 36326 | #!/usr/bin/env python
# region Import
from sys import path
from os.path import dirname, abspath
project_root_path = dirname(dirname(dirname(abspath(__file__))))
utils_path = project_root_path + "/Utils/"
path.append(utils_path)
from base import Base
from network import Ethernet_raw, IPv6_raw, ICMPv6_raw, UDP_raw, DHC... | unlicense | 7,659,077,770,600,407,000 | 43.846914 | 121 | 0.500248 | false |
JoshData/diff_match_patch-python | setup.py | 2 | 1307 | from setuptools import setup, find_packages, Extension
# Note to self: To upload a new version to PyPI, run:
# pip install wheel twine
# python setup.py sdist bdist_wheel
# twine upload dist/*
module1 = Extension('diff_match_patch',
sources = ['interface.cpp'],
include_dirs = [... | cc0-1.0 | -4,188,308,818,056,781,300 | 37.441176 | 179 | 0.636572 | false |
SeaItRise/SeaItRise-webportal | src/accounts/models.py | 1 | 4568 | import uuid
from datetime import timedelta
from django.conf import settings
from django.contrib.auth.models import AbstractBaseUser, BaseUserManager
from django.db import models
from django.utils import timezone
from django.utils.translation import ugettext_lazy as _
class MyUserManager(BaseUserManager):
def _cr... | mit | -9,196,402,323,068,319,000 | 29.657718 | 108 | 0.59282 | false |
sbobovyc/Scalable-Warfare-Engine | src/utils/mapmaker/src/mapmaker.py | 1 | 7129 | """
Created on December 12, 2011
@author: sbobovyc
"""
"""
Copyright (C) 2011 Stanislav Bobovych
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) ... | gpl-3.0 | 2,024,511,455,187,752,400 | 33.274038 | 250 | 0.675971 | false |
greggian/TapdIn | django/contrib/flatpages/admin.py | 1 | 1100 | from django import forms
from django.contrib import admin
from django.contrib.flatpages.models import FlatPage
from django.utils.translation import ugettext_lazy as _
class FlatpageForm(forms.ModelForm):
url = forms.RegexField(label=_("URL"), max_length=100, regex=r'^[-\w/]+$',
help_text = _("Exam... | apache-2.0 | 7,297,535,413,985,754,000 | 37.285714 | 133 | 0.615455 | false |
2015fallhw/cdw11 | users/b/g11/bg11_40323247.py | 1 | 20505 | # 各組分別在各自的 .py 程式中建立應用程式 (第1步/總共3步)
from flask import Blueprint, render_template, make_response
# 利用 Blueprint建立 ag1, 並且 url 前綴為 /ag1, 並設定 template 存放目錄
bg11_40323247 = Blueprint('bg11_40323247', __name__, url_prefix='/bg11_40323247', template_folder='templates')
@bg11_40323247.route('/task47_1')
def task47_1():
... | agpl-3.0 | -2,091,752,563,251,680,500 | 27.446708 | 110 | 0.607912 | false |
oczkers/gdown | gdown/modules/filefactory.py | 1 | 5668 | # -*- coding: utf-8 -*-
"""
gdown.modules.filefactory
~~~~~~~~~~~~~~~~~~~
This module contains handlers for filefactory.
"""
import re
from datetime import datetime
from dateutil import parser
from time import sleep
from ..module import browser, acc_info_template
from ..exceptions import ModuleError
def upload(u... | gpl-3.0 | -7,907,263,448,037,048,000 | 50.063063 | 288 | 0.638497 | false |
parksandwildlife/wastd | occurrence/migrations/0034_auto_20190507_1222.py | 1 | 2843 | # Generated by Django 2.1.7 on 2019-05-07 04:22
from django.db import migrations, models
import django.db.models.deletion
import uuid
class Migration(migrations.Migration):
dependencies = [
('occurrence', '0033_auto_20190506_1347'),
]
operations = [
migrations.CreateModel(
n... | mit | 1,233,837,931,145,389,300 | 44.854839 | 211 | 0.610623 | false |
willre/homework | day21-22/webChat/webChat_master/views.py | 1 | 3580 | # -*- coding:utf-8 -*-
import json
import Queue
import time
from django.shortcuts import render,HttpResponseRedirect,HttpResponse
from django.contrib.auth import authenticate,login,logout
from webChat_forms.loginFrom import userLoginFrom
from django.contrib.auth.decorators import login_required
from webChat_models ... | gpl-2.0 | 4,381,744,721,565,426,700 | 30.90991 | 123 | 0.612931 | false |
taariq/btcmarketdata | btcdata/public_markets/market.py | 1 | 1991 | import time
import urllib.request
import urllib.error
import urllib.parse
import config
import logging
from fiatconverter import FiatConverter
class Market(object):
def __init__(self, currency):
self.name = self.__class__.__name__
self.currency = currency
self.depth_updated = 0
sel... | mit | 2,434,534,309,840,194,600 | 30.603175 | 90 | 0.553993 | false |
edx/course-discovery | course_discovery/settings/base.py | 1 | 21247 | import os
import platform
from logging.handlers import SysLogHandler
from os.path import abspath, dirname, join
from sys import path
from corsheaders.defaults import default_headers as corsheaders_default_headers
here = lambda *x: join(abspath(dirname(__file__)), *x)
PROJECT_ROOT = here('..')
root = lambda *x: abspat... | agpl-3.0 | -2,374,468,131,660,770,000 | 33.049679 | 122 | 0.687391 | false |
fp7-netide/Engine | loader/loader/installer.py | 1 | 8381 | """
Copyright (c) 2015, NetIDE Consortium (Create-Net (CN), Telefonica Investigacion Y Desarrollo SA (TID), Fujitsu
Technology Solutions GmbH (FTS), Thales Communications & Security SAS (THALES), Fundacion Imdea Networks (IMDEA),
Universitaet Paderborn (UPB), Intel Research & Innovation Ireland Ltd (IRIIL), Fraunhof... | epl-1.0 | -2,557,839,773,706,332,700 | 41.323232 | 153 | 0.540692 | false |
wxgeo/geophar | wxgeometrie/sympy/codegen/cnodes.py | 3 | 2498 | """
AST nodes specific to the C family of languages
"""
from sympy.core.basic import Basic
from sympy.core.compatibility import string_types
from sympy.core.containers import Tuple
from sympy.core.sympify import sympify
from sympy.codegen.ast import Attribute, Declaration, Node, String, Token, Type, none, FunctionCall... | gpl-2.0 | 1,761,598,395,251,997,700 | 22.566038 | 99 | 0.651321 | false |
ezietsman/seismo | setup.py | 1 | 1041 | from numpy.distutils.core import Extension
f90periodogram = Extension(name='f90periodogram',
sources=['seismo/src/periodogram.f90'],
extra_f90_compile_args=["-fopenmp", "-lgomp"],
extra_link_args=["-lgomp"])
if __name__ == "__main__":
... | mit | 5,087,803,322,496,857,000 | 29.617647 | 73 | 0.580211 | false |
Anushi/inhousemenu | search_recipes/views.py | 1 | 14147 | import operator
from django.shortcuts import render
from django.http import HttpResponse
from .models import RecipeList, RecipeIngredient, RecipeContent2, IngredientList
from django.db.models import Q
import itertools
# Create your views here.
def search_recipes_form(request):
ingredients_name_list = Ingredien... | mit | -8,943,540,473,010,711,000 | 35.37018 | 180 | 0.581466 | false |
kallimachos/archive | games/sonar.py | 1 | 6342 | # Sonar
import random
import sys
def drawBoard(board):
# Draw the board data structure.
hline = ' ' # initial space for the numbers down the left side of the board
for i in range(1, 6):
hline += (' ' * 9) + str(i)
# print the numbers across the top
print(hline)
print(' ' + ('0123456789' * 6))
print()
# p... | gpl-3.0 | -1,569,769,953,806,892,800 | 35.034091 | 133 | 0.694734 | false |
fernandog/Medusa | ext/sqlalchemy/orm/descriptor_props.py | 1 | 27751 | # orm/descriptor_props.py
# Copyright (C) 2005-2018 the SQLAlchemy authors and contributors
# <see AUTHORS file>
#
# This module is part of SQLAlchemy and is released under
# the MIT License: http://www.opensource.org/licenses/mit-license.php
"""Descriptor properties are more "auxiliary" properties
that exist as confi... | gpl-3.0 | 7,448,052,880,767,229,000 | 34.993515 | 79 | 0.569097 | false |
fy/compare_dp_mechanisms | notebooks/utility_functions.py | 1 | 3409 | # -*- coding: utf-8 -*-
# <nbformat>3.0</nbformat>
# <markdowncell>
# Utility functions.
# <codecell>
import numpy as np
# <codecell>
def get_chisq_sensitivity(NN_case, NN_control):
"""sensitivity for the chi-square statistic based on 2x3 genotype tables"""
NN = NN_case + NN_control # total number of sub... | mit | 3,960,275,843,723,750,000 | 32.097087 | 111 | 0.576709 | false |
Flavsditz/projects | eyeTracking/pupil/pupil_src/shared_modules/uvc_capture/mac_video/cf_string.py | 1 | 2685 | '''
(*)~----------------------------------------------------------------------------------
Pupil - eye tracking platform
Copyright (C) 2012-2013 Moritz Kassner & William Patera
Distributed under the terms of the CC BY-NC-SA License.
License details are in the file license.txt, distributed as part of this softwar... | gpl-2.0 | -7,743,753,104,019,920,000 | 35.283784 | 100 | 0.731844 | false |
1Strategy/security-fairy | aws_iam_policy.py | 1 | 5068 |
import logging
import json
import re
class IAMPolicy:
def __init__(self, logging_level = logging.DEBUG):
logging.basicConfig(level=logging_level)
self.statements = []
self.service_actions = {}
self.max_policy_size = {
'user' : 2048, # User policy size c... | apache-2.0 | -6,934,768,332,968,634,000 | 37.105263 | 139 | 0.572612 | false |
khalido/nd101 | tf_save_check.py | 1 | 1112 | import tensorflow as tf
# The file path to save the data
save_file = './model.ckpt'
# Two Tensor Variables: weights and bias
weights = tf.Variable(tf.truncated_normal([2, 3]))
bias = tf.Variable(tf.truncated_normal([3]))
# Class used to save and/or restore Tensor Variables
saver = tf.train.Saver()
with tf.Session() ... | gpl-3.0 | 3,808,513,290,078,029,300 | 24.883721 | 52 | 0.690647 | false |
hakuya/higu | lib/hdbfs/query.py | 1 | 12573 | import calendar
import datetime
import hdbfs
import model
class TagConstraint:
def __init__( self, tag ):
self.__tag = tag
def to_db_constraint( self, db ):
if( isinstance( self.__tag, hdbfs.Obj ) ):
tag = self.__tag
elif( isinstance( self.__tag, int ) ):
t... | bsd-2-clause | -7,394,012,294,911,807,000 | 30.198511 | 83 | 0.459318 | false |
eloquence/unisubs | docs/conf.py | 1 | 6953 | # -*- coding: utf-8 -*-
#
# Amara documentation build configuration file, created by
# sphinx-quickstart on Mon Jul 25 14:58:38 2011.
#
# This file is execfile()d with the current directory set to its containing dir.
#
# Note that not all possible configuration values are present in this
# autogenerated file.
#
# All c... | agpl-3.0 | -4,141,644,483,052,377,000 | 30.894495 | 80 | 0.709766 | false |
brguez/TEIBA | src/python/mergeVCF.py | 1 | 2384 | #!/usr/bin/env python
#coding: utf-8
#### FUNCTIONS ####
def header(string):
"""
Display header
"""
timeInfo = time.strftime("%Y-%m-%d %H:%M")
print '\n', timeInfo, "****", string, "****"
def subHeader(string):
"""
Display subheader
"""
timeInfo = time.strftime("%Y-%m-%... | gpl-3.0 | -8,237,825,818,623,232,000 | 22.544554 | 136 | 0.666526 | false |
jdavidrcamacho/Tests_GP | 08 - Thesis results/speed_test6.py | 1 | 5414 | import Gedi as gedi
import george
import numpy as np;
import matplotlib.pylab as pl; pl.close('all')
from time import time,sleep
import scipy.optimize as op
import sys
##### INITIAL DATA ###########################################################
nrep = 1
pontos=[]
temposQP=[]
temposmulti=[]
georgeQP=[]
sleept... | mit | -2,779,067,002,796,960,300 | 32.84375 | 92 | 0.598079 | false |
ArtBIT/Droptopus | droptopus/forms.py | 1 | 3409 | import os
import logging
from droptopus import config, settings
from PyQt5.QtCore import Qt
from PyQt5.QtWidgets import (
QDialog,
QDialogButtonBox,
QFileDialog,
QFormLayout,
QHBoxLayout,
QLabel,
QLineEdit,
QMessageBox,
QPushButton,
)
from PyQt5.QtGui import QPixmap
class EditIte... | mit | -2,698,943,702,042,871,000 | 27.889831 | 87 | 0.563802 | false |
nwokeo/supysonic | supysonic/frontend/folder.py | 1 | 3211 | # coding: utf-8
# This file is part of Supysonic.
#
# Supysonic is a Python implementation of the Subsonic server API.
# Copyright (C) 2013 Alban 'spl0k' Féron
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
# the F... | agpl-3.0 | 8,356,012,142,312,733,000 | 29.571429 | 90 | 0.718069 | false |
janusnic/dj-21v | unit_06/mysite/blog/models.py | 1 | 1855 | from django.db import models
import datetime
from django.utils import timezone
from django.utils.encoding import python_2_unicode_compatible
class Category(models.Model):
name = models.CharField(max_length=100)
slug = models.SlugField(max_length=100, unique=True, verbose_name='slug')
description = models.T... | mit | 8,088,167,505,696,857,000 | 39.326087 | 137 | 0.687871 | false |
tischlda/mopidy-oe1 | mopidy_oe1/library.py | 1 | 5362 | from __future__ import unicode_literals
import logging
import re
from client import OE1Client
from mopidy import backend
from mopidy.models import Ref, Track
logger = logging.getLogger(__name__)
class OE1Uris(object):
ROOT = 'oe1:directory'
LIVE = 'oe1:live'
CAMPUS = 'oe1:campus'
ARCHIVE = 'oe1:ar... | apache-2.0 | 2,123,299,529,363,965,000 | 32.304348 | 77 | 0.567326 | false |
D3DeFi/vmcli | lib/modules/clone.py | 1 | 5545 | from pyVmomi import vim
from lib.modules import BaseCommands
from lib.tools import normalize_memory
from lib.tools.argparser import args
from lib.exceptions import VmCLIException
from flavors import load_vm_flavor
class CloneCommands(BaseCommands):
"""clone specific VMware objects, without any further configurat... | apache-2.0 | 4,840,499,294,122,685,000 | 52.317308 | 119 | 0.645807 | false |
antoniorohit/xbob.spkrec | xbob/spkrec/script/external_vad_conversion.py | 1 | 2026 | #!bin/python
# vim: set fileencoding=utf-8 :
# Elie Khoury <Elie.Khoury@idiap.ch>
# Fri Aug 30 11:44:33 CEST 2013
#
# Copyright (C) 2012-2013 Idiap Research Institute, Martigny, Switzerland
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as... | gpl-3.0 | -514,649,792,676,167,900 | 32.213115 | 94 | 0.698421 | false |
masayuko/nikola | nikola/nikola.py | 1 | 95558 | # -*- coding: utf-8 -*-
# Copyright © 2012-2015 Roberto Alsina and others.
# 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 t... | mit | 7,813,781,816,376,014,000 | 43.03318 | 196 | 0.547451 | false |
psiwczak/openstack | nova/virt/baremetal/tilera.py | 1 | 12639 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 University of Southern California
#
# 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/... | apache-2.0 | 6,158,067,869,919,608,000 | 33.627397 | 78 | 0.544505 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.