repo_name stringlengths 5 92 | path stringlengths 4 232 | copies stringclasses 18
values | size stringlengths 4 7 | content stringlengths 736 1.04M | license stringclasses 15
values | hash int64 -9,222,983,980,000,580,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 |
|---|---|---|---|---|---|---|---|---|---|---|
the-fascinator/fascinator-portal | src/main/config/portal/default/default/scripts/download.py | 1 | 7607 | import os
from com.googlecode.fascinator.api.indexer import SearchRequest
from com.googlecode.fascinator.api.storage import StorageException
from com.googlecode.fascinator.common.solr import SolrDoc, SolrResult
from java.io import ByteArrayInputStream, ByteArrayOutputStream
from java.lang import Boolean
from java.net... | gpl-2.0 | 963,536,829,417,706,400 | 35.927184 | 100 | 0.567767 | false |
GraveRaven/hivemind | hivemindsrc/ants.py | 1 | 15536 | #!/bin/env python
"""
The MIT License
Copyright (c) 2010 The Chicago Tribune & Contributors
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 ... | mit | 2,145,380,531,466,934,800 | 33.678571 | 177 | 0.630021 | false |
nojhan/ereshkigal | tunnelmon.py | 1 | 26267 | #!/usr/bin/python3
# -*- coding: utf-8 -*-
#
# Ereshkigal is an AutoSSH tunnel monitor
# It gives a curses user interface to monitor existing SSH tunnel that are managed with autossh.
#
# 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 | -8,461,380,079,873,353,000 | 33.924202 | 169 | 0.545025 | false |
yilei0620/3D_Conditional_Gan | GenSample_obj.py | 1 | 4544 | import sys
sys.path.append('..')
import os
import json
from time import time
import numpy as np
from sklearn.externals import joblib
import scipy
from scipy import io
# from matplotlib import pyplot as plt
# from sklearn.externals import joblib
import theano
import theano.tensor as T
from lib import activations
fro... | mit | 4,118,196,402,505,532,400 | 27.942675 | 261 | 0.659991 | false |
mesocentrefc/Janua-SMS | janua/actions/sms_usage.py | 1 | 2426 | # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
#
# Copyright (c) 2016 Cédric Clerget - HPC Center of Franche-Comté University
#
# This file is part of Janua-SMS
#
# http://github.com/mesocentrefc/Janua-SMS
#
# This program is free software: you can redistribute it and/or modify
# it under th... | gpl-2.0 | 3,349,284,974,751,728,000 | 25.347826 | 76 | 0.60066 | false |
mhogg/BMDanalyse | BMDanalyse/MainWindow.py | 1 | 30163 | # -*- coding: utf-8 -*-
# Copyright (C) 2016 Michael Hogg
# This file is part of BMDanalyse - See LICENSE.txt for information on usage and redistribution
import os, matplotlib, matplotlib.pyplot, types
import numpy as np
from pyqtgraph.Qt import QtCore, QtGui
from pyqtgraph import ImageItem
from pyqtgraph.widgets.Gr... | mit | 8,683,989,055,049,540,000 | 48.940397 | 143 | 0.621192 | false |
praekelt/txtalert | txtalert/apps/bookings/views.py | 1 | 7598 | from django.http import HttpResponse, Http404, HttpResponseRedirect
from django.template import RequestContext
from django.shortcuts import render_to_response, get_object_or_404
from django.contrib import messages
from django.contrib.auth.decorators import login_required
from django.core.urlresolvers import reverse
fro... | gpl-3.0 | -763,102,905,537,551,700 | 36.995 | 93 | 0.622664 | false |
Iconoclasteinc/tgit | test/ui/file_dialogs/test_file_dialog.py | 1 | 1231 | # -*- coding: utf-8 -*-
import pytest
from PyQt5.QtWidgets import QFileDialog
from hamcrest import ends_with, assert_that, equal_to
from cute.widgets import QFileDialogDriver, window
from test.ui import show_, close_
from tgit.ui import locations
from tgit.ui.dialogs.file_dialogs import make_file_dialog, name_... | gpl-3.0 | -7,738,104,564,986,402,000 | 30.447368 | 118 | 0.70593 | false |
uniomni/system_administration | security/utilities.py | 1 | 3473 | """Utilities
"""
import os
from math import sqrt, pi, sin, cos, acos
from subprocess import Popen, PIPE
import sys
def run(cmd,
stdout=None,
stderr=None,
verbose=True):
s = cmd
if stdout:
s += ' > %s' % stdout
if stderr:
s += ' 2... | gpl-3.0 | 6,292,243,001,345,281,000 | 23.985612 | 71 | 0.56061 | false |
orionzhou/robin | formats/coords.py | 1 | 16290 | #!/usr/bin/env python
# -*- coding: UTF-8 -*-
"""
parses JCVI software NUCMER (http://mummer.sourceforge.net/manual/)
output - mostly as *.coords file.
"""
import sys
import logging
from math import exp
from itertools import groupby
from maize.formats.base import LineFile, must_open
from maize.algorithms.graph impo... | gpl-2.0 | -849,455,419,382,932,000 | 28.089286 | 97 | 0.578085 | false |
sassoftware/jobmaster | jobmaster/server.py | 1 | 10167 | #!/usr/bin/python
#
# Copyright (c) SAS Institute 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... | apache-2.0 | 8,605,496,121,579,022,000 | 32.444079 | 83 | 0.592112 | false |
intel-hpdd/intel-manager-for-lustre | chroma_core/lib/storage_plugin/base_resource_attribute.py | 1 | 3894 | # Copyright (c) 2020 DDN. All rights reserved.
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file.
from chroma_core.models.storage_plugin import StorageResourceAttributeSerialized
class BaseResourceAttribute(object):
"""Base class for declared attributes of Base... | mit | -1,159,394,484,938,782,000 | 39.14433 | 113 | 0.668978 | false |
GoogleCloudPlatform/bigquery-utils | tools/cloud_functions/gcs_event_based_ingest/tests/conftest.py | 1 | 20146 | # Copyright 2021 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, ... | apache-2.0 | 5,131,152,216,655,499,000 | 31.079618 | 80 | 0.59729 | false |
FannyCheung/python_Machine-Learning | MapReduce处理日志文件/FileSplit.py | 1 | 1029 | # coding:utf-8
#file:FileSplit.py
import os,os.path,time
def FileSplit(sourceFile,targetFolder):
sFile = open(sourceFile,'r')
number = 100000 #每个小文件中保存100000条数据
dataLine = sFile.readline()
tempData = [] #缓存列表
fileNum = 1
if not os.path.isdir(targetFolder): #如果目标目录不存在,则创建
os.mkdir(targetFolder)
... | gpl-2.0 | -5,881,135,195,889,917,000 | 27.129032 | 93 | 0.660161 | false |
PierreRaybaut/PythonQwt | qwt/plot_directpainter.py | 1 | 10691 | # -*- coding: utf-8 -*-
#
# Licensed under the terms of the Qwt License
# Copyright (c) 2002 Uwe Rathmann, for the original C++ code
# Copyright (c) 2015 Pierre Raybaut, for the Python translation/optimization
# (see LICENSE file for more details)
"""
QwtPlotDirectPainter
--------------------
.. autoclass:... | lgpl-2.1 | 2,105,900,071,676,100,600 | 34.363946 | 117 | 0.575437 | false |
bagage/cadastre-conflation | back/batimap/bbox.py | 1 | 1181 | import re
from math import sqrt
class Bbox(object):
def __init__(self, xmin, ymin, xmax, ymax):
self.coords = [xmin, ymin, xmax, ymax]
self.xmin = xmin
self.ymin = ymin
self.xmax = xmax
self.ymax = ymax
def __repr__(self):
return f"{self.xmin},{self.ymin},{self... | mit | -6,715,307,017,670,733,000 | 26.465116 | 84 | 0.485182 | false |
gvallarelli/inasafe | safe_qgis/impact_calculator_thread.py | 1 | 6203 | """
InaSAFE Disaster risk assessment tool developed by AusAid -
**ISImpactCalculatorThread.**
The module provides a high level interface for running SAFE scenarios.
Contact : ole.moller.nielsen@gmail.com
.. note:: This program is free software; you can redistribute it and/or modify
it under the terms of the GNU... | gpl-3.0 | 1,544,441,452,268,091,600 | 34.445714 | 79 | 0.632113 | false |
RPGOne/Skynet | 5230d93ccc9fa5329b0a02a351b02939-459eebff35e625675d2f6ff5633c7051c1d64a0e/gistfile1.py | 1 | 3974 | """
python speedup_kmeans.py --profile
python speedup_kmeans.py
git worktree add workdir_master master
rob sedr "\<sklearn\>" sklearn_master True
git mv sklearn sklearn_master
python setup develop
python -c "import sklearn_master; print(sklearn_master.__file__)"
python -c "import sklearn; print(sklearn.__file__)"
"""
... | bsd-3-clause | -8,699,514,571,054,754,000 | 35.127273 | 104 | 0.593357 | false |
yosi-dediashvili/SubiT | tests/SubProvidersTests/OpenSubtitlesSubProviderTest.py | 1 | 3995 | """
Test classes for OpenSubtitlesProvider.
The classes derives all the test from BaseSubProviderTest.
"""
import unittest
import BaseSubProviderTest
class Test_all_OpenSubtitlesProviderTest(
unittest.TestCase, BaseSubProviderTest.BaseSubProviderTest):
def setUp(self):
from SubProv... | gpl-3.0 | 4,231,381,265,595,466,000 | 38.373737 | 74 | 0.709387 | false |
igordejanovic/parglare | tests/func/parsing/test_dynamic_disambiguation_filters.py | 1 | 3477 | import pytest # noqa
from parglare import GLRParser, Grammar, Parser, SHIFT, REDUCE
from parglare.exceptions import SRConflicts
grammar = r"""
E: E op_sum E {dynamic}
| E op_mul E {dynamic}
| number;
terminals
number: /\d+/;
op_sum: '+' {dynamic};
op_mul: '*' {dynamic};
"""
instr1 = '1 + 2 * 5 + 3'
instr2 = '1 * ... | mit | -6,702,298,791,674,917,000 | 28.218487 | 79 | 0.633592 | false |
sparbz/nba-stats | nba_stats/nba_stats/settings/base.py | 1 | 2016 | """
Django settings for nba_stats 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/
"""
from unipath import Path
import dj_database_url
PROJECT_DIR = Path(__fi... | mit | 3,593,085,295,024,866,000 | 23 | 98 | 0.724702 | false |
schapman1974/tinymongo | setup.py | 1 | 2500 | import io
import os
from setuptools import setup, find_packages
from setuptools.command.test import test as TestCommand
def read(*names, **kwargs):
"""Read a file."""
return io.open(
os.path.join(os.path.dirname(__file__), *names),
encoding=kwargs.get('encoding', 'utf8')
).read()
def pars... | mit | 2,156,057,822,265,391,400 | 29.120482 | 80 | 0.606 | false |
nmetts/sp2016-csci7000-bda-project | preprocess.py | 1 | 7507 | '''
Created on Mar 5, 2016
A module for preprocessing raw data files from the KDD Cup 2009 dataset.
@author: Nicolas Metts
'''
import csv
import numpy as np
import argparse
import os
import pandas as pd
from sklearn.preprocessing import LabelEncoder
from sklearn.preprocessing import OneHotEncoder
from sklearn.preproc... | mit | -7,696,255,571,461,687,000 | 44.49697 | 107 | 0.650726 | false |
miquelcampos/GEAR_mc | gear/xsi/rig/component/eyelid_01/guide.py | 1 | 7407 | '''
This file is part of GEAR_mc.
GEAR_mc is a fork of Jeremie Passerin's GEAR project.
GEAR 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 3 of the License, or
(at... | lgpl-3.0 | -5,199,398,780,847,984,000 | 39.26087 | 164 | 0.509788 | false |
galaxy-modal/transcriptomics | galaxy-tools/stderr_wrapper.py | 1 | 1676 | #!/usr/bin/python
"""
Wrapper that executes a program with its arguments but reports standard error
messages only if the program exit status was not 0. This is useful to prevent
Galaxy to interpret that there was an error if something was printed on stderr,
e.g. if this was simply a warning.
Example: ./stderr_wrapper.... | gpl-2.0 | -7,320,840,070,516,737,000 | 28.403509 | 81 | 0.601432 | false |
tofumatt/quotes | lib/automatic_timestamps/tests.py | 1 | 1245 | from django.test import TestCase
from django.db import models
from automatic_timestamps.models import TimestampModel
from time import sleep
class GenericTimestampTestModel(TimestampModel):
"""A generic, boring model to test timestamp creation against."""
pass
class TimestampModelTest(TestCase):
def tes... | mit | 3,187,866,757,677,983,000 | 24.9375 | 74 | 0.659438 | false |
doirisks/dori | models/10.1016:j.jacc.2013.11.013/config_gener_a.py | 1 | 7083 | # -*- coding: utf-8 -*-
# a template for making config.json files for functions
#import pprint
#pp = pprint.PrettyPrinter(indent=4)
config = {}
# human and machine readable names for the model
config['id'] = {}
config['id']['DOI'] = '10.1016/j.jacc.2013.11.013'
config['id']['papertitle'] = 'Factors Associated With M... | gpl-3.0 | 7,234,410,869,433,950,000 | 44.403846 | 855 | 0.659184 | false |
niavok/perroquet | perroquetlib/gui/gui_sequence_properties_advanced.py | 1 | 18351 | # -*- coding: utf-8 -*-
# Copyright (C) 2009-2011 Frédéric Bertolus.
#
# This file is part of Perroquet.
#
# Perroquet 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 | -2,187,032,419,098,357,800 | 44.083538 | 255 | 0.695733 | false |
tswast/google-cloud-python | firestore/google/cloud/firestore_admin_v1/gapic/firestore_admin_client_config.py | 2 | 2613 | config = {
"interfaces": {
"google.firestore.admin.v1.FirestoreAdmin": {
"retry_codes": {
"idempotent": ["DEADLINE_EXCEEDED", "INTERNAL", "UNAVAILABLE"],
"non_idempotent": [],
},
"retry_params": {
"default": {
... | apache-2.0 | 7,393,237,340,222,576,000 | 37.426471 | 79 | 0.38385 | false |
zielmicha/pyjvm | tests/pystone/pystone.py | 1 | 7376 | #! /usr/bin/python2.7
"""
"PYSTONE" Benchmark Program
Version: Python/1.1 (corresponds to C/1.1 plus 2 Pystone fixes)
Author: Reinhold P. Weicker, CACM Vol 27, No 10, 10/84 pg. 1013.
Translated from ADA to C by Rick Richardson.
Every method to preserve ADA-likeness ha... | mit | 2,755,744,318,415,412,700 | 26.318519 | 74 | 0.599919 | false |
OpenDaisy/daisy-api | daisy/api/v1/config_sets.py | 1 | 17500 | # Copyright 2013 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 | -2,054,898,294,051,990,000 | 39.322581 | 107 | 0.571771 | false |
amorphic/sparkcc-formulapi | tests/test_formula.py | 1 | 2017 | from mock import patch
from race_code import race_code_globals
from . import FormulaPiTestCase
class TestFormula(FormulaPiTestCase):
def setUp(self):
# Capture all of the global defaults and reset them after we modify them with this code
# to keep sanity when running tests.
self.original_... | mit | 6,386,742,852,895,019,000 | 34.385965 | 98 | 0.608825 | false |
ownport/local-ci | local_ci/travis.py | 1 | 2167 | # -*- coding: utf-8 -*-
import os
import re
import utils
from dispatchers import BaseDispatcher
BASH_SCRIPT_TEMPLATE='''#!/bin/bash'''
RE_ENV_PATTERN=re.compile(r'^.+?=.+?$')
CI_STAGES = [
'before_install', 'install',
'before_script', 'script',
'after_success', 'after_failure',
'before_deploy', 'de... | apache-2.0 | 3,065,606,958,559,906,000 | 28.283784 | 101 | 0.595293 | false |
Unode/ete | ete3/parser/newick.py | 1 | 20069 | # #START_LICENSE###########################################################
#
#
# This file is part of the Environment for Tree Exploration program
# (ETE). http://etetoolkit.org
#
# ETE is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# the... | gpl-3.0 | -3,665,706,475,217,138,700 | 39.299197 | 139 | 0.567891 | false |
linuxwhatelse/mapper | tests/test_mapper.py | 1 | 6799 | from context import mapper
import unittest
import threading
mpr = mapper.Mapper()
class TestMapper(unittest.TestCase):
def test_instances(self):
inst1 = mapper.Mapper.get('inst1')
inst2 = mapper.Mapper.get('inst2')
self.assertNotEqual(inst1, inst2)
inst1_2 = mapper.Mapper.get('... | gpl-3.0 | 4,815,844,863,855,987,000 | 27.931915 | 75 | 0.518753 | false |
notkarol/banjin | experiment/python_word_matching_speed.py | 1 | 4650 | #!/usr/bin/python
# Takes in a dictionary of words
# Verifies that all functions return the same answers
# Generates random hands from the probability of getting tiles from the bunch
# Then prints out how long each function takes to find all matching words
# Generates various hand sizes to see if there's any scaling
... | mit | 6,223,729,968,353,600,000 | 29.794702 | 99 | 0.60043 | false |
mfcloud/python-zvm-sdk | zvmsdk/sdkwsgi/requestlog.py | 1 | 2577 | # Copyright 2017 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | apache-2.0 | -3,003,853,398,583,577,000 | 33.824324 | 78 | 0.592938 | false |
jrabbit/pyborg-1up | misc/old_experimental_scripts/pyborg-msnp.py | 1 | 4836 | #! /usr/bin/env python
#
# PyBorg MSN module
#
# Copyright (c) 2006 Sebastien Dailly
#
#
# 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) an... | gpl-3.0 | -8,932,053,356,463,326,000 | 27.785714 | 105 | 0.673697 | false |
developerworks/horizon | horizon/utils/validators.py | 1 | 1149 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
# 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 License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# ... | apache-2.0 | -6,168,565,720,718,603,000 | 33.818182 | 79 | 0.656223 | false |
kevinpt/ripyl | test/test_stats.py | 1 | 3176 | #!/usr/bin/python
# -*- coding: utf-8 -*-
'''Ripyl protocol decode library
Statistical operations test suite
'''
# Copyright © 2013 Kevin Thibedeau
# This file is part of Ripyl.
# Ripyl is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public Licen... | lgpl-3.0 | 1,296,993,798,884,937,000 | 33.674157 | 85 | 0.595591 | false |
pyfa-org/eos | tests/integration/restriction/restriction/test_drone_bandwidth.py | 1 | 10465 | # ==============================================================================
# Copyright (C) 2011 Diego Duclos
# Copyright (C) 2011-2018 Anton Vorobyov
#
# 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 publi... | lgpl-3.0 | 2,386,085,293,114,946,600 | 37.903346 | 80 | 0.624367 | false |
AndreasMadsen/course-02456-sparsemax | python_reference/sparsemax.py | 1 | 2098 | import numpy as np
def forward(z):
"""forward pass for sparsemax
this will process a 2d-array $z$, where axis 1 (each row) is assumed to be
the the z-vector.
"""
# sort z
z_sorted = np.sort(z, axis=1)[:, ::-1]
# calculate k(z)
z_cumsum = np.cumsum(z_sorted, axis=1)
k = np.arange... | mit | 6,878,382,542,096,882,000 | 27.739726 | 100 | 0.596282 | false |
samdroid-apps/browse | pdfviewer.py | 1 | 21028 | # Copyright (C) 2012, One Laptop Per Child
#
# 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 distrib... | gpl-2.0 | 9,211,314,109,004,162,000 | 33.872305 | 81 | 0.606097 | false |
eddieantonio/imgcat | libexec/gen_img.py | 1 | 2780 | #!/usr/bin/env python
# Copyright (c) 2014–2018, Eddie Antonio Santos <easantos@ualberta.ca>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE ... | isc | -5,803,299,474,392,289,000 | 24.254545 | 92 | 0.596472 | false |
Carnon/nlp | TextClassify/textclassify/textdata.py | 1 | 2565 | import os
import codecs
import re
import jieba
import numpy as np
from tqdm import tqdm
from tensorflow.contrib import learn
from sklearn.preprocessing import OneHotEncoder
from sklearn.preprocessing import LabelEncoder
class TextData(object):
def __init__(self,args):
self.args = args
corpus_dir =... | apache-2.0 | 9,036,540,684,069,582,000 | 35.642857 | 114 | 0.617934 | false |
RoboCupULaval/UI-Debug | test/testQPainterWidget.py | 1 | 2130 | # Under GNU GPLv3 License, see LICENSE.txt
import sys, time
from random import randint
from PyQt5.QtWidgets import QWidget, QApplication
from PyQt5.QtGui import QPainter, QPen, QBrush, QColor
from PyQt5.QtCore import pyqtSignal, QMutex, QTimer
__author__ = 'jbecirovski'
class TestPainter(QWidget):
frame_rate = ... | mit | 2,455,249,001,436,098,000 | 31.272727 | 177 | 0.562441 | false |
sebdelsol/pyload | module/plugins/hoster/CzshareCom.py | 1 | 5871 | # -*- coding: utf-8 -*-
#
# Test links:
# http://czshare.com/5278880/random.bin
import re
from module.plugins.internal.SimpleHoster import SimpleHoster, create_getInfo
from module.utils import parseFileSize
class CzshareCom(SimpleHoster):
__name__ = "CzshareCom"
__type__ = "hoster"
__version__ = "... | gpl-3.0 | -6,866,925,458,783,012,000 | 37.546053 | 127 | 0.558969 | false |
jamesp/jpy | jpy/maths/pde.py | 1 | 2463 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
"""Numerical Methods of Partial Differential Equations.
Provides integration methods and other utility functions such as the RA & RAW
time filters for numerical integration of PDEs.
"""
import numpy as np
def RA_filter(phi, epsilon=0.1):
"""Robert-Asselin-Williams ti... | mit | -3,893,353,240,602,028,000 | 27.172414 | 93 | 0.565891 | false |
PragmaticMates/django-clever-selects | setup.py | 1 | 1314 | #!/usr/bin/env python
from setuptools import setup
setup(
name='django-clever-selects',
version='0.8.2',
description='Chained select box widget for Django framework using AJAX requests.',
long_description=open('README.rst').read(),
author='Pragmatic Mates',
author_email='info@pragmaticmates.co... | mit | 6,410,312,218,537,401,000 | 33.578947 | 86 | 0.626332 | false |
yeleman/snisi | snisi_maint/management/commands/update-cluster-from-std-csv.py | 1 | 3120 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
# vim: ai ts=4 sts=4 et sw=4 nu
from __future__ import (unicode_literals, absolute_import,
division, print_function)
import logging
import os
from django.core.management.base import BaseCommand
from optparse import make_option
from py3compat import... | mit | -835,938,490,400,088,200 | 31.842105 | 73 | 0.501923 | false |
offlinehacker/sphinxcontrib.jinjadomain | sphinxcontrib/jinjadomain.py | 1 | 3445 | """
sphinxcontrib.jinjadomain
~~~~~~~~~~~~~~~~~~~~~~~~
The jinja domain for documenting jinja templates.
:copyright: Copyright 2012 by Jaka Hudoklin
:license: BSD, see LICENSE for details.
"""
import re
import os
from sphinx import addnodes
from sphinx.domains import Domain, ObjType, Index
from... | bsd-2-clause | 4,406,314,289,829,284,400 | 27.708333 | 79 | 0.584906 | false |
amchoukir/ycmd | build.py | 1 | 6445 | #!/usr/bin/env python
import os
import os.path as p
import sys
major, minor = sys.version_info[ 0 : 2 ]
if major != 2 or minor < 6:
sys.exit( 'The build script requires Python version >= 2.6 and < 3.0; '
'your version of Python is ' + sys.version )
DIR_OF_THIS_SCRIPT = p.dirname( p.abspath( __file__ ) ... | gpl-3.0 | 5,089,517,288,401,382,000 | 31.550505 | 85 | 0.638169 | false |
perlygatekeeper/glowing-robot | google_test/free_the_bunny_prisoners/solution_5_fails.py | 1 | 1090 | import itertools
def solution(bunnies,keys_required):
answer = []
for i in range(bunnies):
answer.append([])
# if keys_required > bunnies:
# return None
if keys_required == 0:
return [[0]]
elif keys_required == 1:
key = 0
for group in range(bunnies):
... | artistic-2.0 | -8,434,445,743,401,300,000 | 28.459459 | 88 | 0.538532 | false |
nuagenetworks/tempest | tempest/common/dynamic_creds.py | 1 | 17614 | # Copyright 2013 IBM Corp.
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed t... | apache-2.0 | -7,163,394,698,792,381,000 | 43.933673 | 79 | 0.56756 | false |
rosarior/django-sabot | setup.py | 1 | 1301 | #!/usr/bin/env python
import os
import sys
try:
from setuptools import setup
except ImportError:
from distutils.core import setup
if sys.argv[-1] == 'publish':
os.system('python setup.py sdist upload')
sys.exit()
with open('README.rst') as f:
readme = f.read()
with open('HISTORY.rst') as f:
... | mit | 5,138,860,737,166,539,000 | 26.104167 | 70 | 0.624135 | false |
maxspad/MGrader | autograder/modules/questions/PythonQuestion.py | 1 | 2436 | '''
Contains the PythonQuestion class, which is an instructor-facing
question type that implements a grade() function.
All instructor-facing Question modules must implement
a grade() function at module level that returns a Result object.
@author: Max Spadafore
'''
from AbstractQuestion import AbstractQ
table_name =... | bsd-3-clause | 555,966,247,296,795,100 | 31.932432 | 149 | 0.688013 | false |
Duncan93/dbm-project2 | Ttest.py | 1 | 5148 | # -*- coding: utf-8 -*-
"""
Created on Wed Apr 22 22:52:24 2015
@author: lorraine
"""
import json
from pprint import pprint
import numpy as np
from scipy.stats import mstats
from scipy import stats
import csv
import pandas as pd
#json_data=open("data/{0}_B.json".format("pizza")).read()
#data = json.loads(json_data)
... | mit | -4,440,707,402,355,450,000 | 37.691729 | 144 | 0.705402 | false |
pybel/pybel-tools | src/pybel_tools/analysis/neurommsig/export.py | 1 | 8861 | # -*- coding: utf-8 -*-
"""This module contains the functions needed to process the NeuroMMSig excel sheets as well as export as BEL.
To run, type :code:`python3 -m pybel_tools.analysis.neurommsig` in the command line
"""
import itertools as itt
import logging
import os
import re
import time
from functools import pa... | mit | 6,785,736,960,564,687,000 | 33.341085 | 112 | 0.611174 | false |
buguen/pylayers | pylayers/util/cone.py | 1 | 20331 | #-*- coding:Utf-8 -*-
r"""
Class Cone
==========
The following conventions are adopted
+ A cone has an **apex** which is a point in the plane.
+ A cone has two vectors which define the cone aperture. The order of those two vectors
matters (u) is the starting vector (u) and (v) the ending vector.
The cone region is... | lgpl-3.0 | 8,532,794,341,175,884,000 | 27.395251 | 128 | 0.4471 | false |
Bioto/Huuey-python | huuey/hue/scenes/scene.py | 1 | 1071 | from huuey.paths import Paths
class Scene:
name = None
lights = []
owner = None
recycle = None
locked = None
appdata = None
picture = None
lastupdated = None
version = None
_id = None
_parent = None
def __init__(self, obj, parent, _id):
self._parent = parent
... | mit | 6,638,197,520,970,899,000 | 20 | 62 | 0.535948 | false |
MicroMagnum/MicroMagnum | src/magnum/evolver/cvode.py | 1 | 1850 | # Copyright 2012 by the Micromagnum authors.
#
# This file is part of MicroMagnum.
#
# MicroMagnum 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 la... | gpl-3.0 | -6,416,352,454,993,770,000 | 28.365079 | 82 | 0.685405 | false |
ChengeLi/VehicleTracking | utilities/embedding.py | 1 | 3427 | #### embedding
from sklearn.decomposition import PCA
from sklearn.manifold import TSNE, MDS
from mpl_toolkits.mplot3d import Axes3D
class embeddings(obj):
def __init__(self, model,data):
self.modelChoice = model
self.data = data
# self.data = FeatureMtx_norm
def PCA_embedding(self,n_c... | mit | -6,324,826,729,370,016,000 | 40.289157 | 164 | 0.640502 | false |
ChameleonCloud/horizon | openstack_dashboard/test/unit/api/test_neutron.py | 1 | 76571 | # Copyright 2012 NEC Corporation
#
# 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 ag... | apache-2.0 | -2,582,173,321,856,126,000 | 44.094817 | 79 | 0.608755 | false |
bigzhao/flask-projects-manage | app/auth/views.py | 1 | 2830 | # -*- coding: utf-8 -*-
from flask import render_template, redirect, request, url_for, flash
from flask.ext.login import login_user, logout_user, login_required, current_user
from . import auth
from ..models import User
from .forms import RegisterForm, EditForm, ChangePasswdForm
from .. import db
@auth.route('/lo... | mit | 6,027,085,668,962,736,000 | 29.43956 | 83 | 0.625632 | false |
qtproject/pyside-pyside | tests/QtCore/bug_1031.py | 1 | 1382 | #############################################################################
##
## Copyright (C) 2016 The Qt Company Ltd.
## Contact: https://www.qt.io/licensing/
##
## This file is part of the test suite of PySide2.
##
## $QT_BEGIN_LICENSE:GPL-EXCEPT$
## Commercial License Usage
## Licensees holding valid commercial ... | lgpl-2.1 | 1,422,556,043,182,802,200 | 40.878788 | 77 | 0.670767 | false |
ZhuangER/Search-Engine | search_engine.py | 1 | 1983 | import requests
from bs4 import BeautifulSoup
import logging
import time
import re
import os.path
from base64 import b16encode
logging.getLogger().setLevel(logging.DEBUG)
_r_learnprogramming_url = re.compile(r'http://(www.)?reddit.com/r/learnprogramming')
def downloadRedditUrl(url):
logging.debug("Downloading url: {... | mit | -2,783,316,346,907,406,300 | 31.508197 | 86 | 0.70701 | false |
dongqunxi/GrangerCausality | Preprocessing/CTPS_identifation_BrainComponents.py | 1 | 4218 | # -*- coding: utf-8 -*-
"""
Created on Fri Feb 21 10:42:55 2014
@author: imenb101
"""
import numpy as np
import matplotlib.pylab as pl
import mne, sys, os
from mne.viz import tight_layout
from mne.fiff import Raw
from mne.preprocessing import ICA
from ctps import compute_ctps
from ctps import plot_ctps_panel
try:
... | bsd-3-clause | -859,910,584,621,222,400 | 38.055556 | 127 | 0.672357 | false |
hakanozadam/bal | bal/reference/prepare.py | 1 | 5583 | #!/bin/env python3
# AUTHORS:
# Hakan Ozadam
# Rachel Brown
#
# Moore Laboratory
# UMASS Medical School / HHMI
# RNA Therapeutics Institute
# Albert Sherman Center, ASC4-1009
# 368 Plantation Street
# Worcester, MA 01605
# USA
#
###########################... | gpl-2.0 | 3,486,771,046,450,948,000 | 37.770833 | 118 | 0.547376 | false |
p473lr/i-urge-mafia-gear | HP Code Wars Documents/2014/Solutions/prob02_CheckDigit.py | 1 | 2339 | #!/usr/bin/env python
#CodeWars 2014
#
#Check Digits
#
# There are many situations where we exchange a number with someone. In some cases we need
# to be sure that the number we gave them was received correctly. This is especially
# important for credit cards, serial numbers, and product bar code numbers.
# A check... | apache-2.0 | -2,976,268,853,443,760,600 | 34.984615 | 91 | 0.666524 | false |
pibroch/ocfs2-test | programs/write_torture/write_torture.py | 1 | 4399 | #!/usr/bin/env python
#
#
# Copyright (C) 2006 Oracle. All rights reserved.
#
# 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 ver... | gpl-2.0 | 5,714,742,131,041,537,000 | 23.713483 | 79 | 0.661287 | false |
rven/odoo | addons/im_livechat/models/im_livechat_channel.py | 1 | 15553 | # -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import base64
import random
import re
from odoo import api, fields, models, modules, _
class ImLivechatChannel(models.Model):
""" Livechat Channel
Define a communication channel, which can be accessed with ... | agpl-3.0 | -6,630,059,679,341,392,000 | 52.816609 | 319 | 0.641034 | false |
pikamar/scoop | config/settings/production.py | 1 | 7423 | # -*- coding: utf-8 -*-
'''
Production Configurations
- Use djangosecure
- Use Amazon's S3 for storing static files and uploaded media
- Use mailgun to send emails
- Use Redis on Heroku
- Use sentry for error logging
'''
from __future__ import absolute_import, unicode_literals
from boto.s3.connection import Ordinar... | bsd-3-clause | -8,161,419,392,009,591,000 | 34.014151 | 117 | 0.605011 | false |
Samsung/skia | bench/gen_bench_expectations.py | 2 | 5049 | #!/usr/bin/env python
# Copyright (c) 2014 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.
""" Generate bench_expectations file from a given set of bench data files. """
import argparse
import bench_util
import os
import ... | bsd-3-clause | -3,046,671,847,493,979,000 | 35.323741 | 80 | 0.653001 | false |
trbs/pid | pid/base.py | 1 | 7603 | import os
import sys
import errno
import atexit
import signal
import logging
import tempfile
from .utils import (
determine_pid_directory,
effective_access,
)
try:
from contextlib import ContextDecorator as BaseObject
except ImportError:
BaseObject = object
DEFAULT_PID_DIR = determine_pid_directory()
... | apache-2.0 | 2,437,433,229,364,245,500 | 30.288066 | 103 | 0.585032 | false |
kimhc6028/pathnet-pytorch | plotter.py | 1 | 2461 | import argparse
import os
import pickle
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('ggplot')
parser = argparse.ArgumentParser(description='PyTorch MNIST Example')
parser.add_argument('--mnist', action='store_true', default=False,
help='open mnist result')
args = parser.parse_a... | bsd-3-clause | 5,344,219,166,284,127,000 | 28.297619 | 95 | 0.578627 | false |
pulsar-chem/Pulsar-Core | lib/systems/l-leucine.py | 1 | 1231 | import pulsar as psr
def load_ref_system():
""" Returns l-leucine as found in the IQMol fragment library.
All credit to https://github.com/nutjunkie/IQmol
"""
return psr.make_system("""
H 0.3678 -1.3008 0.4056
C 0.5471 -0.3960 -0.2429
N 2.0124 ... | bsd-3-clause | -8,902,193,450,787,371,000 | 41.448276 | 65 | 0.39805 | false |
hoosteeno/bedrock | bedrock/settings/base.py | 1 | 48232 | # -*- coding: utf-8 -*-
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
import json
import platform
import socket
import struct
import sys
from os.path import abspath
... | mpl-2.0 | -5,188,924,430,018,638,000 | 30.310995 | 114 | 0.57253 | false |
enochd/RMG-Py | rmgpy/rmg/main.py | 1 | 62676 | #!/usr/bin/python
# -*- coding: utf-8 -*-
################################################################################
#
# RMG - Reaction Mechanism Generator
#
# Copyright (c) 2002-2010 Prof. William H. Green (whgreen@mit.edu) and the
# RMG Team (rmg_dev@mit.edu)
#
# Permission is hereby granted, free of c... | mit | -5,214,712,252,094,422,000 | 48.003909 | 228 | 0.582121 | false |
ghackebeil/PyORAM | src/pyoram/storage/block_storage.py | 1 | 3293 | __all__ = ('BlockStorageTypeFactory',)
import logging
log = logging.getLogger("pyoram")
def BlockStorageTypeFactory(storage_type_name):
if storage_type_name in BlockStorageTypeFactory._registered_devices:
return BlockStorageTypeFactory.\
_registered_devices[storage_type_name]
else:
... | mit | -4,740,640,862,702,392,000 | 38.674699 | 73 | 0.580626 | false |
YunoHost/moulinette | moulinette/interfaces/cli.py | 1 | 17327 | # -*- coding: utf-8 -*-
import os
import sys
import getpass
import locale
import logging
from argparse import SUPPRESS
from collections import OrderedDict
from datetime import date, datetime
import argcomplete
from moulinette import msignals, m18n
from moulinette.core import MoulinetteError
from moulinette.interface... | agpl-3.0 | -4,121,375,827,570,136,000 | 31.087037 | 245 | 0.581347 | false |
alej0varas/django-o2o_tagging | o2o_tagging/models.py | 1 | 2048 | from django.contrib.contenttypes import generic
from django.contrib.contenttypes.models import ContentType
from django.db import models
from model_utils.managers import PassThroughManager
from .managers import O2OTagQuerySet
class O2OTag(models.Model):
# The object that is tagging
tagger_content_type = mode... | gpl-3.0 | 4,474,573,030,350,421,500 | 34.929825 | 76 | 0.625 | false |
NarlikarLab/DIVERSITY | weblogoMod/weblogolib/__init__.py | 1 | 41331 | #!/usr/bin/env python
# -------------------------------- WebLogo --------------------------------
# Copyright (c) 2003-2004 The Regents of the University of California.
# Copyright (c) 2005 Gavin E. Crooks
# Copyright (c) 2006-2011, The Regents of the University of California, through
# Lawrence Berkeley Nationa... | gpl-3.0 | 6,209,968,925,322,337,000 | 34.265358 | 137 | 0.570637 | false |
kakunbsc/enigma2.2 | lib/python/Plugins/SystemPlugins/Videomode/VideoHardware.py | 2 | 10472 | from enigma import eTimer
from Components.config import config, ConfigSelection, ConfigSubDict, ConfigYesNo
from Tools.CList import CList
from Tools.HardwareInfo import HardwareInfo
# The "VideoHardware" is the interface to /proc/stb/video.
# It generates hotplug events, and gives you the list of
# available and pre... | gpl-2.0 | 6,534,390,111,145,124,000 | 30.542169 | 133 | 0.646772 | false |
lambda2/Fennec | fennec/logger.py | 1 | 1715 | import logging
import os
import datetime
import string
import random
class Logger():
"""
Creates a beautifully crafted logger object to use with fennec.
"""
def __init__(self, root_path):
self.logger = logging.getLogger('fennec')
self.logger.setLevel(logging.DEBUG)
trace_id = ''.join(random.choice(string.as... | gpl-3.0 | 5,221,612,199,813,064,000 | 39.833333 | 118 | 0.721866 | false |
alexey-grom/django-userflow | userflow/views/verify/request.py | 1 | 1109 | # encoding: utf-8
from django.http.response import HttpResponseRedirect, Http404
from django.views.generic.detail import DetailView
from userflow.models import UserEmail
class RequestConfirmEmailView(DetailView):
model = UserEmail
def get_queryset(self):
return super(RequestConfirmEmailView, self).... | mit | 1,387,404,666,578,132,700 | 33.65625 | 77 | 0.655546 | false |
FundedByMe/django-uc | uc/uc.py | 1 | 2620 | from __future__ import print_function
from django.conf import settings
from suds.client import Client
from suds.plugin import MessagePlugin
import sys
def get_client(product_code):
url = "https://www.uc.se/UCSoapWeb/services/ucOrders2"
client = Client(url + "?wsdl", plugins=[VersionPlugin(product_code)])
... | mit | 8,922,698,252,316,484,000 | 33.933333 | 116 | 0.683588 | false |
whereskenneth/Dwarfsquad | dwarfsquad/lib/build/from_export/build_compound_methods.py | 1 | 6738 | from dwarfsquad.lib.build.from_export.helpers import build_reference_map
from dwarfsquad.lib.utils import to_stderr
from dwarfsquad.model.Calibration import Calibration
from dwarfsquad.model.ChromatogramMethod import ChromatogramMethod
from dwarfsquad.model.CompoundMethod import CompoundMethod
from dwarfsquad.model.Pea... | mit | -6,402,530,371,406,678,000 | 37.502857 | 103 | 0.706886 | false |
wtsi-hgi/irobot | irobot/tests/unit/authentication/test_http.py | 1 | 5773 | """
Copyright (c) 2017 Genome Research Ltd.
Author: Christopher Harrison <ch12@sanger.ac.uk>
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 ... | gpl-3.0 | 799,001,320,884,289,400 | 36.487013 | 87 | 0.691841 | false |
hexpl0it/plugin.video.genesi-ita | resources/lib/libraries/js2py/prototypes/jsarray.py | 1 | 14657 | def to_arr(this):
"""Returns Python array from Js array"""
return [this.get(str(e)) for e in xrange(len(this))]
ARR_STACK = set({})
class ArrayPrototype:
def toString():
# this function is wrong but I will leave it here fore debugging purposes.
func = this.get('join')
if not func.... | gpl-3.0 | 2,274,216,971,756,242,200 | 32.011261 | 116 | 0.492324 | false |
rhyolight/nupic.son | tests/app/summerofcode/logic/test_organization.py | 1 | 2546 | # Copyright 2013 the Melange 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 by applicable law or agreed to in wr... | apache-2.0 | 2,475,230,859,541,138,000 | 32.064935 | 80 | 0.714847 | false |
tboyce021/home-assistant | homeassistant/components/apple_tv/__init__.py | 2 | 12223 | """The Apple TV integration."""
import asyncio
import logging
from random import randrange
from pyatv import connect, exceptions, scan
from pyatv.const import Protocol
from homeassistant.components.media_player import DOMAIN as MP_DOMAIN
from homeassistant.components.remote import DOMAIN as REMOTE_DOMAIN
from homeass... | apache-2.0 | 6,061,294,520,486,808,000 | 31.335979 | 87 | 0.599607 | false |
strazzere/pfp | setup.py | 1 | 1092 | #!/usr/bin/env python
# encoding: utf-8
import os, sys
from setuptools import setup
setup(
# metadata
name='pfp',
description='An 010 template interpreter for Python',
long_description="""
pfp is an 010 template interpreter for Python. It accepts an
input data stream and an 010 template and return... | mit | 4,640,449,585,166,833,000 | 33.125 | 105 | 0.67674 | false |
linuxscout/tashaphyne | setup.py | 1 | 1053 | #!/usr/bin/python
from setuptools import setup
# to install type:
# python setup.py install --root=/
def readme():
with open('README.rst', encoding="utf8") as f:
return f.read()
setup (name='Tashaphyne', version='0.3.5',
description='Tashaphyne Arabic Light Stemmer',
long_description = readme()... | gpl-3.0 | 7,358,732,075,506,824,000 | 30.909091 | 56 | 0.577398 | false |
lizardsystem/lizard-efcis | lizard_efcis/migrations/0053_auto_20150706_1209.py | 1 | 6380 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('lizard_efcis', '0052_opname_validation_state'),
]
operations = [
migrations.AddField(
model_name='locatie',
... | gpl-3.0 | -9,061,670,086,687,710,000 | 36.529412 | 168 | 0.560502 | false |
zielmicha/hera | hera/webapp/urls.py | 1 | 1682 | from django.conf.urls import include, url, patterns
from django.contrib import admin
from django.conf.urls.static import static
from django.conf import settings
from django.views.generic import RedirectView, TemplateView
from hera.webapp import account_views
from hera.webapp import sandbox_views
from hera.webapp import... | agpl-3.0 | 6,931,740,068,921,254,000 | 59.071429 | 98 | 0.580856 | false |
Flavsditz/projects | eyeTracking/pupil/pupil_src/capture/recorder.py | 1 | 4963 | import os, sys
import cv2
import atb
import numpy as np
from plugin import Plugin
from time import strftime,localtime,time,gmtime
from ctypes import create_string_buffer
from git_version import get_tag_commit
class Recorder(Plugin):
"""Capture Recorder"""
def __init__(self, session_str, fps, img_shape, shared_... | gpl-2.0 | -8,185,987,220,556,389,000 | 39.024194 | 137 | 0.576667 | false |
ghetzel/webfriend | webfriend/utils/__init__.py | 1 | 1517 | import os.path
import random
import inspect
import importlib
import string
PACKAGE_ROOT = os.path.abspath(
os.path.dirname(
os.path.dirname(__file__)
)
)
PACKAGE_NAME = os.path.basename(PACKAGE_ROOT)
def random_string(count, charset=string.lowercase + string.digits):
return ''.join(random.sample... | bsd-2-clause | 6,987,214,187,512,982,000 | 20.671429 | 87 | 0.552406 | false |
ProjetPP/PPP-QuestionParsing-PLYFrench | ppp_french_parser/parser.py | 1 | 10869 | import os
import itertools
import threading
import subprocess
from ply import lex, yacc
from nltk.corpus import wordnet
from collections import namedtuple, deque
from ppp_datamodel import Resource, Triple, Missing
from .config import Config
class ParserException(Exception):
pass
FORMS_ETRE = frozenset(filter(bo... | mit | -5,150,446,832,958,763,000 | 27.671958 | 85 | 0.540413 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.