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 |
|---|---|---|---|---|---|---|---|---|---|---|
jecki/MetaInductionSim | PyPlotter/qtGfx.py | 3 | 10165 | #!/usr/bin/python
# qtGfx - Implementation of the Gfx.Driver Interface in a
# qt evnironment
"""Implementes Gfx.Driver using the qt GUI toolkit.
"""
import sys, math
try:
from PyQt5.Qt import Qt
from PyQt5.QtCore import pyqtSignal as SIGNAL
from PyQt5.QtCore import QPoint, QObject
from ... | mit | 7,680,707,670,072,934,000 | 32.883333 | 82 | 0.546188 | false |
rwrobe/learning_journal | setup.py | 1 | 1340 | import os
from setuptools import setup, find_packages
here = os.path.abspath(os.path.dirname(__file__))
with open(os.path.join(here, 'README.txt')) as f:
README = f.read()
with open(os.path.join(here, 'CHANGES.txt')) as f:
CHANGES = f.read()
requires = [
'pyramid',
'pyramid_chameleon',
'pyramid_j... | mit | -2,457,594,420,203,618,300 | 24.769231 | 81 | 0.59403 | false |
AlanProject/day08 | MyFTP_Client/modules/main.py | 1 | 5250 | #-*- coding:utf-8 -*-
#/usr/bin/env python
import sys,os
import pickle
import socket
class ClientArgv(object):
def __init__(self,argvs):
self.argvs = argvs
self.argvs_parser()
self.handle()
def handle(self):
self.connect()
#接收打印欢迎信息
server_data = self.client_socke... | apache-2.0 | 6,361,247,776,647,331,000 | 33 | 82 | 0.516471 | false |
ctu-yfsg/2015-a-grass-reclass | reclassify/Layout/PreviewPanel.py | 1 | 2207 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Subclass of wx.Panel"""
#-----------------------------------------------------------------------------------------
#Import
try:
#wxPython
import wx
#python std library
import sys
#GRASS modules and packages
from modules.colorrules import Buffere... | gpl-2.0 | 7,031,197,689,677,351,000 | 27.675325 | 94 | 0.434073 | false |
fabricematrat/py-macaroon-bakery | macaroonbakery/identity.py | 1 | 4152 | # Copyright 2017 Canonical Ltd.
# Licensed under the LGPLv3, see LICENCE file for details.
import abc
import macaroonbakery as bakery
class Identity(object):
''' Holds identity information declared in a first party caveat added when
discharging a third party caveat.
'''
__metaclass__ = abc.ABCMeta
... | lgpl-3.0 | -1,514,180,123,860,796,000 | 31.952381 | 78 | 0.646435 | false |
destijl/grr | grr/lib/rdfvalues/filestore_test.py | 1 | 2451 | #!/usr/bin/env python
# -*- mode: python; encoding: utf-8 -*-
"""These are tests for the file store-related RDFValues implementations."""
from grr.lib.aff4_objects import filestore
from grr.lib.rdfvalues import test_base
class FileStoreHashTest(test_base.RDFValueTestCase):
"""Test the FileStoreHash implementatio... | apache-2.0 | -5,360,122,692,229,730,000 | 36.707692 | 80 | 0.709098 | false |
TieWei/nova | nova/tests/virt/vmwareapi/stubs.py | 1 | 2197 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# Copyright (c) 2011 Citrix Systems, Inc.
# Copyright 2011 OpenStack Foundation
#
# 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
#
# ... | apache-2.0 | -7,053,649,786,720,345,000 | 33.873016 | 78 | 0.706873 | false |
saaros/pghoard | pghoard/receivexlog.py | 1 | 2656 | """
pghoard - pg_receivexlog handler
Copyright (c) 2016 Ohmu Ltd
See LICENSE for details
"""
import datetime
import logging
import select
import subprocess
import time
from .common import set_subprocess_stdout_and_stderr_nonblocking, terminate_subprocess
from .pgutil import get_connection_info
from threading import ... | apache-2.0 | -5,884,344,457,204,641,000 | 34.891892 | 90 | 0.583961 | false |
tinloaf/home-assistant | tests/helpers/test_template.py | 1 | 38585 | """Test Home Assistant template helper methods."""
import asyncio
from datetime import datetime
import unittest
import random
import math
from unittest.mock import patch
from homeassistant.components import group
from homeassistant.exceptions import TemplateError
from homeassistant.helpers import template
from homeass... | apache-2.0 | 7,943,343,220,525,600,000 | 35.530303 | 79 | 0.517628 | false |
nsoranzo/tools-iuc | tools/metaphlan/formatoutput.py | 1 | 5572 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import argparse
import re
from pathlib import Path
taxo_level = {
'k': 'kingdom',
'p': 'phylum',
'c': 'class',
'o': 'order',
'f': 'family',
'g': 'genus',
's': 'species',
't': 'strains'}
def split_levels(metaphlan_output_fp, out_dp, legacy... | mit | -7,910,039,779,148,934,000 | 37.694444 | 142 | 0.542355 | false |
jjcf89/vt_legislation_bot | vt_legislation_bot.py | 1 | 1798 | #!/usr/bin/python2.7
import argparse
import urllib
from bs4 import BeautifulSoup
#TODO Parse arguments
URL="http://legislature.vermont.gov/bill/status/2016/H.159"
def fetch_url(url):
opener = urllib.FancyURLopener({})
f = opener.open(url)
return f.read()
def fetch_example():
fd = open("Example.html")
return f... | gpl-2.0 | 4,761,416,767,378,805,000 | 25.850746 | 77 | 0.75139 | false |
jrichte43/ProjectEuler | Problem-0200/solutions.py | 1 | 1266 |
__problem_title__ = "Find the 200th prime-proof sqube containing the contiguous sub-string "200""
__problem_url___ = "https://projecteuler.net/problem=200"
__problem_description__ = "We shall define a sqube to be a number of the form, , where and are " \
"distinct primes. For example, 200 = 5... | gpl-3.0 | -4,679,411,115,905,603,000 | 38.5625 | 100 | 0.575039 | false |
DArtagan/teetimer | tracker/migrations/0003_auto__del_field_teetime_people.py | 1 | 5085 | # -*- coding: utf-8 -*-
from south.utils import datetime_utils as datetime
from south.db import db
from south.v2 import SchemaMigration
from django.db import models
class Migration(SchemaMigration):
def forwards(self, orm):
# Deleting field 'TeeTime.people'
db.delete_column('tracker_teetime', 'pe... | mit | -6,011,046,772,855,287,000 | 60.277108 | 192 | 0.574041 | false |
Moonshile/fast12306 | src/core/token.py | 1 | 5021 | #coding=utf-8
import re
from fetch import FetchSlice
class Token(object):
def __init__(self, session, base_url):
self.session = session
self.base_url = base_url
self.init_url_pattern = re.compile(r'<script\s+src="/(otn/dynamicJs/.+)"\s+type="text/javascript"\s+xml:space="preserve">\s*</s... | apache-2.0 | -8,190,554,962,425,597,000 | 29.065868 | 153 | 0.430592 | false |
jonathansick/synthsb | scripts/segmap_wircamsb.py | 1 | 5931 | #!/usr/bin/env python
# encoding: utf-8
"""
Compute WIRCam synthetic surface brightnesses within regions of a segmentation
map.
Accepts segmentation maps and pixel tables made by, e.g. andromass.
2014-11-18 - Created by Jonathan Sick
"""
import argparse
# from collections import defaultdict
# import math
import num... | bsd-3-clause | 7,598,660,081,612,174,000 | 32.320225 | 79 | 0.581521 | false |
hjanime/VisTrails | vistrails/db/versions/v0_9_3/translate/v0_9_2.py | 1 | 7218 | ###############################################################################
##
## Copyright (C) 2014-2015, New York University.
## Copyright (C) 2011-2014, NYU-Poly.
## Copyright (C) 2006-2011, University of Utah.
## All rights reserved.
## Contact: contact@vistrails.org
##
## This file is part of VisTrails.
##
## ... | bsd-3-clause | -7,308,370,435,144,763,000 | 44.683544 | 88 | 0.518426 | false |
MuckRock/muckrock | muckrock/message/tasks.py | 1 | 11469 | """
Tasks for the messages application.
"""
# Django
from celery.exceptions import SoftTimeLimitExceeded
from celery.schedules import crontab
from celery.task import periodic_task, task
from django.contrib.auth.models import User
from django.utils import timezone
# Standard Library
import logging
from random import r... | agpl-3.0 | -8,486,624,507,151,663,000 | 33.966463 | 91 | 0.671026 | false |
Shouqun/node-gn | tools/depot_tools/tests/gclient_utils_test.py | 1 | 6965 | #!/usr/bin/env python
# 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.
import os
import StringIO
import sys
sys.path.insert(0, os.path.dirname(os.path.dirname(os.path.abspath(__file__))))
from testing... | mit | 2,180,982,842,484,420,000 | 34 | 80 | 0.622972 | false |
Connectomics-Classes/hackwicket-silverbacks | postProcessScript/src/postPocess.py | 1 | 1940 | #!/usr/bin/python
#imports
import numpy as np
import cv
import cv2
import sys
import glob
from mayavi import mlab
from mayavi.mlab import *
def morphOps(probMap):
workableMap = probMap.copy()
#apply erosion & dilation filtering, rids photo of stray vescicle detections
workableMap = eroDilFilter(workableMap, 5, 3) ... | apache-2.0 | -1,765,742,468,419,555,000 | 27.115942 | 81 | 0.744845 | false |
ethanrublee/ecto-release | python/ecto/__init__.py | 1 | 7057 | #
# Copyright (c) 2011, Willow Garage, Inc.
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
# * Redistributions of source code must retain the above copyright
# notice, this list of cond... | bsd-3-clause | -9,032,442,430,647,433,000 | 32.604762 | 110 | 0.586652 | false |
excid3/keryx | keryx/unwrapt/Download.py | 1 | 5779 | # Unwrapt - cross-platform package system emulator
# Copyright (C) 2010 Chris Oliver <chris@excid3.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 3 of the L... | gpl-3.0 | -3,711,110,002,626,798,000 | 30.407609 | 113 | 0.622599 | false |
trevisanj/f311 | f311/collaboration.py | 1 | 8609 | """
Collaboration-related routines
1) Class Catalog -- resources to retrieve File* classes by different criteria
2) Script utilities: collect scripts (standalone applications) across collaborator packages
"""
from collections import OrderedDict
import importlib
import a99
import os
import glob
import copy
__all__... | gpl-3.0 | 7,911,966,800,209,908,000 | 30.534799 | 112 | 0.588454 | false |
Onirik79/aaritmud | src/enums/MONTH.py | 1 | 1699 | # -*- coding: utf-8 -*-
"""
Enumerazione dei mesi di un anno rpg.
"""
from src.element import EnumElement, finalize_enumeration
#-------------------------------------------------------------------------------
name = __name__[__name__.rfind(".")+1 : ]
elements = []
cycle_on_last = True
#-------------------------... | gpl-2.0 | 2,097,785,702,521,239,300 | 40.341463 | 96 | 0.533923 | false |
chrsrds/scikit-learn | sklearn/datasets/tests/test_openml.py | 1 | 45496 | """Test the openml loader.
"""
import gzip
import json
import numpy as np
import os
import re
import scipy.sparse
import sklearn
import pytest
from sklearn import config_context
from sklearn.datasets import fetch_openml
from sklearn.datasets.openml import (_open_openml_url,
_get_da... | bsd-3-clause | 90,765,303,893,162,000 | 38.22069 | 79 | 0.628121 | false |
cltrudeau/django-dform | dform/views.py | 1 | 11825 | import json, logging
from collections import OrderedDict
from functools import wraps
from django.conf import settings
from django.contrib.admin.views.decorators import staff_member_required
from django.contrib.staticfiles.storage import staticfiles_storage
from django.core.exceptions import ValidationError
from django... | mit | 1,802,551,763,523,872,000 | 32.785714 | 78 | 0.635518 | false |
priseborough/ardupilot | Tools/ardupilotwaf/boards.py | 1 | 22752 | #!/usr/bin/env python
# encoding: utf-8
from collections import OrderedDict
import sys, os
import waflib
from waflib import Utils
from waflib.Configure import conf
_board_classes = {}
_board = None
class BoardMeta(type):
def __init__(cls, name, bases, dct):
super(BoardMeta, cls).__init__(name, bases, dc... | gpl-3.0 | -5,554,313,772,015,345,000 | 28.936842 | 203 | 0.533887 | false |
cemagg/sucem-fem | examples/2D_waveguide/eigenmode/TM_driver.py | 1 | 3597 | ## Copyright (C) 2011 Stellenbosch University
##
## This file is part of SUCEM.
##
## SUCEM 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 v... | gpl-3.0 | 1,550,712,025,160,284,200 | 28.491803 | 108 | 0.66055 | false |
datagrok/python-misc | datagrok/misc/cli.py | 1 | 2465 | """Framework for creating tools that employ a robust command-line interface."""
from __future__ import absolute_import
import os
import shutil
# TODO: interface to datagrok.ansicolor ?
class CLIManager(object):
"""Captures the boilerplate involved in making a decent command-line
interface for a multi-functio... | agpl-3.0 | -7,054,265,450,523,929,000 | 33.236111 | 118 | 0.533469 | false |
andrewyang96/RacetrackGenerator | catmullrom.py | 1 | 1950 | # Source: http://en.wikipedia.org/wiki/Centripetal_Catmull%E2%80%93Rom_spline
# http://people.wku.edu/qi.li/teaching/446/cg14_curve_surface.pdf
import numpy as np
from utils import distance
def CatmullRomSpline(P0, P1, P2, P3, nPoints=100):
"""
P0, P1, P2, and P3 should be (x,y) point pairs that define the Cat... | mit | 1,019,315,799,465,238,700 | 33.210526 | 97 | 0.587692 | false |
VaclavDedik/infinispan-py | tests/unit/test_utils.py | 1 | 1300 | # -*- coding: utf-8 -*-
import pytest
from infinispan import utils
from infinispan.hotrod import TimeUnits
class TestUtils(object):
def test_from_pretty_time(self):
assert utils.from_pretty_time('10s') == (10, TimeUnits.SECONDS)
assert utils.from_pretty_time('10ms') == (10, TimeUnits.MILISECONDS... | mit | -5,564,530,746,362,472,000 | 39.625 | 77 | 0.641538 | false |
stormi/tsunami | src/secondaires/magie/types/parchemin.py | 1 | 4405 | # -*-coding:Utf-8 -*
# Copyright (c) 2010 LE GOFF Vincent
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# lis... | bsd-3-clause | -7,939,619,277,976,388,000 | 39.666667 | 80 | 0.636612 | false |
ericdill/bluesky | bluesky/simple_scans.py | 1 | 14733 | """
These "scans" bundle a Message generator with an instance of the RunEngine,
combining two separate concepts -- instructions and execution -- into one
object. This makes the interface less flexible and somewhat less "Pythonic"
but more condensed.
This module is meant to be run in a namespace where several global
va... | bsd-3-clause | 1,619,961,103,741,633,800 | 30.280255 | 78 | 0.614539 | false |
walterbender/turtleconfusion | TurtleArt/tatype.py | 1 | 15982 | # Copyright (c) 2013 Marion Zepf
# Copyright (c) 2014 Walter Bender
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, cop... | mit | 6,725,969,836,886,066,000 | 33.743478 | 79 | 0.589163 | false |
infrae/mobi.devices | src/mobi/devices/tests/test_doctest_wurfl_parsing.py | 1 | 1866 | # Copyright (c) 2010 Infrae. All rights reserved.
# See also LICENSE.txt.
"""
We will start by initializing the database from wurfl stream.
It should return a tuple (db, index)
>>> from mobi.devices.index.radixtree import NOTSET
>>> from mobi.devices.wurfl.db import initialize_db
>>> db, index = initialize... | bsd-3-clause | 7,810,178,486,091,748,000 | 23.88 | 74 | 0.635048 | false |
cedriclaunay/gaffer | python/GafferUI/PlugWidget.py | 1 | 5374 | ##########################################################################
#
# Copyright (c) 2011, John Haddon. All rights reserved.
# Copyright (c) 2011-2013, Image Engine Design Inc. All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided ... | bsd-3-clause | 1,593,743,067,569,437,400 | 38.514706 | 118 | 0.716971 | false |
iamdober/training | final/task3/task3.py | 1 | 2189 | #
# In lecture, we took the bipartite Marvel graph,
# where edges went between characters and the comics
# books they appeared in, and created a weighted graph
# with edges between characters where the weight was the
# number of comic books in which they both appeared.
#
# In this assignment, determine the weights betw... | gpl-3.0 | 2,350,563,976,907,062,000 | 29.416667 | 70 | 0.604842 | false |
evanbrumley/psmove-restful | utils.py | 1 | 8083 | import sys, os, time
from threading import Thread
import requests
PSMOVEAPI_BUILD_DIR = os.environ.get('PSMOVEAPI_BUILD_DIR')
if PSMOVEAPI_BUILD_DIR:
sys.path.insert(0, os.environ['PSMOVEAPI_BUILD_DIR'])
import psmove
class Controller(object):
_active = False
_loop_thread = None
controller = No... | mit | -3,089,800,069,205,572,600 | 26.776632 | 108 | 0.550662 | false |
ronin13/pyvolume | docs/conf.py | 1 | 8596 | # -*- coding: utf-8 -*-
# !/usr/bin/env python
# -*- coding: utf-8 -*-
#
# pyvolume documentation build configuration file, created by
# sphinx-quickstart on Tue Jul 9 22:26:36 2013.
#
# This file is execfile()d with the current directory set to its
# containing dir.
#
# Note that not all possible configuration values... | mit | -2,895,800,814,160,401,000 | 29.590747 | 80 | 0.695905 | false |
thorwhalen/ut | parse/venere.py | 1 | 4355 | __author__ = 'thorwhalen'
import ut.parse.util as parse_util
import re
import ut.pstr.trans as pstr_trans
import ut.parse.bsoup as parse_bsoup
pois_near_hotel_exp_0 = re.compile("(?<=\. )[\w ]+(?=- 0\.\d km / 0\.\d mi)")
pois_near_hotel_exp = re.compile("(.+)- (\d+[\.\d]*) km / (\d+[\.\d]*) mi")
def get_pois_near_... | mit | -6,565,722,863,570,062,000 | 39.700935 | 140 | 0.586912 | false |
auto-mat/django-webmap-corpus | webmap/models.py | 1 | 18853 | # -*- coding: utf-8 -*-
from author.decorators import with_author
from colorful.fields import RGBColorField
from constance.admin import config
import django
from django import forms
from django.contrib.gis.db import models
from django.contrib.gis.geos import GeometryCollection
from django.core.cache import cache
fr... | mit | -2,574,332,993,582,529,000 | 39.631466 | 261 | 0.657667 | false |
pitunti/alfaPitunti | plugin.video.alfa/channels/hentaienespanol.py | 1 | 1882 | # -*- coding: utf-8 -*-
import re
from core import httptools
from core import scrapertools
from core import servertools
from core.item import Item
from platformcode import logger
host = 'http://www.xn--hentaienespaol-1nb.net/'
headers = [['User-Agent', 'Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Fi... | gpl-3.0 | -2,298,668,226,065,378,000 | 28.873016 | 119 | 0.623804 | false |
EIREXE/SpaceDock | SpaceDock/ckan.py | 2 | 2394 | from SpaceDock.config import _cfg
from github import Github
from flask import url_for
import subprocess
import json
import os
import re
# TODO(Thomas): Make this modular
def send_to_ckan(mod):
if not _cfg("netkan_repo_path"):
return
if not mod.ckan:
return
json_blob = {
... | mit | -2,606,136,009,649,760,000 | 40 | 169 | 0.587719 | false |
clchiou/garage | py/garage/garage/multiprocessing/backport.py | 1 | 1205 | __all__ = [
'BoundedSemaphore',
'UnlimitedSemaphore',
'Timeout',
]
import threading
import time
# NOTE: This module is Python 2 compatible.
class Timeout(Exception):
pass
# Because Python 2 semaphore does not support timeout...
class BoundedSemaphore(object):
def __init__(self, value):
... | mit | 3,029,463,247,928,132,600 | 22.173077 | 72 | 0.561826 | false |
hvdwolf/Navigator-traffic_lights | traffic_lights_csv.py | 1 | 7684 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# Version 1.0, 201607, Harry van der Wolf
# Version 1.1, 201701, Harry van der Wolf; urllib -> do not read large files into memory)
# Version 1.3, 201701, Harry van der Wolf; use csv as intermediate format as gpsbabel osm to gpx only copies about 10%
import os, sys, platf... | gpl-3.0 | 2,394,400,697,680,552,000 | 51.272109 | 605 | 0.645497 | false |
garvenshen/swquota | tests/test_swquota.py | 1 | 6671 | # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the... | apache-2.0 | 6,304,735,773,008,333,000 | 37.33908 | 78 | 0.510418 | false |
pablocarderam/genetargeter | gRNAScores/azimuth/metrics.py | 1 | 20467 | """
from https://gist.github.com/bwhite/3726239
Information Retrieval metrics
Useful Resources:
http://www.cs.utexas.edu/~mooney/ir-course/slides/Evaluation.ppt
http://www.nii.ac.jp/TechReports/05-014E.pdf
http://www.stanford.edu/class/cs276/handouts/EvaluationNew-handout-6-per.pdf
http://hal.archives-ouvertes.fr/doc... | mit | 6,929,932,319,144,185,000 | 30.010606 | 101 | 0.591391 | false |
TheVirtualLtd/bda.plone.orders | src/bda/plone/orders/upgrades.py | 1 | 14529 | # -*- coding: utf-8 -*-
from bda.plone.cart import get_object_by_uid
from bda.plone.orders import message_factory as _
from bda.plone.orders.common import acquire_vendor_or_shop_root
from bda.plone.orders.common import calculate_order_salaried
from bda.plone.orders.common import calculate_order_state
from bda.plone.ord... | bsd-3-clause | -2,279,739,217,219,872,300 | 31.286667 | 78 | 0.542157 | false |
pydoit/doit | doit/runner.py | 1 | 20369 | """Task runner"""
from multiprocessing import Process, Queue as MQueue
from threading import Thread
import pickle
import queue
import cloudpickle
from .exceptions import InvalidTask, CatchedException
from .exceptions import TaskFailed, SetupError, DependencyError, UnmetDependency
from .task import Stream, DelayedLoa... | mit | 7,347,571,069,337,955,000 | 34.797891 | 80 | 0.56316 | false |
BozoDev/CoCerBot | contrib/HangoutsBot/hangoutsbot/hangupsbot/plugins/CoCerBot/__init__.py | 1 | 5738 | import asyncio, io, logging, os, subprocess, re, time
import plugins
logger = logging.getLogger(__name__)
_cocext = { "running": False }
def _initialise(bot):
plugins.register_user_command(["screen", "coc"])
plugins.register_admin_command(["setlog", "clearlog"])
@asyncio.coroutine
def _open_file(name):
... | gpl-2.0 | 775,744,570,202,703,900 | 33.566265 | 134 | 0.615371 | false |
rohanpm/qingfanyi | tests/test_navigator.py | 1 | 5716 | # coding=utf-8
# qingfanyi - Chinese to English translation tool
# Copyright (C) 2016 Rohan McGovern <rohan@mcgovern.id.au>
#
# 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 ... | gpl-3.0 | -6,003,047,400,805,221,000 | 29.731183 | 84 | 0.644682 | false |
stormi/tsunami | src/primaires/objet/commandes/donner/__init__.py | 1 | 5296 | # -*-coding:Utf-8 -*
# Copyright (c) 2010 LE GOFF Vincent
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are met:
#
# * Redistributions of source code must retain the above copyright notice, this
# lis... | bsd-3-clause | -7,827,209,799,237,892,000 | 42.254098 | 79 | 0.617017 | false |
peckhams/topoflow | topoflow/components/diversions_fraction_method.py | 1 | 34322 |
# (2/3/13) Get "dt" from source_file or sink_file vs.
# channels comp, but what about canals ?
########################################################
#
# Copyright (c) 2010-2017, Scott D. Peckham
#
# Feb. 2017. Changes to internal variable names.
# Cleanup & testing with Test_Plane_Can... | mit | 4,706,929,756,352,890,000 | 45.318489 | 110 | 0.403619 | false |
psyfako/psyfako_member_management | timetable/migrations/0001_initial.py | 1 | 1210 | # -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2016-11-22 22:06
from __future__ import unicode_literals
from django.db import migrations, models
import django.db.models.deletion
class Migration(migrations.Migration):
initial = True
dependencies = [
]
operations = [
migrations.Crea... | gpl-3.0 | 4,596,746,112,430,652,400 | 33.571429 | 114 | 0.575207 | false |
plantbiogeography/BaitsFinder | combined-ini.py | 1 | 34661 | #-*- encoding: utf-8 -*-
import commands
import platform
import sys
import os,os.path
import ctypes
import csv
import glob
import math
import numpy as np
import scipy as sp
import shutil
import traceback
#import globalvar
from functools import partial
from multiprocessing import cpu_count
CPU_n1=cpu... | gpl-2.0 | 7,990,784,050,546,604,000 | 29.424297 | 231 | 0.510603 | false |
drvinceknight/Axelrod | axelrod/strategies/meta.py | 1 | 4202 | import random
from axelrod import Player
class MetaPlayer(Player):
"""A generic player that has its own team of players."""
team = []
def __init__(self):
Player.__init__(self)
# Make sure we don't use any meta players to avoid infinite recursion.
self.team = [t for t in self.t... | mit | -4,386,408,245,011,585,500 | 31.330769 | 105 | 0.618039 | false |
hpleva/pyemto | pyemto/examples/alloy_discovery/collect_alloy_final.py | 1 | 6838 | import pyemto
import pyemto.utilities as utils
import numpy as np
import os
latpath = "../../../" # Path do bmdl, kstr and shape directories
# each system need to have same number of alloy elements
#systems = [['Fe','Al'],['Fe','Cr']]
systems = [['Fe'],['Al']]
systems = [['Al']]
#concentrations = [[0.5,0.5]]
concent... | mit | 5,948,215,581,552,546,000 | 31.407583 | 98 | 0.535244 | false |
ECP-CANDLE/Benchmarks | Pilot1/Uno_UQ/data_utils_/uno_combined_data_loader.py | 1 | 19034 | from __future__ import print_function
import collections
import json
import logging
import os
import pickle
import pandas as pd
import numpy as np
from sklearn.model_selection import ShuffleSplit, KFold
import cellline_data
import drug_data
import response_data
from uno import loggerUno as logger
from uno import d... | mit | 7,643,198,976,725,848,000 | 43.576112 | 287 | 0.59504 | false |
cligs/pyzeta | scripts/correlation.py | 1 | 1579 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
# file: experimental.py
# version: 0.1.0
# source: https://github.com/maslinych/linis-scripts/blob/master/rbo_calc.py
# ported to Python 3 and slightly modified by Albin Zehe
def calc_rbo(l1, l2, p=0.98):
"""
Returns RBO indefinite rank similarity metric, as desc... | gpl-3.0 | 6,396,309,194,905,206,000 | 25.762712 | 76 | 0.484484 | false |
luntos/bianalyzer | bianalyzer/main.py | 1 | 4399 | # -*- coding: utf-8 -*-
import sys
import getopt
from bianalyzer import BianalyzerText
from bianalyzer.abstracts import download_abstracts
from bianalyzer.biclustering import get_keyword_biclusters, GreedyBBox, get_keyword_text_biclusters, \
save_keyword_text_biclusters
from bianalyzer.biclustering.keywords_analys... | mit | -5,883,963,076,646,310,000 | 38.630631 | 119 | 0.629234 | false |
uwcirg/true_nth_usa_portal | tests/test_identifier.py | 1 | 3746 | """Test identifiers"""
import json
from flask_webtest import SessionScope
import pytest
from werkzeug.exceptions import Conflict
from portal.extensions import db
from portal.models.identifier import Identifier
from portal.models.user import User
from tests import TEST_USER_ID, TestCase
class TestIdentifier(TestCas... | bsd-3-clause | -6,782,586,272,188,318,000 | 37.618557 | 76 | 0.630005 | false |
kyleam/pymc3 | pymc/sampling.py | 1 | 7330 | from . import backends
from .backends.base import merge_traces, BaseTrace, MultiTrace
from .backends.ndarray import NDArray
import multiprocessing as mp
from time import time
from .core import *
from . import step_methods
from .progressbar import progress_bar
from numpy.random import seed
__all__ = ['sample', 'iter_sa... | apache-2.0 | 3,758,578,631,098,075,600 | 30.324786 | 76 | 0.605866 | false |
muisit/freezer | model/archive.py | 1 | 4651 | #
# Copyright Muis IT 2011 - 2016
#
# This file is part of AWS Freezer
#
# AWS Freezer 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.
... | gpl-3.0 | 763,632,750,901,110,500 | 36.813008 | 180 | 0.592346 | false |
ElliotTheRobot/LILACS-mycroft-core | mycroft/configuration/__init__.py | 1 | 7155 | # Copyright 2016 Mycroft AI, Inc.
#
# This file is part of Mycroft Core.
#
# Mycroft Core 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 versio... | gpl-3.0 | 7,668,583,611,938,717,000 | 31.522727 | 78 | 0.61202 | false |
wenhulove333/ScutServer | Sample/ClientSource/tools/bindings-generator/generator.py | 1 | 34942 | #!/usr/bin/env python
# generator.py
# simple C++ generator, originally targetted for Spidermonkey bindings
#
# Copyright (c) 2011 - Zynga Inc.
from clang import cindex
import sys
import pdb
import ConfigParser
import yaml
import re
import os
import inspect
from Cheetah.Template import Template
type_m... | mit | 4,857,824,112,327,277,000 | 41.568579 | 149 | 0.548509 | false |
Sotera/datawake-prefetch | memex-datawake-stream/src/datawakestreams/all_settings.py | 1 | 1427 | from __future__ import absolute_import, print_function, unicode_literals
import os
"""
Deployment based configuration
When deploying topology specify a deployment to match with a settings key.
-o "'topology.deployment=\"local\"'"
Spouts / Bolts in the topolgoy will then pull the settings then need from this modu... | apache-2.0 | -275,163,911,461,207,330 | 29.361702 | 125 | 0.666433 | false |
saily/flake8-isort | setup.py | 1 | 1504 | # -*- coding: utf-8 -*-
from setuptools import setup
short_description = 'flake8 plugin that integrates isort .'
long_description = '{0}\n{1}'.format(
open('README.rst').read(),
open('CHANGES.rst').read()
)
setup(
name='flake8-isort',
version='0.3.dev0',
description=short_description,
long_d... | gpl-2.0 | 5,845,875,406,787,083,000 | 27.923077 | 75 | 0.588431 | false |
timrchavez/capomastro | capomastro/settings.py | 1 | 2529 | """
Django settings for capomastro project.
For more information on this file, see
https://docs.djangoproject.com/en/1.6/topics/settings/
For the full list of settings and their values, see
https://docs.djangoproject.com/en/1.6/ref/settings/
"""
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)... | mit | -5,883,969,919,784,102,000 | 24.039604 | 71 | 0.710953 | false |
StephenLujan/Naith | game/plugins/dirlight/dirlight.py | 1 | 2681 | # -*- coding: utf-8 -*-
# Copyright Tom SF Haines, Aaron Snoswell
#
# 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,424,593,677,426,341,000 | 37.3 | 147 | 0.675121 | false |
vshulyak/django_datatable | django_datatable/tests/tests.py | 1 | 3514 | import textwrap
from random import Random
from django.utils import simplejson
from django.test import TestCase
from django.test.client import RequestFactory
from django.contrib.auth.models import User
from django_datatable.tests.views import TestViewOne
class DatatableViewCase(TestCase):
dt_js_request = textwr... | bsd-3-clause | 6,370,558,592,047,283,000 | 28.291667 | 93 | 0.586796 | false |
davesque/django-rest-framework-simplejwt | rest_framework_simplejwt/compat.py | 1 | 1286 | import warnings
try:
from django.urls import reverse, reverse_lazy
except ImportError:
from django.core.urlresolvers import reverse, reverse_lazy # NOQA
class RemovedInDjango20Warning(DeprecationWarning):
pass
class CallableBool: # pragma: no cover
"""
An boolean-like object that is also call... | mit | -1,465,149,060,535,745,800 | 23.264151 | 80 | 0.629082 | false |
aroth-arsoft/arsoft-web-crashupload | app/crashdump/xmlreport.py | 1 | 58814 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# kate: space-indent on; indent-width 4; mixedindent off; indent-mode python;
import sys
import base64
import struct
from datetime import datetime, tzinfo, timedelta
from uuid import UUID
from lxml import etree
from crashdump.exception_info import exception_code_names_per_pla... | gpl-3.0 | -559,323,098,969,346,050 | 35.850877 | 217 | 0.524909 | false |
flags/Reactor-3 | tools/ReactorWatch.py | 1 | 1492 | #This tool was rushed together over the course of an hour or so. Be gentle.
from flask import Flask, render_template, request
import threading
import socket
import json
app = Flask(__name__)
def request(request, value=None):
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
sock.settimeout(5)
sock.connect... | mit | -1,046,577,889,139,109,800 | 23.080645 | 76 | 0.683646 | false |
tuskar/tuskar-ui | openstack_dashboard/dashboards/admin/users/tests.py | 1 | 18692 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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
# no... | apache-2.0 | -2,188,680,730,515,127,000 | 39.458874 | 79 | 0.546223 | false |
f2nd/yandex-tank | yandextank/core/tankcore.py | 1 | 25112 | """ The central part of the tool: Core """
import datetime
import fnmatch
import glob
import importlib as il
import json
import logging
import os
import shutil
import socket
import tempfile
import time
import traceback
import threading
import pkg_resources
import sys
import platform
import yaml
from builtins import s... | lgpl-2.1 | 6,004,892,421,668,816,000 | 36.819277 | 129 | 0.565546 | false |
laserson/rock-health-python | luigi/luigi-ngrams.py | 1 | 1715 | import os
import re
import luigi
import luigi.hadoop
import luigi.hdfs
class InputText(luigi.ExternalTask):
path = luigi.Parameter()
def output(self):
return luigi.hdfs.HdfsTarget(self.path)
class Ngrams(luigi.hadoop.JobTask):
source = luigi.Parameter()
destination = luigi.Parameter()
... | apache-2.0 | 8,702,826,489,544,018,000 | 25.796875 | 101 | 0.566764 | false |
phac-nml/dynamic-tool-destination | tests/mockGalaxy.py | 1 | 3562 | """
# =============================================================================
Copyright Government of Canada 2015
Written by: Eric Enns, Public Health Agency of Canada,
National Microbiology Laboratory
Daniel Bouchard, Public Health Agency of Canada,
Nat... | apache-2.0 | 8,361,889,673,550,643,000 | 29.444444 | 107 | 0.624088 | false |
benschmaus/catapult | telemetry/telemetry/internal/backends/chrome_inspector/inspector_backend.py | 1 | 18595 | # Copyright 2013 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.
import functools
import logging
import socket
import sys
from py_trace_event import trace_event
from telemetry.core import exceptions
from telemetry import... | bsd-3-clause | -3,750,426,105,838,133,000 | 35.821782 | 80 | 0.703469 | false |
dyzajash/scanlation_cms | scanlation_cms/app.py | 1 | 3430 | # -*- coding: utf-8 -*-
"""The app module, containing the app factory function."""
from flask import Flask, render_template, request, send_from_directory
from flask.ext.principal import RoleNeed, UserNeed, identity_loaded
from flask_login import current_user
from scanlation_cms import api, panel, public, user
from sca... | bsd-3-clause | 9,077,521,675,694,444,000 | 31.666667 | 80 | 0.669971 | false |
Panagiotis-Kon/empower-runtime | empower/vbsp/vbspconnection.py | 1 | 15120 | #!/usr/bin/env python3
#
# Copyright (c) 2016 Supreeth Herle
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicabl... | apache-2.0 | -7,264,704,974,746,397,000 | 30.565762 | 84 | 0.56164 | false |
OmkarPathak/pygorithm | pygorithm/dynamic_programming/lis.py | 1 | 1439 | """
Author: Omkar Pathak
Created At: 25th August 2017
"""
import inspect
def longest_increasing_subsequence(_list):
"""
The Longest Increasing Subsequence (LIS) problem is to find the length of the longest subsequence of a
given sequence such that all elements of the subsequence are sorted in increasing or... | mit | 7,613,543,510,586,332,000 | 30.977778 | 106 | 0.628909 | false |
UK992/servo | tests/wpt/web-platform-tests/tools/wptrunner/wptrunner/wptcommandline.py | 1 | 36307 | from __future__ import absolute_import, print_function
import argparse
import os
import sys
from collections import OrderedDict
from distutils.spawn import find_executable
from datetime import timedelta
from six import iterkeys, itervalues, iteritems
from . import config
from . import wpttest
from .formatters import c... | mpl-2.0 | 869,402,087,617,088,500 | 52.788148 | 132 | 0.577547 | false |
CCI-MOC/nova | nova/image/glance.py | 1 | 26640 | # Copyright 2010 OpenStack Foundation
# 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 requ... | apache-2.0 | -405,195,565,436,879,100 | 37.002853 | 79 | 0.589902 | false |
steny138/SE3Borrow | home/decorator.py | 1 | 1389 | # -*- coding: utf-8 -*-
try:
from functools import wraps
except ImportError:
from django.utils.functional import wraps # Python 2.4 fallback.
from django.utils.decorators import available_attrs
from django.contrib.auth.decorators import login_required
from django.shortcuts import redirect
from django.contrib ... | apache-2.0 | -5,133,462,619,210,425,000 | 34.153846 | 84 | 0.665937 | false |
opendatakosovo/bpo | utils/importer/import_idams.py | 1 | 6870 | # -*- coding: UTF-8 -*-
import csv
import os
import re
from datetime import datetime
from pymongo import MongoClient
import json
# Connect to defualt local instance of MongoClient
client = MongoClient()
# Get database and collection
db = client.bpo
collection = db.idams
def parse():
collection.remove({})
p... | cc0-1.0 | -4,839,804,771,402,337,000 | 59.80531 | 215 | 0.496943 | false |
adityahase/frappe | frappe/hooks.py | 1 | 14046 | from __future__ import unicode_literals
from . import __version__ as app_version
app_name = "frappe"
app_title = "Frappe Framework"
app_publisher = "Frappe Technologies"
app_description = "Full stack web framework with Python, Javascript, MariaDB, Redis, Node"
app_icon = "octicon octicon-circuit-board"
app_color = "o... | mit | -8,366,801,492,219,079,000 | 37.694215 | 124 | 0.725829 | false |
xaowoodenfish/python-1 | bigml/tests/test_12_public_model_prediction.py | 1 | 5658 | # -*- coding: utf-8 -*-
#!/usr/bin/env python
#
# Copyright 2015 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 b... | apache-2.0 | 3,362,934,045,737,839,600 | 46.15 | 113 | 0.591552 | false |
cariaso/zebraguide | zebraguide/zebraguide.py | 1 | 9159 | #!/usr/bin/env python
import argparse
import Bio.SeqIO
import sys
def get_args():
parser = argparse.ArgumentParser(
description="""Make the BoulderIO formatter config file for primer3 to direct guide sequences against a reference.
Typical usage:
./zebraguide.py sample2.fasta | primer3_core -format_outpu... | mit | -370,202,171,412,303,400 | 41.799065 | 122 | 0.632165 | false |
unreal666/outwiker | src/outwiker/gui/controls/ultimatelistctrl.py | 2 | 456589 | # --------------------------------------------------------------------------------- #
# ULTIMATELISTCTRL wxPython IMPLEMENTATION
# Inspired by and heavily based on the wxWidgets C++ generic version of wxListCtrl.
#
# Andrea Gavana, @ 08 May 2009
# Latest Revision: 27 Dec 2012, 21.00 GMT
#
#
# TODO List
#
# 1) Subitem ... | gpl-3.0 | -2,917,967,209,524,716,500 | 32.50866 | 459 | 0.561998 | false |
BiaDarkia/scikit-learn | sklearn/utils/tests/test_testing.py | 1 | 16091 | import warnings
import unittest
import sys
import os
import atexit
import numpy as np
from scipy import sparse
from sklearn.utils.deprecation import deprecated
from sklearn.utils.metaestimators import if_delegate_has_method
from sklearn.utils.testing import (
assert_raises,
assert_less,
assert_greater,
... | bsd-3-clause | 3,253,426,068,011,456,500 | 28.256364 | 79 | 0.615934 | false |
rackerlabs/heat-pyrax | pyrax/autoscale.py | 1 | 46139 | # -*- coding: utf-8 -*-
# Copyright (c)2013 Rackspace US, 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/LIC... | apache-2.0 | -1,451,871,668,392,427,000 | 35.531275 | 80 | 0.592731 | false |
gplepage/lsqfit | examples/p-corr.py | 1 | 1909 | """
p-corr.py - Code for "Correlated Parameters"
"""
# Copyright (c) 2017-20 G. Peter Lepage.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# any later ve... | gpl-3.0 | -3,654,074,718,163,940,400 | 28.369231 | 75 | 0.584075 | false |
brendanberg/trilobyte | data.py | 1 | 19064 | # An opaque Data class with Base encoding and decoding functionality
# -----------------------------------------------------------------------------
# A collection of classes for storing binary data and converting it into
# various base-encoded strings for text representations useful for
# over-the-wire transmission.
#... | bsd-3-clause | -3,907,504,601,309,232,000 | 32.328671 | 91 | 0.648919 | false |
cpatrick/comic-django | django/filetransfers/views.py | 1 | 9577 | import pdb
import posixpath
import re
import os
try:
from urllib.parse import unquote
except ImportError: # Python 2
from urllib import unquote
from exceptions import Exception
from django.core.files import File
from django.core.files.storage import DefaultStorage
from django.core.urlresolvers import rever... | apache-2.0 | -8,936,553,819,921,376,000 | 36.120155 | 125 | 0.6454 | false |
larsborn/hetzner-zonefiles | dns.py | 1 | 3978 | import requests
import re
import os
import sys
from BeautifulSoup import BeautifulSoup
base_url = 'https://robot.your-server.de'
zonefiledir = 'zonefiles'
def log(msg, level = ''):
print '[%s] %s' % (level, msg)
def login(username, password):
login_form_url = base_url + '/login'
login_url =... | mit | 5,876,934,618,418,820,000 | 26.414286 | 98 | 0.578431 | false |
misterresse/astrid-tp | tests/mail/tests.py | 1 | 1766 | # -*- coding: utf-8 -*-
# Copyright the original authors
#
# 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 ... | apache-2.0 | -8,088,331,116,841,964,000 | 32.62 | 115 | 0.656548 | false |
lizhuangzi/QSQuantificationCode | QSQuantifier/DataGetter.py | 1 | 4473 | #!/usr/bin python
# coding=utf-8
# This Module provides some functions about getting stock's data.
import DataConnection as dc
import datetime
import numpy as np
import db_func
LEAST_DATE = '2016-01-01 00:00:00'
def string_toDatetime(timestr):
return datetime.datetime.strptime(timestr,"%Y-%m-%d %H:%M:%S")
def las... | apache-2.0 | -8,739,037,170,679,827,000 | 22.919786 | 144 | 0.678068 | false |
openstack/networking-l2gw | networking_l2gw/tests/unit/services/l2gateway/common/test_tunnel_calls.py | 1 | 2611 | # Copyright (c) 2016 OpenStack Foundation
#
# 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 ... | apache-2.0 | -2,214,235,675,204,278,000 | 42.516667 | 76 | 0.634623 | false |
jpvanhal/flask-xuacompatible | setup.py | 1 | 1057 | """
Flask-XUACompatible
-------------------
This is a simple Flask extension that sets X-UA-Compatible HTTP header for
all responses.
"""
from setuptools import setup
setup(
name='flask-xuacompatible',
version='0.1.0',
url='https://github.com/jpvanhal/flask-xuacompatible',
license='BSD',
author=... | bsd-3-clause | 1,511,387,754,708,708,000 | 28.361111 | 78 | 0.64333 | false |
DirectXMan12/nova-hacking | nova/tests/api/openstack/compute/contrib/test_server_start_stop.py | 1 | 3702 | # Copyright (c) 2012 Midokura Japan K.K.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable l... | apache-2.0 | -2,595,194,122,138,429,400 | 38.806452 | 78 | 0.667747 | false |
valkyriesavage/invenio | modules/bibedit/lib/bibedit_engine.py | 1 | 51248 | ## This file is part of Invenio.
## Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011 CERN.
##
## Invenio 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... | gpl-2.0 | -4,159,289,337,030,909,400 | 44.312113 | 88 | 0.550812 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.