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 |
|---|---|---|---|---|---|---|---|---|---|---|
laichunpongben/machine_learning | linear_regression_csv.py | 1 | 1550 | import csv
import numpy as np
class TestCase:
def __init__(self):
dataset_file = "dataset.csv"
self.col_count = 47
self.training_data_count = 10000
self.training_set = np.loadtxt(open(dataset_file,"rb"),delimiter=",",skiprows=1)
self.test_set = np.loadtxt(open(dataset_file,"... | apache-2.0 | 4,191,865,069,148,466,000 | 35.904762 | 109 | 0.585806 | false |
who-emro/meerkat_api | meerkat_api/resources/epi_week.py | 1 | 1398 | """
Resource to deal with epi-weeks
"""
import datetime
from dateutil.parser import parse
from flask import jsonify
from flask_restful import Resource
from meerkat_api.extensions import api
import meerkat_abacus.util.epi_week as epi_week_util
class EpiWeek(Resource):
"""
Get epi week of date(defaults to toda... | mit | 5,886,391,900,665,190,000 | 25.377358 | 87 | 0.620887 | false |
aftersight/After-Sight-Model-1 | keyPress.py | 1 | 13557 | class _Getch:
"""Gets a single character from standard input. Does not echo to the
screen. From http://code.activestate.com/recipes/134892/"""
def __init__(self):
try:
self.impl = _GetchWindows()
except ImportError:
try:
self.impl = _GetchMacCarbon()
... | cc0-1.0 | -7,249,865,575,136,879,000 | 33.321519 | 121 | 0.619827 | false |
rpedde/python-carbon-buildpkg | lib/carbon/writer.py | 1 | 5802 | """Copyright 2009 Chris Davis
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
dist... | apache-2.0 | 4,351,749,073,916,351,000 | 30.362162 | 118 | 0.685453 | false |
trustcircleglobal/tcg-gae | tcg_gae/tests/meta.py | 1 | 2487 | import unittest
class MetaTestCase(type):
def __init__(cls, name, bases, classdict):
super(MetaTestCase, cls).__init__(name, bases, classdict)
cls._auto_create_methods(bases)
class ObjectSchema(object):
def __init__(self, *args, **kwargs):
self.fields = args
self.nested_sch... | isc | 8,509,413,952,663,443,000 | 27.261364 | 66 | 0.548854 | false |
shellderp/sublime-robot-plugin | lib/robot/utils/argumentparser.py | 1 | 15983 | # Copyright 2008-2012 Nokia Siemens Networks Oyj
#
# 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 | 2,738,208,641,721,807,400 | 38.27027 | 84 | 0.565789 | false |
googleapis/googleapis-gen | google/devtools/clouderrorreporting/v1beta1/devtools-clouderrorreporting-v1beta1-py/tests/unit/gapic/errorreporting_v1beta1/test_report_errors_service.py | 1 | 48720 | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | apache-2.0 | -5,023,281,741,818,850,000 | 41.550218 | 257 | 0.680398 | false |
Yelp/paasta | paasta_tools/contrib/utilization_check.py | 1 | 2057 | #!/usr/bin/env python
"""Reads a list of hosts to stdin and produces
a utilization report for those hosts.
"""
import functools
import json
import sys
from typing import Sequence
from a_sync import block
from paasta_tools.mesos.exceptions import MasterNotAvailableException
from paasta_tools.mesos_tools import get_mes... | apache-2.0 | 2,211,955,582,909,433,000 | 32.177419 | 77 | 0.679144 | false |
indictranstech/osmosis-erpnext | erpnext/manufacturing/doctype/production_planning_tool/production_planning_tool.py | 1 | 17555 | # Copyright (c) 2015, Frappe Technologies Pvt. Ltd. and Contributors
# License: GNU General Public License v3. See license.txt
from __future__ import unicode_literals
import frappe
from frappe.utils import cstr, flt, cint, nowdate, add_days, comma_and
from frappe import msgprint, _
from frappe.model.document import ... | agpl-3.0 | -528,266,665,888,626,050 | 36.114165 | 120 | 0.659641 | false |
simotek/tanko-bot | src/test-client.py | 1 | 1418 |
# test client - Simon Lees simon@simotek.net
# Copyright (C) 2015 Simon Lees
#
# This library is free software; you can redistribute it and/or
# modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation; either
# version 2.1 of the License, or (at your option) an... | lgpl-2.1 | -5,472,748,171,853,558,000 | 28.541667 | 80 | 0.708745 | false |
adamwulf/verlet-nn | neuralnetTests/keras-linear.py | 1 | 1816 | # begin
from __future__ import print_function
import numpy as np
np.random.seed(1337) # for reproducibility
from tensorflow import set_random_seed
set_random_seed(1337)
from sys import exit
from keras.preprocessing import sequence
from keras.models import Sequential
from keras.layers import Input, Reshape, Dense, Ac... | mit | -474,862,961,147,950,500 | 26.104478 | 70 | 0.715859 | false |
google-coral/pycoral | tests/imprinting_engine_test.py | 1 | 6413 | # Lint as: python3
# Copyright 2019 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 agr... | apache-2.0 | -5,368,133,874,632,009,000 | 35.856322 | 80 | 0.655076 | false |
hanya/BookmarksMenu | pythonpath/bookmarks/tools.py | 1 | 14635 | # Copyright 2012 Tsutomu Uchino
#
# 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 ... | apache-2.0 | 2,302,242,109,002,232,800 | 32.261364 | 114 | 0.59672 | false |
fritz0705/lglass | lglass/object.py | 1 | 14874 | class Object(object):
def __init__(self, data=None):
self._data = []
if data is not None:
self.extend(data)
@property
def data(self):
"""List of key-value-tuples."""
return self._data
@property
def object_class(self):
"""Object class of this obje... | mit | 5,814,712,941,590,227,000 | 32.804545 | 117 | 0.538994 | false |
timbuchwaldt/bundlewrap | bundlewrap/items/users.py | 1 | 11714 | # -*- coding: utf-8 -*-
from __future__ import unicode_literals
from logging import ERROR, getLogger
from pipes import quote
from string import ascii_lowercase, digits
from passlib.hash import bcrypt, md5_crypt, sha256_crypt, sha512_crypt
from bundlewrap.exceptions import BundleError
from bundlewrap.items import BUI... | gpl-3.0 | -5,239,586,966,625,551,000 | 33.863095 | 93 | 0.522452 | false |
windelbouwman/ppci-mirror | test/test_hexutil.py | 1 | 2515 | import unittest
import tempfile
import io
import os
from unittest.mock import patch
from helper_util import relpath, do_long_tests
from ppci.cli.hexutil import hexutil
def new_temp_file(suffix):
""" Generate a new temporary filename """
handle, filename = tempfile.mkstemp(suffix=suffix)
os.close(handle)
... | bsd-2-clause | 3,596,360,861,681,178,600 | 36.537313 | 78 | 0.638171 | false |
bertothunder/coursera-algorithms | quickfind.py | 1 | 1155 | #!/usr/bin/env python3
class QuickFindUF(object):
def __init__(self, N):
self.__id__ = [i for i in range(N)]
self.__count__ = N
def union(self, p, q):
# Check indices
if (p > self.__count__ or q > self.__count__):
print('Indices do not exist')
elif (self.__id__[q] != self.__id__[p]): # Not connected ye... | gpl-3.0 | 641,932,581,429,565,000 | 27.9 | 62 | 0.550649 | false |
fuziontech/pgshovel | src/main/python/pgshovel/relay/handlers/kafka.py | 1 | 2002 | from __future__ import absolute_import
import functools
import threading
import click
from pgshovel.interfaces.streams_pb2 import Message
from pgshovel.relay.entrypoint import entrypoint
from pgshovel.utilities import import_extras
from pgshovel.utilities.protobuf import BinaryCodec
with import_extras('kafka'):
... | apache-2.0 | -3,662,419,686,862,684,000 | 28.441176 | 94 | 0.663836 | false |
imiolek-ireneusz/pysiogame | game_boards/game044.py | 1 | 8476 | # -*- coding: utf-8 -*-
import os
import pygame
import random
import classes.board
import classes.extras as ex
import classes.game_driver as gd
import classes.level_controller as lc
class Board(gd.BoardGame):
def __init__(self, mainloop, speaker, config, screen_w, screen_h):
self.level = lc.Level(self, ... | gpl-3.0 | 6,823,931,356,465,523,000 | 43.846561 | 115 | 0.549788 | false |
badp/ganeti | test/py/ganeti.rpc_unittest.py | 1 | 34586 | #!/usr/bin/python
#
# Copyright (C) 2010, 2011, 2012, 2013 Google Inc.
#
# 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... | gpl-2.0 | -2,720,023,759,345,180,700 | 34.952183 | 80 | 0.611028 | false |
sandlbn/django-theatre | theatre_performance/views.py | 1 | 6668 | # -*- coding: utf-8 -*-
__author__ = 'sandlbn'
from .models import Performance
from .models import PerformanceFrontPage
from .models import PerformanceGenre
from .models import PerformanceTime
from .models import PerformanceDonor
from theatre_news.models import News
from .forms import PerformanceForm
from .forms import... | lgpl-3.0 | -5,993,623,482,546,329,000 | 32.847716 | 79 | 0.741602 | false |
mugurrus/ally-py-common | hr-user/hr/user/impl/user.py | 1 | 7083 | '''
Created on Mar 6, 2012
@package: hr user
@copyright: 2011 Sourcefabric o.p.s.
@license http://www.gnu.org/licenses/gpl-3.0.txt
@author: Mihai Balaceanu
Implementation for user services.
'''
from functools import reduce
import hashlib
from ally.api.criteria import AsLike, AsBoolean
from ally.api.validate import ... | gpl-3.0 | -8,506,056,176,071,447,000 | 38.792135 | 128 | 0.620076 | false |
shobhitmishra/CodingProblems | LeetCode/Session3/SencondMinInABTree.py | 1 | 1590 | import sys
class TreeNode:
def __init__(self, x):
self.val = x
self.left = None
self.right = None
class Solution:
def findSecondMinimumValue(self, root: TreeNode) -> int:
if not root or (not root.left and not root.right):
return -1
if root.left.va... | mit | -278,850,236,724,756,200 | 35.159091 | 100 | 0.627673 | false |
qedsoftware/commcare-hq | corehq/apps/couch_sql_migration/tests/test_migration.py | 1 | 22231 | import os
import uuid
from datetime import datetime
from couchdbkit.exceptions import ResourceNotFound
from django.conf import settings
from django.core.files.uploadedfile import UploadedFile
from django.core.management import call_command
from django.test import TestCase
from django.test import override_settings
fr... | bsd-3-clause | 3,296,710,757,705,920,500 | 41.834297 | 135 | 0.615807 | false |
junhaodong/misc | web_crawler/find_email_addresses.py | 1 | 3846 | import dryscrape, re, sys
from bs4 import BeautifulSoup
class EmailCrawler:
"""
Takes a domain name and prints out a list of email addresses found on that web page
or a lower level web page with the same given domain name.
Stores emails, paths, and visited_paths as sets to avoid duplicates.
Uses Dr... | mit | -1,839,977,054,518,523,100 | 34.611111 | 99 | 0.583983 | false |
akhilpm/Masters-Project | 2DPCA/2DPCA.py | 1 | 2758 | '''
2DPCA for feature extraction of MNIST digits dataset
Author : Akhil P M
'''
from settings import *
from sklearn.ensemble import RandomForestClassifier
import utils
def compute_covariance_matrix(A):
""" compute the 2D covariance matrix in image space"""
no_of_images = len(A)
cov = np.zeros((A.shape[2], A.sh... | mit | -3,920,353,254,661,672,000 | 24.302752 | 66 | 0.681653 | false |
pypa/setuptools_scm | testing/test_git.py | 1 | 11485 | import sys
import os
from os.path import join as opj
import pytest
from datetime import datetime, date
from unittest.mock import patch, Mock
from setuptools_scm import integration, git, NonNormalizedVersion
from setuptools_scm.utils import do, has_command
from setuptools_scm.file_finder_git import git_find_files
pyt... | mit | 2,673,699,600,375,099,000 | 29.065445 | 88 | 0.655464 | false |
ahmetcemturan/SFACT | skeinforge_application/skeinforge_plugins/craft_plugins/export_plugins/gcode_step.py | 1 | 9483 | """
This page is in the table of contents.
Gcode step is an export plugin to convert gcode from float position to number of steps.
An export plugin is a script in the export_plugins folder which has the getOutput function, the globalIsReplaceable variable and if it's output is not replaceable, the writeOutput function... | agpl-3.0 | -5,384,852,783,440,880,000 | 38.18595 | 365 | 0.761362 | false |
strus38/WPaaS | wpars/tasks.py | 1 | 8400 | # vim: tabstop=4 shiftwidth=4 softtabstop=4
#
# 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,396,022,001,565,113,000 | 28.166667 | 98 | 0.647143 | false |
mercycorps/TolaActivity | tola/settings/base.py | 1 | 12158 | """Common settings and globals."""
from django.utils.translation import ugettext_lazy as _
from os.path import abspath, basename, dirname, join, normpath
from sys import path
########## PATH CONFIGURATION
#BASE DIR
#BASE_DIR = os.path.dirname(os.path.abspath(__file__))
# Absolute filesystem path to the Django projec... | apache-2.0 | 3,049,343,211,461,103,600 | 27.674528 | 98 | 0.637276 | false |
thisisshi/cloud-custodian | c7n/resources/ssm.py | 1 | 27799 | # Copyright The Cloud Custodian Authors.
# SPDX-License-Identifier: Apache-2.0
import json
import hashlib
import operator
from concurrent.futures import as_completed
from c7n.actions import Action
from c7n.exceptions import PolicyValidationError
from c7n.filters import Filter, CrossAccountAccessFilter
from c7n.query i... | apache-2.0 | -7,850,574,087,396,876,000 | 34.457908 | 97 | 0.548869 | false |
ashutoshvt/psi4 | tests/pytests/test_jkmemory.py | 1 | 1305 | """
Tests for the memory estimators on JK objects
"""
import psi4
import pytest
from .utils import *
def _build_system(basis):
mol = psi4.geometry("""
Ar 0 0 0
Ar 0 0 5
Ar 0 0 15
Ar 0 0 25
Ar 0 0 35
""")
#psi4.set_options({"INTS_TOLERANCE": 0.0})
basis = psi4.core.B... | lgpl-3.0 | -1,547,428,685,653,749,200 | 24.588235 | 97 | 0.56092 | false |
openturns/otdistfunc | python/test/t_distributed_python_wrapper_std.py | 1 | 1727 | #! /usr/bin/env python
# -*- coding: utf8 -*-
import sys
import os
# space separated list of hosts
#remote_hosts = "localhost node-1:2 node-3:4"
remote_hosts = "localhost"
test_dir = os.path.dirname(os.path.realpath(__file__))
start_script = sys.executable + " " + test_dir + os.sep + \
"t_distributed_python_wra... | lgpl-3.0 | -7,919,461,645,429,032,000 | 29.839286 | 67 | 0.62073 | false |
scalingdata/Impala | tests/common/skip.py | 1 | 2938 | #!/usr/bin/env python
# Copyright (c) 2015 Cloudera, Inc. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless requir... | apache-2.0 | -2,121,602,511,979,583,200 | 44.90625 | 91 | 0.741661 | false |
unreal666/outwiker | src/outwiker/gui/controls/togglebutton.py | 3 | 9278 | # -*- coding: utf-8 -*-
import wx
from wx.lib.buttons import ThemedGenBitmapTextToggleButton
class ToggleButton(ThemedGenBitmapTextToggleButton):
def __init__(self,
parent,
id=-1,
bitmap=None,
label='',
pos=wx.DefaultPosition,
... | gpl-3.0 | 532,456,159,052,573,950 | 29.221498 | 104 | 0.573184 | false |
RobinQuetin/CAIRIS-web | cairis/cairis/PropertyDialog.py | 1 | 3948 | # Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership. The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may... | apache-2.0 | 1,893,080,471,082,788,000 | 46.566265 | 170 | 0.744681 | false |
openslack/openslack-web | openslack/userena/contrib/umessages/templatetags/umessages_tags.py | 1 | 2642 | from django import template
from userena.contrib.umessages.models import MessageRecipient
import re
register = template.Library()
class MessageCount(template.Node):
def __init__(self, um_from_user, var_name, um_to_user=None):
self.user = template.Variable(um_from_user)
self.var_name = var_name
... | apache-2.0 | 3,915,772,045,790,340,000 | 28.685393 | 99 | 0.604845 | false |
isaacmg/fb_scraper | get_posts.py | 1 | 1266 | from fb_scrapper import scrape_groups_pages
# To use our application you can use scrape_groups_pages or use one of our predefined functions
# Declare your group or page id here
#group_id = "canoeandkayak"
# Choose which scraping function you want to call
# This function is currently not properly working and will scr... | apache-2.0 | 6,550,896,712,374,341,000 | 35.171429 | 95 | 0.748815 | false |
google-research/long-range-arena | lra_benchmarks/listops/configs/performer_base.py | 1 | 1100 | # 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, sof... | apache-2.0 | 4,178,187,234,934,423,600 | 33.375 | 79 | 0.752727 | false |
leyyin/university-PC | elearning/course/forms.py | 1 | 3054 | from django import forms
from django.contrib.admin import widgets
from django.db.models.query_utils import Q
from django.forms.extras.widgets import SelectDateWidget
from django.forms.widgets import HiddenInput, Textarea, DateInput
from django.forms import ModelForm, CheckboxSelectMultiple
from django.contrib.auth.mode... | mit | -862,088,765,838,127,400 | 35.795181 | 165 | 0.69057 | false |
harishvc/githubanalytics | MyMoment.py | 1 | 1651 | import datetime
from time import gmtime, strftime
import pytz
#Humanize time in milliseconds
#Reference: http://stackoverflow.com/questions/26276906/python-convert-seconds-from-epoch-time-into-human-readable-time
def HTM(a, context):
#print "Processing ....", a
b = int(datetime.datetime.now().strftime("%s"))
... | mit | 2,189,820,734,005,846,300 | 32.693878 | 119 | 0.621442 | false |
dpetzold/dakku | dakku/backup.py | 1 | 4832 | import datetime
import logging
import re
import socket
import subprocess
import os
from django.conf import settings
from . import exceptions as dakku_exception
logger = logging.getLogger(__name__)
class BackupBase(object):
def deletefile(self, date_str):
"""Given a date in YYYYMMDD check if the file s... | bsd-3-clause | -8,806,372,401,183,013,000 | 32.79021 | 87 | 0.569536 | false |
chripell/mytools | gimp/plugins/resizer.py | 1 | 1661 | #!/usr/bin/env python
import ConfigParser
import errno
from gimpfu import register, PF_INT16, pdb, main
from gimpenums import INTERPOLATION_CUBIC
import gimp
import os
def mkdir_p(path):
try:
os.makedirs(path)
except OSError as exc:
if exc.errno == errno.EEXIST and os.path.isdir(path):
... | apache-2.0 | -2,538,402,579,378,744,300 | 21.146667 | 65 | 0.615292 | false |
kurtraschke/camelot | camelot/view/controls/editors/wideeditor.py | 1 | 1420 | # ============================================================================
#
# Copyright (C) 2007-2010 Conceptive Engineering bvba. All rights reserved.
# www.conceptive.be / project-camelot@conceptive.be
#
# This file is part of the Camelot Library.
#
# This file may be used under the terms of the GNU General... | gpl-2.0 | 3,623,529,977,134,472,700 | 42.030303 | 90 | 0.675352 | false |
wuchaofan/collectsource | mobileinterest/settings.py | 1 | 2223 | """
Django settings for mobileinterest 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, ... | gpl-2.0 | 5,870,867,587,422,026,000 | 23.163043 | 86 | 0.7148 | false |
jacol12345/TP-ankiety-web-app | mobilepolls/polls/models.py | 1 | 5421 | # -*- coding: utf-8 -*-
import json
from datetime import datetime
from django.core.urlresolvers import reverse
from django.db import models
from django.contrib.auth.models import User
from model_utils.managers import InheritanceManager
class PollManager(models.Manager):
def active(self):
return self.filt... | mit | 3,513,476,015,671,460,000 | 29.116667 | 109 | 0.617229 | false |
bretttegart/treadmill | tests/apptrace/zk_test.py | 1 | 14073 | """Unit test for Treadmill ZK apptrace module.
"""
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
import unittest
import time
import sqlite3
import mock
import kazoo
import kazoo.client
from treadmill.apptrace impo... | apache-2.0 | -1,182,870,445,241,275,600 | 41.516616 | 79 | 0.51105 | false |
YcheLanguageStudio/PythonStudy | bioinformatics/dynamic_programming/global_alignment.py | 1 | 2764 | import numpy as np
def global_alignment(seq0, seq1):
def get_dp_table():
dp_score_table = np.ndarray(shape=(len(seq0) + 1, len(seq1) + 1), dtype=int)
dp_score_table.fill(0)
for col_idx in range(dp_score_table.shape[1]):
dp_score_table[0][col_idx] = (-1) * col_idx
for ro... | mit | 6,954,767,011,223,040,000 | 37.929577 | 110 | 0.517366 | false |
wizzard/sdk | tests/sync_test_megacli.py | 1 | 5819 | """
Application for testing syncing algorithm
(c) 2013-2014 by Mega Limited, Wellsford, New Zealand
This file is part of the MEGA SDK - Client Access Engine.
Applications using the MEGA API must present a valid application key
and comply with the the rules set forth in the Terms of Service.
The MEGA SDK is di... | bsd-2-clause | 4,365,006,259,359,789,000 | 35.829114 | 156 | 0.647534 | false |
elitegreg/mudpy | mudpy/gameproperty.py | 1 | 1060 | # Game properties should be registered at import time
class GameProperty:
__slots__ = ('__propname', '__default', '__readonly')
def __init__(self, propname, default=None, readonly=False, tmp=False):
if not tmp:
self.__propname = '_GameProperty_' + propname
else:
self.__... | gpl-3.0 | -9,018,803,080,407,469,000 | 34.333333 | 79 | 0.614151 | false |
GlobalFishingWatch/vessel-classification | classification/metadata_test.py | 1 | 6965 | # Copyright 2017 Google Inc. and Skytruth Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agr... | apache-2.0 | 7,179,996,861,872,246,000 | 40.706587 | 89 | 0.576741 | false |
RIFTIO/rift.ware-descriptor-packages | 4.3/src/vnfd/ping_vnf/scripts/ping_set_rate.py | 1 | 3804 | #!/usr/bin/env python3
############################################################################
# Copyright 2017 RIFT.IO Inc #
# #
# Licensed under the Apache License, Version 2.0 (the "License");... | apache-2.0 | -337,360,539,746,339,460 | 33.899083 | 93 | 0.518139 | false |
jmartinz/pyCrawler | 10.contratacionE/pce_extrae_contratos.py | 1 | 6399 | # coding=utf-8
# -*- coding: utf-8 -*-
from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException, TimeoutException
from bs4 import BeautifulSoup
import sys
#phantonPath = "/home/jmartinz/00.py/phantomjs/phantomjs"
phantonPath = "../phantomjs/phantomjs"
contratacionPage = "https://... | apache-2.0 | -4,426,364,085,573,958,000 | 36.757396 | 514 | 0.63501 | false |
project-asap/IReS-Platform | asap-tools/monitoring/reporter_cli.py | 1 | 5614 | #!/usr/bin/env python
from cement.core import foundation, controller
from lib import get_backend, set_backend
from monitor import *
from pprint import PrettyPrinter
pprint = PrettyPrinter(indent=2).pprint
backend = get_backend()
def my_split(p):
"""
splits args based on '=' delim
:return:
"""
... | apache-2.0 | -2,881,919,297,781,870,000 | 37.724138 | 144 | 0.633238 | false |
istb-mia/miapy | miapy/data/conversion.py | 1 | 6690 | """This module holds classes related to image conversion.
The main purpose of this module is the conversion between SimpleITK images and numpy arrays.
"""
import typing
import SimpleITK as sitk
import numpy as np
class ImageProperties:
"""Represents ITK image properties.
Holds common ITK image meta-data su... | apache-2.0 | -5,434,569,577,237,771,000 | 34.210526 | 120 | 0.588789 | false |
libvirt/libvirt-test-API | libvirttestapi/repos/storage/define_iscsi_pool.py | 1 | 1805 | # Copyright (C) 2010-2012 Red Hat, Inc.
# This work is licensed under the GNU GPLv2 or later.
# Define a storage pool of 'iscsi' type
from libvirt import libvirtError
from libvirttestapi.src import sharedmod
from libvirttestapi.repos.storage import storage_common
required_params = ('poolname', 'sourcehost', 'sourcepa... | gpl-2.0 | 7,912,506,781,527,067,000 | 34.392157 | 88 | 0.646537 | false |
rpm-software-management/rpmlint | test/test_polkit.py | 1 | 2216 | import os
import pytest
from rpmlint.checks.PolkitCheck import PolkitCheck
from rpmlint.filter import Filter
import Testing
from Testing import get_tested_package
def get_polkit_check(config_path):
from rpmlint.config import Config
if not os.path.isabs(config_path):
config_path = Testing.testpath()... | gpl-2.0 | -8,447,820,223,201,931,000 | 37.877193 | 175 | 0.743682 | false |
spacecowboy/pysurvival-ann | setup.py | 1 | 2269 | #!/usr/bin/env python
"""
General instructions:
python setup.py build
python setup.py install
To include parts that depend on R's survival module, do:
python setup.py build --with-R
Info: This package depends on numpy, and optionally R, RInside
"""
from distutils.core import setup, Extension
import subprocess
... | gpl-2.0 | 3,438,694,046,496,193,500 | 28.467532 | 69 | 0.557074 | false |
horazont/aioxmpp | tests/test_stanza.py | 1 | 36069 | ########################################################################
# File name: test_stanza.py
# This file is part of: aioxmpp
#
# LICENSE
#
# This program 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 Foun... | lgpl-3.0 | -8,619,957,672,837,083,000 | 27.400787 | 89 | 0.539189 | false |
treyhunner/django-relatives | docs/conf.py | 1 | 8386 | # -*- coding: utf-8 -*-
#
# django-relatives documentation build configuration file, created by
# sphinx-quickstart on Thu May 16 15:28:58 2013.
#
# 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... | mit | 4,974,527,772,359,610,000 | 31.130268 | 80 | 0.704508 | false |
patcamwol/frontendXInterfaces | libsrc/python/input_ports.py | 1 | 7409 | #
# This file is protected by Copyright. Please refer to the COPYRIGHT file
# distributed with this source distribution.
#
# This file is part of REDHAWK frontendInterfaces.
#
# REDHAWK frontendInterfaces 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,823,136,341,251,483,000 | 33.300926 | 93 | 0.668241 | false |
Azure/azure-sdk-for-python | sdk/containerservice/azure-mgmt-containerservice/azure/mgmt/containerservice/v2019_06_01/aio/operations/_operations.py | 1 | 4664 | # coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may ... | mit | 1,130,047,885,149,254,000 | 43.846154 | 133 | 0.645583 | false |
pbourgel/mybreakout | bounceables.py | 1 | 7962 | ###############################################################################
# #
# bounceables.py #
# #
... | gpl-3.0 | -7,460,730,442,292,494,000 | 49.713376 | 242 | 0.568325 | false |
cymplecy/codebug_tether | setup.py | 1 | 1209 | import sys
from distutils.core import setup
VERSION_FILE = 'codebug_tether/version.py'
PY3 = sys.version_info[0] >= 3
def get_version():
if PY3:
version_vars = {}
with open(VERSION_FILE) as f:
code = compile(f.read(), VERSION_FILE, 'exec')
exec(code, None, version_vars)
... | gpl-3.0 | -6,195,292,297,385,302,000 | 29.225 | 77 | 0.621175 | false |
uclouvain/osis | ddd/logic/learning_unit/domain/model/_titles.py | 1 | 2084 | ##############################################################################
#
# OSIS stands for Open Student Information System. It's an application
# designed to manage the core business of higher education institutions,
# such as universities, faculties, institutes and professional schools.
# The core ... | agpl-3.0 | 9,158,577,290,105,660,000 | 37.574074 | 87 | 0.6265 | false |
FreeOpcUa/python-opcua | examples/client_to_prosys.py | 1 | 2365 | import sys
sys.path.insert(0, "..")
import time
import logging
from opcua import Client
from opcua import ua
class SubHandler(object):
"""
Client to subscription. It will receive events from server
"""
def datachange_notification(self, node, val, data):
print("Python: New data change event"... | lgpl-3.0 | 5,179,125,964,854,195,000 | 34.298507 | 112 | 0.629598 | false |
naoyat/latin | latin/latindic.py | 1 | 1985 | #!/usr/bin/env python
# -*- coding: utf-8 -*-
import latin_noun
import latin_pronoun
import latin_adj
import latin_conj
import latin_prep
import latin_verb_reg
import latin_verb_irreg
import util
class LatinDic:
dic = {}
auto_macron_mode = False
def flatten(text):
return text.replace(u'ā',u'a').replac... | mit | 3,132,495,049,686,143,000 | 20.053191 | 137 | 0.583123 | false |
hfaran/ubc-timetabler | timetabler/util.py | 1 | 3085 | from __future__ import division
from math import sqrt
#############
# Constants #
#############
DAY_LIST = ["Mon", "Tue", "Wed", "Thu", "Fri"]
###########
# Helpers #
###########
# General
def chunks(l, n):
"""Yields successive ``n``-sized chunks from ``l``
http://stackoverflow.com/a/312464/1798683
... | mit | -6,416,785,595,618,662,000 | 21.035714 | 89 | 0.561426 | false |
SUNET/eduid-webapp | src/eduid_webapp/email/settings/common.py | 1 | 2190 | # -*- coding: utf-8 -*-
#
# Copyright (c) 2013-2016 NORDUnet A/S
# Copyright (c) 2019 SUNET
# All rights reserved.
#
# Redistribution and use in source and binary forms, with or
# without modification, are permitted provided that the following
# conditions are met:
#
# 1. Redistributions of source code must r... | bsd-3-clause | -3,903,735,646,256,367,600 | 39.555556 | 105 | 0.743836 | false |
cpenner461/tellmewhen | tmw/server.py | 1 | 4361 | '''
Built-in web server using Flask. Should mirror functionality offered by the
cli.
'''
from flask import Flask
from flask import render_template, request, session
import tmw.config as config
import tmw.core as core
import json
from uuid import uuid4
from multiprocessing import Pool
app = Flask(__name__)
pool = ... | mit | -1,459,745,616,760,489,200 | 30.601449 | 83 | 0.608347 | false |
googleapis/googleapis-gen | google/cloud/aiplatform/v1beta1/aiplatform-v1beta1-py/google/cloud/aiplatform_v1beta1/services/index_service/async_client.py | 1 | 26691 | # -*- coding: utf-8 -*-
# Copyright 2020 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or... | apache-2.0 | -7,461,925,922,549,992,000 | 41.165877 | 185 | 0.616762 | false |
Magicked/crits | crits/events/event.py | 4 | 3783 | import uuid
try:
from django_mongoengine import Document
except ImportError:
from mongoengine import Document
from mongoengine import StringField, UUIDField, BooleanField
from mongoengine import EmbeddedDocument
from django.conf import settings
from crits.core.crits_mongoengine import CritsBaseAttributes
from crit... | mit | 5,491,923,777,403,173,000 | 33.081081 | 79 | 0.545863 | false |
mitsei/dlkit | dlkit/json_/logging_/record_templates.py | 1 | 2399 | """JSON implementations of logging records."""
# pylint: disable=no-init
# Numerous classes don't require __init__.
# pylint: disable=too-many-public-methods,too-few-public-methods
# Number of methods are defined in specification
# pylint: disable=protected-access
# Access to protected methods allowed in p... | mit | 6,620,585,658,661,614,000 | 26.574713 | 94 | 0.734473 | false |
autopower/thermeq3 | obsolete/lib/dummy.py | 1 | 1621 | import thermeq3
import datetime
def add_dummy(status):
"""
:param status: is window open?
:return: nothing
"""
# valves = {valve_adr: [valve_pos, valve_temp, valve_curtemp, valve_name]}
# rooms = {id : [room_name, room_address, is_win_open, curr_temp, average valve position]}
# devices = {... | gpl-3.0 | 619,798,513,470,130,000 | 45.314286 | 112 | 0.592844 | false |
colloquium/spacewalk | client/solaris/smartpm/smart/channels/rpm_md.py | 1 | 5464 | #
# Copyright (c) 2004 Conectiva, Inc.
#
# Written by Gustavo Niemeyer <niemeyer@conectiva.com>
#
# This file is part of Smart Package Manager.
#
# Smart Package Manager 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 Fou... | gpl-2.0 | -5,483,863,477,960,673,000 | 38.594203 | 80 | 0.554539 | false |
DTU-ELMA/teaching-games | pay_as_bid/python/init.py | 1 | 8764 | import random, csv
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd
from itertools import chain,cycle,islice
def roundrobin(*iterables):
"roundrobin('ABC', 'D', 'EF') --> A D E B F C"
# Recipe credited to George Sakkis
pending = len(iterables)
nexts = cycle(iter(it).next for it in... | mit | -494,952,331,219,167,040 | 36.775862 | 98 | 0.5623 | false |
chiamingyen/PythonCAD_py3 | Interface/Preview/arc.py | 1 | 3347 | #!/usr/bin/env python
#
# Copyright (c) 2010 Matteo Boscolo
#
# This file is part of PythonCAD.
#
# PythonCAD 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 opt... | gpl-2.0 | 1,902,915,272,490,773,000 | 34.606383 | 92 | 0.618166 | false |
trevor/calendarserver | calendarserver/webadmin/eventsource.py | 1 | 7812 | # -*- test-case-name: calendarserver.webadmin.test.test_principals -*-
##
# Copyright (c) 2014 Apple 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.a... | apache-2.0 | -369,959,270,512,164,000 | 27.407273 | 84 | 0.634281 | false |
Honzin/ccs | tests/testAdapter/testBtcc/testOrder.py | 1 | 1854 | import unittest
import ccs
import time
####################################################################################################################
# BITFINEX #
##############################################... | agpl-3.0 | 2,400,904,288,709,812,700 | 27.96875 | 116 | 0.515102 | false |
lagner/academ-weather | bootstrap/utils.py | 1 | 2005 | import os
import subprocess
import logging as log
from shutil import copy2
from contextlib import contextmanager
@contextmanager
def pushd(newDir):
previousDir = os.getcwd()
os.chdir(newDir)
yield
os.chdir(previousDir)
def static_vars(**kwargs):
def decorate(func):
for k in kwargs:
... | mit | 6,562,177,993,364,735,000 | 23.156627 | 77 | 0.6 | false |
qedsoftware/commcare-hq | corehq/ex-submodules/casexml/apps/case/tests/test_close_extension_chain.py | 1 | 9142 | from django.test import TestCase
from casexml.apps.case.mock import CaseFactory, CaseIndex, CaseStructure
from corehq.form_processor.interfaces.dbaccessors import CaseAccessors
from casexml.apps.case.xform import get_extensions_to_close
from casexml.apps.phone.tests.utils import create_restore_user
from corehq.apps.dom... | bsd-3-clause | 5,413,235,155,436,957,000 | 37.737288 | 107 | 0.61037 | false |
changhoonhahn/centralMS | centralms/tests/test_downsampling.py | 1 | 22502 | '''
Test to make sure that the downsampling of the catalog
produces (more or less) the same results as the full catalog
'''
import env
import numpy as np
import catalog as Cat
import evolver as Evol
import observables as Obvs
import util as UT
import matplotlib.pyplot as plt
import corner as DFM
from ChangTools.... | mit | -8,845,726,252,663,401,000 | 38.826549 | 127 | 0.515821 | false |
dimtion/jml | outputFiles/statistics/archives/ourIA/closest.py/0.7/3/player1.py | 1 | 11241 | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
####################################################################################################################################################################################################################################
############################################... | mit | -5,020,732,711,863,126,000 | 63.982659 | 228 | 0.356641 | false |
invinst/ResponseBot | responsebot/responsebot_client.py | 1 | 12103 | from __future__ import absolute_import
from decorator import decorate
from tweepy.error import TweepError, RateLimitError
from responsebot.common.constants import TWITTER_PAGE_DOES_NOT_EXISTS_ERROR, TWITTER_TWEET_NOT_FOUND_ERROR, \
TWITTER_USER_NOT_FOUND_ERROR, TWITTER_DELETE_OTHER_USER_TWEET, TWITTER_ACCOUNT_SUS... | apache-2.0 | -2,195,622,971,623,110,000 | 33.58 | 119 | 0.592002 | false |
praekeltfoundation/certbot | marathon_acme/server.py | 1 | 3528 | import json
from klein import Klein
from twisted.internet.endpoints import serverFromString
from twisted.logger import Logger
from twisted.web.http import NOT_IMPLEMENTED, OK, SERVICE_UNAVAILABLE
from twisted.web.server import Site
def write_request_json(request, json_obj):
request.setHeader('Content-Type', 'ap... | mit | 7,013,790,470,706,764,000 | 33.588235 | 79 | 0.637755 | false |
Udzu/pudzu | dataviz/markovtext.py | 1 | 6426 | import pickle
import seaborn as sns
import string
from pudzu.sandbox.markov import *
from pudzu.sandbox.bamboo import *
from pudzu.charts import *
from math import log
CORPUS = "wikienglish"
TITLE = "Letter and next-letter frequencies in English"
SUBTITLE = "measured across 1 million sentences from Wikiped... | mit | 4,370,538,101,888,572,400 | 53.396552 | 287 | 0.644569 | false |
brython-dev/brython | www/src/Lib/test/test_eof.py | 2 | 2490 | """test script for a few new invalid token catches"""
import sys
from test import support
from test.support import script_helper
import unittest
class EOFTestCase(unittest.TestCase):
def test_EOFC(self):
expect = "EOL while scanning string literal (<string>, line 1)"
try:
eval("""'this... | bsd-3-clause | 7,089,911,229,699,417,000 | 37.307692 | 77 | 0.590763 | false |
EmanueleCannizzaro/scons | test/Split.py | 1 | 2076 | #!/usr/bin/env python
#
# Copyright (c) 2001 - 2016 The SCons Foundation
#
# Permission is hereby granted, free of charge, to any person obtaining
# a copy of this software and associated documentation files (the
# "Software"), to deal in the Software without restriction, including
# without limitation the rights to us... | mit | 3,093,363,460,903,866,000 | 29.086957 | 87 | 0.69027 | false |
adampresley/bottlepy-bootstrap | model/DateHelper.py | 1 | 2135 | from model.Service import Service
from datetime import tzinfo, timedelta, datetime
from dateutil import tz
class DateHelper(Service):
utc = tz.gettz("UTC")
pyToJsFormatMapping = {
"%m/%d/%Y": "MM/dd/yyyy",
"%d/%m/%Y": "dd/MM/yyyy",
"%Y-%m-%d": "yyyy-MM-dd"
}
def __init__(self, db, timezone = "UTC", dateFo... | mit | 6,094,790,128,665,935,000 | 24.129412 | 103 | 0.685714 | false |
alexey4petrov/pythonFlu | Foam/Ref/OpenFOAM_interfaces.py | 1 | 13008 | ## pythonFlu - Python wrapping for OpenFOAM C++ API
## Copyright (C) 2010- Alexey Petrov
## Copyright (C) 2009-2010 Pebble Bed Modular Reactor (Pty) Limited (PBMR)
##
## 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 F... | gpl-3.0 | -5,322,187,146,659,395,000 | 84.019608 | 193 | 0.656596 | false |
diogo149/CauseEffectPairsPaper | score.py | 1 | 2288 | #!/bin/env python
import sys
import os
from sklearn.ensemble import GradientBoostingRegressor
from sklearn.linear_model import SGDRegressor
from boomlet.storage import joblib_load
from boomlet.transform.preprocessing import PercentileScaler
from autocause.challenge import target_score
CONFIGS_FOLDER = 'configs'
RES... | mit | 4,506,936,274,967,577,600 | 26.902439 | 85 | 0.659528 | false |
domeav/sonofages-agenda | agenda/events.py | 1 | 2899 | from agenda.model import Occurrence, Event, Venue, Tag, EventTag
from agenda.forms import EventForm
from flask import render_template, request, redirect, url_for
from flask_security import login_required
from datetime import datetime
from agenda import app
@app.route('/')
@app.route('/events/')
def events():
page ... | mit | 1,869,846,341,948,956,400 | 34.353659 | 75 | 0.601932 | false |
endthestart/tinsparrow | tinsparrow/tinsparrow/views.py | 1 | 1746 | import os
from django.contrib import messages
from django.contrib.auth import logout as logout_user
from django.shortcuts import render_to_response, redirect
from django.template import RequestContext
from django import http
from django.shortcuts import get_object_or_404
from django.views.generic import TemplateView
... | mit | 6,564,142,620,204,948,000 | 30.178571 | 87 | 0.699885 | false |
aptivate/sarpaminfohub | django/sarpaminfohub/contactlist/custom_fields.py | 1 | 15793 | # -*- coding: utf-8 -*-
from django.utils.translation import ugettext as _
from django.db import models
#adapted from http://www.djangosnippets.org/snippets/494/
#using UN country and 3 char code list from http://unstats.un.org/unsd/methods/m49/m49alpha.htm
#correct as of 17th October 2008
COUNTRIES = (
... | gpl-3.0 | 834,791,712,647,451,800 | 27.68985 | 95 | 0.467866 | false |
pschmitt/home-assistant | homeassistant/components/hunterdouglas_powerview/__init__.py | 2 | 6607 | """The Hunter Douglas PowerView integration."""
import asyncio
from datetime import timedelta
import logging
from aiopvapi.helpers.aiorequest import AioRequest
from aiopvapi.helpers.constants import ATTR_ID
from aiopvapi.helpers.tools import base64_to_unicode
from aiopvapi.rooms import Rooms
from aiopvapi.scenes impor... | apache-2.0 | -8,324,187,766,200,835,000 | 28.895928 | 88 | 0.661268 | false |
unioslo/cerebrum | Cerebrum/modules/no/uio/AutoStud/Select.py | 1 | 21951 | # -*- coding: utf-8 -*-
# Copyright 2019 University of Oslo, Norway
#
# This file is part of Cerebrum.
#
# Cerebrum 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 yo... | gpl-2.0 | 4,860,850,367,785,019,000 | 42.632207 | 87 | 0.528182 | false |
code-for-india/sahana_shelter_worldbank | private/templates/IFRC/config.py | 1 | 76404 | # -*- coding: utf-8 -*-
try:
# Python 2.7
from collections import OrderedDict
except:
# Python 2.6
from gluon.contrib.simplejson.ordered_dict import OrderedDict
from datetime import timedelta
from gluon import current
from gluon.storage import Storage
T = current.T
settings = current.deployment_sett... | mit | -5,644,412,904,426,701,000 | 37.11982 | 189 | 0.511329 | false |
liangdebin/tor | handlers/base.py | 1 | 2310 | import json
import tornado.web
import logging
logger = logging.getLogger('boilerplate.' + __name__)
class BaseHandler(tornado.web.RequestHandler):
"""A class to collect common handler methods - all other handlers should
subclass this one.
"""
def load_json(self):
"""Load JSON from the reques... | mit | -580,859,130,668,034,600 | 33.477612 | 79 | 0.58658 | false |
WhatDo/FlowFairy | examples/sine_fix/dilated3.py | 1 | 2514 | import tensorflow as tf
import tensorflow.contrib.slim as slim
from flowfairy.conf import settings
from util import lrelu, conv2d, maxpool2d, embedding, avgpool2d, GLU, causal_GLU
from functools import partial
import ops
discrete_class = settings.DISCRETE_CLASS
batch_size = settings.BATCH_SIZE
samplerate = sr = settin... | mit | 379,616,175,697,035,800 | 29.289157 | 149 | 0.624503 | false |
anthill-services/anthill-common | anthill/common/social/google.py | 1 | 5627 |
import tornado.httpclient
import ujson
import jwt
import abc
from urllib import parse
from .. import admin as a
from .. social import SocialNetworkAPI, APIError, AuthResponse, SocialPrivateKey
class GoogleAPI(SocialNetworkAPI, metaclass=abc.ABCMeta):
GOOGLE_OAUTH = "https://www.googleapis.com/oauth2/"
NAM... | mit | -8,178,881,027,545,703,000 | 28.772487 | 108 | 0.53421 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.