hexsha
stringlengths
40
40
size
int64
5
2.06M
ext
stringclasses
11 values
lang
stringclasses
1 value
max_stars_repo_path
stringlengths
3
251
max_stars_repo_name
stringlengths
4
130
max_stars_repo_head_hexsha
stringlengths
40
78
max_stars_repo_licenses
listlengths
1
10
max_stars_count
int64
1
191k
max_stars_repo_stars_event_min_datetime
stringlengths
24
24
max_stars_repo_stars_event_max_datetime
stringlengths
24
24
max_issues_repo_path
stringlengths
3
251
max_issues_repo_name
stringlengths
4
130
max_issues_repo_head_hexsha
stringlengths
40
78
max_issues_repo_licenses
listlengths
1
10
max_issues_count
int64
1
116k
max_issues_repo_issues_event_min_datetime
stringlengths
24
24
max_issues_repo_issues_event_max_datetime
stringlengths
24
24
max_forks_repo_path
stringlengths
3
251
max_forks_repo_name
stringlengths
4
130
max_forks_repo_head_hexsha
stringlengths
40
78
max_forks_repo_licenses
listlengths
1
10
max_forks_count
int64
1
105k
max_forks_repo_forks_event_min_datetime
stringlengths
24
24
max_forks_repo_forks_event_max_datetime
stringlengths
24
24
content
stringlengths
1
1.05M
avg_line_length
float64
1
1.02M
max_line_length
int64
3
1.04M
alphanum_fraction
float64
0
1
fc12305fff510e126657094db88dd638e8718e01
1,042
py
Python
part01_basic/for_while_loop.py
ApprenticeOne/python_learn
2433726b3f164526e8a8fa18739854e052d76a2e
[ "MIT" ]
null
null
null
part01_basic/for_while_loop.py
ApprenticeOne/python_learn
2433726b3f164526e8a8fa18739854e052d76a2e
[ "MIT" ]
null
null
null
part01_basic/for_while_loop.py
ApprenticeOne/python_learn
2433726b3f164526e8a8fa18739854e052d76a2e
[ "MIT" ]
null
null
null
import random from math import sqrt sum = 0 for x in range(101): sum += x print(sum) ''' range(101) 0-100 101 range(1,101) 1-100 range(1,101,2) 1-100 2 range(100,0,-2) 100-0 -2 ''' sum = 0 for x in range(100, 0, -2): sum += x print(sum) # while # 0-100 answer = random.randint(0, 100) count = 0 while Tr...
17.366667
53
0.589251
fc140cda2ae3ddb2fa94e33b0e36406cb6293308
12,340
py
Python
src/toil/batchSystems/htcondor.py
ElementGenomicsInc/toil
e29a07db194469afba3edf90ffeee8f981f7344b
[ "Apache-2.0" ]
2
2019-01-16T03:55:57.000Z
2019-01-16T04:04:38.000Z
src/toil/batchSystems/htcondor.py
ElementGenomicsInc/toil
e29a07db194469afba3edf90ffeee8f981f7344b
[ "Apache-2.0" ]
4
2018-10-02T00:39:18.000Z
2018-10-02T00:52:31.000Z
src/toil/batchSystems/htcondor.py
ElementGenomicsInc/toil
e29a07db194469afba3edf90ffeee8f981f7344b
[ "Apache-2.0" ]
2
2018-10-09T06:31:52.000Z
2018-11-16T00:49:40.000Z
# Copyright (C) 2018, HTCondor Team, Computer Sciences Department, # University of Wisconsin-Madison, WI. # # 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/license...
40.19544
121
0.569044
fc15adfda30a5ded3481fe570a59a41b60da2bcc
26,347
py
Python
paddlespeech/t2s/modules/tacotron2/decoder.py
alanlv/PaddleSpeech
7413c9e48ac77fdece45e0b4ffe41f7746ef0583
[ "Apache-2.0" ]
null
null
null
paddlespeech/t2s/modules/tacotron2/decoder.py
alanlv/PaddleSpeech
7413c9e48ac77fdece45e0b4ffe41f7746ef0583
[ "Apache-2.0" ]
null
null
null
paddlespeech/t2s/modules/tacotron2/decoder.py
alanlv/PaddleSpeech
7413c9e48ac77fdece45e0b4ffe41f7746ef0583
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2021 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...
36.290634
87
0.537405
fc165549752f98bd300323b664ce1555196f65d8
661
py
Python
pyblazing/__init__.py
Mattlk13/pyBlazing
5c3042c510ab17e9f9d1647e1873d3d04313d900
[ "Apache-2.0" ]
null
null
null
pyblazing/__init__.py
Mattlk13/pyBlazing
5c3042c510ab17e9f9d1647e1873d3d04313d900
[ "Apache-2.0" ]
null
null
null
pyblazing/__init__.py
Mattlk13/pyBlazing
5c3042c510ab17e9f9d1647e1873d3d04313d900
[ "Apache-2.0" ]
null
null
null
from .api import run_query_get_token from .api import convert_to_dask from .api import run_query_get_results from .api import run_query_get_concat_results from .api import register_file_system from .api import deregister_file_system from .api import FileSystemType, DriverType, EncryptionType from .api import SchemaFro...
33.05
60
0.857791
fc180c50e2be52fc8b9a19b64b0af4e3927de263
12,367
py
Python
dataset/scan2cad/s2c_collect_pgroup.py
jeonghyunkeem/PointGroup
fa90830259aeb37d2e0f203471552d2f43cbc60b
[ "Apache-2.0" ]
null
null
null
dataset/scan2cad/s2c_collect_pgroup.py
jeonghyunkeem/PointGroup
fa90830259aeb37d2e0f203471552d2f43cbc60b
[ "Apache-2.0" ]
null
null
null
dataset/scan2cad/s2c_collect_pgroup.py
jeonghyunkeem/PointGroup
fa90830259aeb37d2e0f203471552d2f43cbc60b
[ "Apache-2.0" ]
null
null
null
# Jeonghyun Kim, UVR KAIST @jeonghyunct.kaist.ac.kr import os, sys import json import h5py import numpy as np import quaternion import torch from torch.utils.data import Dataset BASE_DIR_1 = os.path.dirname(os.path.abspath(__file__)) # scan2cad BASE_DIR = os.path.dirname(BASE_DIR_1) # dataset ROOT_DIR = os.path.dirn...
38.052308
147
0.537479
fc18327783ac4d0615c52f0106bc59f803cb607d
3,590
py
Python
nappy/msd2diff.py
ryokbys/nap
ddd0b5a5a956f7c335a22adb4f8e00f1d38a7804
[ "MIT" ]
27
2015-10-05T06:21:28.000Z
2021-10-04T17:08:23.000Z
nappy/msd2diff.py
ryokbys/nap
ddd0b5a5a956f7c335a22adb4f8e00f1d38a7804
[ "MIT" ]
4
2020-11-08T12:39:38.000Z
2021-01-10T22:31:36.000Z
nappy/msd2diff.py
ryokbys/nap
ddd0b5a5a956f7c335a22adb4f8e00f1d38a7804
[ "MIT" ]
4
2015-01-29T23:10:34.000Z
2022-01-08T05:20:13.000Z
#!/usr/bin/env python """ Compute diffusion coefficient from MSD data. Time interval, DT, is obtained from in.pmd in the same directory. Usage: msd2diff.py [options] MSD_FILE Options: -h, --help Show this message and exit. -o, --offset OFFSET Offset of given data. [default: 0] --plot Plot ...
29.186992
69
0.567688
fc186568dd52a9df9e70c87a7b31fe1c1c3e1f4d
1,172
py
Python
5/part2.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
1
2020-04-12T17:54:52.000Z
2020-04-12T17:54:52.000Z
5/part2.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
null
null
null
5/part2.py
jcsesznegi/advent-of-code-2017
9710e184e092b82aa798076b9ce3915c6e42758d
[ "MIT" ]
null
null
null
import os f = open(os.path.join(os.path.dirname(__file__), '../input/5/part2.txt'), 'r') if __name__ == '__main__': main()
23.44
78
0.619454
fc188927db9f5bd43bd5abe64681e14292f26e08
269
py
Python
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
features/steps/basic_account_add_bdd.py
MhmdRyhn/behavior_test
868252e0b31596e0bff4a969745cf3b633c13695
[ "MIT" ]
null
null
null
import behave
22.416667
47
0.762082
fc18a51ed3a62618a4f8d1b8d53f53c96ae69319
11,944
py
Python
tests/test_sync_module.py
naveengh6/blinkpy
e821687f2b7590b13532ac596c31e8eaa6c7b69a
[ "MIT" ]
272
2017-01-29T18:43:25.000Z
2022-03-27T20:43:50.000Z
tests/test_sync_module.py
naveengh6/blinkpy
e821687f2b7590b13532ac596c31e8eaa6c7b69a
[ "MIT" ]
434
2017-01-23T20:22:51.000Z
2022-03-31T18:10:36.000Z
tests/test_sync_module.py
naveengh6/blinkpy
e821687f2b7590b13532ac596c31e8eaa6c7b69a
[ "MIT" ]
77
2017-04-15T17:04:04.000Z
2022-03-04T10:03:39.000Z
"""Tests camera and system functions.""" import unittest from unittest import mock from blinkpy.blinkpy import Blink from blinkpy.helpers.util import BlinkURLHandler from blinkpy.sync_module import BlinkSyncModule, BlinkOwl from blinkpy.camera import BlinkCamera, BlinkCameraMini
40.488136
83
0.592264
fc1a91eb27f4ff382a15602726e82a1122f6307d
2,807
py
Python
dymos/examples/min_time_climb/aero/aero.py
naylor-b/dymos
56ee72041056ae20c3332d060e291c4da93844b1
[ "Apache-2.0" ]
null
null
null
dymos/examples/min_time_climb/aero/aero.py
naylor-b/dymos
56ee72041056ae20c3332d060e291c4da93844b1
[ "Apache-2.0" ]
null
null
null
dymos/examples/min_time_climb/aero/aero.py
naylor-b/dymos
56ee72041056ae20c3332d060e291c4da93844b1
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import import numpy as np from openmdao.api import Group from .dynamic_pressure_comp import DynamicPressureComp from .lift_drag_force_comp import LiftDragForceComp from .cd0_comp import CD0Comp from .kappa_comp import KappaComp from .cla_comp import CLaComp from .cl_comp import CLComp...
34.231707
79
0.530816
fc1b9449290073ccef5e51dfe2bdedbc18900050
7,035
py
Python
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
stats.py
jakeb1996/SBS
3bcc0017d22674d4290be1b272aeac4836f0d5ec
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import argparse, csv, numpy, time, os, re if __name__ == "__main__": parser = argparse.ArgumentParser(description = 'Plotter for the Software Benchmarking Script') parser.add_argument('-f', help='Results file as input (in csv format)') parser.add_argument('-t', help='Name o...
33.341232
338
0.519119
fc1d23d6b61a9e5c408d579ed37655541819b9f0
23,402
py
Python
callback_handlers.py
andrey18106/vocabulary_bot
68a5835fb69e255df1766c2ed5c5228daaa4f06f
[ "MIT" ]
null
null
null
callback_handlers.py
andrey18106/vocabulary_bot
68a5835fb69e255df1766c2ed5c5228daaa4f06f
[ "MIT" ]
null
null
null
callback_handlers.py
andrey18106/vocabulary_bot
68a5835fb69e255df1766c2ed5c5228daaa4f06f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # ===== Default imports ===== import asyncio import logging # ===== External libs imports ===== from aiogram import Bot, Dispatcher, types from aiogram.dispatcher import FSMContext # ===== Local imports ===== from analytics import BotAnalytics from db_manager import DbManager from lang_man...
61.746702
119
0.563499
fc1d28c4600f03845019e2280e8c9b05ec587f01
930
py
Python
1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/06_Nested-Loops/02.Exercise-06-Special-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/06_Nested-Loops/02.Exercise-06-Special-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
1-Python-Programming-Basics (Sep 2020)/Course-Exercises-and-Exams/06_Nested-Loops/02.Exercise-06-Special-Numbers.py
karolinanikolova/SoftUni-Software-Engineering
7891924956598b11a1e30e2c220457c85c40f064
[ "MIT" ]
null
null
null
# 6. # , N, , "" # 1111 9999. , : # N . # : N = 16, 2418 : # 16 / 2 = 8 # 16 / 4 = 4 # 16 / 1 = 16 # 16 / 8 = 2 N = int(input()) for number in range(1111, 9999 + 1): is_number_special = True number_as_string = str(number) # Could also write for index...
35.769231
130
0.665591
fc1d95b3a3f568e9cf0561a8f283914e5b1db140
1,815
py
Python
skopt/tests/test_transformers.py
sqbl/scikit-optimize
c1866d5a9ad67efe93ac99736bfc2dc659b561d4
[ "BSD-3-Clause" ]
null
null
null
skopt/tests/test_transformers.py
sqbl/scikit-optimize
c1866d5a9ad67efe93ac99736bfc2dc659b561d4
[ "BSD-3-Clause" ]
null
null
null
skopt/tests/test_transformers.py
sqbl/scikit-optimize
c1866d5a9ad67efe93ac99736bfc2dc659b561d4
[ "BSD-3-Clause" ]
null
null
null
import pytest import numbers import numpy as np from numpy.testing import assert_raises from numpy.testing import assert_array_equal from numpy.testing import assert_equal from numpy.testing import assert_raises_regex from skopt.space import LogN, Normalize
34.245283
72
0.738292
fc1f1d11a9a9d323ee25ccd432c9e05f59ae89c2
29,526
py
Python
tokenization_numerical.py
dspoka/mnm
f212e8d5697a4556c6469d469a2930b203667828
[ "MIT" ]
1
2021-07-08T04:18:30.000Z
2021-07-08T04:18:30.000Z
tokenization_numerical.py
dspoka/mnm
f212e8d5697a4556c6469d469a2930b203667828
[ "MIT" ]
1
2021-08-24T03:36:53.000Z
2021-08-24T03:36:53.000Z
tokenization_numerical.py
dspoka/mnm
f212e8d5697a4556c6469d469a2930b203667828
[ "MIT" ]
1
2021-07-08T04:18:32.000Z
2021-07-08T04:18:32.000Z
# coding=utf-8 # Copyright 2018 The Google AI Language Team Authors and The HuggingFace Inc. team. # # 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...
39.953992
183
0.601605
fc1f29f43c293c82628f38a87129e37c79fd02ea
6,694
py
Python
dipole/splitting_dipole.py
wheelerMT/spin-1_BEC
e8ea34699b4001847c6b4c7451c11be241ce598f
[ "MIT" ]
null
null
null
dipole/splitting_dipole.py
wheelerMT/spin-1_BEC
e8ea34699b4001847c6b4c7451c11be241ce598f
[ "MIT" ]
null
null
null
dipole/splitting_dipole.py
wheelerMT/spin-1_BEC
e8ea34699b4001847c6b4c7451c11be241ce598f
[ "MIT" ]
null
null
null
import numpy as np import multiprocessing as mp import pyfftw from numpy import pi, exp, sqrt, sin, cos, conj, arctan, tanh, tan from numpy import heaviside as heav from include import helper import h5py # ---------Spatial and potential parameters-------------- Mx = My = 64 Nx = Ny = 128 # Number of grid pts dx = dy...
34.864583
114
0.586047
fc1fa639ebbd112d3143f8455e253cf35ff2e2c9
1,033
py
Python
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
4
2019-06-28T22:46:06.000Z
2020-05-28T08:53:37.000Z
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
18
2018-09-26T15:32:11.000Z
2021-10-01T21:57:14.000Z
src/main/resources/scripts/crumbDiag.py
cam-laf/vectorcast-execution-plugin
fd54e8580886084d040d21fa809be8a609d44d8e
[ "MIT" ]
11
2017-03-19T18:37:16.000Z
2020-04-06T19:46:09.000Z
from __future__ import print_function import requests import sys import os verbose=True try: username=os.environ['USERNAME'] password=os.environ['PASSWORD'] except: print("Crumb Diaganostic requires USERNAME/PASSWORD to be set as environment variables") sys.exit(-1) jenkins_url=os.environ['JENKINS_URL'...
35.62069
120
0.683446
fc20aff0ea13fa9ee03eb24e8c0870f91ab872ab
219
py
Python
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
URI/1-Beginner/1099.py
vicenteneto/online-judge-solutions
4176e2387658f083b980d7b49bc98300a4c28411
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- for i in range(int(raw_input())): x, y = [int(x) for x in raw_input().split()] if x > y: x, y = y, x x += 1 if x % 2 == 0 else 2 print sum([j for j in range(x, y, 2)])
19.909091
48
0.465753
fc2274d5bd59faf9232572f6514dafd536557966
625
py
Python
mock_file.py
MahirGulzar/fpointnet-tiny
e79406f648573d50fa3988ca987db652ab1286b8
[ "MIT" ]
null
null
null
mock_file.py
MahirGulzar/fpointnet-tiny
e79406f648573d50fa3988ca987db652ab1286b8
[ "MIT" ]
null
null
null
mock_file.py
MahirGulzar/fpointnet-tiny
e79406f648573d50fa3988ca987db652ab1286b8
[ "MIT" ]
null
null
null
import tensorflow as tf FLIPPING_TENSOR = tf.constant([1.0, -1.0, 1.0]) mock_data = tf.constant([ [1., 2., 3.], [4., 5., 6.], [7., 8., 9.] ]) mock_labels = tf.constant([ [1.], [0.], [1.] ]) sampling_lambda = lambda x, y: sample_data(x, y, 512) train_data = tf.data.Dataset.from_tensors((mock_data, ...
19.53125
69
0.6048
fc23560a0050cb2a7fdf80d872323f5e40124603
118
py
Python
myapp.py
dataholiks/flask_heroku_scheduler
d2b4c2c8fdee066aea729c1566bfbaf52c068557
[ "MIT" ]
7
2019-03-20T01:48:42.000Z
2021-07-02T15:51:36.000Z
myapp.py
dataholiks/flask_heroku_scheduler
d2b4c2c8fdee066aea729c1566bfbaf52c068557
[ "MIT" ]
null
null
null
myapp.py
dataholiks/flask_heroku_scheduler
d2b4c2c8fdee066aea729c1566bfbaf52c068557
[ "MIT" ]
1
2020-09-17T06:36:24.000Z
2020-09-17T06:36:24.000Z
from flask import Flask app = Flask(__name__)
14.75
40
0.669492
fc241e5e9d6a198e302aa50f27135ed63d4ecd94
629
py
Python
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
null
null
null
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
16
2021-02-27T08:36:19.000Z
2021-04-07T11:43:31.000Z
day_ok/schedule/migrations/0027_auto_20210216_1337.py
bostud/day_ok
2bcee68252b698f5818808d1766fb3ec3f07fce8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-16 11:37 from django.db import migrations, models
26.208333
101
0.599364
fc24427e78d6696d2cac568f07f35aa2881831bf
10,683
py
Python
Blog.py
OliverChao/PyWhoAmI
8742e0a44c4e673d038779b01b14b0cfb7d5395f
[ "MIT" ]
null
null
null
Blog.py
OliverChao/PyWhoAmI
8742e0a44c4e673d038779b01b14b0cfb7d5395f
[ "MIT" ]
null
null
null
Blog.py
OliverChao/PyWhoAmI
8742e0a44c4e673d038779b01b14b0cfb7d5395f
[ "MIT" ]
null
null
null
import aiohttp import asyncio import time import time import argparse import glob import os import shutil import random import re import requests import sys from concurrent import futures import pdfkit import time from retrying import retry from pygments import highlight from pygments.lexers import...
33.914286
114
0.529346
fc24c739bd5d57047e0ff4c5f882289fbb007117
722
py
Python
corehq/apps/app_manager/tests/test_xml_parsing.py
dslowikowski/commcare-hq
ad8885cf8dab69dc85cb64f37aeaf06106124797
[ "BSD-3-Clause" ]
1
2015-02-10T23:26:39.000Z
2015-02-10T23:26:39.000Z
corehq/apps/app_manager/tests/test_xml_parsing.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
corehq/apps/app_manager/tests/test_xml_parsing.py
SEL-Columbia/commcare-hq
992ee34a679c37f063f86200e6df5a197d5e3ff6
[ "BSD-3-Clause" ]
null
null
null
from django.test import SimpleTestCase as TestCase from corehq.apps.app_manager.models import _parse_xml import os
36.1
95
0.634349
fc26055543d8ffb1b618b1328cc4ad7000d27faf
25,605
py
Python
S4/S4 Library/generated/protocolbuffers/Localization_pb2.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Library/generated/protocolbuffers/Localization_pb2.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Library/generated/protocolbuffers/Localization_pb2.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
import protocolbuffers.Consts_pb2 as Consts_pb2 from google.protobuf import descriptor, message, reflection DESCRIPTOR = descriptor.FileDescriptor(name = 'Localization.proto', package = 'EA.Sims4.Network', serialized_pb = '\n\x12Localization.proto\x12\x10EA.Sims4.Network\x1a\x0cConsts.proto"\x85\n\n\x14Loc...
218.846154
2,866
0.754189
fc2653dfaa764320b8eb71e09ae9ebdeb59fea8c
287
py
Python
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
dynamic_programming/01/01-06.py
fumiyanll23/algo-method
d86ea1d399cbc5a1db0ae49d0c82e41042f661ab
[ "MIT" ]
null
null
null
# input N, M = map(int, input().split()) Ds = [*map(int, input().split())] # compute dp = [False] * (N+1) for ni in range(N+1): if ni == 0: dp[ni] = True for D in Ds: if ni >= D: dp[ni] = dp[ni] or dp[ni-D] # output print("Yes" if dp[-1] else "No")
17.9375
39
0.477352
fc26599fa48fc7ee6289bde05e441a088fd069d9
447
py
Python
swapsort.py
ArshSood/sorting
97e1188ad626420e8ffeab992f7e98a2a91ae4b1
[ "Apache-2.0" ]
null
null
null
swapsort.py
ArshSood/sorting
97e1188ad626420e8ffeab992f7e98a2a91ae4b1
[ "Apache-2.0" ]
null
null
null
swapsort.py
ArshSood/sorting
97e1188ad626420e8ffeab992f7e98a2a91ae4b1
[ "Apache-2.0" ]
null
null
null
# sorting n=int(input()) array=list(map(int,input().split())) i=0 count=[] counter=0 while i<len(array): min=i start=i+1 while(start<len(array)): if array[start]<array[min]: min=start start+=1 if i!=min: array[i],array[min]=array[min],array[i] count.append(i) ...
19.434783
47
0.557047
fc267d60ba151acc5fd2bfd47790174a62234e97
1,043
py
Python
tests/news_test.py
mucciz/News
2484d91edaef181d9a6d4b86d6bee822781f931d
[ "MIT" ]
null
null
null
tests/news_test.py
mucciz/News
2484d91edaef181d9a6d4b86d6bee822781f931d
[ "MIT" ]
null
null
null
tests/news_test.py
mucciz/News
2484d91edaef181d9a6d4b86d6bee822781f931d
[ "MIT" ]
1
2019-07-29T12:45:00.000Z
2019-07-29T12:45:00.000Z
import unittest from app.models import News # News = news.News # if __name__ == '__main__': # unittest.main()
35.965517
207
0.67977
fc2698b4b0dd35425a260f9ab84e959ae7a54a73
365
py
Python
test/get-gh-comment-info.py
MQasimSarfraz/cilium
89b622cf4e0a960e27e5b1bf9f139abee25dfea0
[ "Apache-2.0" ]
1
2020-06-12T19:43:52.000Z
2020-06-12T19:43:52.000Z
test/get-gh-comment-info.py
MQasimSarfraz/cilium
89b622cf4e0a960e27e5b1bf9f139abee25dfea0
[ "Apache-2.0" ]
null
null
null
test/get-gh-comment-info.py
MQasimSarfraz/cilium
89b622cf4e0a960e27e5b1bf9f139abee25dfea0
[ "Apache-2.0" ]
1
2020-06-17T07:06:27.000Z
2020-06-17T07:06:27.000Z
import argparse parser = argparse.ArgumentParser() parser.add_argument('ghcomment', type=str) # this is for test-me-please phrases parser.add_argument('--focus', type=str, default="") parser.add_argument('--version', type=str, default="") parser.add_argument('--retrieve', type=str, default="focus") args = parser.pars...
30.416667
79
0.750685
fc26c7b5181466b2721115acd12b6c40ca2fe4ae
7,699
py
Python
preprocessing/booking.py
madcat1991/clustered_cars
a79b83d9d14360c6c51d4bf462217ef690e62c74
[ "Apache-2.0" ]
null
null
null
preprocessing/booking.py
madcat1991/clustered_cars
a79b83d9d14360c6c51d4bf462217ef690e62c74
[ "Apache-2.0" ]
null
null
null
preprocessing/booking.py
madcat1991/clustered_cars
a79b83d9d14360c6c51d4bf462217ef690e62c74
[ "Apache-2.0" ]
null
null
null
""" This script cleans and prepares the data set of bookings for the future usage """ import argparse import logging import sys import pandas as pd from preprocessing.common import canonize_datetime, raw_data_to_df, check_processed_columns, check_data OLD_BREAKPOINT_MATCHER = { 2001: [ (1, 1, "New Year"...
36.661905
113
0.56267
fc272e521d0e985bdda9352e00baa8b30c9ad89c
1,309
py
Python
src/api/wish.py
PKU-GeekGame/gs-backend
d13219609d4e52810540bda6a3bddac1bf5406ce
[ "MIT" ]
7
2022-02-06T09:49:27.000Z
2022-03-03T14:23:32.000Z
src/api/wish.py
PKU-GeekGame/gs-backend
d13219609d4e52810540bda6a3bddac1bf5406ce
[ "MIT" ]
null
null
null
src/api/wish.py
PKU-GeekGame/gs-backend
d13219609d4e52810540bda6a3bddac1bf5406ce
[ "MIT" ]
null
null
null
from sanic import Blueprint, Request, HTTPResponse, response from sanic.models.handler_types import RouteHandler from functools import wraps from inspect import isawaitable from typing import Callable, Dict, Any, Union, Awaitable, List, Optional ACCEPTED_WISH_VERS = ['wish.alpha.v1'] WishHandler = Callable[..., Union...
37.4
124
0.612681
fc27b29cfbfd1ea2e06f38bfeb18691ed058b5af
5,579
py
Python
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
3
2015-11-20T08:44:42.000Z
2016-12-14T01:40:03.000Z
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
1
2017-09-04T14:04:32.000Z
2020-05-26T19:04:00.000Z
scripts/venv/lib/python2.7/site-packages/cogent/maths/function_optimisation.py
sauloal/cnidaria
fe6f8c8dfed86d39c80f2804a753c05bb2e485b4
[ "MIT" ]
null
null
null
#!/usr/bin/env python """Algorthims for function optimisation great_deluge() is a hillclimbing algorithm based on: Gunter Dueck: New Optimization Heuristics, The Great Deluge Algorithm and the Record-to-Record Travel. Journal of Computational Physics, Vol. 104, 1993, pp. 86 - 92 ga_evolve(...
42.915385
80
0.661767
fc2801c140aa271fa4c9a495e831e1f55bb54ab3
6,871
py
Python
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
3
2021-04-09T12:37:13.000Z
2021-10-18T19:41:39.000Z
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
5
2019-04-30T13:08:43.000Z
2019-04-30T13:21:25.000Z
collect_policies.py
jonathanbglass/parallel_prowler
453774a69f078c7fce11c9bb72b6deab6fc04217
[ "MIT" ]
null
null
null
import argparse import boto3 import json import logging import os from progressbar import ProgressBar import sys """ Collects IAM Policies Evaluates policies looking for badness (*.*, Effect:Allow + NotAction) Need to add more tests/use cases """ if __name__ == "__main__": # execute only if run as a scrip...
33.193237
79
0.536603
fc2ae536bffe1db19ce9b95cd5dd88a0d55394cd
3,556
py
Python
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
2
2018-11-12T22:00:56.000Z
2019-11-07T22:14:23.000Z
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
49
2018-10-02T18:14:58.000Z
2022-01-20T21:06:31.000Z
test/molecule-role/molecule/integrations/tests/test_nagios.py
StackVista/stackstate-agent
843f66189fae107646c57f71fed962bdaab3b3be
[ "Apache-2.0" ]
3
2019-05-10T13:06:59.000Z
2020-05-21T17:29:33.000Z
import json import os import re from testinfra.utils.ansible_runner import AnsibleRunner import util testinfra_hosts = AnsibleRunner(os.environ['MOLECULE_INVENTORY_FILE']).get_hosts('agent-integrations')
39.955056
119
0.604331
fc2b9cb9eed0c84da94b5402d4ee3d9ce1910b43
589
py
Python
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
null
null
null
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
null
null
null
erudition/util.py
papsebestyen/erudition
35aa502a96189131baff714a6212eb56de2b1272
[ "MIT" ]
1
2022-02-21T21:17:17.000Z
2022-02-21T21:17:17.000Z
import os import sys from contextlib import contextmanager from invoke import UnexpectedExit
22.653846
58
0.634975
fc2d6707aecf302c38a120bd486580b956d4c75c
1,263
py
Python
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
python3/distortion_correct_aksk_demo.py
MeekoI/ais-sdk
76240abc49795e914988f3cafb6d08f60dbdcb4c
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- from ais_sdk.utils import encode_to_base64 from ais_sdk.utils import decode_to_wave_file from ais_sdk.distortion_correct import distortion_correct_aksk from ais_sdk.utils import init_global_env import json if __name__ == '__main__': # # access moderation distortion correct.post data by a...
39.46875
119
0.695962
fc2e07191680875cf76ef21ec4089df4cb779bed
527
py
Python
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
2
2020-03-31T12:38:10.000Z
2022-01-21T22:21:06.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
252
2018-05-24T14:55:24.000Z
2022-02-26T13:02:10.000Z
exercise/migrations/0016_auto_20191025_1624.py
Arpit8081/Phishtray_Edited_Version
9f3342e6fd2620b7f01ad91ce5b36fa8ea111bc8
[ "MIT" ]
11
2018-06-23T14:54:42.000Z
2021-02-19T11:33:44.000Z
# Generated by Django 2.2.6 on 2019-10-25 16:24 from django.db import migrations, models import django.db.models.deletion
26.35
131
0.666034
fc2e4f714b9faba2c5ecf66e26fac9c7e7da6366
1,527
py
Python
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
35
2015-01-04T15:23:49.000Z
2020-11-24T16:10:33.000Z
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
10
2015-01-20T07:45:41.000Z
2015-06-23T15:03:42.000Z
rainbow/datasources/cfn_datasource.py
omribahumi/rainbow
17aad61231b1f1b9d0dca43979e2fa4c8a1603f3
[ "BSD-2-Clause-FreeBSD" ]
17
2015-01-04T14:20:31.000Z
2020-11-24T16:10:36.000Z
from rainbow.cloudformation import Cloudformation from base import DataSourceBase __all__ = ['CfnOutputsDataSource', 'CfnResourcesDataSource', 'CfnParametersDataSource']
30.54
108
0.717092
fc2e789c677ad0b86e4fb3d988a64d970401e0fa
401
py
Python
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
2
2015-11-05T08:51:42.000Z
2016-03-01T22:13:25.000Z
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
null
null
null
epio_commands/management/commands/epio_flush_redis.py
idan/pypostbin
61dd1c0960e8fb6e4460a5623971cbbc78a55ee7
[ "BSD-3-Clause" ]
null
null
null
import redis from bundle_config import config from django.core.management.base import NoArgsCommand
30.846154
126
0.688279
fc2e92525a1caaa4ddf0a3ef664b415296525d97
2,338
py
Python
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
455
2018-12-09T01:57:46.000Z
2022-03-22T01:56:47.000Z
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
136
2019-04-19T08:24:27.000Z
2022-03-28T01:39:19.000Z
python/flexflow_cffi_build.py
zmxdream/FlexFlow
7ea50d71a02e853af7ae573d88c911511b3e82e0
[ "Apache-2.0" ]
102
2018-12-22T07:38:05.000Z
2022-03-30T06:04:39.000Z
#!/usr/bin/env python # Copyright 2020 Stanford University, Los Alamos National Laboratory # # 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 ...
38.327869
116
0.727545
fc2eebcbe5bb3cf4ff6427b453a41d0127cdd332
1,414
py
Python
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
gaphor/plugins/xmiexport/__init__.py
tuxcell/gaphor
22eb13479f589a0105ad25a11aed968e9ad932dc
[ "Apache-2.0" ]
null
null
null
"""This plugin extends Gaphor with XMI export functionality.""" import logging from gaphor.abc import ActionProvider, Service from gaphor.core import action, gettext from gaphor.plugins.xmiexport import exportmodel from gaphor.ui.filedialog import FileDialog logger = logging.getLogger(__name__)
32.883721
83
0.666195
fc2f49e15f4138f716bca2a01da611b02c245377
2,278
py
Python
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
tests/utils.py
btk15049/online-judge-tools
22505e98359c50df06e7cc1d53a7d253cb096b14
[ "MIT" ]
null
null
null
import contextlib import os import pathlib import subprocess import sys import tempfile
24.76087
108
0.618086
fc2f8d6fdf5321bc7fa432fe83690f0311e43ce9
303
py
Python
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
git_operation.py
zerzerzerz/Computer-Virus
4a3125b45e0e4210fb1b8c970a0d6c6bde77f2e8
[ "MIT" ]
null
null
null
import os commit_string = "data" not_add = ['results', 'data', 'weights'] for item in os.listdir(): if item in not_add: # print(item) continue else: os.system(f"git add {item}") os.system(f'git commit -m "{commit_string}"') os.system("git push origin main")
25.25
45
0.636964
fc3035214a995b5b1335519d9f36c232352adce4
6,523
py
Python
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
src/cool_grammar.py
peanut-butter-jellyyy/cool-compiler-2021
63a668d435ed22cfb8dbb096bc3c82a34f09517b
[ "MIT" ]
null
null
null
from src.cmp.pycompiler import Grammar from src.ast_nodes import ( ProgramNode, ClassDeclarationNode, FuncDeclarationNode, AttrDeclarationNode, IfNode, WhileNode, LetNode, CaseNode, IsvoidNode, AssignNode, VarDeclarationNode, CaseItemNode, NotNode, ...
36.038674
87
0.559099
fc30849700e1ea4826d82e5040dc0a3f7cab1d33
1,599
py
Python
userbot/plugins/selfdestruct.py
Aliensuniquebot/CatUserbot
93561a620fc1198c6fe6c259412088f4bc81d97b
[ "MIT" ]
1
2020-07-18T07:42:58.000Z
2020-07-18T07:42:58.000Z
userbot/plugins/selfdestruct.py
praveen368/CatUserbot
4b0cd970551ffaf86b9fdd5da584c1b3882821ff
[ "MIT" ]
null
null
null
userbot/plugins/selfdestruct.py
praveen368/CatUserbot
4b0cd970551ffaf86b9fdd5da584c1b3882821ff
[ "MIT" ]
2
2020-06-25T11:14:50.000Z
2021-04-04T13:49:13.000Z
# For @UniBorg # courtesy Yasir siddiqui """Self Destruct Plugin .sd <time in seconds> <text> """ import time from userbot import CMD_HELP from telethon.errors import rpcbaseerrors from userbot.utils import admin_cmd import importlib.util CMD_HELP.update({ "selfdestruct": ".sdm number | [text]\ \...
28.052632
90
0.602251
fc311bab55ecedbbd72f07232e73e6cac438a6b2
1,101
py
Python
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
snippets/basic_render_template_class.py
OSAMAMOHAMED1234/python_projects
fb4bc7356847c3f46df690a9386cf970377a6f7c
[ "MIT" ]
null
null
null
import os obj = Template(template_name='test.html', context={'name': 'OSAMA'}) print(obj.render()) obj.context= None print(obj.render(context={'name': 'os'})) obj2 = Template(template_name='test.html') print(obj2.render(context={'name': 'os'}))
30.583333
123
0.693006
fc3188873ff10721356aeaf7e965132781c78f98
793
py
Python
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
level_one/strings.py
jameskzhao/python36
855e8a6e164065702efa7773da1f089454fdcbcc
[ "Apache-2.0" ]
null
null
null
#Basics a = "hello" a += " I'm a dog" print(a) print(len(a)) print(a[1:]) #Output: ello I'm a dog print(a[:5]) #Output: hello(index 5 is not included) print(a[2:5])#Output: llo(index 2 is included) print(a[::2])#Step size #string is immutable so you can't assign a[1]= b x = a.upper() print(x) x = a.capitalize() prin...
22.027778
63
0.631778
fc321e4d24702ee71bce5b7e534a97061ead9698
2,950
py
Python
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
null
null
null
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
1
2020-08-05T06:27:23.000Z
2020-08-05T06:27:42.000Z
tests/test_01_accept_time_get_headers.py
glushkovvv/test_2gis
2affff49411a3c7ff77e9d399ec86eb314aa3757
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ test_01_accept_time_get_headers ~~~~~~~~~~~~~~ The 2GIS API Test Check time get headers :author: Vadim Glushkov :copyright: Copyright 2019, The2GIS API Test" :license: MIT :version: 1.0.0 :maintainer: Vadim Glushkov :email: plussg@yandex.ru :status: Development """ import pytest import a...
38.815789
116
0.649831
fc3233cb1459781c899740baf647a5f25ec92581
541
py
Python
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
transformers/string/strlen_transformer.py
ucds-sg/h2oai
7042860767dc25d1a7d7122103bbd5016d02df53
[ "Apache-2.0" ]
null
null
null
"""Returns the string length of categorical values""" from h2oaicore.transformer_utils import CustomTransformer import datatable as dt import numpy as np
31.823529
82
0.724584
fc34bcbcfb8ac1f6bc09817c52d24607717e7ad1
235
py
Python
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
1
2019-04-12T09:03:52.000Z
2019-04-12T09:03:52.000Z
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
null
null
null
geometry/eolearn/geometry/__init__.py
eerzin/eo-learn
53c5cc229de13b98b5778aeb1d45950c25bf2f95
[ "MIT" ]
3
2019-05-03T09:43:57.000Z
2019-09-10T17:29:39.000Z
""" Subpackage containing EOTasks for geometrical transformations """ from .utilities import ErosionTask, VectorToRaster, RasterToVector from .sampling import PointSamplingTask, PointSampler, PointRasterSampler __version__ = '0.4.2'
26.111111
73
0.821277
fc35043bdda56bc264f387918b5687e34dea2849
1,152
py
Python
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
api/models/users.py
felipebarraza6/startup_comedy
42b4a4547bffc0d7cf34ace520355d80053bbd9e
[ "MIT" ]
null
null
null
"""User Model.""" # Django from django.db import models from django.contrib.auth.models import AbstractUser # Utilities from .utils import ApiModel
24
71
0.667535
fc3539d71d659a16209a54fcd5f9758f5e36c76b
3,993
py
Python
tests/test_server.py
m-bo-one/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
21
2017-07-24T15:45:03.000Z
2019-09-21T16:18:48.000Z
tests/test_server.py
m-bo-one/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
11
2017-07-24T20:14:16.000Z
2019-02-10T22:52:32.000Z
tests/test_server.py
DeV1doR/ethereumd-proxy
1d1eb3905dac4b28a8e23c283214859a13f6e020
[ "MIT" ]
8
2018-02-17T13:33:15.000Z
2020-08-16T05:21:34.000Z
from collections import namedtuple import json from asynctest.mock import patch import pytest from ethereumd.server import RPCServer from ethereumd.proxy import EthereumProxy from aioethereum.errors import BadResponseError from .base import BaseTestRunner Request = namedtuple('Request', ['json'])
33.554622
76
0.596043
fc371494e70184822be6d1e222d5e8799a784228
973
py
Python
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
20
2021-04-20T19:15:33.000Z
2022-03-19T17:00:12.000Z
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
17
2021-04-07T21:52:41.000Z
2022-03-06T16:05:31.000Z
neorl/rl/baselines/readme.py
evdcush/neorl
a1af069072e752ab79e7279a88ad95d195a81821
[ "MIT" ]
8
2021-05-07T03:36:30.000Z
2021-12-15T03:41:41.000Z
# This file is part of NEORL. # Copyright (c) 2021 Exelon Corporation and MIT Nuclear Science and Engineering # NEORL is free software: you can redistribute it and/or modify # it under the terms of the MIT LICENSE # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # ...
54.055556
94
0.74409
fc3a04cfd338f72934bd5d86f8126f4adfa55c05
1,330
py
Python
Compare.py
sushantPatrikar/WaveCompartor
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
3
2019-10-27T03:45:18.000Z
2022-02-21T18:50:58.000Z
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
null
null
null
Compare.py
sushantPatrikar/WaveComparator
112395287b41c1b5533924ebe293c5641647a5e3
[ "MIT" ]
1
2021-04-20T07:39:37.000Z
2021-04-20T07:39:37.000Z
from scipy.io import wavfile import numpy as np import pingouin as pg import pandas as pd _,data = wavfile.read('wav//ed//mp3baked.wav') _,data1 = wavfile.read('wav//ing//ingeating.wav') i= data.shape[0]-1 j = data1.shape[0]-1 index_1 = -1 index_2 = -1 try: data.shape[1] except IndexError: ...
15.647059
50
0.552632
fc3abec567aafacd5d2829eabdf814ac53962d6d
495
py
Python
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
2
2021-12-18T01:52:50.000Z
2022-01-17T19:41:52.000Z
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
18
2021-11-30T04:05:53.000Z
2022-02-01T03:30:04.000Z
tests/comments/test_only_block_comment.py
sco1/pylox
b4820828306c20cee3f8533c2547fafb92c6c1bd
[ "MIT" ]
null
null
null
from textwrap import dedent import pytest from pylox.lox import Lox TEST_SRC = dedent( """\ /* This is a multiline block comment */ """ ) EXPECTED_STDOUTS: list[str] = []
18.333333
69
0.70101
fc3c853df2b1d6ee609b09518a9278f9e15018c1
114
py
Python
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
null
null
null
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
2
2018-09-23T18:39:01.000Z
2018-09-24T18:02:21.000Z
mlbase/lazy.py
n-kats/mlbase
7d69f259dcaf9608a921523083458fa6d0d6914b
[ "MIT" ]
null
null
null
from mlbase.utils.misc import lazy tensorflow = lazy("tensorflow") numpy = lazy("numpy") gensim = lazy("gensim")
19
34
0.72807
fc3d1481782a2c4ff97885d3937f7846223c55ab
1,082
py
Python
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
33
2015-04-29T08:11:42.000Z
2022-02-01T16:50:25.000Z
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
15
2015-02-04T15:11:17.000Z
2022-01-26T19:58:29.000Z
setup.py
sturmianseq/observed
d99fb99ff2a470a86efb2763685e8e2c021e799f
[ "MIT" ]
6
2017-06-11T19:40:31.000Z
2021-08-05T07:57:28.000Z
import re import setuptools README_FILENAME = "README.md" VERSION_FILENAME = "observed.py" VERSION_RE = r"^__version__ = ['\"]([^'\"]*)['\"]" # Get version information with open(VERSION_FILENAME, "r") as version_file: mo = re.search(VERSION_RE, version_file.read(), re.M) if mo: version = mo.group(1) else: ...
27.05
67
0.685767
fc3d20f3595ad33d1e9d9bf80ce974904075e7ce
3,536
py
Python
src/coco.py
catalyst-team/detector
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
15
2019-05-15T13:42:51.000Z
2020-11-09T23:13:06.000Z
src/coco.py
catalyst-team/detector
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
1
2020-01-09T08:53:49.000Z
2020-01-16T19:41:16.000Z
src/coco.py
catalyst-team/detection
383c17ba7701d960ca92be0aafbff05207f2de3a
[ "Apache-2.0" ]
null
null
null
import os import json import numpy as np import pickle from typing import Any from pycocotools.coco import COCO from torch.utils.data import Dataset
32.440367
97
0.588235
fc3d3b9be540fd17668cfe15a94b53ed79b67b0a
328
py
Python
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2020-11-24T03:17:21.000Z
2020-11-24T03:17:21.000Z
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
null
null
null
UVa 10105 polynomial coefficients/sample/main.py
tadvi/uva
0ac0cbdf593879b4fb02a3efc09adbb031cb47d5
[ "MIT" ]
1
2021-04-11T16:22:31.000Z
2021-04-11T16:22:31.000Z
import sys import operator sys.stdin = open('input.txt') fact = [1, 1] for i in range(2, 15): fact.append(fact[-1] * i) while True: try: n, k = map(int, raw_input().split()) coef = map(int, raw_input().split()) except: break print fact[n] / reduce(operator.mul, [fact[c] for c in...
21.866667
65
0.579268
fc3d8c49e88cab357d3bb76422dab0b50f4b1b22
702
py
Python
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
2
2020-08-06T15:03:31.000Z
2020-10-18T14:40:19.000Z
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
1
2020-08-06T16:15:12.000Z
2020-08-06T16:15:12.000Z
pynotes/note/models.py
wallaceleonel/Flash-Cards
fd563455d437f77e42ddf96133214cf752b62bb6
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from django.db import models from django.urls import reverse # Create your models here.
27
65
0.710826
fc3e56f1b6dc2446fe20c8456364bfd95e849dd0
7,538
py
Python
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
infrastructure-provisioning/src/general/scripts/azure/common_notebook_configure_dataengine.py
DmytroLiaskovskyi/incubator-dlab
af995e98b3b3cf526fb9741a3e5117dd1e04f3aa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # ***************************************************************************** # # 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 A...
51.986207
122
0.628549
fc403c27d1d4da0e66a446351a2e2650278bc62d
1,527
py
Python
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
81
2019-07-08T15:48:03.000Z
2022-03-21T22:52:25.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
24
2019-10-03T19:20:18.000Z
2022-02-28T17:20:40.000Z
pyACA/ToolFreq2Bark.py
ruohoruotsi/pyACA
339e9395b65a217aa5965638af941b32d5c95454
[ "MIT" ]
26
2019-07-18T23:50:52.000Z
2022-03-10T14:59:35.000Z
# -*- coding: utf-8 -*- """ helper function: convert Hz to Bark scale Args: fInHz: The frequency to be converted, can be scalar or vector cModel: The name of the model ('Schroeder' [default], 'Terhardt', 'Zwicker', 'Traunmuller') Returns: Bark values of the input dimension """ import numpy as np imp...
28.811321
95
0.591356
fc40aa5a0884df8e751f2fa5cfb93216f3c13768
16,560
py
Python
magenta/models/sketch_rnn/rnn.py
laurens-in/magenta
be6ed8d5b1eb2986ca277aa9c574a7912dd5ed0f
[ "Apache-2.0" ]
1
2021-12-27T10:43:39.000Z
2021-12-27T10:43:39.000Z
magenta/models/sketch_rnn/rnn.py
kyungyunlee/magenta
cf80d19fc0c2e935821f284ebb64a8885f793717
[ "Apache-2.0" ]
null
null
null
magenta/models/sketch_rnn/rnn.py
kyungyunlee/magenta
cf80d19fc0c2e935821f284ebb64a8885f793717
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The Magenta Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
33.186373
80
0.634964
fc412db90075a83ae4e5731ee32b0fb7611791ff
6,034
py
Python
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
src/cogent3/cluster/UPGMA.py
u6052029/cogent3
ca0efcb7f60b715bcbfbecd924cdb98a53cefe20
[ "BSD-3-Clause" ]
null
null
null
# usr/bin/env python """Functions to cluster using UPGMA upgma takes an dictionary of pair tuples mapped to distances as input. UPGMA_cluster takes an array and a list of PhyloNode objects corresponding to the array as input. Can also generate this type of input from a DictArray using inputs_from_dict_array function....
36.569697
82
0.716937
fc416ffd2f7c1bbdb707cd0d27fb98dd3ff367ba
881
py
Python
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
src/python/make_store_entry.py
kf7lsu/RegfileCompiler-public
0845f1458137cef06d584047bb4287a72c6afbab
[ "Apache-2.0" ]
null
null
null
#this code will generate the structural verilog for a single entry in the register file #takes in the output file manager, the entry number, the number of bits, the number of reads, and the width of the #tristate buffers on the read outputs #expects the same things as make_store_cell, ensure code is valid there #Matt...
31.464286
114
0.760499
fc417b4336f77e529dd64d425d37722b3edade09
1,007
py
Python
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
module1/api.py
oceandelee/tac
62ffbcb31b374a9fa83a1ee6010b2e00f2de8a7c
[ "MIT" ]
null
null
null
"""API for AVB""" import json import sys import requests #Example of use if __name__ == "__main__": resp = actualite_found() result = get_result(resp,2,"description") print(result) print(nb_result(resp))
19.365385
69
0.5571
fc422cd23ef7241b5d35bfeb10b87ff16ba77128
7,782
py
Python
improver/cli/nbhood.py
cpelley/improver
ebf77fe2adc85ed7aec74c26671872a2e4388ded
[ "BSD-3-Clause" ]
77
2017-04-26T07:47:40.000Z
2022-03-31T09:40:49.000Z
improver/cli/nbhood.py
cpelley/improver
ebf77fe2adc85ed7aec74c26671872a2e4388ded
[ "BSD-3-Clause" ]
1,440
2017-03-29T10:04:15.000Z
2022-03-28T10:11:29.000Z
improver/cli/nbhood.py
MoseleyS/improver
ca028e3a1c842e3ff00b188c8ea6eaedd0a07149
[ "BSD-3-Clause" ]
72
2017-03-17T16:53:45.000Z
2022-02-16T09:41:37.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # (C) British Crown Copyright 2017-2021 Met Office. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the ...
42.758242
88
0.681187
fc43b75bb4a6cda564bcd320da8b77c8174105e4
58,644
py
Python
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
bonsai/model.py
ipa-mirb/bonsai
cb73317cdf779566f7c496fc39546c9c689aa09c
[ "MIT" ]
null
null
null
#Copyright (c) 2017 Andre Santos # #Permission is hereby granted, free of charge, to any person obtaining a copy #of this software and associated documentation files (the "Software"), to deal #in the Software without restriction, including without limitation the rights #to use, copy, modify, merge, publish, distribute...
35.889841
81
0.60325
fc44182959538bc560fdd3758022cac4683b26ba
737
py
Python
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
api/views/todo_views.py
felipe-menelau/todo-list-web
9b60a549dc6d5bdd88e1a584b8bb2c4f56131cb5
[ "MIT" ]
null
null
null
from django.contrib.auth.models import User from rest_framework import viewsets, status from rest_framework.response import Response from rest_framework.permissions import IsAuthenticated, IsAdminUser from api.serializers import TODOListSerializer from api.models import TODOList
33.5
86
0.766621
fc4539e7bc135f9ebeba5ee7c487446b450f5f15
35
py
Python
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
404
2019-05-07T02:21:57.000Z
2022-03-31T17:03:04.000Z
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
1,672
2019-05-06T21:09:38.000Z
2022-03-31T23:16:04.000Z
Python/Tests/TestData/ProjectHomeProjects/Subfolder/ProgramB.py
techkey/PTVS
8355e67eedd8e915ca49bd38a2f36172696fd903
[ "Apache-2.0" ]
186
2019-05-13T03:17:37.000Z
2022-03-31T16:24:05.000Z
# ProgramB.py print('Hello World')
11.666667
20
0.714286
fc461d0fe4c1ef7384477f1e053ae3080c54c6a9
1,541
py
Python
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
1
2019-04-23T01:29:26.000Z
2019-04-23T01:29:26.000Z
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
68
2017-02-10T21:33:39.000Z
2019-06-22T13:40:02.000Z
donation/migrations/0043_auto_20180109_0012.py
effective-altruism-australia/donation-portal
45fe58edc44d0c4444b493e4ac025fc53897c799
[ "MIT" ]
5
2016-11-08T01:35:47.000Z
2020-12-08T07:32:34.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion
35.022727
171
0.658663
fc4647689f1b8d8a1248e0d89dd5fa8d84dedfbf
350
py
Python
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
python/is_even.py
c1m50c/twitter-examples
c3ed7cf88dacbb761fed1b0b0dc593d7d3648378
[ "MIT" ]
null
null
null
# Never do that! Use one of these instead... is_even = lambda i : i % 2 == 0 is_even = lambda i : not i & 1 is_odd = lambda i : not is_even(i)
20.588235
44
0.511429
fc46a91fda80741480960994acf3dbc98c9e618b
8,886
py
Python
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-07-27T11:30:23.000Z
2020-07-27T11:30:23.000Z
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
null
null
null
wordpress-brute.py
RandomRobbieBF/wordpress-bf
fe78d4367b7baaf18a4200c5c040595d37b4100f
[ "MIT" ]
1
2020-05-17T12:40:13.000Z
2020-05-17T12:40:13.000Z
#!/usr/bin/env python # # Wordpress Bruteforce Tool # # By @random_robbie # # import requests import json import sys import argparse import re import os.path from requests.packages.urllib3.exceptions import InsecureRequestWarning requests.packages.urllib3.disable_warnings(InsecureRequestWarning) session = requests.Se...
31.399293
388
0.679721
fc48029eb6bc6d9c3b97d0e2970ae2bc11eb162e
5,626
py
Python
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
null
null
null
graph_search/week2/assignment_dijkstra_shortest_paths.py
liaoaoyuan97/standford_algorithms_specialization
2914fdd397ce895d986ac855e78afd7a51ceff68
[ "MIT" ]
1
2021-01-18T19:35:48.000Z
2021-01-18T19:35:48.000Z
import heapq import time from os import path from math import floor if __name__ == "__main__": # test case 1, output: {1: 0, 2: 1, 3: 2, 4: 2, 5: 3, 6: 4} # graph = { # 1: [(6, 7), (5, 3), (2, 1), (4, 2), (3, 3)], # 2: [(1, 1), (3, 1), (4, 1), (6, 6)], # 3: [(1, 3), (2, 1), (6, 2)]...
27.714286
119
0.551369
fc480677b321e1843fe0812d2b7ce6bbeeb5090e
4,345
py
Python
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
604
2021-08-09T03:00:35.000Z
2022-03-31T13:43:14.000Z
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
158
2021-08-29T07:58:22.000Z
2022-03-31T15:23:27.000Z
ssod/utils/structure_utils.py
huimlight/SoftTeacher
97064fbcce1ab87b40977544ba7a9c488274d66f
[ "MIT" ]
92
2021-08-24T07:29:37.000Z
2022-03-29T03:01:34.000Z
import warnings from collections import Counter, Mapping, Sequence from numbers import Number from typing import Dict, List import numpy as np import torch from mmdet.core.mask.structures import BitmapMasks from torch.nn import functional as F _step_counter = Counter()
28.214286
88
0.607595
fc49b99b0326493e147f5f9c2af303341e2290ed
2,422
py
Python
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
tests/tabular_output/test_terminaltables_adapter.py
zzl0/cli_helpers
266645937423225bdb636ef6aa659f1a40ceec5f
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """Test the terminaltables output adapter.""" from __future__ import unicode_literals from textwrap import dedent import pytest from cli_helpers.compat import HAS_PYGMENTS from cli_helpers.tabular_output import terminaltables_adapter if HAS_PYGMENTS: from pygments.style import Style ...
34.6
86
0.547069
fc4a04571ae8ad033810ff66b391deb8c9d55bed
1,642
py
Python
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
1,738
2017-09-21T10:59:12.000Z
2022-03-31T21:05:46.000Z
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
427
2017-09-29T22:54:36.000Z
2022-02-15T19:26:50.000Z
dev/Tools/build/waf-1.7.13/waflib/extras/fc_xlf.py
jeikabu/lumberyard
07228c605ce16cbf5aaa209a94a3cb9d6c1a4115
[ "AML" ]
671
2017-09-21T08:04:01.000Z
2022-03-29T14:30:07.000Z
#! /usr/bin/env python # encoding: utf-8 # harald at klimachs.de import re from waflib import Utils,Errors from waflib.Tools import fc,fc_config,fc_scan from waflib.Configure import conf from waflib.Tools.compiler_fc import fc_compiler fc_compiler['aix'].insert(0, 'fc_xlf') def configure(conf): conf.find_xlf() con...
25.261538
115
0.693057
fc4af8f087c68aec19d9b595aee4bd3178dfeac2
9,119
py
Python
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
13
2020-11-05T04:22:51.000Z
2022-02-27T08:44:50.000Z
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
null
null
null
tutorials/create_table/tests.py
MeGustas-5427/SQL_Tutorials
627372c2d5d8656d72645830c9a1fae1df278fc7
[ "Apache-2.0" ]
2
2020-11-10T10:01:20.000Z
2021-04-07T02:33:29.000Z
#!/usr/bin/python3 # -*- coding:utf-8 -*- # __author__ = '__MeGustas__' from django.test import TestCase from django.db import connection from tutorials.create_table.models import * # Create your tests here.
67.051471
154
0.665205
fc4b846e57d2910c0d4eb0a932e3548a8ac421c6
31,822
py
Python
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
hero/hero.py
tmfds/dfk
91b6f95a4630b57deecf87cf4850b6576646c7d1
[ "MIT" ]
null
null
null
import copy from web3 import Web3 from .utils import utils as hero_utils CONTRACT_ADDRESS = '0x5f753dcdf9b1ad9aabc1346614d1f4746fd6ce5c' ABI = """ [ {"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"addres...
117.859259
5,003
0.671139
fc4c938deecee815416606c1468c7d127f759b88
364
py
Python
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
3
2016-04-13T17:49:09.000Z
2017-11-10T22:26:17.000Z
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
null
null
null
tests/test_langs_fr.py
honzajavorek/tipi
cbe51192725608b6fba1244a48610ae231b13e08
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from tipi import tipi as _tipi tipi = lambda s: _tipi(s, lang='fr')
17.333333
46
0.56044
fc50f97ead454f81e6290dc083d27cd62ab11353
2,878
py
Python
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
8
2015-03-07T02:56:32.000Z
2016-08-30T17:09:30.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
16
2015-02-25T16:09:39.000Z
2016-12-09T22:58:04.000Z
vendor/models.py
brethauer/mirage
396f61206bf76f997c0535277af918058aa1b827
[ "CC0-1.0" ]
13
2015-03-09T00:20:49.000Z
2021-02-14T11:02:32.000Z
from django.db import models VEHICLE_CHOICES = ( ('OASISSB', 'OASIS Small Business'), ('OASIS', 'OASIS Unrestricted') ) STATUS_CHOICES = ( ('P', 'In Progress'), ('C', 'Completed'), ('F', 'Cancelled') )
33.858824
82
0.709173
fc515ce56fd34f4315010ae886d6091f5950eab2
610
py
Python
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
two_qubit_simulator/circuits.py
L-McCormack/two-qubit-simulator
d7115f0630c9931724aa660dba4b89a50db4e2e0
[ "MIT" ]
null
null
null
""" Contains the QuantumCircuit class boom. """
23.461538
74
0.598361
fc519cd073372b79ff5e315d6c117f1de77e8ef5
602
py
Python
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
2
2021-06-22T18:18:47.000Z
2021-09-25T18:16:26.000Z
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
examples/bathymetricGradient.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
import sys sys.path.append("..") # change environment to see tools from make_hydrodem import bathymetricGradient workspace = r"" # path to geodatabase to use as a workspace snapGrid = r"" # path to snapping grid hucPoly = r"" # path to local folder polygon hydrographyArea = r"" # path to NHD area feature class...
43
67
0.757475
fc52596785d1ffc33b3982ed9e7fa9443b9fefb7
9,799
py
Python
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
null
null
null
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
null
null
null
out/flowContext.py
hxb1997/Menge
7a09a6236d8eef23e3d15d08873d5918d064761b
[ "Apache-2.0" ]
1
2021-07-01T09:40:01.000Z
2021-07-01T09:40:01.000Z
# This is the OpenGL context for drawing flow calculation lines from Context import * from primitives import Vector2, Segment from OpenGL.GL import * from copy import deepcopy
37.98062
89
0.525462
fc526e31f18c99d7210b6012a52b4a8ccf202ae9
35
py
Python
instascrape/collectors/__init__.py
Paola351/instascrape
b4a50c9140fa9054187738f6d1564cecc32cbaab
[ "MIT" ]
1
2021-03-10T03:36:43.000Z
2021-03-10T03:36:43.000Z
examples/collectors/__init__.py
fo0nikens/instascrape
699dd2169a96438d1d71bce5b1401fd5c5f0e531
[ "MIT" ]
null
null
null
examples/collectors/__init__.py
fo0nikens/instascrape
699dd2169a96438d1d71bce5b1401fd5c5f0e531
[ "MIT" ]
null
null
null
from .interval_collectors import *
17.5
34
0.828571
fc5346e19911a49d8686625f457f771311d07483
324
py
Python
Codes/gracekoo/test.py
ghoslation/algorithm
5708bf89e59a80cd0f50f2e6138f069b4f9bc96e
[ "Apache-2.0" ]
256
2017-10-25T13:02:15.000Z
2022-02-25T13:47:59.000Z
Codes/gracekoo/test.py
IYoreI/Algorithm
0addf0cda0ec9e3f46c480eeda3a8ecb64c94121
[ "Apache-2.0" ]
56
2017-10-27T01:34:20.000Z
2022-03-01T00:20:55.000Z
Codes/gracekoo/test.py
IYoreI/Algorithm
0addf0cda0ec9e3f46c480eeda3a8ecb64c94121
[ "Apache-2.0" ]
83
2017-10-25T12:51:53.000Z
2022-02-15T08:27:03.000Z
# -*- coding: utf-8 -*- # @Time: 2020/11/8 23:47 # @Author: GraceKoo # @File: test.py # @Desc: from threading import Thread import time if __name__ == "__main__": t1 = Thread(target=print_numbers) t1.setDaemon(True) t1.start() # print("")
16.2
37
0.623457
fc534b79cb83ef68a1a71a69fd50a17561f7b0a3
5,894
py
Python
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
src/_main_/settings.py
gregory-chekler/api
11ecbea945e7eb6fa677a0c0bb32bda51ba15f28
[ "MIT" ]
null
null
null
""" Django settings for massenergize_portal_backend project. Generated by 'django-admin startproject' using Django 2.1.4. For more information on this file, see https://docs.djangoproject.com/en/2.1/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/2.1/ref/setting...
29.918782
165
0.69172
fc545ada34aef15e72804247df9cc885de6ee820
2,657
py
Python
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
aiorpcgrid/client.py
urands/aiorpcgrid
7bc9ee9a80fa843998b2604d7c0803b323628480
[ "Apache-2.0" ]
null
null
null
import asyncio # from aiorpcgrid.client import Client from aiorpcgrid.task import AsyncTask, State
34.960526
77
0.546481
fc557f84938097fbd8c0d95d4d05c57f1ad0bde0
4,093
py
Python
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
null
null
null
python/src/otel/otel_sdk/opentelemetry/instrumentation/aws_lambda/__init__.py
matt-tyler/opentelemetry-lambda
6b427d351fa721620fcd387e836e9f2f9f20cb60
[ "Apache-2.0" ]
1
2021-01-24T12:08:18.000Z
2021-01-24T12:08:18.000Z
# Copyright 2020, OpenTelemetry Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to i...
34.108333
151
0.716101
fc572a69e6a41f7d2d8f4eb6c221dcaa2427e9e3
471
py
Python
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
instructors/migrations/0021_alter_user_avatar_url.py
bastoune57/gokiting_back_end
f3edcbeede292713349b28f2390b5d57e1420f8e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-04-01 16:09 from django.db import migrations, models
24.789474
108
0.651805
fc58e1c32b322dbf5e028fbcbb5c81a4dc6ff07a
1,348
py
Python
sopa/src/models/utils.py
SamplingAndEnsemblingSolvers/SamplingAndEnsemblingSolvers
5ad3cae76c3cc9cec4d347807012e61121ea61b9
[ "MIT" ]
25
2021-03-16T13:40:45.000Z
2021-08-12T04:54:39.000Z
sopa/src/models/utils.py
MetaSolver/icml2021
619774abe4a834ae371434af8b23379e9524e7da
[ "BSD-3-Clause" ]
null
null
null
sopa/src/models/utils.py
MetaSolver/icml2021
619774abe4a834ae371434af8b23379e9524e7da
[ "BSD-3-Clause" ]
1
2021-03-31T02:58:03.000Z
2021-03-31T02:58:03.000Z
import numpy as np import torch import random from .odenet_mnist.layers import MetaNODE
27.510204
99
0.635015
fc5ae40661fc1b76d02d932d2ea414f59839b072
319
py
Python
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
18
2019-07-11T13:31:09.000Z
2022-01-27T06:38:40.000Z
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
9
2019-09-01T21:44:49.000Z
2022-02-04T20:55:08.000Z
packages/micropython-official/v1.10/esp32/stubs/ubinascii.py
TheVinhLuong102/micropy-stubs
55ff1773008f7c4dfc3d70a403986486226eb6b3
[ "MIT" ]
6
2019-10-08T05:31:21.000Z
2021-04-22T10:21:01.000Z
""" Module: 'ubinascii' on esp32 1.10.0 """ # MCU: (sysname='esp32', nodename='esp32', release='1.10.0', version='v1.10 on 2019-01-25', machine='ESP32 module with ESP32') # Stubber: 1.2.0
15.190476
126
0.623824
fc5b4e12e35ec5a1123e4672989f9b50567b330a
3,141
py
Python
jv/test_jv.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
56
2017-05-09T10:45:23.000Z
2022-01-20T20:33:27.000Z
jv/test_jv.py
chenwang/QuantEcon.lectures.code
8832a74acd219a71cb0a99dc63c5e976598ac999
[ "BSD-3-Clause" ]
7
2017-06-30T01:52:46.000Z
2019-05-01T20:09:47.000Z
jv/test_jv.py
QuantEcon/QuantEcon.lectures.code
d61ac7bc54529dd5c77470c17539eb2418b047c9
[ "BSD-3-Clause" ]
117
2017-04-25T16:09:17.000Z
2022-03-23T02:30:29.000Z
""" @author : Spencer Lyon """ from __future__ import division import sys import unittest from nose.plugins.skip import SkipTest from jv import JvWorker from quantecon import compute_fixed_point from quantecon.tests import get_h5_data_file, write_array, max_abs_diff # specify params -- use defaults A = 1.4 alpha = 0...
28.044643
78
0.606176
fc5bfb461089e67c5b2c46ef4db3208ad1a8b352
9,820
py
Python
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
null
null
null
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
null
null
null
excentury/command/config.py
LaudateCorpus1/excentury
8d0f20bb3e543382170e042fac51a56377c4024b
[ "BSD-2-Clause" ]
1
2021-12-31T13:24:16.000Z
2021-12-31T13:24:16.000Z
"""Config This module is in charge of providing all the necessary settings to the rest of the modules in excentury. """ import os import re import sys import textwrap import argparse from collections import OrderedDict from excentury.command import error, trace, import_mod DESC = """Edit a configuration file for ex...
33.175676
77
0.559063
fc5d1f91e8b522de235f963587514841692890ab
4,696
py
Python
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
8
2020-10-12T02:59:03.000Z
2022-03-20T15:06:50.000Z
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
3
2020-10-13T16:30:09.000Z
2021-01-07T23:57:05.000Z
tests/test_urls.py
pkjmesra/nseta
28cd8cede465efe9f506a38c5933602c463e5185
[ "MIT" ]
5
2020-10-12T14:57:41.000Z
2021-12-30T11:52:34.000Z
# -*- coding: utf-8 -*- ''' Created on Thu Nov 19 20:52:33 2015 @author: SW274998 ''' from nseta.common.commons import * import datetime import unittest import time from bs4 import BeautifulSoup from tests import htmls import json import requests import six from nseta.common.urls import * import nseta.common.urls as ...
34.277372
178
0.643526
fc5d4359e9534912a4f50ac4cf894cf8797005d0
3,207
py
Python
accounts/forms.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
2
2019-08-30T14:42:45.000Z
2019-09-01T01:49:38.000Z
accounts/forms.py
cheradenine/Django-CRM
692572ced050d314c1f880af8b4000c97cbf7440
[ "MIT" ]
7
2021-03-31T20:01:14.000Z
2022-03-12T00:47:10.000Z
accounts/forms.py
gthreepwood/Django-CRM
12de7e6c622d9d7483c210212c8b7fe3dbde2739
[ "MIT" ]
1
2021-10-09T10:03:46.000Z
2021-10-09T10:03:46.000Z
from django import forms from .models import Account from common.models import Comment, Attachments from leads.models import Lead from contacts.models import Contact from django.db.models import Q
41.115385
104
0.617399
fc5dc71b519a1377907665d2b2ecee494faf08a3
2,408
py
Python
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
pywren/pywren_ibm_cloud/invokers.py
thetolga/pywren-ibm-cloud
ce48c158cf469b55100ab68a75d3dcd6ae9a3ffe
[ "Apache-2.0" ]
null
null
null
# # Copyright 2018 PyWren Team # # 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...
34.898551
148
0.658638
fc5f5a1b908ccb47f94225746e71f15650a97363
4,160
py
Python
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
Projet1/Dataset/addlinkRealExample.py
Arugakente/DataScienceP1
94ca874ed8a76a89a3da9ecf2fe6e554700f0507
[ "MIT" ]
null
null
null
import os import random inputDirectory = "./original" outputDirectory = "./processed" #probability parameters TopLevel = 0.6 SecondLevel = 0.5 ThirdLevel = 0.4 FourAndAbove = 0.2 pickInside = 0.5 pickOutside = 0.25 topics = [] siteLevel = [] fileStructure = [] count = 0 topicIndex=0 for foldername in os.listdir...
33.821138
178
0.571394
fc61f699dd50ec363bb2a766f77f3f5058fefd54
13,616
py
Python
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
null
null
null
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
1
2021-02-09T10:18:14.000Z
2021-02-17T08:28:58.000Z
kkcalc/kk.py
benajamin/kkcalc
fcabfba288442dd297e3bd9910062c5db2231a91
[ "Zlib" ]
3
2021-02-06T23:37:14.000Z
2022-01-19T15:26:26.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # This file is part of the Kramers-Kronig Calculator software package. # # Copyright (c) 2013 Benjamin Watts, Daniel J. Lauk # # The software is licensed under the terms of the zlib/libpng license. # For details see LICENSE.txt """This module implements the Kramers-Kronig...
47.608392
363
0.735238
fc62c8d6aa28b5a801e73fa4abc1d1fe577304dd
1,884
py
Python
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
random-images/hexxy.py
dominicschaff/random
14a19b976a09c768ab8844b7cda237c17a92c9ae
[ "MIT" ]
null
null
null
from PIL import ImageDraw, Image from math import cos,sin,radians from random import randint import sys a = "a0A1b2B3c4C5d6D7e8E9f!F,g.G/h?H<i>I:j;J'k\"K\\l|L/m M\nn\tN@o#O$p%P^q&Q*r(R)s_S-t+T=u{U}v[V]w W x X y Y z Z" if len(a) > 128: print("TOO MANY CHARACTERS") sys.exit(1) # for i in a: # print("%s -> %...
28.545455
113
0.537686
fc63326e97a96ff49b392fe1692ec3ec3a6b80ad
16,626
py
Python
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
src/plugins/maimaidx.py
LonelyFantasy/Chiyuki-Bot
16a91b96661825c2a367a12c30d6a28ad13b95a9
[ "MIT" ]
null
null
null
import math from collections import defaultdict from typing import List, Dict, Any from nonebot import on_command, on_message, on_notice, on_regex, get_driver from nonebot.log import logger from nonebot.permission import Permission from nonebot.typing import T_State from nonebot.adapters import Event, Bot from nonebot...
33.318637
216
0.566582