max_stars_repo_path stringlengths 4 237 | max_stars_repo_name stringlengths 6 117 | max_stars_count int64 0 95.2k | id stringlengths 1 7 | content stringlengths 12 593k | input_ids listlengths 7 549k |
|---|---|---|---|---|---|
pt/003/python/main.py | franciscogomes2020/exercises | 0 | 1610057 | # Crie um programa que leia dois números e mostre a soma entre eles.
| [
1,
396,
315,
2546,
1922,
16914,
712,
454,
423,
19760,
12158,
359,
321,
1556,
276,
263,
1047,
29874,
2637,
560,
267,
29889,
13,
13,
2
] |
export_onnx_group_norm.py | lachinov/brats2019 | 42 | 42224 | <reponame>lachinov/brats2019
import argparse
import torch.onnx
import os
from collections import OrderedDict
from torch.onnx.symbolic_registry import register_op
from torch.onnx.symbolic_helper import parse_args
from model import UNet
parser = argparse.ArgumentParser(description="PyTorch SegTHOR")
parser.add_... | [
1,
529,
276,
1112,
420,
29958,
22617,
262,
586,
29914,
1182,
1446,
29906,
29900,
29896,
29929,
13,
5215,
1852,
5510,
30004,
13,
5215,
4842,
305,
29889,
3409,
29916,
30004,
13,
5215,
2897,
30004,
13,
3166,
16250,
1053,
8170,
287,
21533,
... |
src/test/resources/scripts/infinity.py | zella/pyass | 1 | 1616437 | <filename>src/test/resources/scripts/infinity.py
import time
while True:
sleep(1)
print('hello', flush = True)
| [
1,
529,
9507,
29958,
4351,
29914,
1688,
29914,
13237,
29914,
16713,
29914,
262,
4951,
537,
29889,
2272,
13,
5215,
931,
13,
13,
8000,
5852,
29901,
13,
1678,
8709,
29898,
29896,
29897,
13,
1678,
1596,
877,
12199,
742,
28371,
353,
5852,
29... |
pyfr/util.py | DengSonic/PyFR | 1 | 153258 | <filename>pyfr/util.py
# -*- coding: utf-8 -*-
from contextlib import contextmanager
from ctypes import c_void_p
import functools as ft
import hashlib
import itertools as it
import os
import pickle
import shutil
from pyfr.ctypesutil import get_libc_function
class memoize(object):
def __init__(self, func):
... | [
1,
529,
9507,
29958,
2272,
1341,
29914,
4422,
29889,
2272,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
13,
3166,
3030,
1982,
1053,
3030,
12847,
13,
3166,
274,
8768,
1053,
274,
29918,
5405,
29918... |
postpatch.py | mr-ma/basic-self-checksumming | 1 | 573 | <reponame>mr-ma/basic-self-checksumming
import argparse
import os
import r2pipe
import struct
import mmap
import base64
from shutil import copyfile
import pprint
pp = pprint.PrettyPrinter(indent=4)
def precompute_hash(r2, offset, size):
print('Precomputing hash')
h = 0
print("r2 command to get the functio... | [
1,
529,
276,
1112,
420,
29958,
29885,
29878,
29899,
655,
29914,
16121,
29899,
1311,
29899,
3198,
2083,
4056,
13,
5215,
1852,
5510,
13,
5215,
2897,
13,
5215,
364,
29906,
17760,
13,
5215,
2281,
13,
5215,
286,
1958,
13,
5215,
2967,
29953,
... |
learning_journal/security.py | han8909227/pyramid-learning-journal | 0 | 52407 | <filename>learning_journal/security.py
"""Configure and hold all pertinent security information for the app."""
import os
from pyramid.authentication import AuthTktAuthenticationPolicy
from pyramid.authorization import ACLAuthorizationPolicy
from pyramid.security import Authenticated
from pyramid.security import Allow
... | [
1,
529,
9507,
29958,
21891,
29918,
29926,
4659,
29914,
8926,
29889,
2272,
13,
15945,
29908,
3991,
545,
322,
4808,
599,
13499,
8946,
6993,
2472,
363,
278,
623,
1213,
15945,
13,
5215,
2897,
13,
3166,
11451,
2572,
333,
29889,
23055,
1053,
... |
backend/main/models.py | hadi-f90/futurecoder | 0 | 111657 | from django.contrib.auth.models import AbstractUser
from django.db import models
from main.text import page_slugs_list, pages
from jsonfield import JSONField
class PagesProgress(dict):
"""Supplies the first step name as the default for missing pages"""
def __missing__(self, key):
result = {"step_name... | [
1,
515,
9557,
29889,
21570,
29889,
5150,
29889,
9794,
1053,
25513,
2659,
13,
3166,
9557,
29889,
2585,
1053,
4733,
13,
13,
3166,
1667,
29889,
726,
1053,
1813,
29918,
2536,
16926,
29918,
1761,
29892,
6515,
13,
3166,
4390,
2671,
1053,
4663,
... |
pytoolkit/applications/__init__.py | ak110/pytoolk | 26 | 24210 | """Kerasの各種モデル。"""
# pylint: skip-file
# flake8: noqa
from . import darknet53, efficientnet, xception
| [
1,
9995,
29968,
18464,
30199,
232,
147,
135,
234,
171,
177,
30761,
30597,
30258,
30267,
15945,
29908,
13,
29937,
282,
2904,
524,
29901,
14383,
29899,
1445,
13,
29937,
17422,
446,
29947,
29901,
694,
25621,
13,
13,
3166,
869,
1053,
6501,
... |
pys/testing.py | nahian-147/my_codes | 0 | 89255 | <reponame>nahian-147/my_codes
import subprocess
p = int(subprocess.check_output(["./testing","5"]).decode())
print(p*p)
| [
1,
529,
276,
1112,
420,
29958,
8723,
713,
29899,
29896,
29946,
29955,
29914,
1357,
29918,
18137,
13,
5215,
1014,
5014,
30004,
13,
30004,
13,
29886,
353,
938,
29898,
1491,
5014,
29889,
3198,
29918,
4905,
4197,
1642,
29914,
13424,
3284,
299... |
Netmiko/GetInts.py | NetworkNick-US/PythonScripts | 0 | 60907 | import netmiko
import LogUtility
class CiscoBase:
def __init__(self, hostname, ip, device_type=None, username=None, password=<PASSWORD>):
self.hostname = hostname
self.connection_data = {
'ip': ip,
'device_type': device_type,
'username': username,
'... | [
1,
1053,
7787,
29885,
10349,
13,
5215,
4522,
7270,
537,
13,
13,
13,
1990,
315,
275,
1111,
5160,
29901,
13,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
3495,
978,
29892,
10377,
29892,
4742,
29918,
1853,
29922,
8516,
29892,
8952,
29922... |
exceptions/ServiceExceptions.py | sachinraina112/flask_app | 0 | 156469 | <gh_stars>0
from enum import Enum
class ExceptionMessages(Enum):
@property
def code(self):
return self.value[0]
@property
def message(self):
return self.value[1]
PREDICT_JOB_FAIL = (10001, "Error occurred in prediction job")
VALIDATE_JOB_FAIL = (10002, "Error occurred in vali... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
14115,
1053,
1174,
398,
13,
13,
1990,
8960,
25510,
29898,
16854,
1125,
13,
13,
1678,
732,
6799,
13,
1678,
822,
775,
29898,
1311,
1125,
13,
4706,
736,
1583,
29889,
1767,
29961,
2... |
dali/core/framework/types.py | seetaresearch/Dragon | 81 | 158161 | <reponame>seetaresearch/Dragon
# ------------------------------------------------------------
# Copyright (c) 2017-present, SeetaTech, Co.,Ltd.
#
# Licensed under the BSD 2-Clause License.
# You should have received a copy of the BSD 2-Clause License
# along with the software. If not, See,
#
# <https://opensource.o... | [
1,
529,
276,
1112,
420,
29958,
344,
300,
5114,
2842,
29914,
23978,
265,
13,
29937,
448,
2683,
2683,
2683,
1378,
5634,
13,
29937,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29896,
29955,
29899,
6338,
29892,
922,
1187,
29911,
5309... |
ExpenseTracker/grocery/models.py | lennyAiko/LifeExpenses | 0 | 1606139 | <gh_stars>0
from django.db import models
from django.contrib.auth.models import User
# Create your models here.
PROGRESS = (
('In progress', 'In progress'),
('Completed', 'Completed')
)
class List(models.Model):
user = models.ForeignKey(User,
on_delete=models.CASCADE,
... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
9557,
29889,
2585,
1053,
4733,
13,
3166,
9557,
29889,
21570,
29889,
5150,
29889,
9794,
1053,
4911,
13,
13,
29937,
6204,
596,
4733,
1244,
29889,
13,
13,
13,
8618,
29954,
26785,
353... |
tests/models/test_inv_resourcegroup.py | prorevizor/noc | 84 | 68810 | # ----------------------------------------------------------------------
# inv.ResourceGroup tests
# ----------------------------------------------------------------------
# Copyright (C) 2007-2018 The NOC Project
# See LICENSE for details
# ----------------------------------------------------------------------
# NOC ... | [
1,
396,
448,
2683,
2683,
2683,
2683,
23648,
13,
29937,
2437,
29889,
6848,
4782,
6987,
13,
29937,
448,
2683,
2683,
2683,
2683,
23648,
13,
29937,
14187,
1266,
313,
29907,
29897,
29871,
29906,
29900,
29900,
29955,
29899,
29906,
29900,
29896,
... |
qa_tool/tests/test_relevancy_score.py | pg-irc/pathways-backend | 12 | 105485 | import datetime
from test_plus.test import TestCase
from qa_tool.tests.helpers import RelevancyScoreBuilder, AlgorithmBuilder, SearchLocationBuilder
from rest_framework import status
from rest_framework.authtoken.models import Token
from rest_framework.test import APIClient
from human_services.services_at_location.test... | [
1,
1053,
12865,
13,
3166,
1243,
29918,
11242,
29889,
1688,
1053,
4321,
8259,
13,
3166,
3855,
29874,
29918,
10154,
29889,
21150,
29889,
3952,
6774,
1053,
830,
2608,
6906,
20097,
5627,
29892,
29068,
5627,
29892,
11856,
6508,
5627,
13,
3166,
... |
days/month/day5_20.py | sanjaylokula/100dayspython | 0 | 70636 | # Definition for singly-linked list.
class ListNode:
def __init__(self, val=0, next=None):
self.val = val
self.next = next
class Solution:
def removeElements(self, head: ListNode, val: int) -> ListNode:
dummy = ListNode(-1)
dummy.next = head
def t(d):
if d.ne... | [
1,
396,
21940,
363,
1809,
368,
29899,
2324,
287,
1051,
29889,
13,
1990,
2391,
4247,
29901,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
659,
29922,
29900,
29892,
2446,
29922,
8516,
1125,
13,
4706,
1583,
29889,
791,
353,
659,
13,
4706,... |
adafruit_rsa/common.py | sommersoft/Adafruit_CircuitPython_RSA | 0 | 1608976 | # -*- coding: utf-8 -*-
#
# Copyright 2011 <NAME> <<EMAIL>>
#
# 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 ap... | [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
13,
29937,
29871,
14187,
1266,
29871,
29906,
29900,
29896,
29896,
529,
5813,
29958,
3532,
26862,
6227,
6778,
13,
29937,
13,
29937,
29871,
10413,
211... |
src/features/build_features.py | JL1829/EmployeeSalaryPrediction | 0 | 63234 | """
Author: <NAME>
Date: 6th/July/2020
Copyright: <NAME>, 2020
email: <EMAIL>
website: https://johdev.com
"""
import numpy as np
import pandas as pd
class FeatureGenerator(object):
"""A feature engineering generator to create additional feature to DataFrame
Group by each label encoded column, compute ... | [
1,
9995,
13,
13720,
29901,
529,
5813,
29958,
13,
2539,
29901,
29871,
29953,
386,
29914,
29967,
11850,
29914,
29906,
29900,
29906,
29900,
1678,
13,
11882,
1266,
29901,
529,
5813,
10202,
29871,
29906,
29900,
29906,
29900,
13,
5269,
29901,
529... |
code/twostones.py | kkirigaya/Kattis | 1 | 124502 | <filename>code/twostones.py
n = int(input())
print("Alice" if n%2 == 1 else "Bob")
| [
1,
529,
9507,
29958,
401,
29914,
7516,
520,
2873,
29889,
2272,
13,
29876,
353,
938,
29898,
2080,
3101,
13,
13,
2158,
703,
29909,
5897,
29908,
565,
302,
29995,
29906,
1275,
29871,
29896,
1683,
376,
29362,
1159,
13,
2
] |
backend/env_collection/env_creator.py | MU-Software/dodoco | 6 | 47912 | import json
import pathlib
import traceback
import typing
def get_traceback_msg(err):
return ''.join(traceback.format_exception(
etype=type(err),
value=err,
tb=err.__traceback__))
def json_to_envfiles(output_file: pathlib.Path):
try:
output_na... | [
1,
1053,
4390,
13,
5215,
2224,
1982,
13,
5215,
9637,
1627,
13,
5215,
19229,
13,
13,
13,
1753,
679,
29918,
15003,
1627,
29918,
7645,
29898,
3127,
1125,
13,
1678,
736,
525,
4286,
7122,
29898,
15003,
1627,
29889,
4830,
29918,
11739,
29898,... |
data/evaluate_detections.py | Jacqueline121/RetinaNet_pytorch | 1 | 1605425 | <reponame>Jacqueline121/RetinaNet_pytorch
import os
import pickle
import numpy as np
from data.VOC_eval import voc_eval
from config.config import cfg
dataset_dir = os.path.join(os.path.dirname(__file__), 'dataset')
def load_image_set_index(image_set):
image_set_file = os.path.join(dataset_dir, cfg.DATASET_NAME, ... | [
1,
529,
276,
1112,
420,
29958,
24288,
339,
5570,
29896,
29906,
29896,
29914,
8015,
1099,
6779,
29918,
2272,
7345,
305,
13,
5215,
2897,
13,
5215,
5839,
280,
13,
5215,
12655,
408,
7442,
13,
3166,
848,
29889,
29963,
20166,
29918,
14513,
10... |
clearScreen.py | BlueDragon022/Fruit-Machine | 0 | 114922 | <gh_stars>0
import os
import platform
#Function to clear the screen
def clearScreen():
#This goes through different os's and uses the correct command to clear the terminal/console
if platform.system() == "Windows":
os.system("cls")
elif platform.system() == "Linux":
os.system("clear")
elif platform.system() ==... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
2897,
13,
5215,
7481,
13,
13,
29937,
6678,
304,
2821,
278,
4315,
13,
1753,
2821,
11357,
7295,
13,
12,
29937,
4013,
5771,
1549,
1422,
2897,
29915,
29879,
322,
3913,
278,
1959,
18... |
ch05_GUI/tkhello2.py | Nickhool/core-python | 1 | 168668 | <gh_stars>1-10
__Author__ = "noduez"
'''Button控件演示'''
import tkinter as tk
top = tk.Tk()
quit = tk.Button(top, text='Hello World!',
command=top.quit)
quit.pack()
tk.mainloop() | [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
1649,
13720,
1649,
353,
376,
29876,
397,
24448,
29908,
13,
12008,
3125,
31617,
30631,
233,
191,
151,
30858,
12008,
13,
13,
5215,
18883,
1639,
408,
18883,
13,
13,
33... |
apostello/migrations/0007_auto_20160315_1213.py | LaudateCorpus1/apostello | 69 | 27234 | # -*- coding: utf-8 -*-
# Generated by Django 1.9.4 on 2016-03-15 12:13
from __future__ import unicode_literals
import django.core.validators
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("apostello", "0006_userprofile_show_tour")]
operations = [
m... | [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
29937,
3251,
630,
491,
15337,
29871,
29896,
29889,
29929,
29889,
29946,
373,
29871,
29906,
29900,
29896,
29953,
29899,
29900,
29941,
29899,
29896,
29945,
298... |
src/amuse/community/rebound/interface.py | aatrani/amuse | 0 | 65689 | from amuse.community import *
from amuse.community.interface.gd import GravitationalDynamicsInterface
from amuse.community.interface.gd import GravitationalDynamics
from amuse.community.interface.gd import SinglePointGravityFieldInterface
from amuse.community.interface.gd import GravityFieldCode
class ReboundInterface... | [
1,
515,
626,
1509,
29889,
23834,
1053,
334,
13,
3166,
626,
1509,
29889,
23834,
29889,
13248,
29889,
29887,
29881,
1053,
4989,
29894,
277,
1288,
29928,
2926,
1199,
10448,
13,
3166,
626,
1509,
29889,
23834,
29889,
13248,
29889,
29887,
29881,
... |
ports/esp32/modules/linefinder.py | AITT-VN/micropython | 0 | 135717 | from setting import *
from machine import Pin
S1_IN_S2_OUT = const(0)
S1_OUT_S2_IN = const(1)
S1_OUT_S2_OUT = const(2)
S1_IN_S2_IN = const(3)
class LineFinder:
def __init__(self):
pass
def _reset_port(self, port):
if port < 0 or port > 5:
print('Port not supported')
self.p... | [
1,
515,
4444,
1053,
334,
13,
3166,
4933,
1053,
17434,
13,
13,
29903,
29896,
29918,
1177,
29918,
29903,
29906,
29918,
12015,
353,
1040,
29898,
29900,
29897,
13,
29903,
29896,
29918,
12015,
29918,
29903,
29906,
29918,
1177,
353,
1040,
29898,
... |
python/python_challenge/31/31.py | yunyu2019/blog | 0 | 92475 | #!/usr/bin/python
# -*- coding: utf-8 -*-
# @Date : 2016-05-23 18:29:57
# @Author : Yunyu2019 (<EMAIL>)
# @Link : http://www.pythonchallenge.com/pc/ring/grandpa.html
#user:'kohsamui'
#password:'<PASSWORD>'
import Image
import requests
"""
req=requests.get('http://www.pythonchallenge.com/pc/rock/man... | [
1,
18787,
4855,
29914,
2109,
29914,
4691,
30004,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
30004,
13,
29937,
732,
2539,
1678,
584,
29871,
29906,
29900,
29896,
29953,
29899,
29900,
29945,
29899,
29906,... |
app/__init__.py | jimmybutton/moviedb | 0 | 2989 | from flask import Flask
from config import Config
from sqlalchemy import MetaData
from flask_sqlalchemy import SQLAlchemy
from flask_migrate import Migrate
from flask_login import LoginManager
from flask_moment import Moment
from flask_misaka import Misaka
from flask_bootstrap import Bootstrap
import os
import logging
... | [
1,
515,
29784,
1053,
2379,
1278,
13,
3166,
2295,
1053,
12782,
13,
3166,
4576,
284,
305,
6764,
1053,
20553,
1469,
13,
3166,
29784,
29918,
2850,
284,
305,
6764,
1053,
3758,
2499,
305,
6764,
13,
3166,
29784,
29918,
26983,
403,
1053,
341,
... |
run.py | mcarans/hdx-scraper-unesco | 0 | 66563 | <reponame>mcarans/hdx-scraper-unesco<filename>run.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
"""
Top level script. Calls other functions that generate datasets that this script then creates in HDX.
"""
import logging
from os.path import join, expanduser
from timeit import default_timer
from hdx.hdx_configuration im... | [
1,
529,
276,
1112,
420,
29958,
29885,
4287,
550,
29914,
29882,
8235,
29899,
1557,
336,
546,
29899,
7844,
1111,
29966,
9507,
29958,
3389,
29889,
2272,
13,
29937,
14708,
4855,
29914,
2109,
29914,
4691,
13,
29937,
448,
29930,
29899,
14137,
2... |
dist/assets/rename.py | shubham-shinde/Apstract_poker | 0 | 57870 | <filename>dist/assets/rename.py<gh_stars>0
# Pythono3 code to rename multiple
# files in a directory or folder
# importing os module
import os
# Function to rename multiple files
def main():
i = 0
for filename in os.listdir("Cards"):
# dst ="Hostel" + str(i) + ".jpg"
src ='C... | [
1,
529,
9507,
29958,
5721,
29914,
16596,
29914,
1267,
420,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
5132,
29877,
29941,
775,
304,
19508,
2999,
259,
13,
29937,
2066,
297,
263,
3884,
470,
4138,
29871,
13,
259,
... |
ckanext/ckanext-basiccharts/ckanext/basiccharts/tests/test_view.py | cascaoSDC/ckan | 0 | 142337 | <filename>ckanext/ckanext-basiccharts/ckanext/basiccharts/tests/test_view.py
import os
import inspect
import mock
import nose.tools
import pylons.config as config
import ckan.plugins as p
import ckanext.basiccharts
class TestBaseChart(object):
@classmethod
def setup_class(cls):
cls.plugin = ckanext... | [
1,
529,
9507,
29958,
384,
273,
1062,
29914,
384,
273,
1062,
29899,
16121,
18366,
29914,
384,
273,
1062,
29914,
16121,
18366,
29914,
21150,
29914,
1688,
29918,
1493,
29889,
2272,
13,
5215,
2897,
13,
5215,
16096,
13,
5215,
11187,
13,
5215,
... |
at/abc119/a.py | xsthunder/a | 1 | 103439 | <filename>at/abc119/a.py
s = input()
y, m, d = map(int, s.split('/'))
f = False
(
Heisei,
TBD,
)= (
'Heisei',
'TBD',
)
if y < 2019:
print(Heisei)
elif y == 2019:
if(m < 4):
print(Heisei)
elif m == 4:
if(d <= 30):
print(Heisei)
else :
print(TBD)... | [
1,
529,
9507,
29958,
271,
29914,
10736,
29896,
29896,
29929,
29914,
29874,
29889,
2272,
13,
29879,
353,
1881,
580,
13,
29891,
29892,
286,
29892,
270,
353,
2910,
29898,
524,
29892,
269,
29889,
5451,
11219,
8785,
13,
29888,
353,
7700,
13,
... |
snypy/core/rest/permissions.py | snypy/snypy-backend | 0 | 154911 | <reponame>snypy/snypy-backend
from rest_framework.permissions import DjangoModelPermissions
class BaseModelPermissions(DjangoModelPermissions):
perms_map = {
"GET": ["%(app_label)s.view_%(model_name)s"],
"OPTIONS": [],
"HEAD": [],
"POST": ["%(app_label)s.add_%(model_name)s"],
... | [
1,
529,
276,
1112,
420,
29958,
29879,
1460,
2272,
29914,
29879,
1460,
2272,
29899,
27852,
13,
3166,
1791,
29918,
4468,
29889,
17858,
6847,
1053,
15337,
3195,
15737,
6847,
13,
13,
13,
1990,
7399,
3195,
15737,
6847,
29898,
29928,
5364,
3195... |
insertion_sort.py | undersonrs/PYTHON_Projetos | 0 | 171752 | <reponame>undersonrs/PYTHON_Projetos<filename>insertion_sort.py
def insertion_sort(v):
for i in range (1, len(v)):
x = v[i]
j = i-1
while j>=0 and x< v[j]:
v[j+1] = v[j]
j -= 1
v[j+1] = x
print()
b = [8,3,9,2,1,10,7,5,4,6]
print(b)
print()
a ... | [
1,
529,
276,
1112,
420,
29958,
870,
1330,
2288,
29914,
20055,
4690,
1164,
29918,
1184,
4026,
359,
29966,
9507,
29958,
7851,
291,
29918,
6605,
29889,
2272,
13,
1753,
4635,
291,
29918,
6605,
29898,
29894,
1125,
13,
1678,
363,
474,
297,
34... |
Numbers/from e to the nth digit/e.py | Shetty073/Solutions-for-Mega-Project-List | 0 | 120257 | from math import e
def pi_dec(n):
if n > 15 or n < 1:
print("\nPlease provide a valid number in range of 1 to 15...")
else:
print(f"E = {str(e)[0:n+2]}")
pi_dec(n=int(input("\nUp to how many decimal places do you want the value of 'e'? \n> "))) | [
1,
515,
5844,
1053,
321,
30004,
13,
30004,
13,
1753,
2930,
29918,
7099,
29898,
29876,
1125,
30004,
13,
12,
361,
302,
1405,
29871,
29896,
29945,
470,
302,
529,
29871,
29896,
29901,
30004,
13,
12,
12,
2158,
14182,
29876,
12148,
3867,
263,... |
project/starter_code/student_utils.py | nihaagarwalla/nd320-c1-emr-data-starter | 0 | 6935 | <reponame>nihaagarwalla/nd320-c1-emr-data-starter<filename>project/starter_code/student_utils.py
import pandas as pd
import numpy as np
import os
import tensorflow as tf
import functools
####### STUDENTS FILL THIS OUT ######
#Question 3
def reduce_dimension_ndc(df, ndc_df):
'''
df: pandas dataframe, input data... | [
1,
529,
276,
1112,
420,
29958,
1240,
2350,
28641,
29893,
9864,
29914,
299,
29941,
29906,
29900,
29899,
29883,
29896,
29899,
331,
29878,
29899,
1272,
29899,
303,
4254,
29966,
9507,
29958,
4836,
29914,
303,
4254,
29918,
401,
29914,
18945,
299... |
autofit/graphical/factor_graphs/factor.py | vishalbelsare/PyAutoFit | 0 | 72424 | <filename>autofit/graphical/factor_graphs/factor.py<gh_stars>0
from abc import ABC
from functools import lru_cache
from inspect import getfullargspec
from itertools import chain, repeat
from typing import \
(
Tuple, Dict, Union, Set, Callable, List
)
import numpy as np
from autofit.graphical.factor_graphs.abs... | [
1,
529,
9507,
29958,
1300,
974,
277,
29914,
4262,
936,
29914,
19790,
29918,
4262,
29879,
29914,
19790,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
25638,
1053,
16417,
13,
3166,
2090,
312,
8789,
1053,
301,
582,
299... |
third_party/gsutil/third_party/protorpc/protorpc/google_imports.py | ravitejavalluri/catapult | 76 | 156574 | <reponame>ravitejavalluri/catapult
"""Dynamically decide from where to import other SDK modules.
All other protorpc code should import other SDK modules from
this module. If necessary, add new imports here (in both places).
"""
__author__ = '<EMAIL> (<NAME>)'
# pylint: disable=g-import-not-at-top
# pylint: disable=u... | [
1,
529,
276,
1112,
420,
29958,
5705,
568,
9494,
497,
5338,
29914,
4117,
481,
499,
13,
15945,
29908,
29928,
2926,
1711,
11097,
515,
988,
304,
1053,
916,
12967,
10585,
29889,
13,
13,
3596,
916,
410,
7345,
6739,
775,
881,
1053,
916,
1296... |
tests/api/base.py | davidlmorton/webapp-skeleton | 0 | 128436 | from pprint import pprint
from webapp.api.wsgi import app
import abc
import json
import requests
import unittest
__all__ = ['BaseAPITest']
def get_endpoint_name(url):
with app.test_request_context(url) as request_ctx:
url_rule = request_ctx.request.url_rule
if url_rule is None:
return 'Unkno... | [
1,
515,
282,
2158,
1053,
282,
2158,
13,
3166,
1856,
932,
29889,
2754,
29889,
5652,
3146,
1053,
623,
13,
5215,
25638,
13,
5215,
4390,
13,
5215,
7274,
13,
5215,
443,
27958,
13,
13,
1649,
497,
1649,
353,
6024,
5160,
3301,
1806,
342,
20... |
bst.py | kentsommer/bst-amortized-analysis | 0 | 95159 | import random
from tabulate import tabulate
class Node:
# Parent pointer used for easier in-order traversal function
def __init__(self, value, parent=None):
self.value = value
self.left = None
self.right = None
self.parent = parent
class BST:
def __init__(self):
s... | [
1,
1053,
4036,
13,
3166,
4434,
5987,
1053,
4434,
5987,
13,
13,
13,
1990,
9071,
29901,
13,
1678,
396,
22280,
4879,
1304,
363,
6775,
297,
29899,
2098,
13310,
284,
740,
13,
1678,
822,
4770,
2344,
12035,
1311,
29892,
995,
29892,
3847,
299... |
coPrime.py | prateekgulati/numberTheory | 0 | 179520 | <reponame>prateekgulati/numberTheory
__author__ = 'Prateek'
from sympy import gcd
def coPrime(n):
num = set()
for i in range(1, n):
if (gcd(i, n) == 1):
num.add(i)
return num
#if __author__ == 'Prateek':
# print coPrime(8)
| [
1,
529,
276,
1112,
420,
29958,
558,
403,
1416,
29887,
352,
2219,
29914,
4537,
1576,
706,
13,
1649,
8921,
1649,
353,
525,
4040,
403,
1416,
29915,
13,
3166,
5016,
2272,
1053,
330,
2252,
13,
13,
13,
1753,
1302,
4040,
603,
29898,
29876,
... |
stanford/sms-tools/lectures/02-DFT/plots-code/idft.py | phunc20/dsp | 1 | 4979 | import matplotlib.pyplot as plt
import numpy as np
import sys
sys.path.append('../../../software/models/')
import dftModel as DFT
import math
k0 = 8.5
N = 64
w = np.ones(N)
x = np.cos(2*np.pi*k0/N*np.arange(-N/2,N/2))
mX, pX = DFT.dftAnal(x, w, N)
y = DFT.dftSynth(mX, pX, N)
plt.figure(1, figsize=(9.5, 5))
plt.subpl... | [
1,
1053,
22889,
29889,
2272,
5317,
408,
14770,
13,
5215,
12655,
408,
7442,
13,
5215,
10876,
13,
13,
9675,
29889,
2084,
29889,
4397,
877,
21546,
6995,
20415,
29914,
9794,
29914,
1495,
13,
5215,
270,
615,
3195,
408,
360,
7818,
13,
5215,
... |
smart_alarm_clock/news_api.py | kfb19/Smart-Alarm-Clock | 0 | 50518 | <gh_stars>0
"""this module collects current news headlines from the API"""
import logging
import requests
from extract_json import get_key
from extract_json import get_location
from extract_json import get_urls
logging.basicConfig(filename='pysys.log',level=logging.INFO, format='%(asctime)s %(levelname)-8s %(... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
15945,
29908,
1366,
3883,
6314,
29879,
1857,
9763,
2343,
9012,
515,
278,
3450,
15945,
19451,
13,
30004,
13,
5215,
12183,
30004,
13,
5215,
7274,
30004,
13,
3166,
6597,
29918,
3126,
1053,
... |
opteryx/utils/__init__.py | mabel-dev/mabel-sql | 1 | 144235 | <filename>opteryx/utils/__init__.py
from functools import lru_cache
@lru_cache(1)
def is_running_from_ipython():
"""
True when running in Jupyter
"""
try:
from IPython import get_ipython # type:ignore
return get_ipython() is not None
except:
return False
def safe_field_... | [
1,
529,
9507,
29958,
19959,
29891,
29916,
29914,
13239,
29914,
1649,
2344,
26914,
2272,
13,
3166,
2090,
312,
8789,
1053,
301,
582,
29918,
8173,
13,
13,
13,
29992,
29880,
582,
29918,
8173,
29898,
29896,
29897,
13,
1753,
338,
29918,
21094,
... |
fixture/application.py | turovod/Python_Addressbook_New_Test_By_Charm | 0 | 144488 | from selenium import webdriver
from selenium.common.exceptions import NoSuchElementException
from fixture.contact import ContactHelper
from fixture.group import GroupHelper
from fixture.session import SessionHelper
class Application:
def __init__(self, browser, base_url):
if browser == "firefox":
... | [
1,
515,
18866,
1053,
1856,
9465,
13,
3166,
18866,
29889,
9435,
29889,
11739,
29879,
1053,
1939,
29903,
987,
2642,
2451,
13,
3166,
5713,
15546,
29889,
12346,
1053,
22387,
10739,
13,
3166,
5713,
15546,
29889,
2972,
1053,
6431,
10739,
13,
31... |
tests/test_higherorder.py | hsadeghidw/dimod | 0 | 129221 | <reponame>hsadeghidw/dimod
# Copyright 2018 D-Wave Systems 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 re... | [
1,
529,
276,
1112,
420,
29958,
9499,
1943,
12443,
333,
29893,
29914,
6229,
397,
13,
29937,
14187,
1266,
29871,
29906,
29900,
29896,
29947,
360,
29899,
29956,
1351,
23985,
9266,
29889,
13,
29937,
13,
29937,
1678,
10413,
21144,
1090,
278,
1... |
src/python-bakeoff/setup_shared.py | dhermes/de-casteljau-bakeoff | 0 | 111570 | # 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, software
# distributed under t... | [
1,
396,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
29889,
29900,
313,
1552,
376,
29931,
293,
1947,
1496,
13,
29937,
366,
1122,
451,
671,
445,
934,
5174,
297,
752,
13036,
411,
278,
19245,
29889,
13,
29937,
887,
11... |
conftest.py | BodenmillerGroup/readimc | 0 | 152409 | <filename>conftest.py
import pytest
import requests
import shutil
from pathlib import Path
from typing import Generator
from readimc import MCDFile, TXTFile
_imc_test_data_asset_url = (
"https://github.com/BodenmillerGroup/TestData"
"/releases/download/v1.0.7/210308_ImcTestData_raw.tar.gz"
)
_imc_test_data_... | [
1,
529,
9507,
29958,
535,
615,
342,
29889,
2272,
13,
5215,
11451,
1688,
13,
5215,
7274,
13,
5215,
528,
4422,
13,
13,
3166,
2224,
1982,
1053,
10802,
13,
3166,
19229,
1053,
3251,
1061,
13,
13,
3166,
1303,
326,
29883,
1053,
341,
6530,
... |
Dynamic Programming/32_chef_monocarp.py | Szymon-Budziak/ASD_exercises_solutions | 7 | 139903 | <gh_stars>1-10
# <NAME> has just put n dishes into an oven. He knows that the i-th dish has its optimal
# cooking time equal to ti minutes. At any positive integer minute T Monocarp can put no more than
# one dish out of the oven. If the i-th dish is put out at some minute T, then its unpleasant value
# is |T − t[i]| —... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
29937,
529,
5813,
29958,
756,
925,
1925,
302,
270,
17006,
964,
385,
288,
854,
29889,
940,
9906,
393,
278,
474,
29899,
386,
270,
728,
756,
967,
14413,
13,
29937,
7... |
gallery/mode/photo_manager.py | bob-chen/gallery | 0 | 49667 | <filename>gallery/mode/photo_manager.py
# -*- coding: utf-8 -*-
'''
Created on Mar 19, 2015
@author: Bob.Chen
'''
import sys
import urllib2
import time
from PIL import Image
from constant import PHOTO_DATA_ROOT
from common import Logger, RandomID, getPhotoUrl, getPhotoPath
from error_api import Err
from gallery.models... | [
1,
529,
9507,
29958,
29887,
23365,
29914,
8513,
29914,
21596,
29918,
12847,
29889,
2272,
13,
29937,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
12008,
13,
20399,
373,
1085,
29871,
29896,
29929,
29892,
29871,
... |
core/verify-installation/selenium.py | bfosterscripps/utilities | 0 | 101684 | <filename>core/verify-installation/selenium.py
# Author: <NAME>
# Date: 20150821
# Purpose:
# test to see if selenium for python is installed
import sys
try:
# attempt to import relevant selenium pieces
from selenium import webdriver
from selenium.common.exceptions import TimeoutException
from selen... | [
1,
529,
9507,
29958,
3221,
29914,
27902,
29899,
6252,
362,
29914,
27373,
29889,
2272,
13,
29937,
13361,
29901,
529,
5813,
29958,
13,
29937,
4712,
29901,
29871,
29906,
29900,
29896,
29945,
29900,
29947,
29906,
29896,
13,
29937,
15247,
4220,
... |
Data/__init__.py | himammz/GpTest | 1 | 48326 | __all__ = ['Database'] | [
1,
4770,
497,
1649,
353,
6024,
9112,
2033,
2
] |
plotDiff_log.py | kmoskovtsev/Electrons-on-Helium-Scripts | 0 | 14311 | from __future__ import division
import matplotlib as mpl
mpl.use('Agg')
import matplotlib.pyplot as plt
import matplotlib.ticker as mticker
import gsd
import gsd.fl
import numpy as np
import os
import sys
import datetime
import time
import pickle
from shutil import copyfile
import inspect
import md_tools... | [
1,
515,
4770,
29888,
9130,
1649,
1053,
8542,
30004,
13,
5215,
22889,
408,
286,
572,
30004,
13,
29885,
572,
29889,
1509,
877,
29909,
1505,
1495,
30004,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
30004,
13,
5215,
22889,
29889,
29873,
... |
Week 8_activity/controller/__init__.py | Kenny-WilliamsStockdale/PythonPlay | 0 | 104926 | __all__ = ["DES"]
| [
1,
4770,
497,
1649,
353,
6796,
2287,
29903,
3108,
30004,
13,
2
] |
rpython/translator/platform/posix.py | wdv4758h/mu-client-pypy | 0 | 4850 | """Base support for POSIX-like platforms."""
import py, os, sys
from rpython.translator.platform import Platform, log, _run_subprocess
import rpython
rpydir = str(py.path.local(rpython.__file__).join('..'))
class BasePosix(Platform):
exe_ext = ''
make_cmd = 'make'
relevant_environ = ('CPATH', 'LIBRARY_... | [
1,
9995,
5160,
2304,
363,
349,
3267,
6415,
29899,
4561,
21796,
1213,
15945,
13,
13,
5215,
11451,
29892,
2897,
29892,
10876,
13,
13,
3166,
364,
4691,
29889,
3286,
29880,
1061,
29889,
12120,
1053,
28096,
29892,
1480,
29892,
903,
3389,
29918... |
src/cobald/daemon/runners/trio_runner.py | thoto/cobald | 7 | 51972 | import trio
from functools import partial
from .base_runner import BaseRunner
from .async_tools import raise_return, AsyncExecution
class TrioRunner(BaseRunner):
"""Runner for coroutines with :py:mod:`trio`"""
flavour = trio
def __init__(self):
self._nursery = None
super().__init__()
... | [
1,
1053,
3367,
29877,
13,
3166,
2090,
312,
8789,
1053,
7687,
13,
13,
13,
3166,
869,
3188,
29918,
27492,
1053,
7399,
16802,
13,
3166,
869,
12674,
29918,
8504,
1053,
12020,
29918,
2457,
29892,
20688,
20418,
13,
13,
13,
1990,
323,
5378,
... |
test/validators/test_string_validator.py | jmmease/ipyplotly | 8 | 145114 | import pytest
from ipyplotly.basevalidators import StringValidator
import numpy as np
# Fixtures
# --------
@pytest.fixture()
def validator():
return StringValidator('prop', 'parent')
@pytest.fixture()
def validator_values():
return StringValidator('prop', 'parent', values=['foo', 'BAR', ''])
@pytest.fixt... | [
1,
1053,
11451,
1688,
13,
3166,
474,
2272,
5317,
368,
29889,
3188,
3084,
4097,
1053,
1714,
24204,
13,
5215,
12655,
408,
7442,
13,
13,
13,
29937,
383,
29875,
486,
1973,
13,
29937,
448,
26589,
13,
29992,
2272,
1688,
29889,
7241,
15546,
... |
envi/archs/msp430/__init__.py | vEpiphyte/vivisect | 1 | 98744 | <filename>envi/archs/msp430/__init__.py
"""
msp430 module
"""
############
# Author: <NAME>
# Started: 05/23/2009
#
import envi
from envi.archs.msp430.regs import *
from envi.archs.msp430.disasm import *
from envi.archs.msp430.const import *
class Msp430Module(envi.ArchitectureModule):
def __init__(self):
... | [
1,
529,
9507,
29958,
264,
1403,
29914,
1279,
29879,
29914,
29885,
1028,
29946,
29941,
29900,
29914,
1649,
2344,
26914,
2272,
13,
15945,
29908,
13,
29885,
1028,
29946,
29941,
29900,
3883,
13,
15945,
29908,
13,
13,
7346,
4136,
13,
29937,
13... |
method/pruning_googlenet.py | Nuctech-AI/LBS_pruning | 6 | 49687 | <reponame>Nuctech-AI/LBS_pruning
import torch.nn as nn
import torch
import copy
import numpy as np
import collections
def pruning_grad_densent_layer(namex,layer,index=None,groups_y=None,re_num=None):
if isinstance(layer, nn.Conv2d):
if index is not None:
layer.weight.data = layer.weight.data[:, ... | [
1,
529,
276,
1112,
420,
29958,
29940,
5313,
5309,
29899,
23869,
29914,
29931,
9851,
29918,
558,
27964,
13,
5215,
4842,
305,
29889,
15755,
408,
302,
29876,
13,
5215,
4842,
305,
13,
5215,
3509,
13,
5215,
12655,
408,
7442,
13,
5215,
16250,... |
tests/test_anonymous.py | psentinelli/filebrowser-safe | 25 | 180710 | from django.test import TestCase
from django.urls import reverse
class FilebrowserAnonymousTestCase(TestCase):
def test_browse(self):
url = reverse("fb_browse")
response = self.client.get(url)
self.assertEqual(302, response.status_code)
self.assertEqual("/admin/login/?next=" + url,... | [
1,
515,
9557,
29889,
1688,
1053,
4321,
8259,
13,
3166,
9557,
29889,
26045,
1053,
11837,
13,
13,
13,
1990,
3497,
15965,
2744,
11428,
3057,
8259,
29898,
3057,
8259,
1125,
13,
1678,
822,
1243,
29918,
23721,
344,
29898,
1311,
1125,
13,
4706... |
GdbPublisherNode.py | larics/gdb_ros_publisher | 10 | 106503 | import rospy
from rospy.msg import AnyMsg
class GdbPublisher(object):
def __init__(self, topic, msgtype, queue_size = 1):
self.topic = topic
self.msgtype = msgtype
# Construct publisher lazily, since we don't know whether to latch or not yet.
self.publisher = None
self.queue_size = queue_size
... | [
1,
1053,
696,
1028,
29891,
13,
3166,
696,
1028,
29891,
29889,
7645,
1053,
3139,
16190,
13,
13,
1990,
402,
2585,
21076,
1674,
261,
29898,
3318,
1125,
13,
29871,
822,
4770,
2344,
12035,
1311,
29892,
11261,
29892,
10191,
1853,
29892,
9521,
... |
scripts/pulp_test.py | rajiv256/cs531_proj_2 | 0 | 27582 | import pulp as pl
def create_affine_expression(coeffs, var_names):
assert len(coeffs) == len(var_names)
n = len(coeffs)
X = [pl.LpVariable(var_names[i]) for i in range(n)]
affine = pl.LpAffineExpression([(X[i], coeffs[i]) for i in range(n)])
return affine
def create_constraint(coeffs, var_names,... | [
1,
1053,
9505,
29886,
408,
715,
13,
13,
13,
1753,
1653,
29918,
3470,
457,
29918,
17471,
29898,
1111,
12352,
29879,
29892,
722,
29918,
7039,
1125,
13,
1678,
4974,
7431,
29898,
1111,
12352,
29879,
29897,
1275,
7431,
29898,
1707,
29918,
7039... |
tests/contrib/epidemiology/test_seir.py | johannespitz/pyro | 0 | 88734 | # Copyright Contributors to the Pyro project.
# SPDX-License-Identifier: Apache-2.0
import pytest
import torch
import pyro.distributions as dist
from pyro.contrib.epidemiology import OverdispersedSEIRModel, SimpleSEIRModel
@pytest.mark.parametrize("duration", [3, 7])
@pytest.mark.parametrize("forecast", [0, 7])
@py... | [
1,
396,
14187,
1266,
2866,
1091,
29560,
304,
278,
10772,
307,
2060,
29889,
13,
29937,
10937,
29928,
29990,
29899,
29931,
293,
1947,
29899,
12889,
29901,
13380,
29899,
29906,
29889,
29900,
13,
13,
5215,
11451,
1688,
13,
5215,
4842,
305,
13... |
psy/utils/__init__.py | Alias-Alan/pypsy | 169 | 173869 | from psy.utils.probs import inverse_logistic, get_log_beta_pd, get_log_lognormal_pd, get_log_normal_pd, get_nodes_weights, \
r4beta
from psy.utils.tools import cached_property
from psy.utils.randoms import gen_item_bank
| [
1,
515,
6529,
29891,
29889,
13239,
29889,
771,
5824,
1053,
16402,
29918,
1188,
4695,
29892,
679,
29918,
1188,
29918,
3571,
29918,
15926,
29892,
679,
29918,
1188,
29918,
1188,
8945,
29918,
15926,
29892,
679,
29918,
1188,
29918,
8945,
29918,
... |
python/lib/Lib/site-packages/django/views/static.py | truthiswill/intellij-community | 2 | 91201 | <reponame>truthiswill/intellij-community<filename>python/lib/Lib/site-packages/django/views/static.py
"""
Views and functions for serving static files. These are only to be used
during development, and SHOULD NOT be used in a production setting.
"""
import mimetypes
import os
import posixpath
import re
import stat
imp... | [
1,
529,
276,
1112,
420,
29958,
509,
2806,
275,
14043,
29914,
28820,
29899,
23834,
29966,
9507,
29958,
4691,
29914,
1982,
29914,
14868,
29914,
2746,
29899,
8318,
29914,
14095,
29914,
7406,
29914,
7959,
29889,
2272,
13,
15945,
29908,
13,
2382... |
PyWeiboSpy/spy.py | veikai/PyWeiboSpy | 1 | 73824 | from .exceptions import LoginError
import base64
import binascii
import json
import math
import random
import re
import requests
import rsa
import time
SPY_HEADERS = {
"Accept": "*/*",
"Accept-Encoding": "gzip, deflate, br",
"Accept-Language": "zh-CN,zh;q=0.9,en;q=0.8,en-GB;q=0.7,en-US;q=0.6",
"Connec... | [
1,
515,
869,
11739,
29879,
1053,
19130,
2392,
13,
5215,
2967,
29953,
29946,
13,
5215,
9016,
294,
18869,
13,
5215,
4390,
13,
5215,
5844,
13,
5215,
4036,
13,
5215,
337,
13,
5215,
7274,
13,
5215,
364,
4977,
13,
5215,
931,
13,
13,
13,
... |
yolov3/coco_metric.py | LiuChiachi/hapi | 92 | 142116 | # Copyright (c) 2020 PaddlePaddle Authors. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by appli... | [
1,
396,
14187,
1266,
313,
29883,
29897,
29871,
29906,
29900,
29906,
29900,
349,
22352,
29925,
22352,
13189,
943,
29889,
2178,
26863,
2538,
9841,
29889,
13,
29937,
13,
29937,
10413,
21144,
1090,
278,
13380,
19245,
29892,
10079,
29871,
29906,
... |
a2ml/api/utils/decorators.py | augerai/a2ml | 30 | 175086 | def error_handler(decorated):
def wrapper(self, *args, **kwargs):
try:
return decorated(self, *args, **kwargs)
except Exception as exc:
if self.ctx.debug:
import traceback
traceback.print_exc()
if "ServiceException" in str(type(exc... | [
1,
822,
1059,
29918,
13789,
29898,
19557,
630,
1125,
13,
1678,
822,
14476,
29898,
1311,
29892,
334,
5085,
29892,
3579,
19290,
1125,
13,
4706,
1018,
29901,
13,
9651,
736,
10200,
630,
29898,
1311,
29892,
334,
5085,
29892,
3579,
19290,
29897... |
gputools/core/oclmultireduction.py | gmazzamuto/gputools | 89 | 9208 | <reponame>gmazzamuto/gputools
"""
an adaptation of pyopencl's reduction kernel for weighted avarages
like sum(a*b)
<EMAIL>
"""
from __future__ import print_function, unicode_literals, absolute_import, division
from six.moves import zip
import pyopencl as cl
from pyopencl.tools import (
context_dependent_memoize... | [
1,
529,
276,
1112,
420,
29958,
29887,
655,
5617,
314,
3066,
29914,
29887,
649,
8789,
13,
15945,
29908,
13,
273,
28206,
310,
11451,
3150,
695,
29915,
29879,
20376,
8466,
363,
7688,
287,
1029,
279,
1179,
13,
13,
4561,
2533,
29898,
29874,
... |
Final Class Test/Final Exam - Boundary Detection .py | Ciaran-OBrien/Image-Processing | 2 | 52430 | <reponame>Ciaran-OBrien/Image-Processing
# coding: utf-8
# In[2]:
# Author: <NAME>
# Lecture: Jane Courtney
# Submitted: 13/12/18
# This code is in response to CA Class Test: Boundary Detection
# N.B. This code orignated as a Jupyter file, thus relavent code and lineNumbers remain
# Boiler plate imports
import o... | [
1,
529,
276,
1112,
420,
29958,
29907,
4447,
273,
29899,
14824,
19112,
29914,
2940,
29899,
7032,
292,
13,
13,
29937,
14137,
29901,
23616,
29899,
29947,
13,
13,
29937,
512,
29961,
29906,
5387,
13,
13,
13,
29937,
13361,
29901,
529,
5813,
2... |
Assignment 5/assignment52.py | ziaridoy20/Data-Science-with-Python-and-R | 0 | 115862 | import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import poisson
from scipy.stats import uniform
from scipy.stats import norm
# Data
data = np.array([0.3120639, 0.5550930, 0.2493114, 0.9785842])
# Grid.
mus = np.linspace(0, 1, num=100)
sigmas = np.linspace(0, 1, num=100)
x = []
y = []
z = []
# Gri... | [
1,
1053,
12655,
408,
7442,
13,
5215,
22889,
29889,
2272,
5317,
408,
14770,
13,
3166,
4560,
2272,
29889,
16202,
1053,
772,
17387,
13,
3166,
4560,
2272,
29889,
16202,
1053,
9090,
13,
3166,
4560,
2272,
29889,
16202,
1053,
6056,
13,
13,
299... |
solutions/1362-Closest-Divisors/1362.py | leetcode-notebook/wonz | 12 | 78818 | <reponame>leetcode-notebook/wonz<gh_stars>10-100
import math
from typing import List
class Solution:
def closestDivisors(self, num: int) -> List[int]:
num1, num2 = num + 1, num + 2
ans1 = self.crack(num1)
ans2 = self.crack(num2)
res = []
if abs(ans1 - int(num1 / ans1)) < abs... | [
1,
529,
276,
1112,
420,
29958,
280,
300,
401,
29899,
1333,
19273,
29914,
12620,
29920,
29966,
12443,
29918,
303,
1503,
29958,
29896,
29900,
29899,
29896,
29900,
29900,
13,
5215,
5844,
13,
3166,
19229,
1053,
2391,
13,
13,
1990,
24380,
2990... |
Configuration/StandardSequences/python/Eras.py | AndrissP/cmssw | 0 | 129214 | from __future__ import print_function
import FWCore.ParameterSet.Config as cms
from FWCore.ParameterSet.Config import ModifierChain,Modifier
class Eras (object):
"""
Dummy container for all the cms.Modifier instances that config fragments
can use to selectively configure depending on what scenario is acti... | [
1,
515,
4770,
29888,
9130,
1649,
1053,
1596,
29918,
2220,
13,
5215,
383,
29956,
9203,
29889,
9329,
2697,
29889,
3991,
408,
274,
1516,
13,
3166,
29871,
383,
29956,
9203,
29889,
9329,
2697,
29889,
3991,
1053,
3382,
3709,
14688,
29892,
2111,... |
toga/genetic_algorithm/mutate/float.py | JPLMLIA/TOGA | 0 | 40993 | <gh_stars>0
"""
Author: <NAME>
Date : 1/23/19
Brief :
Notes :
Copyright 2019 California Institute of Technology. ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledged.
"""
import numpy as np
import random
from toga.genetic_algorithm.genetype import Mutator
from toga.genetic_algorithm.mutate.genemutate imp... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
15945,
29908,
13,
13720,
29901,
529,
5813,
29958,
13,
13,
2539,
29871,
584,
29871,
29896,
29914,
29906,
29941,
29914,
29896,
29929,
13,
13,
29933,
2546,
29888,
584,
13,
13,
3664,
267,
5... |
util/file_processing.py | Valzavator/YouTubeTrendingVideosAnalysis | 2 | 153272 | import pandas as pd
import os
import time
from processing_tool.data_preprocessing import prepare_feature_for_csv
from util.args import Args
def get_data_from_file(file_path: str) -> list:
with open(file_path) as file:
lines = [line.strip() for line in file]
return lines
def write_to_file(output_di... | [
1,
1053,
11701,
408,
10518,
13,
5215,
2897,
13,
5215,
931,
13,
3166,
9068,
29918,
10154,
29889,
1272,
29918,
1457,
19170,
1053,
19012,
29918,
14394,
29918,
1454,
29918,
7638,
13,
13,
3166,
3667,
29889,
5085,
1053,
826,
3174,
13,
13,
13,... |
q5.py | fairoz-ahmed/Python_Practice | 0 | 29755 | class Input_data():
def __init__(self):
self.s=''
def getString(self):
self.s = input()
def printString(self):
print(self.s.upper())
strobj=Input_data()
strobj.getString()
strobj.printString() | [
1,
770,
10567,
29918,
1272,
7295,
30004,
13,
12,
1753,
4770,
2344,
12035,
1311,
1125,
30004,
13,
12,
12,
1311,
29889,
29879,
2433,
29915,
30004,
13,
12,
1753,
679,
1231,
29898,
1311,
1125,
30004,
13,
12,
12,
1311,
29889,
29879,
353,
1... |
odoo/base-addons/website_event/__manifest__.py | LucasBorges-Santos/docker-odoo | 0 | 74582 | # -*- coding: utf-8 -*-
{
'name': 'Events',
'category': 'Website/Website',
'sequence': 166,
'summary': 'Publish events, sell tickets',
'website': 'https://www.odoo.com/page/events',
'description': "",
'depends': ['website', 'website_partner', 'website_mail', 'event'],
'data': [
... | [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
13,
13,
29912,
13,
1678,
525,
978,
2396,
525,
13634,
742,
13,
1678,
525,
7320,
2396,
525,
3609,
2746,
29914,
3609,
2746,
742,
13,
1678,
525,
16506,
2396,
... |
bacpypes/link/station.py | cbergmiller/bacpypes | 1 | 96162 |
import struct
from .address import Address
__all__ = ['LocalStation', 'RemoteStation']
class LocalStation(Address):
"""
LocalStation
"""
def __init__(self, addr):
self.addrType = Address.localStationAddr
self.addrNet = None
if isinstance(addr, int):
if (addr < 0) ... | [
1,
29871,
13,
5215,
2281,
13,
3166,
869,
7328,
1053,
16428,
13,
13,
1649,
497,
1649,
353,
6024,
7717,
22814,
742,
525,
20224,
22814,
2033,
13,
13,
13,
1990,
9959,
22814,
29898,
7061,
1125,
13,
1678,
9995,
13,
1678,
9959,
22814,
13,
... |
tests/test_superconductor_losses.py | tamasorosz/TrafoCalc | 0 | 97837 | from unittest import TestCase
from src.superconductor_losses import parallel_loss, perp_loss, norris_equation, cryostat_losses, cryo_surface, \
thermal_incomes, cooler_cost, sc_load_loss, magnusson_ac_loss
from math import pi
class TestLosses(TestCase):
def test_losses(self):
# BSCCO cable from Magn... | [
1,
515,
443,
27958,
1053,
4321,
8259,
13,
3166,
4765,
29889,
9136,
535,
2199,
272,
29918,
6758,
267,
1053,
8943,
29918,
6758,
29892,
639,
29886,
29918,
6758,
29892,
3643,
3780,
29918,
2573,
29892,
10901,
520,
271,
29918,
6758,
267,
29892,... |
psp/gcp_utils.py | amckenna41/DCBLSTM_PSP | 1 | 32285 | <gh_stars>1-10
################################################################################
######## Google Cloud Platform Utilities ########
################################################################################
#Importing required libraries and dependancies
import numpy a... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29896,
29899,
29896,
29900,
13,
13383,
13383,
13383,
13383,
13383,
13,
7346,
18884,
5087,
14293,
28096,
22310,
1907,
462,
835,
4136,
29937,
13,
13383,
13383,
13383,
13383,
13383,
13,
13,
29937,
17518,... |
research/02_TrafficSignClassification/02_CarNDTrafficSignClassifier/source/path/run.py | LewisCollum/frostAV | 5 | 32638 | import os
from datetime import datetime
directory = "../runs"
current = os.path.join(directory, ".current")
class Run:
def __init__(self, runName):
run = os.path.join(directory, runName)
self.model = os.path.join(run, "model.h5")
self.log = os.path.join(run, "log.csv")
self.accurac... | [
1,
1053,
2897,
13,
3166,
12865,
1053,
12865,
13,
13,
12322,
353,
376,
6995,
3389,
29879,
29908,
13,
3784,
353,
2897,
29889,
2084,
29889,
7122,
29898,
12322,
29892,
11393,
3784,
1159,
13,
13,
1990,
7525,
29901,
13,
1678,
822,
4770,
2344,... |
vgazer/version/custom_checker/lua.py | edomin/vgazer | 2 | 161879 | <reponame>edomin/vgazer<filename>vgazer/version/custom_checker/lua.py
import requests
from bs4 import BeautifulSoup
from vgazer.version.utils import GetVersionFromFilename
def Check(auth, mirrors):
response = requests.get("http://www.lua.org/download.html")
html = response.content
parsedHtml = BeautifulSo... | [
1,
529,
276,
1112,
420,
29958,
287,
5817,
29914,
29894,
29887,
834,
261,
29966,
9507,
29958,
29894,
29887,
834,
261,
29914,
3259,
29914,
6341,
29918,
3198,
261,
29914,
29448,
29889,
2272,
13,
5215,
7274,
13,
3166,
24512,
29946,
1053,
2568... |
EPMA Microsegregation Processing Grid.py | smo216/EPMA-Microsegregation-Processing | 0 | 168566 | # -*- coding: utf-8 -*-
"""
Created on Fri Sep 27 15:04:09 2019
@author: EMG
EPMA Microsegregation Analysis
"""
from sklearn.model_selection import train_test_split
from sklearn.linear_model import LinearRegression
from sklearn import metrics
import seaborn as sns
import matplotlib.pyplot as plt
import ... | [
1,
396,
448,
29930,
29899,
14137,
29901,
23616,
29899,
29947,
448,
29930,
29899,
30004,
13,
15945,
19451,
13,
20399,
373,
11169,
29639,
29871,
29906,
29955,
29871,
29896,
29945,
29901,
29900,
29946,
29901,
29900,
29929,
29871,
29906,
29900,
2... |
orix/tests/test_neoeuler.py | JoonatanL/orix | 1 | 1601308 | import pytest
import numpy as np
from orix.vector.neo_euler import Rodrigues, Homochoric
from orix.quaternion.rotation import Rotation
""" Rodrigues """
@pytest.mark.parametrize(
"rotation, expected",
[
(Rotation([1, 0, 0, 0]), [0, 0, 0]),
(Rotation([0.9239, 0.2209, 0.2209, 0.2209]), [0.239... | [
1,
1053,
11451,
1688,
13,
5215,
12655,
408,
7442,
13,
13,
3166,
470,
861,
29889,
8111,
29889,
11496,
29918,
29872,
8584,
1053,
7733,
8966,
1041,
29892,
15089,
2878,
272,
293,
13,
3166,
470,
861,
29889,
339,
25744,
291,
29889,
5450,
362,... |
testServer.py | SIshikawa1106/tcp-communication | 0 | 59246 | import tcp
import random
class ServerData(object):
def __init__(self):
self._data = ""
def receive(self, data):
print("input data = {}".format(data))
self._data = data
def send(self):
data = self._data + "{}".format(random.randint(0, 10))
print("make data = {}".fo... | [
1,
1053,
22729,
13,
5215,
4036,
13,
13,
1990,
5656,
1469,
29898,
3318,
1125,
13,
1678,
822,
4770,
2344,
12035,
1311,
1125,
13,
4706,
1583,
3032,
1272,
353,
5124,
13,
1678,
822,
7150,
29898,
1311,
29892,
848,
1125,
13,
13,
4706,
1596,
... |
demos/09-sqlite/orm-peewee/source/models/__init__.py | sk-dwtoulouse/python-initiation-training | 1 | 1604667 | from .person import Person
__all__ = ["Person"]
| [
1,
515,
869,
10532,
1053,
5196,
13,
13,
1649,
497,
1649,
353,
6796,
7435,
3108,
13,
2
] |
test/unit/test_unpack.py | timmartin/skulpt | 2,671 | 113939 | # Unpack tests from CPython converted from doctest to unittest
import unittest
class UnpackTest(unittest.TestCase):
def test_basic(self):
t = (1, 2, 3)
a, b, c = t
self.assertEqual(a, 1)
self.assertEqual(b, 2)
self.assertEqual(c, 3)
l = [4, 5, 6]
a, b, c =... | [
1,
396,
853,
4058,
6987,
515,
315,
11980,
11543,
515,
437,
312,
342,
304,
443,
27958,
13,
13,
5215,
443,
27958,
13,
13,
1990,
853,
4058,
3057,
29898,
348,
27958,
29889,
3057,
8259,
1125,
13,
13,
1678,
822,
1243,
29918,
16121,
29898,
... |
venv/Lib/site-packages/h5py/tests/test_h5p.py | Westlanderz/AI-Plat1 | 1 | 1611052 | <reponame>Westlanderz/AI-Plat1
# This file is part of h5py, a Python interface to the HDF5 library.
#
# http://www.h5py.org
#
# Copyright 2008-2013 <NAME> and contributors
#
# License: Standard 3-clause BSD; see "license.txt" for full license terms
# and contributor agreement.
import unittest as ut... | [
1,
529,
276,
1112,
420,
29958,
16128,
1049,
261,
29920,
29914,
23869,
29899,
3247,
271,
29896,
13,
29937,
910,
934,
338,
760,
310,
298,
29945,
2272,
29892,
263,
5132,
5067,
304,
278,
379,
4037,
29945,
3489,
22993,
13,
29937,
30004,
13,
... |
weichi.py | AlekseySP/Project-102 | 0 | 65544 | <filename>weichi.py
# Load and initialize Modules here
import pygame
import random
pygame.init()
# Window Information
displayw = 700
displayh = 700
screen = pygame.display.set_mode((displayw,displayh))
surface = pygame.display.get_surface()
W,H = size = surface.get_width(), surface.get_height()
# Clock
windowclock... | [
1,
529,
9507,
29958,
705,
18544,
29889,
2272,
13,
29937,
16012,
322,
11905,
3382,
2540,
1244,
13,
5215,
22028,
13,
5215,
4036,
13,
2272,
11802,
29889,
2344,
580,
13,
13,
29937,
18379,
10343,
13,
13,
4990,
29893,
353,
29871,
29955,
29900... |
DiretoryBrute.py | Moleey/DiretoryBrute.py | 1 | 47123 | from os import system
from requests import get
from pyfiglet import figlet_format
from colored import fore, back, style, attr
attr(0)
print(back.BLACK)
print(fore.BLUE_VIOLET + style.BOLD)
system("clear")
print(figlet_format("DIRETORY BRUTE\nBY MOLEEY", width=58, justify="center", font="smslant"))
site = input("Link ... | [
1,
515,
2897,
1053,
1788,
13,
3166,
7274,
1053,
679,
13,
3166,
11451,
1003,
1026,
1053,
2537,
1026,
29918,
4830,
13,
3166,
28684,
1053,
26839,
29892,
1250,
29892,
3114,
29892,
12421,
13,
5552,
29898,
29900,
29897,
13,
2158,
29898,
1627,
... |
backend/app/literature/schemas/cross_reference_schemas.py | alliance-genome/agr_literature_service | 0 | 14651 | from typing import List, Optional
from pydantic import BaseModel
from pydantic import validator
class CrossReferenceSchemaRelated(BaseModel):
curie: str
pages: Optional[List[str]] = None
is_obsolete: Optional[bool] = None
@validator('curie')
def name_must_contain_space(cls, v):
if v.coun... | [
1,
515,
19229,
1053,
2391,
29892,
28379,
13,
13,
3166,
282,
2941,
7716,
1053,
7399,
3195,
13,
3166,
282,
2941,
7716,
1053,
2854,
1061,
13,
13,
13,
1990,
11189,
7422,
12763,
9662,
630,
29898,
5160,
3195,
1125,
13,
1678,
3151,
347,
2990... |
attic/_targetdatacli.py | KSchopmeyer/smipyping | 0 | 166193 | <filename>attic/_targetdatacli.py
# (C) Copyright 2017 Inova Development 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/LICEN... | [
1,
529,
9507,
29958,
1131,
293,
19891,
5182,
1272,
11303,
29889,
2272,
13,
29937,
313,
29907,
29897,
14187,
1266,
29871,
29906,
29900,
29896,
29955,
512,
4273,
14650,
9266,
29889,
13,
29937,
2178,
26863,
2538,
9841,
13,
29937,
13,
29937,
... |
loadlib.py | mit-dci/litloadtest | 0 | 49041 | <reponame>mit-dci/litloadtest<gh_stars>0
import time
import random
import testlib
def square_pos(size, x, y):
return size * (y % size) + (x % size)
# Makes a big grid of nodes, all connected to their neighbors.
def make_grid_env(size):
print('Making grid env of size', size)
env = testlib.TestEnv(size ** ... | [
1,
529,
276,
1112,
420,
29958,
2415,
29899,
29881,
455,
29914,
19411,
1359,
1688,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
5215,
931,
13,
5215,
4036,
13,
13,
5215,
1243,
1982,
13,
13,
1753,
6862,
29918,
1066,
29898,
2311,
29892... |
sunpy/map/sources/yohkoh.py | fluxtransport/sunpy | 0 | 1608553 | """Yohkoh SXT Map subclass definitions"""
__author__ = "<NAME>"
__email__ = "<EMAIL>"
import numpy as np
from astropy.visualization import PowerStretch
from astropy.visualization.mpl_normalize import ImageNormalize
from sunpy.map import GenericMap
from sunpy.map.sources.source_type import source_stretch
from sunpy.... | [
1,
9995,
29979,
1148,
29895,
1148,
317,
12188,
7315,
19481,
15848,
15945,
29908,
13,
13,
1649,
8921,
1649,
353,
9872,
5813,
11903,
13,
1649,
5269,
1649,
353,
9872,
26862,
6227,
11903,
13,
13,
5215,
12655,
408,
7442,
13,
13,
3166,
8717,
... |
Vini/Image/views.py | deeppudasaini/vini | 1 | 1610608 | <reponame>deeppudasaini/vini
from django.shortcuts import render
from django.http import JsonResponse
from .models import Image
from rest_framework.decorators import api_view
from rest_framework.response import Response
from .serializers import ImageSerializer
@api_view(["GET"])
def ImageList(request):
images = I... | [
1,
529,
276,
1112,
420,
29958,
311,
29872,
407,
566,
294,
475,
29875,
29914,
29894,
2172,
13,
3166,
9557,
29889,
12759,
7582,
29879,
1053,
4050,
13,
3166,
9557,
29889,
1124,
1053,
14355,
5103,
13,
3166,
869,
9794,
1053,
7084,
13,
3166,
... |
slackchannel2pdf/locales.py | ErikKalkoken/slackchannel2pdf | 52 | 3128 | import datetime as dt
import logging
from babel import Locale, UnknownLocaleError
from babel.dates import format_datetime, format_time, format_date
import pytz
from tzlocal import get_localzone
from . import settings
logger = logging.getLogger(__name__)
class LocaleHelper:
"""Helpers for converting date & tim... | [
1,
1053,
12865,
408,
11636,
13,
5215,
12183,
13,
13,
3166,
289,
1107,
1053,
5976,
744,
29892,
853,
5203,
3524,
744,
2392,
13,
3166,
289,
1107,
29889,
15190,
1053,
3402,
29918,
12673,
29892,
3402,
29918,
2230,
29892,
3402,
29918,
1256,
1... |
Wattpad download.py | jbzdarkid/Random | 1 | 70267 | <filename>Wattpad download.py
import urllib2, re
output = '\n\n'
url = '76273009-wereling-wounded-on-hold-prologue'
page = 1
title = None
while(True):
text = urllib2.urlopen('http://www.wattpad.com/'+url+'/page/'+str(page)).read()
new_title = re.search('<title>(.*?)</title>', text).group(1)
if new_title == title: # ... | [
1,
529,
9507,
29958,
29956,
1131,
8305,
5142,
29889,
2272,
13,
5215,
3142,
1982,
29906,
29892,
337,
13,
4905,
353,
11297,
29876,
29905,
29876,
29915,
13,
2271,
353,
525,
29955,
29953,
29906,
29955,
29941,
29900,
29900,
29929,
29899,
556,
... |
engine.py | anazalea/zestlife | 0 | 161254 | <gh_stars>0
from entities.environment import GameEnvironment
class Engine():
def draw_background():
"""draw any non-interactive object"""
pass
def tick(e: GameEnvironment):
"""Update the state every entity in the game"""
for o in e.game_objects:
o.update()
... | [
1,
529,
12443,
29918,
303,
1503,
29958,
29900,
13,
3166,
16212,
29889,
20944,
1053,
8448,
18649,
13,
13,
13,
1990,
10863,
7295,
13,
13,
1678,
822,
4216,
29918,
7042,
7295,
13,
4706,
9995,
4012,
738,
1661,
29899,
1639,
4925,
1203,
15945,... |
wsnsims/tocs/energy.py | king4arabs/wsnsims2 | 2 | 174779 | <reponame>king4arabs/wsnsims2
import itertools
import numpy as np
from wsnsims.core.data import segment_volume
class ToCSEnergyModelError(Exception):
pass
class ToCSEnergyModel(object):
def __init__(self, simulation_data, environment):
"""
:param simulation_data:
:type simulation_... | [
1,
529,
276,
1112,
420,
29958,
9292,
29946,
279,
6897,
29914,
5652,
1983,
9893,
29906,
13,
5215,
4256,
8504,
13,
13,
5215,
12655,
408,
7442,
13,
13,
3166,
16904,
1983,
9893,
29889,
3221,
29889,
1272,
1053,
10768,
29918,
24623,
13,
13,
... |
horo_M5/ap_httpd_constel.py | kcfkwok2003/m5_star_navigator | 0 | 148420 | <filename>horo_M5/ap_httpd_constel.py<gh_stars>0
# ap_httpd_constel.py
version="1.0"
from color import *
import time
import gc
from httpd_util import *
from g_stars_1 import ct
USE_THREAD = False
def main(vs):
global var_store
var_store=vs
start_httpd()
def start_httpd():
global var... | [
1,
529,
9507,
29958,
2015,
29877,
29918,
29924,
29945,
29914,
481,
29918,
1124,
29881,
29918,
3075,
295,
29889,
2272,
29966,
12443,
29918,
303,
1503,
29958,
29900,
13,
29937,
3095,
29918,
1124,
29881,
29918,
3075,
295,
29889,
2272,
30004,
1... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.