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
954247760ca27215be05471a291c59564bb8fb8e
3,872
py
Python
TransaqReplayServer.py
dandolbilov/TransaqReplayer
7477cd319632c94295eac83ea7f1ff3980925c10
[ "Apache-2.0" ]
null
null
null
TransaqReplayServer.py
dandolbilov/TransaqReplayer
7477cd319632c94295eac83ea7f1ff3980925c10
[ "Apache-2.0" ]
null
null
null
TransaqReplayServer.py
dandolbilov/TransaqReplayer
7477cd319632c94295eac83ea7f1ff3980925c10
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ File: TransaqReplayServer.py Author: Daniil Dolbilov Created: 18-Oct-2020 """ import logging import threading import time from multiprocessing.connection import Listener class TransaqReplayServer: def __init__(self, xdf_file, host='localhost', port=7070, authkey=b'sec...
45.552941
187
0.563791
450
3,872
4.742222
0.457778
0.033739
0.050609
0.054827
0.059981
0.059981
0.059981
0.059981
0.059981
0.059981
0
0.122688
0.27376
3,872
84
188
46.095238
0.636202
0.366477
0
0.041667
0
0
0.126137
0.01737
0
0
0
0.011905
0
1
0.083333
false
0
0.083333
0
0.1875
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
954fc6dfbe050a3ecc085052cc9413b2339d8905
23,528
py
Python
Signal-Viewer/Signal-Viewer.py
Radwa-Saeed/Didital-Signal-Processing-PyQt-GUI
8d97e2925a20dd6a74d4bc0613bfceea668f2731
[ "Apache-2.0" ]
null
null
null
Signal-Viewer/Signal-Viewer.py
Radwa-Saeed/Didital-Signal-Processing-PyQt-GUI
8d97e2925a20dd6a74d4bc0613bfceea668f2731
[ "Apache-2.0" ]
null
null
null
Signal-Viewer/Signal-Viewer.py
Radwa-Saeed/Didital-Signal-Processing-PyQt-GUI
8d97e2925a20dd6a74d4bc0613bfceea668f2731
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'newGui.ui' # # Created by: PyQt5 UI code generator 5.15.2 # # WARNING: Any manual changes made to this file will be lost when pyuic5 is # run again. Do not edit this file unless you know what you are doing. from PyQt5 import QtCore, QtGui, ...
44.225564
139
0.604429
2,731
23,528
5.15086
0.127792
0.039099
0.023104
0.026871
0.410464
0.314708
0.3044
0.253075
0.210066
0.18618
0
0.032911
0.25612
23,528
531
140
44.308851
0.770826
0.018914
0
0.215247
1
0
0.05281
0.001994
0
0
0
0
0
1
0.033632
false
0
0.03139
0
0.091928
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
954ff8fe22f97bb0d6f0b4fdb7dcaa8184355aa0
868
py
Python
optimal_transport_morphometry/core/rest/__init__.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
null
null
null
optimal_transport_morphometry/core/rest/__init__.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
5
2022-03-10T19:39:22.000Z
2022-03-17T21:05:10.000Z
optimal_transport_morphometry/core/rest/__init__.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
null
null
null
from .atlas import AtlasViewSet from .dataset import DatasetViewSet from .feature_image import FeatureImageViewSet from .image import ImageViewSet from .jacobian_image import JacobianImageViewSet from .pending_upload import PendingUploadViewSet from .preprocess import PreprocessingViewSet from .registered_image import ...
29.931034
52
0.801843
69
868
9.927536
0.434783
0.080292
0
0
0
0
0
0
0
0
0
0
0.135945
868
28
53
31
0.913333
0
0
0
0
0
0.270737
0.081797
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
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
955013be054c4a72417ee62bd756cdccfad209de
9,050
py
Python
src/docs/rizvi2017_sakmapper/sakmapper/network.py
SMRUCC/Erica
1829cf4e89681fcadd3a5f8b1be1de7db920fb49
[ "MIT" ]
null
null
null
src/docs/rizvi2017_sakmapper/sakmapper/network.py
SMRUCC/Erica
1829cf4e89681fcadd3a5f8b1be1de7db920fb49
[ "MIT" ]
null
null
null
src/docs/rizvi2017_sakmapper/sakmapper/network.py
SMRUCC/Erica
1829cf4e89681fcadd3a5f8b1be1de7db920fb49
[ "MIT" ]
null
null
null
from math import sqrt import numpy as np import pandas as pd from scipy.spatial.distance import pdist, squareform, euclidean import networkx as nx from sklearn import cluster from lens import apply_lens import scipy def davies_bouldin(dist_mu, sigma): DB = 0 K = len(sigma) for i in range(K): D_i =...
40.950226
116
0.56442
1,271
9,050
3.81904
0.152636
0.036259
0.034611
0.024928
0.445818
0.383395
0.36918
0.323651
0.296663
0.281417
0
0.015448
0.306188
9,050
220
117
41.136364
0.757605
0
0
0.305263
0
0
0.020824
0
0
0
0
0
0
0
null
null
0
0.042105
null
null
0.010526
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
9553461c6b5d5f3e7227dd35a7b192c4ef31e24c
3,448
py
Python
binp/action.py
reddec/binp
d72f6b6c910ee178c221c92ce88a37120955342f
[ "MIT" ]
null
null
null
binp/action.py
reddec/binp
d72f6b6c910ee178c221c92ce88a37120955342f
[ "MIT" ]
null
null
null
binp/action.py
reddec/binp
d72f6b6c910ee178c221c92ce88a37120955342f
[ "MIT" ]
null
null
null
from dataclasses import dataclass from logging import getLogger from typing import List, Callable, Awaitable, Optional, Dict from pydantic.main import BaseModel @dataclass class ActionHandler: name: str description: str handler: Callable[[], Awaitable] async def __call__(self): return await ...
28.262295
110
0.603538
396
3,448
5.106061
0.340909
0.032641
0.020772
0.020772
0.104847
0.072206
0.072206
0.072206
0.072206
0.072206
0
0.00084
0.309165
3,448
121
111
28.495868
0.848027
0.319606
0
0.088889
0
0
0.035425
0
0
0
0
0
0
1
0.088889
false
0
0.088889
0
0.511111
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
95544647ff349eb4a01e5554edfa84ba7d0fcd85
377
py
Python
archived/silbiocomp/Practicals/Code/oaks_test.py
mathemage/TheMulQuaBio
63a0ad6803e2aa1b808bc4517009c18a8c190b4c
[ "MIT" ]
1
2019-10-12T13:33:14.000Z
2019-10-12T13:33:14.000Z
archived/silbiocomp/Practicals/Code/oaks_test.py
OScott19/TheMulQuaBio
197d710f76163469dfc7fa9d2d95ba3a739eccc7
[ "MIT" ]
null
null
null
archived/silbiocomp/Practicals/Code/oaks_test.py
OScott19/TheMulQuaBio
197d710f76163469dfc7fa9d2d95ba3a739eccc7
[ "MIT" ]
null
null
null
#Define function def is_an_oak(name): """ Returns True if name is starts with 'quercus' >>> is_an_oak('Fagus sylvatica') False >>> is_an_oak('Quercus robur') True # A typo >>> is_an_oak('Quercuss') False """ return name.lower().startswith('quercus ') print(is_an_oak.__doc__) ...
17.952381
53
0.64191
51
377
4.470588
0.607843
0.087719
0.153509
0
0
0
0
0
0
0
0
0
0.228117
377
20
54
18.85
0.783505
0.527851
0
0
0
0
0.058394
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0.2
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
955985352515b7765d03062b6623dbef440b0c67
1,353
py
Python
setup.py
MiCHiLU/watchlion
ee24866ca2c559f0ab8d5e3c67dba2414d39810b
[ "MIT" ]
1
2016-06-17T20:09:26.000Z
2016-06-17T20:09:26.000Z
setup.py
MiCHiLU/watchlion
ee24866ca2c559f0ab8d5e3c67dba2414d39810b
[ "MIT" ]
null
null
null
setup.py
MiCHiLU/watchlion
ee24866ca2c559f0ab8d5e3c67dba2414d39810b
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages setup(name="watchlion", version="0.3", description="Filesystem events monitoring", long_description=open('README.rst').read(), author="ENDOH takanao", license="MIT", url="http://github.com/MiC...
29.413043
53
0.553585
116
1,353
6.396552
0.689655
0.102426
0.134771
0.070081
0
0
0
0
0
0
0
0.008386
0.2949
1,353
45
54
30.066667
0.769392
0.031042
0
0
0
0
0.507257
0
0
0
0
0
0
1
0
true
0
0.02439
0
0.02439
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
955d1194e5057c9c5dcdc2ebc8966d395f199949
1,665
py
Python
cloud/blog/tests.py
XINGYANGSOFT/HuaZhang-Data-Engine
f40a45273e925bb35abb17045f41a440c09b5308
[ "Unlicense" ]
null
null
null
cloud/blog/tests.py
XINGYANGSOFT/HuaZhang-Data-Engine
f40a45273e925bb35abb17045f41a440c09b5308
[ "Unlicense" ]
null
null
null
cloud/blog/tests.py
XINGYANGSOFT/HuaZhang-Data-Engine
f40a45273e925bb35abb17045f41a440c09b5308
[ "Unlicense" ]
null
null
null
# -*- coding:utf-8 -*- import urllib import urllib.request import json import django.utils.http from django.shortcuts import render_to_response from django.http import HttpResponseRedirect from operator import itemgetter # 排序 import time from django.core.paginator import Paginator servers = ['127.0.0.1:8100', '127.0....
41.625
114
0.702703
213
1,665
5.389671
0.446009
0.083624
0.013066
0.015679
0.085366
0.085366
0.026132
0.026132
0.026132
0.026132
0
0.048886
0.164565
1,665
40
115
41.625
0.77642
0.097297
0
0
0
0.027027
0.152145
0
0
0
0
0
0
1
0
false
0.081081
0.243243
0
0.243243
0.027027
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
955daeb9c4fc7e8cfbaa3a981344aeee133bb903
275
py
Python
top50.py
liyongyue/dnsspider
ab29fb240c45bf16e146e96acff41aea29591f51
[ "0BSD" ]
null
null
null
top50.py
liyongyue/dnsspider
ab29fb240c45bf16e146e96acff41aea29591f51
[ "0BSD" ]
null
null
null
top50.py
liyongyue/dnsspider
ab29fb240c45bf16e146e96acff41aea29591f51
[ "0BSD" ]
null
null
null
from dnsget import dnsget from analyse_dependency import a_d f=open("targetd2") line=f.readline().strip('\n') o=open("targetd2r",'w') target=[] name="top50" while (line): target.append(line) line=f.readline().strip('\n') r=dnsget(target,name) a_d(name) f.close() o.close()
18.333333
34
0.709091
46
275
4.173913
0.521739
0.020833
0.135417
0.1875
0.197917
0
0
0
0
0
0
0.015873
0.083636
275
14
35
19.642857
0.746032
0
0
0.142857
0
0
0.098182
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
9562537d1e63988861ba9738ef70a06f9a31fe28
2,338
py
Python
cs294/hw4/controllers.py
Rolight/Mooc-Assignments
0031771c0662426af3cf9935051e3d35d08cca20
[ "Apache-2.0" ]
null
null
null
cs294/hw4/controllers.py
Rolight/Mooc-Assignments
0031771c0662426af3cf9935051e3d35d08cca20
[ "Apache-2.0" ]
null
null
null
cs294/hw4/controllers.py
Rolight/Mooc-Assignments
0031771c0662426af3cf9935051e3d35d08cca20
[ "Apache-2.0" ]
null
null
null
import numpy as np from cost_functions import trajectory_cost_fn import time class Controller(): def __init__(self): pass # Get the appropriate action(s) for this state(s) def get_action(self, state): pass class RandomController(Controller): def __init__(self, env): """ YOUR...
31.594595
94
0.602652
284
2,338
4.71831
0.295775
0.041791
0.101493
0.09403
0.287313
0.235821
0.214925
0.168657
0.119403
0.119403
0
0.009219
0.304106
2,338
73
95
32.027397
0.814382
0.107357
0
0.176471
0
0
0
0
0
0
0
0.013699
0
1
0.117647
false
0.039216
0.058824
0
0.27451
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
9568db91ad7ce15df9b019f1095a642670567350
1,738
py
Python
src/topological_navigation/scripts/topological_map.py
LCAS/spqrel_navigation
b81db88cdcb3bad385c6d56a52e79cd235bf9c9e
[ "MIT" ]
28
2017-06-27T07:45:35.000Z
2022-02-19T03:34:18.000Z
src/topological_navigation/scripts/topological_map.py
LCAS/spqrel_navigation
b81db88cdcb3bad385c6d56a52e79cd235bf9c9e
[ "MIT" ]
12
2017-07-22T22:09:05.000Z
2021-07-30T10:20:45.000Z
src/topological_navigation/scripts/topological_map.py
LCAS/spqrel_navigation
b81db88cdcb3bad385c6d56a52e79cd235bf9c9e
[ "MIT" ]
18
2017-07-09T12:12:38.000Z
2022-01-27T22:37:42.000Z
import yaml from topological_node import TopologicalNode class TopologicalMap(object): def __init__(self, filename=None): if filename: lnodes = self._load_map(filename) self.nodes = self._get_nodes(lnodes) else: self.nodes = [] def _get_nodes(self, lnodes)...
28.491803
51
0.439586
189
1,738
3.957672
0.285714
0.139037
0.064171
0.042781
0
0
0
0
0
0
0
0
0.406214
1,738
60
52
28.966667
0.724806
0
0
0
0
0
0.082854
0
0
0
0
0
0
0
null
null
0
0.039216
null
null
0.019608
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
956eeea77e797894ec059a63de8948b819247bfc
802
py
Python
experimental/blender/spheres.py
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
null
null
null
experimental/blender/spheres.py
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-23T09:36:29.000Z
2019-08-26T09:56:38.000Z
experimental/blender/spheres.py
mcarlen/libbiarc
d016a1be643ddcded53411b4f242ac6004b65173
[ "Apache-2.0" ]
1
2019-08-11T21:12:02.000Z
2019-08-11T21:12:02.000Z
""" Use this script to generate a *thick* wireframe with spheres as joints. The input file (currently /tmp/wire.txt) is the output file from the tool pkf2mesh! Adjust SRadius for the cylinder size. The sphere size is 6*SRadius, change it as well if needed. """ from Blender import * from Blender.Mathutils im...
22.914286
62
0.73192
128
802
4.578125
0.710938
0.037543
0
0
0
0
0
0
0
0
0
0.011817
0.15586
802
34
63
23.588235
0.853767
0.315461
0
0
1
0
0.101695
0.094162
0
0
0
0
0
1
0.055556
false
0
0.277778
0
0.388889
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
957835505fd0e4beac70b8de003dc1bdf38f88e9
9,825
py
Python
dtrace_ctypes/consumer.py
arichardson/l41-python-dtrace
19c601660499b3555e2ea800392da5e6fed6b04e
[ "MIT" ]
1
2021-01-07T18:31:16.000Z
2021-01-07T18:31:16.000Z
dtrace_ctypes/consumer.py
arichardson/l41-python-dtrace
19c601660499b3555e2ea800392da5e6fed6b04e
[ "MIT" ]
null
null
null
dtrace_ctypes/consumer.py
arichardson/l41-python-dtrace
19c601660499b3555e2ea800392da5e6fed6b04e
[ "MIT" ]
null
null
null
""" The implementation of the consumer. Created on Oct 10, 2011 @author: tmetsch """ from ctypes import cdll, CDLL, byref, c_int, c_char_p, CFUNCTYPE, c_void_p, \ POINTER, cast from dtrace_ctypes.dtrace_structs import dtrace_bufdata, dtrace_probedata, \ dtrace_aggdata, dtrace_recdesc from threading import Th...
31.59164
79
0.533232
1,101
9,825
4.561308
0.175295
0.077658
0.030665
0.038829
0.591995
0.560932
0.548984
0.540024
0.514536
0.514536
0
0.009337
0.335064
9,825
310
80
31.693548
0.759375
0.084682
0
0.619883
0
0
0.059948
0
0
0
0
0.003226
0
0
null
null
0
0.02924
null
null
0.017544
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
957b97a6d1130326dc3c49e965bf67467c62ded0
1,388
py
Python
opennem/core/downloader.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
null
null
null
opennem/core/downloader.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
null
null
null
opennem/core/downloader.py
paulculmsee/opennem
9ebe4ab6d3b97bdeebc352e075bbd5c22a8ddea1
[ "MIT" ]
null
null
null
import logging from io import BytesIO from zipfile import ZipFile from opennem.utils.handlers import _handle_zip, chain_streams from opennem.utils.http import http from opennem.utils.mime import mime_from_content, mime_from_url logger = logging.getLogger("opennem.downloader") def url_downloader(url: str) -> bytes: ...
27.76
86
0.618156
181
1,388
4.618785
0.436464
0.038278
0.057416
0.038278
0
0
0
0
0
0
0
0.003976
0.275216
1,388
49
87
28.326531
0.827038
0.122478
0
0
0
0
0.063636
0
0
0
0
0.020408
0
1
0.033333
false
0
0.2
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
957bb967b951b6436250a6905e698953e9ec010b
2,667
py
Python
Item.py
Luigimonbymus/Modern-Quest
de75d38544b97482ef13cb972cc98af591dc72dc
[ "MIT" ]
1
2019-05-15T08:47:39.000Z
2019-05-15T08:47:39.000Z
Item.py
Luigimonbymus/Modern-Quest
de75d38544b97482ef13cb972cc98af591dc72dc
[ "MIT" ]
null
null
null
Item.py
Luigimonbymus/Modern-Quest
de75d38544b97482ef13cb972cc98af591dc72dc
[ "MIT" ]
null
null
null
class item(): def ___init___(self, name, desc, worth): self.name=name self.desc=desc self.worth=worth def _str_(self): return "{}\n=====\n{}\nWorth: {}\n".format(self.name, self.desc, self.worth) class money(item): def __init__(self, csh): self.csh = csh supe...
32.13253
100
0.478815
284
2,667
4.151408
0.323944
0.071247
0.111959
0.122137
0.379983
0.354538
0.293469
0
0
0
0
0.014879
0.395201
2,667
82
101
32.52439
0.716057
0.004499
0
0.243243
0
0
0.16202
0.015825
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
95807b1417fb27c5aa763354d0af86eaaf9c1dce
317
py
Python
python/py-entrypoints/files/setup.py
svalgaard/macports-ports
b6fce80c90963dac7f3412e9faab3608c29b1dbd
[ "BSD-3-Clause" ]
1
2018-10-10T09:13:56.000Z
2018-10-10T09:13:56.000Z
python/py-entrypoints/files/setup.py
svalgaard/macports-ports
b6fce80c90963dac7f3412e9faab3608c29b1dbd
[ "BSD-3-Clause" ]
null
null
null
python/py-entrypoints/files/setup.py
svalgaard/macports-ports
b6fce80c90963dac7f3412e9faab3608c29b1dbd
[ "BSD-3-Clause" ]
null
null
null
from distutils.core import setup setup( name='entrypoints', version='0.2.2', description='Discover and load entry points from installed packages.', author='Thomas Kluyver', author_email='thomas@kluyver.me.uk', url='https://github.com/takluyver/entrypoints', py_modules=['entrypoints'], )
26.416667
74
0.700315
39
317
5.641026
0.794872
0.118182
0
0
0
0
0
0
0
0
0
0.011236
0.157729
317
11
75
28.818182
0.812734
0
0
0
0
0
0.492114
0
0
0
0
0
0
1
0
true
0
0.1
0
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
1
0
0
0
0
0
0
1
9582e33c487932c08833d1d3b0720ebec9ba2f4f
4,706
py
Python
Jarvis/BadDataDetector/get_keywords.py
rafarrel/Jarvis
0a229ea196db8642537efa2b290fb6f22f4254c4
[ "MIT" ]
null
null
null
Jarvis/BadDataDetector/get_keywords.py
rafarrel/Jarvis
0a229ea196db8642537efa2b290fb6f22f4254c4
[ "MIT" ]
1
2021-11-09T19:27:13.000Z
2021-11-09T19:27:13.000Z
Jarvis/BadDataDetector/get_keywords.py
rafarrel/Jarvis
0a229ea196db8642537efa2b290fb6f22f4254c4
[ "MIT" ]
null
null
null
""" This file was used to generate the keywords used in the bad data detector. We manually edited/cleaned the generated keywords after to better reflect the data and remove fringe/minimally related keywords that don't convey any meaning. DO NOT RUN THIS FILE as it will overwrite our cleaned keywords. """ ############...
36.48062
95
0.551849
576
4,706
4.430556
0.34375
0.015674
0.012539
0.012931
0.051724
0.025078
0.025078
0.025078
0
0
0
0.004416
0.326392
4,706
129
96
36.48062
0.800631
0.355504
0
0.174603
1
0
0.044302
0.008217
0
0
0
0
0
1
0.031746
false
0.031746
0.111111
0
0.15873
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
95930bf39240faf5c32905a77cd64dcc308bab13
2,002
py
Python
main.py
ahsankhatri/cows-and-bulls
8bff56cd112d652b7da4d7479634110daf42d1c7
[ "MIT" ]
null
null
null
main.py
ahsankhatri/cows-and-bulls
8bff56cd112d652b7da4d7479634110daf42d1c7
[ "MIT" ]
null
null
null
main.py
ahsankhatri/cows-and-bulls
8bff56cd112d652b7da4d7479634110daf42d1c7
[ "MIT" ]
null
null
null
import random import time def ask_input(text=""): try: enteredNumber = (input(("Enter a 3-digit number:" if text == "" else text) + "\n>>>> ")) startTime() if len(str(abs(enteredNumber))) != 3: raise ValueError else: return str(enteredNumber) except Val...
28.6
152
0.626374
268
2,002
4.664179
0.391791
0.0256
0.0192
0.0272
0
0
0
0
0
0
0
0.018036
0.252248
2,002
69
153
29.014493
0.816967
0.063936
0
0.04
0
0.02
0.230193
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.1
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
9597928473fbb393149208377f08ae5bac78fb1e
1,083
py
Python
correctiv_eurosfueraerzte/migrations/0022_auto_20170323_1642.py
correctiv/correctiv-eurosfueraerzte
291c358d65eccf06034e409d888de56a4545c7b7
[ "MIT" ]
4
2016-09-24T07:27:49.000Z
2021-11-08T12:14:30.000Z
correctiv_eurosfueraerzte/migrations/0022_auto_20170323_1642.py
correctiv/correctiv-eurosfueraerzte
291c358d65eccf06034e409d888de56a4545c7b7
[ "MIT" ]
5
2020-06-05T17:33:30.000Z
2022-03-11T23:16:18.000Z
correctiv_eurosfueraerzte/migrations/0022_auto_20170323_1642.py
correctiv/correctiv-eurosfueraerzte
291c358d65eccf06034e409d888de56a4545c7b7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-23 15:42 from __future__ import unicode_literals import django.contrib.postgres.fields.hstore from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('correctiv_eurosfueraerzte', '0021_paymentrecipi...
29.27027
94
0.612188
107
1,083
6.046729
0.551402
0.055641
0.106646
0.125193
0.409583
0.307573
0.117465
0
0
0
0
0.038168
0.274238
1,083
36
95
30.083333
0.784987
0.062789
0
0.344828
1
0
0.128459
0.050395
0
0
0
0
0
1
0
false
0
0.103448
0
0.206897
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
959ed2b25597cf2f55e6ec015c6386ac580728db
1,100
py
Python
fairseq_ext/binarize.py
IBM/transition-amr-parser
dfd8352ea2ee3ff153b691edb6cd7ee541d53b2e
[ "Apache-2.0" ]
76
2019-11-25T04:00:15.000Z
2022-03-31T00:33:44.000Z
fairseq_ext/binarize.py
IBM/transition-amr-parser
dfd8352ea2ee3ff153b691edb6cd7ee541d53b2e
[ "Apache-2.0" ]
22
2019-10-10T09:39:24.000Z
2022-03-28T06:39:06.000Z
fairseq_ext/binarize.py
IBM/transition-amr-parser
dfd8352ea2ee3ff153b691edb6cd7ee541d53b2e
[ "Apache-2.0" ]
20
2019-10-08T17:02:17.000Z
2022-03-20T01:43:42.000Z
import numpy as np import torch from fairseq.data.indexed_dataset import __best_fitting_dtype, MMapIndexedDatasetBuilder, IndexedDatasetBuilder from fairseq.tokenizer import tokenize_line # TODO move this file into data folder def make_builder(out_file, impl, vocab_size=None, dtype=None): if impl == 'mmap': ...
32.352941
111
0.660909
142
1,100
4.887324
0.43662
0.080692
0.04755
0.064842
0.063401
0
0
0
0
0
0
0.002442
0.255455
1,100
33
112
33.333333
0.844933
0.032727
0
0.076923
0
0
0.021657
0
0
0
0
0.030303
0
1
0.076923
false
0
0.153846
0
0.346154
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
959fcd35d03e21f435fba90bd2bddd6135da433b
3,535
py
Python
boomerang.py
codegolfer/boomerang
8b4b93ed4eecafd8bc26c3a806150ed55737bffa
[ "Apache-2.0" ]
null
null
null
boomerang.py
codegolfer/boomerang
8b4b93ed4eecafd8bc26c3a806150ed55737bffa
[ "Apache-2.0" ]
null
null
null
boomerang.py
codegolfer/boomerang
8b4b93ed4eecafd8bc26c3a806150ed55737bffa
[ "Apache-2.0" ]
null
null
null
""" bot implementation. """ import os import boto3 from botocore.exceptions import ClientError import sendgrid import ciscospark # Sets config values from the config file ACCESS_TOKEN_SPARK = "Bearer " + os.environ['access_token_spark'] MYSELF = os.environ['my_person_id'] SENDGRID_API_TOKEN = os.environ['sendgrid_ap...
27.192308
105
0.597454
397
3,535
5.120907
0.350126
0.059518
0.039351
0.029513
0.088539
0.088539
0.088539
0.046237
0.046237
0
0
0.003971
0.287694
3,535
129
106
27.403101
0.803415
0.108345
0
0.15
0
0
0.134389
0.007747
0
0
0
0
0
0
null
null
0
0.0625
null
null
0.0625
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
95a166a1be66e12bea08f462aa18bb723c6a5282
4,183
py
Python
bb-master/sandbox/lib/python3.5/site-packages/buildbot_worker/util/_hangcheck.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
2
2017-07-11T18:56:27.000Z
2017-07-28T14:01:12.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot_worker/util/_hangcheck.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
1
2017-07-28T13:53:41.000Z
2017-07-31T15:30:40.000Z
bb-master/sandbox/lib/python3.5/site-packages/buildbot_worker/util/_hangcheck.py
Alecto3-D/testable-greeter
09e8e488edfb7e46cf5867b2b5a6ebe0b1929f78
[ "MIT" ]
null
null
null
""" Protocol wrapper that will detect hung connections. In particular, since PB expects the server to talk first and HTTP expects the client to talk first, when a PB client talks to an HTTP server, neither side will talk, leading to a hung connection. This wrapper will disconnect in that case, and inform the caller. "...
35.151261
114
0.705953
463
4,183
6.209503
0.319654
0.054261
0.037565
0.020174
0.233043
0.171826
0.124522
0.124522
0.124522
0.124522
0
0.000931
0.2295
4,183
118
115
35.449153
0.891095
0.344251
0
0.145455
0
0
0.012992
0
0
0
0
0
0
1
0.236364
false
0.018182
0.109091
0
0.454545
0.018182
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
95a1d9906e1021e68fdbc1dbb87dd5db3ffa4249
924
py
Python
ggcontable/production.py
jmjacquet/IronWeb
974d7fca8db69ffcfec15325cdb641a1b4b2c526
[ "MIT" ]
null
null
null
ggcontable/production.py
jmjacquet/IronWeb
974d7fca8db69ffcfec15325cdb641a1b4b2c526
[ "MIT" ]
9
2020-09-22T12:34:00.000Z
2021-09-10T16:32:04.000Z
ggcontable/production.py
jmjacquet/IronWeb
974d7fca8db69ffcfec15325cdb641a1b4b2c526
[ "MIT" ]
null
null
null
# Django settings for sistema_bomberos project. from .settings import * from decouple import config DEBUG = False STATIC_URL = '/staticfiles/' DB_USER = config('DB_USER') DB_PASS = config('DB_PASS') DB_HOST = config('DB_HOST') DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # Ad...
29.806452
124
0.589827
108
924
4.87037
0.5
0.034221
0.057034
0.079848
0.102662
0
0
0
0
0
0
0.007564
0.284632
924
31
125
29.806452
0.7882
0.297619
0
0
0
0
0.174727
0.037442
0
0
0
0
0
1
0
false
0.090909
0.090909
0
0.090909
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
95a9cd06816c62db63d24d33e9d93dd913d3fe62
3,555
py
Python
Assignment 1/ExactDeDup.py
AravindRam/CSCI-572
45311cfa9646c3ad8835791325320d08baec622f
[ "Apache-2.0" ]
1
2017-02-15T18:51:36.000Z
2017-02-15T18:51:36.000Z
Assignment 1/ExactDeDup.py
AravindRam/CSCI-572
45311cfa9646c3ad8835791325320d08baec622f
[ "Apache-2.0" ]
null
null
null
Assignment 1/ExactDeDup.py
AravindRam/CSCI-572
45311cfa9646c3ad8835791325320d08baec622f
[ "Apache-2.0" ]
null
null
null
import hashlib import sys import os import tika from tika import parser fnamesDict = {} # dictionary used to store the names of the filenames. checksumDict = {} # dictionary used to store the fingerprints of each image file. countDict = {} ...
47.4
129
0.54346
369
3,555
5.197832
0.284553
0.116788
0.066736
0.104275
0.271116
0.24609
0.24609
0.24609
0.033368
0
0
0.005628
0.350211
3,555
74
130
48.040541
0.824675
0.199437
0
0.203125
0
0
0.148057
0
0
0
0
0
0
0
null
null
0
0.078125
null
null
0.046875
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
95adcd2061e2c931da7dfba50c3bcd620348774b
15,746
py
Python
conllu/conllu.py
spyysalo/conllu.py
34794373afdf8b8353ddb6a4b6d52937f353eed0
[ "MIT" ]
13
2016-07-11T22:44:56.000Z
2020-03-11T11:37:41.000Z
conllu/conllu.py
spyysalo/conllu.py
34794373afdf8b8353ddb6a4b6d52937f353eed0
[ "MIT" ]
1
2018-03-22T05:25:42.000Z
2018-03-22T05:25:42.000Z
conllu/conllu.py
spyysalo/conllu.py
34794373afdf8b8353ddb6a4b6d52937f353eed0
[ "MIT" ]
4
2017-05-02T07:16:42.000Z
2019-09-17T20:22:59.000Z
#!/usr/bin/env python # CoNLL-U format support import re import codecs import brat from itertools import groupby # feature name-value separator FSEP = '=' # dependency head-rel separator DSEP = ':' # Free-form text annotation type in brat export COMMENT_TYPE = 'AnnotatorNotes' class FormatError(Exception): d...
34.082251
108
0.563699
1,953
15,746
4.420379
0.154634
0.015985
0.019113
0.015638
0.222402
0.147573
0.118499
0.09788
0.062319
0.056064
0
0.004607
0.32459
15,746
461
109
34.156182
0.807146
0.093802
0
0.227273
0
0
0.041827
0
0
0
0
0.004338
0.015152
0
null
null
0.00303
0.012121
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
95b5edc6b1bc1ba2f265a5431c58400fcfe3d0c9
433
py
Python
torch_inception_resnet_v2/utils/functions.py
mhconradt/inception-resnet-v2
0816e9885eb7034d99a67519efa0642578526a3e
[ "MIT" ]
9
2019-11-28T01:33:43.000Z
2021-09-06T06:51:47.000Z
torch_inception_resnet_v2/utils/functions.py
mhconradt/inception-resnet-v2
0816e9885eb7034d99a67519efa0642578526a3e
[ "MIT" ]
1
2022-02-06T12:03:00.000Z
2022-02-07T02:30:47.000Z
torch_inception_resnet_v2/utils/functions.py
mhconradt/inception-resnet-v2
0816e9885eb7034d99a67519efa0642578526a3e
[ "MIT" ]
4
2019-12-12T05:35:28.000Z
2021-04-30T18:41:41.000Z
from .convolution_config import PadConfig def find_first_before(filter_fn, arr, idx): for item in arr[:idx][::-1]: if filter_fn(item): return item def parallel_shifted_map(fn, start): is_not_pad = lambda node: not isinstance(node, PadConfig) def __run__(items): return [fn(it...
27.0625
114
0.688222
66
433
4.19697
0.515152
0.086643
0.108303
0
0
0
0
0
0
0
0
0.002941
0.214781
433
15
115
28.866667
0.811765
0
0
0
0
0
0
0
0
0
0
0
0
1
0.3
false
0
0.1
0.1
0.7
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
95b62dd7f2dbd4887491c9b50af2e6cd9f6d4a94
1,271
py
Python
wordPattern2.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
wordPattern2.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
wordPattern2.py
pflun/learningAlgorithms
3101e989488dfc8a56f1bf256a1c03a837fe7d97
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # pattern = "abab", str = "redblueredblue" should return true. # pattern = "aaaa", str = "asdasdasdasd" should return true. # pattern = "aabb", str = "xyzabcxzyabc" should return false. class Solution(object): def wordPatternMatch(self, pattern, str): dic = {} return self.is...
32.589744
72
0.515342
148
1,271
4.425676
0.351351
0.042748
0.064122
0.070229
0
0
0
0
0
0
0
0.018496
0.36192
1,271
39
73
32.589744
0.789149
0.239182
0
0.307692
0
0
0.012513
0
0
0
0
0
0
0
null
null
0
0
null
null
0.038462
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
95b9aa4be2c76aa96890942d69a75a3f195bba22
685
py
Python
lecture09/colors_test.py
nd-cse-30872-fa20/cse-30872-fa20-examples
7a991a0499e03bf91ac8ba40c99245d5d926e20c
[ "MIT" ]
1
2021-09-07T19:02:43.000Z
2021-09-07T19:02:43.000Z
lecture09/colors_test.py
nd-cse-30872-fa21/cse-30872-fa21-examples
c3287ac8b49a0de3c9770aadfb77be9080b19277
[ "MIT" ]
null
null
null
lecture09/colors_test.py
nd-cse-30872-fa21/cse-30872-fa21-examples
c3287ac8b49a0de3c9770aadfb77be9080b19277
[ "MIT" ]
6
2021-08-25T15:59:08.000Z
2021-11-12T16:32:11.000Z
#!/usr/bin/env python3 import unittest import colors # Test Case class ColorsTestCase(unittest.TestCase): def test_00_count_colors(self): self.assertEqual( colors.count_colors([0, 1, 2]), [1, 1, 1] ) self.assertEqual( colors.count_colors([0, 1, 2, 0,...
19.571429
53
0.506569
83
685
3.963855
0.337349
0.042553
0.255319
0.151976
0.413374
0.212766
0.212766
0.212766
0
0
0
0.079909
0.360584
685
34
54
20.147059
0.671233
0.067153
0
0.173913
0
0
0.012579
0
0
0
0
0
0.173913
1
0.086957
false
0
0.086957
0
0.217391
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
95c4d8a91ee8d4d10ff12366fd9c233f02647267
5,210
py
Python
src/kemokrw/transfer_basic.py
Kemok-Repos/kemokrw
bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971
[ "MIT" ]
null
null
null
src/kemokrw/transfer_basic.py
Kemok-Repos/kemokrw
bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971
[ "MIT" ]
null
null
null
src/kemokrw/transfer_basic.py
Kemok-Repos/kemokrw
bfe2a82e2ef5d3580ed5dfe65129b30bd3fc4971
[ "MIT" ]
null
null
null
from kemokrw.transfer import Transfer class BasicTransfer(Transfer): """Clase BasicTransfer implementación de la clase Transfer. Cumple la función de verficar la compatibilidad de los objetos a transferir, verifica si ambos extremos son "iguales" y transfiere un los atos de una fuente a la otra. ...
39.469697
121
0.604798
636
5,210
4.91195
0.284591
0.033611
0.048015
0.049296
0.254161
0.181178
0.1242
0.056978
0.056978
0.034571
0
0.004961
0.303647
5,210
131
122
39.770992
0.856119
0.439347
0
0.125
0
0.020833
0.171574
0
0
0
0
0.030534
0
1
0.0625
false
0
0.020833
0
0.125
0.104167
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
95c5f43dbbc13e192693feee3122038d4c144608
2,190
py
Python
responses/test.py
YousefEZ/pydiscord
56e8715447548ac983c5417a908c8e5ce24c119e
[ "MIT" ]
3
2022-02-20T21:54:31.000Z
2022-02-20T21:56:30.000Z
responses/test.py
YousefEZ/pydiscord
56e8715447548ac983c5417a908c8e5ce24c119e
[ "MIT" ]
null
null
null
responses/test.py
YousefEZ/pydiscord
56e8715447548ac983c5417a908c8e5ce24c119e
[ "MIT" ]
1
2021-03-18T01:01:28.000Z
2021-03-18T01:01:28.000Z
import sys, inspect class Tutorial: flow = "TUTORIAL" type = "embed" title = "__TUTORIAL HELP__" colour = "green" def __init__(self, player=None): self.fields = (('Official Discord Server:', ''' https://discord.com/invite/discord-developers...
32.686567
97
0.559361
235
2,190
5.07234
0.306383
0.050336
0.08557
0.095638
0.717282
0.682886
0.651007
0.651007
0.651007
0.608221
0
0.056728
0.307763
2,190
66
98
33.181818
0.729551
0.017352
0
0.413043
0
0.130435
0.380083
0
0
0
0
0
0
1
0.065217
false
0.021739
0.021739
0
0.478261
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
95d6e74ba0cd34cbb9d1e330c81e5f38b7df9b5b
12,124
py
Python
sousvide.py
jscuffell/sous-vide
8de1cb95776ccb20ac9bac953c5f226d0d5f28fa
[ "MIT" ]
null
null
null
sousvide.py
jscuffell/sous-vide
8de1cb95776ccb20ac9bac953c5f226d0d5f28fa
[ "MIT" ]
null
null
null
sousvide.py
jscuffell/sous-vide
8de1cb95776ccb20ac9bac953c5f226d0d5f28fa
[ "MIT" ]
null
null
null
import os import glob import time from bottle import Bottle, run, request, response, post, get import re, json import RPi.GPIO as GPIO from lcdtools import LCDDisplay #import Adafruit_CharLCD as LCD import threading import collections # This script defines the sous vide class, which can interact with the REST API. cl...
32.074074
145
0.55353
1,385
12,124
4.771841
0.228159
0.021788
0.008473
0.009986
0.180965
0.16417
0.12256
0.09941
0.094114
0.081707
0
0.026231
0.336523
12,124
377
146
32.159151
0.795375
0.083636
0
0.280488
0
0
0.062323
0.002474
0
0
0
0
0
0
null
null
0
0.036585
null
null
0.028455
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
95d7e5744ff563f245da9ce3b365c3fc78f0624e
1,863
py
Python
Accounts/serializers.py
oluwex/quizApp
069fbc85f1be8768d121728017d07b2c5b17a3c7
[ "MIT" ]
null
null
null
Accounts/serializers.py
oluwex/quizApp
069fbc85f1be8768d121728017d07b2c5b17a3c7
[ "MIT" ]
null
null
null
Accounts/serializers.py
oluwex/quizApp
069fbc85f1be8768d121728017d07b2c5b17a3c7
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from rest_framework import serializers User = get_user_model() # class RegisterSerializer(serializers.Serializer): class RegisterSerializer(serializers.ModelSerializer): # email = serializers.EmailField( # label='Email Address', # max_length=255, # ) # first_nam...
26.239437
74
0.695652
221
1,863
5.651584
0.316742
0.05044
0.080064
0.064051
0.13771
0.099279
0.099279
0
0
0
0
0.014175
0.166935
1,863
71
75
26.239437
0.790593
0.318304
0
0.108108
0
0
0.168277
0
0
0
0
0
0
1
0.081081
false
0.297297
0.054054
0.027027
0.324324
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
95dd572af9e83fda3a5895dd0e81d38161367c82
5,508
py
Python
tools/w3af/w3af/core/controllers/misc/decorators.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
3
2019-04-09T22:59:33.000Z
2019-06-14T09:23:24.000Z
tools/w3af/w3af/core/controllers/misc/decorators.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
tools/w3af/w3af/core/controllers/misc/decorators.py
sravani-m/Web-Application-Security-Framework
d9f71538f5cba6fe1d8eabcb26c557565472f6a6
[ "MIT" ]
null
null
null
""" decorators.py Copyright 2011 Andres Riancho This file is part of w3af, http://w3af.org/ . w3af is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation version 2 of the License. w3af is distributed in the hope that ...
28.6875
79
0.599129
685
5,508
4.69781
0.366423
0.019888
0.012119
0.017713
0.043505
0.035426
0
0
0
0
0
0.013896
0.320625
5,508
192
80
28.6875
0.846072
0.021968
0
0.073684
0
0
0.031023
0
0
0
0
0
0
0
null
null
0.010526
0.084211
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
95de8be2ae16bb3cf89080daaf0982e968517d26
1,662
py
Python
Notifier.py
xcollantes/commute-ping
9b12e490fe17c3533f88ead9c5eee545652feafc
[ "Apache-2.0" ]
null
null
null
Notifier.py
xcollantes/commute-ping
9b12e490fe17c3533f88ead9c5eee545652feafc
[ "Apache-2.0" ]
null
null
null
Notifier.py
xcollantes/commute-ping
9b12e490fe17c3533f88ead9c5eee545652feafc
[ "Apache-2.0" ]
null
null
null
"""Desktop notification system for commuters. TODO(xcollantes): DO NOT SUBMIT without a detailed description of Notifier. """ from __future__ import absolute_import from __future__ import division from __future__ import print_function import subprocess import requests from typing import List from bs4 import Beautifu...
23.742857
235
0.708183
236
1,662
4.84322
0.474576
0.017498
0.024497
0.062992
0.043745
0
0
0
0
0
0
0.017058
0.15343
1,662
69
236
24.086957
0.795309
0.386883
0
0
0
0.035714
0.191402
0.105425
0
0
0
0.014493
0
1
0.178571
false
0.035714
0.25
0
0.5
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
1
0
0
0
0
0
0
0
0
0
0
1
95f1aded6d536d23f4607f301e0320036167b1cf
3,077
py
Python
src/amira_blender_rendering/scenes/__init__.py
nwaniek/amira_blender_rendering
4fc971b9e5a0e2f32918baa8353f41ce2ff700b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/amira_blender_rendering/scenes/__init__.py
nwaniek/amira_blender_rendering
4fc971b9e5a0e2f32918baa8353f41ce2ff700b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/amira_blender_rendering/scenes/__init__.py
nwaniek/amira_blender_rendering
4fc971b9e5a0e2f32918baa8353f41ce2ff700b0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # Copyright (c) 2020 - for information on the respective copyright owner # see the NOTICE file and/or the repository # <https://github.com/boschresearch/amira-blender-rendering>. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance w...
34.965909
113
0.710757
411
3,077
5.206813
0.418491
0.056075
0.015421
0.014953
0.024299
0.024299
0
0
0
0
0
0.003296
0.211245
3,077
87
114
35.367816
0.878451
0.550861
0
0.153846
0
0
0.165741
0.042823
0
0
0
0
0
1
0.115385
false
0
0.307692
0
0.576923
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
95f75eaca73ae30c8e035d0f42b380aa62357693
588
py
Python
app/migrations/0002_alter_project_user.py
kibetrono/Django-Awwards
a6b61b1615b333392ec8b671e4c6e58e4619d664
[ "Unlicense" ]
null
null
null
app/migrations/0002_alter_project_user.py
kibetrono/Django-Awwards
a6b61b1615b333392ec8b671e4c6e58e4619d664
[ "Unlicense" ]
null
null
null
app/migrations/0002_alter_project_user.py
kibetrono/Django-Awwards
a6b61b1615b333392ec8b671e4c6e58e4619d664
[ "Unlicense" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-13 05:59 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('app', '0001_initial'), ...
26.727273
135
0.668367
70
588
5.5
0.614286
0.062338
0.072727
0.114286
0
0
0
0
0
0
0
0.041394
0.219388
588
21
136
28
0.797386
0.076531
0
0
1
0
0.055453
0
0
0
0
0
0
1
0
false
0
0.2
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2501479a85ccb4c675426d7c0a861337fbeba505
349
py
Python
mayan/apps/document_comments/search.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2021-02-24T15:03:23.000Z
2021-02-24T15:03:23.000Z
mayan/apps/document_comments/search.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
null
null
null
mayan/apps/document_comments/search.py
wan1869/dushuhu
934dd178e67140cffc6b9203e793fdf8bbc73a54
[ "Apache-2.0" ]
1
2020-08-09T09:06:59.000Z
2020-08-09T09:06:59.000Z
from django.utils.translation import ugettext_lazy as _ from mayan.apps.documents.search import document_page_search, document_search document_page_search.add_model_field( field='document_version__document__comments__comment', label=_('Comments') ) document_search.add_model_field( field='comments__comment...
26.846154
77
0.808023
43
349
6.023256
0.488372
0.092664
0.138996
0.146718
0.185328
0
0
0
0
0
0
0
0.106017
349
12
78
29.083333
0.830128
0
0
0.2
0
0
0.223496
0.12894
0
0
0
0
0
1
0
true
0
0.2
0
0.2
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
25054ec2199ade932c6b3968f0314203a2957f72
712
py
Python
test/test_csv_functions.py
mz2449/embryo-analyzer
4de725be6c8620d40ca36271bb4629e97abb58c8
[ "MIT" ]
null
null
null
test/test_csv_functions.py
mz2449/embryo-analyzer
4de725be6c8620d40ca36271bb4629e97abb58c8
[ "MIT" ]
null
null
null
test/test_csv_functions.py
mz2449/embryo-analyzer
4de725be6c8620d40ca36271bb4629e97abb58c8
[ "MIT" ]
null
null
null
import unittest import csv_functions class TestCsvFunctions(unittest.TestCase): def test_open_test_file(self): expected = [['X', 'Y'], ['0', '0'], ['1', '10'], ['2', '15'], ['3', '50'], ['4', '80'], ['5', '100'], ['6', '80'], ['7', '45'], ['8', '35'], ['9', '15'], ['10', '5']] ...
44.5
114
0.446629
93
712
3.354839
0.451613
0.115385
0.070513
0.076923
0.49359
0.288462
0.102564
0.102564
0
0
0
0.131627
0.231742
712
15
115
47.466667
0.431444
0
0
0.166667
0
0
0.140449
0
0
0
0
0
0.166667
1
0.083333
false
0
0.166667
0
0.333333
0
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
2507b63b0a2470c16a1151ca0e32b26498a9ea3f
2,654
py
Python
Webcast/2015 webcast/2015Webcast1.py
hueyjj/UCSCWebcast
9c4c94b4dfd453385f8fd3b927cbdc043e2407b3
[ "Unlicense" ]
null
null
null
Webcast/2015 webcast/2015Webcast1.py
hueyjj/UCSCWebcast
9c4c94b4dfd453385f8fd3b927cbdc043e2407b3
[ "Unlicense" ]
null
null
null
Webcast/2015 webcast/2015Webcast1.py
hueyjj/UCSCWebcast
9c4c94b4dfd453385f8fd3b927cbdc043e2407b3
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python import sys, os, time, urllib, urllib.request, shutil, re, lxml, threading, queue, multiprocessing import hashlib from bs4 import BeautifulSoup from urllib.parse import urlparse from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.support.ui impo...
30.159091
98
0.628862
346
2,654
4.710983
0.421965
0.03681
0.051534
0.051534
0.083436
0.083436
0.083436
0.083436
0.083436
0.083436
0
0.023422
0.259985
2,654
87
99
30.505747
0.806517
0.199699
0
0.036364
0
0.018182
0.095992
0
0
0
0
0.011494
0
1
0.090909
false
0
0.163636
0
0.345455
0.036364
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
25103d94725878101286ec82e7086af94123d276
4,625
py
Python
packs/autoscale/sensors/autoscale_governor_sensor.py
Mattlk13/incubator
3b6c59116c16b3bafe3bf1119c9cf73774451e36
[ "Apache-2.0" ]
31
2015-01-25T08:04:02.000Z
2018-08-30T19:13:40.000Z
packs/autoscale/sensors/autoscale_governor_sensor.py
StorminStanley/st2incubator
278c3a23d516d76b01c6e47693b41816794cfad6
[ "Apache-2.0" ]
58
2015-01-10T05:21:08.000Z
2017-06-14T17:36:04.000Z
packs/autoscale/sensors/autoscale_governor_sensor.py
StorminStanley/st2incubator
278c3a23d516d76b01c6e47693b41816794cfad6
[ "Apache-2.0" ]
33
2015-02-03T17:18:28.000Z
2018-06-16T20:16:04.000Z
import time import eventlet import ast from st2reactor.sensor.base import PollingSensor __all_ = [ 'AutoscaleGovernorSensor' ] eventlet.monkey_patch( os=True, select=True, socket=True, thread=True, time=True) GROUP_ACTIVE_STATUS = [ 'expanding', 'deflating' ] class AutoscaleGovernor...
34.774436
105
0.604324
563
4,625
4.701599
0.264654
0.034001
0.026445
0.029467
0.207027
0.09218
0.05969
0.05969
0.05969
0.05969
0
0.001869
0.30573
4,625
132
106
35.037879
0.822485
0.123459
0
0.108696
0
0
0.100853
0.023332
0
0
0
0
0
1
0.130435
false
0.054348
0.043478
0
0.228261
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
2513a85a060f63689464484e118cc0d87d6037d8
746
py
Python
generators/usage-generator.py
cmusv-sc/OpenNEX-Team5
5e269d85d28e3eb7c6936df3ed22c3aa2f9250f8
[ "Apache-2.0" ]
null
null
null
generators/usage-generator.py
cmusv-sc/OpenNEX-Team5
5e269d85d28e3eb7c6936df3ed22c3aa2f9250f8
[ "Apache-2.0" ]
null
null
null
generators/usage-generator.py
cmusv-sc/OpenNEX-Team5
5e269d85d28e3eb7c6936df3ed22c3aa2f9250f8
[ "Apache-2.0" ]
null
null
null
import uuid import datetime import random import sys args = sys.argv[1:] if(len(args) < 2): print "usage: python usage-generator.py [idCount] [numOfLines] (outdir)" sys.exit(1) OUTDIR="" if len(args) > 2: OUTDIR=args[2] # generate X unique IDs X=int(args[0]) ids=[] for i in range(0, X): aId = uuid.uuid4() ids.a...
20.162162
73
0.672922
115
746
4.365217
0.486957
0.02988
0.035857
0.039841
0.047809
0
0
0
0
0
0
0.018809
0.144772
746
37
74
20.162162
0.768025
0.091153
0
0
0
0
0.145185
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
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
1
0
0
0
0
0
0
0
0
1
251e027840648bd7ad225b2cb161fd768e750f36
5,473
py
Python
podrum/interface/rak_net_interface.py
NotKonishi/Podrum
df6ea1a596bf3a44e7e4f580f12a352bd37f4aaf
[ "MIT" ]
null
null
null
podrum/interface/rak_net_interface.py
NotKonishi/Podrum
df6ea1a596bf3a44e7e4f580f12a352bd37f4aaf
[ "MIT" ]
null
null
null
podrum/interface/rak_net_interface.py
NotKonishi/Podrum
df6ea1a596bf3a44e7e4f580f12a352bd37f4aaf
[ "MIT" ]
null
null
null
################################################################################ # # # ____ _ # # | _ \ ___ __| |_ __ _ _ _ __ ___ ...
53.656863
140
0.529874
574
5,473
4.818815
0.303136
0.050615
0.043384
0.040492
0.283442
0.23355
0.154013
0.135213
0.135213
0.095445
0
0.003624
0.344601
5,473
101
141
54.188119
0.767494
0.359035
0
0.089286
0
0
0.078425
0.045884
0
0
0.001302
0
0
1
0.25
false
0
0.089286
0
0.410714
0.017857
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
251e8a2852936ddefe54d8eec8adb2bfef6d68d2
6,867
py
Python
snakebite/protobuf/RpcPayloadHeader_pb2.py
cglewis/snakebite
98bb423d5fed9803e94782e93a3a7b8ca8d46fc8
[ "Apache-2.0" ]
1
2020-09-06T09:30:01.000Z
2020-09-06T09:30:01.000Z
snakebite/protobuf/RpcPayloadHeader_pb2.py
cglewis/snakebite
98bb423d5fed9803e94782e93a3a7b8ca8d46fc8
[ "Apache-2.0" ]
null
null
null
snakebite/protobuf/RpcPayloadHeader_pb2.py
cglewis/snakebite
98bb423d5fed9803e94782e93a3a7b8ca8d46fc8
[ "Apache-2.0" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! from google.protobuf import descriptor from google.protobuf import message from google.protobuf import reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) DESCRIPTOR = descriptor.FileDescriptor( name='RpcPayloadHeader...
33.014423
904
0.745886
816
6,867
6.069853
0.193627
0.051686
0.039976
0.034525
0.528367
0.485968
0.451645
0.442358
0.429235
0.401777
0
0.049341
0.138197
6,867
207
905
33.173913
0.787597
0.036406
0
0.572222
1
0.005556
0.227953
0.194524
0
0
0
0
0
1
0
false
0
0.022222
0
0.055556
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
252bfe0a0bcfd5b730fdf638e6a25a62796892a0
5,441
py
Python
admin/manage.py
agglrx/Mailu
a880bc908ecdfedcd1eb0d5f3782c74f4f0f4506
[ "MIT" ]
null
null
null
admin/manage.py
agglrx/Mailu
a880bc908ecdfedcd1eb0d5f3782c74f4f0f4506
[ "MIT" ]
null
null
null
admin/manage.py
agglrx/Mailu
a880bc908ecdfedcd1eb0d5f3782c74f4f0f4506
[ "MIT" ]
null
null
null
from mailu import app, manager, db from mailu.admin import models @manager.command def admin(localpart, domain_name, password): """ Create an admin user """ domain = models.Domain.query.get(domain_name) if not domain: domain = models.Domain(name=domain_name) db.session.add(domain) ...
30.396648
98
0.638669
661
5,441
5.108926
0.12708
0.094759
0.074622
0.054486
0.58928
0.538348
0.494522
0.438851
0.438851
0.438851
0
0.002691
0.248851
5,441
178
99
30.567416
0.823587
0.060283
0
0.604167
0
0
0.029058
0
0
0
0
0
0
1
0.0625
false
0.055556
0.027778
0
0.090278
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
252c44b3659adf626a1bf74137b1ac5bb437e4d0
1,697
py
Python
openslides/mediafiles/apps.py
boehlke/OpenSlides
7a64fb83ebda2cb41706f62d7cfc5a63dbcab4a2
[ "MIT" ]
null
null
null
openslides/mediafiles/apps.py
boehlke/OpenSlides
7a64fb83ebda2cb41706f62d7cfc5a63dbcab4a2
[ "MIT" ]
null
null
null
openslides/mediafiles/apps.py
boehlke/OpenSlides
7a64fb83ebda2cb41706f62d7cfc5a63dbcab4a2
[ "MIT" ]
null
null
null
from typing import Any, Dict, Set from django.apps import AppConfig class MediafilesAppConfig(AppConfig): name = "openslides.mediafiles" verbose_name = "OpenSlides Mediafiles" angular_site_module = True def ready(self): # Import all required stuff. from openslides.core.signals import...
30.854545
81
0.677666
186
1,697
5.967742
0.483871
0.072072
0.051351
0.062162
0.072072
0.072072
0.072072
0
0
0
0
0
0.255156
1,697
54
82
31.425926
0.878165
0.2033
0
0
0
0
0.090557
0.044892
0
0
0
0
0
1
0.103448
false
0
0.310345
0
0.586207
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
25324e38ee50c1cc55d682bc632801300c8229ca
13,424
py
Python
cryptography_playground.py
GabrielAlves/CryptographyPlayground
eae2048939b09e852ccf3424683462130c4f3ee9
[ "MIT" ]
null
null
null
cryptography_playground.py
GabrielAlves/CryptographyPlayground
eae2048939b09e852ccf3424683462130c4f3ee9
[ "MIT" ]
null
null
null
cryptography_playground.py
GabrielAlves/CryptographyPlayground
eae2048939b09e852ccf3424683462130c4f3ee9
[ "MIT" ]
null
null
null
import tkinter as tk from tkinter import ttk from tkinter import scrolledtext from tkinter import messagebox as msg from tkinter import Menu from i18n.i18n_cryptography_playground import I18NCryptographyPlayground from i18n.i18n_message_box import I18NMessageBox from gui_settings import GUISettings from cryptography_a...
46.611111
314
0.763409
1,696
13,424
5.627948
0.090212
0.048402
0.061289
0.035202
0.713567
0.618963
0.560922
0.518806
0.477318
0.42483
0
0.008657
0.156734
13,424
288
315
46.611111
0.834541
0
0
0.032086
0
0
0.009683
0.001937
0
0
0
0
0
1
0.240642
false
0
0.058824
0
0.31016
0.005348
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
25330a3bb45b3599bdfbcbefed2e79ea7956ce76
1,234
py
Python
chapter 9/sampleCode43.py
DTAIEB/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
15
2018-06-01T19:18:32.000Z
2021-11-28T03:31:35.000Z
chapter 9/sampleCode43.py
chshychen/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
1
2018-12-17T02:01:42.000Z
2018-12-17T02:01:42.000Z
chapter 9/sampleCode43.py
chshychen/Thoughtful-Data-Science
8b80e8f3e33b6fdc6672ecee1f27e0b983b28241
[ "Apache-2.0" ]
10
2018-09-23T02:45:45.000Z
2022-03-12T15:32:05.000Z
[[PredictDelayApp]] @route(flight_segment="*", airline="*") @captureOutput def predict_screen(self, flight_segment, airline): if flight_segment is None or flight_segment == "": return "<div>Please select a flight segment</div>" airport = flight_segment.split(":")[1] mask = (...
44.071429
101
0.577796
140
1,234
4.907143
0.492857
0.113537
0.065502
0.046579
0.075691
0.075691
0
0
0
0
0
0.019384
0.289303
1,234
27
102
45.703704
0.763968
0
0
0
0
0
0.110211
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
253d9842198f444263b15bae02608b8b21a7d23d
1,057
py
Python
src/datasets/main.py
geostk/deepSVDD
caf44c93914414ca26525fec69b780e920b9d061
[ "MIT" ]
4
2018-06-26T13:11:34.000Z
2018-07-21T02:54:29.000Z
src/datasets/main.py
gsrs/deepSVDD
caf44c93914414ca26525fec69b780e920b9d061
[ "MIT" ]
null
null
null
src/datasets/main.py
gsrs/deepSVDD
caf44c93914414ca26525fec69b780e920b9d061
[ "MIT" ]
null
null
null
from datasets.__local__ import implemented_datasets from datasets.mnist import MNIST_DataLoader from datasets.cifar10 import CIFAR_10_DataLoader from datasets.bedroom import Bedroom_DataLoader from datasets.toy import ToySeq_DataLoader from datasets.normal import Normal_DataLoader from datasets.adult import Adult_DataL...
28.567568
65
0.755913
130
1,057
5.846154
0.261538
0.118421
0.102632
0.151316
0
0
0
0
0
0
0
0.009302
0.186377
1,057
36
66
29.361111
0.874419
0.064333
0
0
0
0
0.036511
0
0
0
0
0
0.043478
1
0.043478
false
0
0.304348
0
0.347826
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
2542698ba96bb724294402a12a63e6c7c61bdcef
219
py
Python
hydrate.py
dlitvakb/horrible_dad_jokes_bot
d42f35d042f8726b0c6c5839e503d2fb458df105
[ "Unlicense" ]
3
2018-04-03T23:49:25.000Z
2018-09-17T00:34:06.000Z
hydrate.py
dlitvakb/horrible_dad_jokes_bot
d42f35d042f8726b0c6c5839e503d2fb458df105
[ "Unlicense" ]
1
2021-06-01T22:01:08.000Z
2021-06-01T22:01:08.000Z
hydrate.py
dlitvakb/horrible_dad_jokes_bot
d42f35d042f8726b0c6c5839e503d2fb458df105
[ "Unlicense" ]
null
null
null
from scraper import TwitterScraper, ICanHazDadJokeScraper scrapers = [ TwitterScraper('baddadjokes'), ICanHazDadJokeScraper() ] if __name__ == '__main__': for scraper in scrapers: scraper.scrape()
19.909091
57
0.716895
18
219
8.277778
0.722222
0
0
0
0
0
0
0
0
0
0
0
0.191781
219
10
58
21.9
0.841808
0
0
0
0
0
0.086758
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
0
1
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
0
0
1
254cd5b3b4136d0220aa87f1ce969c3493e9878b
617
py
Python
enroll/migrations/0002_auto_20210409_2221.py
RitabrataDas343/Farmtract
a51f18408778295c5f7febc8d632d3556b0249e2
[ "Apache-2.0" ]
1
2021-04-10T10:35:07.000Z
2021-04-10T10:35:07.000Z
enroll/migrations/0002_auto_20210409_2221.py
RitabrataDas343/Farmtract
a51f18408778295c5f7febc8d632d3556b0249e2
[ "Apache-2.0" ]
null
null
null
enroll/migrations/0002_auto_20210409_2221.py
RitabrataDas343/Farmtract
a51f18408778295c5f7febc8d632d3556b0249e2
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-09 22:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('enroll', '0001_initial'), ] operations = [ migrations.RenameField( model_name='user', old_name='regnum', ...
22.035714
58
0.534846
59
617
5.491525
0.694915
0.083333
0.12037
0.104938
0
0
0
0
0
0
0
0.04703
0.345219
617
27
59
22.851852
0.754951
0.072934
0
0.285714
1
0
0.098246
0
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
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
254db43a4110c2edf1d3ec0af8cea5703fdfd641
3,421
py
Python
Tests/Test.py
GamesBond008/NSE-India-Scrapper
9963d1b99ee5557e61d6be329bf9f50444d2820a
[ "MIT" ]
1
2021-06-01T19:36:42.000Z
2021-06-01T19:36:42.000Z
Tests/Test.py
GamesBond008/NSE-India-Scrapper
9963d1b99ee5557e61d6be329bf9f50444d2820a
[ "MIT" ]
null
null
null
Tests/Test.py
GamesBond008/NSE-India-Scrapper
9963d1b99ee5557e61d6be329bf9f50444d2820a
[ "MIT" ]
null
null
null
import unittest,sys,datetime sys.path.insert(0,'..') from NSE.companies import Companies from NSE.derivatives import Derivatives from NSE.equitySMEMarket import EquitySMEMarket from NSE.indices import Indices from NSE.preOpenMarket import PreOpenMarket from NSE import ValidSymbols Sample_Company="RBLBANK" Series=[Valid...
56.081967
121
0.808536
386
3,421
7.095855
0.251295
0.11245
0.127784
0.09529
0.412559
0.315444
0.211391
0.141658
0.141658
0.115371
0
0.020994
0.053201
3,421
61
122
56.081967
0.824637
0.0304
0
0
0
0
0.049457
0
0
0
0
0
0.474576
1
0.118644
false
0
0.118644
0
0.254237
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
1
0
0
0
0
0
0
0
0
0
1
25579699ea8aae8b203d129009a97d6fa5a1aaf4
493
py
Python
example1/参考/buttonlauncher2.py
SasuraiNoHoge/Kivy_practice
c046660cb3f3b9180dec9d65e2cd74347c6636c9
[ "MIT" ]
4
2017-09-23T15:03:17.000Z
2020-12-05T22:06:20.000Z
example1/参考/buttonlauncher2.py
SasuraiNoHoge/Kivy_practice
c046660cb3f3b9180dec9d65e2cd74347c6636c9
[ "MIT" ]
1
2020-03-10T21:54:25.000Z
2020-03-10T21:54:25.000Z
example1/参考/buttonlauncher2.py
SasuraiNoHoge/Kivy_practice
c046660cb3f3b9180dec9d65e2cd74347c6636c9
[ "MIT" ]
7
2017-11-17T02:38:18.000Z
2021-09-26T14:23:58.000Z
# -*- coding: utf-8 -*- import kivy kivy.require('1.9.0') from kivy.app import App from kivy.config import Config from kivy.uix.widget import Widget from kivy.uix.label import Label from kivy.lang import Builder Builder.load_file('buttonlauncher2.kv') class MyWidget(Widget): def __init__(self ,**kwargs): ...
20.541667
40
0.709939
66
493
5.045455
0.530303
0.12012
0.066066
0
0
0
0
0
0
0
0
0.01699
0.1643
493
24
41
20.541667
0.791262
0.042596
0
0
0
0
0.065817
0
0
0
0
0
0
1
0.125
false
0
0.375
0.0625
0.6875
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
255a33ce29c26d4168ff7ae800d882e91dd942a0
225
py
Python
vseros/2016-17/okr/genom.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
null
null
null
vseros/2016-17/okr/genom.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
null
null
null
vseros/2016-17/okr/genom.py
dluschan/olymp
dfbf4352dbc7f6fd7563e7bd19aff6fd67fb50b7
[ "MIT" ]
1
2018-09-14T18:50:48.000Z
2018-09-14T18:50:48.000Z
s = input() g1 = {} for i in range(1, len(s)): g1[s[i-1: i+1]] = g1.get(s[i-1: i+1], 0) + 1 s = input() g2 = set() for i in range(1, len(s)): g2.add(s[i-1: i+1]) print(sum([g1[g] for g in frozenset(g1.keys()) & g2]))
22.5
54
0.506667
54
225
2.111111
0.351852
0.105263
0.078947
0.105263
0.412281
0.280702
0.280702
0
0
0
0
0.101124
0.208889
225
9
55
25
0.539326
0
0
0.444444
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
255be9e1908b2bbd852a467ab339fc0b83e09dd3
1,864
py
Python
anemoi/utils/mixins.py
looselycoupled/anemoi
b494a8e1bc70feda882a7ed3a1ca0cb17fc1f486
[ "MIT" ]
null
null
null
anemoi/utils/mixins.py
looselycoupled/anemoi
b494a8e1bc70feda882a7ed3a1ca0cb17fc1f486
[ "MIT" ]
2
2017-08-09T14:24:15.000Z
2021-06-01T22:02:42.000Z
anemoi/utils/mixins.py
looselycoupled/anemoi
b494a8e1bc70feda882a7ed3a1ca0cb17fc1f486
[ "MIT" ]
1
2017-08-09T16:58:38.000Z
2017-08-09T16:58:38.000Z
# anemoi.utils.mixins # Mixin classes for convencience and central configuration # # Author: Allen Leis <allen.leis@gmail.com> # Created: Sat Aug 05 15:40:46 2017 -0400 # # Copyright (C) 2017 Allen Leis # For license information, see LICENSE # # ID: mixins.py [] allen.leis@gmail.com $ """ Mixin classes for convenci...
29.125
82
0.521996
178
1,864
5.370787
0.494382
0.056485
0.031381
0.056485
0.167364
0.104603
0.104603
0
0
0
0
0.014529
0.150751
1,864
63
83
29.587302
0.589387
0.280043
0
0.16
0
0
0.121034
0
0
0
0
0.015873
0
1
0.04
false
0
0.28
0
0.36
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
255cff2bdfaa41fa3a18b09cdbbe3b37020dfaa2
3,177
py
Python
csv_to_dict.py
vtsuperdarn/SD_exodus
d486614e40f2bb60abf5aafc412a15551cc09d20
[ "MIT" ]
null
null
null
csv_to_dict.py
vtsuperdarn/SD_exodus
d486614e40f2bb60abf5aafc412a15551cc09d20
[ "MIT" ]
null
null
null
csv_to_dict.py
vtsuperdarn/SD_exodus
d486614e40f2bb60abf5aafc412a15551cc09d20
[ "MIT" ]
null
null
null
""" Written by Muhammad on 09/02/2018 """ import datetime as dt import logging import numpy as np import pandas as pd import ast def csv_to_dict(fname, stime=None, etime=None, sep="|", orient="list"): """Reads data from a csv file and returns a dictionary. Parameter --------- fname : str Ful...
29.971698
88
0.610324
469
3,177
4.008529
0.362473
0.051064
0.014362
0.02234
0.123936
0.094681
0.07766
0.07766
0.054255
0.054255
0
0.036812
0.273214
3,177
105
89
30.257143
0.777393
0.299969
0
0.052632
0
0
0.187687
0.027496
0
0
0
0
0
0
null
null
0
0.131579
null
null
0.105263
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
2561c0cbb1b53736d4de2696d2a27f845b5e75a6
408
py
Python
torstream/peerflix_test.py
PandaWhoCodes/torstream
a619b382677cf70e7eae3bff8800741f84da475b
[ "MIT" ]
3
2018-04-03T04:13:22.000Z
2021-11-10T09:03:29.000Z
torstream/peerflix_test.py
PandaWhoCodes/torstream
a619b382677cf70e7eae3bff8800741f84da475b
[ "MIT" ]
null
null
null
torstream/peerflix_test.py
PandaWhoCodes/torstream
a619b382677cf70e7eae3bff8800741f84da475b
[ "MIT" ]
null
null
null
import os def test_system(): """Runs few tests to check if npm and peerflix is installed on the system.""" if os.system('npm --version') != 0: print('NPM not installed installed, please read the Readme file for more information.') exit() if os.system('peerflix --version') != 0: pri...
34
95
0.642157
56
408
4.660714
0.589286
0.091954
0.076628
0
0
0
0
0
0
0
0
0.00639
0.232843
408
11
96
37.090909
0.827476
0.17402
0
0
0
0
0.507553
0
0
0
0
0
0
1
0.125
true
0
0.125
0
0.25
0.25
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
25635d49759987bc94c91b4f76a39a69baa8ed0c
546
py
Python
apps/organizations/migrations/0002_auto_20191013_0307.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
9
2020-01-30T16:13:00.000Z
2022-03-22T03:49:18.000Z
apps/organizations/migrations/0002_auto_20191013_0307.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
8
2020-04-10T17:24:09.000Z
2022-03-23T10:38:27.000Z
apps/organizations/migrations/0002_auto_20191013_0307.py
islandowner-web/IT-MOOC
f361512e6ff81a6e120ee808b20d78a79e325f5c
[ "MIT" ]
2
2020-07-05T13:42:12.000Z
2020-12-17T05:50:48.000Z
# Generated by Django 2.2 on 2019-10-13 03:07 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('organizations', '0001_initial'), ] operations = [ migrations.RenameField( model_name='courseorg', old_name='course_nam...
22.75
70
0.575092
55
546
5.545455
0.709091
0.059016
0
0
0
0
0
0
0
0
0
0.05305
0.309524
546
23
71
23.73913
0.755968
0.078755
0
0.117647
1
0
0.133733
0
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
2567e292cd2f27452ebf517a8089483384418582
898
py
Python
Sim_ATAV/vehicle_control/controller_commons/perception/object_creation/lidar_object.py
SahilDhull/autonomous
378fc7d6c5a9c34c4e915f080fb78ed5c11195d6
[ "MIT" ]
3
2020-02-28T12:04:26.000Z
2022-02-27T00:42:56.000Z
Sim_ATAV/vehicle_control/controller_commons/perception/object_creation/lidar_object.py
SahilDhull/autonomous
378fc7d6c5a9c34c4e915f080fb78ed5c11195d6
[ "MIT" ]
null
null
null
Sim_ATAV/vehicle_control/controller_commons/perception/object_creation/lidar_object.py
SahilDhull/autonomous
378fc7d6c5a9c34c4e915f080fb78ed5c11195d6
[ "MIT" ]
null
null
null
"""Defines LidarObject class. ---------------------------------------------------------------------------------------------------------- This file is part of Sim-ATAV project and licensed under MIT license. Copyright (c) 2018 Cumhur Erkan Tuncali, Georgios Fainekos, Danil Prokhorov, Hisahiro Ito, James Kapinski. For qu...
39.043478
106
0.562361
90
898
5.422222
0.644444
0.07377
0.065574
0
0
0
0
0
0
0
0
0.010444
0.146993
898
22
107
40.818182
0.626632
0.54343
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.666667
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
256ac54ac312bf9d725dec882b64b477ddf93c2f
1,739
py
Python
nomalib/devices.py
joeugenio/noma_simulation
4182509fccc01b1999998ff1907ea834dd677519
[ "MIT" ]
1
2019-11-04T01:15:06.000Z
2019-11-04T01:15:06.000Z
nomalib/devices.py
joeugenio/noma_simulation
4182509fccc01b1999998ff1907ea834dd677519
[ "MIT" ]
null
null
null
nomalib/devices.py
joeugenio/noma_simulation
4182509fccc01b1999998ff1907ea834dd677519
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # Federal University of Campina Grande (UFCG) # Author: Joel Eugênio Cordeiro Junior # Date: 28/08/2017 # Last update: 30/01/2018 # Version: 1.0 # Python module for NOMA communications simulations # The devices classes are declared here # modules import numpy as np impor...
26.348485
101
0.59977
230
1,739
4.356522
0.465217
0.03493
0.05489
0.035928
0.179641
0.123753
0.123753
0.071856
0
0
0
0.0249
0.284071
1,739
65
102
26.753846
0.77992
0.162162
0
0.228571
0
0
0
0
0
0
0
0
0
0
null
null
0
0.057143
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
256c5a67dd5bb18b8235b86ade8db32db44789e2
1,275
py
Python
lecture_demos/13_Lecture_Demo.py
theCodingProfessor/intro_to_Python
87c3c4816530f4ca07091d17acf645f3261ecaea
[ "MIT" ]
null
null
null
lecture_demos/13_Lecture_Demo.py
theCodingProfessor/intro_to_Python
87c3c4816530f4ca07091d17acf645f3261ecaea
[ "MIT" ]
null
null
null
lecture_demos/13_Lecture_Demo.py
theCodingProfessor/intro_to_Python
87c3c4816530f4ca07091d17acf645f3261ecaea
[ "MIT" ]
null
null
null
# Code Demo for 13 Lecture # Working with Python Strings # CIS 135 - Code Demo File # Lecture example showing string contatenation firstName = "Peter" lastName = "Parker" print("\nString Contcatenation in Pyton uses the + operator") print(f'First Name = {firstName}') print(f'Last Name = {lastName}') print(...
35.416667
76
0.689412
171
1,275
5.122807
0.403509
0.091324
0.105023
0.061644
0.267123
0.170091
0.140411
0
0
0
0
0.020716
0.167059
1,275
36
77
35.416667
0.804143
0.203922
0
0
0
0
0.578189
0
0
0
0
0
0
1
0
false
0
0
0
0
0.791667
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
256cdec8b8c8d411042c64b792a32264dd68675a
2,190
py
Python
examples/models.py
cat-x/fastapi-admin
d9496b7e487134e5df1691df6652dca1c405919a
[ "Apache-2.0" ]
1
2021-02-14T12:08:32.000Z
2021-02-14T12:08:32.000Z
examples/models.py
KonstantinKlepikov/fastapi-admin
a1baa185a77252f10afe1bd76e5ff3791158be98
[ "Apache-2.0" ]
null
null
null
examples/models.py
KonstantinKlepikov/fastapi-admin
a1baa185a77252f10afe1bd76e5ff3791158be98
[ "Apache-2.0" ]
2
2020-10-23T03:47:22.000Z
2020-10-26T10:24:56.000Z
import datetime from tortoise import Model, fields from fastapi_admin.models import AbstractAdminLog, AbstractPermission, AbstractRole, AbstractUser from .enums import ProductType, Status class User(AbstractUser): last_login = fields.DatetimeField(description="Last Login", default=datetime.datetime.now) av...
25.764706
97
0.677169
241
2,190
5.995851
0.344398
0.072664
0.087197
0.116263
0.289965
0.174394
0.174394
0.174394
0.155709
0.155709
0
0.010951
0.207763
2,190
84
98
26.071429
0.821902
0.045205
0
0.176471
0
0
0.089487
0.043521
0
0
0
0
0
1
0.117647
false
0
0.078431
0.078431
0.901961
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
256ed099b27158e9c8e19a42a3af192f85d25b09
754
py
Python
dbtools/admin.py
snowminc/Groupformer
5712ab3b2c21ebea9d96adab6265acba4000fb9e
[ "MIT" ]
1
2021-02-19T18:43:35.000Z
2021-02-19T18:43:35.000Z
dbtools/admin.py
snowminc/Groupformer
5712ab3b2c21ebea9d96adab6265acba4000fb9e
[ "MIT" ]
72
2021-02-16T23:37:09.000Z
2021-05-10T21:58:31.000Z
dbtools/admin.py
snowminc/Groupformer
5712ab3b2c21ebea9d96adab6265acba4000fb9e
[ "MIT" ]
2
2021-09-05T03:00:05.000Z
2021-09-13T14:38:26.000Z
from django.contrib import admin # Register your models here. from .models import * class GroupFormerAdmin(admin.ModelAdmin): search_fields = ['class_section'] class ProjectAdmin(admin.ModelAdmin): search_fields = ['project_name'] class AttributeAdmin(admin.ModelAdmin): pass class ParticipantAdmin(adm...
24.322581
57
0.802387
80
754
7.4875
0.35
0.15025
0.170284
0.1202
0
0
0
0
0
0
0
0
0.106101
754
30
58
25.133333
0.888724
0.034483
0
0.2
0
0
0.034435
0
0
0
0
0
0
1
0
false
0.2
0.1
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
1
0
0
0
0
0
1
c25101bc085a4fe887123f30425feea4b414eb1c
246
py
Python
shortener/urls.py
warlock57/mybitly
0afbb3830f3f9a867503509f87d7b5d3dc5480ff
[ "MIT" ]
null
null
null
shortener/urls.py
warlock57/mybitly
0afbb3830f3f9a867503509f87d7b5d3dc5480ff
[ "MIT" ]
null
null
null
shortener/urls.py
warlock57/mybitly
0afbb3830f3f9a867503509f87d7b5d3dc5480ff
[ "MIT" ]
null
null
null
from django.conf.urls import url from .views import ( HomeView, MyBitlyRedirectView, ) urlpatterns = [ url(r'^$', HomeView.as_view(), name='home'), url(r'^(?P<shortcode>[\w-]+)$', MyBitlyRedirectView.as_view(), name='short'), ]
20.5
81
0.638211
29
246
5.344828
0.655172
0.051613
0.129032
0
0
0
0
0
0
0
0
0
0.158537
246
11
82
22.363636
0.748792
0
0
0
0
0
0.138211
0.093496
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
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
0
0
1
c25488d8cf10c2a7ff35bb7be0fbcb6b173f35ff
7,805
py
Python
tests/test_coordinates.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
tests/test_coordinates.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
tests/test_coordinates.py
mberz/spharpy
e74c30c297dd9ad887e7345c836a515daa6f21f4
[ "MIT" ]
null
null
null
import numpy as np import numpy.testing as npt import pytest import spharpy from spharpy.samplings.coordinates import Coordinates, SamplingSphere from spharpy.samplings import sph2cart, cart2sph, cart2latlon def test_coordinates_init(): coords = Coordinates() assert isinstance(coords, Coordinates) def test...
25.016026
77
0.626393
1,219
7,805
3.869565
0.093519
0.017808
0.147763
0.170659
0.664405
0.556286
0.49841
0.45707
0.389018
0.351495
0
0.04739
0.226778
7,805
311
78
25.096463
0.734217
0.01704
0
0.444915
0
0
0.006654
0
0
0
0
0
0.211864
1
0.152542
false
0
0.025424
0
0.182203
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
c2591028d9fa27e5f6e75b62f0ecb5005aedac84
18,397
py
Python
main.py
CosmodiumCS/OnlyRAT
deb7ed6b99788cacc420461fc0e72072a470d258
[ "BSD-3-Clause" ]
21
2022-01-07T20:20:10.000Z
2022-03-28T20:55:07.000Z
main.py
CosmodiumCS/OnlyRAT
deb7ed6b99788cacc420461fc0e72072a470d258
[ "BSD-3-Clause" ]
3
2022-02-07T02:59:22.000Z
2022-03-01T22:34:45.000Z
main.py
CosmodiumCS/OnlyRAT
deb7ed6b99788cacc420461fc0e72072a470d258
[ "BSD-3-Clause" ]
3
2022-02-01T13:49:13.000Z
2022-02-09T05:48:47.000Z
#!/usr/bin/python # python console for OnlyRAT # created by : C0SM0 # imports import os import sys import getpass import random as r from datetime import datetime # banner for display banner = """ _;, ...
35.31094
290
0.556504
1,819
18,397
5.539307
0.202309
0.016078
0.013398
0.019452
0.275407
0.233029
0.201171
0.167527
0.1448
0.128325
0
0.004554
0.283851
18,397
521
291
35.310941
0.760228
0.152634
0
0.149826
0
0.020906
0.447832
0.094845
0
0
0
0
0
1
0.073171
false
0.156794
0.017422
0
0.101045
0.216028
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
c25ba35db5bd64116bd38546b3ed9d907f3e15a6
296
py
Python
review-sentiment/sentiment-backend/sentiment/config.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
8
2021-05-03T13:05:49.000Z
2022-01-11T02:57:33.000Z
review-sentiment/sentiment-backend/sentiment/config.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
467
2021-01-22T16:58:56.000Z
2022-03-28T11:15:09.000Z
review-sentiment/sentiment-backend/sentiment/config.py
aldeeb/xai-demonstrator
45b600bd326923a21dc2c6e2659b58ab3c7b9bd4
[ "Apache-2.0" ]
8
2021-05-25T16:10:18.000Z
2022-02-28T13:21:31.000Z
from pydantic import BaseSettings class Settings(BaseSettings): service_name: str = "sentiment-service" root_path: str = "" path_prefix: str = "" # Explanation configuration default_explainer: str = "integrated_gradients" default_target: int = 4 settings = Settings()
21.142857
51
0.709459
31
296
6.580645
0.709677
0
0
0
0
0
0
0
0
0
0
0.004237
0.202703
296
13
52
22.769231
0.860169
0.084459
0
0
0
0
0.137546
0
0
0
0
0
0
1
0
false
0
0.125
0
0.875
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
c25fb52a5f4ceebfdfc69c188bf075e9881ab1e6
383
py
Python
python_libraries/numpy_lib.py
peter88tom/python_rebooted
042ca1c3905816c809a724434a9d797a4de0dd61
[ "MIT" ]
null
null
null
python_libraries/numpy_lib.py
peter88tom/python_rebooted
042ca1c3905816c809a724434a9d797a4de0dd61
[ "MIT" ]
null
null
null
python_libraries/numpy_lib.py
peter88tom/python_rebooted
042ca1c3905816c809a724434a9d797a4de0dd61
[ "MIT" ]
null
null
null
""" NumPy is a general-purpose-array-processing package. It provide a high performance multidimensional array object, """ import numpy as np # Creating array object arr = np.array([[1, 2, 3], [4, 2, 5]]) # Print type of array print(f"Array is of type: {type(arr)}") print(f"Size of array is: {arr.size}"...
23.9375
60
0.668407
64
383
4
0.484375
0.09375
0.070313
0.09375
0
0
0
0
0
0
0
0.019169
0.182768
383
15
61
25.533333
0.798722
0.407311
0
0
0
0
0.440367
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.571429
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
c26195a4b33e7b336f66409294188c812f2b2c1e
407
py
Python
src/czml3/utils.py
idanmiara/czml3
0fec1e2b87cc84f4afa1e3c7b0354b1596caafb0
[ "MIT" ]
null
null
null
src/czml3/utils.py
idanmiara/czml3
0fec1e2b87cc84f4afa1e3c7b0354b1596caafb0
[ "MIT" ]
null
null
null
src/czml3/utils.py
idanmiara/czml3
0fec1e2b87cc84f4afa1e3c7b0354b1596caafb0
[ "MIT" ]
null
null
null
from .properties import Color def get_color(color): # Color.from_string, Color.from_int, ... if isinstance(color, str) and 6 <= len(color) <= 10: return Color.from_str(color) elif isinstance(color, int): return Color.from_hex(color) elif isinstance(color, list) and len(color) <= 4: ...
29.071429
56
0.653563
55
407
4.727273
0.454545
0.173077
0.173077
0.184615
0
0
0
0
0
0
0
0.012739
0.228501
407
13
57
31.307692
0.815287
0.093366
0
0
0
0
0.035422
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.5
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
c26778354005772e2aa996574f8a2003e99a4f80
764
py
Python
blog/migrations/0005_auto_20180328_0653.py
leventaysan/My-first-project
cc9b3a5d55414dbb927fd74230d43122e08c3a03
[ "MIT" ]
null
null
null
blog/migrations/0005_auto_20180328_0653.py
leventaysan/My-first-project
cc9b3a5d55414dbb927fd74230d43122e08c3a03
[ "MIT" ]
null
null
null
blog/migrations/0005_auto_20180328_0653.py
leventaysan/My-first-project
cc9b3a5d55414dbb927fd74230d43122e08c3a03
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.13 on 2018-03-28 06:53 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('blog', '0004_auto_20180314_1027'), ] operations = [ migrations.AddField( ...
24.645161
70
0.570681
76
764
5.578947
0.671053
0.063679
0.091981
0.120283
0.174528
0.174528
0
0
0
0
0
0.064272
0.307592
764
30
71
25.466667
0.73724
0.089005
0
0.347826
1
0
0.099567
0.033189
0
0
0
0
0
1
0
false
0
0.086957
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
c2694f547c73f59688656a31c3d35127cbefd810
2,799
py
Python
digest_csvs.py
jlcanovas/sourcecred-tooling
4b52b7783db6c5be14b518035c57df9b64214f65
[ "Apache-2.0" ]
null
null
null
digest_csvs.py
jlcanovas/sourcecred-tooling
4b52b7783db6c5be14b518035c57df9b64214f65
[ "Apache-2.0" ]
2
2020-05-26T09:53:20.000Z
2020-05-26T10:32:15.000Z
digest_csvs.py
jlcanovas/sourcecred-tooling
4b52b7783db6c5be14b518035c57df9b64214f65
[ "Apache-2.0" ]
1
2020-05-25T17:12:12.000Z
2020-05-25T17:12:12.000Z
#!/usr/bin/python # # This script generates a simple HTML page (via STDOUT) including tables for the data generated by join_csvs.py script. # Each table will contain 3 x 2 colums, that is, 3 columns per CSV file (currently only 2 CSV files are supported). # # The resulting table is something like: # name_CSV1,cred_C...
39.422535
148
0.679886
417
2,799
4.472422
0.40048
0.015013
0.016086
0.017158
0.211796
0.138338
0.138338
0.106166
0.106166
0.066488
0
0.028909
0.184352
2,799
71
149
39.422535
0.787998
0.350125
0
0.051282
1
0.128205
0.358575
0.139755
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c269dde7109479fb6efad17159039578bb957d1e
552
py
Python
blog/migrations/0004_post_category.py
tahasama/T-Blogit
ae0e85765d21d702da57be7c23a2e67d5889042d
[ "MIT" ]
null
null
null
blog/migrations/0004_post_category.py
tahasama/T-Blogit
ae0e85765d21d702da57be7c23a2e67d5889042d
[ "MIT" ]
null
null
null
blog/migrations/0004_post_category.py
tahasama/T-Blogit
ae0e85765d21d702da57be7c23a2e67d5889042d
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-20 14:06 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('blog', '0003_category'), ] operations = [ migrations.AddField( model_name='post',...
26.285714
143
0.61413
61
552
5.459016
0.622951
0.072072
0.084084
0.132132
0
0
0
0
0
0
0
0.049628
0.269928
552
20
144
27.6
0.776675
0.081522
0
0
1
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
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
c26fcb06b64b44f5a26f198468b7bddf5846a95b
396
py
Python
server/apps/streamfilter/actions/types.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
server/apps/streamfilter/actions/types.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
server/apps/streamfilter/actions/types.py
iotile/iotile_cloud
9dc65ac86d3a730bba42108ed7d9bbb963d22ba6
[ "MIT" ]
null
null
null
FILTER_ACTION_ON_CHOICES = ( ('entry', 'On Entry'), ('exit', 'On Exit'), ) FILTER_ACTION_TYPE_CHOICES = ( ('eml', 'Send Email Notification'), ('sms', 'Send SMS Notification'), ('slk', 'Send Slack Notification'), ('cus', 'Custom Action'), ('drv', 'Derive Stream Action'), ('rpt', 'Report...
22
49
0.59596
42
396
5.47619
0.571429
0.104348
0.191304
0
0
0
0
0
0
0
0
0
0.207071
396
17
50
23.294118
0.732484
0
0
0
0
0
0.513995
0
0
0
0
0
0
1
0
false
0
0
0
0
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
c274f1539367101bb7e5be3fc70ed5dd3ad7eb39
14,993
py
Python
docs/circuit.py
smishraIOV/ri-aggregation
abcd90954335b6ee8513876de0118f567d979a32
[ "Apache-2.0", "MIT" ]
1,274
2019-12-05T15:32:00.000Z
2022-03-31T19:24:23.000Z
docs/circuit.py
smishraIOV/ri-aggregation
abcd90954335b6ee8513876de0118f567d979a32
[ "Apache-2.0", "MIT" ]
190
2019-12-05T16:27:08.000Z
2022-03-31T20:03:06.000Z
docs/circuit.py
smishraIOV/ri-aggregation
abcd90954335b6ee8513876de0118f567d979a32
[ "Apache-2.0", "MIT" ]
309
2019-12-09T09:26:01.000Z
2022-03-31T13:10:17.000Z
# Citcuit pseudocode # Data structures struct op: # operation data tx_type: # type of transaction, see the list: https://docs.google.com/spreadsheets/d/1ejK1MJfVehcwjgjVDFD3E2k1EZ7auqbG_y0DKidS9nA/edit#gid=0 chunk: # op chunk number (0..3) pubdata_chunk: # current chu...
36.127711
155
0.663776
2,098
14,993
4.576263
0.13632
0.028747
0.029997
0.01604
0.382148
0.306218
0.267472
0.242891
0.171024
0.127695
0
0.00589
0.252651
14,993
414
156
36.214976
0.850959
0.273127
0
0.240506
0
0
0.01851
0
0
0
0.000648
0.002415
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
c277d4a85593300f9dfb007c56b23edbc8c04421
9,277
py
Python
mooring/test_setup.py
jawaidm/moorings
22db3fa5917fb13cbee144e64529221ef862cb39
[ "Apache-2.0" ]
null
null
null
mooring/test_setup.py
jawaidm/moorings
22db3fa5917fb13cbee144e64529221ef862cb39
[ "Apache-2.0" ]
2
2020-04-30T12:02:15.000Z
2021-03-19T22:41:46.000Z
mooring/test_setup.py
jawaidm/moorings
22db3fa5917fb13cbee144e64529221ef862cb39
[ "Apache-2.0" ]
6
2020-01-13T08:45:09.000Z
2021-02-24T03:31:02.000Z
from django.test import TestCase from django.test import Client from mixer.backend.django import mixer from django.conf import settings from importlib import import_module import time from .models import * #from drf_extra_fields.geo_fields import PointField from django.contrib.gis.geos import Point from ledger.accounts...
57.265432
218
0.713485
1,106
9,277
5.88698
0.232369
0.055905
0.036861
0.044233
0.40685
0.283059
0.225311
0.201659
0.190908
0.13792
0
0.016433
0.160397
9,277
161
219
57.621118
0.819489
0.267651
0
0
0
0
0.050289
0.016911
0
0
0
0
0
1
0.022727
false
0.068182
0.159091
0
0.204545
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
c27ef209ac9851af64ea4375eae1f4a2a3f60001
1,433
py
Python
bcs-ui/backend/container_service/clusters/permissions.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
null
null
null
bcs-ui/backend/container_service/clusters/permissions.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
null
null
null
bcs-ui/backend/container_service/clusters/permissions.py
laodiu/bk-bcs
2a956a42101ff6487ff521fb3ef429805bfa7e26
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Tencent is pleased to support the open source community by making 蓝鲸智云PaaS平台社区版 (BlueKing PaaS Community Edition) available. Copyright (C) 2017-2021 THL A29 Limited, a Tencent company. All rights reserved. Licensed under the MIT License (the "License"); you may not use this file except in co...
38.72973
115
0.76762
187
1,433
5.802139
0.647059
0.0553
0.023963
0.029493
0.064516
0
0
0
0
0
0
0.009106
0.157013
1,433
36
116
39.805556
0.889073
0.534543
0
0
0
0
0.060372
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.909091
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
c285df3f99628a1b19eebe052fedde4a3ad13b98
3,012
py
Python
landmark-recognition-2019/distribute_predict.py
StudyExchange/Kaggle
e8306cc34da6b0ec91955d8f62124459981e605e
[ "MIT" ]
2
2019-04-19T12:51:31.000Z
2019-04-19T12:51:34.000Z
landmark-recognition-2019/distribute_predict.py
StudyExchange/Kaggle
e8306cc34da6b0ec91955d8f62124459981e605e
[ "MIT" ]
null
null
null
landmark-recognition-2019/distribute_predict.py
StudyExchange/Kaggle
e8306cc34da6b0ec91955d8f62124459981e605e
[ "MIT" ]
1
2018-10-05T00:35:18.000Z
2018-10-05T00:35:18.000Z
import os import json import time import redis import platform platform_name = platform.platform().lower() is_win = 'windows' in platform_name # tensorflow import tensorflow as tf if not is_win: import keras.backend.tensorflow_backend as KTF # Keras import keras from keras.utils import Sequence from keras.layers...
34.227273
206
0.737716
445
3,012
4.660674
0.27191
0.034716
0.043394
0.023144
0.222758
0.143202
0.098361
0.098361
0.098361
0.058824
0
0.003616
0.173639
3,012
87
207
34.62069
0.82965
0.069057
0
0.03125
0
0
0.082079
0.018996
0
0
0
0
0
1
0.03125
false
0.015625
0.359375
0
0.40625
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
0
0
0
0
1
0
0
0
0
1
c289563298a9d3fae2e9bd1b2b3a0cf6bcdcd9b3
8,614
py
Python
bw_add_sshkeys.py
raph2i/bitwarden-ssh-agent
505cc0cb814260aceea31bf47beee5a73bf47e94
[ "MIT" ]
null
null
null
bw_add_sshkeys.py
raph2i/bitwarden-ssh-agent
505cc0cb814260aceea31bf47beee5a73bf47e94
[ "MIT" ]
1
2022-03-27T02:29:32.000Z
2022-03-27T15:51:25.000Z
bw_add_sshkeys.py
raph2i/bitwarden-ssh-agent
505cc0cb814260aceea31bf47beee5a73bf47e94
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Extracts SSH keys from Bitwarden vault """ import argparse import json import logging import os import subprocess import pexpect import time from pkg_resources import parse_version def memoize(func): """ Decorator function to cache the results of another function call """ ...
27.608974
139
0.582076
980
8,614
5.02449
0.246939
0.046304
0.021324
0.035337
0.147035
0.119821
0.093826
0.078392
0.078392
0.077173
0
0.005454
0.297539
8,614
311
140
27.697749
0.808296
0.112143
0
0.240385
0
0
0.172206
0
0
0
0
0
0
1
0.052885
false
0.086538
0.038462
0
0.153846
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
c28ec108318e201e5db04dd093d9facb3dd88500
459
py
Python
setup.py
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
3
2022-03-13T14:10:41.000Z
2022-03-14T11:58:14.000Z
setup.py
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
null
null
null
setup.py
tbrekalo/mini
dc934e6f2bec3efa6053146413db0c3561fcd39e
[ "MIT" ]
null
null
null
import sys from skbuild import setup setup( name="minipy", version="1.3.0", author="Tvrtko Brekalo", author_email="brekalo.tvrtko@gmail.com", description="Minimizer extraction utility library as described in minimap paper", url="https://github.com/tbrekalo/mini", license="BSD", packages...
25.5
85
0.67756
58
459
5.241379
0.793103
0.039474
0
0
0
0
0
0
0
0
0
0.013158
0.172113
459
17
86
27
0.786842
0
0
0
0
0
0.379085
0.052288
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
c28f559d3b7bcf1124708b2db4c08bfa39e48118
903
py
Python
cotidia/blog/migrations/0009_auto_20190602_1908.py
guillaumepiot/cotidia-blog
80b5e8d891ca02533bfce804a2c75188501c5273
[ "BSD-3-Clause" ]
null
null
null
cotidia/blog/migrations/0009_auto_20190602_1908.py
guillaumepiot/cotidia-blog
80b5e8d891ca02533bfce804a2c75188501c5273
[ "BSD-3-Clause" ]
null
null
null
cotidia/blog/migrations/0009_auto_20190602_1908.py
guillaumepiot/cotidia-blog
80b5e8d891ca02533bfce804a2c75188501c5273
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.1 on 2019-06-02 19:08 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('blog', '0008_unique_uuid'), ] operations = [ migrations.AlterModelOptions( name='article', options={'ordering': ['-publish_d...
28.21875
176
0.579181
81
903
6.234568
0.567901
0.053465
0.160396
0.118812
0.217822
0.217822
0.217822
0
0
0
0
0.029781
0.293466
903
31
177
29.129032
0.761755
0.049834
0
0.36
1
0
0.28271
0
0
0
0
0
0
1
0
false
0
0.04
0
0.16
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
c292a5653546feabbd51f70e26a6b78a4de5afab
956
py
Python
example_echo_server.py
lxndrdagreat/udp-socket-server
8ffc99286bc7eeccb8e7c0f767d643ae10b0b872
[ "MIT" ]
3
2017-07-10T13:48:27.000Z
2019-08-04T14:26:03.000Z
example_echo_server.py
lxndrdagreat/udp-socket-server
8ffc99286bc7eeccb8e7c0f767d643ae10b0b872
[ "MIT" ]
null
null
null
example_echo_server.py
lxndrdagreat/udp-socket-server
8ffc99286bc7eeccb8e7c0f767d643ae10b0b872
[ "MIT" ]
null
null
null
from server import ThreadedUDPServer import threading # Create the server instance and assign the binding address for it server = ThreadedUDPServer(('localhost', 9999)) # Set up a few example event handlers @server.on('connected') def connected(msg, socket): """ Both 'connected' and 'disconnected' are events ...
25.157895
66
0.682008
120
956
5.316667
0.591667
0.056426
0
0
0
0
0
0
0
0
0
0.005291
0.209205
956
37
67
25.837838
0.838624
0.368201
0
0
0
0
0.111511
0
0
0
0
0
0
1
0.117647
false
0.058824
0.117647
0
0.235294
0.117647
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
c2978c8505a4cda21678e127b5aaef6476a68d9e
375
py
Python
app/__init__.py
synqs/ArduinoMagnetometerLogger
8405dd5ad17d58562b9c78743525222d84bf3c7e
[ "MIT" ]
null
null
null
app/__init__.py
synqs/ArduinoMagnetometerLogger
8405dd5ad17d58562b9c78743525222d84bf3c7e
[ "MIT" ]
null
null
null
app/__init__.py
synqs/ArduinoMagnetometerLogger
8405dd5ad17d58562b9c78743525222d84bf3c7e
[ "MIT" ]
null
null
null
from flask import Flask from flask_bootstrap import Bootstrap from flask_socketio import SocketIO from config import Config import eventlet eventlet.monkey_patch() # where should I move this normally ? async_mode = None app = Flask(__name__) bootstrap = Bootstrap(app) socketio = SocketIO(app, async_mode='eventlet') ...
20.833333
47
0.808
53
375
5.528302
0.415094
0.09215
0
0
0
0
0
0
0
0
0
0
0.130667
375
17
48
22.058824
0.898773
0.093333
0
0
0
0
0.023669
0
0
0
0
0
0
1
0
false
0
0.5
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
c29b209f7f37fc6ee82893da244c3a874a0f0905
4,736
py
Python
sensors/kalman/util/measure_thrusters.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
70
2015-11-16T18:04:01.000Z
2022-03-05T09:04:02.000Z
sensors/kalman/util/measure_thrusters.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
1
2016-08-03T05:13:19.000Z
2016-08-03T06:19:39.000Z
sensors/kalman/util/measure_thrusters.py
cuauv/software
5ad4d52d603f81a7f254f365d9b0fe636d03a260
[ "BSD-3-Clause" ]
34
2015-12-15T17:29:23.000Z
2021-11-18T14:15:12.000Z
#!/usr/bin/env python2 ''' measure_thrusters.py attempts to determine the impulse response of each thruster for system identification. That is, suppose: T(t) = thrust value at time t R(t) = angular rate at time t R(t) depends upon T(tao) for tao < t If we assume that R is linear in T and time-invariant then R(t) = \int...
36.430769
106
0.548353
642
4,736
3.956386
0.345794
0.04252
0.014173
0.049213
0.363386
0.301575
0.28937
0.253937
0.253937
0.234252
0
0.027132
0.346284
4,736
129
107
36.713178
0.793282
0.117821
0
0.19697
0
0
0.138855
0.007081
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.106061
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
c29c29afa60455a7d0588c62b67fc8f7b0322e34
7,491
py
Python
temps2.py
reasner/temps
3221524187d12cf5099546b5fb3e9f0bf45a479b
[ "MIT" ]
null
null
null
temps2.py
reasner/temps
3221524187d12cf5099546b5fb3e9f0bf45a479b
[ "MIT" ]
null
null
null
temps2.py
reasner/temps
3221524187d12cf5099546b5fb3e9f0bf45a479b
[ "MIT" ]
null
null
null
import os import pandas as pd import geopandas as gpd import matplotlib.pyplot as plt #SETUP cd = os.path.join(os.path.expanduser("~"),r'Documents',r'projects',r'temps') cd_dotdot = os.path.join(os.path.expanduser("~"),r'Documents',r'projects') if not os.path.exists(os.path.join(cd,r'simple_maps')): os.makedirs(os...
46.52795
111
0.742357
1,421
7,491
3.659395
0.082336
0.061538
0.046154
0.041538
0.789231
0.753462
0.671538
0.662692
0.490577
0.422692
0
0.061402
0.065145
7,491
160
112
46.81875
0.681137
0.021893
0
0.285714
0
0
0.243195
0.058815
0
0
0
0
0
1
0
false
0
0.028571
0
0.028571
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
c2ab276f6ec20b0fb998feea7021ff85c9eeb034
267
py
Python
geosolver/utils/run_utils.py
mhrmm/geosolver
13ae2972c58d5ba4c4878576f9fba8569cc99629
[ "Apache-2.0" ]
83
2015-09-14T13:50:42.000Z
2022-03-12T10:24:38.000Z
geosolver/utils/run_utils.py
nehamjadhav/geosolver
13ae2972c58d5ba4c4878576f9fba8569cc99629
[ "Apache-2.0" ]
8
2021-07-21T09:55:42.000Z
2022-02-15T02:31:47.000Z
geosolver/utils/run_utils.py
nehamjadhav/geosolver
13ae2972c58d5ba4c4878576f9fba8569cc99629
[ "Apache-2.0" ]
33
2015-06-16T18:52:43.000Z
2021-12-16T08:58:27.000Z
from geosolver.utils.prep import sentence_to_words_statements_values __author__ = 'minjoon' def test_prep(): paragraph = r"If \sqrt{x+5}=40.5, what is x+5?" print(sentence_to_words_statements_values(paragraph)) if __name__ == "__main__": test_prep()
20.538462
68
0.737828
39
267
4.487179
0.666667
0.114286
0.171429
0.285714
0.354286
0
0
0
0
0
0
0.02193
0.146067
267
12
69
22.25
0.745614
0
0
0
0
0
0.17603
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
0.142857
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
c2acfa3f100f471cb018a58688403a1ea15d30e0
620
py
Python
server/run.py
henri-hulski/morepath_cerebral_todomvc
568ac277c1844c4cf28bbacf484940f779fc7407
[ "BSD-3-Clause" ]
3
2016-08-20T06:02:01.000Z
2019-06-23T09:17:42.000Z
server/run.py
henri-hulski/morepath_cerebral_todomvc
568ac277c1844c4cf28bbacf484940f779fc7407
[ "BSD-3-Clause" ]
6
2016-07-30T12:42:29.000Z
2021-04-18T14:33:40.000Z
server/run.py
henri-hulski/morepath_cerebral_todomvc
568ac277c1844c4cf28bbacf484940f779fc7407
[ "BSD-3-Clause" ]
2
2020-09-10T08:07:13.000Z
2020-09-30T21:15:49.000Z
import morepath import webob from webob.static import DirectoryApp, FileApp from .app import App def run(): # pragma: no cover morepath.autoscan() index = FileApp("static/index.html") static = DirectoryApp("static") app = App() @webob.dec.wsgify def morepath_with_static_absorb(request): ...
24.8
47
0.658065
73
620
5.438356
0.438356
0.098237
0.120907
0.18136
0
0
0
0
0
0
0
0
0.246774
620
24
48
25.833333
0.850107
0.025806
0
0
0
0
0.053156
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.473684
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
c2b310f9a9e968bfd962741bff36ead21f4ffc0f
8,629
py
Python
backend/flask/apiks_flask_API.py
yasenn/apiks
a5c780d9747a57ab3991b869fcb8cee74b658d99
[ "MIT" ]
null
null
null
backend/flask/apiks_flask_API.py
yasenn/apiks
a5c780d9747a57ab3991b869fcb8cee74b658d99
[ "MIT" ]
null
null
null
backend/flask/apiks_flask_API.py
yasenn/apiks
a5c780d9747a57ab3991b869fcb8cee74b658d99
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from settings import * import json from api import api db = SQLAlchemy(app) class Session_list(db.Model): __tablename__ = 'Session_list' # creating a table name id = db.Column(db.Integer, primary_key=True) # this is the primary key client_id = db.Column(db.Integer, nullable=False...
39.222727
165
0.6302
1,171
8,629
4.453459
0.118702
0.062895
0.078619
0.081496
0.704698
0.679962
0.655417
0.58907
0.539597
0.516012
0
0.009027
0.255418
8,629
219
166
39.401826
0.802646
0.166995
0
0.458333
0
0
0.104465
0
0
0
0
0
0
0
null
null
0
0.017857
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
c2b3a4f96b0e5c0cc51f531b031322f6a5514c13
260
py
Python
examples.py
ramazanpolat/bittrex
0667fd671a01f7769a36fb712000dcb064af074e
[ "MIT" ]
1
2019-09-24T05:28:34.000Z
2019-09-24T05:28:34.000Z
examples.py
ramazanpolat/bittrex
0667fd671a01f7769a36fb712000dcb064af074e
[ "MIT" ]
null
null
null
examples.py
ramazanpolat/bittrex
0667fd671a01f7769a36fb712000dcb064af074e
[ "MIT" ]
null
null
null
from bittrex import Bittrex b = Bittrex(apikey='<YOUR_APIKEY>', secret='<YOUR_SECRET', understood='understood') err, balances = b.get_balances_dict() if not err: for coin, balance_info in balances.items(): print(f'Coin:{coin} - {balance_info}')
26
83
0.703846
36
260
4.916667
0.611111
0.124294
0.169492
0
0
0
0
0
0
0
0
0
0.15
260
9
84
28.888889
0.800905
0
0
0
0
0
0.242308
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
c2cc3151348ddad3c0f9db09fa2c0d1acd52a95b
7,379
py
Python
tools/QueryAnalysis.py
Wikidata/QueryAnalysis
2ae7b6226a3ce6a7ebccd3deff0ddd9460d4aa57
[ "Apache-2.0" ]
11
2017-02-25T00:01:58.000Z
2020-08-11T18:44:35.000Z
tools/QueryAnalysis.py
Wikidata/QueryAnalysis
2ae7b6226a3ce6a7ebccd3deff0ddd9460d4aa57
[ "Apache-2.0" ]
1
2016-10-20T16:01:57.000Z
2016-10-21T11:30:40.000Z
tools/QueryAnalysis.py
Wikidata/QueryAnalysis
2ae7b6226a3ce6a7ebccd3deff0ddd9460d4aa57
[ "Apache-2.0" ]
null
null
null
import argparse import calendar from datetime import datetime import glob import os import shutil import subprocess import sys import gzip import unifyQueryTypes from utility import utility import config os.nice(19) months = {'january': [1, 31], 'february': [2, 28], 'march': [3, 31], 'ap...
41.455056
191
0.594525
842
7,379
5.166271
0.339667
0.026897
0.050805
0.033793
0.111724
0.086437
0.049655
0
0
0
0
0.011707
0.282288
7,379
178
192
41.455056
0.809668
0.102317
0
0.037313
0
0
0.282862
0.017547
0
0
0
0
0
0
null
null
0
0.089552
null
null
0.052239
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
c2d6007285ad5baf17afd7f3508cd8c9cfc4ca53
395
py
Python
setup.py
mindis/timeseries2redis
346eef859e59f8d55f4aeb817a3498376733ac36
[ "MIT" ]
2
2017-10-29T12:00:11.000Z
2019-03-12T15:09:09.000Z
setup.py
mindis/timeseries2redis
346eef859e59f8d55f4aeb817a3498376733ac36
[ "MIT" ]
null
null
null
setup.py
mindis/timeseries2redis
346eef859e59f8d55f4aeb817a3498376733ac36
[ "MIT" ]
2
2019-03-12T15:09:13.000Z
2019-10-30T18:28:43.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- VERSION = '0.1' # import sys import os from setuptools import setup, find_packages from setuptools.extension import Extension setup(name='timeseries2redis', version=VERSION, description='timeseries2redis', author='trbck', packages=find_packages(),...
20.789474
65
0.686076
42
395
6.380952
0.642857
0.104478
0
0
0
0
0
0
0
0
0
0.021605
0.179747
395
18
66
21.944444
0.805556
0.106329
0
0
0
0
0.214286
0
0
0
0
0
0
1
0
false
0
0.333333
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c2dd0edce0a1e833af3074a49d8d489a149cfe83
1,381
py
Python
src/mealspot/urls.py
OrenBen-Meir/Meal-Spot
0b4d331f1094dda0487be2f04b08cb12e20fa1ae
[ "MIT" ]
null
null
null
src/mealspot/urls.py
OrenBen-Meir/Meal-Spot
0b4d331f1094dda0487be2f04b08cb12e20fa1ae
[ "MIT" ]
5
2019-11-01T16:23:27.000Z
2021-06-10T19:12:25.000Z
src/mealspot/urls.py
OrenBen-Meir/Meal-Spot
0b4d331f1094dda0487be2f04b08cb12e20fa1ae
[ "MIT" ]
null
null
null
"""mealspot URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.2/topics/http/urls/ Examples: Function views 1. Add an import: from my_app import views 2. Add a URL to urlpatterns: path('', views.home, name='home') Class-base...
41.848485
89
0.704562
190
1,381
5.084211
0.352632
0.057971
0.015528
0.024845
0.1853
0.1853
0.07764
0
0
0
0
0.006774
0.144823
1,381
32
90
43.15625
0.811177
0.469225
0
0
0
0
0.22865
0.033058
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
c2e1d261b6a1d00a086bc3055c588a8dbc743bea
4,220
py
Python
webapp/parse_vod_info.py
sesic/stockstream.live
eb58e8522d30e75350236c614fa2584fccc04173
[ "MIT" ]
6
2018-02-23T16:16:12.000Z
2020-12-27T18:00:31.000Z
webapp/parse_vod_info.py
sesic/stockstream.live
eb58e8522d30e75350236c614fa2584fccc04173
[ "MIT" ]
4
2017-09-21T14:31:27.000Z
2017-10-26T23:11:34.000Z
webapp/parse_vod_info.py
sesic/stockstream.live
eb58e8522d30e75350236c614fa2584fccc04173
[ "MIT" ]
3
2020-09-14T23:28:25.000Z
2021-07-27T18:16:03.000Z
import sys import json import datetime import stockstream import os records = [] i = 0 files = os.listdir("rechat") for f in files: """if i < 3: i += 1 continue""" records += json.loads(open("rechat/" + f).read()) print "Loaded {} now have {} records.".format(f, len(records)) i += 1 ...
29.103448
124
0.596919
535
4,220
4.502804
0.201869
0.037775
0.041096
0.031133
0.163553
0.092154
0.046492
0.046492
0.046492
0.046492
0
0.011878
0.261848
4,220
144
125
29.305556
0.761477
0.048578
0
0.145833
0
0
0.118397
0
0
0
0
0
0
0
null
null
0.010417
0.052083
null
null
0.072917
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
c2e31be5d18f3fe2b7f52f4dcf1298049713e2b3
7,008
py
Python
server/localfinance/mapnik_render.py
regardscitoyens/nosfinanceslocales
b7b1a8c464153ea7a1cc4864aac0b3e67dc0be7e
[ "MIT" ]
1
2015-03-18T08:07:08.000Z
2015-03-18T08:07:08.000Z
server/localfinance/mapnik_render.py
regardscitoyens/nosfinanceslocales
b7b1a8c464153ea7a1cc4864aac0b3e67dc0be7e
[ "MIT" ]
3
2017-01-05T20:00:59.000Z
2017-04-14T19:31:38.000Z
server/localfinance/mapnik_render.py
regardscitoyens/nosfinanceslocales
b7b1a8c464153ea7a1cc4864aac0b3e67dc0be7e
[ "MIT" ]
null
null
null
#!/usr/bin/env python from math import pi,sin,log,exp,atan import os from Queue import Queue import threading import json import mapnik DEG_TO_RAD = pi/180 RAD_TO_DEG = 180/pi # Default number of rendering threads to spawn, should be roughly equal to number of CPU cores available NUM_THREADS = 4 def minmax (a,b,c...
33.855072
147
0.550228
998
7,008
3.751503
0.249499
0.045406
0.05609
0.043269
0.210737
0.174145
0.142361
0.090812
0.05609
0.05609
0
0.032942
0.31992
7,008
206
148
34.019417
0.752623
0.125143
0
0.126667
0
0
0.02227
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.06
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
c2f00eca0637e25f52bd3d22e1622175e9673c10
509
py
Python
numpyro/callbacks/history.py
ahmadsalim/numpyro
015c80ddd24cf6bc89006fc3a70b424fecd09331
[ "Apache-2.0" ]
3
2020-08-25T14:31:08.000Z
2020-08-26T02:23:08.000Z
numpyro/callbacks/history.py
ahmadsalim/numpyro
015c80ddd24cf6bc89006fc3a70b424fecd09331
[ "Apache-2.0" ]
null
null
null
numpyro/callbacks/history.py
ahmadsalim/numpyro
015c80ddd24cf6bc89006fc3a70b424fecd09331
[ "Apache-2.0" ]
1
2020-09-11T10:08:27.000Z
2020-09-11T10:08:27.000Z
from numpyro.callbacks import Callback class History(Callback): def __init__(self): super().__init__() self.training_history = [] self.validation_history = [] def on_train_begin(self, train_info): self.training_history.append(train_info['loss']) def on_train_step_end(self...
28.277778
56
0.693517
65
509
5.015385
0.338462
0.110429
0.174847
0.128834
0.319018
0.319018
0.319018
0.319018
0.319018
0.319018
0
0
0.192534
509
17
57
29.941176
0.793187
0
0
0.166667
0
0
0.023576
0
0
0
0
0
0
1
0.333333
false
0
0.083333
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
1
0
0
0
0
0
0
0
1
c2f1809a81b3849b9b283b1345c6723243f151b9
515
py
Python
src/web/migrations/0003_movie_mean_rate.py
ncthanhcs/backend
3ce8a92363d6ab0e067188c95a636f84b179fa53
[ "Apache-2.0" ]
null
null
null
src/web/migrations/0003_movie_mean_rate.py
ncthanhcs/backend
3ce8a92363d6ab0e067188c95a636f84b179fa53
[ "Apache-2.0" ]
null
null
null
src/web/migrations/0003_movie_mean_rate.py
ncthanhcs/backend
3ce8a92363d6ab0e067188c95a636f84b179fa53
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.12 on 2020-06-30 08:31 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('web', '0002_auto_20200630_1111'), ] operations = [ migrations.AddField( model_name='movie', ...
25.75
152
0.658252
57
515
5.859649
0.719298
0.08982
0.179641
0
0
0
0
0
0
0
0
0.0875
0.223301
515
19
153
27.105263
0.7475
0.08932
0
0
1
0
0.085653
0.049251
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
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
6c068c98c8f2c840e783be0738abfe5de3859c92
742
py
Python
network-client/src/gmu/chord/MessageCache.py
danfleck/Class-Chord
00d53a43e524d5202afd72b9205f3dcf8169c775
[ "Apache-2.0" ]
1
2015-09-11T03:07:08.000Z
2015-09-11T03:07:08.000Z
network-client/src/gmu/chord/MessageCache.py
danfleck/Class-Chord
00d53a43e524d5202afd72b9205f3dcf8169c775
[ "Apache-2.0" ]
null
null
null
network-client/src/gmu/chord/MessageCache.py
danfleck/Class-Chord
00d53a43e524d5202afd72b9205f3dcf8169c775
[ "Apache-2.0" ]
null
null
null
''' Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. Created on Apr 9, 2014 @author: dfleck ''' class MessageCache(list): ''' Holds a list of tuples (envelope, message) ''' def __contains__(self, otherEnvelope): #print("\...
26.5
108
0.563342
79
742
5.240506
0.594937
0.086957
0.082126
0
0
0
0
0
0
0
0
0.013566
0.304582
742
27
109
27.481481
0.78876
0.521563
0
0
0
0
0.030395
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.571429
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
6c14ea83d17a6d859ccb177813c51d84796b492b
3,016
py
Python
examples/gee_example.py
lforesta/openeo-python-client
d6cfc17f9693f6f6bf4a2ce60eac180ee9576543
[ "Apache-2.0" ]
null
null
null
examples/gee_example.py
lforesta/openeo-python-client
d6cfc17f9693f6f6bf4a2ce60eac180ee9576543
[ "Apache-2.0" ]
null
null
null
examples/gee_example.py
lforesta/openeo-python-client
d6cfc17f9693f6f6bf4a2ce60eac180ee9576543
[ "Apache-2.0" ]
null
null
null
import openeo import logging import time import json from openeo.auth.auth_bearer import BearerAuth logging.basicConfig(level=logging.INFO) GEE_DRIVER_URL = "https://earthengine.openeo.org/v0.4" OUTPUT_FILE = "/tmp/openeo_gee_output.png" user = "group1" password = "test123" #connect with GEE backend #session = op...
29.568627
114
0.43435
262
3,016
4.862595
0.469466
0.035322
0.056515
0.062794
0.040816
0
0
0
0
0
0
0.064385
0.428382
3,016
101
115
29.861386
0.674594
0.578581
0
0
0
0
0.150123
0.021329
0
0
0
0.009901
0
1
0
false
0.064516
0.16129
0
0.16129
0.354839
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
6c1563fe85c2fd723de6d84ea7594c977af3340c
28,165
py
Python
src/PythonUnitTests/ArrayCreationTests.py
Quansight-Labs/numpy.net
cfa063a935a562e97deb9a20b2d0c41ab00d3a4b
[ "BSD-3-Clause" ]
59
2019-01-20T19:43:05.000Z
2022-03-26T06:08:51.000Z
src/PythonUnitTests/ArrayCreationTests.py
Quansight-Labs/numpy.net
cfa063a935a562e97deb9a20b2d0c41ab00d3a4b
[ "BSD-3-Clause" ]
21
2019-06-06T17:45:01.000Z
2022-03-30T10:37:24.000Z
src/PythonUnitTests/ArrayCreationTests.py
Quansight-Labs/numpy.net
cfa063a935a562e97deb9a20b2d0c41ab00d3a4b
[ "BSD-3-Clause" ]
7
2019-05-12T21:06:18.000Z
2022-02-13T12:23:23.000Z
import unittest import numpy as np import time as tm import matplotlib.pyplot as plt from nptest import nptest import operator class ArrayCreationTests(unittest.TestCase): def test_PrintVersionString(self): print(np.__version__) def test_simpleShape_1(self): a=np.array([1,2,3]) x=a.sh...
22.02111
445
0.47449
4,116
28,165
3.188533
0.079446
0.040232
0.018668
0.026516
0.666032
0.596007
0.552728
0.52263
0.487732
0.461292
0
0.087215
0.342127
28,165
1,279
446
22.02111
0.62108
0.027694
0
0.582686
0
0
0.042159
0
0
0
0
0
0
1
0.0899
false
0
0.006659
0
0.097669
0.54495
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
6c17ef0176e106352590096d7278e535b50ea838
1,016
py
Python
relaax/server/common/bridge/metrics_bridge_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
71
2017-01-25T00:26:20.000Z
2021-02-17T12:39:20.000Z
relaax/server/common/bridge/metrics_bridge_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
69
2017-01-23T19:29:23.000Z
2018-08-21T13:26:39.000Z
relaax/server/common/bridge/metrics_bridge_server.py
deeplearninc/relaax
a0cf280486dc74dca3857c85ec0e4c34e88d6b2b
[ "MIT" ]
13
2017-01-23T21:18:09.000Z
2019-01-29T23:48:30.000Z
from __future__ import absolute_import from builtins import object import concurrent import grpc from . import bridge_pb2 from . import bridge_message class MetricsBridgeServer(object): def __init__(self, bind, metrics_server): self.server = grpc.server(concurrent.futures.ThreadPoolExecutor(max_workers=1...
31.75
87
0.73622
122
1,016
5.836066
0.393443
0.127809
0.095506
0.064607
0
0
0
0
0
0
0
0.007101
0.168307
1,016
31
88
32.774194
0.835503
0
0
0.086957
0
0
0.016732
0
0
0
0
0
0
1
0.217391
false
0
0.26087
0
0.652174
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
6c19350eb655afa6ac646081689cf640b03c440f
846
py
Python
WIMLib/Resources/Result.py
jknewson/WiMLib
f9f74b29ed1dfc901b31e3df81f9f2459918dc4e
[ "CC0-1.0", "MIT" ]
null
null
null
WIMLib/Resources/Result.py
jknewson/WiMLib
f9f74b29ed1dfc901b31e3df81f9f2459918dc4e
[ "CC0-1.0", "MIT" ]
1
2018-07-26T15:06:31.000Z
2018-07-26T15:06:31.000Z
WIMLib/Resources/Result.py
jknewson/WiMLib
f9f74b29ed1dfc901b31e3df81f9f2459918dc4e
[ "CC0-1.0", "MIT" ]
1
2022-01-11T14:52:52.000Z
2022-01-11T14:52:52.000Z
#------------------------------------------------------------------------------ #----- Result.py -------------------------------------------------------------- #------------------------------------------------------------------------------ # # copyright: 2016 WiM - USGS # # authors: Jeremy K. Newson - USGS Web In...
32.538462
79
0.401891
66
846
5.090909
0.772727
0.065476
0.095238
0.107143
0.160714
0.160714
0
0
0
0
0
0.014388
0.178487
846
26
80
32.538462
0.469065
0.757683
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
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
6c1e76ff354ea7d48556e2b24380b9a671a44043
2,576
py
Python
mep/common/migrations/0007_add_data_viewer_group.py
making-books-ren-today/test_eval_3_shxco
5a6427abeb4aec1aa70c0d9a4b32d028012780c8
[ "Apache-2.0" ]
3
2020-05-12T19:19:41.000Z
2021-04-07T13:56:32.000Z
mep/common/migrations/0007_add_data_viewer_group.py
making-books-ren-today/test_eval_3_shxco
5a6427abeb4aec1aa70c0d9a4b32d028012780c8
[ "Apache-2.0" ]
736
2017-06-21T16:24:42.000Z
2022-02-26T17:46:10.000Z
mep/common/migrations/0007_add_data_viewer_group.py
making-books-ren-today/test_eval_3_shxco
5a6427abeb4aec1aa70c0d9a4b32d028012780c8
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.2.11 on 2020-03-11 18:30 from django.contrib.auth.management import create_permissions from django.db import migrations data_viewer_perms = { 'accounts': [ 'view_account', "view_address", 'view_accountaddress', 'view_borrow', 'view_event', 'v...
28.94382
74
0.638587
280
2,576
5.603571
0.5
0.063735
0.038241
0.030593
0.072658
0.072658
0.072658
0.072658
0.072658
0.072658
0
0.011099
0.265528
2,576
88
75
29.272727
0.818182
0.14868
0
0.089552
1
0
0.244505
0.041667
0
0
0
0
0
1
0.029851
false
0
0.029851
0
0.104478
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