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
07abd88c1750bfa23ce141be4914e78e9e578d95
316
py
Python
sqlakeyset/__init__.py
jhihruei/sqlakeyset
0aa0f6e041dc37bc5f918303578875ad334cad6c
[ "Unlicense" ]
null
null
null
sqlakeyset/__init__.py
jhihruei/sqlakeyset
0aa0f6e041dc37bc5f918303578875ad334cad6c
[ "Unlicense" ]
null
null
null
sqlakeyset/__init__.py
jhihruei/sqlakeyset
0aa0f6e041dc37bc5f918303578875ad334cad6c
[ "Unlicense" ]
null
null
null
from .columns import OC from .paging import get_page, select_page, process_args from .results import serialize_bookmark, unserialize_bookmark, Page, Paging __all__ = [ 'OC', 'get_page', 'select_page', 'serialize_bookmark', 'unserialize_bookmark', 'Page', 'Paging', 'process_args' ]
19.75
75
0.693038
36
316
5.694444
0.416667
0.068293
0.126829
0.165854
0.44878
0.44878
0
0
0
0
0
0
0.199367
316
15
76
21.066667
0.810277
0
0
0
0
0
0.257143
0
0
0
0
0
0
1
0
false
0
0.230769
0
0.230769
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
07abdc1f2ef1ad7ab554d9cccaa9f73782091369
6,609
py
Python
low_rank_local_connectivity/models/simple_model.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-13T21:48:52.000Z
2022-03-13T21:48:52.000Z
low_rank_local_connectivity/models/simple_model.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
low_rank_local_connectivity/models/simple_model.py
shaun95/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
37.982759
80
0.681192
843
6,609
5.11981
0.252669
0.07646
0.029194
0.029194
0.40987
0.368397
0.352641
0.305607
0.288925
0.267609
0
0.006463
0.227417
6,609
173
81
38.202312
0.838817
0.157966
0
0.373016
0
0
0.045528
0.005059
0
0
0
0
0
1
0.015873
false
0.071429
0.063492
0
0.095238
0.007937
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
07b58dc361c480dc7628924d4fba99b729151138
687
py
Python
client/modules/Wikipedia.py
devagul93/Jarvis-System
8d1865b19bb8530831c868147c3b27a1c3bad59b
[ "MIT" ]
null
null
null
client/modules/Wikipedia.py
devagul93/Jarvis-System
8d1865b19bb8530831c868147c3b27a1c3bad59b
[ "MIT" ]
null
null
null
client/modules/Wikipedia.py
devagul93/Jarvis-System
8d1865b19bb8530831c868147c3b27a1c3bad59b
[ "MIT" ]
null
null
null
import wikipedia import re import TCPclient as client WORDS = ["WIKIPEDIA","SEARCH","INFORMATION"] def handle(text,mic,profile): # SEARCH ON WIKIPEDIA # ny = wikipedia.summary("New York",sentences=3); # mic.say("%s"% ny) #mic.say("What you want to search about") #text = mic.activeListen() print "entering wik...
19.083333
61
0.679767
93
687
4.989247
0.516129
0.038793
0.060345
0.081897
0
0
0
0
0
0
0
0.003534
0.176128
687
35
62
19.628571
0.816254
0.24163
0
0.117647
0
0
0.160156
0
0
0
0
0
0
0
null
null
0
0.176471
null
null
0.235294
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
07b77a97c35aea2ef5b761b745880bae3410a131
2,796
py
Python
meiduo_mall/meiduo_mall/apps/orders/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
1
2019-04-12T08:56:29.000Z
2019-04-12T08:56:29.000Z
meiduo_mall/meiduo_mall/apps/orders/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
null
null
null
meiduo_mall/meiduo_mall/apps/orders/views.py
Zasling/meiduo_mall33
ec55597758d5052b311d65aee44533b001f6ddd8
[ "MIT" ]
1
2020-03-30T14:35:22.000Z
2020-03-30T14:35:22.000Z
from rest_framework.response import Response from rest_framework.views import APIView from django_redis import get_redis_connection from goods.models import SKU from decimal import Decimal from rest_framework.generics import CreateAPIView,ListAPIView from rest_framework.mixins import ListModelMixin from orders.serializ...
31.066667
115
0.689199
308
2,796
6.100649
0.334416
0.023949
0.045237
0.028739
0
0
0
0
0
0
0
0.003257
0.231402
2,796
89
116
31.41573
0.871103
0.078326
0
0.052632
0
0
0.021926
0
0
0
0
0
0
1
0.070175
false
0
0.210526
0
0.561404
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
07baaefdacf7ace2738a920e7e9c1d5671078a05
13,520
py
Python
microbitAnim.py
SaitoYutaka/microbitAnim
6630d5cdb3ae867d3467a035a1c14358944c0367
[ "MIT" ]
null
null
null
microbitAnim.py
SaitoYutaka/microbitAnim
6630d5cdb3ae867d3467a035a1c14358944c0367
[ "MIT" ]
null
null
null
microbitAnim.py
SaitoYutaka/microbitAnim
6630d5cdb3ae867d3467a035a1c14358944c0367
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ########################################################################### ## Python code generated with wxFormBuilder (version Aug 8 2018) ## http://www.wxformbuilder.org/ ## ## PLEASE DO *NOT* EDIT THIS FILE! ########################################################################### impo...
44.473684
181
0.598669
1,773
13,520
4.447829
0.091371
0.081156
0.026629
0.066193
0.613239
0.478443
0.469693
0.455998
0.455998
0.442683
0
0.074268
0.252071
13,520
303
182
44.620462
0.705597
0.017456
0
0.152632
1
0
0.002159
0
0
0
0
0
0
1
0.163158
false
0.005263
0.010526
0
0.178947
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
07c0c2bb274ab76681ad18763446d5b0c976c985
242
py
Python
pixelate_task_1.py
Swayamshu/Pixelate_Sample_Arena
d8e8b4614987f9302a19ec1e20a922618e67b943
[ "MIT" ]
null
null
null
pixelate_task_1.py
Swayamshu/Pixelate_Sample_Arena
d8e8b4614987f9302a19ec1e20a922618e67b943
[ "MIT" ]
null
null
null
pixelate_task_1.py
Swayamshu/Pixelate_Sample_Arena
d8e8b4614987f9302a19ec1e20a922618e67b943
[ "MIT" ]
null
null
null
import gym import pix_sample_arena import time import pybullet as p import pybullet_data import cv2 if __name__ == "__main__": env = gym.make("pix_sample_arena-v0") x = 0 while True: p.stepSimulation() time.sleep(100)
18.615385
41
0.702479
36
242
4.361111
0.666667
0.11465
0.178344
0
0
0
0
0
0
0
0
0.031579
0.214876
242
13
42
18.615385
0.794737
0
0
0
0
0
0.111111
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
07c638a7630e99e901331aada0e29b538ff7310d
1,482
py
Python
forms/QRGenerator.py
Rono-Barto-Co/Project-QR
e80fc5a41f25542038c090311844912790cb1478
[ "MIT" ]
3
2019-07-04T03:27:06.000Z
2019-09-06T08:52:35.000Z
forms/QRGenerator.py
Rono-Barto-Co/Project-QR
e80fc5a41f25542038c090311844912790cb1478
[ "MIT" ]
null
null
null
forms/QRGenerator.py
Rono-Barto-Co/Project-QR
e80fc5a41f25542038c090311844912790cb1478
[ "MIT" ]
null
null
null
from flask_wtf import FlaskForm from wtforms import StringField, SubmitField, SelectField from wtforms.validators import DataRequired class QRGenerator(FlaskForm): code_content = StringField('Content', validators=[DataRequired()]) code_size = SelectField('Size', choices=[('15', 'Size'), ...
54.888889
89
0.323887
87
1,482
5.436782
0.471264
0.046512
0
0
0
0
0
0
0
0
0
0.040419
0.549258
1,482
26
90
57
0.667665
0
0
0
0
0
0.112011
0
0
0
0
0
0
1
0
false
0
0.125
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07c6a477f6bfebee04a539e1d02b2df95226ab91
1,259
py
Python
Quiz/m2_advanced_quants/l5_volatility/volatility_estimation.py
jcrangel/AI-for-Trading
c3b865e992f8eb8deda91e7641428eef1d343636
[ "Apache-2.0" ]
null
null
null
Quiz/m2_advanced_quants/l5_volatility/volatility_estimation.py
jcrangel/AI-for-Trading
c3b865e992f8eb8deda91e7641428eef1d343636
[ "Apache-2.0" ]
null
null
null
Quiz/m2_advanced_quants/l5_volatility/volatility_estimation.py
jcrangel/AI-for-Trading
c3b865e992f8eb8deda91e7641428eef1d343636
[ "Apache-2.0" ]
null
null
null
import pandas as pd import numpy as np def estimate_volatility(prices, l): """Create an exponential moving average model of the volatility of a stock price, and return the most recent (last) volatility estimate. Parameters ---------- prices : pandas.Series A series of adjusted closing...
31.475
96
0.659253
165
1,259
4.915152
0.515152
0.083847
0.088779
0.071517
0.064118
0
0
0
0
0
0
0.007376
0.246227
1,259
39
97
32.282051
0.847208
0.586974
0
0
0
0
0.145161
0
0
0
0
0.025641
0
1
0.2
false
0
0.2
0
0.5
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
1
0
0
0
0
0
0
0
0
0
0
1
07cc54388c8061e52f8dc1aa33c14d904afe5143
3,964
py
Python
lectures/extensions/hyperbolic_discounting/replication_code/src/analysis/get_bivariate_distr_data.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
4
2019-11-15T15:21:27.000Z
2020-07-08T15:04:30.000Z
lectures/extensions/hyperbolic_discounting/replication_code/src/analysis/get_bivariate_distr_data.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
9
2019-11-18T15:54:36.000Z
2020-07-14T13:56:53.000Z
lectures/extensions/hyperbolic_discounting/replication_code/src/analysis/get_bivariate_distr_data.py
loikein/ekw-lectures
a2f5436f10515ab26eab323fca8c37c91bdc5dcd
[ "MIT" ]
3
2021-01-25T15:41:30.000Z
2021-09-21T08:51:36.000Z
"""Generate values of Method of Simulated Moments criterion function. Given observed moments and weighting matrix in `OUT_ANALYSIS`, "msm_estimation", generate values of Method of Simulated Moments criterion function for combinations of discount factor and present bias values. The goal is to study the bivariate distr...
36.703704
97
0.726791
477
3,964
5.75891
0.27673
0.022934
0.045868
0.053513
0.333091
0.233345
0.210047
0.183109
0.156898
0.04878
0
0.007192
0.193239
3,964
107
98
37.046729
0.851782
0.212916
0
0.031746
1
0
0.145698
0.008801
0
0
0
0
0
1
0.015873
false
0
0.253968
0
0.285714
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
07d274563189ebc57a38c1571e12c09ed638080d
18,828
py
Python
scanlogger.py
pythonhacker/pyscanlogd
64d6ad38127243e5c422be7f899ecfa802e1ad21
[ "BSD-3-Clause" ]
1
2021-04-03T22:15:06.000Z
2021-04-03T22:15:06.000Z
scanlogger.py
pythonhacker/pyscanlogd
64d6ad38127243e5c422be7f899ecfa802e1ad21
[ "BSD-3-Clause" ]
null
null
null
scanlogger.py
pythonhacker/pyscanlogd
64d6ad38127243e5c422be7f899ecfa802e1ad21
[ "BSD-3-Clause" ]
2
2020-12-18T20:06:21.000Z
2021-04-08T02:47:40.000Z
# -- coding: utf-8 #!/usr/bin/env python """ pyscanlogger: Port scan detector/logger tool, inspired by scanlogd {http://www.openwall.com/scanlogd} but with added ability to log slow port-scans. Features 1. Detects all stealth (half-open) and full-connect scans. 2. Detects Idle scan and logs it correctly usi...
37.8833
132
0.468929
2,152
18,828
4.015799
0.196097
0.013539
0.017357
0.00648
0.206781
0.151701
0.11583
0.103795
0.103217
0.099514
0
0.013553
0.439611
18,828
496
133
37.959677
0.805516
0.126036
0
0.258065
0
0.016129
0.084012
0.001656
0
0
0.00053
0
0
0
null
null
0
0.029032
null
null
0.032258
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
07d5b427e69bdc09287f1c66c02797e0db0b274b
1,218
py
Python
examples/question_answering/qa_sparse_train.py
ebell495/nn_pruning
41263ab898117a639f3f219c23a4cecc8bc0e3f3
[ "Apache-2.0" ]
250
2021-02-22T15:50:04.000Z
2022-03-31T08:12:02.000Z
examples/question_answering/qa_sparse_train.py
vuiseng9/nn_pruning
8f4a14dd63d621483cbc1bc4eb34600d66e9e71b
[ "Apache-2.0" ]
28
2021-02-22T15:54:34.000Z
2022-03-17T08:57:38.000Z
examples/question_answering/qa_sparse_train.py
vuiseng9/nn_pruning
8f4a14dd63d621483cbc1bc4eb34600d66e9e71b
[ "Apache-2.0" ]
31
2021-02-22T16:07:17.000Z
2022-03-28T09:17:24.000Z
# coding=utf-8 # Copyright 2020 The HuggingFace Team All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless require...
43.5
128
0.769294
177
1,218
5.19774
0.632768
0.065217
0.028261
0.034783
0
0
0
0
0
0
0
0.008824
0.162562
1,218
27
129
45.111111
0.893137
0.729885
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
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
1
0
0
0
0
1
07d7992d7ae8299b452c378aa6d4664a38bab354
1,252
py
Python
src/petronia/aid/bootstrap/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
19
2017-06-21T10:28:24.000Z
2021-12-31T11:49:28.000Z
src/petronia/aid/bootstrap/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
10
2016-11-11T18:57:57.000Z
2021-02-01T15:33:43.000Z
src/petronia/aid/bootstrap/__init__.py
groboclown/petronia
486338023d19cee989e92f0c5692680f1a37811f
[ "MIT" ]
3
2017-09-17T03:29:35.000Z
2019-06-03T10:43:08.000Z
""" Common Petronia imports for bootstrap parts of an extension. This should be imported along with the `simp` module. """ from ...base.bus import ( EventBus, ListenerRegistrar, ListenerSetup, QueuePriority, ExtensionMetadataStruct, register_event, EVENT_WILDCARD, TARGET_WILDCARD, ...
19.261538
60
0.747604
130
1,252
6.846154
0.561538
0.101124
0.031461
0
0
0
0
0
0
0
0
0
0.188498
1,252
64
61
19.5625
0.875984
0.126997
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.139535
0
0.139535
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
07dab8d1754575bc1f3f83e4e0cadea3c8dcd3af
8,104
py
Python
src/biotite/application/application.py
claudejrogers/biotite
3635bc9071506ecb85ddd9b1dbe6a430295e060e
[ "BSD-3-Clause" ]
null
null
null
src/biotite/application/application.py
claudejrogers/biotite
3635bc9071506ecb85ddd9b1dbe6a430295e060e
[ "BSD-3-Clause" ]
null
null
null
src/biotite/application/application.py
claudejrogers/biotite
3635bc9071506ecb85ddd9b1dbe6a430295e060e
[ "BSD-3-Clause" ]
null
null
null
# This source code is part of the Biotite package and is distributed # under the 3-Clause BSD License. Please see 'LICENSE.rst' for further # information. __name__ = "biotite.application" __author__ = "Patrick Kunzmann" __all__ = ["Application", "AppStateError", "TimeoutError", "VersionError", "AppState", "...
31.169231
79
0.604516
918
8,104
5.269063
0.248366
0.072359
0.024602
0.01902
0.167666
0.096547
0.052719
0.013645
0
0
0
0.000534
0.307132
8,104
260
80
31.169231
0.860908
0.538129
0
0.287356
0
0
0.086515
0.009107
0
0
0
0
0
1
0.149425
false
0.091954
0.045977
0
0.356322
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
07dee507ce31e115b2b94a29d53cdc5c3d4bd0df
2,316
py
Python
scripts/examples/OpenMV/16-Codes/find_barcodes.py
jiskra/openmv
a0f321836f77f94d8118910598dcdb79eb784d58
[ "MIT" ]
1,761
2015-07-10T23:14:17.000Z
2022-03-30T07:49:49.000Z
scripts/examples/OpenMV/16-Codes/find_barcodes.py
jiskra/openmv
a0f321836f77f94d8118910598dcdb79eb784d58
[ "MIT" ]
487
2015-07-07T23:21:20.000Z
2022-03-30T17:13:22.000Z
scripts/examples/OpenMV/16-Codes/find_barcodes.py
jiskra/openmv
a0f321836f77f94d8118910598dcdb79eb784d58
[ "MIT" ]
882
2015-08-01T08:34:19.000Z
2022-03-30T07:36:23.000Z
# Barcode Example # # This example shows off how easy it is to detect bar codes using the # OpenMV Cam M7. Barcode detection does not work on the M4 Camera. import sensor, image, time, math sensor.reset() sensor.set_pixformat(sensor.GRAYSCALE) sensor.set_framesize(sensor.VGA) # High Res! sensor.set_windowing((640, 80...
35.090909
121
0.638169
324
2,316
4.512346
0.401235
0.065663
0.109439
0.164159
0.086183
0.056088
0.056088
0.056088
0.056088
0
0
0.04442
0.222366
2,316
65
122
35.630769
0.767351
0.259067
0
0
0
0
0.093952
0
0
0
0
0
0
1
0.019231
false
0
0.019231
0
0.346154
0.057692
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
07e0af37e19269400d7c0cf5ac0dc3b1672e18e4
10,752
py
Python
tests/test_packed_to_padded.py
theycallmepeter/pytorch3d_PBR
bc83c23969ff7843fc05d2da001952b368926174
[ "BSD-3-Clause" ]
null
null
null
tests/test_packed_to_padded.py
theycallmepeter/pytorch3d_PBR
bc83c23969ff7843fc05d2da001952b368926174
[ "BSD-3-Clause" ]
null
null
null
tests/test_packed_to_padded.py
theycallmepeter/pytorch3d_PBR
bc83c23969ff7843fc05d2da001952b368926174
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import unittest import torch from common_testing import TestCaseMixin, get_random_cuda_device from pyt...
39.384615
89
0.628255
1,355
10,752
4.635424
0.108487
0.033116
0.057953
0.043305
0.780608
0.736666
0.646712
0.609776
0.540519
0.496099
0
0.018483
0.280413
10,752
272
90
39.529412
0.793331
0.048735
0
0.41784
0
0
0.013111
0
0
0
0
0
0.042254
1
0.107981
false
0
0.023474
0
0.159624
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
07e2537b3e43653ce0616ed6421ef634050042c8
3,085
py
Python
pysrc/classifier.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
1,261
2016-12-16T14:29:30.000Z
2022-03-30T20:21:25.000Z
pysrc/classifier.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
190
2016-12-17T13:44:09.000Z
2022-03-27T09:28:13.000Z
pysrc/classifier.py
CrackerCat/xed
428712c28e831573579b7f749db63d3a58dcdbd9
[ "Apache-2.0" ]
155
2016-12-16T22:17:20.000Z
2022-02-16T20:53:59.000Z
#!/usr/bin/env python # -*- python -*- #BEGIN_LEGAL # #Copyright (c) 2019 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-...
39.551282
96
0.647326
454
3,085
4.167401
0.396476
0.060254
0.059197
0.023256
0.103066
0.103066
0.080338
0.021142
0
0
0
0.023226
0.246353
3,085
77
97
40.064935
0.790538
0.322204
0
0
0
0
0.122152
0.015027
0
0
0
0.012987
0
1
0.047619
false
0
0.095238
0
0.166667
0.02381
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
07e5b14fe954fccf9ada38a8fb44f9dd227c6830
1,301
py
Python
tests/web/config.py
zcqian/biothings.api
61c0300317cf2ac7db8310b5b5741ad9b08c4163
[ "Apache-2.0" ]
null
null
null
tests/web/config.py
zcqian/biothings.api
61c0300317cf2ac7db8310b5b5741ad9b08c4163
[ "Apache-2.0" ]
null
null
null
tests/web/config.py
zcqian/biothings.api
61c0300317cf2ac7db8310b5b5741ad9b08c4163
[ "Apache-2.0" ]
null
null
null
""" Web settings to override for testing. """ import os from biothings.web.settings.default import QUERY_KWARGS # ***************************************************************************** # Elasticsearch Variables # ***************************************************************************** ES_INDEX = 'bts_...
34.236842
79
0.362798
92
1,301
4.858696
0.630435
0.098434
0.053691
0.085011
0.102908
0
0
0
0
0
0
0.006717
0.08455
1,301
37
80
35.162162
0.368598
0.602613
0
0
0
0
0.206897
0
0
0
0
0
0
1
0
false
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
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
07e88f36bd18f9a9dc8241de858cfab239c3ca4a
1,758
py
Python
cogs/carbon.py
Baracchino-Della-Scuola/Bot
65c1ef37ca9eae5d104de7d7de5cc58cc138402d
[ "MIT" ]
6
2021-12-18T10:15:01.000Z
2022-03-25T18:11:04.000Z
cogs/carbon.py
Baracchino-Della-Scuola/Bot
65c1ef37ca9eae5d104de7d7de5cc58cc138402d
[ "MIT" ]
3
2022-01-13T12:44:46.000Z
2022-02-21T17:40:52.000Z
cogs/carbon.py
Baracchino-Della-Scuola/Bot
65c1ef37ca9eae5d104de7d7de5cc58cc138402d
[ "MIT" ]
1
2022-02-14T21:54:07.000Z
2022-02-14T21:54:07.000Z
import discord from discord.ext import commands import urllib.parse from .constants import themes, controls, languages, fonts, escales import os from pathlib import Path from typing import Any # from pyppeteer import launch from io import * import requests def encode_url(text: str) -> str: first_encoding = urlli...
21.975
86
0.633675
251
1,758
4.310757
0.398406
0.032348
0.027726
0.02403
0.040665
0
0
0
0
0
0
0.032847
0.220705
1,758
79
87
22.253165
0.756934
0.044369
0
0.042553
0
0
0.109705
0.045208
0
0
0
0
0
1
0.170213
false
0
0.191489
0.06383
0.638298
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
07ea3ff52f1fa71b79053f13390d47944be9bd66
499
py
Python
examples/mcp3xxx_mcp3002_single_ended_simpletest.py
sommersoft/Adafruit_CircuitPython_MCP3xxx
94088a7e2b30f1b34e8a5fd7076075d88aad460b
[ "MIT" ]
null
null
null
examples/mcp3xxx_mcp3002_single_ended_simpletest.py
sommersoft/Adafruit_CircuitPython_MCP3xxx
94088a7e2b30f1b34e8a5fd7076075d88aad460b
[ "MIT" ]
null
null
null
examples/mcp3xxx_mcp3002_single_ended_simpletest.py
sommersoft/Adafruit_CircuitPython_MCP3xxx
94088a7e2b30f1b34e8a5fd7076075d88aad460b
[ "MIT" ]
null
null
null
import busio import digitalio import board import adafruit_mcp3xxx.mcp3002 as MCP from adafruit_mcp3xxx.analog_in import AnalogIn # create the spi bus spi = busio.SPI(clock=board.SCK, MISO=board.MISO, MOSI=board.MOSI) # create the cs (chip select) cs = digitalio.DigitalInOut(board.D5) # create the mcp object mcp = M...
23.761905
66
0.747495
80
499
4.625
0.525
0.072973
0
0
0
0
0
0
0
0
0
0.030445
0.144289
499
20
67
24.95
0.836066
0.216433
0
0
0
0
0.07513
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.181818
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
07eb8c54a1c0d882798ebdd645e52dda754bb70e
759
py
Python
glue/core/data_factories/tables.py
rosteen/glue
ed71979f8e0e41f993a2363b3b5a8f8c3167a130
[ "BSD-3-Clause" ]
550
2015-01-08T13:51:06.000Z
2022-03-31T11:54:47.000Z
glue/core/data_factories/tables.py
mmorys/glue
b58ced518ba6f56c59a4e03ffe84afa47235e193
[ "BSD-3-Clause" ]
1,362
2015-01-03T19:15:52.000Z
2022-03-30T13:23:11.000Z
glue/core/data_factories/tables.py
mmorys/glue
b58ced518ba6f56c59a4e03ffe84afa47235e193
[ "BSD-3-Clause" ]
142
2015-01-08T13:08:00.000Z
2022-03-18T13:25:57.000Z
from glue.core.data_factories.helpers import has_extension from glue.config import data_factory __all__ = ['tabular_data'] @data_factory(label="ASCII Table", identifier=has_extension('csv txt tsv tbl dat ' 'csv.gz txt.gz tbl.bz ' ...
33
75
0.613966
93
759
4.774194
0.516129
0.072072
0.081081
0.108108
0.168919
0
0
0
0
0
0
0.001894
0.304348
759
22
76
34.5
0.839015
0
0
0
0
0
0.123847
0
0
0
0
0
0
1
0.055556
false
0.055556
0.222222
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
1
0
0
0
0
0
1
07ee95bf0289bb4f328ba250a0e725c6cb917270
2,073
py
Python
d00dfeed/analyses/print_sloc_per_soc.py
rehosting/rehosting_sok
499b625c8aa60020f311df97a6253820982f20d4
[ "MIT" ]
4
2021-09-17T02:37:08.000Z
2022-02-15T01:44:41.000Z
d00dfeed/analyses/print_sloc_per_soc.py
rehosting/rehosting_sok
499b625c8aa60020f311df97a6253820982f20d4
[ "MIT" ]
null
null
null
d00dfeed/analyses/print_sloc_per_soc.py
rehosting/rehosting_sok
499b625c8aa60020f311df97a6253820982f20d4
[ "MIT" ]
null
null
null
# External deps import os, sys, json from pathlib import Path from typing import Dict, List # Internal deps os.chdir(sys.path[0]) sys.path.append("..") import df_common as dfc import analyses_common as ac # Generated files directory GEN_FILE_DIR = str(Path(__file__).resolve().parent.parent) + os.sep + "generated_file...
32.904762
122
0.673903
328
2,073
3.893293
0.317073
0.065779
0.062647
0.050901
0.076742
0.050117
0.050117
0.050117
0.050117
0.050117
0
0.002452
0.213218
2,073
62
123
33.435484
0.780503
0.095514
0
0.04878
0
0
0.132045
0
0
0
0
0.016129
0
1
0
false
0
0.170732
0
0.170732
0.121951
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
07f12eb8f08aef21196193b3111071cb20b8013a
1,884
py
Python
silver_bullet/crypto.py
Hojung-Jeong/Silver-Bullet-Encryption-Tool
5ea29b3cd78cf7488e0cbdcf4ea60d7c9151c2a7
[ "Apache-2.0" ]
null
null
null
silver_bullet/crypto.py
Hojung-Jeong/Silver-Bullet-Encryption-Tool
5ea29b3cd78cf7488e0cbdcf4ea60d7c9151c2a7
[ "Apache-2.0" ]
null
null
null
silver_bullet/crypto.py
Hojung-Jeong/Silver-Bullet-Encryption-Tool
5ea29b3cd78cf7488e0cbdcf4ea60d7c9151c2a7
[ "Apache-2.0" ]
null
null
null
''' >List of functions 1. encrypt(user_input,passphrase) - Encrypt the given string with the given passphrase. Returns cipher text and locked pad. 2. decrypt(cipher_text,locked_pad,passphrase) - Decrypt the cipher text encrypted with SBET. It requires cipher text, locked pad, and passphrase. ''' # CODE ============...
24.789474
146
0.735669
260
1,884
5.215385
0.323077
0.058997
0.047198
0.056047
0.158555
0.158555
0.054572
0
0
0
0
0.00536
0.108811
1,884
76
147
24.789474
0.802263
0.213907
0
0.044444
0
0
0.002653
0
0
0
0
0
0
1
0.088889
false
0.155556
0.111111
0
0.288889
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
07f21adedf8ef7aa0ba52361a9cf4372ad43ac9a
4,967
py
Python
app/nextMoveLogic.py
thekitbag/starter-snake-python
48d12d2fa61ecfc976cd5750316b1db49a641f7f
[ "MIT" ]
null
null
null
app/nextMoveLogic.py
thekitbag/starter-snake-python
48d12d2fa61ecfc976cd5750316b1db49a641f7f
[ "MIT" ]
null
null
null
app/nextMoveLogic.py
thekitbag/starter-snake-python
48d12d2fa61ecfc976cd5750316b1db49a641f7f
[ "MIT" ]
null
null
null
import random class Status(object): def getHeadPosition(gamedata): me = gamedata['you'] my_position = me['body'] head = my_position[0] return head def getMyLength(gamedata): me = gamedata['you'] my_position = me['body'] if my_position[0] == my_position[1] == my_position[2]: return 1 elif my_...
29.217647
122
0.655124
604
4,967
5.32947
0.155629
0.055918
0.06151
0.072693
0.462255
0.370923
0.331469
0.314073
0.282075
0.177074
0
0.008033
0.172941
4,967
169
123
29.390533
0.77556
0.034629
0
0.227642
0
0
0.155635
0
0
0
0
0
0
1
0.146341
false
0.097561
0.00813
0
0.357724
0.01626
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
07f27b728b22aae57de29b0aad696e2f245d31dd
2,921
py
Python
generator/util.py
gbtami/lichess-puzzler
e7338b35f592481141acefe39c7aaa444b26aa9e
[ "MIT" ]
1
2021-02-20T11:21:53.000Z
2021-02-20T11:21:53.000Z
generator/util.py
gbtami/lichess-puzzler
e7338b35f592481141acefe39c7aaa444b26aa9e
[ "MIT" ]
null
null
null
generator/util.py
gbtami/lichess-puzzler
e7338b35f592481141acefe39c7aaa444b26aa9e
[ "MIT" ]
null
null
null
from dataclasses import dataclass import math import chess import chess.engine from model import EngineMove, NextMovePair from chess import Color, Board from chess.pgn import GameNode from chess.engine import SimpleEngine, Score nps = [] def material_count(board: Board, side: Color) -> int: values = { chess.PAWN:...
38.946667
442
0.66176
455
2,921
4.123077
0.349451
0.023987
0.028785
0.030384
0.057569
0.034115
0.034115
0
0
0
0
0.063812
0.200616
2,921
74
443
39.472973
0.739615
0.154399
0
0.224138
0
0
0.024857
0
0
0
0
0
0
1
0.137931
false
0
0.137931
0.034483
0.551724
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
07fb390e2fe8908e8e3a429d629ca30f1d77df66
11,225
py
Python
test/test_python_errors.py
yangyangxcf/parso
e496b07b6342f6182225a60aad6031d7ad08f24d
[ "PSF-2.0" ]
null
null
null
test/test_python_errors.py
yangyangxcf/parso
e496b07b6342f6182225a60aad6031d7ad08f24d
[ "PSF-2.0" ]
null
null
null
test/test_python_errors.py
yangyangxcf/parso
e496b07b6342f6182225a60aad6031d7ad08f24d
[ "PSF-2.0" ]
null
null
null
""" Testing if parso finds syntax errors and indentation errors. """ import sys import warnings import pytest import parso from parso._compatibility import is_pypy from .failing_examples import FAILING_EXAMPLES, indent, build_nested if is_pypy: # The errors in PyPy might be different. Just skip the module for n...
34.860248
96
0.625568
1,546
11,225
4.372574
0.207633
0.031953
0.035503
0.023669
0.383728
0.331953
0.29142
0.219379
0.203698
0.156805
0
0.020049
0.240178
11,225
321
97
34.968847
0.772541
0.132829
0
0.173913
0
0
0.25599
0
0
0
0
0
0.221739
1
0.091304
false
0.052174
0.052174
0.004348
0.195652
0.004348
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
07fd108f6337b8e7a88da0155cf318b6098e4ae4
2,585
py
Python
src/grader/machine.py
MrKaStep/csc230-grader
559846f4d921c5c4be6b6e9ba8629fb24b448e41
[ "MIT" ]
null
null
null
src/grader/machine.py
MrKaStep/csc230-grader
559846f4d921c5c4be6b6e9ba8629fb24b448e41
[ "MIT" ]
null
null
null
src/grader/machine.py
MrKaStep/csc230-grader
559846f4d921c5c4be6b6e9ba8629fb24b448e41
[ "MIT" ]
null
null
null
import getpass from plumbum import local from plumbum.machines.paramiko_machine import ParamikoMachine from plumbum.path.utils import copy def _once(f): res = None def wrapped(*args, **kwargs): nonlocal res if res is None: res = f(*args, **kwargs) return res return wrapp...
32.3125
133
0.600387
311
2,585
4.787781
0.215434
0.087307
0.036938
0.040296
0.20685
0.045668
0
0
0
0
0
0
0.292843
2,585
79
134
32.721519
0.814551
0
0
0.125
0
0
0.087848
0.010449
0
0
0
0
0
1
0.125
false
0.078125
0.0625
0.015625
0.296875
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
07ff0da6e717ab9585c2e512803b8604ff985d37
2,793
py
Python
tests/test_tree.py
andreax79/airflow-code-editor
031170387496bbc6d540179c6c2f1765e1e70694
[ "Apache-2.0" ]
194
2019-08-06T13:03:11.000Z
2022-03-25T15:29:29.000Z
tests/test_tree.py
andreax79/airflow-code-editor
031170387496bbc6d540179c6c2f1765e1e70694
[ "Apache-2.0" ]
29
2019-08-23T16:07:17.000Z
2022-03-31T03:43:47.000Z
tests/test_tree.py
andreax79/airflow-code-editor
031170387496bbc6d540179c6c2f1765e1e70694
[ "Apache-2.0" ]
32
2019-08-15T12:13:37.000Z
2022-03-31T17:27:24.000Z
#!/usr/bin/env python import os import os.path import airflow import airflow.plugins_manager from airflow import configuration from flask import Flask from unittest import TestCase, main from airflow_code_editor.commons import PLUGIN_NAME from airflow_code_editor.tree import ( get_tree, ) assert airflow.plugins_m...
31.382022
85
0.583602
371
2,793
4.191375
0.191375
0.063023
0.066881
0.063023
0.736334
0.708682
0.612862
0.561415
0.510611
0.463023
0
0.003982
0.280702
2,793
88
86
31.738636
0.770035
0.007161
0
0.597222
0
0
0.090188
0
0
0
0
0
0.222222
1
0.125
false
0
0.125
0
0.277778
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
07ff31219d3e42ddfa090b695c0d4b6ede8d31e9
2,826
py
Python
examples/token_freshness.py
greenape/flask-jwt-extended
11ac3bf0937ee199aea7d6dc47c748bef9bf1d2f
[ "MIT" ]
2
2021-03-20T01:55:08.000Z
2021-11-14T12:20:23.000Z
examples/token_freshness.py
greenape/flask-jwt-extended
11ac3bf0937ee199aea7d6dc47c748bef9bf1d2f
[ "MIT" ]
1
2020-08-06T23:02:45.000Z
2020-09-26T01:36:21.000Z
examples/token_freshness.py
greenape/flask-jwt-extended
11ac3bf0937ee199aea7d6dc47c748bef9bf1d2f
[ "MIT" ]
1
2020-10-28T20:09:00.000Z
2020-10-28T20:09:00.000Z
from quart import Quart, jsonify, request from quart_jwt_extended import ( JWTManager, jwt_required, create_access_token, jwt_refresh_token_required, create_refresh_token, get_jwt_identity, fresh_jwt_required, ) app = Quart(__name__) app.config["JWT_SECRET_KEY"] = "super-secret" # Change ...
33.247059
75
0.714084
398
2,826
4.89196
0.28392
0.067797
0.043657
0.039034
0.402671
0.327684
0.276323
0.237288
0.154083
0.154083
0
0.009044
0.178344
2,826
84
76
33.642857
0.829457
0.31564
0
0.288462
0
0
0.13309
0
0
0
0
0
0
1
0
false
0.115385
0.038462
0
0.173077
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
07ffdb3c18cae37c2fe662c5c84ed5398af39b35
1,345
py
Python
keras/linear/model/pipeline_train.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
44
2017-11-17T06:19:05.000Z
2021-11-03T06:00:56.000Z
keras/linear/model/pipeline_train.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
3
2018-08-09T14:28:17.000Z
2018-09-10T03:32:42.000Z
keras/linear/model/pipeline_train.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
21
2017-11-18T15:12:12.000Z
2020-08-15T07:08:33.000Z
import os os.environ['KERAS_BACKEND'] = 'theano' os.environ['THEANO_FLAGS'] = 'floatX=float32,device=cpu' import cloudpickle as pickle import pipeline_invoke import pandas as pd import numpy as np import keras from keras.layers import Input, Dense from keras.models import Model from keras.models import save_model, loa...
30.568182
92
0.709294
196
1,345
4.69898
0.464286
0.034745
0.047774
0.068404
0.065147
0.065147
0.065147
0
0
0
0
0.018437
0.15316
1,345
43
93
31.27907
0.790167
0.094424
0
0
0
0
0.191261
0.078318
0
0
0
0
0
1
0
false
0
0.357143
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
580134063c60e1903557dccde046d7a394258b01
319
py
Python
dictionary.py
SchmitzAndrew/OSS-101-example
1efecd4c5bfef4495904568d11e3f8d0a5ed9bd0
[ "MIT" ]
null
null
null
dictionary.py
SchmitzAndrew/OSS-101-example
1efecd4c5bfef4495904568d11e3f8d0a5ed9bd0
[ "MIT" ]
null
null
null
dictionary.py
SchmitzAndrew/OSS-101-example
1efecd4c5bfef4495904568d11e3f8d0a5ed9bd0
[ "MIT" ]
null
null
null
word = input("Enter a word: ") if word == "a": print("one; any") elif word == "apple": print("familiar, round fleshy fruit") elif word == "rhinoceros": print("large thick-skinned animal with one or two horns on its nose") else: print("That word must not exist. This dictionary is very comprehensive.")
29
77
0.667712
47
319
4.531915
0.765957
0.075117
0
0
0
0
0
0
0
0
0
0
0.197492
319
10
78
31.9
0.832031
0
0
0
0
0
0.595611
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
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
58035ad02fa85d7c60de0ef4d5c14279175bc2ac
566
py
Python
setup.py
sdnhub/kube-navi
d16a9289ba7261011e6c8d19c48cdc9bd533e629
[ "Apache-2.0" ]
null
null
null
setup.py
sdnhub/kube-navi
d16a9289ba7261011e6c8d19c48cdc9bd533e629
[ "Apache-2.0" ]
null
null
null
setup.py
sdnhub/kube-navi
d16a9289ba7261011e6c8d19c48cdc9bd533e629
[ "Apache-2.0" ]
null
null
null
from distutils.core import setup setup( name = 'kube_navi', packages = ['kube_navi'], # this must be the same as the name above version = '0.1', description = 'Kubernetes resource discovery toolkit', author = 'Srini Seetharaman', author_email = 'srini.seetharaman@gmail.com', url = 'https://github.com/sdnh...
40.428571
106
0.69788
79
566
4.949367
0.670886
0.081841
0.071611
0.086957
0.158568
0.158568
0.158568
0
0
0
0
0.008403
0.159011
566
13
107
43.538462
0.813025
0.210247
0
0
0
0.076923
0.479638
0.061086
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
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
5805a2c8d616906daf19682b40baa91f10a88715
1,845
py
Python
app/routes/register.py
AuFeld/COAG
3874a9c1c6ceb908a6bbabfb49e2c701d8e54f20
[ "MIT" ]
1
2021-06-03T10:29:12.000Z
2021-06-03T10:29:12.000Z
app/routes/register.py
AuFeld/COAG
3874a9c1c6ceb908a6bbabfb49e2c701d8e54f20
[ "MIT" ]
45
2021-06-05T14:47:09.000Z
2022-03-30T06:16:44.000Z
app/routes/register.py
AuFeld/COAG
3874a9c1c6ceb908a6bbabfb49e2c701d8e54f20
[ "MIT" ]
null
null
null
from typing import Callable, Optional, Type, cast from fastapi import APIRouter, HTTPException, Request, status from app.models import users from app.common.user import ErrorCode, run_handler from app.users.user import ( CreateUserProtocol, InvalidPasswordException, UserAlreadyExists, ValidatePassword...
32.946429
83
0.648238
184
1,845
6.293478
0.380435
0.018135
0.041451
0.051813
0.098446
0.098446
0.098446
0.098446
0.098446
0.098446
0
0.006767
0.279133
1,845
55
84
33.545455
0.86391
0.042276
0
0.133333
0
0
0.010795
0
0
0
0
0
0
1
0.022222
false
0.155556
0.111111
0
0.177778
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
580792f2d4c1bf5c14b84d5f807f69b1126aead4
5,422
py
Python
src/advanceoperate/malimgthread.py
zengrx/S.M.A.R.T
47a9abe89008e9b34f9b9d057656dbf3fb286456
[ "MIT" ]
10
2017-07-11T01:08:28.000Z
2021-05-07T01:49:00.000Z
src/advanceoperate/malimgthread.py
YanqiangHuang/S.M.A.R.T
47a9abe89008e9b34f9b9d057656dbf3fb286456
[ "MIT" ]
null
null
null
src/advanceoperate/malimgthread.py
YanqiangHuang/S.M.A.R.T
47a9abe89008e9b34f9b9d057656dbf3fb286456
[ "MIT" ]
6
2017-05-02T14:27:15.000Z
2017-05-15T05:56:40.000Z
#coding=utf-8 from PyQt4 import QtCore import os, glob, numpy, sys from PIL import Image from sklearn.cross_validation import StratifiedKFold from sklearn.metrics import confusion_matrix from sklearn.neighbors import KNeighborsClassifier from sklearn.neighbors import BallTree from sklearn import cross_validation from ...
31.34104
87
0.568241
669
5,422
4.487294
0.284006
0.006662
0.006995
0.007995
0.177881
0.138574
0.122585
0.122585
0.122585
0.122585
0
0.017013
0.317042
5,422
172
88
31.523256
0.793681
0.080229
0
0.174603
0
0
0.053957
0.032163
0
0
0
0
0
0
null
null
0
0.119048
null
null
0.031746
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
6afe84146c4619406b9150aea7be577bdc37e585
2,929
py
Python
tests/delete_regress/models.py
PirosB3/django
9b729ddd8f2040722971ccfb3b12f7d8162633d1
[ "BSD-3-Clause" ]
2
2015-01-21T15:45:07.000Z
2015-02-21T02:38:13.000Z
tests/delete_regress/models.py
PirosB3/django
9b729ddd8f2040722971ccfb3b12f7d8162633d1
[ "BSD-3-Clause" ]
null
null
null
tests/delete_regress/models.py
PirosB3/django
9b729ddd8f2040722971ccfb3b12f7d8162633d1
[ "BSD-3-Clause" ]
1
2020-05-25T08:55:19.000Z
2020-05-25T08:55:19.000Z
from django.contrib.contenttypes.fields import ( GenericForeignKey, GenericRelation ) from django.contrib.contenttypes.models import ContentType from django.db import models class Award(models.Model): name = models.CharField(max_length=25) object_id = models.PositiveIntegerField() content_type = model...
20.626761
80
0.725162
354
2,929
5.920904
0.271186
0.125954
0.111641
0.148855
0.275763
0.203721
0.134065
0.078244
0
0
0
0.016769
0.165244
2,929
141
81
20.77305
0.840491
0.011267
0
0.139241
0
0
0.014874
0
0
0
0
0
0
1
0
false
0.012658
0.037975
0
0.911392
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
6afebab1780e5e05d2dbd1b300b2e8c2a43c36a7
17,003
py
Python
apps/UI_phone_mcdm.py
industrial-optimization-group/researchers-night
68f2fcb8530032e157badda772a795e1f3bb2c4b
[ "MIT" ]
null
null
null
apps/UI_phone_mcdm.py
industrial-optimization-group/researchers-night
68f2fcb8530032e157badda772a795e1f3bb2c4b
[ "MIT" ]
null
null
null
apps/UI_phone_mcdm.py
industrial-optimization-group/researchers-night
68f2fcb8530032e157badda772a795e1f3bb2c4b
[ "MIT" ]
null
null
null
import dash from dash.exceptions import PreventUpdate import dash_core_components as dcc import dash_html_components as html from dash.dependencies import Input, Output, State import dash_bootstrap_components as dbc import dash_table import plotly.express as ex import plotly.graph_objects as go import pandas as pd imp...
43.485934
95
0.283597
1,115
17,003
4.24574
0.253812
0.020913
0.007393
0.008872
0.263836
0.17744
0.133502
0.124842
0.115547
0.104563
0
0.040494
0.628183
17,003
390
96
43.597436
0.708162
0.012351
0
0.309456
0
0
0.098339
0.010186
0
0
0
0
0
1
0.011461
false
0
0.031519
0
0.054441
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed0142db547eada6fd1f50b0e7939a47e99944a3
1,746
py
Python
tests/test_hedges.py
aplested/DC_Pyps
da33fc7d0e7365044e368488d1c7cbbae7473cc7
[ "MIT" ]
1
2021-03-25T18:09:25.000Z
2021-03-25T18:09:25.000Z
tests/test_hedges.py
aplested/DC_Pyps
da33fc7d0e7365044e368488d1c7cbbae7473cc7
[ "MIT" ]
null
null
null
tests/test_hedges.py
aplested/DC_Pyps
da33fc7d0e7365044e368488d1c7cbbae7473cc7
[ "MIT" ]
null
null
null
from dcstats.hedges import Hedges_d from dcstats.statistics_EJ import simple_stats as mean_SD import random import math def generate_sample (length, mean, sigma): #generate a list of normal distributed samples sample = [] for n in range(length): sample.append(random.gauss(mean, sigma)) return ...
29.59322
102
0.689003
265
1,746
4.264151
0.328302
0.056637
0.039823
0.039823
0.183186
0.120354
0
0
0
0
0
0.041575
0.214777
1,746
58
103
30.103448
0.78264
0.100802
0
0
1
0
0.053915
0
0
0
0
0
0.078947
1
0.157895
false
0
0.105263
0
0.342105
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed03eb092480421cebe7ff1098718fc83eac9aac
3,324
py
Python
magic_mirror.py
alcinnz/Historical-Twin
54a9ab5dc130aaeb2e00058bbaeace7377e2ff3d
[ "MIT" ]
1
2018-08-16T10:06:21.000Z
2018-08-16T10:06:21.000Z
magic_mirror.py
alcinnz/Historical-Twin
54a9ab5dc130aaeb2e00058bbaeace7377e2ff3d
[ "MIT" ]
null
null
null
magic_mirror.py
alcinnz/Historical-Twin
54a9ab5dc130aaeb2e00058bbaeace7377e2ff3d
[ "MIT" ]
null
null
null
#! /usr/bin/python2 import time start = time.time() import pygame, numpy import pygame.camera # Init display screen = pygame.display.set_mode((0,0), pygame.FULLSCREEN) pygame.display.set_caption("Magic Mirror") #pygame.mouse.set_visible(False) # Init font pygame.font.init() font_colour = 16, 117, 186 fonts = {40: p...
28.655172
87
0.653129
449
3,324
4.761693
0.302895
0.042563
0.039757
0.029935
0.07811
0
0
0
0
0
0
0.028658
0.202166
3,324
115
88
28.904348
0.777526
0.034898
0
0.121951
0
0
0.045014
0
0
0
0
0
0
0
null
null
0
0.060976
null
null
0.012195
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
ed0fc8cf4f946e650eb4b14f0a5d7690952a62a3
980
py
Python
python/old_password_test.py
XelaRellum/old_password
b461941069bc7f1187776a992f86c89317ab215e
[ "MIT" ]
null
null
null
python/old_password_test.py
XelaRellum/old_password
b461941069bc7f1187776a992f86c89317ab215e
[ "MIT" ]
null
null
null
python/old_password_test.py
XelaRellum/old_password
b461941069bc7f1187776a992f86c89317ab215e
[ "MIT" ]
null
null
null
import unittest import pytest from old_password import old_password import csv import re @pytest.mark.parametrize("password,expected_hash", [ (None, None), ("", ""), ("a", "60671c896665c3fa"), ("abc", "7cd2b5942be28759"), ("ä", "0751368d49315f7f"), ]) def test_old_password(password, expected_hash...
22.272727
67
0.643878
112
980
5.419643
0.383929
0.163097
0.156507
0.088962
0.349259
0.247117
0.135091
0.135091
0
0
0
0.04712
0.220408
980
43
68
22.790698
0.747382
0.060204
0
0
0
0
0.15618
0.024719
0
0
0
0
0.16
1
0.16
false
0.48
0.2
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
0
0
0
0
0
1
0
0
0
0
0
1
ed17fa4c7a350d13f37c06feb06cdcd3b65f55bf
859
gyp
Python
binding.gyp
HupuInc/node-mysql-listener
d23e55910acd1559d8339f36b1549f21aee8adaa
[ "MIT" ]
2
2015-10-04T02:09:11.000Z
2021-02-03T00:12:28.000Z
binding.gyp
HupuInc/node-mysql-listener
d23e55910acd1559d8339f36b1549f21aee8adaa
[ "MIT" ]
1
2015-10-04T02:10:02.000Z
2015-10-05T07:29:40.000Z
binding.gyp
HupuInc/node-mysql-listener
d23e55910acd1559d8339f36b1549f21aee8adaa
[ "MIT" ]
null
null
null
{ 'targets': [ { # have to specify 'liblib' here since gyp will remove the first one :\ 'target_name': 'mysql_bindings', 'sources': [ 'src/mysql_bindings.cc', 'src/mysql_bindings_connection.cc', 'src/mysql_bindings_result.cc', 'src/mysql_bindings_statement.cc', ...
23.861111
76
0.436554
75
859
4.8
0.64
0.180556
0.177778
0.15
0
0
0
0
0
0
0
0
0.407451
859
35
77
24.542857
0.707269
0.178114
0
0.21875
0
0
0.424501
0.159544
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ed1acc095f46eeb713b4bbe4bbc113d4ca38760c
399
py
Python
setup.py
rlbellaire/ActT
b6e936e5037c5f92ad1c281e2bf3700bf91aea42
[ "BSD-3-Clause" ]
2
2020-01-24T20:20:02.000Z
2021-09-25T03:32:17.000Z
setup.py
rlbellaire/ActT
b6e936e5037c5f92ad1c281e2bf3700bf91aea42
[ "BSD-3-Clause" ]
1
2020-11-16T17:08:08.000Z
2020-11-16T17:08:08.000Z
setup.py
rlbellaire/ActT
b6e936e5037c5f92ad1c281e2bf3700bf91aea42
[ "BSD-3-Clause" ]
1
2020-11-16T16:58:39.000Z
2020-11-16T16:58:39.000Z
from setuptools import find_packages, setup setup(name='ActT', version='0.6', description='Active Testing', url='', author='', author_email='none', license='BSD', packages=find_packages(), install_requires=[ 'numpy', 'pandas', 'matplotlib','scipy','scikit-learn',...
24.9375
79
0.588972
40
399
5.75
0.875
0.104348
0
0
0
0
0
0
0
0
0
0.006645
0.245614
399
15
80
26.6
0.757475
0
0
0
0
0
0.243108
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
ed1b9e6a531c569f1a1cfb6234bd90d5b845bbe9
1,909
py
Python
src/quanguru/classes/exceptions.py
Qfabiolous/QuanGuru
285ca44ae857cc61337f73ea2eb600f485a09e32
[ "BSD-3-Clause" ]
null
null
null
src/quanguru/classes/exceptions.py
Qfabiolous/QuanGuru
285ca44ae857cc61337f73ea2eb600f485a09e32
[ "BSD-3-Clause" ]
null
null
null
src/quanguru/classes/exceptions.py
Qfabiolous/QuanGuru
285ca44ae857cc61337f73ea2eb600f485a09e32
[ "BSD-3-Clause" ]
null
null
null
# TODO turn prints into actual error raise, they are print for testing def qSystemInitErrors(init): def newFunction(obj, **kwargs): init(obj, **kwargs) if obj._genericQSys__dimension is None: className = obj.__class__.__name__ print(className + ' requires a dimension') ...
40.617021
92
0.600838
200
1,909
5.435
0.35
0.066237
0.093836
0.115915
0.417663
0.417663
0.417663
0.378105
0.378105
0.333027
0
0.013413
0.297014
1,909
46
93
41.5
0.796572
0.223677
0
0.363636
0
0
0.149081
0
0
0
0
0.021739
0
1
0.181818
false
0
0
0
0.272727
0.151515
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
ed1c74c77f9a61e232ea9a2a837cdc1274993efb
6,997
py
Python
reagent/gym/tests/test_gym.py
alexnikulkov/ReAgent
e404c5772ea4118105c2eb136ca96ad5ca8e01db
[ "BSD-3-Clause" ]
null
null
null
reagent/gym/tests/test_gym.py
alexnikulkov/ReAgent
e404c5772ea4118105c2eb136ca96ad5ca8e01db
[ "BSD-3-Clause" ]
null
null
null
reagent/gym/tests/test_gym.py
alexnikulkov/ReAgent
e404c5772ea4118105c2eb136ca96ad5ca8e01db
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. All rights reserved. import logging import os import pprint import unittest import numpy as np # pyre-fixme[21]: Could not find module `pytest`. import pytest import torch from parameterized import parameterized from reagent.core.types import R...
36.253886
88
0.711019
910
6,997
5.214286
0.286813
0.030137
0.018546
0.0196
0.175553
0.132771
0.084299
0.084299
0.084299
0.084299
0
0.003686
0.185651
6,997
192
89
36.442708
0.829063
0.093754
0
0.089041
0
0
0.226025
0.122685
0
0
0
0.010417
0.013699
1
0.020548
false
0.047945
0.157534
0
0.184932
0.013699
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
ed1f38ec9a444c4d387d2b1c3bbd4a46cc3895ba
2,132
py
Python
mcpython/common/block/ISlab.py
mcpython4-coding/core
e4c4f59dab68c90e2028db3add2e5065116bf4a6
[ "CC0-1.0", "MIT" ]
2
2019-11-02T05:26:11.000Z
2019-11-03T08:52:18.000Z
mcpython/common/block/ISlab.py
mcpython4-coding/core
e4c4f59dab68c90e2028db3add2e5065116bf4a6
[ "CC0-1.0", "MIT" ]
25
2019-11-02T05:24:29.000Z
2022-02-09T14:09:08.000Z
mcpython/common/block/ISlab.py
mcpython4-coding/core
e4c4f59dab68c90e2028db3add2e5065116bf4a6
[ "CC0-1.0", "MIT" ]
5
2019-11-09T05:36:06.000Z
2021-11-28T13:07:08.000Z
""" mcpython - a minecraft clone written in python licenced under the MIT-licence (https://github.com/mcpython4-coding/core) Contributors: uuk, xkcdjerry (inactive) Based on the game of fogleman (https://github.com/fogleman/Minecraft), licenced under the MIT-licence Original game "minecraft" by Mojang Studios (www.m...
32.30303
103
0.701689
272
2,132
5.371324
0.452206
0.032854
0.057495
0.117728
0.130048
0.094456
0.094456
0.094456
0.094456
0
0
0.009878
0.192777
2,132
65
104
32.8
0.839047
0.297373
0
0.108108
0
0
0.010847
0
0
0
0
0.015385
0
1
0.108108
false
0
0.108108
0.054054
0.405405
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
ed207a7611696af8395d372e4e8d01f42d7c6467
25,419
py
Python
CourseOutlineBackend/courseoutline/serializers.py
stancsz/web-development-project-ensf-607
03b11df4971afd4f27fee54a1800a40d4cc10240
[ "Apache-2.0" ]
null
null
null
CourseOutlineBackend/courseoutline/serializers.py
stancsz/web-development-project-ensf-607
03b11df4971afd4f27fee54a1800a40d4cc10240
[ "Apache-2.0" ]
null
null
null
CourseOutlineBackend/courseoutline/serializers.py
stancsz/web-development-project-ensf-607
03b11df4971afd4f27fee54a1800a40d4cc10240
[ "Apache-2.0" ]
null
null
null
from rest_framework import serializers from .models import * class CoordinatorSerializer(serializers.ModelSerializer): # ModelID = serializers.CharField(max_length=100, required=True) CourseID = serializers.CharField(max_length=100, required=True) FName = serializers.CharField(max_length=100, required=Fa...
42.649329
108
0.66824
2,481
25,419
6.726723
0.050383
0.163581
0.174486
0.142489
0.8206
0.645875
0.638444
0.554137
0.531128
0.523998
0
0.013246
0.224832
25,419
595
109
42.721008
0.833739
0.059837
0
0.517787
0
0
0.090867
0
0
0
0
0.001681
0
1
0.055336
false
0
0.003953
0.027668
0.322134
0
0
0
0
null
0
0
0
1
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
ed2203dc728c9eb06bb608004ab33922f3baa3bc
3,279
py
Python
cvp_rest_api_examples/cvpLabelAdd.py
kakkotetsu/CVP-Scripts
4075eaf9987be6220a7bed188dcee11f56a7bf35
[ "Apache-2.0" ]
8
2019-06-04T14:22:45.000Z
2020-10-02T16:56:43.000Z
cvp_rest_api_examples/cvpLabelAdd.py
kakkotetsu/CVP-Scripts
4075eaf9987be6220a7bed188dcee11f56a7bf35
[ "Apache-2.0" ]
1
2021-04-16T00:43:00.000Z
2021-04-16T00:43:00.000Z
cvp_rest_api_examples/cvpLabelAdd.py
kakkotetsu/CVP-Scripts
4075eaf9987be6220a7bed188dcee11f56a7bf35
[ "Apache-2.0" ]
4
2020-05-13T14:03:13.000Z
2021-08-10T14:47:23.000Z
#!/usrb/bin/env python # Copyright (c) 2019, Arista Networks, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # - Redistributions of source code must retain the above copyright notice, # t...
42.584416
84
0.720647
431
3,279
5.452436
0.459397
0.028936
0.021702
0.015319
0.135745
0.108936
0.081702
0.081702
0.081702
0.057872
0
0.006271
0.173224
3,279
76
85
43.144737
0.860568
0.498933
0
0.108108
0
0
0.192427
0.030416
0
0
0
0
0
0
null
null
0.027027
0.108108
null
null
0.162162
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
ed22f71576a11a3b9302f73902c8de9c8f96d4dd
1,244
py
Python
frontends/pytorch/python/torch_mlir_torchscript_e2e_test_configs/torchscript.py
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
frontends/pytorch/python/torch_mlir_torchscript_e2e_test_configs/torchscript.py
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
frontends/pytorch/python/torch_mlir_torchscript_e2e_test_configs/torchscript.py
raikonenfnu/mlir-npcomp
29e1b2fe89848d58c9bc07e7df7ce651850a5244
[ "Apache-2.0" ]
null
null
null
# Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. # See https://llvm.org/LICENSE.txt for license information. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception import copy from typing import Any import torch from torch_mlir_torchscript.e2e_test.framework import TestConfig, Tr...
34.555556
82
0.644695
150
1,244
5.273333
0.52
0.040455
0.075853
0
0
0
0
0
0
0
0
0.005482
0.266881
1,244
35
83
35.542857
0.861842
0.312701
0
0
0
0
0.001183
0
0
0
0
0.028571
0
1
0.142857
false
0
0.190476
0.047619
0.47619
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
ed23166702dcea8d3e5e73f8ed58f0971f2a45b0
2,495
py
Python
app/balltracking/pubnubpython/pnconfiguration.py
gdmgent-1718-wot/interactive-wall
af7ecff126b1ee9c85c270fe13d1338aa790c34b
[ "Apache-2.0" ]
null
null
null
app/balltracking/pubnubpython/pnconfiguration.py
gdmgent-1718-wot/interactive-wall
af7ecff126b1ee9c85c270fe13d1338aa790c34b
[ "Apache-2.0" ]
null
null
null
app/balltracking/pubnubpython/pnconfiguration.py
gdmgent-1718-wot/interactive-wall
af7ecff126b1ee9c85c270fe13d1338aa790c34b
[ "Apache-2.0" ]
null
null
null
from .enums import PNHeartbeatNotificationOptions, PNReconnectionPolicy from . import utils class PNConfiguration(object): DEFAULT_PRESENCE_TIMEOUT = 300 DEFAULT_HEARTBEAT_INTERVAL = 280 def __init__(self): # TODO: add validation self.uuid = None self.origin = "ps.pndsn.com" ...
29.352941
85
0.666132
278
2,495
5.723022
0.302158
0.055311
0.034569
0.032684
0.045255
0.045255
0
0
0
0
0
0.01036
0.26493
2,495
84
86
29.702381
0.857143
0.024048
0
0.063492
0
0
0.011929
0
0
0
0
0.011905
0.015873
1
0.190476
false
0
0.047619
0.079365
0.412698
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
ed24828337abdac65179c3d1fc89a55415ddc15a
1,871
py
Python
language/Basics/stringformatting.py
Binary-bug/Python
233425ded6abc26c889599a82a181487789e3bab
[ "MIT" ]
null
null
null
language/Basics/stringformatting.py
Binary-bug/Python
233425ded6abc26c889599a82a181487789e3bab
[ "MIT" ]
null
null
null
language/Basics/stringformatting.py
Binary-bug/Python
233425ded6abc26c889599a82a181487789e3bab
[ "MIT" ]
null
null
null
age = 24 print("My age is " + str(age) + " years ") # the above procedure is tedious since we dont really want to include str for every number we encounter #Method1 Replacement Fields print("My age is {0} years ".format(age)) # {0} is the actual replacement field, number important for multiple replacement fields ...
25.986111
140
0.649385
330
1,871
3.675758
0.372727
0.016488
0.024732
0.045342
0.236603
0.155812
0.155812
0.145919
0.093982
0.093982
0
0.0589
0.174238
1,871
72
141
25.986111
0.726214
0.513095
0
0.142857
0
0.142857
0.486887
0
0
0
0
0
0
1
0
false
0
0
0
0
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
ed25ac3871761ab8e7fb05fe5b59a6a001de70b4
154
py
Python
Euler0001.py
rbarillec/project_euler
db812f9ae53090b34716452d0cb9ec14bf218290
[ "MIT" ]
null
null
null
Euler0001.py
rbarillec/project_euler
db812f9ae53090b34716452d0cb9ec14bf218290
[ "MIT" ]
null
null
null
Euler0001.py
rbarillec/project_euler
db812f9ae53090b34716452d0cb9ec14bf218290
[ "MIT" ]
null
null
null
def Euler0001(): max = 1000 sum = 0 for i in range(1, max): if i%3 == 0 or i%5 == 0: sum += i print(sum) Euler0001()
15.4
32
0.448052
25
154
2.76
0.64
0
0
0
0
0
0
0
0
0
0
0.197802
0.409091
154
10
33
15.4
0.56044
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
ed26edcb5cf96b914509d3c9f532db02422a6189
701
py
Python
Algorithms_easy/0461. Hamming Distance.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
4
2020-08-11T20:45:15.000Z
2021-03-12T00:33:34.000Z
Algorithms_easy/0461. Hamming Distance.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
Algorithms_easy/0461. Hamming Distance.py
VinceW0/Leetcode_Python_solutions
09e9720afce21632372431606ebec4129eb79734
[ "Xnet", "X11" ]
null
null
null
""" 0461. Hamming Distance The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 231. Example: Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 (0 1 0 0) ↑ ...
20.028571
115
0.596291
109
701
3.862385
0.46789
0.106888
0.085511
0.109264
0.356295
0.204276
0.204276
0.204276
0.204276
0
0
0.051975
0.313837
701
35
116
20.028571
0.817048
0.570613
0
0.363636
0
0
0.003401
0
0
0
0
0
0
1
0.181818
false
0
0
0.090909
0.545455
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
ed34a763af3706d73ed657481a4202938e665e7b
327
py
Python
0100.same_tree/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
5
2020-05-23T02:18:26.000Z
2021-07-05T05:36:01.000Z
0100.same_tree/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2020-06-10T07:17:24.000Z
2020-07-20T02:21:24.000Z
0100.same_tree/solution.py
WZMJ/Algorithms
07f648541d38e24df38bda469665c12df6a50637
[ "MIT" ]
1
2019-04-23T13:01:50.000Z
2019-04-23T13:01:50.000Z
from utils import TreeNode class Solution: def is_same_tree(self, p: TreeNode, q: TreeNode) -> bool: if p is None and q is None: return True if not p or not q: return False return p.val == q.val and self.is_same_tree(p.left, q.left) and self.is_same_tree(p.right, q....
29.727273
107
0.620795
57
327
3.45614
0.438596
0.091371
0.152284
0.13198
0.182741
0.182741
0
0
0
0
0
0
0.293578
327
10
108
32.7
0.852814
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.75
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
ed3a9aaa2f6bd7c47892c2149c2e5804bf96b4fe
1,442
py
Python
tpv/modals/sugerencias.py
vallemrv/tpvB3
9988a528b32692b01bd042cc6486188c4dc2109b
[ "Apache-2.0" ]
3
2017-07-16T09:31:56.000Z
2019-03-20T11:11:24.000Z
tpv/modals/sugerencias.py
ljimaz33/tpvB3
9988a528b32692b01bd042cc6486188c4dc2109b
[ "Apache-2.0" ]
null
null
null
tpv/modals/sugerencias.py
ljimaz33/tpvB3
9988a528b32692b01bd042cc6486188c4dc2109b
[ "Apache-2.0" ]
1
2022-01-02T11:22:45.000Z
2022-01-02T11:22:45.000Z
# @Author: Manuel Rodriguez <valle> # @Date: 10-May-2017 # @Email: valle.mrv@gmail.com # @Last modified by: valle # @Last modified time: 23-Feb-2018 # @License: Apache license vesion 2.0 from kivy.uix.modalview import ModalView from kivy.uix.button import Button from kivy.properties import ObjectProperty, String...
29.428571
72
0.645631
181
1,442
5.055249
0.453039
0.04918
0.056831
0.101639
0.061202
0.061202
0
0
0
0
0
0.01267
0.233703
1,442
48
73
30.041667
0.815385
0.124133
0
0
0
0
0.015127
0
0
0
0
0
0
1
0.151515
false
0
0.121212
0
0.515152
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ed3b6f60e4e30cf75b95e63f68e2b18f1cb5a0e8
1,122
py
Python
templates/integration/__init__.py
p7g/dd-trace-py
141ac0ab6e9962e3b3bafc9de172076075289a19
[ "Apache-2.0", "BSD-3-Clause" ]
308
2016-12-07T16:49:27.000Z
2022-03-15T10:06:45.000Z
templates/integration/__init__.py
p7g/dd-trace-py
141ac0ab6e9962e3b3bafc9de172076075289a19
[ "Apache-2.0", "BSD-3-Clause" ]
1,928
2016-11-28T17:13:18.000Z
2022-03-31T21:43:19.000Z
templates/integration/__init__.py
p7g/dd-trace-py
141ac0ab6e9962e3b3bafc9de172076075289a19
[ "Apache-2.0", "BSD-3-Clause" ]
311
2016-11-27T03:01:49.000Z
2022-03-18T21:34:03.000Z
""" The foo integration instruments the bar and baz features of the foo library. Enabling ~~~~~~~~ The foo integration is enabled automatically when using :ref:`ddtrace-run <ddtracerun>` or :ref:`patch_all() <patch_all>`. Or use :ref:`patch() <patch>` to manually enable the integration:: from ddtrace import pa...
20.777778
70
0.678253
144
1,122
5.1875
0.506944
0.032129
0.068273
0.077644
0
0
0
0
0
0
0
0
0.186275
1,122
53
71
21.169811
0.818182
0.741533
0
0
0
0
0.053191
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
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
ed3c39ee9d299277d428f6d6c8408e0b9a778f0c
17,635
py
Python
demos/ServerSideBrowser.py
eukreign/python-v8
f20d7bef766a2ae3573cc536e7d03e07afe9b173
[ "Apache-2.0" ]
2
2018-02-12T22:34:09.000Z
2019-01-03T05:18:00.000Z
demos/ServerSideBrowser.py
eukreign/python-v8
f20d7bef766a2ae3573cc536e7d03e07afe9b173
[ "Apache-2.0" ]
null
null
null
demos/ServerSideBrowser.py
eukreign/python-v8
f20d7bef766a2ae3573cc536e7d03e07afe9b173
[ "Apache-2.0" ]
3
2019-02-13T08:00:06.000Z
2020-05-17T22:40:20.000Z
#!/usr/bin/env python from __future__ import with_statement import sys, traceback, os, os.path import xml.dom.minidom import logging class Task(object): @staticmethod def waitAll(tasks): pass class FetchFile(Task): def __init__(self, url): self.url = url def _...
34.176357
155
0.489424
1,706
17,635
4.967761
0.178195
0.00944
0.011681
0.017345
0.216283
0.127788
0.084366
0.046726
0.037522
0.025723
0
0.003549
0.392855
17,635
516
156
34.176357
0.787989
0.001134
0
0.205584
0
0
0.078363
0
0
0
0
0
0.002538
0
null
null
0.010152
0.015228
null
null
0.035533
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
ed3c6cc6ba561bf90153ae8e03fe8da305f91245
4,169
py
Python
pypeira/io/fits.py
WielderOfMjoelnir/pypeira
4ef554c577875e09f55673f8e6ea53ba129fb37f
[ "MIT" ]
null
null
null
pypeira/io/fits.py
WielderOfMjoelnir/pypeira
4ef554c577875e09f55673f8e6ea53ba129fb37f
[ "MIT" ]
null
null
null
pypeira/io/fits.py
WielderOfMjoelnir/pypeira
4ef554c577875e09f55673f8e6ea53ba129fb37f
[ "MIT" ]
null
null
null
from __future__ import division import fitsio """ A FITS file is comprised of segments called Header/Data Units (HDUs), where the first HDU is called the 'Primary HDU', or 'Primary Array'. The primary data array can contain a 1-999 dimensional array of 1, 2 or 4 byte integers or 4 or 8 byte floating point numbers usi...
38.962617
104
0.710962
635
4,169
4.631496
0.338583
0.015301
0.038082
0.034002
0.208433
0.15845
0.127168
0.085005
0.085005
0.063244
0
0.005607
0.230031
4,169
106
105
39.330189
0.910592
0.371792
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.157895
false
0
0.105263
0
0.526316
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
ed4086f481b4822d573ede5f8a9108ee4da236b6
290
py
Python
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
coding202-parsing-json/get-ap-json-1.py
firodj/ciscodevnet-coding-skills-sample-code
4fca975e450cf0c913001fe1b36582f7a094b1e7
[ "Apache-2.0" ]
null
null
null
import requests url = 'https://64.103.26.61/api/contextaware/v1/maps/info/DevNetCampus/DevNetBuilding/DevNetZone' headers = {'Authorization': 'Basic bGVhcm5pbmc6bGVhcm5pbmc=='} response = requests.get(url, headers=headers, verify=False) responseString = response.text print(responseString)
41.428571
97
0.8
33
290
7.030303
0.818182
0
0
0
0
0
0
0
0
0
0
0.04797
0.065517
290
6
98
48.333333
0.808118
0
0
0
0
0.166667
0.458621
0.086207
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
ed4193bd5735a5283b0caa027d333560a4c2793c
1,078
py
Python
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
605
2019-10-18T01:15:54.000Z
2022-03-31T14:31:04.000Z
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
3,180
2019-10-18T01:21:21.000Z
2022-03-31T23:25:41.000Z
lldb/test/API/lang/swift/optimized_code/bound_generic_enum/TestSwiftOptimizedBoundGenericEnum.py
LaudateCorpus1/llvm-project
ff2e0f0c1112558b3f30d8afec7c9882c33c79e3
[ "Apache-2.0" ]
275
2019-10-18T05:27:22.000Z
2022-03-30T09:04:21.000Z
import lldb from lldbsuite.test.decorators import * import lldbsuite.test.lldbtest as lldbtest import lldbsuite.test.lldbutil as lldbutil import os import unittest2 class TestSwiftOptimizedBoundGenericEnum(lldbtest.TestBase): mydir = lldbtest.TestBase.compute_mydir(__file__) @swiftTest def test(self): ...
35.933333
79
0.705009
125
1,078
5.928
0.528
0.037787
0.051282
0.062078
0.17274
0.17274
0
0
0
0
0
0.002299
0.19295
1,078
29
80
37.172414
0.849425
0.09462
0
0.095238
0
0
0.054639
0
0
0
0
0.034483
0.047619
1
0.047619
false
0
0.285714
0
0.428571
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
ed42d7a8a9a02745abd1180b0c82d5235e6a3711
903
py
Python
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
2
2019-04-28T02:26:23.000Z
2021-12-06T16:04:36.000Z
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
7
2019-03-12T14:07:40.000Z
2019-05-02T04:46:30.000Z
bc_gym_planning_env/envs/base/action.py
ghostFaceKillah/bc-gym-planning-env
3cc0eb03adb752d304c3f007675cfff86691d007
[ "MIT" ]
7
2019-01-08T08:09:09.000Z
2022-02-07T09:57:02.000Z
""" Code for wrapping the motion primitive action in an object. """ from __future__ import division from __future__ import absolute_import import attr import numpy as np from bc_gym_planning_env.utilities.serialize import Serializable @attr.s(cmp=False) class Action(Serializable): """ Object representing an 'ac...
28.21875
100
0.713178
119
903
5.084034
0.537815
0.049587
0.052893
0.072727
0.168595
0.168595
0.168595
0.168595
0.168595
0
0
0.001395
0.20598
903
31
101
29.129032
0.842399
0.158361
0
0.1
0
0
0
0
0
0
0
0
0
1
0.15
false
0
0.25
0.1
0.8
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
ed4408c93538d9f83abe75060897c6705abd216b
2,219
py
Python
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
2
2017-06-21T15:29:09.000Z
2022-01-26T21:12:25.000Z
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
null
null
null
social_webpy/app.py
python-social-auth/social-app-webpy
edcfd8dd95c66a3524961e5212e13c9c2e8515a3
[ "BSD-3-Clause" ]
1
2018-10-21T07:33:36.000Z
2018-10-21T07:33:36.000Z
import web from social_core.actions import do_auth, do_complete, do_disconnect from .utils import psa, load_strategy, load_strategy urls = ( r'/login/(?P<backend>[^/]+)/?', 'auth', r'/complete/(?P<backend>[^/]+)/?', 'complete', r'/disconnect/(?P<backend>[^/]+)/?', 'disconnect', r'/disconnect/(?P<bac...
28.818182
78
0.598918
259
2,219
4.942085
0.216216
0.094531
0.066406
0.042188
0.222656
0.1375
0.0875
0.0875
0.0875
0.0875
0
0
0.250113
2,219
76
79
29.197368
0.769231
0
0
0.142857
0
0
0.121226
0.085174
0
0
0
0
0
1
0.178571
false
0
0.053571
0.125
0.446429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ed4409f82d978378f6be973493d164c3f3a747dd
2,133
py
Python
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
stellar/config.py
gomyar/stellar
b2dfbe136f1540f0ca6ac5779ebaeae996a3b747
[ "MIT" ]
null
null
null
import os import logging import yaml from schema import Use, Schema, SchemaError, Optional class InvalidConfig(Exception): pass class MissingConfig(Exception): pass default_config = { 'logging': 30, 'migrate_from_0_3_2': True } schema = Schema({ 'stellar_url': Use(str), 'url': Use(str), ...
23.43956
70
0.554149
234
2,133
4.854701
0.307692
0.15493
0.044014
0.074824
0.310739
0.286092
0.286092
0.253521
0.253521
0.253521
0
0.005678
0.339428
2,133
90
71
23.7
0.800568
0
0
0.402778
0
0
0.078293
0
0
0
0
0
0
1
0.041667
false
0.055556
0.055556
0
0.166667
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
ed44cdd790149a7a7aba7ae668b2598d57504c5a
9,404
py
Python
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
movement_validation/features/feature_processing_options.py
eulerkaku/movement_validation
af939a42a97c1de889cf13bad0c22a2824d60947
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ This module will hold a class that will be referenced when processing features. I'd like to move things from "config" into here ... - @JimHokanson """ from __future__ import division from .. import utils #Can't do this, would be circular #from .worm_features import WormFeatures class...
34.072464
116
0.606231
1,125
9,404
4.873778
0.322667
0.010213
0.01605
0.018603
0.139522
0.089732
0.0766
0.053256
0.053256
0.030275
0
0.012403
0.314122
9,404
276
117
34.072464
0.837674
0.43205
0
0.16092
0
0
0.067644
0.015456
0
0
0
0.01087
0
1
0.16092
false
0
0.022989
0.034483
0.321839
0.034483
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
ed49ab3c5d4f24945d71fc6987cac08699af6050
692
py
Python
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
problems/139.Word_Break/AC_dp_n2.py
subramp-prep/leetcode
d125201d9021ab9b1eea5e5393c2db4edd84e740
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # Author: illuz <iilluzen[at]gmail.com> # File: AC_dp_n2.py # Create Date: 2015-04-21 10:21:18 # Usage: AC_dp_n2.py # Descripton: class Solution: # @param s, a string # @param dict, a set of string # @return a boolean def wordBreak(self, s...
23.862069
58
0.460983
101
692
3.118812
0.554455
0.019048
0.038095
0.050794
0
0
0
0
0
0
0
0.045131
0.391619
692
28
59
24.714286
0.703088
0.362717
0
0
0
0
0.004651
0
0
0
0
0
0
0
null
null
0
0
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ed4a99de0c0a371040dd37f7fc6fad45e488b616
132
py
Python
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
12,023
2019-03-13T08:53:27.000Z
2022-03-31T21:31:15.000Z
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
100
2019-03-14T04:09:12.000Z
2022-03-22T14:24:11.000Z
6.爬取豆瓣排行榜电影数据(含GUI界面版)/main.py
shengqiangzhang/examples-of-web-crawlers
89eb6c169b8824a6a9bc78e7a32e064d33560aa7
[ "MIT" ]
3,693
2019-03-13T08:21:22.000Z
2022-03-31T16:07:08.000Z
# -*- coding:utf-8 -*- from uiObject import uiObject # main入口 if __name__ == '__main__': ui = uiObject() ui.ui_process()
13.2
29
0.621212
16
132
4.5625
0.75
0
0
0
0
0
0
0
0
0
0
0.009709
0.219697
132
10
30
13.2
0.699029
0.204545
0
0
0
0
0.07767
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
ed4ce61eb4af04f3704ae96a5870d43583535a63
524
py
Python
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
photos/models.py
eude313/vault
d3e24cf01d15de94244b7d2e80316355a0827f74
[ "MIT" ]
null
null
null
from django.db import models from cloudinary.models import CloudinaryField # Create your models here. class Category(models.Model): name = models.CharField( max_length=200, null=False, blank=False ) def __str__(self): return self.name class Photo(models.Model): category = models.ForeignKey(...
29.111111
94
0.71374
64
524
5.671875
0.546875
0.077135
0.055096
0.088154
0.110193
0
0
0
0
0
0
0.007026
0.185115
524
18
95
29.111111
0.843091
0.045802
0
0.166667
0
0
0.01002
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.166667
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
ed4da4c3e62ea1a20080eade8fbb9743d55cdd88
3,558
py
Python
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
254
2017-09-20T15:02:20.000Z
2022-03-28T11:33:28.000Z
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
39
2017-09-23T14:28:36.000Z
2022-01-06T08:41:57.000Z
doc/examples.py
Enerccio/mahjong
903505a7886c31845dfa6b3f54c936a4feb29e6e
[ "MIT" ]
38
2017-10-19T09:06:53.000Z
2022-03-15T05:08:22.000Z
from mahjong.hand_calculating.hand import HandCalculator from mahjong.meld import Meld from mahjong.hand_calculating.hand_config import HandConfig, OptionalRules from mahjong.shanten import Shanten from mahjong.tile import TilesConverter calculator = HandCalculator() # useful helper def print_hand_result(hand_result...
35.227723
133
0.537943
355
3,558
5.132394
0.261972
0.1427
0.15697
0.164654
0.493963
0.403952
0.384193
0.322173
0.322173
0.236004
0
0.039509
0.153457
3,558
100
134
35.58
0.565405
0.13575
0
0.282609
0
0
0.032992
0
0
0
0
0
0
1
0.021739
false
0
0.108696
0
0.130435
0.26087
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
ed4edc151ca26cac5de8e4d708a84551964ac057
14,366
py
Python
sdk/python/pulumi_oci/database/get_external_non_container_database.py
EladGabay/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
5
2021-08-17T11:14:46.000Z
2021-12-31T02:07:03.000Z
sdk/python/pulumi_oci/database/get_external_non_container_database.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
1
2021-09-06T11:21:29.000Z
2021-09-06T11:21:29.000Z
sdk/python/pulumi_oci/database/get_external_non_container_database.py
pulumi-oci/pulumi-oci
6841e27d4a1a7e15c672306b769912efbfd3ba99
[ "ECL-2.0", "Apache-2.0" ]
2
2021-08-24T23:31:30.000Z
2022-01-02T19:26:54.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
45.034483
457
0.69748
1,662
14,366
5.711191
0.127557
0.028972
0.052676
0.073746
0.397282
0.263064
0.170881
0.136115
0.0748
0.0748
0
0.000088
0.212864
14,366
318
458
45.176101
0.839317
0.188013
0
0.105263
1
0
0.191274
0.071045
0
0
0
0
0
1
0.110048
false
0
0.028708
0.004785
0.253589
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
ed55484ea14f91f98d1615b910fc743371e53922
13,543
py
Python
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
87
2015-04-09T16:57:27.000Z
2022-02-21T13:21:12.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
47
2015-04-09T21:05:30.000Z
2021-06-22T15:21:18.000Z
deep-rl/lib/python2.7/site-packages/OpenGL/arrays/arraydatatype.py
ShujaKhalid/deep-rl
99c6ba6c3095d1bfdab81bd01395ced96bddd611
[ "MIT" ]
16
2015-04-09T19:10:22.000Z
2020-07-19T05:41:06.000Z
"""Array data-type implementations (abstraction points for GL array types""" import ctypes import OpenGL from OpenGL.raw.GL import _types from OpenGL import plugins from OpenGL.arrays import formathandler, _arrayconstants as GL_1_1 from OpenGL import logs _log = logs.getLog( 'OpenGL.arrays.arraydatatype' ) from OpenG...
44.844371
100
0.616333
1,442
13,543
5.597087
0.180999
0.009664
0.012886
0.018585
0.164911
0.112502
0.072606
0.029488
0.008425
0
0
0.00826
0.302739
13,543
301
101
44.993355
0.846447
0.159197
0
0.166667
0
0
0.017495
0.002486
0
0
0
0.003322
0
1
0.081081
false
0
0.045045
0
0.509009
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
ed5b25db8eee2bdd6eb22e7c4a9c331775d6cf05
1,651
py
Python
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
services/server/server/apps/checkout/migrations/0001_initial.py
AyanSamanta23/moni-moni
8e8aa4edf4cd2e2b005f6dbe8c885ecc791e6a2b
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-02-26 15:52 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='FundingOptions', fields=[ ('id', models.Big...
40.268293
142
0.59358
161
1,651
5.875776
0.391304
0.127907
0.084567
0.100423
0.432347
0.432347
0.432347
0.432347
0.432347
0.432347
0
0.026823
0.277408
1,651
40
143
41.275
0.766136
0.027256
0
0.363636
1
0
0.208229
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.151515
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
ed5bb200d9597641b3d366c18b6bda01b9a7883d
6,119
py
Python
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
null
null
null
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
null
null
null
src/TF-gui/tftrain.py
jeetsagar/turbojet
9b17edde0a7e01d0fa320261fbc2734ce53577d2
[ "MIT" ]
2
2021-05-20T05:47:59.000Z
2021-08-24T07:44:37.000Z
#!python3 import os import pandas as pd import tensorflow as tf from tensorflow.keras import layers os.environ["CUDA_VISIBLE_DEVICES"] = "0" # gpu_devices = tf.config.experimental.list_physical_devices("GPU") # for device in gpu_devices: # tf.config.experimental.set_memory_growth(device, True) def trainModel...
42.493056
120
0.57346
664
6,119
5.161145
0.201807
0.063029
0.099796
0.094543
0.674934
0.657426
0.642836
0.642836
0.642836
0.638751
0
0.032579
0.292695
6,119
143
121
42.79021
0.759242
0.041183
0
0.669492
0
0
0.061263
0.007679
0
0
0
0
0
1
0.033898
false
0
0.033898
0.008475
0.084746
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
ed5bcaf7cb360ac7f0af74528df0eb589224f1a5
5,434
py
Python
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
34
2016-03-09T17:10:52.000Z
2019-12-25T08:31:49.000Z
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
6
2016-05-16T14:09:05.000Z
2018-07-23T21:09:33.000Z
library/kong_api.py
sebastienc/ansible-kong-module
c1e7b471a517d1ec99c5629f3729ebc34088bd64
[ "MIT" ]
23
2016-02-17T12:18:16.000Z
2021-05-06T09:39:35.000Z
#!/usr/bin/python DOCUMENTATION = ''' --- module: kong short_description: Configure a Kong API Gateway ''' EXAMPLES = ''' - name: Register a site kong: kong_admin_uri: http://127.0.0.1:8001/apis/ name: "Mockbin" taget_url: "http://mockbin.com" request_host: "mockbin.com" state: present - ...
30.188889
133
0.597902
662
5,434
4.685801
0.193353
0.034816
0.054803
0.047389
0.303997
0.199871
0.179884
0.088975
0.066409
0.066409
0
0.008947
0.280088
5,434
179
134
30.357542
0.783998
0.006625
0
0.145985
0
0
0.159036
0
0
0
0
0
0
1
0.094891
false
0.072993
0.021898
0.007299
0.211679
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
ed5e905c814c4d72273c16c39c47e06ae62fc1f0
897
gyp
Python
tools/android/android_tools.gyp
SlimKatLegacy/android_external_chromium_org
ee480ef5039d7c561fc66ccf52169ead186f1bea
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
2
2015-03-04T02:36:53.000Z
2016-06-25T11:22:17.000Z
tools/android/android_tools.gyp
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
tools/android/android_tools.gyp
j4ckfrost/android_external_chromium_org
a1a3dad8b08d1fcf6b6b36c267158ed63217c780
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
4
2015-02-09T08:49:30.000Z
2017-08-26T02:03:34.000Z
# Copyright (c) 2012 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. { 'targets': [ # Intermediate target grouping the android tools needed to run native # unittests and instrumentation test apks. { 'ta...
25.628571
73
0.596433
94
897
5.585106
0.595745
0.057143
0.114286
0
0
0
0
0
0
0
0
0.013761
0.270903
897
34
74
26.382353
0.788991
0.298774
0
0.357143
0
0
0.536116
0.325843
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ed6739ff5f8ea8f36a47b3ca0134c0c015b0b7c7
3,499
py
Python
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
fuzzybee/joboard/views.py
youtaya/knight
6899e18ca6b1ef01daaae7d7fd14b50a26aa0aee
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.shortcuts import get_object_or_404, render_to_response, render from django.http import HttpResponseRedirect, HttpResponse from django.core.urlresolvers import reverse from django.shortcuts import redirect from joboard.models import Factory from joboard.forms import FactoryForm from d...
33.009434
105
0.658474
427
3,499
5.234192
0.318501
0.03132
0.026846
0.022371
0.134228
0.134228
0.106488
0.106488
0.106488
0.106488
0
0.006264
0.22435
3,499
105
106
33.32381
0.817244
0.044584
0
0.168539
0
0
0.124138
0.015892
0
0
0
0
0
0
null
null
0
0.168539
null
null
0.078652
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
ed693e39d7414ae26d14dc6568bc549d2c30f321
1,452
py
Python
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
2
2020-04-13T04:47:26.000Z
2022-02-19T06:10:04.000Z
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
null
null
null
DD/Terrain.py
CodingBullywug/DDreshape
393e5ea336eb6cb78f31345731ccf52baf19bfac
[ "MIT" ]
1
2020-04-13T04:47:30.000Z
2020-04-13T04:47:30.000Z
from DD.utils import PoolByteArray2NumpyArray, NumpyArray2PoolByteArray from DD.Entity import Entity import numpy as np class Terrain(Entity): def __init__(self, json, width, height, scale=4, terrain_types=4): super(Terrain, self).__init__(json) self._scale = scale self.terrain_types = terr...
37.230769
144
0.644628
188
1,452
4.808511
0.244681
0.169248
0.057522
0.059735
0.185841
0.161504
0.068584
0
0
0
0
0.021409
0.227961
1,452
38
145
38.210526
0.785013
0
0
0
0
0
0.011019
0
0
0
0
0
0
1
0.310345
false
0
0.103448
0
0.482759
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
ed6ad5b625da50e0023d94d78806dbcd8acd64a1
28,127
py
Python
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
datasets/medicalImage.py
UpCoder/YNe
2f932456eda29b1e04f4c7e212e2ab0dacfe831b
[ "MIT" ]
null
null
null
# -*- coding=utf-8 -*- import SimpleITK as itk import pydicom import numpy as np from PIL import Image, ImageDraw import gc from skimage.morphology import disk, dilation import nipy import os from glob import glob import scipy import cv2 from xml.dom.minidom import Document typenames = ['CYST', 'FNH', 'HCC', 'HEM', 'M...
33.484524
138
0.657731
4,003
28,127
4.37322
0.113415
0.02879
0.036559
0.036559
0.55004
0.507483
0.485948
0.465955
0.453045
0.428996
0
0.023685
0.211932
28,127
840
139
33.484524
0.766083
0.093611
0
0.424658
0
0.001712
0.035461
0.0034
0
0
0
0
0.001712
0
null
null
0
0.032534
null
null
0.030822
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
ed6aff1082796c2046965ddce3d39f2087944e89
925
py
Python
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
1
2020-11-11T02:19:50.000Z
2020-11-11T02:19:50.000Z
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
null
null
null
setup.py
marcus-luck/zohoreader
e832f076a8a87bf27607980fb85a1d2bc8339743
[ "MIT" ]
null
null
null
from setuptools import setup def readme(): with open('README.rst') as f: return f.read() setup(name='zohoreader', version='0.1', description='A simple reader for zoho projects API to get all projects, users and timereports', long_description=readme(), classifiers=[ 'Devel...
28.030303
101
0.596757
106
925
5.132075
0.754717
0.055147
0
0
0
0
0
0
0
0
0
0.019034
0.261622
925
32
102
28.90625
0.777452
0
0
0.071429
0
0
0.418378
0.048649
0
0
0
0
0
1
0.035714
true
0
0.035714
0
0.107143
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
ed6c19de3061a6952b4f83f10500239e87852cc5
2,883
py
Python
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
autumn/projects/covid_19/sri_lanka/sri_lanka/project.py
emmamcbryde/AuTuMN-1
b1e7de15ac6ef6bed95a80efab17f0780ec9ff6f
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import numpy as np from autumn.calibration.proposal_tuning import perform_all_params_proposal_tuning from autumn.core.project import Project, ParameterSet, load_timeseries, build_rel_path, get_all_available_scenario_paths, \ use_tuned_proposal_sds from autumn.calibration import Calibration from autumn.calibration.p...
43.029851
123
0.794658
401
2,883
5.399002
0.351621
0.036952
0.038799
0.030485
0.213395
0.06097
0.04388
0.04388
0
0
0
0.027413
0.10163
2,883
67
124
43.029851
0.808494
0.181755
0
0.043478
0
0
0.151193
0.105622
0
0
0
0.014925
0
1
0
false
0
0.217391
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ed6c49af1afdf5e937dac3ecb68b0de9cb7816d4
11,421
py
Python
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
selfdrive/sensord/rawgps/structs.py
TC921/openpilot
d5d91e6e3be02e2525ed8d6137e5fdca2b81657c
[ "MIT" ]
null
null
null
from struct import unpack_from, calcsize LOG_GNSS_POSITION_REPORT = 0x1476 LOG_GNSS_GPS_MEASUREMENT_REPORT = 0x1477 LOG_GNSS_CLOCK_REPORT = 0x1478 LOG_GNSS_GLONASS_MEASUREMENT_REPORT = 0x1480 LOG_GNSS_BDS_MEASUREMENT_REPORT = 0x1756 LOG_GNSS_GAL_MEASUREMENT_REPORT = 0x1886 LOG_GNSS_OEMDRE_MEASUREMENT_REPORT = 0x14DE ...
50.76
403
0.698976
1,487
11,421
5.174849
0.246133
0.040026
0.02872
0.02924
0.488369
0.446524
0.424691
0.382326
0.369591
0.312411
0
0.047333
0.228614
11,421
224
404
50.986607
0.826107
0.001313
0
0.349057
0
0.051887
0.832968
0.108637
0
0
0.015958
0
0.004717
1
0.014151
false
0
0.004717
0
0.033019
0.004717
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed6e652c3847138189ca7b951889b9b3a32aa8ce
1,702
py
Python
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
jassen/django/project/project/urls.py
cabilangan112/intern-drf-blog
b2d6c7a4af1316b2c7ce38547bd9df99b4f3e8b9
[ "MIT" ]
null
null
null
"""project URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.0/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-based...
37.822222
101
0.756757
239
1,702
5.313808
0.343096
0.047244
0.070866
0.018898
0.092126
0.092126
0.059055
0
0
0
0
0.005348
0.121034
1,702
45
102
37.822222
0.843583
0.36604
0
0
0
0
0.10904
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
ed6f5b3794c25687738dfe6c60b7b8d1ed6647b2
14,621
py
Python
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
join_peaks.py
nijibabulu/chip_tools
04def22059a6018b3b49247d69d7b04eee1dcd89
[ "MIT" ]
null
null
null
#! /usr/bin/env python import os import sys import math import csv import collections import docopt import peakzilla_qnorm_mapq_patched as pz __doc__ = ''' Usage: join_peaks.py [options] PEAKS CHIP INPUT [ (PEAKS CHIP INPUT) ... ] This script finds peaks in common between multiple ChIP experiments determined by pe...
39.730978
122
0.603584
1,894
14,621
4.508976
0.160507
0.030328
0.011241
0.014052
0.312412
0.291686
0.238993
0.228337
0.177635
0.122248
0
0.00789
0.271869
14,621
367
123
39.839237
0.794289
0.165173
0
0.087866
0
0
0.125933
0.014407
0
0
0
0
0
0
null
null
0
0.029289
null
null
0.012552
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
ed6ff0df42bec5dfbd4d71634bb7ab44a9c003d2
9,473
py
Python
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
django_town/rest_swagger/views.py
uptown/django-town
4c3b078a8ce5dcc275d65faa4a1cdfb7ebc74a50
[ "MIT" ]
null
null
null
from django_town.rest import RestApiView, rest_api_manager from django_town.http import http_json_response from django_town.cache.utlis import SimpleCache from django_town.oauth2.swagger import swagger_authorizations_data from django_town.social.oauth2.permissions import OAuth2Authenticated, OAuth2AuthenticatedOrReadOn...
43.059091
108
0.331468
525
9,473
5.819048
0.28
0.032079
0.064812
0.042553
0.304092
0.207856
0.184288
0.184288
0.153191
0.120458
0
0.01407
0.579859
9,473
219
109
43.255708
0.753518
0
0
0.320755
0
0
0.146522
0.013512
0
0
0
0
0
1
0.009434
false
0.009434
0.028302
0
0.051887
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ed75ef3dbcd90991f3b2e3a5c73442983622bbb5
452
py
Python
thinkutils_plus/eventbus/sample/myeventbus.py
ThinkmanWang/thinkutils_plus
65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35
[ "MIT" ]
null
null
null
thinkutils_plus/eventbus/sample/myeventbus.py
ThinkmanWang/thinkutils_plus
65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35
[ "MIT" ]
null
null
null
thinkutils_plus/eventbus/sample/myeventbus.py
ThinkmanWang/thinkutils_plus
65d56a1a0cfce22dff08a4f0baea6b4eb08a2e35
[ "MIT" ]
null
null
null
__author__ = 'Xsank' import time from thinkutils_plus.eventbus.eventbus import EventBus from myevent import GreetEvent from myevent import ByeEvent from mylistener import MyListener if __name__=="__main__": eventbus=EventBus() eventbus.register(MyListener()) ge=GreetEvent('world') be=ByeEvent('world'...
23.789474
54
0.743363
53
452
6.075472
0.490566
0.149068
0.10559
0
0
0
0
0
0
0
0
0.005236
0.154867
452
19
55
23.789474
0.837696
0
0
0
0
0
0.050773
0
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
ed7b8022569fdf95c3598fcd38e2d1c4182f053f
1,437
py
Python
processing_tools/number_of_tenants.py
apanda/modeling
e032abd413bb3325ad6e5995abadeef74314f383
[ "BSD-3-Clause" ]
3
2017-08-30T05:24:11.000Z
2021-02-25T12:17:19.000Z
processing_tools/number_of_tenants.py
apanda/modeling
e032abd413bb3325ad6e5995abadeef74314f383
[ "BSD-3-Clause" ]
null
null
null
processing_tools/number_of_tenants.py
apanda/modeling
e032abd413bb3325ad6e5995abadeef74314f383
[ "BSD-3-Clause" ]
2
2017-11-15T07:00:48.000Z
2020-12-13T17:29:03.000Z
import sys from collections import defaultdict def Process (fnames): tenant_time = defaultdict(lambda: defaultdict(lambda: 0.0)) tenant_run = defaultdict(lambda: defaultdict(lambda:0)) for fname in fnames: f = open(fname) for l in f: if l.startswith("tenant"): co...
35.04878
68
0.526792
180
1,437
4.038889
0.3
0.074278
0.041265
0.093535
0.096286
0
0
0
0
0
0
0.019608
0.325679
1,437
40
69
35.925
0.73065
0.039666
0
0.060606
0
0
0.026106
0
0
0
0
0
0
0
null
null
0
0.060606
null
null
0.121212
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
ed7d1c9bb5710045f4cb95dccf219d3b5c6faaa9
2,564
py
Python
pyfisher/mpi.py
borisbolliet/pyfisher
715e192baa4fadbff754416d2b001c3708c9276c
[ "BSD-3-Clause" ]
7
2017-12-06T18:16:13.000Z
2021-02-09T19:25:26.000Z
pyfisher/mpi.py
borisbolliet/pyfisher
715e192baa4fadbff754416d2b001c3708c9276c
[ "BSD-3-Clause" ]
34
2016-01-25T19:48:07.000Z
2021-02-03T22:34:09.000Z
pyfisher/mpi.py
borisbolliet/pyfisher
715e192baa4fadbff754416d2b001c3708c9276c
[ "BSD-3-Clause" ]
10
2017-02-01T15:14:22.000Z
2021-02-16T01:34:16.000Z
from __future__ import print_function import numpy as np import os,sys,time """ Copied from orphics.mpi """ try: disable_mpi_env = os.environ['DISABLE_MPI'] disable_mpi = True if disable_mpi_env.lower().strip() == "true" else False except: disable_mpi = False """ Use the below cleanup stuff only for inte...
29.813953
242
0.697738
391
2,564
4.409207
0.432225
0.032483
0.020882
0.020882
0
0
0
0
0
0
0
0.0059
0.206708
2,564
85
243
30.164706
0.841691
0.207878
0
0.166667
0
0.020833
0.135747
0
0
0
0
0
0.083333
1
0.145833
false
0.083333
0.083333
0.041667
0.354167
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
0
0
0
1
0
0
0
0
0
1
71ec7e1ab519fe39c3c2b69f2a497fd39095d1ca
15,524
py
Python
tests/pytests/test_tags.py
wayn111/RediSearch
897b2de35988b84851dd8380c614a21ad8da7c0f
[ "BSD-3-Clause", "Ruby", "Apache-2.0", "MIT" ]
null
null
null
tests/pytests/test_tags.py
wayn111/RediSearch
897b2de35988b84851dd8380c614a21ad8da7c0f
[ "BSD-3-Clause", "Ruby", "Apache-2.0", "MIT" ]
null
null
null
tests/pytests/test_tags.py
wayn111/RediSearch
897b2de35988b84851dd8380c614a21ad8da7c0f
[ "BSD-3-Clause", "Ruby", "Apache-2.0", "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from includes import * from common import * def search(env, r, *args): return r.execute_command('ft.search', *args) def testTagIndex(env): r = env env.expect('ft.create', 'idx', 'ON', 'HASH','schema', 'title', 'text', 'tags', 'tag').ok() N = 10 for n in range(N): ...
42.184783
142
0.523448
2,093
15,524
3.832776
0.090301
0.078534
0.090501
0.046622
0.753677
0.708053
0.648716
0.603216
0.571429
0.51446
0
0.022653
0.229387
15,524
367
143
42.299728
0.647914
0.03646
0
0.43662
0
0
0.284643
0.009506
0
0
0
0
0.116197
1
0.049296
false
0
0.007042
0.003521
0.059859
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
71eed31624e7569b476bc79838cb16831bf90648
1,105
py
Python
customer/admin.py
matheusdemicheli/dogtel
4eed44c8214fe814c26a6df0125af9b065c81c1c
[ "MIT" ]
null
null
null
customer/admin.py
matheusdemicheli/dogtel
4eed44c8214fe814c26a6df0125af9b065c81c1c
[ "MIT" ]
null
null
null
customer/admin.py
matheusdemicheli/dogtel
4eed44c8214fe814c26a6df0125af9b065c81c1c
[ "MIT" ]
null
null
null
from django.contrib import admin from django.utils.safestring import mark_safe from customer.models import Owner, Dog, Breed, SubBreed class OwnerAdmin(admin.ModelAdmin): """ Owner ModelAdmin. """ search_fields = ['name'] class BreedAdmin(admin.ModelAdmin): """ Breed ModelAdmin. """ s...
24.021739
71
0.650679
123
1,105
5.699187
0.349594
0.085592
0.125535
0.148359
0.088445
0
0
0
0
0
0
0.00226
0.199095
1,105
46
72
24.021739
0.789831
0.086878
0
0.095238
0
0
0.138229
0
0
0
0
0
0
1
0.047619
false
0
0.142857
0
0.809524
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
71f1b81a3d9a5c16cb1f510f6c706a2a817d94b4
2,737
py
Python
plugins/number.py
motakine/ILAS_slackbot
ddfb34db1cddcb459fef34cfc04c498d6f85d135
[ "MIT" ]
null
null
null
plugins/number.py
motakine/ILAS_slackbot
ddfb34db1cddcb459fef34cfc04c498d6f85d135
[ "MIT" ]
null
null
null
plugins/number.py
motakine/ILAS_slackbot
ddfb34db1cddcb459fef34cfc04c498d6f85d135
[ "MIT" ]
null
null
null
import slackbot.bot import random answer = random.randint(1, 50) max = 50 def number(num): '''number 判定 Args: num (int): 判定する数字 Returns: str: num が answer より大きい: 'Too large' num が answer より小さい: 'Too small' num が answer と一致: 'Correct!'、新しくゲームを始める その他: 'C...
25.110092
93
0.588235
353
2,737
4.529745
0.320113
0.037523
0.059412
0.062539
0.353971
0.283927
0.152595
0.101313
0.101313
0.056285
0
0.01552
0.293752
2,737
108
94
25.342593
0.811174
0.049324
0
0.28
0
0
0.272624
0.027715
0
0
0
0
0
0
null
null
0
0.04
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
71f5039371a3b37776d4da5587717221d15a60a1
5,276
py
Python
VAE/reduced_model/nesm_generator.py
youngmg1995/NES-Music-Maker
aeda10a541cfd439cfa46c45e63411e0d98e41c1
[ "MIT" ]
3
2020-06-26T22:02:35.000Z
2021-11-20T19:24:33.000Z
VAE/reduced_model/nesm_generator.py
youngmg1995/NES-Music-Maker
aeda10a541cfd439cfa46c45e63411e0d98e41c1
[ "MIT" ]
null
null
null
VAE/reduced_model/nesm_generator.py
youngmg1995/NES-Music-Maker
aeda10a541cfd439cfa46c45e63411e0d98e41c1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Apr 1 17:14:19 2020 @author: Mitchell nesm_generator.py ~~~~~~~~~~~~~~~~~ This file serves as a script for using our pre-trained VAE model to generate brand new NES music soundtracks. NOTE - using the reduced model we only generate the first melodic voice for each track rat...
32.567901
79
0.638931
666
5,276
4.899399
0.336336
0.023904
0.016549
0.006129
0.027582
0.017162
0
0
0
0
0
0.010179
0.14348
5,276
162
80
32.567901
0.711883
0.485027
0
0.029851
1
0
0.173454
0.036199
0
0
0
0
0
1
0
false
0
0.119403
0
0.119403
0.134328
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
71f98ce850b9a0d28247d4a6575715ee5f7a82c8
2,955
py
Python
src/rpocore/migrations/0007_auto_20160927_1517.py
2martens/rpo-website
14990920722c537810aecd2b97f5af6bbdd1b5ec
[ "MIT" ]
null
null
null
src/rpocore/migrations/0007_auto_20160927_1517.py
2martens/rpo-website
14990920722c537810aecd2b97f5af6bbdd1b5ec
[ "MIT" ]
null
null
null
src/rpocore/migrations/0007_auto_20160927_1517.py
2martens/rpo-website
14990920722c537810aecd2b97f5af6bbdd1b5ec
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2016-09-27 13:17 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import mezzanine.core.fields class Migration(migrations.Migration): dependencies = [ ('rpocore', '0006_auto_20160921_19...
43.455882
186
0.626396
288
2,955
6.25
0.347222
0.085556
0.097222
0.112778
0.383333
0.343889
0.308889
0.308889
0.248889
0.232778
0
0.017056
0.246024
2,955
67
187
44.104478
0.790844
0.022335
0
0.316667
1
0
0.214137
0.039501
0
0
0
0
0
1
0
false
0
0.066667
0
0.116667
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
9c0252cbabe1a0b566b1ac4670f0fdedec520c7a
370
py
Python
Part1/AverageAccuracy.py
efkandurakli/Graduation-Project1
fd2cba89929da2cef49ec67214b54c310b57ce01
[ "MIT" ]
1
2019-12-18T08:16:55.000Z
2019-12-18T08:16:55.000Z
Part1/AverageAccuracy.py
efkandurakli/Graduation-Project1
fd2cba89929da2cef49ec67214b54c310b57ce01
[ "MIT" ]
null
null
null
Part1/AverageAccuracy.py
efkandurakli/Graduation-Project1
fd2cba89929da2cef49ec67214b54c310b57ce01
[ "MIT" ]
null
null
null
import numpy as np from operator import truediv def AA_andEachClassAccuracy(confusion_matrix): counter = confusion_matrix.shape[0] list_diag = np.diag(confusion_matrix) list_raw_sum = np.sum(confusion_matrix, axis=1) each_acc = np.nan_to_num(truediv(list_diag, list_raw_sum)) average_acc = n...
37
63
0.751351
56
370
4.642857
0.517857
0.230769
0.076923
0
0
0
0
0
0
0
0
0.006515
0.17027
370
10
64
37
0.840391
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.444444
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9c0adaf30cf08d06f29b5570721ed08bc9df2c6a
937
py
Python
bc4py/bip32/utils.py
namuyan/bc4py
6484d356096261d0d57e9e1f5ffeae1f9a9865f3
[ "MIT" ]
12
2018-09-19T14:02:09.000Z
2020-01-27T16:20:14.000Z
bc4py/bip32/utils.py
namuyan/bc4py
6484d356096261d0d57e9e1f5ffeae1f9a9865f3
[ "MIT" ]
1
2019-09-09T23:58:47.000Z
2019-09-16T09:33:20.000Z
bc4py/bip32/utils.py
namuyan/bc4py
6484d356096261d0d57e9e1f5ffeae1f9a9865f3
[ "MIT" ]
6
2018-11-13T17:20:14.000Z
2020-02-15T11:46:52.000Z
from bc4py_extension import PyAddress import hashlib def is_address(ck: PyAddress, hrp, ver): """check bech32 format and version""" try: if ck.hrp != hrp: return False if ck.version != ver: return False except ValueError: return False return True def g...
24.025641
79
0.662753
114
937
5.280702
0.368421
0.049834
0.094684
0.119601
0.179402
0.099668
0
0
0
0
0
0.016416
0.219851
937
38
80
24.657895
0.807114
0.090715
0
0.12
0
0
0.075359
0
0
0
0
0
0.04
1
0.16
false
0
0.08
0
0.52
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
9c0b22579bc28f35e8719b18a2963cb1c1518847
2,687
py
Python
cubi_tk/snappy/kickoff.py
LaborBerlin/cubi-tk
4aa5306c547c38eb41d5623ff6e4bace828f85b1
[ "MIT" ]
null
null
null
cubi_tk/snappy/kickoff.py
LaborBerlin/cubi-tk
4aa5306c547c38eb41d5623ff6e4bace828f85b1
[ "MIT" ]
null
null
null
cubi_tk/snappy/kickoff.py
LaborBerlin/cubi-tk
4aa5306c547c38eb41d5623ff6e4bace828f85b1
[ "MIT" ]
null
null
null
"""``cubi-tk snappy kickoff``: kickoff SNAPPY pipeline.""" import argparse import os import subprocess import typing from logzero import logger from toposort import toposort from . import common from cubi_tk.exceptions import ParseOutputException def run( args, _parser: argparse.ArgumentParser, _subparser: ar...
34.448718
97
0.633048
338
2,687
4.961538
0.39645
0.035778
0.040549
0.015504
0
0
0
0
0
0
0
0.002427
0.233346
2,687
77
98
34.896104
0.81165
0.063268
0
0.05
0
0
0.205108
0
0
0
0
0.012987
0
1
0.033333
false
0
0.133333
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
1
0
0
0
0
0
0
0
0
0
0
1
9c100a9a9e5db785c7efc1726ba5b0b98ff396a7
2,469
py
Python
src/printReport.py
griimx/Summer-2016
08bf0a68a0e12ee81318409f68448adaf75983fe
[ "MIT" ]
null
null
null
src/printReport.py
griimx/Summer-2016
08bf0a68a0e12ee81318409f68448adaf75983fe
[ "MIT" ]
null
null
null
src/printReport.py
griimx/Summer-2016
08bf0a68a0e12ee81318409f68448adaf75983fe
[ "MIT" ]
null
null
null
from __future__ import print_function from connection import * from jinja2 import Environment, FileSystemLoader import webbrowser def print_report(id): env = Environment(loader=FileSystemLoader('.')) template = env.get_template("src/template.html") cursor = db.cursor(MySQLdb.cursors.DictCursor) sql = "SELECT e.*...
37.409091
86
0.654111
298
2,469
5.255034
0.271812
0.189655
0.141124
0.184547
0.275862
0.10728
0.10728
0.065134
0.065134
0
0
0.001456
0.165249
2,469
65
87
37.984615
0.75837
0.430539
0
0
0
0
0.289322
0
0
0
0
0
0
1
0.026316
false
0
0.105263
0
0.131579
0.131579
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
9c13630030f6d62b875010ab48a5f1a305094328
1,266
py
Python
nadmin/plugins/sortable.py
A425/django-xadmin-1.8
9ab06192311b22ec654778935ce3e3c5ffd39a00
[ "MIT" ]
1
2015-10-10T08:04:26.000Z
2015-10-10T08:04:26.000Z
nadmin/plugins/sortable.py
A425/django-xadmin-1.8
9ab06192311b22ec654778935ce3e3c5ffd39a00
[ "MIT" ]
1
2016-03-25T01:41:36.000Z
2016-03-25T01:41:36.000Z
nadmin/plugins/sortable.py
A425/django-xadmin-1.8
9ab06192311b22ec654778935ce3e3c5ffd39a00
[ "MIT" ]
null
null
null
#coding:utf-8 from nadmin.sites import site from nadmin.views import BaseAdminPlugin, ListAdminView SORTBY_VAR = '_sort_by' class SortablePlugin(BaseAdminPlugin): sortable_fields = ['sort'] # Media def get_media(self, media): if self.sortable_fields and self.request.GET.get(SORTBY_VAR): ...
34.216216
107
0.611374
139
1,266
5.330935
0.453237
0.094467
0.037787
0.053981
0.080972
0.080972
0.080972
0
0
0
0
0.001093
0.277251
1,266
36
108
35.166667
0.808743
0.436809
0
0
0
0
0.053009
0.035817
0
0
0
0
0
1
0.153846
false
0.076923
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9c1453b1473bf17ef5373079c50724a0067a38a2
3,311
py
Python
rotkehlchen/tests/integration/test_blockchain.py
coblee/rotki
d675f5c2d0df5176337b7b10038524ee74923482
[ "BSD-3-Clause" ]
null
null
null
rotkehlchen/tests/integration/test_blockchain.py
coblee/rotki
d675f5c2d0df5176337b7b10038524ee74923482
[ "BSD-3-Clause" ]
3
2021-01-28T21:30:46.000Z
2022-03-25T19:17:00.000Z
rotkehlchen/tests/integration/test_blockchain.py
coblee/rotki
d675f5c2d0df5176337b7b10038524ee74923482
[ "BSD-3-Clause" ]
null
null
null
import operator import os from unittest.mock import patch import pytest import requests from rotkehlchen.chain.ethereum.manager import NodeName from rotkehlchen.constants.assets import A_BTC from rotkehlchen.tests.utils.blockchain import mock_etherscan_query from rotkehlchen.typing import SupportedBlockchain @pytes...
36.788889
119
0.735125
406
3,311
5.82266
0.406404
0.045685
0.030457
0.038917
0.259729
0.201354
0.201354
0.18401
0.150592
0.083756
0
0.039048
0.187859
3,311
89
120
37.202247
0.840089
0.18363
0
0.213115
0
0
0.174094
0.112538
0
0
0.047583
0.022472
0.114754
1
0.04918
false
0
0.147541
0
0.196721
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
9c17411640986aa0b93f332bd22849aaf0fdf53b
3,080
py
Python
tools/mkcodelet.py
bobmittmann/yard-ice
3b27f94279d806d3a222de60adccf934994ed168
[ "MIT" ]
2
2019-04-08T19:00:23.000Z
2019-11-30T23:42:58.000Z
tools/mkcodelet.py
bobmittmann/yard-ice
3b27f94279d806d3a222de60adccf934994ed168
[ "MIT" ]
null
null
null
tools/mkcodelet.py
bobmittmann/yard-ice
3b27f94279d806d3a222de60adccf934994ed168
[ "MIT" ]
2
2016-02-12T14:12:41.000Z
2019-09-18T14:50:29.000Z
#!/usr/bin/python from struct import * from getopt import * import sys import os import re def usage(): global progname print >> sys.stderr, "" print >> sys.stderr, " Usage:", progname, "[options] fname" print >> sys.stderr, "" print >> sys.stderr, "Options" print >> sys.stderr, " -h, --help show...
21.538462
80
0.566558
488
3,080
3.461066
0.247951
0.056838
0.099467
0.044997
0.390172
0.326821
0.243931
0.137359
0.071048
0.071048
0
0.021992
0.247078
3,080
142
81
21.690141
0.706339
0.005195
0
0.324561
0
0.017544
0.192742
0.026361
0
0
0
0
0.008772
0
null
null
0.008772
0.04386
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
9c2147f6458e9854c24fb91bf25b8791fe2188ff
528
py
Python
src/supplier/templates/supplier/urls.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
src/supplier/templates/supplier/urls.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
src/supplier/templates/supplier/urls.py
vandana0608/Pharmacy-Managament
f99bdec11c24027a432858daa19247a21cecc092
[ "bzip2-1.0.6" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path('', views.SupplierList.as_view(), name='supplier_list'), path('view/<int:pk>', views.SupplierView.as_view(), name='supplier_view'), path('new', views.SupplierCreate.as_view(), name='supplier_new'), path('view/<int:pk>', views.Suppli...
44
84
0.69697
70
528
5.085714
0.314286
0.101124
0.168539
0.303371
0.314607
0.314607
0.314607
0.314607
0.314607
0.314607
0
0
0.104167
528
12
85
44
0.752643
0
0
0.2
0
0
0.257089
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
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
9c22036370e0f940a80ab34156b825acd98d5b1a
205
py
Python
web_scraper/extract/common.py
rarc41/web_scraper_pro
f297c785617c6b1617ced8f29ad11afec31f2968
[ "MIT" ]
null
null
null
web_scraper/extract/common.py
rarc41/web_scraper_pro
f297c785617c6b1617ced8f29ad11afec31f2968
[ "MIT" ]
null
null
null
web_scraper/extract/common.py
rarc41/web_scraper_pro
f297c785617c6b1617ced8f29ad11afec31f2968
[ "MIT" ]
null
null
null
import yaml __config=None def config(): global __config if not __config: with open('config.yaml', mode='r') as f: __config=yaml.safe_load(f) return __config
15.769231
48
0.585366
26
205
4.192308
0.653846
0.183486
0
0
0
0
0
0
0
0
0
0
0.321951
205
13
49
15.769231
0.784173
0
0
0
0
0
0.058252
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
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
9c231907fc5c90a542b71605f474b278cba43d2d
777
py
Python
sequence/get_seqs_from_list.py
fanglu01/cDNA_Cupcake
60f56dc291661a2b84e40b64d469fba658889c34
[ "BSD-3-Clause-Clear" ]
1
2018-09-21T06:20:50.000Z
2018-09-21T06:20:50.000Z
sequence/get_seqs_from_list.py
fanglu01/cDNA_Cupcake
60f56dc291661a2b84e40b64d469fba658889c34
[ "BSD-3-Clause-Clear" ]
null
null
null
sequence/get_seqs_from_list.py
fanglu01/cDNA_Cupcake
60f56dc291661a2b84e40b64d469fba658889c34
[ "BSD-3-Clause-Clear" ]
null
null
null
#!/usr/bin/env python import os, sys from Bio import SeqIO def get_seqs_from_list(fastafile, listfile): seqs = [line.strip() for line in open(listfile)] for r in SeqIO.parse(open(fastafile), 'fasta'): if r.id in seqs or r.id.split('|')[0] in seqs or any(r.id.startswith(x) for x in seqs): pr...
37
96
0.693694
119
777
4.352941
0.445378
0.023166
0.042471
0.057915
0
0
0
0
0
0
0
0.001597
0.194337
777
20
97
38.85
0.825879
0.02574
0
0
0
0
0.214286
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.133333
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
9c245a520078fb55db53d97b8e520bef999698c6
9,538
py
Python
api/base/settings/defaults.py
mattclark/osf.io
7a362ceb6af3393d3d0423aafef336ee13277303
[ "Apache-2.0" ]
null
null
null
api/base/settings/defaults.py
mattclark/osf.io
7a362ceb6af3393d3d0423aafef336ee13277303
[ "Apache-2.0" ]
null
null
null
api/base/settings/defaults.py
mattclark/osf.io
7a362ceb6af3393d3d0423aafef336ee13277303
[ "Apache-2.0" ]
null
null
null
""" Django settings for api project. Generated by 'django-admin startproject' using Django 1.8. For more information on this file, see https://docs.djangoproject.com/en/1.8/topics/settings/ For the full list of settings and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/ """ import os from url...
28.990881
123
0.698784
1,121
9,538
5.742194
0.369313
0.027187
0.016778
0.011651
0.09492
0.070219
0.050023
0.027963
0
0
0
0.015463
0.172783
9,538
328
124
29.079268
0.80038
0.202139
0
0.043668
1
0
0.450053
0.279863
0
0
0
0.003049
0
1
0
false
0.021834
0.017467
0
0.017467
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
9c26cf2339aa7a4ef06216de7bd0bf3332068b1a
948
py
Python
api/src/error_report/models.py
Noahffiliation/corpus-christi
c69ec88784de7d2e5acde3012926f307b43e38b3
[ "MIT" ]
35
2018-11-29T20:06:52.000Z
2021-04-12T19:01:42.000Z
api/src/error_report/models.py
Noahffiliation/corpus-christi
c69ec88784de7d2e5acde3012926f307b43e38b3
[ "MIT" ]
529
2018-12-31T23:51:25.000Z
2022-02-26T10:42:29.000Z
api/src/error_report/models.py
Noahffiliation/corpus-christi
c69ec88784de7d2e5acde3012926f307b43e38b3
[ "MIT" ]
10
2018-12-04T16:17:00.000Z
2021-04-07T00:47:52.000Z
from marshmallow import Schema, fields from marshmallow.validate import Range, Length from sqlalchemy import Column, Integer, Boolean, DateTime from ..db import Base from ..shared.models import StringTypes # ---- Error-report class ErrorReport(Base): __tablename__ = 'error_report' id = Column(Integer, prim...
29.625
77
0.728903
114
948
5.912281
0.447368
0.057864
0.038576
0
0
0
0
0
0
0
0
0.002516
0.161392
948
31
78
30.580645
0.845283
0.017932
0
0
0
0
0.043057
0.03014
0
0
0
0
0
1
0.045455
false
0
0.227273
0.045455
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1