hexsha
string
size
int64
ext
string
lang
string
max_stars_repo_path
string
max_stars_repo_name
string
max_stars_repo_head_hexsha
string
max_stars_repo_licenses
list
max_stars_count
int64
max_stars_repo_stars_event_min_datetime
string
max_stars_repo_stars_event_max_datetime
string
max_issues_repo_path
string
max_issues_repo_name
string
max_issues_repo_head_hexsha
string
max_issues_repo_licenses
list
max_issues_count
int64
max_issues_repo_issues_event_min_datetime
string
max_issues_repo_issues_event_max_datetime
string
max_forks_repo_path
string
max_forks_repo_name
string
max_forks_repo_head_hexsha
string
max_forks_repo_licenses
list
max_forks_count
int64
max_forks_repo_forks_event_min_datetime
string
max_forks_repo_forks_event_max_datetime
string
content
string
avg_line_length
float64
max_line_length
int64
alphanum_fraction
float64
qsc_code_num_words_quality_signal
int64
qsc_code_num_chars_quality_signal
float64
qsc_code_mean_word_length_quality_signal
float64
qsc_code_frac_words_unique_quality_signal
float64
qsc_code_frac_chars_top_2grams_quality_signal
float64
qsc_code_frac_chars_top_3grams_quality_signal
float64
qsc_code_frac_chars_top_4grams_quality_signal
float64
qsc_code_frac_chars_dupe_5grams_quality_signal
float64
qsc_code_frac_chars_dupe_6grams_quality_signal
float64
qsc_code_frac_chars_dupe_7grams_quality_signal
float64
qsc_code_frac_chars_dupe_8grams_quality_signal
float64
qsc_code_frac_chars_dupe_9grams_quality_signal
float64
qsc_code_frac_chars_dupe_10grams_quality_signal
float64
qsc_code_frac_chars_replacement_symbols_quality_signal
float64
qsc_code_frac_chars_digital_quality_signal
float64
qsc_code_frac_chars_whitespace_quality_signal
float64
qsc_code_size_file_byte_quality_signal
float64
qsc_code_num_lines_quality_signal
float64
qsc_code_num_chars_line_max_quality_signal
float64
qsc_code_num_chars_line_mean_quality_signal
float64
qsc_code_frac_chars_alphabet_quality_signal
float64
qsc_code_frac_chars_comments_quality_signal
float64
qsc_code_cate_xml_start_quality_signal
float64
qsc_code_frac_lines_dupe_lines_quality_signal
float64
qsc_code_cate_autogen_quality_signal
float64
qsc_code_frac_lines_long_string_quality_signal
float64
qsc_code_frac_chars_string_length_quality_signal
float64
qsc_code_frac_chars_long_word_length_quality_signal
float64
qsc_code_frac_lines_string_concat_quality_signal
float64
qsc_code_cate_encoded_data_quality_signal
float64
qsc_code_frac_chars_hex_words_quality_signal
float64
qsc_code_frac_lines_prompt_comments_quality_signal
float64
qsc_code_frac_lines_assert_quality_signal
float64
qsc_codepython_cate_ast_quality_signal
float64
qsc_codepython_frac_lines_func_ratio_quality_signal
float64
qsc_codepython_cate_var_zero_quality_signal
bool
qsc_codepython_frac_lines_pass_quality_signal
float64
qsc_codepython_frac_lines_import_quality_signal
float64
qsc_codepython_frac_lines_simplefunc_quality_signal
float64
qsc_codepython_score_lines_no_logic_quality_signal
float64
qsc_codepython_frac_lines_print_quality_signal
float64
qsc_code_num_words
int64
qsc_code_num_chars
int64
qsc_code_mean_word_length
int64
qsc_code_frac_words_unique
null
qsc_code_frac_chars_top_2grams
int64
qsc_code_frac_chars_top_3grams
int64
qsc_code_frac_chars_top_4grams
int64
qsc_code_frac_chars_dupe_5grams
int64
qsc_code_frac_chars_dupe_6grams
int64
qsc_code_frac_chars_dupe_7grams
int64
qsc_code_frac_chars_dupe_8grams
int64
qsc_code_frac_chars_dupe_9grams
int64
qsc_code_frac_chars_dupe_10grams
int64
qsc_code_frac_chars_replacement_symbols
int64
qsc_code_frac_chars_digital
int64
qsc_code_frac_chars_whitespace
int64
qsc_code_size_file_byte
int64
qsc_code_num_lines
int64
qsc_code_num_chars_line_max
int64
qsc_code_num_chars_line_mean
int64
qsc_code_frac_chars_alphabet
int64
qsc_code_frac_chars_comments
int64
qsc_code_cate_xml_start
int64
qsc_code_frac_lines_dupe_lines
int64
qsc_code_cate_autogen
int64
qsc_code_frac_lines_long_string
int64
qsc_code_frac_chars_string_length
int64
qsc_code_frac_chars_long_word_length
int64
qsc_code_frac_lines_string_concat
null
qsc_code_cate_encoded_data
int64
qsc_code_frac_chars_hex_words
int64
qsc_code_frac_lines_prompt_comments
int64
qsc_code_frac_lines_assert
int64
qsc_codepython_cate_ast
int64
qsc_codepython_frac_lines_func_ratio
int64
qsc_codepython_cate_var_zero
int64
qsc_codepython_frac_lines_pass
int64
qsc_codepython_frac_lines_import
int64
qsc_codepython_frac_lines_simplefunc
int64
qsc_codepython_score_lines_no_logic
int64
qsc_codepython_frac_lines_print
int64
effective
string
hits
int64
9466c4f2e6843dbf36aa94313626f6dbd46ae725
2,343
py
Python
song_maker.py
D4v3sb/unturned_stereoMusic
e3ad289ffca1b26c20077656a528ee013111ca29
[ "Apache-2.0" ]
1
2022-01-17T19:06:08.000Z
2022-01-17T19:06:08.000Z
song_maker.py
D4v3sb/unturned_stereoMusic
e3ad289ffca1b26c20077656a528ee013111ca29
[ "Apache-2.0" ]
1
2022-01-19T00:55:48.000Z
2022-01-19T00:55:48.000Z
song_maker.py
D4v3sb/unturned_stereoMusic
e3ad289ffca1b26c20077656a528ee013111ca29
[ "Apache-2.0" ]
1
2022-01-17T18:53:30.000Z
2022-01-17T18:53:30.000Z
# created by gelearthur # imports import uuid import os import argparse # arguments parser = argparse.ArgumentParser("Script that makes music files for unturned") parser.add_argument('-f','--file',help="A path to the myMusic.content.manifest",required=True) args = parser.parse_args() # a loop thing asse...
33.956522
141
0.638924
294
2,343
5.068027
0.37415
0.191275
0.187919
0.07047
0.216107
0.14094
0.060403
0
0
0
0
0.00593
0.20828
2,343
68
142
34.455882
0.797305
0.169868
0
0.155556
0
0.022222
0.199141
0.040794
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
946a32d70754e56f6adccd50de8753ae80d934d7
8,996
py
Python
SLURM_tools/raxml_job_generator.py
magitz/ToolBox
201d6e5aced576f057820c86276b27b0f90be381
[ "MIT" ]
3
2018-05-04T02:17:30.000Z
2019-01-09T18:47:12.000Z
SLURM_tools/raxml_job_generator.py
magitz/ToolBox
201d6e5aced576f057820c86276b27b0f90be381
[ "MIT" ]
null
null
null
SLURM_tools/raxml_job_generator.py
magitz/ToolBox
201d6e5aced576f057820c86276b27b0f90be381
[ "MIT" ]
4
2015-09-21T18:58:03.000Z
2018-05-04T02:17:37.000Z
#!/usr/bin/env python import argparse import sys, subprocess, os import re import datetime import math # Generate customized SLURM submit scripts to run RAxML-ng. # Takes a directory of alignmets, runs the raxml-ng --parse # function to get estimates of RAM and CPU needs for the job. # Then uses a templates sba...
41.266055
178
0.619942
1,206
8,996
4.491708
0.233831
0.029721
0.040797
0.009599
0.155806
0.100055
0.092302
0.081595
0.057227
0.057227
0
0.008707
0.25956
8,996
217
179
41.456221
0.804534
0.16763
0
0.19863
1
0.034247
0.257592
0.023112
0
0
0
0
0
1
0.034247
false
0.006849
0.034247
0
0.089041
0.109589
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
946f34607a1621866af4622a99ecdbb24d4d64ab
204
py
Python
nexus/examples/qmcpack/rsqmc_pyscf/02_diamond_hf_qmc/scf_template.py
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
nexus/examples/qmcpack/rsqmc_pyscf/02_diamond_hf_qmc/scf_template.py
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
nexus/examples/qmcpack/rsqmc_pyscf/02_diamond_hf_qmc/scf_template.py
prckent/qmcpack
127caf219ee99c2449b803821fcc8b1304b66ee1
[ "NCSA" ]
null
null
null
#!/usr/bin/env python from pyscf.pbc import df, scf $system gdf = df.FFTDF(cell,kpts) gdf.auxbasis = 'weigend' mf = scf.KRHF(cell,kpts).density_fit() mf.exxdiv = 'ewald' mf.with_df = gdf mf.kernel()
14.571429
38
0.691176
35
204
3.971429
0.714286
0.115108
0
0
0
0
0
0
0
0
0
0
0.142157
204
13
39
15.692308
0.794286
0.098039
0
0
0
0
0.065574
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
946fb348a21cbb5cc5a00639e4ef5e8dd2f58eb4
1,533
py
Python
business/consumer/tweet_consumer.py
Flex97115/tweet-bot
09658cb23230c253bdf11946ac37cd4d328844ff
[ "MIT" ]
null
null
null
business/consumer/tweet_consumer.py
Flex97115/tweet-bot
09658cb23230c253bdf11946ac37cd4d328844ff
[ "MIT" ]
null
null
null
business/consumer/tweet_consumer.py
Flex97115/tweet-bot
09658cb23230c253bdf11946ac37cd4d328844ff
[ "MIT" ]
null
null
null
import tweepy from business.consumer.api_consumer import ApiConsumer class TweetConsumer(ApiConsumer): # Standard search tweet with query # https://developer.twitter.com/en/docs/tweets/search/guides/standard-operators def search(self, query, since_id): if query is None: raise Exceptio...
37.390244
88
0.621005
186
1,533
5.053763
0.365591
0.057447
0.038298
0.054255
0.484043
0.297872
0.297872
0.297872
0.297872
0.297872
0
0.003543
0.263536
1,533
40
89
38.325
0.829052
0.099804
0
0.258065
0
0
0.15625
0
0
0
0
0.025
0
1
0.129032
false
0
0.064516
0
0.354839
0.225806
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
94737392288ebb2aaa76e15504cc6db5d3a21a4f
576
py
Python
day3/day3.py
ExtraBB/aoc-2020
9655e37c165ea5bcfcd74b9fc772e9ecb184953b
[ "Unlicense" ]
null
null
null
day3/day3.py
ExtraBB/aoc-2020
9655e37c165ea5bcfcd74b9fc772e9ecb184953b
[ "Unlicense" ]
null
null
null
day3/day3.py
ExtraBB/aoc-2020
9655e37c165ea5bcfcd74b9fc772e9ecb184953b
[ "Unlicense" ]
null
null
null
file = open("input") lines = file.readlines() pattern_len = len(lines[0]) def part1(lines, right, down): count = 0 pattern_len = len(lines[0]) x = 0 y = 0 while y < len(lines) - down: x += right y += down if lines[y][x % (pattern_len - 1)] == "#": ...
23.04
114
0.515625
85
576
3.458824
0.317647
0.238095
0.14966
0.122449
0.129252
0
0
0
0
0
0
0.075377
0.309028
576
24
115
24
0.663317
0
0
0.111111
0
0
0.039855
0
0
0
0
0
0
1
0.111111
false
0
0
0.055556
0.222222
0.111111
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
94738faf582a4a9d3dff870a55d3932052f704d2
510
py
Python
src/modules/watcher/watcher.py
schandrasekhar/msgWatcher
2b2f301236957c5921d05590e3334ad87e1745db
[ "MIT" ]
null
null
null
src/modules/watcher/watcher.py
schandrasekhar/msgWatcher
2b2f301236957c5921d05590e3334ad87e1745db
[ "MIT" ]
null
null
null
src/modules/watcher/watcher.py
schandrasekhar/msgWatcher
2b2f301236957c5921d05590e3334ad87e1745db
[ "MIT" ]
null
null
null
import pyinotify DIR_TO_WATCH=/tmp wm = pyinotify.WatchManager() dir_events = pyinotify.IN_CREATE class EventHandler(pyinotify.ProcessEvent): """docstring for EventHandler""" def __init__(self, arg): super(EventHandler, self).__init__() self.arg = arg def process_IN_CREATE(self, event):...
22.173913
51
0.729412
64
510
5.5
0.515625
0.028409
0.056818
0
0
0
0
0
0
0
0
0
0.164706
510
23
52
22.173913
0.826291
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
94754f97dcd8048f867b8edf688fc16261c62089
811
py
Python
SCALA_scripts/MonoChromator_Clear.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
SCALA_scripts/MonoChromator_Clear.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
SCALA_scripts/MonoChromator_Clear.py
snfactory/scala
f046d0e458bc4146546e80df16e15259f6019f93
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import Monochromator_tools as Mt ############################################################## # ---------------------------------------------------------- # # ----------- Cleaning of MonoChromator--------------------- # # ---------------------------------------------------------- ...
24.575758
78
0.38471
56
811
5.339286
0.642857
0
0
0
0
0
0
0
0
0
0
0
0.217016
811
32
79
25.34375
0.470866
0.240444
0
0
0
0
0.150826
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
947a2cb0194cc06008cc2ff3d06d31078e0b48f4
20,211
py
Python
fly_drone.py
AndresNTM/pc-drone
d2f5942ec95cac8da6b34cc7aa90856c1017bc9f
[ "MIT" ]
35
2016-07-02T23:30:53.000Z
2022-02-13T15:34:28.000Z
fly_drone.py
AndresNTM/pc-drone
d2f5942ec95cac8da6b34cc7aa90856c1017bc9f
[ "MIT" ]
3
2017-01-03T17:35:53.000Z
2019-09-11T05:22:51.000Z
fly_drone.py
AndresNTM/pc-drone
d2f5942ec95cac8da6b34cc7aa90856c1017bc9f
[ "MIT" ]
23
2016-07-31T05:10:08.000Z
2020-09-24T06:09:37.000Z
# -*- coding: utf-8 -*- """ Created on Mon Feb 08 23:00:39 2016 @author: perrytsao """ import cv2 import numpy as np import pickle #import itertools import serial# time# msvcrt import time import timeit from datetime import datetime timestamp="{:%Y_%m_%d_%H_%M}".format(datetime.now()) import control_params as cp ...
41.84472
157
0.572015
2,741
20,211
4.029916
0.169281
0.076589
0.029422
0.037842
0.548343
0.527521
0.505884
0.45564
0.432464
0.408655
0
0.050953
0.298897
20,211
483
158
41.844721
0.728582
0.128445
0
0.39011
0
0
0.050478
0.0099
0
0
0
0
0
0
null
null
0
0.024725
null
null
0.046703
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9486b87da4977dc928527def46fb81c61eb36782
2,491
py
Python
docker_files/deploy-server.py
slashsec-edu/cryton-core
30931c276cf1ed239b50cdb96d5711468d361eea
[ "MIT" ]
null
null
null
docker_files/deploy-server.py
slashsec-edu/cryton-core
30931c276cf1ed239b50cdb96d5711468d361eea
[ "MIT" ]
null
null
null
docker_files/deploy-server.py
slashsec-edu/cryton-core
30931c276cf1ed239b50cdb96d5711468d361eea
[ "MIT" ]
null
null
null
from rpyc.utils.server import ThreadedServer import rpyc import subprocess import os import re from dataclasses import dataclass DOCKER_SWARM_ADDR = os.getenv('DOCKER_SWARM_ADDR') @dataclass class WorkerCXT: host_addr: str username: str password: str key_file: str def __init__(self): pas...
35.084507
119
0.607387
273
2,491
5.340659
0.347985
0.052812
0.043896
0.05487
0.325789
0.240055
0.240055
0.240055
0.240055
0.240055
0
0.005571
0.279406
2,491
70
120
35.585714
0.806685
0
0
0.207547
0
0
0.161782
0
0
0
0
0
0
1
0.09434
false
0.075472
0.113208
0
0.320755
0.018868
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
846e70808ca548891d92bab352083e6f0c7bcc3b
417
py
Python
test/tracebacke.py
lishulong16/mokitou
96c5af6f86b2786ffda203f023b4a5f11015853f
[ "MIT" ]
1
2018-04-25T01:32:15.000Z
2018-04-25T01:32:15.000Z
test/tracebacke.py
lishulong16/mokitou
96c5af6f86b2786ffda203f023b4a5f11015853f
[ "MIT" ]
null
null
null
test/tracebacke.py
lishulong16/mokitou
96c5af6f86b2786ffda203f023b4a5f11015853f
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @contact: lishulong.never@gmail.com @time: 2018/4/9 上午11:53 """ import traceback import logging logger = logging.getLogger(__file__) spc_check_overdue_cnt = { 'name': "info" } try: a = 1 / 0 except Exception as e: logger.exception('error:{},content:{} ,spc_check_overdue_cnt:{...
18.130435
78
0.645084
55
417
4.636364
0.727273
0.094118
0.176471
0.211765
0
0
0
0
0
0
0
0.038462
0.189448
417
22
79
18.954545
0.715976
0.196643
0
0
0
0
0.171254
0.076453
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.083333
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
847135767656902af94d340d303ff97892f4998c
5,324
py
Python
ctakes-temporal/scripts/keras/et_RCNN_train-and-package.py
ahmeshaf/ctakes
bc04542ded3fc8a797bfc107de5e9a929aac9ed3
[ "Apache-2.0" ]
6
2018-11-03T22:43:35.000Z
2022-02-15T17:51:33.000Z
ctakes-temporal/scripts/keras/et_RCNN_train-and-package.py
sumanismcse/ctakes
ac06035fd92be9c353da1360d7d97547b344084e
[ "Apache-2.0" ]
2
2019-04-08T03:42:59.000Z
2019-10-28T13:42:59.000Z
ctakes-temporal/scripts/keras/et_RCNN_train-and-package.py
sumanismcse/ctakes
ac06035fd92be9c353da1360d7d97547b344084e
[ "Apache-2.0" ]
10
2017-04-10T21:40:22.000Z
2022-02-21T16:50:10.000Z
#!/usr/bin/env python import sklearn as sk import numpy as np np.random.seed(1337) import et_cleartk_io as ctk_io import nn_models import sys import os.path import dataset import keras as k from keras.utils.np_utils import to_categorical from keras.optimizers import RMSprop from keras.preprocessing.sequence impor...
35.026316
100
0.658903
758
5,324
4.451187
0.269129
0.039123
0.046236
0.039123
0.243628
0.213989
0.18524
0.169828
0.169828
0.133966
0
0.026498
0.213186
5,324
152
101
35.026316
0.778945
0.148385
0
0.189655
0
0.008621
0.069272
0.016208
0
0
0
0
0
0
null
null
0
0.146552
null
null
0.051724
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8475d203086e45065eff8b1c6603a0a5c2425d20
1,750
py
Python
bin/features/steps/step_tutorial10.py
raulpush/monitorizare-site
b38262e2bce3d42f49650fca624ec5f69bbddfc8
[ "Apache-2.0" ]
null
null
null
bin/features/steps/step_tutorial10.py
raulpush/monitorizare-site
b38262e2bce3d42f49650fca624ec5f69bbddfc8
[ "Apache-2.0" ]
null
null
null
bin/features/steps/step_tutorial10.py
raulpush/monitorizare-site
b38262e2bce3d42f49650fca624ec5f69bbddfc8
[ "Apache-2.0" ]
null
null
null
# -*- coding: UTF-8 -*- """ Based on ``behave tutorial`` Feature: A Step uses a User-Defined Type as Step Parameter (tutorial10) Scenario Outline: Calculator Given I have a calculator When I add "<x>" and "<y>" Then the calculator returns "<sum>" Examples: Add Numbers | x | y | sum | ...
30.172414
78
0.533714
194
1,750
4.742268
0.386598
0.047826
0.03587
0.058696
0.204348
0.067391
0
0
0
0
0
0.011252
0.187429
1,750
57
79
30.701754
0.635724
0.578286
0
0
0
0
0.137536
0
0
0
0
0
0.263158
1
0.210526
false
0
0.210526
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
8479a794fa91df49946b4edcd708845cccea9fb5
1,157
py
Python
segeval/data/tsv_test.py
cfournie/segmentation.evaluation
c4140b48112aac697aa7f05effe8026648ebc501
[ "BSD-3-Clause" ]
27
2015-03-22T23:06:47.000Z
2022-01-21T23:21:05.000Z
segeval/data/tsv_test.py
cfournie/segmentation.evaluation
c4140b48112aac697aa7f05effe8026648ebc501
[ "BSD-3-Clause" ]
4
2015-03-12T18:27:08.000Z
2019-10-24T13:09:31.000Z
segeval/data/tsv_test.py
cfournie/segmentation.evaluation
c4140b48112aac697aa7f05effe8026648ebc501
[ "BSD-3-Clause" ]
7
2015-03-12T18:29:27.000Z
2019-01-25T08:52:05.000Z
''' Tests the data merge functions and package. .. moduleauthor:: Chris Fournier <chris.m.fournier@gmail.com> ''' from __future__ import absolute_import import unittest import os from segeval.data.tsv import (input_linear_mass_tsv, input_linear_positions_tsv) from segeval.data.samples import HEARST_1997_STARGAZER cl...
30.447368
80
0.677615
140
1,157
5.264286
0.335714
0.089552
0.061058
0.07327
0.14654
0.14654
0.14654
0.14654
0.14654
0.14654
0
0.032186
0.221262
1,157
37
81
31.27027
0.785794
0.163354
0
0.117647
0
0
0.096774
0.026696
0
0
0
0
0.117647
1
0.117647
false
0
0.294118
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
847ae54c1ebd0457a204dd711c9f38cf13a98a5a
1,018
py
Python
src/lennybot/actions/download_resources.py
raynigon/lenny-bot
d906a25dc28d9102829d3d6265d300f65406db02
[ "Apache-2.0" ]
1
2021-12-15T14:03:54.000Z
2021-12-15T14:03:54.000Z
src/lennybot/actions/download_resources.py
raynigon/lenny-bot
d906a25dc28d9102829d3d6265d300f65406db02
[ "Apache-2.0" ]
1
2021-12-15T14:02:57.000Z
2021-12-15T17:44:26.000Z
src/lennybot/actions/download_resources.py
raynigon/lennybot
79bee9a834f885a0da2484b239cf6efaf9cb9e4e
[ "Apache-2.0" ]
null
null
null
from ..config.config import LennyBotActionConfig from .iaction import IAction import requests class DownloadResourcesAction(IAction): def __init__(self, name, source_version, target_version, config: LennyBotActionConfig) -> None: self._name = name self._source_version = source_version self...
31.8125
99
0.678782
117
1,018
5.623932
0.376068
0.118541
0.077508
0.077508
0.072948
0
0
0
0
0
0
0.003846
0.233792
1,018
32
100
31.8125
0.839744
0
0
0.115385
0
0
0.039254
0
0
0
0
0
0
1
0.192308
false
0
0.115385
0.115385
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
847b766d1b938e3a2982014f6999c191842e38dd
4,333
py
Python
safenotes/files_accessor.py
Guilherme-Vasconcelos/safenotes
8c49c3c0cad5c4596524933af6fc378b0c548200
[ "MIT" ]
1
2020-12-22T17:31:52.000Z
2020-12-22T17:31:52.000Z
safenotes/files_accessor.py
Guilherme-Vasconcelos/safenotes
8c49c3c0cad5c4596524933af6fc378b0c548200
[ "MIT" ]
22
2020-12-22T17:30:17.000Z
2020-12-28T08:21:35.000Z
safenotes/files_accessor.py
Guilherme-Vasconcelos/safenotes
8c49c3c0cad5c4596524933af6fc378b0c548200
[ "MIT" ]
null
null
null
from safenotes.paths import SAFENOTES_DIR_PATH, PASSWORD_FILE_PATH from safenotes.colors import red, green, yellow, blue from safenotes.helpers import display_colored_text from hmac import compare_digest as compare_hash from os.path import isfile, join from os import listdir, system from getpass import getpass from cry...
36.411765
113
0.7009
629
4,333
4.643879
0.279809
0.062992
0.05546
0.035604
0.307771
0.218761
0.184184
0.139678
0.062307
0.036974
0
0
0.19063
4,333
118
114
36.720339
0.832906
0.243019
0
0.106061
0
0
0.16872
0.006635
0
0
0
0.008475
0
1
0.19697
false
0.439394
0.151515
0
0.439394
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
847c4672d5615fe89b21660e2c61d635e02afaf2
1,823
py
Python
RQ2_ros_implementation/mission-runner/__main__.py
S2-group/msr-2021-robotics-green-architectural-tactics-replication-package
fc4a205b00abb0b096c472856002e440e73f2c5d
[ "MIT" ]
2
2021-03-26T17:29:27.000Z
2021-03-27T20:06:21.000Z
RQ2_ros_implementation/mission-runner/__main__.py
S2-group/msr-2021-robotics-green-architectural-tactics-replication-package
fc4a205b00abb0b096c472856002e440e73f2c5d
[ "MIT" ]
null
null
null
RQ2_ros_implementation/mission-runner/__main__.py
S2-group/msr-2021-robotics-green-architectural-tactics-replication-package
fc4a205b00abb0b096c472856002e440e73f2c5d
[ "MIT" ]
null
null
null
import sys import rospy import signal from geometry_msgs.msg import Twist # AUTONOMOUS MOVEMENT from A_movement.baseline.A_Baseline import A_Baseline from A_movement.ee1.A_EE1 import A_EE1 from A_movement.ee2.A_EE2 import A_EE2 from A_movement.ee3.A_EE3 import A_EE3 from A_movement.ee4.A_EE4 import A_EE4 from A_movem...
30.898305
70
0.699397
251
1,823
4.792829
0.231076
0.024938
0.064838
0.04655
0.0532
0
0
0
0
0
0
0.02408
0.179923
1,823
59
71
30.898305
0.780602
0.185409
0
0.102564
0
0
0.028475
0
0
0
0
0
0
1
0.051282
false
0
0.615385
0
0.666667
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
847fabd2c266ed879cf2b0c868033f3ad0b5e338
892
py
Python
notifications/migrations/0012_surgealert_is_stood_down.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
11
2018-06-11T06:05:12.000Z
2022-03-25T09:31:44.000Z
notifications/migrations/0012_surgealert_is_stood_down.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
498
2017-11-07T21:20:13.000Z
2022-03-31T14:37:18.000Z
notifications/migrations/0012_surgealert_is_stood_down.py
IFRCGo/ifrcgo-api
c1c3e0cf1076ab48d03db6aaf7a00f8485ca9e1a
[ "MIT" ]
6
2018-04-11T13:29:50.000Z
2020-07-16T16:52:11.000Z
# Generated by Django 2.2.24 on 2021-11-04 08:51 from django.db import migrations, models def update_stood_down(self, schema_editor): "Set is_stood_down value depending on molnix_status for existing records" SurgeAlert = self.get_model('notifications', 'surgealert') for record in SurgeAlert.objects.all():...
34.307692
88
0.692825
107
892
5.570093
0.588785
0.105705
0.092282
0.050336
0
0
0
0
0
0
0
0.028169
0.204036
892
25
89
35.68
0.811268
0.133408
0
0
1
0
0.222749
0.027251
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8481d49689b54660759c6946b9255868de124de1
731
py
Python
savepointradio/radio/migrations/0005_replaygain_data.py
RecursiveGreen/spradio-django2
ef7c6e535fdf4bf096b0a1669005600fa8e5ac92
[ "MIT" ]
null
null
null
savepointradio/radio/migrations/0005_replaygain_data.py
RecursiveGreen/spradio-django2
ef7c6e535fdf4bf096b0a1669005600fa8e5ac92
[ "MIT" ]
null
null
null
savepointradio/radio/migrations/0005_replaygain_data.py
RecursiveGreen/spradio-django2
ef7c6e535fdf4bf096b0a1669005600fa8e5ac92
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-07-03 13:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('radio', '0004_new_song_path_structure'), ] operations = [ migrations.AddField( model_name='store', name='track_gain'...
30.458333
144
0.637483
85
731
5.317647
0.611765
0.00885
0.10177
0.119469
0.380531
0.380531
0.380531
0
0
0
0
0.043796
0.250342
731
23
145
31.782609
0.781022
0.06156
0
0.352941
1
0
0.188596
0.040936
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
84855aa8588f5085f5a54bc10be22fb1af4ddfee
1,015
py
Python
profiletools/utils.py
pydanny/django-profiletools
4c88e749cdae86136b1ad257827de27e895e5a79
[ "MIT" ]
5
2015-12-14T13:01:25.000Z
2017-06-16T08:30:08.000Z
profiletools/utils.py
pydanny/django-profiletools
4c88e749cdae86136b1ad257827de27e895e5a79
[ "MIT" ]
null
null
null
profiletools/utils.py
pydanny/django-profiletools
4c88e749cdae86136b1ad257827de27e895e5a79
[ "MIT" ]
3
2015-09-29T22:07:55.000Z
2020-06-08T01:44:17.000Z
from django.conf import settings from django.core.exceptions import ObjectDoesNotExist from django.db.models import get_model def get_profile(user): """ Rather than throw an error on get_profile, we just return None. Makes handling of anonymous users in non-loggedin areas easier. """ if user.is_a...
27.432432
91
0.704433
135
1,015
5.051852
0.42963
0.133431
0.099707
0.083578
0.152493
0.152493
0.102639
0
0
0
0
0.004969
0.206897
1,015
36
92
28.194444
0.842236
0.291626
0
0.117647
0
0
0.013554
0
0
0
0
0
0
1
0.176471
false
0
0.176471
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
848b7e780fd08889b25cb0f4fa0d739b56561952
811
py
Python
01 - Basics/26-functions-args-lists.py
python-demo-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
2
2019-08-23T06:05:55.000Z
2019-08-26T03:56:07.000Z
01 - Basics/26-functions-args-lists.py
python-lang-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
null
null
null
01 - Basics/26-functions-args-lists.py
python-lang-codes/basics
2a151bbff4b528cefd52978829c632fd087c8f20
[ "DOC" ]
4
2020-10-01T07:16:07.000Z
2021-07-17T07:55:08.000Z
# HEAD # Python Functions - *args # DESCRIPTION # Describes # capturing all arguments as *args (tuple) # # RESOURCES # # Arguments (any number during invocation) can also be # caught as a sequence of arguments - tuple using *args # Order does matter for unnamed arguments list and makes for # inde...
25.34375
61
0.691739
116
811
4.836207
0.594828
0.078431
0.039216
0
0
0
0
0
0
0
0
0.011254
0.233046
811
31
62
26.16129
0.890675
0.745993
0
0
0
0
0.103825
0
0
0
0
0
0
1
0.2
false
0
0
0
0.2
0.8
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
848e2f1689d6947e84a98a1182e164a327906546
733
py
Python
scripts/load_data.py
slbsolomon/DSCI_522_GROUP_312
0903c7bf717bbd5e99976198d235b8a3e67c576b
[ "MIT" ]
null
null
null
scripts/load_data.py
slbsolomon/DSCI_522_GROUP_312
0903c7bf717bbd5e99976198d235b8a3e67c576b
[ "MIT" ]
38
2020-01-16T23:43:16.000Z
2020-02-13T18:47:22.000Z
scripts/load_data.py
slbsolomon/DSCI_522_GROUP_312
0903c7bf717bbd5e99976198d235b8a3e67c576b
[ "MIT" ]
6
2020-01-16T22:36:23.000Z
2020-02-04T07:53:38.000Z
# author: Group 312, George, Eithar, Sam # date: 2020-1-18 """ Downloads data csv data from the web to a local filepath as either a csv or feather file format. Usage: scripts/load_data.py --url=<url> --file_path=<file_path> Options: --url=<file_path> url from where to download the data --file_path=<file_path> Pat...
20.942857
96
0.703956
119
733
4.12605
0.487395
0.162933
0.089613
0.065173
0
0
0
0
0
0
0
0.016529
0.174625
733
34
97
21.558824
0.795041
0.48704
0
0
0
0
0.065574
0
0
0
0
0
0.076923
1
0.076923
false
0
0.384615
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8497160dbbabb7a5ac0052b0f7903a871bbdfc40
4,772
py
Python
model/config.py
GUO-W/PI-Net
0c93a05d3aa277a80101f69ad196e5d6c8edba76
[ "MIT" ]
2
2021-05-21T14:07:08.000Z
2022-01-13T07:39:00.000Z
model/config.py
GUO-W/PI-Net
0c93a05d3aa277a80101f69ad196e5d6c8edba76
[ "MIT" ]
null
null
null
model/config.py
GUO-W/PI-Net
0c93a05d3aa277a80101f69ad196e5d6c8edba76
[ "MIT" ]
null
null
null
## ## Software PI-Net: Pose Interacting Network for Multi-Person Monocular 3D Pose Estimation ## Copyright Inria and UPC ## Year 2021 ## Contact : wen.guo@inria.fr ## ## The software PI-Net is provided under MIT License. ## import os import os.path as osp import sys import numpy as np class Config: trainset = ['...
36.707692
174
0.654862
713
4,772
4.12202
0.255259
0.059544
0.044233
0.02722
0.329364
0.247023
0.203811
0.156856
0.116026
0.048656
0
0.028783
0.206412
4,772
129
175
36.992248
0.747293
0.084241
0
0
0
0
0.11777
0.037945
0
0
0
0
0
1
0.01087
false
0
0.054348
0
0.554348
0.032609
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
84a3407067824cc6912de19c7915d709cfaf6f96
40,719
py
Python
multi_tracker_analysis/trajectory_viewer_gui_v2.py
ROB7-StayHumble/multi_tracker
1c56650f2af00b84a0cd0f95392727026eae12ce
[ "MIT" ]
null
null
null
multi_tracker_analysis/trajectory_viewer_gui_v2.py
ROB7-StayHumble/multi_tracker
1c56650f2af00b84a0cd0f95392727026eae12ce
[ "MIT" ]
null
null
null
multi_tracker_analysis/trajectory_viewer_gui_v2.py
ROB7-StayHumble/multi_tracker
1c56650f2af00b84a0cd0f95392727026eae12ce
[ "MIT" ]
null
null
null
from optparse import OptionParser import sys, os import imp import rosbag, rospy import pickle import pyqtgraph as pg from pyqtgraph.Qt import QtCore, QtGui import pyqtgraph.ptime as ptime import time import numpy as np import read_hdf5_file_to_pandas import data_slicing #import find_flies_in_image_directory import...
42.907271
302
0.625114
5,116
40,719
4.738663
0.121384
0.017325
0.013365
0.013323
0.478654
0.357093
0.319267
0.242792
0.206864
0.186899
0
0.011449
0.270709
40,719
948
303
42.952532
0.804923
0.035487
0
0.334247
0
0.010959
0.093547
0.009735
0
0
0
0.001055
0
0
null
null
0.00274
0.028767
null
null
0.061644
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
84a42c2fb1db9f4f69a88d623eec5e9eb584d528
1,672
py
Python
app/schemas/listings.py
nicolunardi/travela-server
79537ed428c01bac90d078216c7513411b7695ad
[ "CNRI-Python" ]
null
null
null
app/schemas/listings.py
nicolunardi/travela-server
79537ed428c01bac90d078216c7513411b7695ad
[ "CNRI-Python" ]
null
null
null
app/schemas/listings.py
nicolunardi/travela-server
79537ed428c01bac90d078216c7513411b7695ad
[ "CNRI-Python" ]
null
null
null
from pydantic import BaseModel from datetime import date from .reviews import Review from .availability import Availability class Address(BaseModel): street_number: int street_name: str suburb: str post_code: int state: str country: str class Amenities(BaseModel): wifi: bool = False ...
17.237113
38
0.6561
191
1,672
5.675393
0.361257
0.03321
0.02214
0.031365
0.280443
0.280443
0.280443
0.280443
0.212177
0.212177
0
0.007317
0.264354
1,672
96
39
17.416667
0.873984
0
0
0.314286
0
0
0
0
0
0
0
0
0
1
0
false
0.014286
0.057143
0
0.971429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
84a81e62ae695f6c292b8341987a1888d87256b9
4,077
py
Python
src/bitpay/models/invoice/refund_params.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
3
2022-01-24T17:02:22.000Z
2022-03-10T00:57:20.000Z
src/bitpay/models/invoice/refund_params.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
1
2022-03-08T03:11:09.000Z
2022-03-09T12:51:13.000Z
src/bitpay/models/invoice/refund_params.py
ppatidar2021/python-bitpay-client
b0bd6ef6f2ce2950fb42e6583113e225639a4340
[ "MIT" ]
3
2021-12-24T05:57:33.000Z
2022-03-14T09:17:40.000Z
""" RefundParams """ from ...utils.key_utils import change_camel_case_to_snake_case class RefundParams: """ Refund Params """ __requester_type = "" __requester_email = "" __amount = 0.0 __currency = "" __email = "" __purchaser_notify_email = "" __refund_address = "" __supp...
26.303226
85
0.595781
431
4,077
5.225058
0.12065
0.063943
0.085258
0.056838
0.39254
0.226021
0.072824
0
0
0
0
0.000722
0.320088
4,077
154
86
26.474026
0.811688
0.255825
0
0
0
0
0.034109
0
0
0
0
0
0
1
0.3
false
0.016667
0.016667
0
0.616667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
84a9aaf3cabb609cf8386db8d3178e40742673cf
3,962
py
Python
tests/transformers/test_add_automatic_seasonal_dummies.py
khrapovs/hcl-model
879740e6072c2ff45864040db0b8364b55de1f44
[ "MIT" ]
null
null
null
tests/transformers/test_add_automatic_seasonal_dummies.py
khrapovs/hcl-model
879740e6072c2ff45864040db0b8364b55de1f44
[ "MIT" ]
5
2022-02-09T12:38:04.000Z
2022-02-21T15:25:06.000Z
tests/transformers/test_add_automatic_seasonal_dummies.py
khrapovs/hcl-model
879740e6072c2ff45864040db0b8364b55de1f44
[ "MIT" ]
1
2022-02-17T09:59:22.000Z
2022-02-17T09:59:22.000Z
import numpy as np import pandas as pd import pytest from hcl_model.transformers.add_automatic_seasonal_dummies import AddAutomaticSeasonalDummies class TestAddAutomaticSeasonalDummies: def test_add_automatic_seasonal_dummies(self) -> None: np.random.seed(42) nobs = 200 lbl_endog = "endog...
40.428571
120
0.639828
530
3,962
4.530189
0.184906
0.083299
0.069971
0.046647
0.755102
0.747189
0.673469
0.673469
0.617243
0.571845
0
0.034231
0.240535
3,962
97
121
40.845361
0.763709
0
0
0.337662
0
0
0.017163
0
0
0
0
0
0.103896
1
0.038961
false
0
0.051948
0
0.103896
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
84b8febc8bd19f8b618d3412d97e67595aaa41b7
2,674
py
Python
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/survey/engine/xmlhandler.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/survey/engine/xmlhandler.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
Vault7/Lost-in-Translation/windows/Resources/Ops/PyScripts/lib/ops/survey/engine/xmlhandler.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
from __future__ import print_function import os import pickle from xml.etree.ElementTree import ElementTree import dsz.lp class XMLConfigError(Exception, ): pass def enforce(condition, msg=None): if (not condition): if msg: raise XMLConfigError, (msg if (type(msg) is not type...
31.458824
123
0.62528
305
2,674
5.288525
0.281967
0.034718
0.024179
0.021079
0.17421
0.133912
0
0
0
0
0
0.001007
0.257292
2,674
85
124
31.458824
0.811178
0
0
0.117647
0
0
0.079151
0
0
0
0
0
0
0
null
null
0.014706
0.073529
null
null
0.014706
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
84c0c270c28ab13b3e632a6a09efbaef2846acab
2,788
py
Python
settings.example.py
abcdabcd987/acm-compiler-judge
94a4308a786d2b7b57353745018d1613056ae082
[ "MIT" ]
8
2018-04-11T04:58:21.000Z
2020-06-02T15:45:17.000Z
settings.example.py
abcdabcd987/acm-compiler-judge
94a4308a786d2b7b57353745018d1613056ae082
[ "MIT" ]
null
null
null
settings.example.py
abcdabcd987/acm-compiler-judge
94a4308a786d2b7b57353745018d1613056ae082
[ "MIT" ]
3
2018-04-06T14:50:42.000Z
2020-03-01T02:25:32.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals import os import pytz import datetime BASEDIR = os.path.realpath(os.path.dirname(__file__)) ### Core Settings DB_URL = 'postgresql+psycopg2://compiler2017:mypassword@localhost/compiler2017' # DB_URL = 'sqlite:///data/compiler.db' TIMEZONE = pytz.timezone(...
37.173333
153
0.709828
429
2,788
4.475524
0.435897
0.020833
0.036458
0.03125
0.208854
0.186458
0.134375
0.134375
0.134375
0.134375
0
0.034685
0.141679
2,788
74
154
37.675676
0.767656
0.072453
0
0.125
0
0.140625
0.664591
0.043969
0
0
0
0
0
1
0
false
0.015625
0.078125
0
0.078125
0.03125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
84c4efe8743b7a4edcb521cf205ff33cd57bee15
646
py
Python
src/shared/config.py
NETMVAS/feecc-io-gateway
6802f842b21d108cadd65ad81d99da0f377530c9
[ "Apache-2.0" ]
null
null
null
src/shared/config.py
NETMVAS/feecc-io-gateway
6802f842b21d108cadd65ad81d99da0f377530c9
[ "Apache-2.0" ]
2
2021-11-27T09:31:12.000Z
2022-03-23T13:15:57.000Z
src/shared/config.py
NETMVAS/feecc-io-gateway
6802f842b21d108cadd65ad81d99da0f377530c9
[ "Apache-2.0" ]
2
2021-12-09T13:50:51.000Z
2022-03-23T12:39:38.000Z
import typing as tp import pydantic import yaml from loguru import logger from .config_models import GlobalConfig, CameraConfigSection @logger.catch(reraise=True) @tp.no_type_check def _load_config(config_path: str, model) -> tp.Any: logger.debug(f"Looking for config in {config_path}") with open(config_pat...
29.363636
121
0.76935
91
646
5.263736
0.450549
0.06263
0.05428
0.079332
0
0
0
0
0
0
0
0
0.126935
646
21
122
30.761905
0.849291
0
0
0
0
0
0.133127
0.078947
0
0
0
0
0
1
0.071429
false
0
0.357143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
84d1e5606547b3adeb57e4ece180d1dfc3c76889
2,087
py
Python
RA_project/code_python/add_dico.py
erialc-cal/NLP-FOMC
2a8ad113a87e79f5d7beefa6cfd4653f445c92d5
[ "MIT" ]
null
null
null
RA_project/code_python/add_dico.py
erialc-cal/NLP-FOMC
2a8ad113a87e79f5d7beefa6cfd4653f445c92d5
[ "MIT" ]
null
null
null
RA_project/code_python/add_dico.py
erialc-cal/NLP-FOMC
2a8ad113a87e79f5d7beefa6cfd4653f445c92d5
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np project_directory = '/Users/etiennelenaour/Desktop/Stage/' sentiment_score = pd.read_excel(project_directory + "csv_files/" +'inquirerbasic.xls') df_true = pd.read_csv(project_directory + 'csv_files/final_df_v3.csv') def creation_list(df, cate): final_list = list() fo...
15.345588
150
0.621466
288
2,087
4.319444
0.34375
0.048232
0.048232
0.057878
0.054662
0.054662
0.054662
0
0
0
0
0.005269
0.1816
2,087
135
151
15.459259
0.723068
0.044082
0
0.178571
0
0
0.124658
0.04702
0
0
0
0
0
1
0.053571
false
0.089286
0.035714
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
84d4ac839251d14708581122f3d5946dcb1e1250
1,113
py
Python
newsletter/migrations/0001_initial.py
renannoronha/iasd
2fd94af8c08cf16ae028f587e35431b99a64ec57
[ "MIT" ]
null
null
null
newsletter/migrations/0001_initial.py
renannoronha/iasd
2fd94af8c08cf16ae028f587e35431b99a64ec57
[ "MIT" ]
null
null
null
newsletter/migrations/0001_initial.py
renannoronha/iasd
2fd94af8c08cf16ae028f587e35431b99a64ec57
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2022-03-10 12:41 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='News', fields=[ ('id', models.AutoField(aut...
35.903226
117
0.580413
112
1,113
5.625
0.598214
0.157143
0.057143
0.07619
0.120635
0.120635
0.120635
0
0
0
0
0.029925
0.279425
1,113
30
118
37.1
0.755611
0.040431
0
0
1
0
0.151032
0
0
0
0
0
0
1
0
false
0
0.043478
0
0.217391
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca04db78f8b9a9d2c25d86322f7bf0022102f075
400
py
Python
parseWig.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
null
null
null
parseWig.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
null
null
null
parseWig.py
ethanagbaker/Rend_seq_core_scripts
5a06ce7f9c4801f3a5a8be3583d596443c3c3875
[ "Unlicense" ]
null
null
null
def parseWig(filename): with open filename as f: content = [line.rstrip for line in f.readlines()] del content[0] del content[1] #strip headers position = [] value = [] for row in content: #split by the tab sep. position.append(row.split('\t')[0]) value.append(r...
22.222222
57
0.5925
54
400
4.388889
0.592593
0.084388
0.118143
0.126582
0
0
0
0
0
0
0
0.013793
0.275
400
17
58
23.529412
0.803448
0.085
0
0
0
0
0.010989
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ca069f426482e0927da551ccd1bb8fa38d8e4aa8
878
py
Python
slugnet/examples/mnist_conv.py
kahnvex/slugnet
5fc249a9abeb1df41cfb90c0b003a94f61ec87b0
[ "MIT" ]
4
2017-12-15T20:42:25.000Z
2020-02-13T19:49:12.000Z
slugnet/examples/mnist_conv.py
kahnvex/slugnet
5fc249a9abeb1df41cfb90c0b003a94f61ec87b0
[ "MIT" ]
7
2017-12-31T00:10:19.000Z
2021-06-01T22:17:55.000Z
slugnet/examples/mnist_conv.py
kahnvex/slugnet
5fc249a9abeb1df41cfb90c0b003a94f61ec87b0
[ "MIT" ]
null
null
null
import numpy as np from slugnet.activation import ReLU, Softmax from slugnet.layers import Convolution, Dense, MeanPooling, Flatten from slugnet.loss import SoftmaxCategoricalCrossEntropy as SCCE from slugnet.model import Model from slugnet.optimizers import SGD from slugnet.data.mnist import get_mnist X, y = get_mn...
30.275862
67
0.728929
139
878
4.532374
0.381295
0.104762
0.12381
0.047619
0.12381
0.12381
0.12381
0.12381
0.12381
0
0
0.063144
0.116173
878
28
68
31.357143
0.748711
0
0
0.181818
0
0
0.013667
0
0
0
0
0
0
1
0
false
0
0.318182
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ca12e87304377b4e4abc2bc29a8d77475b9ac52b
3,090
py
Python
mmstructlib/model/xray.py
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
mmstructlib/model/xray.py
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
mmstructlib/model/xray.py
academicRobot/mmstructlib
76949620c9e9ca26faf10ff1a21c6fda1a564f5c
[ "MIT" ]
null
null
null
from mmstructlib.math.operation import Operator import numpy as np class UnitCell(object): """ Contains unit cell parameters. Also, generates transforms between cartesian and unit cell coordinates. @param dimensions: unit cell dimensions [a, b, c] @type dimensions: iterable of floats or convertib...
36.352941
91
0.67767
388
3,090
5.237113
0.35567
0.044291
0.01624
0.022638
0.107283
0.041339
0.041339
0.041339
0
0
0
0
0.245307
3,090
84
92
36.785714
0.871355
0.503236
0
0
1
0
0
0
0
0
0
0
0
1
0.178571
false
0
0.071429
0.035714
0.392857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca18c66682e67c0bf5e0ce602df8b5bf6ed38ca4
8,204
py
Python
project/project/apps/user/models.py
RignonNoel/django-init
4f00ec5f9ad8083a8dea5483c4e43712fceeba7a
[ "MIT" ]
null
null
null
project/project/apps/user/models.py
RignonNoel/django-init
4f00ec5f9ad8083a8dea5483c4e43712fceeba7a
[ "MIT" ]
null
null
null
project/project/apps/user/models.py
RignonNoel/django-init
4f00ec5f9ad8083a8dea5483c4e43712fceeba7a
[ "MIT" ]
1
2019-11-20T17:24:33.000Z
2019-11-20T17:24:33.000Z
import binascii import os from django.contrib.auth.models import AbstractUser from django.db import models from django.utils.translation import ugettext_lazy as _ from project.apps.user.managers import UserManager, ActionTokenManager from rest_framework.authtoken.models import Token from django.utils import timezone...
26.044444
77
0.588006
863
8,204
5.388181
0.237543
0.040215
0.024516
0.028387
0.309247
0.270538
0.231398
0.231398
0.162151
0.136344
0
0.004667
0.320941
8,204
314
78
26.127389
0.830013
0.104949
0
0.324786
0
0
0.083884
0
0
0
0
0
0
1
0.07265
false
0.059829
0.038462
0.012821
0.282051
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ca2548c490712f28fc49815fdba098a77c68ca02
19,835
py
Python
graspologic/partition/leiden.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
graspologic/partition/leiden.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
graspologic/partition/leiden.py
tliu68/graspologic
d1cf7678bc63ab9769828a82a90f66bf1dfa0eff
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT license. from typing import Any, Dict, List, NamedTuple, Optional, Tuple, Union import networkx as nx import numpy as np import scipy from .. import utils import graspologic_native as gn def _validate_and_build_edge_list( graph: Union[ List...
44.573034
110
0.695538
2,651
19,835
5.113165
0.149
0.014607
0.015492
0.008779
0.681225
0.65983
0.641018
0.631501
0.628772
0.628772
0
0.005532
0.243559
19,835
444
111
44.673423
0.897894
0.58906
0
0.444444
0
0
0.124249
0.005188
0
0
0
0
0
1
0.030303
false
0
0.030303
0
0.116162
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca2f4235376686f1020b1e55df81a3869034f83a
1,898
bzl
Python
internal/defaults.bzl
vikerman/rules_typescript
5e0ab64388c569466b2ac387e2f35063b451cd5e
[ "Apache-2.0" ]
1
2021-06-07T12:04:30.000Z
2021-06-07T12:04:30.000Z
internal/defaults.bzl
vikerman/rules_typescript
5e0ab64388c569466b2ac387e2f35063b451cd5e
[ "Apache-2.0" ]
null
null
null
internal/defaults.bzl
vikerman/rules_typescript
5e0ab64388c569466b2ac387e2f35063b451cd5e
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 The Bazel 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 applicable la...
41.26087
88
0.773973
287
1,898
4.815331
0.372822
0.086107
0.078148
0.073806
0.324891
0.239508
0.136035
0.125904
0
0
0
0.004923
0.143836
1,898
45
89
42.177778
0.845538
0.468915
0
0
0
0
0.276056
0.140845
0
0
0
0
0
1
0.238095
false
0
0
0
0.238095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ca43229f66134b35b2daa163091a80ff64e02c1e
374
py
Python
issues/migrations/0003_issue_text_id.py
FIOpwK/django-issuetracker
99e7cd97923af8cf2fe37f1380d0feab108d6bff
[ "MIT" ]
1
2021-10-19T03:26:17.000Z
2021-10-19T03:26:17.000Z
issues/migrations/0003_issue_text_id.py
FIOpwK/django-issuetracker
99e7cd97923af8cf2fe37f1380d0feab108d6bff
[ "MIT" ]
null
null
null
issues/migrations/0003_issue_text_id.py
FIOpwK/django-issuetracker
99e7cd97923af8cf2fe37f1380d0feab108d6bff
[ "MIT" ]
null
null
null
# Generated by Django 3.2.7 on 2021-10-08 01:32 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('issues', '0002_issue_text'), ] operations = [ migrations.AddField( model_name='issue', name='text_id', f...
19.684211
49
0.585561
41
374
5.243902
0.804878
0
0
0
0
0
0
0
0
0
0
0.076046
0.296791
374
18
50
20.777778
0.741445
0.120321
0
0
1
0
0.100917
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca4ec7b1cef265f1f52b5107a5ae74047b79997f
4,575
py
Python
unit6_lesson_01_understanding_nested_functions.py
AbhishekKumar1277/Mission-RnD-Python-
3e039dd3016db7ff0d67ad1cce2123852f15d093
[ "MIT" ]
null
null
null
unit6_lesson_01_understanding_nested_functions.py
AbhishekKumar1277/Mission-RnD-Python-
3e039dd3016db7ff0d67ad1cce2123852f15d093
[ "MIT" ]
null
null
null
unit6_lesson_01_understanding_nested_functions.py
AbhishekKumar1277/Mission-RnD-Python-
3e039dd3016db7ff0d67ad1cce2123852f15d093
[ "MIT" ]
null
null
null
__author__ = 'Kalyan' notes = ''' nested functions underlie many advanced features of python. So a basic understanding of this feature is essential to mastering python. nested functions are defined in the scope of a function, behave exactly the same except that they have a read only access to variables in the ...
26.445087
93
0.571585
624
4,575
4.064103
0.307692
0.039038
0.028391
0.037855
0.066246
0.021293
0
0
0
0
0
0.056106
0.337705
4,575
172
94
26.598837
0.780858
0.24
0
0.308333
0
0
0.099634
0
0
0
0
0
0.183333
1
0.233333
false
0.016667
0.008333
0.05
0.375
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ca4ecb6e40cff28521b5d6497ba8e186e088e023
393
py
Python
setup.py
fl4shp01nt/eagle-diff
8cd0279d711fd57400e349b8d28ed5e237e31241
[ "BSD-3-Clause" ]
24
2015-01-31T22:04:32.000Z
2022-02-21T20:16:51.000Z
setup.py
fl4shp01nt/eagle-diff
8cd0279d711fd57400e349b8d28ed5e237e31241
[ "BSD-3-Clause" ]
18
2015-02-26T23:52:33.000Z
2018-04-06T21:29:22.000Z
setup.py
fl4shp01nt/eagle-diff
8cd0279d711fd57400e349b8d28ed5e237e31241
[ "BSD-3-Clause" ]
7
2015-10-20T14:00:10.000Z
2021-07-08T11:51:33.000Z
from distutils.core import setup setup( name='eagle-diff', version='0.1.0', description='Show differences between Cadsoft Eagle files', author='Felix Kaiser', author_email='felix.kaiser@fxkr.net', long_description=open('README.md').read(), license=open('LICENSE').read(), url='https://gi...
26.2
63
0.664122
50
393
5.18
0.7
0.104247
0
0
0
0
0
0
0
0
0
0.009091
0.160305
393
14
64
28.071429
0.775758
0
0
0
0
0
0.387755
0.053571
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ca547d8e90491c5750300af1a6f315ddc59a30db
4,548
py
Python
qiubai_django/api_v_1_0/views.py
ShawnLeee/django-project
3531c3489e962272786b8bcf5818aeb94885f2d4
[ "MIT" ]
null
null
null
qiubai_django/api_v_1_0/views.py
ShawnLeee/django-project
3531c3489e962272786b8bcf5818aeb94885f2d4
[ "MIT" ]
null
null
null
qiubai_django/api_v_1_0/views.py
ShawnLeee/django-project
3531c3489e962272786b8bcf5818aeb94885f2d4
[ "MIT" ]
null
null
null
# encoding: utf-8 # from django.views.decorators.csrf import csrf_exempt from django.conf import settings import os from django.core.files.storage import default_storage from django.core.files.base import ContentFile from rest_framework.views import APIView from rest_framework.response import Response from rest_framewo...
30.119205
94
0.650396
560
4,548
5.130357
0.228571
0.035503
0.036199
0.031326
0.336234
0.238079
0.213018
0.188653
0.166377
0.143404
0
0.017941
0.252419
4,548
150
95
30.32
0.827059
0.032982
0
0.299065
0
0
0.030516
0
0
0
0
0
0
0
null
null
0
0.130841
null
null
0.037383
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ca5537824883e58a40baeee7f307b00997678930
3,388
py
Python
names.py
m1key/data-science-sandbox
d09e55320c1c5a9f9959f4c514929b2cf7681ff1
[ "MIT" ]
null
null
null
names.py
m1key/data-science-sandbox
d09e55320c1c5a9f9959f4c514929b2cf7681ff1
[ "MIT" ]
null
null
null
names.py
m1key/data-science-sandbox
d09e55320c1c5a9f9959f4c514929b2cf7681ff1
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np import matplotlib.pyplot as plt years = range(1880, 2015) pieces = [] columns = ['name', 'sex', 'births'] for year in years: path = 'names/yob%d.txt' % year frame = pd.read_csv(path, names = columns) frame['year'] = year pieces.append(frame) names = pd.concat(pieces, ign...
38.942529
197
0.692149
501
3,388
4.56487
0.335329
0.027547
0.048972
0.055094
0.146917
0.135549
0.085702
0.067337
0.067337
0
0
0.037571
0.12013
3,388
86
198
39.395349
0.729621
0.030106
0
0
0
0
0.139329
0
0
0
0
0
0
0
null
null
0
0.05
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ca56f09c9fe7464a055c8d49cc0740f90a735b27
1,446
py
Python
sandbox/lib/jumpscale/Jumpscale/clients/sonic/SonicFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/sonic/SonicFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
sandbox/lib/jumpscale/Jumpscale/clients/sonic/SonicFactory.py
threefoldtech/threebot_prebuilt
1f0e1c65c14cef079cd80f73927d7c8318755c48
[ "Apache-2.0" ]
null
null
null
from Jumpscale import j from .SonicClient import SonicClient JSConfigs = j.baseclasses.object_config_collection class SonicFactory(JSConfigs): """ Sonic Client factory """ __jslocation__ = "j.clients.sonic" _CHILDCLASS = SonicClient def get_client_bcdb(self): """ j.clients....
30.125
81
0.564315
179
1,446
4.497207
0.469274
0.029814
0.048447
0.047205
0.18882
0.18882
0.18882
0.18882
0.18882
0
0
0.041306
0.280083
1,446
47
82
30.765957
0.731988
0.160443
0
0.08
0
0
0.215859
0
0
0
0
0
0.04
1
0.08
false
0.08
0.08
0
0.32
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ca646a6c6ad80fac62920b6c7b02a4c969143fb9
1,602
py
Python
letsdo.py
puiterwijk/letsdo
c0d7e14460233a24fca67bbd0ea6ac4b1ae5effa
[ "Unlicense" ]
null
null
null
letsdo.py
puiterwijk/letsdo
c0d7e14460233a24fca67bbd0ea6ac4b1ae5effa
[ "Unlicense" ]
null
null
null
letsdo.py
puiterwijk/letsdo
c0d7e14460233a24fca67bbd0ea6ac4b1ae5effa
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # # Written by: Patrick Uiterwijk <patrick@puiterwijk.org> # # This is free and unencumbered software released into the public domain. # # Anyone is free to copy, modify, publish, use, compile, sell, or # distribute this software, either in source code form or as a compiled # binary, for any purpose, ...
40.05
73
0.754682
254
1,602
4.744094
0.543307
0.036515
0.024896
0
0
0
0
0
0
0
0
0
0.167915
1,602
39
74
41.076923
0.903976
0.797129
0
0
0
0
0.121212
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ca6b5339a403ce2ef4c8dee98729080ae6905a42
45,505
py
Python
main.py
boradepecik/Sweet-Maze
1599e831906b8e5d327484d2e1bf4aa33d1e0d01
[ "MIT" ]
null
null
null
main.py
boradepecik/Sweet-Maze
1599e831906b8e5d327484d2e1bf4aa33d1e0d01
[ "MIT" ]
null
null
null
main.py
boradepecik/Sweet-Maze
1599e831906b8e5d327484d2e1bf4aa33d1e0d01
[ "MIT" ]
null
null
null
import pygame import Wall import math import Enemy import time import random pygame.init() clock = pygame.time.Clock() tilesize = 64 width = tilesize*18 height = tilesize*12 screen = pygame.display.set_mode((width,height)) #tileIMG = pygame.image.load('tile.jpg') font = pygame.font.Font("frankknows.ttf", 4...
46.011122
262
0.51313
6,313
45,505
3.681451
0.059876
0.071684
0.103653
0.134246
0.750742
0.718127
0.667785
0.642055
0.618003
0.594467
0
0.11201
0.337062
45,505
989
263
46.011122
0.658402
0.015163
0
0.650794
0
0
0.026992
0
0
0
0
0
0
1
0.009524
false
0
0.006349
0
0.016931
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca6d264f6e07d5921c8c79f331fd00fc477c0414
2,719
py
Python
examples/docker_crud/resources.py
timgates42/pyramid_sacrud
05c30e219a32166b4e09ec3524767fe4a4d3c788
[ "MIT" ]
28
2016-01-07T21:03:49.000Z
2021-02-11T20:54:53.000Z
examples/docker_crud/resources.py
timgates42/pyramid_sacrud
05c30e219a32166b4e09ec3524767fe4a4d3c788
[ "MIT" ]
58
2015-01-12T15:13:47.000Z
2015-12-07T16:14:48.000Z
examples/docker_crud/resources.py
timgates42/pyramid_sacrud
05c30e219a32166b4e09ec3524767fe4a4d3c788
[ "MIT" ]
10
2016-05-04T13:38:50.000Z
2021-04-08T23:12:20.000Z
#! /usr/bin/env python # -*- coding: utf-8 -*- # vim:fenc=utf-8 # # Copyright © 2016 uralbash <root@uralbash.ru> # # Distributed under terms of the MIT license. """ Resources fro Docker """ import time from zope.interface import implementer import docker from pyramid_sacrud.interfaces import ISacrudResource @imple...
23.042373
71
0.531445
291
2,719
4.628866
0.319588
0.059391
0.024499
0.026726
0.029696
0
0
0
0
0
0
0.005125
0.354174
2,719
117
72
23.239316
0.76139
0.061787
0
0.090909
0
0
0.064643
0.010248
0
0
0
0
0
1
0.181818
false
0
0.051948
0.090909
0.506494
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca6dec52da50e43b0494eb5329cbfb35fd50ca06
1,902
py
Python
crm/admin.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
crm/admin.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
11
2020-03-24T15:29:46.000Z
2022-03-11T23:14:48.000Z
crm/admin.py
stewardshiptools/stewardshiptools
ee5d27e7b0d5d4947f34ad02bdf63a06ad0a5c3e
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import Person from .models import Role from .models import Organization from .models import AlternateName from .forms import PersonAdminInlineFormSet class AlternateNameInline(admin.TabularInline): model = AlternateName # http://stacko...
30.190476
127
0.705573
235
1,902
5.561702
0.417021
0.036725
0.048967
0.039786
0.084162
0.038256
0.038256
0.038256
0
0
0
0.005844
0.190326
1,902
62
128
30.677419
0.842857
0.194532
0
0.05
0
0
0.129921
0.014436
0
0
0
0
0
1
0.05
false
0
0.15
0
0.725
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca6f48d30a29e4dd27c4cc6f08b9cef4b6986bd4
8,258
py
Python
tests/rest_t/app_t/test_security.py
maxfischer2781/tardis
a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5
[ "MIT" ]
4
2018-05-22T13:22:06.000Z
2019-03-26T15:32:57.000Z
tests/rest_t/app_t/test_security.py
maxfischer2781/tardis
a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5
[ "MIT" ]
50
2018-05-18T11:46:39.000Z
2019-04-26T07:29:45.000Z
tests/rest_t/app_t/test_security.py
maxfischer2781/tardis
a83ba0a02d2f153a8ab95b84ec78bc6ababa57a5
[ "MIT" ]
2
2018-12-12T13:15:59.000Z
2018-12-17T08:18:15.000Z
from tardis.exceptions.tardisexceptions import TardisError from tardis.rest.app.security import ( create_access_token, check_authorization, check_authentication, get_algorithm, get_secret_key, get_user, hash_password, TokenData, ) from tardis.utilities.attributedict import AttributeDict ...
38.231481
223
0.688302
821
8,258
6.649208
0.170524
0.057703
0.035721
0.043598
0.569701
0.501191
0.451365
0.424986
0.393479
0.368382
0
0.042403
0.226084
8,258
215
224
38.409302
0.811767
0.009566
0
0.367816
0
0
0.192289
0.135373
0
0
0
0
0.166667
1
0.074713
false
0.063218
0.051724
0
0.149425
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ca771135b238b53ecfb69b6bfb4aba60691e857d
5,520
py
Python
aui/gui/robot/internal/ui_battery.py
argenortega/AUI
5e90bb59e283e829cb41d07dff9d1c8c75daa890
[ "MIT" ]
null
null
null
aui/gui/robot/internal/ui_battery.py
argenortega/AUI
5e90bb59e283e829cb41d07dff9d1c8c75daa890
[ "MIT" ]
null
null
null
aui/gui/robot/internal/ui_battery.py
argenortega/AUI
5e90bb59e283e829cb41d07dff9d1c8c75daa890
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui/battery.ui' # # Created: Mon Aug 31 12:21:33 2015 # by: PyQt4 UI code generator 4.11.1 # # WARNING! All changes made in this file will be lost! from PyQt4 import QtCore, QtGui try: _fromUtf8 = QtCore.QString.fromUtf8 except Att...
41.503759
115
0.703261
562
5,520
6.852313
0.298932
0.070631
0.020774
0.029083
0.197351
0.157102
0.140223
0.140223
0.106466
0.042586
0
0.032996
0.176449
5,520
132
116
41.818182
0.814122
0.038949
0
0.191304
1
0
0.134819
0
0
0
0
0
0
1
0.043478
false
0
0.026087
0.026087
0.104348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca79b3426f122564c523c40990dc0f8700c0abc9
3,343
py
Python
api/app/models/population_density.py
enermaps/Hotmaps-toolbox-service
a9a5616e3c6fad081134aadf5ce96b3dcc416bf9
[ "Apache-2.0" ]
null
null
null
api/app/models/population_density.py
enermaps/Hotmaps-toolbox-service
a9a5616e3c6fad081134aadf5ce96b3dcc416bf9
[ "Apache-2.0" ]
1
2020-10-09T14:09:57.000Z
2020-10-27T09:27:53.000Z
api/app/models/population_density.py
enermaps/Hotmaps-toolbox-service
a9a5616e3c6fad081134aadf5ce96b3dcc416bf9
[ "Apache-2.0" ]
null
null
null
from decimal import * from app import dbGIS as db from geoalchemy2 import Raster """ Population Density layer as ha """ class PopulationDensityHaModel(db.Model): __tablename__ = "pop_tot_curr_density" __table_args__ = {"schema": "geo"} CRS = 3035 rid = db.Column(db.Integer, primary_key=True) ...
29.069565
83
0.612025
439
3,343
4.469248
0.1959
0.118247
0.142712
0.138634
0.568807
0.550459
0.530071
0.424057
0.390418
0.390418
0
0.033128
0.223452
3,343
114
84
29.324561
0.72265
0.028118
0
0.452055
0
0
0.126838
0.054017
0
0
0
0
0
1
0.041096
false
0
0.041096
0.013699
0.684932
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca7f9caa89821920326d97d811ee3b0af2523c09
19,436
py
Python
risk_register/migrations/0001_initial.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
risk_register/migrations/0001_initial.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
risk_register/migrations/0001_initial.py
justin441/risk_management
2f5f0f62aae34998db7cf4155297ce4f6a8d774e
[ "MIT" ]
null
null
null
# Generated by Django 2.0.6 on 2018-06-19 11:34 import datetime from django.conf import settings from django.db import migrations, models import django.db.models.deletion from django.utils.timezone import utc import django.utils.timezone import model_utils.fields import uuid class Migration(migrations.Migration): ...
67.721254
315
0.633772
2,032
19,436
5.877953
0.139272
0.072756
0.031648
0.049732
0.726725
0.688128
0.655141
0.596031
0.582803
0.557686
0
0.012761
0.221856
19,436
286
316
67.958042
0.776977
0.002315
0
0.544803
1
0
0.224457
0.023415
0
0
0
0
0
1
0
false
0
0.028674
0
0.043011
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca823abe5a7596ffee51447cce54886a88732788
3,299
py
Python
keymap.py
74th/NumAtreus-kmk
bc6765f57ace2bb460448259ac510480a89454a8
[ "MIT" ]
null
null
null
keymap.py
74th/NumAtreus-kmk
bc6765f57ace2bb460448259ac510480a89454a8
[ "MIT" ]
null
null
null
keymap.py
74th/NumAtreus-kmk
bc6765f57ace2bb460448259ac510480a89454a8
[ "MIT" ]
null
null
null
""" NumAtreus default https://github.com/yohewi/qmk_firmware/blob/master/keyboards/numatreus/keymaps/default/keymap.c """ from kmk.keys import KC quary_layer = 0 lower_layer = 1 raise_layer = 2 ____ = KC.TRANSPARENT def query_keymap(): raise_m = KC.MO(lower_layer) lower_m = KC.MO(raise_layer) """ Q ...
39.27381
95
0.358897
390
3,299
2.848718
0.379487
0.013501
0.021602
0.029703
0.118812
0.070207
0.054005
0.054005
0.054005
0.054005
0
0.032656
0.508033
3,299
84
96
39.27381
0.651879
0.197636
0
0.163636
0
0
0
0
0
0
0
0
0
1
0.072727
false
0
0.018182
0.018182
0.163636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ca8dfa27d23176a485f005ce58bd73073d7cc747
1,361
py
Python
data.py
sem-onyalo/mlm-5-dcgan-digits
87eb4cfc73e82eba72d51351833de09186a5f7ec
[ "MIT" ]
null
null
null
data.py
sem-onyalo/mlm-5-dcgan-digits
87eb4cfc73e82eba72d51351833de09186a5f7ec
[ "MIT" ]
null
null
null
data.py
sem-onyalo/mlm-5-dcgan-digits
87eb4cfc73e82eba72d51351833de09186a5f7ec
[ "MIT" ]
null
null
null
from keras.backend import expand_dims from keras.datasets.mnist import load_data from keras.models import Sequential from numpy.random import randint from numpy.random import randn from numpy import zeros from numpy import ones def loadDataset(): # load mnist dataset (trainX, trainY), (_, _) = load_data() ...
31.651163
77
0.705364
172
1,361
5.546512
0.389535
0.113208
0.050314
0.053459
0.07652
0.07652
0.054507
0.054507
0
0
0
0.021958
0.196914
1,361
43
78
31.651163
0.850869
0.132256
0
0.151515
0
0
0.005952
0
0
0
0
0
0
1
0.151515
false
0
0.212121
0
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ca901f26f6718be97631c05dc7eaa2c5eeef0e53
1,337
py
Python
app/blueprints/api/endpoints/users.py
neurothrone/project-dot
20889075611bed645689a76a30257f96e4b55988
[ "MIT" ]
null
null
null
app/blueprints/api/endpoints/users.py
neurothrone/project-dot
20889075611bed645689a76a30257f96e4b55988
[ "MIT" ]
null
null
null
app/blueprints/api/endpoints/users.py
neurothrone/project-dot
20889075611bed645689a76a30257f96e4b55988
[ "MIT" ]
null
null
null
from http import HTTPStatus from flask import jsonify, request from .. import bp_api, utils from app.schemas.user import UserIn, UserUpdate from app.controllers.user import UserController @bp_api.post("/users") def create_user(): data = request.form # user = UserController.create(UserIn(**data)) user = ...
29.711111
65
0.725505
187
1,337
4.983957
0.251337
0.05794
0.054721
0.067597
0.351931
0.165236
0.165236
0.165236
0.165236
0.113734
0
0
0.142857
1,337
44
66
30.386364
0.813264
0.03291
0
0.16129
0
0
0.065066
0
0
0
0
0
0
1
0.16129
false
0
0.16129
0
0.580645
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0466eb45a0c184ab9a8265edc0fa7a872544290d
928
py
Python
src/host/python/GSMRoughSync.py
RP7/R7-OCM
bd4e7aeff7f8dcf874324ba458620f411101633e
[ "Apache-2.0" ]
9
2016-05-09T04:18:16.000Z
2021-11-26T02:00:56.000Z
src/host/python/GSMRoughSync.py
RP7/R7-OCM
bd4e7aeff7f8dcf874324ba458620f411101633e
[ "Apache-2.0" ]
null
null
null
src/host/python/GSMRoughSync.py
RP7/R7-OCM
bd4e7aeff7f8dcf874324ba458620f411101633e
[ "Apache-2.0" ]
7
2016-05-09T04:18:29.000Z
2020-11-28T08:52:37.000Z
import Q7Mem from ctypes import * import GSMChan import GSM import time from host.curlwrapper import curlwrapper from GSMSync import GSMSync class GSMRoughSync(GSMSync): def __init__(self,f,url='http://192.168.1.110:8080/'): GSMSync.__init__(self,f,url) def once( self ): rfd,start = self.getRfData(0,self.mfl) ...
18.56
55
0.664871
158
928
3.78481
0.436709
0.026756
0.0301
0.040134
0
0
0
0
0
0
0
0.051519
0.184267
928
49
56
18.938776
0.738441
0
0
0.04878
0
0
0.062635
0
0
0
0
0
0
0
null
null
0
0.170732
null
null
0.04878
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
046a1e65670b564292bb6a97c740ea8cadf81a6a
1,136
py
Python
parseltongue86/rosettastone.py
adamhumphriescs/TASE_Release
775cc0eef409e324c2e3c3bbf9235fe6c3b8b0d0
[ "MIT" ]
1
2022-02-22T19:07:52.000Z
2022-02-22T19:07:52.000Z
parseltongue86/rosettastone.py
adamhumphriescs/TASE_Release
775cc0eef409e324c2e3c3bbf9235fe6c3b8b0d0
[ "MIT" ]
null
null
null
parseltongue86/rosettastone.py
adamhumphriescs/TASE_Release
775cc0eef409e324c2e3c3bbf9235fe6c3b8b0d0
[ "MIT" ]
null
null
null
import logging import operator import sys from translator import elffile def main(): logging.basicConfig(level=logging.INFO) assert(len(sys.argv) > 1) # Required argument 1 - path to binary to analyze target_binary = sys.argv[1] # Optional argument 2 - path to archive/library file with symbols that we want...
30.702703
92
0.690141
176
1,136
4.335227
0.454545
0.036697
0.039318
0.052425
0.107471
0
0
0
0
0
0
0.008705
0.191021
1,136
36
93
31.555556
0.821545
0.286972
0
0
0
0
0.033582
0
0
0
0
0.027778
0.090909
1
0.045455
false
0
0.181818
0
0.227273
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
046f76cf7ecd65281243f57b6f923abb6b4f34ed
622
py
Python
asset/migrations/0007_auto_20190209_1645.py
jun168/d1scan
596612459c735fc5fed794756c4e7054ba5bf655
[ "MIT" ]
19
2019-04-04T05:53:50.000Z
2022-03-13T08:19:15.000Z
apps/asset/migrations/0007_auto_20190209_1645.py
nature1995/django-penetration-testing
a86d7f6f5e9892fc8ba26c3e428127fbb6481694
[ "MIT" ]
1
2021-08-20T16:14:43.000Z
2021-08-20T16:14:43.000Z
asset/migrations/0007_auto_20190209_1645.py
DisMeo/d1scan
596612459c735fc5fed794756c4e7054ba5bf655
[ "MIT" ]
7
2019-07-14T11:49:01.000Z
2022-03-13T08:19:16.000Z
# Generated by Django 2.1.5 on 2019-02-09 16:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('asset', '0006_auto_20190209_1644'), ] operations = [ migrations.AlterField( model_name='domainlist', name='domain', ...
25.916667
97
0.604502
64
622
5.75
0.671875
0.108696
0.13587
0.157609
0.233696
0.233696
0
0
0
0
0
0.073333
0.276527
622
23
98
27.043478
0.744444
0.072347
0
0.352941
1
0
0.123478
0.04
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0470cce1d954f3ff025e197bed46d5002f254082
1,386
py
Python
db2/python/save/firebird_update.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
3
2015-05-12T16:44:27.000Z
2021-02-09T00:39:24.000Z
db2/python/save/firebird_update.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
db2/python/save/firebird_update.py
ekzemplaro/data_base_language
e77030367ffc595f1fac8583f03f9a3ce5eb1611
[ "MIT", "Unlicense" ]
null
null
null
#! /usr/bin/python # -*- coding: utf-8 -*- # # firebird_update.py # # Feb/26/2010 # # -------------------------------------------------------- import kinterbasdb from time import localtime,strftime import datetime # # # -------------------------------------------------------- def display (cursor): print ("*** displ...
24.315789
72
0.51443
164
1,386
4.22561
0.493902
0.04329
0.056277
0.054834
0
0
0
0
0
0
0
0.030553
0.126263
1,386
56
73
24.75
0.541701
0.269841
0
0.0625
0
0
0.252024
0.038462
0
0
0
0
0
0
null
null
0.03125
0.09375
null
null
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04789e6112eee9cbdf0e1bc29a585840d1762348
272
py
Python
jetbot/camera/__init__.py
geoc1234/jetbot
f2a8ab3bf581db53d22d788f98b7dd7ebde8bcb0
[ "MIT" ]
2,624
2019-03-18T23:46:13.000Z
2022-03-31T01:50:47.000Z
jetbot/camera/__init__.py
geoc1234/jetbot
f2a8ab3bf581db53d22d788f98b7dd7ebde8bcb0
[ "MIT" ]
389
2019-03-19T06:00:11.000Z
2022-03-28T14:08:53.000Z
jetbot/camera/__init__.py
geoc1234/jetbot
f2a8ab3bf581db53d22d788f98b7dd7ebde8bcb0
[ "MIT" ]
927
2019-03-18T23:27:46.000Z
2022-03-31T17:22:24.000Z
import os DEFAULT_CAMERA = os.environ.get('JETBOT_DEFAULT_CAMERA', 'opencv_gst_camera') if DEFAULT_CAMERA == 'zmq_camera': from .zmq_camera import ZmqCamera Camera = ZmqCamera else: from .opencv_gst_camera import OpenCvGstCamera Camera = OpenCvGstCamera
24.727273
77
0.768382
34
272
5.852941
0.441176
0.19598
0.150754
0
0
0
0
0
0
0
0
0
0.158088
272
10
78
27.2
0.868996
0
0
0
0
0
0.176471
0.077206
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
047f7fce60296d250d12185f5ed5b43b7152f808
2,625
py
Python
biosamples/aap.py
Kerruba/bioschemas_marref_demo
72831a9e64c1a76fb23afb2463bdc814402c3252
[ "Apache-2.0" ]
null
null
null
biosamples/aap.py
Kerruba/bioschemas_marref_demo
72831a9e64c1a76fb23afb2463bdc814402c3252
[ "Apache-2.0" ]
1
2021-12-13T19:43:54.000Z
2021-12-13T19:43:54.000Z
biosamples/aap.py
EBIBioSamples/bioschemas_marref_demo
72831a9e64c1a76fb23afb2463bdc814402c3252
[ "Apache-2.0" ]
null
null
null
import requests import logging import jwt import pytz from datetime import datetime, timedelta from .utilities import is_ok class Client: """ Client to interact with the AAP (Authentication and Authorization) service used in BioSamples """ def __init__(self, username=None, password=None, url=None): ...
35
109
0.617524
323
2,625
4.959752
0.297214
0.033708
0.020599
0.037453
0.05618
0
0
0
0
0
0
0.001095
0.304
2,625
74
110
35.472973
0.875753
0.277333
0
0.105263
0
0
0.139675
0
0
0
0
0
0
1
0.105263
false
0.131579
0.157895
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04809fdf25177c8b665f9ae424d0de623a385945
574
py
Python
validator/main.py
ScrappyCocco/TheColonistsItalian
be7b43c3ef213292d82da1ae018402d451edf0ac
[ "MIT" ]
null
null
null
validator/main.py
ScrappyCocco/TheColonistsItalian
be7b43c3ef213292d82da1ae018402d451edf0ac
[ "MIT" ]
4
2019-09-25T12:47:54.000Z
2019-12-10T12:19:33.000Z
validator/main.py
ScrappyCocco/TheColonistsItalian
be7b43c3ef213292d82da1ae018402d451edf0ac
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import sys from CSVValidator import CSVValidator print("Starting script...") if len(sys.argv) > 2: print("Passed more than 1 arguments! You must pass only the filename! " "(if necessary pass it as \"filename\" with quotes") elif len(sys.argv) == 2: if sys.argv[1].endswith("....
26.090909
75
0.660279
80
574
4.725
0.5375
0.074074
0.05291
0.058201
0
0
0
0
0
0
0
0.015385
0.207317
574
21
76
27.333333
0.815385
0.036585
0
0.133333
0
0
0.42029
0
0
0
0
0
0
1
0
false
0.266667
0.133333
0
0.133333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0480a75b60027ca35ee256b17930969ebaf8fa74
1,090
py
Python
app/app/backend/database.py
Stienvdh/new-employee-onboarding
3e0f89ffe635b2b2dd748ec50d32b891d96bb2fb
[ "RSA-MD" ]
1
2022-03-29T13:35:38.000Z
2022-03-29T13:35:38.000Z
app/app/backend/database.py
Stienvdh/new-employee-onboarding
3e0f89ffe635b2b2dd748ec50d32b891d96bb2fb
[ "RSA-MD" ]
null
null
null
app/app/backend/database.py
Stienvdh/new-employee-onboarding
3e0f89ffe635b2b2dd748ec50d32b891d96bb2fb
[ "RSA-MD" ]
1
2021-11-21T05:56:59.000Z
2021-11-21T05:56:59.000Z
"""Copyright (c) 2020 Cisco and/or its affiliates. This software is licensed to you under the terms of the Cisco Sample Code License, Version 1.1 (the "License"). You may obtain a copy of the License at https://developer.cisco.com/docs/licenses All use of the material herein must be in accordance with...
33.030303
149
0.729358
158
1,090
5.006329
0.658228
0.063211
0.025284
0.03287
0
0
0
0
0
0
0
0.0125
0.192661
1,090
33
150
33.030303
0.886364
0.57156
0
0
0
0.076923
0.281996
0.24295
0
0
0
0
0
1
0.076923
false
0.076923
0.230769
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
048851a8b95c64745804e3b233af2c043fe8093e
1,093
py
Python
plugins/auto_reply_test.py
LeiShi1313/telefire
d4eb2ffc002d13b20161e49d3b19bf4668f54144
[ "MIT" ]
18
2020-01-08T18:50:55.000Z
2022-02-10T12:43:14.000Z
plugins/auto_reply_test.py
LeiShi1313/telefire
d4eb2ffc002d13b20161e49d3b19bf4668f54144
[ "MIT" ]
null
null
null
plugins/auto_reply_test.py
LeiShi1313/telefire
d4eb2ffc002d13b20161e49d3b19bf4668f54144
[ "MIT" ]
3
2020-07-03T05:33:42.000Z
2022-02-10T12:42:41.000Z
import os import pickle import random import traceback from collections import defaultdict from telethon import utils as telethon_utils from telethon.sync import events from plugins.base import Telegram, PluginMount from utils import get_url class Action(Telegram, metaclass=PluginMount): command_name = "auto_repl...
32.147059
87
0.63678
136
1,093
4.889706
0.5
0.03609
0.039098
0
0
0
0
0
0
0
0
0
0.289113
1,093
33
88
33.121212
0.855856
0
0
0
0
0
0.071363
0
0
0
0
0
0
1
0.035714
false
0
0.357143
0
0.464286
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
04887d5cb5f619a05bc4a19a672712f22b0ac278
9,639
py
Python
tests/datagen_test.py
Mario-Kart-Felix/deeptrain
45e066e9aa97c16780682d62250516c7d64d9897
[ "MIT" ]
16
2020-09-15T14:27:05.000Z
2021-05-30T09:43:09.000Z
tests/datagen_test.py
adbmd/deeptrain
fd412e68e23bce0d9997b0a619a6887ad557067e
[ "MIT" ]
1
2020-09-18T00:44:17.000Z
2020-09-18T14:06:00.000Z
tests/datagen_test.py
adbmd/deeptrain
fd412e68e23bce0d9997b0a619a6887ad557067e
[ "MIT" ]
3
2020-09-17T16:56:28.000Z
2021-01-30T03:23:31.000Z
# -*- coding: utf-8 -*- import os import sys # ensure `tests` directory path is on top of Python's module search filedir = os.path.dirname(__file__) sys.path.insert(0, filedir) while filedir in sys.path[1:]: sys.path.pop(sys.path.index(filedir)) # avoid duplication import pytest import numpy as np import matplotl...
29.934783
81
0.616765
1,275
9,639
4.381176
0.17098
0.070175
0.047261
0.047619
0.52184
0.426781
0.364304
0.275152
0.177408
0.122807
0
0.021058
0.251167
9,639
321
82
30.028037
0.75284
0.024795
0
0.406504
0
0
0.106603
0.006709
0
0
0
0
0.03252
1
0.105691
false
0.109756
0.052846
0
0.158537
0.00813
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
048b5cc1e9d545a62305ad9c5f4c54a9e3bb264b
322
py
Python
tests/test.py
rtatze/JSBSim_gym_wrapper
525d70e72e36fb284b2adfd63d2b3205d6e05202
[ "MIT" ]
10
2021-02-08T15:26:25.000Z
2022-03-18T07:22:20.000Z
tests/test.py
lauritowal/JSBSim_gym_wrapper
c54159c2915b93ab3c070289e9a608066cf654d7
[ "MIT" ]
1
2021-01-28T10:09:54.000Z
2021-01-28T10:09:54.000Z
tests/test.py
rtatze/JSBSim_gym_wrapper
525d70e72e36fb284b2adfd63d2b3205d6e05202
[ "MIT" ]
4
2021-01-22T16:21:26.000Z
2022-01-25T14:05:54.000Z
import os import toml import jsbsim configuration = toml.load('../config/default_configuration.toml') # included: '/Users/######/Programme/jsbsim-code' #an System anpassen. sim = jsbsim.FGFDMExec(os.path.expanduser(configuration["simulation"]["path_jsbsim"])) sim.load_model('c172p') print(sim.print_property_catalog(...
32.2
136
0.763975
40
322
6.025
0.625
0.141079
0
0
0
0
0
0
0
0
0
0.01
0.068323
322
10
137
32.2
0.793333
0.189441
0
0
0
0
0.245059
0.142292
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0490efaebd054cbae063b3af8ba78ed80f8608b2
513
py
Python
setup.py
Hanaasagi/Pirat3me0w
10a59a176a5087051c57f747b907b893115290fb
[ "MIT" ]
null
null
null
setup.py
Hanaasagi/Pirat3me0w
10a59a176a5087051c57f747b907b893115290fb
[ "MIT" ]
null
null
null
setup.py
Hanaasagi/Pirat3me0w
10a59a176a5087051c57f747b907b893115290fb
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from setuptools import setup, find_packages from src import __version__, __author__, __email__ setup( name='Pirat3me0w', version=__version__, author=__author__, author_email=__email__, keywords='Downloader, nhentai.net', description='Download manga from nhentai.net', ...
27
60
0.682261
55
513
5.854545
0.672727
0.080745
0
0
0
0
0
0
0
0
0
0.01182
0.175439
513
18
61
28.5
0.749409
0.038986
0
0
0
0
0.336049
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
049125e72cac9f8b0ce8ebfd4e477f3b65e304d0
696
py
Python
bitbitbot/models.py
MetaBytez/bitbitbot
e339aaaf18971510d4495f31b7522cd4e05da8a7
[ "MIT" ]
null
null
null
bitbitbot/models.py
MetaBytez/bitbitbot
e339aaaf18971510d4495f31b7522cd4e05da8a7
[ "MIT" ]
null
null
null
bitbitbot/models.py
MetaBytez/bitbitbot
e339aaaf18971510d4495f31b7522cd4e05da8a7
[ "MIT" ]
null
null
null
from enum import IntEnum from typing import Optional from pydantic import BaseModel class Role(IntEnum): BROADCASTER = 0 MODERATOR = 1 SUBSCRIBER = 2 VIEWER = 3 class TwitchTags(BaseModel): display_name: str color: Optional[str] user_id: str broadcaster: bool = False mod: bool ...
20.470588
51
0.614943
80
696
5.225
0.4875
0.095694
0.086124
0
0
0
0
0
0
0
0
0.00818
0.297414
696
33
52
21.090909
0.846626
0
0
0
0
0
0.024425
0
0
0
0
0
0
1
0.04
false
0
0.12
0
0.68
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0495bcb04a809b40560bd5eb87ee98ff4c3817b0
874
py
Python
src/python/splitWikiLineFile.py
antonha/luceneutil
06c356a7c71e3fa81050d7bb70a8761514ff3b23
[ "Apache-2.0" ]
null
null
null
src/python/splitWikiLineFile.py
antonha/luceneutil
06c356a7c71e3fa81050d7bb70a8761514ff3b23
[ "Apache-2.0" ]
null
null
null
src/python/splitWikiLineFile.py
antonha/luceneutil
06c356a7c71e3fa81050d7bb70a8761514ff3b23
[ "Apache-2.0" ]
null
null
null
import sys f = open(sys.argv[1], 'rb') fOut = open(sys.argv[2], 'wb') numCharLimit = int(sys.argv[3]) leftover = '' count = 0 while True: count += 1 if leftover == '': l = f.readline() if l == '': break l = l.strip().split('\t', 2) if len(l) != 3: print 'failed to get 3 elems: %d, cou...
19.422222
89
0.532037
128
874
3.632813
0.359375
0.017204
0.025806
0.047312
0.103226
0.103226
0.103226
0.103226
0.103226
0.103226
0
0.022329
0.282609
874
44
90
19.863636
0.719298
0
0
0.171429
0
0
0.106407
0
0
0
0
0
0
0
null
null
0
0.028571
null
null
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04a25a1ad506dda43182cc1d6022a46ded35baf8
942
py
Python
minigame/games/shit_invaders/global_constants.py
AndrewCarterUK/MiniGame
6d699c045e84ee3834f23eb0483245195438eff7
[ "MIT" ]
null
null
null
minigame/games/shit_invaders/global_constants.py
AndrewCarterUK/MiniGame
6d699c045e84ee3834f23eb0483245195438eff7
[ "MIT" ]
null
null
null
minigame/games/shit_invaders/global_constants.py
AndrewCarterUK/MiniGame
6d699c045e84ee3834f23eb0483245195438eff7
[ "MIT" ]
null
null
null
WIDTH = 128 HEIGHT = 128 # Must be more than ALIEN_SIZE, used to pad alien rows and columns ALIEN_BLOCK_SIZE = 8 # Alien constants are global as their spacing is used to separate them ALIENS_PER_ROW = int(WIDTH / ALIEN_BLOCK_SIZE) - 6 ALIEN_ROWS = int(HEIGHT / (2 * ALIEN_BLOCK_SIZE)) # How often to move the aliens i...
26.166667
93
0.645435
188
942
3.074468
0.340426
0.138408
0.176471
0.200692
0.110727
0.110727
0.110727
0.105536
0.105536
0.105536
0
0.123967
0.229299
942
36
94
26.166667
0.672176
0.305732
0
0.291667
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04a48392e34ac9b568a190ce4c8ee210c7534d50
5,777
py
Python
pfSense_Automation/Nightly Reports/geoip_nightly_report.py
CommonSense-CyberGroup/Home_Cyber_Security
a1ebf12978072174445752594c7ad441f6fe78b8
[ "MIT" ]
null
null
null
pfSense_Automation/Nightly Reports/geoip_nightly_report.py
CommonSense-CyberGroup/Home_Cyber_Security
a1ebf12978072174445752594c7ad441f6fe78b8
[ "MIT" ]
null
null
null
pfSense_Automation/Nightly Reports/geoip_nightly_report.py
CommonSense-CyberGroup/Home_Cyber_Security
a1ebf12978072174445752594c7ad441f6fe78b8
[ "MIT" ]
null
null
null
#!usr/local//bin/python3.8 ''' TITLE: GeoIP Blocker Report BY: Common Sense Cyber Group Some Guy they call Scooter Version: 1.0.1 License: MIT Created: 2/25/2022 Updated: 3/2/2022 Purpose: -This script is intended to give a daily report of blocked GeoIPs from a pfSense FW using pfBlockerNG. This script ...
36.563291
265
0.701748
863
5,777
4.593279
0.336037
0.016145
0.009839
0.009082
0.120081
0.078708
0.078708
0.061554
0.043895
0.028254
0
0.017088
0.199758
5,777
157
266
36.796178
0.840363
0.447637
0
0
0
0.013514
0.173218
0.080217
0
0
0
0
0
1
0.040541
false
0.067568
0.135135
0
0.189189
0.013514
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04a632c71df41ee90bf41bfede64a7834ab02108
388
py
Python
__init__.py
pydev2007/lyrics-skill
145441eaaa07698bfce5383aa2d0c774e95df218
[ "Apache-2.0" ]
null
null
null
__init__.py
pydev2007/lyrics-skill
145441eaaa07698bfce5383aa2d0c774e95df218
[ "Apache-2.0" ]
null
null
null
__init__.py
pydev2007/lyrics-skill
145441eaaa07698bfce5383aa2d0c774e95df218
[ "Apache-2.0" ]
null
null
null
from mycroft import MycroftSkill, intent_file_handler class Lyrics(MycroftSkill): def __init__(self): MycroftSkill.__init__(self) @intent_file_handler('lyrics.intent') def handle_lyrics(self, message): song = message.data.get('song') self.speak_dialog('lyrics', data={ ...
19.4
53
0.646907
43
388
5.488372
0.511628
0.084746
0.144068
0
0
0
0
0
0
0
0
0
0.239691
388
19
54
20.421053
0.8
0
0
0
0
0
0.069767
0
0
0
0
0
0
1
0.25
false
0
0.083333
0.083333
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
04ab53306aeae8b27d81ffc8fc989681833c8b9e
1,919
py
Python
tests/test_reader.py
opusonesolutions/ditto-1
62f04b9a4516d8791fbd8edfa33f364da3ba9937
[ "BSD-3-Clause" ]
2
2021-03-26T05:25:17.000Z
2021-03-26T05:26:46.000Z
tests/test_reader.py
dpinney/ditto
41dbba80e4990ed9949370fff809e4a68382e213
[ "BSD-3-Clause" ]
null
null
null
tests/test_reader.py
dpinney/ditto
41dbba80e4990ed9949370fff809e4a68382e213
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ test_reader ---------------------------------- Tests for `ditto` module readers """ import os import pytest as pt from ditto.store import Store current_directory = os.path.realpath(os.path.dirname(__file__)) def test_gld_reader(): gridlabd_models_dir = os.path.join(current_directory,...
30.951613
158
0.66493
268
1,919
4.570896
0.242537
0.073469
0.057143
0.04898
0.582857
0.473469
0.453061
0.301224
0.177143
0.12
0
0.000642
0.18864
1,919
61
159
31.459016
0.786127
0.096925
0
0.264706
0
0
0.089499
0
0
0
0
0.081967
0
1
0.117647
false
0.029412
0.235294
0
0.352941
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
04abd17c1659e01a449d6ed124efbc3cb3e71a11
219
py
Python
99-Python_Miscellaneous/python_seek.py
spendyala/deeplearning-docker
1dcd03e2e65cb1897daf9dfffeab018f97fc0780
[ "MIT" ]
null
null
null
99-Python_Miscellaneous/python_seek.py
spendyala/deeplearning-docker
1dcd03e2e65cb1897daf9dfffeab018f97fc0780
[ "MIT" ]
1
2021-02-02T22:47:32.000Z
2021-02-02T22:47:32.000Z
99-Python_Miscellaneous/python_seek.py
spendyala/deeplearning-docker
1dcd03e2e65cb1897daf9dfffeab018f97fc0780
[ "MIT" ]
null
null
null
fp = open('abcd.txt', 'r') line_offset = [] offset = 0 for line in fp: line_offset.append(offset) offset += len(line) print(line_offset) for each in line_offset: fp.seek(each) print(fp.readline()[:-1])
18.25
30
0.643836
35
219
3.914286
0.485714
0.291971
0
0
0
0
0
0
0
0
0
0.011299
0.191781
219
11
31
19.909091
0.762712
0
0
0
0
0
0.041096
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04ad2fd38be3b5d126ca86512267068da4103f94
442
py
Python
events.py
otobrglez/boto-mon
a17efb233d3cde5938808e9437fafa16ac06de3d
[ "Apache-2.0" ]
null
null
null
events.py
otobrglez/boto-mon
a17efb233d3cde5938808e9437fafa16ac06de3d
[ "Apache-2.0" ]
null
null
null
events.py
otobrglez/boto-mon
a17efb233d3cde5938808e9437fafa16ac06de3d
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from enum import Enum import uuid class EventType(Enum): ArpDevicePresent = 0 NmapDevicePresent = 1 class Event(dict): uuid = uuid.uuid4() created_at = datetime.utcnow().isoformat() def __init__(self, type, *args, **kwargs): self['type'] = type.name ...
23.263158
46
0.640271
54
442
5.111111
0.5
0.097826
0.094203
0.123188
0
0
0
0
0
0
0
0.008772
0.226244
442
18
47
24.555556
0.798246
0
0
0
0
0
0.054299
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04b1c2d84b18ba87018f6a2468f9f87ca0a0e338
5,653
py
Python
RenderStateNotation/scripts/cxx_config.py
SebMenozzi/DiligentTools
cf2d8b67df590a93862749051c65310535a2f3cd
[ "Apache-2.0" ]
null
null
null
RenderStateNotation/scripts/cxx_config.py
SebMenozzi/DiligentTools
cf2d8b67df590a93862749051c65310535a2f3cd
[ "Apache-2.0" ]
null
null
null
RenderStateNotation/scripts/cxx_config.py
SebMenozzi/DiligentTools
cf2d8b67df590a93862749051c65310535a2f3cd
[ "Apache-2.0" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright 2019-2022 Diligent Graphics LLC # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.a...
30.069149
90
0.698213
612
5,653
6.295752
0.393791
0.031145
0.013496
0.01661
0.534129
0.519595
0.519595
0.519595
0.519595
0.519595
0
0.00654
0.188572
5,653
187
91
30.229947
0.833442
0.246949
0
0.014815
0
0
0.753959
0.178208
0
0
0
0
0
1
0
false
0.02963
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04b4505326aa7404cd153120b6486b0308abc64b
2,648
py
Python
chess/game.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
chess/game.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
chess/game.py
tomviner/chess
2709f7c7a4d7c2e8e458e204b4ecfdbe97b1c493
[ "MIT" ]
null
null
null
import itertools from .board import Board from .exception import BadMove, InputError from .notation import Notation from .rules import ASCII_START_BOARD from .user import CmdLineUser class Game(object): """ A game that can initialise a board take input from a player """ default_user_c...
28.170213
67
0.537387
302
2,648
4.55298
0.327815
0.039273
0.032727
0.045818
0.111273
0.048
0.048
0.048
0
0
0
0.012012
0.371224
2,648
93
68
28.473118
0.813814
0.029079
0
0.090909
0
0
0.007217
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04b810e9d1947a1379d670b161f37f39061e540c
2,884
py
Python
src/extensions/lang/python/reader/testStateProtoFileParser.py
poobalan-arumugam/stateproto
2b62d8a391ccf975480027e4c2f0fa736418ea30
[ "BSD-2-Clause" ]
1
2020-05-28T16:21:03.000Z
2020-05-28T16:21:03.000Z
src/extensions/lang/python/reader/testStateProtoFileParser.py
poobalan-arumugam/stateproto
2b62d8a391ccf975480027e4c2f0fa736418ea30
[ "BSD-2-Clause" ]
null
null
null
src/extensions/lang/python/reader/testStateProtoFileParser.py
poobalan-arumugam/stateproto
2b62d8a391ccf975480027e4c2f0fa736418ea30
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function from reader.parseStateProtoFile import * from reader.StateTreeModel import * from codegens.pygen import * from codegens.jsgen import * from codegens.stgen import * def tag(tagName, tagValue): return "<%(tagName)s>%(tagValue)s</%(tagName)s>" % locals() def walkStateTree_Table...
36.506329
146
0.680999
321
2,884
6.065421
0.389408
0.024653
0.01849
0.015408
0.12378
0.116076
0.116076
0.116076
0.116076
0.116076
0
0.004641
0.178225
2,884
78
147
36.974359
0.816878
0.193135
0
0.254545
0
0.018182
0.137128
0.073307
0
0
0
0
0
1
0.109091
false
0.072727
0.109091
0.018182
0.236364
0.236364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04c01142b1f32e6fc285af85e8109e98a5c118b4
976
py
Python
setup.py
mypresences/vimeo.py
352a1b2e9a0757560d62bb1ac34953b95e4ab3a5
[ "Apache-2.0" ]
null
null
null
setup.py
mypresences/vimeo.py
352a1b2e9a0757560d62bb1ac34953b95e4ab3a5
[ "Apache-2.0" ]
null
null
null
setup.py
mypresences/vimeo.py
352a1b2e9a0757560d62bb1ac34953b95e4ab3a5
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python # encoding: utf-8 try: from setuptools import setup except ImportError: from distutils.core import setup setup(name='PyVimeo', version='1.0.11', description='Simple interaction with the Vimeo API.', url='https://developer.vimeo.com/', author='Vimeo', author_email='su...
31.483871
71
0.620902
102
976
5.921569
0.745098
0.036424
0
0
0
0
0
0
0
0
0
0.015979
0.230533
976
30
72
32.533333
0.788282
0.03791
0
0
0
0
0.561366
0
0
0
0
0
0
1
0
true
0
0.115385
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
04c18f46b10240198b230eb7644b8bfed98c471c
461
py
Python
SpringSemester2021/01_Jupyter-Python/Ex01_03_Sol.py
KretschiGL/DataScienceLecture
e6bbb3efd531b08aa4757fb6e89d12e959678a44
[ "MIT" ]
1
2021-05-09T11:02:35.000Z
2021-05-09T11:02:35.000Z
SpringSemester2021/01_Jupyter-Python/Ex01_03_Sol.py
KretschiGL/DataScienceLecture
e6bbb3efd531b08aa4757fb6e89d12e959678a44
[ "MIT" ]
null
null
null
SpringSemester2021/01_Jupyter-Python/Ex01_03_Sol.py
KretschiGL/DataScienceLecture
e6bbb3efd531b08aa4757fb6e89d12e959678a44
[ "MIT" ]
1
2020-05-26T15:35:40.000Z
2020-05-26T15:35:40.000Z
# Add 5 to number add5 = lambda n : n + 5 print(add5(2)) print(add5(7)) print() # Square number sqr = lambda n : n * n print(sqr(2)) print(sqr(7)) print() # Next integer nextInt = lambda n : int(n) + 1 print(nextInt(2.7)) print(nextInt(7.2)) print() # Previous integer of half prevInt = lambda n : int(n // 2) print(p...
16.464286
45
0.650759
83
461
3.614458
0.337349
0.1
0.053333
0.073333
0
0
0
0
0
0
0
0.065445
0.171367
461
28
46
16.464286
0.719895
0.180043
0
0.210526
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.736842
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
04c2c0a485530dd6c0d38c6f2f2701b57d69e3af
1,839
py
Python
src/sentinel/azext_sentinel/vendored_sdks/security_insights/models/action_request.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
null
null
null
src/sentinel/azext_sentinel/vendored_sdks/security_insights/models/action_request.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
null
null
null
src/sentinel/azext_sentinel/vendored_sdks/security_insights/models/action_request.py
hpsan/azure-cli-extensions
be1589bb6dd23837796e088d28e65e873050171e
[ "MIT" ]
1
2020-07-16T23:49:49.000Z
2020-07-16T23:49:49.000Z
# coding=utf-8 # -------------------------------------------------------------------------- # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. # -------------------------------------------------------------------------- from ...
36.058824
126
0.589995
208
1,839
5.057692
0.413462
0.06654
0.091255
0.102662
0
0
0
0
0
0
0
0.000679
0.199565
1,839
50
127
36.78
0.713995
0.500816
0
0
1
0
0.280285
0.109264
0
0
0
0
0
1
0.052632
false
0
0.052632
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04c784d6375548a80509bf483899e44860315431
592
py
Python
models.py
tentangdata/crane
2dbd040cd66241ebd4faa43f36af3b9907265779
[ "MIT" ]
null
null
null
models.py
tentangdata/crane
2dbd040cd66241ebd4faa43f36af3b9907265779
[ "MIT" ]
null
null
null
models.py
tentangdata/crane
2dbd040cd66241ebd4faa43f36af3b9907265779
[ "MIT" ]
null
null
null
from database import db from datetime import datetime import hashlib import uuid class Name(db.Model): id = db.Column(db.Integer, primary_key=True) name = db.Column(db.String(255)) gender = db.Column(db.Integer) predicted = db.Column(db.Integer) created_at = db.Column(db.DateTime) def __init__...
29.6
82
0.660473
81
592
4.691358
0.407407
0.105263
0.131579
0.134211
0
0
0
0
0
0
0
0.006508
0.221284
592
20
82
29.6
0.817787
0
0
0
0
0
0.040472
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0.058824
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
04c942b0c65019e44b6d0b973b81d2b28c23c359
300
py
Python
test_code/test_2_1_imread.py
WanglinLi595/OpenCV_Image_Process_Study
02401790f06b20e3e2a14a01940f65f28de31e5b
[ "MIT" ]
null
null
null
test_code/test_2_1_imread.py
WanglinLi595/OpenCV_Image_Process_Study
02401790f06b20e3e2a14a01940f65f28de31e5b
[ "MIT" ]
1
2019-12-19T06:46:48.000Z
2019-12-19T06:46:48.000Z
test_code/test_2_1_imread.py
WanglinLi595/OpenCV_Image_Process_Study
02401790f06b20e3e2a14a01940f65f28de31e5b
[ "MIT" ]
2
2019-12-19T05:51:22.000Z
2019-12-19T10:23:47.000Z
#!/usr/bin/env python # coding=utf-8 ''' @描述: 读取图片数据 @版本: V1_0 @作者: LiWanglin @创建时间: 2020.02.06 @最后编辑人: LiWanglin @最后编辑时间: 2020.02.06 ''' import cv2 as cv image = cv.imread("../test_image/lena512.bmp", cv.IMREAD_UNCHANGED) print("image的类型为:", type(image))# 打印图片类型 print("image = \n", image)# 打印图片数据
18.75
67
0.683333
48
300
4.208333
0.75
0.059406
0.079208
0
0
0
0
0
0
0
0
0.086792
0.116667
300
16
68
18.75
0.675472
0.466667
0
0
0
0
0.3
0.166667
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
04ca1097f26178d3e7a46781d6a191a135b818c4
20,115
py
Python
gpnet_exact.py
steveli/gp-adapter
361fdfbc97f9691b1cc1b422953536b3673e5ee0
[ "MIT" ]
13
2017-08-30T02:54:04.000Z
2021-09-27T07:37:17.000Z
gpnet_exact.py
steveli/gp-adapter
361fdfbc97f9691b1cc1b422953536b3673e5ee0
[ "MIT" ]
null
null
null
gpnet_exact.py
steveli/gp-adapter
361fdfbc97f9691b1cc1b422953536b3673e5ee0
[ "MIT" ]
4
2017-08-30T02:54:11.000Z
2020-02-03T18:45:55.000Z
from __future__ import division import numpy as np import theano.tensor as T import theano from theano.sandbox.rng_mrg import MRG_RandomStreams as RandomStreams import lasagne from lasagne.nonlinearities import softmax, rectify, tanh from lasagne.layers import InputLayer, DenseLayer, Conv1DLayer, MaxPool1DLayer from la...
38.387405
79
0.604971
2,447
20,115
4.681242
0.133224
0.013968
0.028197
0.008381
0.279092
0.198865
0.140201
0.121519
0.091925
0.091925
0
0.011942
0.304797
20,115
523
80
38.460803
0.807208
0.051752
0
0.135714
0
0
0.058463
0.001905
0.002381
0
0
0
0
0
null
null
0.002381
0.052381
null
null
0.07619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
04ce09627c8960b6956af550443950ec35cd23c6
13,873
py
Python
tests/test_send_stats_to_performance_platform.py
alphagov-mirror/digitalmarketplace-scripts
8a7ef9b2b5f5fffea6e012bd676b095a27d35101
[ "MIT" ]
1
2020-06-23T01:55:31.000Z
2020-06-23T01:55:31.000Z
tests/test_send_stats_to_performance_platform.py
alphagov-mirror/digitalmarketplace-scripts
8a7ef9b2b5f5fffea6e012bd676b095a27d35101
[ "MIT" ]
267
2015-10-12T12:43:52.000Z
2021-08-19T10:38:55.000Z
tests/test_send_stats_to_performance_platform.py
alphagov-mirror/digitalmarketplace-scripts
8a7ef9b2b5f5fffea6e012bd676b095a27d35101
[ "MIT" ]
7
2015-11-11T16:47:41.000Z
2021-04-10T18:03:04.000Z
import json import mock from dmscripts.send_stats_to_performance_platform import applications_by_stage, services_by_lot, send_by_stage_stats, \ send_by_lot_stats FRAMEWORK_JSON = json.loads(''' { "frameworks": { "lots": [ {"slug": "cloud-hosting"}, {"slug": "cloud-software"}, ...
36.896277
131
0.612196
1,483
13,873
5.557653
0.107889
0.046591
0.046591
0.03106
0.731861
0.716816
0.669983
0.642926
0.572677
0.551808
0
0.088369
0.256902
13,873
375
132
36.994667
0.711126
0.18518
0
0.552239
0
0.01194
0.585035
0.217202
0
0
0
0
0.041791
1
0.01791
false
0
0.008955
0
0.026866
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d090749eadbbb6a71d3e7cf06e444a4a20b954
554
py
Python
LinearModel/src/config.py
ymliucn/CIP
f15780729182be71c48f68b1812fc8c858f25622
[ "MIT" ]
null
null
null
LinearModel/src/config.py
ymliucn/CIP
f15780729182be71c48f68b1812fc8c858f25622
[ "MIT" ]
null
null
null
LinearModel/src/config.py
ymliucn/CIP
f15780729182be71c48f68b1812fc8c858f25622
[ "MIT" ]
null
null
null
small_train_path = "../data/small_dataset/train.conll" # 小数据集-训练集 small_dev_path = "../data/small_dataset/dev.conll" # 小数据集-验证集 big_train_path = "../data/big_dataset/train" # 大数据集-训练集 big_dev_path = "../data/big_dataset/dev" # 大数据集-验证集 big_test_path = "../data/big_dataset/test" # 大数据集-测试集 result_path = "../re...
39.571429
67
0.718412
77
554
4.87013
0.467532
0.106667
0.088
0.144
0
0
0
0
0
0
0
0.010616
0.149819
554
13
68
42.615385
0.785563
0.225632
0
0
0
0
0.40099
0.40099
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04d9223e5b42ba0f4f2bf97335553854c8ced2a1
9,339
py
Python
posts/tests.py
Kolokol2002/Yatube
a21da14cae159950cfe053b9a66c908db8b9c09a
[ "BSD-3-Clause" ]
null
null
null
posts/tests.py
Kolokol2002/Yatube
a21da14cae159950cfe053b9a66c908db8b9c09a
[ "BSD-3-Clause" ]
null
null
null
posts/tests.py
Kolokol2002/Yatube
a21da14cae159950cfe053b9a66c908db8b9c09a
[ "BSD-3-Clause" ]
null
null
null
import tempfile from django.core import mail from django.core.cache import cache from django.test import Client, TestCase, override_settings from posts.models import Follow, Group, Post, User # User = get_user_model() class ProfileTest(TestCase): def setUp(self): # создаём пользователя self.clie...
44.471429
115
0.535389
915
9,339
5.405464
0.222951
0.074808
0.065507
0.067934
0.514355
0.417307
0.340882
0.267085
0.257986
0.23332
0
0.020495
0.346932
9,339
209
116
44.684211
0.790457
0.082022
0
0.349693
0
0.006135
0.162412
0.025761
0
0
0
0
0.141104
1
0.092025
false
0.104294
0.030675
0
0.159509
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
04da908bed437755995b6e5d287215b74fa100eb
828
py
Python
Resaltador Paralelo/Carpeta1/main.py
erteck/textHighlighter
9f079d81b16acbd98a4f5f8520e43bef483d0071
[ "MIT" ]
null
null
null
Resaltador Paralelo/Carpeta1/main.py
erteck/textHighlighter
9f079d81b16acbd98a4f5f8520e43bef483d0071
[ "MIT" ]
null
null
null
Resaltador Paralelo/Carpeta1/main.py
erteck/textHighlighter
9f079d81b16acbd98a4f5f8520e43bef483d0071
[ "MIT" ]
null
null
null
from figures import GeometricObject, Circle, ResizableCircle, Resizable, Rectangle, ResizableRectangle def print_figure(gf): print(f'{gf}, perimeter = {gf.perimeter():.3f}, area = {gf.area():.3f}') def double_size(gf): if isinstance(gf,Resizable): gf.resize(200) else: print('Figure cannot be...
19.714286
102
0.665459
112
828
4.821429
0.357143
0.122222
0.044444
0.051852
0.07037
0
0
0
0
0
0
0.024691
0.119565
828
42
103
19.714286
0.716049
0
0
0.25
0
0.027778
0.232811
0.025332
0
0
0
0
0
1
0.055556
false
0
0.027778
0
0.083333
0.583333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
04e1a2c5e0ab421bbafec5feda842a0aa059f353
1,185
py
Python
fdriver/generators/generator.py
AdamMusa/fdriver
312ff4a9dc9e6d17b6b610f990b93d30589c4f8e
[ "MIT" ]
1
2021-03-16T15:32:36.000Z
2021-03-16T15:32:36.000Z
fdriver/generators/generator.py
AdamMusa/mvr
312ff4a9dc9e6d17b6b610f990b93d30589c4f8e
[ "MIT" ]
null
null
null
fdriver/generators/generator.py
AdamMusa/mvr
312ff4a9dc9e6d17b6b610f990b93d30589c4f8e
[ "MIT" ]
null
null
null
files = { "server.py":"""#Import all your routes here from {}.routes import router from fastapi import FastAPI app = FastAPI() app.include_router(router) """, "settings.py": """#configuration for database""", "test.py":"""#implement your test here""", "models.py": """#implement your models here from pydantic impor...
22.788462
96
0.678481
152
1,185
5.276316
0.282895
0.109726
0.130923
0.047382
0.461347
0.461347
0.309227
0.309227
0.216958
0.216958
0
0
0.148523
1,185
52
97
22.788462
0.794846
0
0
0.105263
0
0
0.866779
0.021922
0
0
0
0
0
1
0
false
0
0.184211
0
0.236842
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04e667074d98ed642b9541a54770d9605dcf3459
2,382
py
Python
yolk/test/__init__.py
yolkdata/yolk-python
978d98cbe637c1309a1be766a40bb874e996c61d
[ "MIT", "Unlicense" ]
null
null
null
yolk/test/__init__.py
yolkdata/yolk-python
978d98cbe637c1309a1be766a40bb874e996c61d
[ "MIT", "Unlicense" ]
null
null
null
yolk/test/__init__.py
yolkdata/yolk-python
978d98cbe637c1309a1be766a40bb874e996c61d
[ "MIT", "Unlicense" ]
null
null
null
import unittest import pkgutil import logging import sys import yolk from yolk.client import Client def all_names(): for _, modname, _ in pkgutil.iter_modules(__path__): yield 'yolk.test.' + modname def all(): logging.basicConfig(stream=sys.stderr) return unittest.defaultTestLoader.loadTestsFro...
28.698795
69
0.662888
286
2,382
5.339161
0.213287
0.158481
0.244925
0.125737
0.553373
0.493779
0.469548
0.176817
0
0
0
0.011038
0.239295
2,382
82
70
29.04878
0.831678
0
0
0.328358
0
0
0.02351
0
0
0
0
0
0.283582
1
0.164179
false
0
0.089552
0
0.283582
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
04eb402f051003b924a972a12aac8c3d351fd205
3,312
py
Python
relsis/utils.py
Gunnstein/relsis
6fed57d76f1233144a476cf21a2e9612d571544b
[ "MIT" ]
null
null
null
relsis/utils.py
Gunnstein/relsis
6fed57d76f1233144a476cf21a2e9612d571544b
[ "MIT" ]
null
null
null
relsis/utils.py
Gunnstein/relsis
6fed57d76f1233144a476cf21a2e9612d571544b
[ "MIT" ]
1
2021-04-29T12:31:26.000Z
2021-04-29T12:31:26.000Z
# -*- coding: utf-8 -*- from __future__ import (division, print_function, absolute_import, unicode_literals) import numpy as np import scipy.stats as stats import multiprocessing def ci2err(ci): """Convert confidence interval into upper and lower error for matplotlib. """ yerr = n...
26.285714
79
0.613527
461
3,312
4.316703
0.409978
0.01206
0.030151
0.017085
0
0
0
0
0
0
0
0.015886
0.277778
3,312
125
80
26.496
0.816054
0.476751
0
0
0
0
0.033512
0
0
0
0
0
0
1
0.204545
false
0
0.090909
0.045455
0.477273
0.022727
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
04f551aa9cb81ad3193fba8de5116aa43be13842
903
py
Python
test/transform/test_rotate.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
8
2018-08-30T13:13:48.000Z
2021-07-24T08:49:35.000Z
test/transform/test_rotate.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
1
2021-09-21T04:11:39.000Z
2021-09-21T04:11:39.000Z
test/transform/test_rotate.py
PingjunChen/pycontour
13f64b685740368605db314b0f547f9f8dd4e737
[ "BSD-3-Clause" ]
4
2018-09-21T20:38:26.000Z
2021-09-17T21:45:37.000Z
# -*- coding: utf-8 -*- import os, sys import numpy as np from skimage import io from os.path import dirname as opd from os.path import abspath as opa from os.path import join as opj TEST_PATH = opa(opd(opd(__file__))) PRJ_PATH = opd(TEST_PATH) sys.path.insert(0, PRJ_PATH) sys.path.insert(0, opj(PRJ_PATH, "pycontour"...
26.558824
77
0.707641
154
903
3.948052
0.376623
0.039474
0.049342
0.078947
0.059211
0
0
0
0
0
0
0.080214
0.17165
903
33
78
27.363636
0.73262
0.035437
0
0
0
0
0.042627
0.032258
0
0
0
0
0
1
0.04
false
0
0.36
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b6bb20c89a5ca88ed9d2e869b88a755ceed6f793
8,940
py
Python
scripts/prepare_bert_data.py
jerrykuo7727/QA-FGC-joint-sep
e207b484af59e0bd31ac9d47d15197228dc5d9b7
[ "Apache-2.0" ]
1
2020-06-04T10:07:33.000Z
2020-06-04T10:07:33.000Z
scripts/prepare_bert_data.py
jerrykuo7727/QA-FGC-joint-sep
e207b484af59e0bd31ac9d47d15197228dc5d9b7
[ "Apache-2.0" ]
null
null
null
scripts/prepare_bert_data.py
jerrykuo7727/QA-FGC-joint-sep
e207b484af59e0bd31ac9d47d15197228dc5d9b7
[ "Apache-2.0" ]
null
null
null
import re import sys import json from os.path import join, exists from transformers import BertTokenizer def tokenize_no_unk(tokenizer, text): split_tokens = [] for token in tokenizer.basic_tokenizer.tokenize(text, never_split=tokenizer.all_special_tokens): wp_tokens = tokenizer.wordpiece_tokenizer.tok...
46.082474
155
0.504586
1,060
8,940
4.035849
0.140566
0.037401
0.042076
0.027349
0.265311
0.178354
0.152641
0.104488
0.097008
0.097008
0
0.012245
0.369687
8,940
193
156
46.321244
0.746939
0.018009
0
0.093168
0
0.006211
0.088141
0.033295
0
0
0
0
0.049689
1
0.012422
false
0.161491
0.031056
0
0.068323
0.024845
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b6bcb58a6142d5fd9ca933a30b6cb00163f693d1
228
py
Python
thonnycontrib/esp/esp32_api_stubs/socket.py
thonny/thonny-esp
a042c88bd20dc077d9b97673d55b3bbd2d79f60c
[ "MIT" ]
6
2019-03-07T05:32:11.000Z
2022-03-21T08:14:12.000Z
thonnycontrib/m5stack/esp32_api_stubs/usocket.py
thonny/thonny-m5stack
a502579ad5e264342ae0bc2c554c78527053693b
[ "MIT" ]
1
2019-04-10T09:26:52.000Z
2019-04-10T09:26:52.000Z
thonnycontrib/m5stack/esp32_api_stubs/usocket.py
thonny/thonny-m5stack
a502579ad5e264342ae0bc2c554c78527053693b
[ "MIT" ]
5
2019-01-27T17:03:43.000Z
2022-03-21T08:14:13.000Z
AF_INET = 2 AF_INET6 = 10 IPPROTO_IP = 0 IPPROTO_TCP = 6 IPPROTO_UDP = 17 IP_ADD_MEMBERSHIP = 3 SOCK_DGRAM = 2 SOCK_RAW = 3 SOCK_STREAM = 1 SOL_SOCKET = 4095 SO_REUSEADDR = 4 def getaddrinfo(): pass def socket(): pass
12.666667
21
0.710526
40
228
3.75
0.725
0.066667
0
0
0
0
0
0
0
0
0
0.094972
0.214912
228
17
22
13.411765
0.743017
0
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.133333
false
0.133333
0
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b6bff554b08171fce55fc6d4509e432854387499
484
py
Python
tests/runtime/test_recursion_error.py
hoefling/friendly-traceback
26acac903521c5f0e5cf837d32bda750918d4afb
[ "MIT" ]
45
2021-07-06T03:30:20.000Z
2022-03-16T17:30:58.000Z
tests/runtime/test_recursion_error.py
hoefling/friendly-traceback
26acac903521c5f0e5cf837d32bda750918d4afb
[ "MIT" ]
110
2021-06-28T11:48:46.000Z
2022-03-25T20:41:25.000Z
tests/runtime/test_recursion_error.py
hoefling/friendly-traceback
26acac903521c5f0e5cf837d32bda750918d4afb
[ "MIT" ]
4
2021-07-05T20:56:39.000Z
2021-11-11T20:24:34.000Z
import friendly_traceback def test_Generic(): def a(): return a() try: a() except RecursionError as e: message = str(e) friendly_traceback.explain_traceback(redirect="capture") result = friendly_traceback.get_output() assert "RecursionError" in result if fr...
22
64
0.642562
56
484
5.25
0.589286
0.231293
0.136054
0
0
0
0
0
0
0
0
0.002778
0.256198
484
21
65
23.047619
0.813889
0
0
0
0
0
0.092975
0
0
0
0
0
0.125
1
0.125
false
0
0.0625
0.0625
0.3125
0.0625
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b6c621cd1299420e259df04df82037b43172efdc
13,245
py
Python
pithy/io.py
gwk/pithy
a48fabe9b4724c5005a034bd18b2e70d10617a78
[ "CC0-1.0" ]
7
2019-05-04T00:51:38.000Z
2021-12-10T15:36:31.000Z
pithy/io.py
gwk/pithy
a48fabe9b4724c5005a034bd18b2e70d10617a78
[ "CC0-1.0" ]
null
null
null
pithy/io.py
gwk/pithy
a48fabe9b4724c5005a034bd18b2e70d10617a78
[ "CC0-1.0" ]
1
2016-07-30T22:38:08.000Z
2016-07-30T22:38:08.000Z
# Dedicated to the public domain under CC0: https://creativecommons.org/publicdomain/zero/1.0/. from os import O_NONBLOCK, O_RDONLY, close as os_close, open as os_open, read as os_read from pprint import pprint from shlex import quote as sh_quote from string import Template as _Template from sys import stderr, stdin, ...
33.961538
145
0.62786
1,973
13,245
4.156107
0.150532
0.038049
0.052317
0.074146
0.53378
0.503537
0.47378
0.467805
0.434268
0.421951
0
0.005226
0.19094
13,245
389
146
34.048843
0.759612
0.229898
0
0.333333
0
0.022727
0.174949
0.017941
0
0
0.000674
0.002571
0.011364
1
0.212121
false
0.003788
0.037879
0.007576
0.299242
0.170455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b6cdb64bc662eed4a94b73e424fb7a4e1d3b49e9
1,796
py
Python
app/modules/mutation.py
NTUT-108-SE/CMS-Backend
1daa37960ba61f935da5174516f0a2e411b68706
[ "MIT" ]
null
null
null
app/modules/mutation.py
NTUT-108-SE/CMS-Backend
1daa37960ba61f935da5174516f0a2e411b68706
[ "MIT" ]
null
null
null
app/modules/mutation.py
NTUT-108-SE/CMS-Backend
1daa37960ba61f935da5174516f0a2e411b68706
[ "MIT" ]
1
2019-10-12T02:48:16.000Z
2019-10-12T02:48:16.000Z
# pylint: disable=no-member import graphene from .sub_graphql.user_graphql import CreateUser, MutateUser, DeleteUser from .sub_graphql.healthrecord_graphql import CreateHealthRecord, MutateHealthRecord, DeleteHealthRecord from .sub_graphql.patient_graphql import CreatePatient, MutatePatient, DeletePatient from .sub_gra...
42.761905
120
0.816815
166
1,796
8.596386
0.295181
0.039243
0.078486
0
0
0
0
0
0
0
0
0
0.115813
1,796
41
121
43.804878
0.898615
0.01392
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.290323
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
b6d0011f33b83abc211040f0a6bd8a29e2a8f36f
1,107
py
Python
webdev/tasks/tests/test_tasks_editing.py
johnnybigoo/django-30-min
cb2d67d6abdf89fbab6c86b6da268b048aa4b145
[ "MIT" ]
1
2022-01-26T17:35:09.000Z
2022-01-26T17:35:09.000Z
webdev/tasks/tests/test_tasks_editing.py
johnnybigoo/django-30-min
cb2d67d6abdf89fbab6c86b6da268b048aa4b145
[ "MIT" ]
8
2022-01-27T21:44:32.000Z
2022-02-07T06:20:58.000Z
webdev/tasks/tests/test_tasks_editing.py
johnnybigoo/django-30-min
cb2d67d6abdf89fbab6c86b6da268b048aa4b145
[ "MIT" ]
null
null
null
import pytest from django.urls import reverse from pytest_django.asserts import assertContains from webdev.tasks.models import Task @pytest.fixture def pending_task(db): return Task.objects.create(name='Task 1', done='False') @pytest.fixture def response_with_pending_task(client, pending_task): resp = c...
25.744186
69
0.722674
156
1,107
4.897436
0.269231
0.129581
0.08377
0.120419
0.434555
0.28534
0.21466
0.21466
0.21466
0
0
0.005342
0.154472
1,107
42
70
26.357143
0.810897
0
0
0.266667
0
0
0.112116
0.044304
0
0
0
0
0.133333
1
0.233333
false
0
0.133333
0.066667
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b6d5cd9a5fe9a821d9855765db23dd1abc10a5ef
358
py
Python
scripts/fix_scores.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
scripts/fix_scores.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
scripts/fix_scores.py
Supermaxman/epic_qa
9698d356f79c14a58d383031816dc190b5115b77
[ "MIT" ]
null
null
null
fixed_rows = [] with open('runs/expert/baseline_pass_full_doc_rerank', 'r') as fi: for line in fi: line = line.strip().split() if line: fixed_score = -float(line[4]) line[4] = str(fixed_score) fixed_rows.append('\t'.join(line)) with open('runs/expert/baseline_pass_full_doc_rerank', 'w') as fo: for row ...
25.571429
66
0.678771
61
358
3.770492
0.52459
0.117391
0.104348
0.156522
0.373913
0.373913
0.373913
0.373913
0.373913
0
0
0.006601
0.153631
358
13
67
27.538462
0.752475
0
0
0
0
0
0.246499
0.229692
0
0
0
0
0
1
0
false
0.181818
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b6e86485ecb3ae3cb0f8bdcadf988206a9a856ee
11,265
py
Python
main.py
BankStuff/Bank
ef6a432fbe66356c7b4ebe1553f751f39dcc7295
[ "MIT" ]
null
null
null
main.py
BankStuff/Bank
ef6a432fbe66356c7b4ebe1553f751f39dcc7295
[ "MIT" ]
null
null
null
main.py
BankStuff/Bank
ef6a432fbe66356c7b4ebe1553f751f39dcc7295
[ "MIT" ]
null
null
null
import databases import tkinter from tkinter import messagebox import hashlib from decimal import Decimal # Globals usernames = { 'ADMIN' : 'c7ad44cbad762a5da0a452f9e854fdc1e0e7a52a38015f23f3eab1d80b931dd472634dfac71cd34ebc35d16ab7fb8a90c81f975113d6c7538dc69dd8de9077ec', ...
30.445946
166
0.548691
1,070
11,265
5.769159
0.216822
0.019439
0.020411
0.022679
0.36692
0.311518
0.268913
0.231654
0.202981
0.146444
0
0.050165
0.327563
11,265
369
167
30.528455
0.764488
0.110253
0
0.285714
0
0
0.120934
0.027301
0
0
0
0
0
1
0.063492
false
0.068783
0.026455
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
b6ee88c4207c3383fd8db54f547fcd5dab1d6caa
2,584
py
Python
backup.py
Kairiw/SimpleDrakeS3Backup
a84d7141a41e9e3d1b15092db02fc12b49783882
[ "MIT" ]
null
null
null
backup.py
Kairiw/SimpleDrakeS3Backup
a84d7141a41e9e3d1b15092db02fc12b49783882
[ "MIT" ]
null
null
null
backup.py
Kairiw/SimpleDrakeS3Backup
a84d7141a41e9e3d1b15092db02fc12b49783882
[ "MIT" ]
null
null
null
import datetime import gnupg import os import zipfile from time import strftime, localtime, sleep import boto3 FORMATED_DATE = strftime("%m%d%Y", localtime()) # Set your list gnupg recipient for the encryption GPG_RECIPIENTS=[] # Set S3 bucket upload S3_BUCKET_NAME = '' def zipDir(dir_to_zip): zip_file_name...
29.033708
106
0.661765
378
2,584
4.291005
0.367725
0.078915
0.061036
0.025894
0.208385
0.139951
0.098027
0.076449
0
0
0
0.018519
0.22678
2,584
88
107
29.363636
0.793293
0.193498
0
0.040816
0
0
0.067952
0
0
0
0
0.011364
0
1
0.061224
false
0
0.122449
0
0.22449
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1