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
80e115033a86c707eb93a0ae3031b719ba2a3293
3,755
py
Python
day-16/part_2.py
leotappe/aoc-2021
6132e01bd9b4c6ee6a8d95e213f08463102596c2
[ "MIT" ]
null
null
null
day-16/part_2.py
leotappe/aoc-2021
6132e01bd9b4c6ee6a8d95e213f08463102596c2
[ "MIT" ]
null
null
null
day-16/part_2.py
leotappe/aoc-2021
6132e01bd9b4c6ee6a8d95e213f08463102596c2
[ "MIT" ]
null
null
null
""" Advent of Code 2021 | Day 16 | Part 2 """ import sys import math class Packet: def __init__(self, version, type_id): self.version = version self.type_id = type_id class Literal(Packet): def __init__(self, version, type_id, value): super().__init__(version, type_id) self.va...
30.282258
104
0.622636
536
3,755
4.100746
0.151119
0.076433
0.11465
0.038217
0.640127
0.576433
0.477707
0.400364
0.324386
0.324386
0
0.022556
0.256192
3,755
123
105
30.528455
0.764411
0.009854
0
0.162791
0
0.011628
0.043396
0.026415
0
0
0
0
0
1
0.197674
false
0
0.023256
0.116279
0.488372
0.011628
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
80e8e4f12d8b86345865f28ec633cf5984a0885b
2,142
py
Python
pyspark/test/bigdl/test_engine_env.py
twicoder/BigDL
f065db372e1c682fa4a7903e287bba21d5f46750
[ "Apache-2.0" ]
55
2018-01-12T01:43:29.000Z
2021-03-09T02:35:56.000Z
pyspark/test/bigdl/test_engine_env.py
jason-hzw/BigDL
ef4f4137965147e2bc59e41f40c4acbb50eeda97
[ "Apache-2.0" ]
4
2018-01-15T07:34:41.000Z
2018-01-16T05:46:12.000Z
pyspark/test/bigdl/test_engine_env.py
jason-hzw/BigDL
ef4f4137965147e2bc59e41f40c4acbb50eeda97
[ "Apache-2.0" ]
22
2018-01-15T14:18:15.000Z
2019-12-16T18:51:33.000Z
# # Copyright 2016 The BigDL Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
36.305085
85
0.694211
311
2,142
4.581994
0.427653
0.044211
0.033684
0.022456
0.122807
0.106667
0.106667
0.106667
0.054737
0
0
0.012217
0.235761
2,142
58
86
36.931034
0.858277
0.542951
0
0.090909
0
0
0.063666
0
0
0
0
0
0.136364
1
0.136364
false
0.090909
0.181818
0
0.363636
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
80ee0d6b8414bcb69cd0dca69b5279de3f08e3fc
3,846
py
Python
ex1/owais/imu_exercise.py
balintmaci/drone_intro_exercises
1d8b839fecd6b0c5e33210b9a88fd741a71034cc
[ "Unlicense" ]
null
null
null
ex1/owais/imu_exercise.py
balintmaci/drone_intro_exercises
1d8b839fecd6b0c5e33210b9a88fd741a71034cc
[ "Unlicense" ]
null
null
null
ex1/owais/imu_exercise.py
balintmaci/drone_intro_exercises
1d8b839fecd6b0c5e33210b9a88fd741a71034cc
[ "Unlicense" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # IMU exercise # Copyright (c) 2015-2020 Kjeld Jensen kjen@mmmi.sdu.dk kj@kjen.dk ##### Insert initialize code below ################### ## Uncomment the file to read ## fileName = 'imu_razor_data_static.txt' #fileName = 'imu_razor_data_pitch_55deg.txt' #fileName = 'imu_razo...
23.888199
76
0.619345
597
3,846
3.864322
0.309883
0.013871
0.015171
0.034677
0.2228
0.126138
0.110533
0.096662
0.070655
0.070655
0
0.051306
0.173947
3,846
160
77
24.0375
0.67485
0.483099
0
0.038462
0
0
0.058608
0.028083
0
0
0
0.00625
0
1
0.038462
false
0.057692
0.057692
0
0.134615
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
80ef3cf60e112d79c054dc1061b480da77a25354
1,148
py
Python
theroot/users_bundle/models/address.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
theroot/users_bundle/models/address.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
theroot/users_bundle/models/address.py
Deviad/Adhesive
a7eb5140c4e5de783aca24ea935b3bf00a44f3e1
[ "MIT" ]
null
null
null
from theroot.db import * from theroot.users_bundle.models.user_info import address_user_table class Address(db.Model): __tablename__ = 'addresses' id = db.Column(db.Integer, primary_key=True, autoincrement=True) address_line = db.Column(db.String(255), unique=False, nullable=False) zip = db.Column(db...
44.153846
108
0.675958
157
1,148
4.726115
0.33121
0.053908
0.067385
0.086253
0.225067
0.225067
0.225067
0.225067
0.173854
0
0
0.012834
0.18554
1,148
26
109
44.153846
0.780749
0
0
0
0
0.05
0.100087
0
0
0
0
0
0
1
0.15
false
0
0.1
0.1
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
80f1fcacc7763df5460142961dd40a1c5c44d6a2
160
py
Python
settings.py
ErikRichardS/mnist-ann
3fb34a25ec41177d34445d2ccda6cf42b7d4175e
[ "MIT" ]
null
null
null
settings.py
ErikRichardS/mnist-ann
3fb34a25ec41177d34445d2ccda6cf42b7d4175e
[ "MIT" ]
null
null
null
settings.py
ErikRichardS/mnist-ann
3fb34a25ec41177d34445d2ccda6cf42b7d4175e
[ "MIT" ]
null
null
null
NR_CLASSES = 10 hyperparameters = { "number-epochs" : 30, "batch-size" : 100, "learning-rate" : 0.005, "weight-decay" : 1e-9, "learning-decay" : 1e-3 }
14.545455
25
0.61875
22
160
4.454545
0.863636
0.142857
0
0
0
0
0
0
0
0
0
0.115385
0.1875
160
11
26
14.545455
0.638462
0
0
0
0
0
0.385093
0
0
0
0
0
0
1
0
false
0
0
0
0
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
80f51317fba911ed237d54c4c7c39490d353795f
903
py
Python
03 Prime Number .py
yoursamlan/FunWithNumbers
15e139a7c7d56f0553ef63446ab08f68c8262631
[ "MIT" ]
null
null
null
03 Prime Number .py
yoursamlan/FunWithNumbers
15e139a7c7d56f0553ef63446ab08f68c8262631
[ "MIT" ]
null
null
null
03 Prime Number .py
yoursamlan/FunWithNumbers
15e139a7c7d56f0553ef63446ab08f68c8262631
[ "MIT" ]
null
null
null
# A prime number is a positive integer greater than one, that has no positive integer factors except one and itself. # Since we have already dealt with number of factors of a number, I'm thinking to implement this idea finding prime number. # The prime number has the factor of 1 and itself. # So, number of factors of a...
28.21875
123
0.635659
153
903
3.738562
0.45098
0.076923
0.041958
0.048951
0.104895
0
0
0
0
0
0
0.012232
0.275748
903
31
124
29.129032
0.862385
0
0
0
0
0
0.036717
0
0
0
0
0
0
0
null
null
0
0
null
null
0.047619
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
80f9553aa2281baf010bcd189b89d3921013e8ac
1,903
py
Python
upload2db/upload2db.py
rhoerbe/eu23enerwatch
2749f0d3314580fa9df3251a2151817ec8c38d9c
[ "MIT" ]
null
null
null
upload2db/upload2db.py
rhoerbe/eu23enerwatch
2749f0d3314580fa9df3251a2151817ec8c38d9c
[ "MIT" ]
null
null
null
upload2db/upload2db.py
rhoerbe/eu23enerwatch
2749f0d3314580fa9df3251a2151817ec8c38d9c
[ "MIT" ]
null
null
null
""" Upload samples into database """ import os import sys import psycopg2 from pathlib import Path import constants def main(): password = os.environ['PG_PASSWD'] conn = psycopg2.connect(host="dc.idn.local", dbname="eu23enerwatch", user="eu23enerwatch", password=password) logdir = Path(sys.argv[1]) ...
26.068493
113
0.601682
221
1,903
5.022624
0.434389
0.113514
0.086486
0.088288
0
0
0
0
0
0
0
0.020626
0.261167
1,903
73
114
26.068493
0.768848
0.014714
0
0
0
0
0.359743
0.132227
0
0
0
0
0
1
0.067797
false
0.050847
0.084746
0
0.169492
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
0388b46edfbba0396db6a8d52b25d94afdf26576
2,045
py
Python
block.py
IgorReshetnyak/Statistics
f2f876a679389a7ecc4f24f23ca3f8aabd6a2604
[ "MIT" ]
null
null
null
block.py
IgorReshetnyak/Statistics
f2f876a679389a7ecc4f24f23ca3f8aabd6a2604
[ "MIT" ]
null
null
null
block.py
IgorReshetnyak/Statistics
f2f876a679389a7ecc4f24f23ca3f8aabd6a2604
[ "MIT" ]
null
null
null
"""Blocking analysis Print running average Blocking analysis scheme Running error takes as input filename to analyze Igor Reshetnyak 2017 """ import math,sys,pickle,os.path,pylab,time if len(sys.argv)<2 : print 'No file to analyze' exit() datafile=sys.argv[1] file_name=datafile+'' if os.path.isfile(file_name)=...
18.590909
84
0.711002
352
2,045
4.113636
0.284091
0.006906
0.029006
0.031077
0.167818
0.142265
0.142265
0.073204
0.046961
0
0
0.043243
0.095355
2,045
109
85
18.761468
0.739459
0.065526
0
0.188406
0
0
0.065304
0
0
0
0
0
0
0
null
null
0
0.014493
null
null
0.057971
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
039115099b0acd0dd43e432d85e08424f1e0930e
1,493
py
Python
dom/metadata.py
Starwort/domgen
598f57c2d365cdef353ed1b373a274715c896867
[ "MIT" ]
null
null
null
dom/metadata.py
Starwort/domgen
598f57c2d365cdef353ed1b373a274715c896867
[ "MIT" ]
null
null
null
dom/metadata.py
Starwort/domgen
598f57c2d365cdef353ed1b373a274715c896867
[ "MIT" ]
null
null
null
import functools from .base_classes import Container, Void class BaseURL(Void): """The HTML `<base>` element specifies the base URL to use for *all* relative URLs in a document. There can be only one `<base>` element in a document. """ __slots__ = () tag = "base" Base = BaseURL class Ext...
23.698413
78
0.663094
190
1,493
5.1
0.473684
0.03612
0.034056
0.035088
0
0
0
0
0
0
0
0
0.231078
1,493
62
79
24.080645
0.844077
0.58138
0
0.25
0
0
0.060377
0
0
0
0
0
0
1
0
false
0
0.1
0
0.85
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
03940eed9922e68c7391552d1a5597a7b61786aa
429
py
Python
src/waldur_slurm/migrations/0006_allocationusage_deposit_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_slurm/migrations/0006_allocationusage_deposit_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_slurm/migrations/0006_allocationusage_deposit_usage.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
# Generated by Django 1.11.7 on 2018-03-05 22:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('waldur_slurm', '0005_add_deposit'), ] operations = [ migrations.AddField( model_name='allocationusage', name='deposi...
23.833333
81
0.62704
48
429
5.458333
0.854167
0
0
0
0
0
0
0
0
0
0
0.072555
0.261072
429
17
82
25.235294
0.753943
0.107226
0
0
1
0
0.146982
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03972df064d30776ab61ace4cb50e0a249055d77
6,032
py
Python
tests/tests_basic.py
mehrdad-shokri/fluxcapacitor
b4e646e3048a317b33f5a84741b7962fd69cdc61
[ "MIT" ]
648
2015-01-08T18:05:33.000Z
2022-03-30T04:35:08.000Z
tests/tests_basic.py
mehrdad-shokri/fluxcapacitor
b4e646e3048a317b33f5a84741b7962fd69cdc61
[ "MIT" ]
4
2017-08-24T18:05:01.000Z
2018-01-19T09:06:06.000Z
tests/tests_basic.py
mehrdad-shokri/fluxcapacitor
b4e646e3048a317b33f5a84741b7962fd69cdc61
[ "MIT" ]
21
2015-05-12T13:03:15.000Z
2022-03-12T15:12:26.000Z
import os import tests from tests import at_most, compile, savefile import subprocess node_present = True erlang_present = True if os.system("node -v >/dev/null 2>/dev/null") != 0: print " [!] ignoring nodejs tests" node_present = False if (os.system("erl -version >/dev/null 2>/dev/null") != 0 or os.sys...
27.418182
101
0.54443
771
6,032
4.11284
0.228275
0.069379
0.077893
0.04415
0.540839
0.506465
0.477767
0.438978
0.31315
0.287606
0
0.048925
0.298574
6,032
219
102
27.543379
0.700544
0
0
0.41573
0
0.005618
0.362401
0.028515
0
0
0
0
0.02809
0
null
null
0
0.061798
null
null
0.011236
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
039b50ec23666881fdd70d72494a3f55144b2adf
444
py
Python
tests/test_root.py
oclyke-dev/blue-heron
05d59b66ff1cb10a40e0fb01ee65f778a7c157a8
[ "MIT" ]
null
null
null
tests/test_root.py
oclyke-dev/blue-heron
05d59b66ff1cb10a40e0fb01ee65f778a7c157a8
[ "MIT" ]
null
null
null
tests/test_root.py
oclyke-dev/blue-heron
05d59b66ff1cb10a40e0fb01ee65f778a7c157a8
[ "MIT" ]
null
null
null
import blue_heron import pytest from pathlib import Path from lxml import etree as ET from blue_heron import Root, Drawing @pytest.fixture(scope='module') def test_board(): with open(Path(__file__).parent/'data/ArtemisDevKit.brd', 'r') as f: root = ET.parse(f).getroot() yield root def test_get_drawing(test_...
23.368421
70
0.747748
68
444
4.705882
0.514706
0.084375
0.09375
0
0
0
0
0
0
0
0
0
0.13964
444
18
71
24.666667
0.837696
0
0
0
0
0
0.065463
0.049661
0
0
0
0
0.071429
1
0.142857
false
0
0.357143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
03a03bedee87cbb3ff98b4472ee9a56d99d7f812
7,070
py
Python
myconnectome/rsfmri/mk_connectome_figures.py
poldrack/myconnectome
201f414b3165894d6fe0be0677c8a58f6d161948
[ "MIT" ]
28
2015-04-02T16:43:14.000Z
2020-06-17T20:04:26.000Z
myconnectome/rsfmri/mk_connectome_figures.py
poldrack/myconnectome
201f414b3165894d6fe0be0677c8a58f6d161948
[ "MIT" ]
11
2015-05-19T02:57:22.000Z
2017-03-17T17:36:16.000Z
myconnectome/rsfmri/mk_connectome_figures.py
poldrack/myconnectome
201f414b3165894d6fe0be0677c8a58f6d161948
[ "MIT" ]
10
2015-05-21T17:01:26.000Z
2020-11-11T04:28:08.000Z
# -*- coding: utf-8 -*- """ make images for connnectivity adjmtx also compute within/between hemisphere stats Created on Sun Jun 21 09:19:06 2015 @author: poldrack """ import os import numpy import nilearn.plotting import scipy.stats from myconnectome.utils.get_parcel_coords import get_parcel_coords import matplotli...
40.170455
123
0.698727
1,016
7,070
4.714567
0.204724
0.023382
0.020877
0.035491
0.393111
0.317119
0.246138
0.213361
0.090188
0.090188
0
0.046445
0.162518
7,070
175
124
40.4
0.76254
0.058133
0
0.038462
0
0
0.095509
0.047524
0
0
0
0
0
0
null
null
0
0.053846
null
null
0.053846
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
03aa122f7d46f999001e9b311a609665d78ad637
527
py
Python
snoop/data/management/commands/migratecollections.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
null
null
null
snoop/data/management/commands/migratecollections.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
168
2019-11-07T12:38:07.000Z
2021-04-19T09:53:51.000Z
snoop/data/management/commands/migratecollections.py
liquidinvestigations/hoover-snoop2
28e328401609f53fb56abaa4817619085aa3fbee
[ "MIT" ]
null
null
null
"""Creates and migrates databases and indexes. """ from django.core.management.base import BaseCommand from ... import collections from ...logs import logging_for_management_command class Command(BaseCommand): help = "Create and migrate the collection databases" def handle(self, *args, **options): ...
27.736842
60
0.736243
57
527
6.614035
0.54386
0.135279
0.106101
0.143236
0
0
0
0
0
0
0
0
0.172676
527
18
61
29.277778
0.864679
0.081594
0
0
0
0
0.109015
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
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
03bbae28c2cd4fb58b49c704d23f872cee7681d3
3,505
py
Python
t.py
cmsirbu/gencfg
5f201208ca55bdd2ddd67974129465d95ebf4af4
[ "MIT" ]
5
2016-03-09T19:50:54.000Z
2018-10-12T03:05:23.000Z
t.py
cmsirbu/gencfg
5f201208ca55bdd2ddd67974129465d95ebf4af4
[ "MIT" ]
null
null
null
t.py
cmsirbu/gencfg
5f201208ca55bdd2ddd67974129465d95ebf4af4
[ "MIT" ]
2
2019-06-28T10:34:52.000Z
2019-09-16T23:56:49.000Z
#!/usr/bin/env python """A script that helps generate router configuration from templates. """ import os import sys import argparse import csv import jinja2 from jinja2 import meta def get_template_var_list(config_template): j2_env = jinja2.Environment(loader=jinja2.FileSystemLoader(searchpath='.')) j2_tem...
38.097826
103
0.681598
457
3,505
5.015317
0.326039
0.06719
0.029668
0.02356
0.120419
0.102967
0.061082
0.061082
0.061082
0.061082
0
0.009807
0.214551
3,505
91
104
38.516484
0.822739
0.106419
0
0.084746
1
0
0.158756
0.006735
0
0
0
0
0
1
0.067797
false
0
0.101695
0
0.169492
0.033898
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
03bce3dec0a0cfe68389b401fddaa0824f69003d
366
py
Python
Python/bench_2_1.py
nifty-swift/Nifty-benchmarks
025128d6276a5dec0c89d1e464131c4e4dc22292
[ "Apache-2.0" ]
1
2018-03-28T05:51:21.000Z
2018-03-28T05:51:21.000Z
Python/bench_2_1.py
nifty-swift/Nifty-benchmarks
025128d6276a5dec0c89d1e464131c4e4dc22292
[ "Apache-2.0" ]
null
null
null
Python/bench_2_1.py
nifty-swift/Nifty-benchmarks
025128d6276a5dec0c89d1e464131c4e4dc22292
[ "Apache-2.0" ]
null
null
null
import numpy as np from time import time def bench_2_1(): trials = 100 elements = 1000000 times = [] for i in range(trials): start = time() M = np.random.randint(1,999, size=elements) t = time()-start times.append(t) print 'Python - Benchmark 2.1: Average time ...
19.263158
94
0.601093
51
366
4.27451
0.686275
0.018349
0
0
0
0
0
0
0
0
0
0.083333
0.278689
366
19
94
19.263158
0.742424
0
0
0
0
0
0.147139
0
0
0
0
0
0
0
null
null
0
0.166667
null
null
0.083333
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
03bebfed119097ef096738e58538d61c95362c67
31,667
py
Python
fake_spectra/rate_network.py
xiaohanzai/fake_spectra
170b42ac7732eb4f299617a1049cd3eabecfa3a7
[ "MIT" ]
null
null
null
fake_spectra/rate_network.py
xiaohanzai/fake_spectra
170b42ac7732eb4f299617a1049cd3eabecfa3a7
[ "MIT" ]
null
null
null
fake_spectra/rate_network.py
xiaohanzai/fake_spectra
170b42ac7732eb4f299617a1049cd3eabecfa3a7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """A rate network for neutral hydrogen following Katz, Weinberg & Hernquist 1996, eq. 28-32.""" import os.path import math import numpy as np import scipy.interpolate as interp import scipy.optimize class RateNetwork(object): """A rate network for neutral hydrogen following Katz, Weinbe...
49.94795
188
0.639688
4,574
31,667
4.370354
0.182991
0.016408
0.007204
0.005103
0.381091
0.336718
0.310105
0.295048
0.265333
0.248124
0
0.068572
0.252124
31,667
633
189
50.026856
0.775493
0.443585
0
0.204013
0
0
0.005396
0.002698
0
0
0
0
0.006689
1
0.22408
false
0
0.016722
0
0.478261
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
03c6a4780081ba46e0720aa30e18a9c4fde3152f
1,596
py
Python
escola/tests/selenium_test_case.py
vini84200/medusa2
37cf33d05be8b0195b10845061ca893ba5e814dd
[ "MIT" ]
1
2019-03-15T18:04:24.000Z
2019-03-15T18:04:24.000Z
escola/tests/selenium_test_case.py
vini84200/medusa2
37cf33d05be8b0195b10845061ca893ba5e814dd
[ "MIT" ]
22
2019-03-17T21:53:50.000Z
2021-03-31T19:12:19.000Z
escola/tests/selenium_test_case.py
vini84200/medusa2
37cf33d05be8b0195b10845061ca893ba5e814dd
[ "MIT" ]
1
2018-11-25T03:05:23.000Z
2018-11-25T03:05:23.000Z
# Developed by Vinicius José Fritzen # Last Modified 13/04/19 16:04. # Copyright (c) 2019 Vinicius José Fritzen and Albert Angel Lanzarini import pytest from decouple import config from django.contrib.auth.models import User from django.test import LiveServerTestCase, TestCase from selenium import webdriver from se...
33.957447
96
0.714286
194
1,596
5.793814
0.510309
0.058719
0.033808
0.032028
0
0
0
0
0
0
0
0.014996
0.20614
1,596
47
96
33.957447
0.872139
0.251253
0
0
0
0
0.01815
0
0
0
0
0
0
1
0.148148
false
0
0.296296
0
0.62963
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
03cc40e680dd0a778266264e42ce9370062476e1
1,036
py
Python
tornado/4_celery_async_sleep.py
dongweiming/speakerdeck
497352767a6ec57629f28d5c85f70bef38fc1914
[ "Apache-2.0" ]
6
2015-03-02T06:01:28.000Z
2016-06-03T09:55:34.000Z
tornado/4_celery_async_sleep.py
dongweiming/speakerdeck
497352767a6ec57629f28d5c85f70bef38fc1914
[ "Apache-2.0" ]
null
null
null
tornado/4_celery_async_sleep.py
dongweiming/speakerdeck
497352767a6ec57629f28d5c85f70bef38fc1914
[ "Apache-2.0" ]
5
2015-02-01T13:48:58.000Z
2018-11-27T02:10:59.000Z
#!/bin/env python import tornado.httpserver import tornado.ioloop import tornado.options import tornado.web import tornado.gen import tornado.httpclient import tcelery import sleep_task as tasks from tornado.options import define, options define("port", default=8000, help="run on the given port", type=int) tcelery....
28
70
0.728764
133
1,036
5.556391
0.533835
0.105548
0.054127
0
0
0
0
0
0
0
0
0.006865
0.156371
1,036
36
71
28.777778
0.838673
0.015444
0
0.071429
0
0
0.083415
0
0
0
0
0
0
1
0.071429
false
0
0.321429
0
0.464286
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
03d62215eb44f2521a4a5180463ae9e3411c086d
1,401
py
Python
custom_components/gpodder/config_flow.py
hsolberg/gpodder
6b3af212f8067c7084f638bf40c9a25fe6fc252d
[ "MIT" ]
13
2019-03-21T10:44:58.000Z
2021-04-17T09:19:53.000Z
custom_components/gpodder/config_flow.py
hsolberg/gpodder
6b3af212f8067c7084f638bf40c9a25fe6fc252d
[ "MIT" ]
18
2019-03-24T20:41:21.000Z
2021-12-10T01:42:57.000Z
custom_components/gpodder/config_flow.py
hsolberg/gpodder
6b3af212f8067c7084f638bf40c9a25fe6fc252d
[ "MIT" ]
8
2019-03-24T06:19:24.000Z
2021-06-03T11:08:23.000Z
"""Adds config flow for gPodder.""" from homeassistant import config_entries import voluptuous as vol from custom_components.gpodder.const import ( CONF_NAME, CONF_PASSWORD, CONF_USERNAME, CONF_DEVICE, DEFAULT_NAME, DOMAIN, ) class GpodderFlowHandler(config_entries.ConfigFlow, domain=DOMAIN):...
28.591837
71
0.605282
157
1,401
5.10828
0.414013
0.067332
0.074813
0.067332
0
0
0
0
0
0
0
0.001028
0.305496
1,401
48
72
29.1875
0.823227
0.047109
0
0.057143
0
0
0.003281
0
0
0
0
0
0
1
0.028571
false
0.057143
0.085714
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
03d659e23330734a212d3f3f3cc9b22edbb8b9c6
1,397
py
Python
mirari/INV/migrations/0003_auto_20190609_1903.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
mirari/INV/migrations/0003_auto_20190609_1903.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
18
2019-12-27T19:58:20.000Z
2022-02-27T08:17:49.000Z
mirari/INV/migrations/0003_auto_20190609_1903.py
gcastellan0s/mirariapp
24a9db06d10f96c894d817ef7ccfeec2a25788b7
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2019-06-10 00:03 from django.db import migrations, models import localflavor.mx.models class Migration(migrations.Migration): dependencies = [ ('INV', '0002_auto_20190608_2204'), ] operations = [ migrations.AlterField( model_name='fiscalmx', ...
36.763158
182
0.625626
147
1,397
5.802721
0.482993
0.093787
0.117233
0.135991
0.293083
0.239156
0.143025
0.143025
0.143025
0
0
0.04698
0.2534
1,397
37
183
37.756757
0.770853
0.032212
0
0.483871
1
0
0.221481
0.017037
0
0
0
0
0
1
0
false
0
0.064516
0
0.16129
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
03d7f39caab28a9c35a6797a159ddc4799ba288c
618
py
Python
python/sort/BubbleSort.py
smdsbz/homework
6cac5cc006543bc0787ef4219e72f314ee04083e
[ "MIT" ]
5
2017-05-21T15:36:27.000Z
2018-01-01T09:47:26.000Z
python/sort/BubbleSort.py
smdsbz/homework
6cac5cc006543bc0787ef4219e72f314ee04083e
[ "MIT" ]
null
null
null
python/sort/BubbleSort.py
smdsbz/homework
6cac5cc006543bc0787ef4219e72f314ee04083e
[ "MIT" ]
null
null
null
#!/usr/bin/python3 ''' BubbleSort.py by Xiaoguang Zhu ''' array = [] print("Enter at least two numbers to start bubble-sorting.") print("(You can end inputing anytime by entering nonnumeric)") # get numbers while True: try: array.append(float(input(">> "))) except ValueError: # exit inputing break print("\nTh...
19.3125
62
0.665049
98
618
4.193878
0.602041
0.087591
0.051095
0.087591
0.094891
0.077859
0.077859
0
0
0
0
0.01354
0.16343
618
31
63
19.935484
0.781431
0.144013
0
0.117647
0
0
0.367505
0
0
0
0
0
0
1
0
false
0
0
0
0
0.411765
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
03eb9e9a2678ce2856ad1cc39eac15c2a16bbcc9
431
py
Python
Section_7/word_count_repo/src/word_count.py
PacktPublishing/Software-Engineering-with-Python-3.x
056e4c89e4f8d7fc4a4095ee0671d6944a86630e
[ "MIT" ]
1
2020-02-02T13:55:29.000Z
2020-02-02T13:55:29.000Z
Section_7/word_count_repo/src/word_count.py
PacktPublishing/Software-Engineering-with-Python-3.x
056e4c89e4f8d7fc4a4095ee0671d6944a86630e
[ "MIT" ]
null
null
null
Section_7/word_count_repo/src/word_count.py
PacktPublishing/Software-Engineering-with-Python-3.x
056e4c89e4f8d7fc4a4095ee0671d6944a86630e
[ "MIT" ]
2
2020-02-09T12:41:40.000Z
2020-09-21T02:16:06.000Z
from project_utils import dict_to_file, get_word_count if __name__ == "__main__": inp_filename = 'sample.txt' out_filename = 'count.csv' print("Reading file ", inp_filename) word_dict = get_word_count(inp_filename) print("Output from get_word_count is") print(word_dict) print("W...
19.590909
54
0.703016
60
431
4.583333
0.45
0.065455
0.130909
0
0
0
0
0
0
0
0
0
0.201856
431
21
55
20.52381
0.799419
0
0
0
0
0
0.24594
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.454545
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
03ef1f344c45295f3dabd049b11b142929115048
1,671
py
Python
Chapter05/airflow/dags/classification_pipeline_dag.py
arifmudi/Machine-Learning-Engineering-with-Python
05c3fb9ae9fb9124a13812f59f8e681d66832d3b
[ "MIT" ]
67
2021-01-31T19:43:15.000Z
2022-03-27T08:03:56.000Z
Chapter05/airflow/dags/classification_pipeline_dag.py
arifmudi/Machine-Learning-Engineering-with-Python
05c3fb9ae9fb9124a13812f59f8e681d66832d3b
[ "MIT" ]
null
null
null
Chapter05/airflow/dags/classification_pipeline_dag.py
arifmudi/Machine-Learning-Engineering-with-Python
05c3fb9ae9fb9124a13812f59f8e681d66832d3b
[ "MIT" ]
35
2021-02-08T14:34:46.000Z
2022-03-18T16:06:09.000Z
from datetime import timedelta from airflow import DAG from airflow.operators.bash_operator import BashOperator from airflow.utils.dates import days_ago default_args = { 'owner': 'Andrew McMahon', 'depends_on_past': False, 'start_date': days_ago(2), 'email': ['example@example.com'], 'email_on_failu...
26.109375
69
0.691801
211
1,671
5.222749
0.450237
0.032668
0.03539
0.049002
0.162432
0.162432
0.124319
0
0
0
0
0.014535
0.176541
1,671
63
70
26.52381
0.781977
0.273489
0
0.175
0
0
0.222222
0.085213
0
0
0
0
0
0
null
null
0
0.1
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
03f5f0261dae2f37b5e7db37db0f4a97a9efea20
3,860
py
Python
examples/kcs.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
53
2016-09-21T15:52:14.000Z
2021-12-23T09:23:00.000Z
examples/kcs.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
27
2016-09-21T15:24:43.000Z
2021-11-18T08:38:38.000Z
examples/kcs.py
WeiZhixiong/ksc-sdk-python
a93237ce376e107eaae644678ef6b99819a9f8eb
[ "Apache-2.0" ]
68
2016-09-06T10:33:09.000Z
2021-11-16T07:13:03.000Z
# -*- encoding:utf-8 -*- from kscore.session import get_session if __name__ == "__main__": s = get_session() #确定服务名称以及机房 kcsClient = s.create_client("kcs", "cn-shanghai-3", use_ssl=False) # 调用DescribeCacheReadonlyNode接口需要传入kcsv2 #kcsv2Client = s.create_client("kcsv2", "cn-shanghai-3", use_ssl=Fals...
45.411765
223
0.70285
389
3,860
6.786632
0.380463
0.127273
0.07197
0.087121
0.393182
0.293939
0.232955
0.185985
0.043182
0
0
0.096453
0.116321
3,860
85
224
45.411765
0.677514
0.868912
0
0
0
0
0.053097
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff011eb3b30a5dcec0975d8afd7f72454da4922d
4,378
py
Python
projects/migrations/0001_initial.py
louisenje/project-rate
b11e209bebdf59983d967864a049538b2807acd2
[ "MIT" ]
null
null
null
projects/migrations/0001_initial.py
louisenje/project-rate
b11e209bebdf59983d967864a049538b2807acd2
[ "MIT" ]
null
null
null
projects/migrations/0001_initial.py
louisenje/project-rate
b11e209bebdf59983d967864a049538b2807acd2
[ "MIT" ]
null
null
null
# Generated by Django 3.2.3 on 2021-06-02 07:26 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
56.128205
171
0.574006
497
4,378
4.93159
0.221328
0.029376
0.045696
0.071807
0.655243
0.642187
0.615259
0.598939
0.566299
0.566299
0
0.040524
0.250343
4,378
77
172
56.857143
0.706277
0.010279
0
0.428571
1
0
0.117063
0.00508
0
0
0
0
0
1
0
false
0
0.042857
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff098027575fba502952fc4d4e830126b3044b28
3,086
py
Python
src/access.py
zimingd/packer-rstudio
935360c55c292b06969fe157da95b74351e4d3c1
[ "Apache-2.0" ]
null
null
null
src/access.py
zimingd/packer-rstudio
935360c55c292b06969fe157da95b74351e4d3c1
[ "Apache-2.0" ]
7
2020-04-14T17:00:48.000Z
2022-03-03T00:39:21.000Z
src/access.py
zimingd/packer-rstudio
935360c55c292b06969fe157da95b74351e4d3c1
[ "Apache-2.0" ]
4
2020-05-20T16:47:22.000Z
2021-05-25T15:16:00.000Z
#!/usr/bin/env python3 import jwt import requests import base64 import json import boto3 import time import functools import os from mod_python import apache region = json.loads(requests.get('http://169.254.169.254/latest/dynamic/instance-identity/document').text)['region'] ssm_parameter_name_env_var = 'SYNAPSE_TOKE...
33.182796
116
0.745949
473
3,086
4.691332
0.382664
0.046868
0.021631
0.016224
0.102749
0.070302
0.029743
0.029743
0
0
0
0.018961
0.145496
3,086
92
117
33.543478
0.822526
0.292288
0
0.034483
0
0
0.169898
0.04109
0
0
0
0.01087
0
1
0.086207
false
0
0.155172
0
0.362069
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
ff0c20d8ce541a65a62a8c8b06da2596d5632606
16,877
py
Python
perses/tests/test_atom_mapping.py
schallerdavid/perses
58bd6e626e027879e136f56e175683893e016f8c
[ "MIT" ]
99
2016-01-19T18:10:37.000Z
2022-03-26T02:43:08.000Z
perses/tests/test_atom_mapping.py
schallerdavid/perses
58bd6e626e027879e136f56e175683893e016f8c
[ "MIT" ]
878
2015-09-18T19:25:30.000Z
2022-03-31T02:33:04.000Z
perses/tests/test_atom_mapping.py
schallerdavid/perses
58bd6e626e027879e136f56e175683893e016f8c
[ "MIT" ]
30
2015-09-21T15:26:35.000Z
2022-01-10T20:07:24.000Z
import os import pytest import unittest from perses.rjmc.atom_mapping import AtomMapper, AtomMapping, InvalidMappingException from openff.toolkit.topology import Molecule ################################################################################ # LOGGER #########################################################...
54.092949
230
0.642591
2,228
16,877
4.586176
0.160682
0.082893
0.032883
0.04815
0.605696
0.573791
0.550303
0.497749
0.475436
0.432864
0
0.022662
0.236535
16,877
311
231
54.266881
0.770353
0.229839
0
0.372222
0
0.05
0.115094
0.056047
0
0
0
0.016077
0.105556
1
0.094444
false
0
0.055556
0
0.161111
0.005556
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
ff12374036cabc8d3ecc65f6a2e6dd1c7c2493d3
5,171
py
Python
tex2ebook.py
rzoller/tex2ebook
57859343e2e4fd31a5701ee834019a5e7b9e8128
[ "Apache-2.0" ]
13
2015-01-03T13:07:07.000Z
2017-01-03T16:06:28.000Z
tex2ebook.py
rkaravia/tex2ebook
57859343e2e4fd31a5701ee834019a5e7b9e8128
[ "Apache-2.0" ]
1
2020-11-05T13:31:02.000Z
2020-11-05T13:31:03.000Z
tex2ebook.py
rzoller/tex2ebook
57859343e2e4fd31a5701ee834019a5e7b9e8128
[ "Apache-2.0" ]
6
2015-03-30T05:13:25.000Z
2019-05-16T14:05:03.000Z
# run with --help to see available options import os, sys, tempfile, shutil, re from optparse import OptionParser log_dir = os.path.abspath('_log') def get_working_dir(texfile, log): if log: # create a subdirectory in _log if not os.path.exists(log_dir): os.makedirs(log_dir) subdir = os.path.join(log_dir,...
39.776923
186
0.704699
780
5,171
4.529487
0.264103
0.03906
0.031135
0.039626
0.208322
0.135296
0.121993
0.121993
0.121993
0.120577
0
0.006631
0.125121
5,171
130
187
39.776923
0.774094
0.136531
0
0.078431
0
0.009804
0.268315
0.047191
0
0
0
0
0
0
null
null
0
0.019608
null
null
0.117647
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
2063c95543ab6e4ef6c980fc98b25c5894306406
9,816
py
Python
tests/test_pipeline.py
phvu/cebes-python
41e0a687feeac437eadcab1a4d1f0a041986bd4e
[ "Apache-2.0" ]
null
null
null
tests/test_pipeline.py
phvu/cebes-python
41e0a687feeac437eadcab1a4d1f0a041986bd4e
[ "Apache-2.0" ]
null
null
null
tests/test_pipeline.py
phvu/cebes-python
41e0a687feeac437eadcab1a4d1f0a041986bd4e
[ "Apache-2.0" ]
null
null
null
# Copyright 2016 The Cebes Authors. All Rights Reserved. # # Licensed under the Apache License, version 2.0 (the "License"). # You may not use this work except in compliance with the License, # which is available at www.apache.org/licenses/LICENSE-2.0 # # This software is distributed on an "AS IS" basis, WITHOUT WARRAN...
40.9
110
0.640587
1,233
9,816
4.982157
0.154907
0.073254
0.070324
0.048348
0.724727
0.675728
0.664008
0.643171
0.628683
0.594335
0
0.018858
0.238284
9,816
239
111
41.07113
0.802728
0.078647
0
0.632184
0
0
0.091191
0
0
0
0
0
0.494253
1
0.04023
false
0
0.057471
0
0.103448
0.005747
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
206bea68e024108a3072a57ecb2075b2c8f91020
1,300
py
Python
yarll/scripts/list_exps.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
62
2016-11-05T19:27:11.000Z
2018-09-20T13:29:39.000Z
yarll/scripts/list_exps.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
4
2020-07-09T16:46:19.000Z
2022-01-26T07:18:06.000Z
yarll/scripts/list_exps.py
hknozturk/yarll
c5293e6455e3debe6e4d4d21f713937a24a654f3
[ "MIT" ]
18
2016-11-24T14:17:15.000Z
2018-07-04T16:33:00.000Z
import os import json import argparse from pathlib import Path import pandas as pd import dateutil parser = argparse.ArgumentParser() parser.add_argument("directory", type=Path help="Path to the directory.") def main(): args = parser.parse_args() dirs = sorted([d for d in os.listdir(args.directory) if os.pa...
33.333333
134
0.606154
174
1,300
4.396552
0.465517
0.05098
0.015686
0
0
0
0
0
0
0
0
0.00504
0.236923
1,300
38
135
34.210526
0.766129
0
0
0
0
0
0.164615
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.030303
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
206ef09a2bc28f7ba5a8ff01cc6d9883d5038da6
18,167
py
Python
src/main/python/scrumtools/github.py
TU-Berlin-DIMA/scrum-tools
f17b39f815d01b7a6f1e2b3cd46d7e99e3cf3118
[ "Apache-2.0" ]
1
2015-05-23T05:19:32.000Z
2015-05-23T05:19:32.000Z
src/main/python/scrumtools/github.py
TU-Berlin-DIMA/scrum-tools
f17b39f815d01b7a6f1e2b3cd46d7e99e3cf3118
[ "Apache-2.0" ]
null
null
null
src/main/python/scrumtools/github.py
TU-Berlin-DIMA/scrum-tools
f17b39f815d01b7a6f1e2b3cd46d7e99e3cf3118
[ "Apache-2.0" ]
null
null
null
""" Copyright 2010-2014 DIMA Research Group, TU Berlin Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
42.150812
121
0.608686
2,195
18,167
4.853759
0.13303
0.03548
0.057349
0.063075
0.643702
0.583724
0.530505
0.495307
0.474564
0.464145
0
0.002415
0.270766
18,167
431
122
42.150812
0.801781
0.053614
0
0.426117
0
0
0.202672
0.005623
0
0
0
0
0
0
null
null
0.034364
0.034364
null
null
0.120275
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
207541c4f4a46b92967908249bf629d6ac8f4fb1
6,335
py
Python
data/external/repositories/115375/hail-seizure-master/train.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
null
null
null
data/external/repositories/115375/hail-seizure-master/train.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2015-12-10T16:46:02.000Z
2018-05-21T23:01:55.000Z
data/external/repositories/115375/hail-seizure-master/train.py
Keesiu/meta-kaggle
87de739aba2399fd31072ee81b391f9b7a63f540
[ "MIT" ]
1
2019-12-04T08:23:33.000Z
2019-12-04T08:23:33.000Z
#!/usr/bin/env python3 import python.utils as utils import os import joblib import pickle import pdb def main(settingsfname, verbose=False, store_models=True, store_features=False, save_training_detailed=False, load_pickled=False, parallel=0): settings = utils.get_settings(settingsfname) ...
38.865031
81
0.424467
485
6,335
5.350515
0.241237
0.033911
0.052408
0.03237
0.247784
0.204624
0.148362
0.148362
0.128324
0.128324
0
0.003175
0.502762
6,335
162
82
39.104938
0.820635
0.029045
0
0.352459
0
0
0.057933
0.007486
0
0
0
0
0
1
0.008197
false
0
0.040984
0
0.057377
0.07377
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
20778423e20ac6661734493d2303bc03ce7d5df0
982
py
Python
tests/scraper/models.py
teolemon/django-dynamic-scraper
2a46df8828fa8dcf4f74315abe99cc37b214b2e8
[ "BSD-3-Clause" ]
null
null
null
tests/scraper/models.py
teolemon/django-dynamic-scraper
2a46df8828fa8dcf4f74315abe99cc37b214b2e8
[ "BSD-3-Clause" ]
null
null
null
tests/scraper/models.py
teolemon/django-dynamic-scraper
2a46df8828fa8dcf4f74315abe99cc37b214b2e8
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from dynamic_scraper.models import Scraper, SchedulerRuntime from scrapy.contrib.djangoitem import DjangoItem class EventWebsite(models.Model): name = models.CharField(max_length=200) scraper = models.ForeignKey(Scraper, blank=True, null=True, on_delete=models.SET_NULL) url = ...
35.071429
107
0.726069
119
982
5.815126
0.352941
0.092486
0.056358
0.073699
0.424855
0.346821
0.346821
0.346821
0.346821
0.291908
0
0.007299
0.162933
982
28
108
35.071429
0.83455
0
0
0.2
0
0
0.006104
0
0
0
0
0
0
1
0.1
false
0
0.15
0.1
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
207a528acd1c6078894046fa653d5ad571c45a65
1,038
py
Python
doctable/textmodels/parsetreedoc.py
devincornell/sqlitedocuments
16923bb3b91af5104140e49045efdc612afbc310
[ "MIT" ]
1
2019-06-19T20:27:55.000Z
2019-06-19T20:27:55.000Z
doctable/textmodels/parsetreedoc.py
devincornell/sqlitedocuments
16923bb3b91af5104140e49045efdc612afbc310
[ "MIT" ]
21
2019-04-12T01:08:20.000Z
2020-11-09T18:28:41.000Z
doctable/textmodels/parsetreedoc.py
devincornell/sqlitedocuments
16923bb3b91af5104140e49045efdc612afbc310
[ "MIT" ]
null
null
null
from typing import Any from .basedoc import BaseDoc from .parsetree import ParseTree class ParseTreeDoc(list): ''' Represents a document composed of sequence of parsetrees. ''' @property def tokens(self): return (t for pt in self for t in pt) def as_dict(self): ''' Convert docume...
28.833333
85
0.633911
141
1,038
4.588652
0.375887
0.037094
0.021638
0.034003
0
0
0
0
0
0
0
0
0.270713
1,038
35
86
29.657143
0.85469
0.346821
0
0.133333
0
0
0
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.066667
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
1
0
0
0
0
0
0
0
1
207de260265c6907b91ff91673f6e28b96b0eef2
959
py
Python
rsatools/rp.py
SteelShredder/rsa-tools
17a3441a7f00b68674a48477eee7b31449eebf6f
[ "MIT" ]
null
null
null
rsatools/rp.py
SteelShredder/rsa-tools
17a3441a7f00b68674a48477eee7b31449eebf6f
[ "MIT" ]
null
null
null
rsatools/rp.py
SteelShredder/rsa-tools
17a3441a7f00b68674a48477eee7b31449eebf6f
[ "MIT" ]
null
null
null
from .decrypt import decrypt as d from .encrypt import encrypt as e from .generatekeys import genkeys as g def pg(e, bit): dp = open("rsakeys/d", "w+") ep = open("rsakeys/e", "w+") np = open("rsakeys/n", "w+") a, b, c = g(e,bit) np.write(str(a)) ep.write(str(b)) dp.write(str(c)) dp.close...
23.390244
47
0.519291
159
959
3.132075
0.27044
0.154618
0.078313
0.084337
0.339357
0.339357
0.120482
0.120482
0.120482
0.120482
0
0
0.24609
959
40
48
23.975
0.688797
0
0
0.425
1
0
0.130344
0
0
0
0
0
0
1
0.075
false
0
0.075
0
0.15
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
20800899334a7f9045e3040d9fc79c07a6e2cb14
784
py
Python
api/db/db.py
bcgov/data-stream
2d8fbf3843ee765ee102f306993fdbc742aca5d8
[ "Apache-2.0" ]
1
2019-02-10T08:27:22.000Z
2019-02-10T08:27:22.000Z
api/db/db.py
bcgov/data-stream
2d8fbf3843ee765ee102f306993fdbc742aca5d8
[ "Apache-2.0" ]
18
2019-02-09T01:02:09.000Z
2022-03-30T23:04:24.000Z
api/db/db.py
bcgov/data-stream
2d8fbf3843ee765ee102f306993fdbc742aca5d8
[ "Apache-2.0" ]
2
2019-02-09T06:36:54.000Z
2019-02-12T09:52:58.000Z
from mongoengine import connect from config import Config from db.models.subscriptions import Subscriptions class Db: Subscriptions = None def __init__(self, createClient=True): config = Config() self.db = {} self.Subscriptions = Subscriptions self.createClient = createClient ...
34.086957
68
0.633929
75
784
6.56
0.333333
0.121951
0.219512
0.097561
0
0
0
0
0
0
0
0
0.242347
784
22
69
35.636364
0.828283
0
0
0
0
0
0.107143
0
0
0
0
0
0
1
0.1
false
0.05
0.15
0
0.35
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
208ff921c6f3b56395e223269bba951dc85c3d8d
28,128
py
Python
_build/jupyter_execute/curriculum-notebooks/Languages/FrenchVerbCodingConjugation/french-verb-conjugation.py
BryceHaley/curriculum-jbook
d1246799ddfe62b0cf5c389394a18c2904383437
[ "CC-BY-4.0" ]
1
2022-03-18T18:19:40.000Z
2022-03-18T18:19:40.000Z
_build/jupyter_execute/curriculum-notebooks/Languages/FrenchVerbCodingConjugation/french-verb-conjugation.py
callysto/curriculum-jbook
ffb685901e266b0ae91d1250bf63e05a87c456d9
[ "CC-BY-4.0" ]
null
null
null
_build/jupyter_execute/curriculum-notebooks/Languages/FrenchVerbCodingConjugation/french-verb-conjugation.py
callysto/curriculum-jbook
ffb685901e266b0ae91d1250bf63e05a87c456d9
[ "CC-BY-4.0" ]
null
null
null
![Callysto.ca Banner](https://github.com/callysto/curriculum-notebooks/blob/master/callysto-notebook-banner-top.jpg?raw=true) <a href="https://hub.callysto.ca/jupyter/hub/user-redirect/git-pull?repo=https%3A%2F%2Fgithub.com%2Fcallysto%2Fcurriculum-notebooks&branch=master&subPath=Languages/FrenchVerbCodingConjugation/F...
33.091765
559
0.655041
4,166
28,128
4.409265
0.203072
0.047036
0.031357
0.022647
0.486744
0.474767
0.469378
0.456911
0.445261
0.445261
0
0.029379
0.190451
28,128
850
560
33.091765
0.777129
0
0
0.583471
0
0.029752
0.146734
0.000921
0
0
0
0
0
0
null
null
0
0.023141
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
209013f0c2f9bc0d8238ed1fa7a13fadafec827e
2,948
py
Python
item_engine/textbase/generate_tests.py
GabrielAmare/ItemEngine
10277626c3724ad9ae7b934f53e11e305dc34da5
[ "MIT" ]
null
null
null
item_engine/textbase/generate_tests.py
GabrielAmare/ItemEngine
10277626c3724ad9ae7b934f53e11e305dc34da5
[ "MIT" ]
null
null
null
item_engine/textbase/generate_tests.py
GabrielAmare/ItemEngine
10277626c3724ad9ae7b934f53e11e305dc34da5
[ "MIT" ]
null
null
null
import os from typing import List, Iterator from item_engine.textbase import make_characters __all__ = ["generate_tests"] def generate_tests(pckg: str, inputs: List[str], __test__: str = '__test__', spec: str = 'spec', __test_preview__: str...
29.777778
108
0.620421
366
2,948
4.726776
0.265027
0.041619
0.052023
0.080925
0.449711
0.391908
0.391908
0.391908
0.391908
0.391908
0
0.001789
0.24152
2,948
98
109
30.081633
0.771914
0
0
0.323529
1
0.029412
0.419607
0.086839
0
0
0
0
0.014706
1
0.058824
false
0
0.220588
0.029412
0.338235
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
2098c33dfd3aab904ba4db79b07d869e376e18df
3,630
py
Python
day_1/day1.py
secworks/advent_of_code_2017
20ea821710c388429809ca69102a164542d5d798
[ "BSD-2-Clause" ]
null
null
null
day_1/day1.py
secworks/advent_of_code_2017
20ea821710c388429809ca69102a164542d5d798
[ "BSD-2-Clause" ]
null
null
null
day_1/day1.py
secworks/advent_of_code_2017
20ea821710c388429809ca69102a164542d5d798
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- #======================================================================= # # day_1.py # -------- # Solution for Advent of code 2017, day 1. # http://adventofcode.com/2017/day/1 # # Status: Done. # # Joachim Strömbergson 2017 # #=============================================...
26.691176
75
0.316253
310
3,630
3.577419
0.316129
0.081154
0.058611
0.037872
0.102795
0
0
0
0
0
0
0.030003
0.164463
3,630
135
76
26.888889
0.335641
0.511019
0
0.1
0
0.016667
0.171776
0
0
0
0
0
0
1
0.133333
false
0
0.016667
0
0.2
0.3
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
209bc0cc626bc5c803a48b3126392e386031528c
285
py
Python
sokoapp/contests/admin.py
Mercy-Nekesa/sokoapp
6c7bc4c1278b7223226124a49fc33c5b8b6b617a
[ "MIT" ]
1
2019-04-01T05:52:37.000Z
2019-04-01T05:52:37.000Z
sokoapp/contests/admin.py
Mercy-Nekesa/sokoapp
6c7bc4c1278b7223226124a49fc33c5b8b6b617a
[ "MIT" ]
1
2015-03-11T16:18:12.000Z
2015-03-11T16:18:12.000Z
sokoapp/contests/admin.py
Mercy-Nekesa/sokoapp
6c7bc4c1278b7223226124a49fc33c5b8b6b617a
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import TimePeriod class TimePeriodAdminBase(object): list_display = ('name', 'period_start', 'period_end',) class TimePeriodAdmin(TimePeriodAdminBase, admin.ModelAdmin): pass admin.site.register(TimePeriod, TimePeriodAdmin)
19
61
0.778947
30
285
7.3
0.7
0
0
0
0
0
0
0
0
0
0
0
0.126316
285
14
62
20.357143
0.879518
0
0
0
0
0
0.091228
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
20a454e64794fb3ad382db3340f6045cd10b054e
6,655
py
Python
HCI/Gesture Recognizer/Python/DTW.py
k-sae/HCI-Lab
ec40136907eaa9ea983efa7b4761e2bb1f5918a5
[ "Apache-2.0" ]
3
2017-07-03T12:57:36.000Z
2017-12-11T19:49:14.000Z
HCI/Gesture Recognizer/Python/DTW.py
kareem2048/HCI-Lab
ec40136907eaa9ea983efa7b4761e2bb1f5918a5
[ "Apache-2.0" ]
null
null
null
HCI/Gesture Recognizer/Python/DTW.py
kareem2048/HCI-Lab
ec40136907eaa9ea983efa7b4761e2bb1f5918a5
[ "Apache-2.0" ]
1
2018-07-27T11:00:08.000Z
2018-07-27T11:00:08.000Z
from math import sin, cos, atan2, sqrt import json NumPoints = 64 SquareSize = 250.0 AngleRange = 45.0 AnglePrecision = 2.0 Phi = 0.5 * (-1.0 + sqrt(5.0)) class Template: def __init__(self, name, points): self.points = points self.name = name self.points = resample(self.points...
37.8125
1,355
0.528475
983
6,655
3.509664
0.268566
0.028986
0.012174
0.024348
0.204058
0.118551
0.10058
0.067826
0.045217
0.045217
0
0.19651
0.276634
6,655
175
1,356
38.028571
0.52015
0
0
0.251908
0
0
0.020362
0
0
0
0
0
0
1
0.129771
false
0
0.015267
0.022901
0.259542
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20aac86b0cfe5ca3694d0752f807ee2ec5a74264
275
py
Python
tests/test_ui_systemtray.py
scottwernervt/clipmanager
34e9f45f7d9a3cef423d9d54df5d220aed5fd821
[ "BSD-4-Clause" ]
12
2016-02-11T04:14:35.000Z
2021-12-16T08:13:05.000Z
tests/test_ui_systemtray.py
scottwernervt/clipmanager
34e9f45f7d9a3cef423d9d54df5d220aed5fd821
[ "BSD-4-Clause" ]
11
2018-02-01T21:20:08.000Z
2018-07-20T16:02:01.000Z
tests/test_ui_systemtray.py
scottwernervt/clipmanager
34e9f45f7d9a3cef423d9d54df5d220aed5fd821
[ "BSD-4-Clause" ]
null
null
null
import pytest from clipmanager.ui.systemtray import SystemTrayIcon @pytest.fixture() def systemtray(): tray = SystemTrayIcon() tray.show() return tray class TestSystemTrayIcon: def test_is_visible(self, systemtray): assert systemtray.isVisible()
17.1875
52
0.730909
29
275
6.862069
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.185455
275
15
53
18.333333
0.888393
0
0
0
0
0
0
0
0
0
0
0
0.1
1
0.2
false
0
0.2
0
0.6
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
20b8115dffa3217a7ae85b3889aa549226d9b0c6
5,064
py
Python
tests/test_sorted_feed.py
andyet/thoonk.py
4535ad05975a6410fe3448ace28d591ba1452f02
[ "MIT" ]
63
2015-01-13T09:08:19.000Z
2021-10-05T16:52:52.000Z
tests/test_sorted_feed.py
andyet/thoonk.py
4535ad05975a6410fe3448ace28d591ba1452f02
[ "MIT" ]
2
2015-03-19T22:32:01.000Z
2015-03-23T19:21:24.000Z
tests/test_sorted_feed.py
andyet/thoonk.py
4535ad05975a6410fe3448ace28d591ba1452f02
[ "MIT" ]
12
2015-03-16T16:40:38.000Z
2022-03-28T10:56:24.000Z
import thoonk from thoonk.feeds import SortedFeed import unittest from ConfigParser import ConfigParser class TestLeaf(unittest.TestCase): def setUp(self): conf = ConfigParser() conf.read('test.cfg') if conf.sections() == ['Test']: self.ps = thoonk.Thoonk(host=conf.get('Te...
34.924138
103
0.529226
677
5,064
3.844904
0.149188
0.138302
0.026892
0.049942
0.663849
0.60776
0.5801
0.560891
0.498655
0.488667
0
0.020245
0.307464
5,064
144
104
35.166667
0.721985
0
0
0.516949
0
0
0.194221
0
0
0
0
0
0.118644
0
null
null
0
0.033898
null
null
0.008475
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
20bd0ca933a883e637a3a9cfd0a0a77678655e62
586
py
Python
freetile/helper/xcb.py
rbn42/freetile
16a5c95650d1887b372f373c2126f96d991f3366
[ "MIT" ]
10
2017-09-09T23:24:13.000Z
2020-04-08T17:07:59.000Z
freetile/helper/xcb.py
rbn42/kd_tree_tile
16a5c95650d1887b372f373c2126f96d991f3366
[ "MIT" ]
1
2017-08-26T08:09:03.000Z
2017-08-26T08:09:34.000Z
freetile/helper/xcb.py
rbn42/freetile
16a5c95650d1887b372f373c2126f96d991f3366
[ "MIT" ]
null
null
null
import os import xcffib from xcffib.testing import XvfbTest from xcffib.xproto import Atom, ConfigWindow, EventMask, GetPropertyType conn = xcffib.connect(os.environ['DISPLAY']) xproto = xcffib.xproto.xprotoExtension(conn) def arrange(layout, windowids): for lay, winid in zip(layout, windowids): xproto....
27.904762
118
0.732082
73
586
5.876712
0.479452
0.04662
0.121212
0.177156
0.242424
0.242424
0.242424
0
0
0
0
0
0.156997
586
20
119
29.3
0.868421
0
0
0.142857
0
0
0.011945
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
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
20c0cfeb06b96a4465675ae0f8ac3dafd13c7aa2
537
py
Python
oro_plugins/migrations/0002_galleryitem_gallery.py
mikeh74/orocus_djangocms
81946daf17770e27bbe5c56b4caa0529bf3170bc
[ "MIT" ]
null
null
null
oro_plugins/migrations/0002_galleryitem_gallery.py
mikeh74/orocus_djangocms
81946daf17770e27bbe5c56b4caa0529bf3170bc
[ "MIT" ]
null
null
null
oro_plugins/migrations/0002_galleryitem_gallery.py
mikeh74/orocus_djangocms
81946daf17770e27bbe5c56b4caa0529bf3170bc
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-05 20:15 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('oro_plugins', '0001_initial'), ] operations = [ migrations.AddField( model_name='galleryitem', ...
25.571429
135
0.640596
61
537
5.52459
0.672131
0.071217
0.083086
0.130564
0
0
0
0
0
0
0
0.04902
0.240223
537
20
136
26.85
0.776961
0.083799
0
0
1
0
0.122449
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20c121357230b7a557b1c97b8dff117f08572b36
464
py
Python
Buy/migrations/0003_singlecardpurchase_initial_sell_price.py
eliilek/TCGProject
ca1f4e89a8b93ec1073526953d1ca3fab21902b0
[ "MIT" ]
null
null
null
Buy/migrations/0003_singlecardpurchase_initial_sell_price.py
eliilek/TCGProject
ca1f4e89a8b93ec1073526953d1ca3fab21902b0
[ "MIT" ]
3
2020-02-11T21:16:54.000Z
2021-06-10T17:30:26.000Z
Buy/migrations/0003_singlecardpurchase_initial_sell_price.py
eliilek/TCGProject
ca1f4e89a8b93ec1073526953d1ca3fab21902b0
[ "MIT" ]
null
null
null
# Generated by Django 2.0.3 on 2018-04-18 19:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Buy', '0002_standardset'), ] operations = [ migrations.AddField( model_name='singlecardpurchase', name='initial_sell...
23.2
81
0.62069
50
464
5.62
0.82
0
0
0
0
0
0
0
0
0
0
0.065089
0.271552
464
19
82
24.421053
0.766272
0.096983
0
0
1
0
0.131894
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
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
20c77eabbc6690e3c5bb68e42dc26beb132dc547
1,549
py
Python
tensordata/utils/conda/_conda.py
Hourout/tensordata
cbef6742ee0d3bfc4b886358fc01618bb5b63603
[ "Apache-2.0" ]
13
2019-01-08T10:22:39.000Z
2020-06-17T10:02:47.000Z
tensordata/utils/conda/_conda.py
Hourout/tensordata
cbef6742ee0d3bfc4b886358fc01618bb5b63603
[ "Apache-2.0" ]
null
null
null
tensordata/utils/conda/_conda.py
Hourout/tensordata
cbef6742ee0d3bfc4b886358fc01618bb5b63603
[ "Apache-2.0" ]
1
2020-06-17T10:02:49.000Z
2020-06-17T10:02:49.000Z
import subprocess __all__ = ['view_env', 'create_env', 'remove_env'] def view_env(): """Get virtual environment info.""" cmd = f"conda info -e" s = subprocess.Popen(cmd, stdout=subprocess.PIPE, shell=True).communicate()[0] s = s.decode('utf-8').strip().split('\n')[2:] s = [i.split(' ') for i in s]...
30.98
82
0.631375
203
1,549
4.748768
0.26601
0.205394
0.149378
0.099585
0.538382
0.538382
0.422199
0.422199
0.422199
0.422199
0
0.006774
0.237573
1,549
50
83
30.98
0.809483
0.151065
0
0.366667
0
0
0.300963
0
0
0
0
0
0
1
0.1
false
0
0.033333
0
0.366667
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
20cf19c220c9e244648b1599487f047cd24ebb59
4,623
py
Python
blog/models.py
florimondmanca/personal-api
6300f965d3f51d1bf5f10cf1eb15d673bd627631
[ "MIT" ]
4
2018-08-17T08:06:06.000Z
2020-02-20T15:15:56.000Z
blog/models.py
florimondmanca/personal-api
6300f965d3f51d1bf5f10cf1eb15d673bd627631
[ "MIT" ]
2
2018-10-08T15:59:58.000Z
2018-10-20T16:50:13.000Z
blog/models.py
florimondmanca/personal-api
6300f965d3f51d1bf5f10cf1eb15d673bd627631
[ "MIT" ]
1
2019-09-14T23:15:10.000Z
2019-09-14T23:15:10.000Z
"""Blog models.""" from typing import Union from django.contrib.postgres.fields import ArrayField from django.db import models from django.utils import timezone from django.utils.text import Truncator, slugify from markdownx.models import MarkdownxField from .dbfunctions import Unnest from .signals import post_publ...
33.021429
79
0.653472
579
4,623
5.105354
0.307427
0.018268
0.009134
0.014208
0.126522
0.111637
0.075778
0.075778
0.075778
0.075778
0
0.003115
0.23621
4,623
139
80
33.258993
0.834041
0.233182
0
0.076923
0
0
0.031176
0
0
0
0
0
0
1
0.166667
false
0
0.115385
0
0.692308
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
20d20589a9943742a40657aa7ecca6a92ff061ab
10,688
py
Python
peregrinearb/utils/single_exchange.py
kecheon/peregrine
3d308ff3134bc00900421b248f9f93d7ad31ddb6
[ "MIT" ]
954
2018-02-19T23:20:08.000Z
2022-03-28T16:37:43.000Z
peregrinearb/utils/single_exchange.py
edouardkombo/peregrine
a3346e937d417acd91468884ee1fc14586cf317d
[ "MIT" ]
55
2018-02-17T00:12:03.000Z
2021-11-09T03:57:34.000Z
peregrinearb/utils/single_exchange.py
edouardkombo/peregrine
a3346e937d417acd91468884ee1fc14586cf317d
[ "MIT" ]
307
2018-02-24T06:00:13.000Z
2022-03-30T01:28:32.000Z
import asyncio import math import networkx as nx import ccxt.async_support as ccxt import datetime import logging from .logging_utils import FormatForLogAdapter __all__ = [ 'FeesNotAvailable', 'create_exchange_graph', 'load_exchange_graph', ] adapter = FormatForLogAdapter(logging.getLogger('peregrinearb.u...
47.292035
120
0.644835
1,374
10,688
4.869723
0.187773
0.061276
0.023913
0.026902
0.494993
0.481094
0.44388
0.429981
0.403079
0.381856
0
0.00323
0.275917
10,688
225
121
47.502222
0.861352
0.084955
0
0.348101
0
0
0.17547
0.006633
0
0
0
0.013333
0
1
0.006329
false
0.006329
0.044304
0
0.107595
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
20d70585f5c3c218441a7284e243ac4d8d8a6342
1,158
py
Python
ch02/q2-1.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
null
null
null
ch02/q2-1.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
3
2021-03-19T14:35:27.000Z
2021-03-20T16:12:34.000Z
ch02/q2-1.py
iamnicoj/ctci
f71f995cb3d3257d3d58f1f167fcab8eaf84d457
[ "MIT" ]
null
null
null
from linked_list import linked_list #O(N^2) def remove_dups(linked_list): # I can use a sorting structure like a balanced binary search tree # I am going to be just working with the same list if linked_list.count < 1: return True anchor = linked_list.head while anchor is not None: ...
17.029412
70
0.625216
176
1,158
3.982955
0.289773
0.1398
0.099857
0.128388
0.433666
0.386591
0.386591
0.386591
0.386591
0.386591
0
0.021158
0.224525
1,158
68
71
17.029412
0.759465
0.103627
0
0.707317
0
0
0
0
0
0
0
0
0
1
0.02439
false
0
0.02439
0
0.04878
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
20db30683d6b543731d432357e62120eaca639e6
6,272
py
Python
routes/customer.py
trqanees94/braintree_fast
8897aa51821ac4b868076a27fe65a74692d33647
[ "MIT" ]
null
null
null
routes/customer.py
trqanees94/braintree_fast
8897aa51821ac4b868076a27fe65a74692d33647
[ "MIT" ]
null
null
null
routes/customer.py
trqanees94/braintree_fast
8897aa51821ac4b868076a27fe65a74692d33647
[ "MIT" ]
null
null
null
#bson from bson import ObjectId # clients from clients.mongodb import MongoDB # braintree/ stripes gateway from gateway import generate_client_token, transact, find_transaction, find_customer, customer, update_customer ,find_all_customers, \ stripe_customer, update_stripe_customer # flask from fl...
38.243902
134
0.629464
688
6,272
5.396802
0.146802
0.076757
0.040937
0.024239
0.629141
0.464315
0.327767
0.327767
0.327767
0.308645
0
0.002217
0.280931
6,272
163
135
38.478528
0.821064
0.134566
0
0.371681
1
0
0.149656
0.017104
0
0
0
0
0
1
0.026549
false
0
0.035398
0
0.088496
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
20e755a64ee836a08b5fdee412b040a3939be9af
652
py
Python
src/minerva_db/sql/models/group.py
labsyspharm/minerva-db
49c205fc5d9bcc513b4eb21b6493c928ea711fce
[ "MIT" ]
null
null
null
src/minerva_db/sql/models/group.py
labsyspharm/minerva-db
49c205fc5d9bcc513b4eb21b6493c928ea711fce
[ "MIT" ]
2
2018-06-06T13:29:23.000Z
2018-07-25T00:36:38.000Z
src/minerva_db/sql/models/group.py
sorgerlab/minerva-db
49c205fc5d9bcc513b4eb21b6493c928ea711fce
[ "MIT" ]
1
2020-03-06T23:53:42.000Z
2020-03-06T23:53:42.000Z
from sqlalchemy import Column, ForeignKey, String from sqlalchemy.orm import relationship # from sqlalchemy.ext.associationproxy import association_proxy from .subject import Subject class Group(Subject): __mapper_args__ = { 'polymorphic_identity': 'group', } uuid = Column(String(36), ForeignKey...
29.636364
73
0.714724
74
652
6.108108
0.554054
0.09292
0
0
0
0
0
0
0
0
0
0.007449
0.17638
652
21
74
31.047619
0.834264
0.093558
0
0
0
0
0.101868
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
20ea9a3199f5ede3e9ec9371bbc365bff86fc2fb
2,550
py
Python
integration/python/instantiate_docker.py
DomainDrivenArchitecture/dda-smeagol-crate
d2f4a76dde2df416f905a691d2e7b0b80fd282b9
[ "Apache-2.0" ]
2
2019-01-02T08:59:47.000Z
2021-08-05T09:13:46.000Z
integration/python/instantiate_docker.py
DomainDrivenArchitecture/dda-smeagol-crate
d2f4a76dde2df416f905a691d2e7b0b80fd282b9
[ "Apache-2.0" ]
null
null
null
integration/python/instantiate_docker.py
DomainDrivenArchitecture/dda-smeagol-crate
d2f4a76dde2df416f905a691d2e7b0b80fd282b9
[ "Apache-2.0" ]
1
2018-11-27T11:17:03.000Z
2018-11-27T11:17:03.000Z
import docker import sys import os import argparse # Please perform the following steps in order to use this script # 1) Install pyton 3 and pip3: sudo apt install python3-pip python3 # 2) Install the docker sdk with pip: pip3 install docker parser = argparse.ArgumentParser() parser.add_argument("jar", help="relative...
37.5
218
0.688627
376
2,550
4.595745
0.369681
0.046296
0.039352
0.039352
0.144676
0.12037
0.096065
0.060185
0.060185
0.060185
0
0.021511
0.179608
2,550
67
219
38.059701
0.804493
0.287451
0
0.042553
0
0.021277
0.263274
0
0
0
0
0.014925
0
1
0
false
0
0.085106
0
0.085106
0.021277
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
45465c3ae216f2ba2ed2de99dd3ca07f116d36fd
1,982
py
Python
docs/util.py
simplebutneeded/python-measurement
b14f954fc74424ed3b1c9780e089cd91c19be45c
[ "MIT" ]
null
null
null
docs/util.py
simplebutneeded/python-measurement
b14f954fc74424ed3b1c9780e089cd91c19be45c
[ "MIT" ]
null
null
null
docs/util.py
simplebutneeded/python-measurement
b14f954fc74424ed3b1c9780e089cd91c19be45c
[ "MIT" ]
2
2016-09-15T18:36:33.000Z
2019-07-17T17:39:23.000Z
from __future__ import print_function from measurement.base import MeasureBase, BidimensionalMeasure from measurement.utils import get_all_measures for measure in get_all_measures(): classname = measure.__name__ print(classname) print('-' * len(classname)) print() if issubclass(measure, MeasureBas...
36.703704
78
0.55449
200
1,982
5.335
0.4
0.04686
0.033739
0.048735
0
0
0
0
0
0
0
0.011244
0.326942
1,982
53
79
37.396226
0.788606
0
0
0.176471
0
0
0.370838
0.013623
0
0
0
0
0
1
0
false
0
0.078431
0
0.078431
0.529412
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
454f908f7e41a06c5a4c9549749b050cd2e1d924
8,027
py
Python
ipython/attachments/Weave/iterators_example.py
cassiasamp/scipy-cookbook
67c120be33302554edfd7fe7962f3e2773109021
[ "BSD-3-Clause" ]
408
2016-05-26T04:17:59.000Z
2022-03-18T09:19:59.000Z
ipython/attachments/Weave/iterators_example.py
cassiasamp/scipy-cookbook
67c120be33302554edfd7fe7962f3e2773109021
[ "BSD-3-Clause" ]
25
2016-08-28T22:20:53.000Z
2021-11-08T16:37:00.000Z
ipython/attachments/Weave/iterators_example.py
cassiasamp/scipy-cookbook
67c120be33302554edfd7fe7962f3e2773109021
[ "BSD-3-Clause" ]
185
2016-06-05T03:27:49.000Z
2022-01-28T21:14:02.000Z
#!/usr/bin/env python import sys import numpy as npy import pylab as P from scipy.weave import inline, converters, blitz from scipy.testing import measure # Blitz conversion is terrific, but sometimes you don't have fixed array sizes # in your problem. Fortunately numpy iterators still make writing inline # weave code ...
38.22381
109
0.628005
1,195
8,027
4.123013
0.276151
0.02192
0.009742
0.01096
0.198498
0.176172
0.112645
0.060077
0.047087
0.047087
0
0.02889
0.228105
8,027
209
110
38.406699
0.766301
0.286782
0
0.160305
0
0.015267
0.258649
0.048289
0
0
0.0037
0
0
0
null
null
0
0.038168
null
null
0.068702
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
4555051cbfcd1d15b946d4d5c08a4cc547ba96e4
1,755
py
Python
measure.py
mtenenholtz/vehicle_footprint
d4500fcc127ed2c0400537b661a964b1d7fcef51
[ "MIT" ]
null
null
null
measure.py
mtenenholtz/vehicle_footprint
d4500fcc127ed2c0400537b661a964b1d7fcef51
[ "MIT" ]
null
null
null
measure.py
mtenenholtz/vehicle_footprint
d4500fcc127ed2c0400537b661a964b1d7fcef51
[ "MIT" ]
null
null
null
class PixelMeasurer: def __init__(self, coordinate_store, is_one_calib_block, correction_factor): self.coordinate_store = coordinate_store self.is_one_calib_block = is_one_calib_block self.correction_factor = correction_factor def get_distance(self, calibration_length): distance...
50.142857
105
0.723077
221
1,755
5.303167
0.176471
0.099829
0.09727
0.076792
0.554608
0.392491
0.392491
0.319113
0.242321
0.153584
0
0.014094
0.191453
1,755
34
106
51.617647
0.811839
0
0
0.142857
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.035714
0.535714
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
45559cb2010dc718a647583ca7727ca07bebe64f
2,494
py
Python
feedback-Python/models.py
gforghieri/code-demo
7e4faf9d1411d073af360c78387db3f58ea45cf1
[ "MIT" ]
null
null
null
feedback-Python/models.py
gforghieri/code-demo
7e4faf9d1411d073af360c78387db3f58ea45cf1
[ "MIT" ]
null
null
null
feedback-Python/models.py
gforghieri/code-demo
7e4faf9d1411d073af360c78387db3f58ea45cf1
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ class Feature(models.Model): name = models.CharField('Feature Name', max_length=50, blank=True, unique=True) description = models.CharField('Feature Description', max_length=150, blank=True) info_link = models.CharField('...
36.676471
105
0.716119
292
2,494
5.931507
0.256849
0.076212
0.055427
0.069284
0.271363
0.236721
0.18649
0.132217
0.088337
0
0
0.007208
0.165597
2,494
67
106
37.223881
0.825084
0
0
0.163265
0
0
0.122294
0.01684
0
0
0
0
0
1
0
false
0
0.040816
0
0.734694
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
455976b188c8965e37899317a939f416893472f4
727
py
Python
jupyterhub_client/tests/test_async.py
minrk/jupyterhub-client
99b856e81925690d5546fd8457a6e333fb709513
[ "BSD-2-Clause" ]
2
2017-04-06T20:28:31.000Z
2020-03-20T06:51:21.000Z
jupyterhub_client/tests/test_async.py
minrk/jupyterhub-client
99b856e81925690d5546fd8457a6e333fb709513
[ "BSD-2-Clause" ]
2
2017-04-10T09:30:20.000Z
2018-11-22T16:30:03.000Z
jupyterhub_client/tests/test_async.py
minrk/jupyterhub-client
99b856e81925690d5546fd8457a6e333fb709513
[ "BSD-2-Clause" ]
8
2017-04-06T20:28:38.000Z
2021-04-01T13:39:13.000Z
from pytest import fixture from tornado import gen from tornado.ioloop import IOLoop from .conftest import TOKEN from ..async import AsyncJupyterHubClient @fixture def client(app, io_loop): # include io_loop to avoid clear_instance calls resetting the current loop return AsyncJupyterHubClient(TOKEN, url=app....
24.233333
78
0.696011
98
727
5.010204
0.520408
0.03666
0.03666
0
0
0
0
0
0
0
0
0.003442
0.200825
727
29
79
25.068966
0.841652
0.099037
0
0
0
0
0.024615
0
0
0
0
0
0.05
0
null
null
0
0.25
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
455a510ca3f33288b1e82aa99f9b204ab68b6807
3,972
py
Python
get_player.py
jason-sa/baseball_lin_regression
936535693f00b28d17b2b901144dcba8bce45ab9
[ "MIT" ]
null
null
null
get_player.py
jason-sa/baseball_lin_regression
936535693f00b28d17b2b901144dcba8bce45ab9
[ "MIT" ]
null
null
null
get_player.py
jason-sa/baseball_lin_regression
936535693f00b28d17b2b901144dcba8bce45ab9
[ "MIT" ]
null
null
null
''' Script to loop through all baseballrefernce.com pages and store the HTML in data frames ''' import numpy as np import pandas as pd from bs4 import BeautifulSoup from selenium import webdriver from selenium.webdriver.common.keys import Keys from selenium.common.exceptions import TimeoutException import requests imp...
34.241379
117
0.659366
542
3,972
4.625461
0.276753
0.131631
0.196649
0.043877
0.393299
0.305943
0.263662
0.263662
0.22856
0.22856
0
0.009552
0.23565
3,972
116
118
34.241379
0.816206
0.097432
0
0.344828
0
0
0.111547
0.057455
0
0
0
0
0
1
0.022989
false
0.045977
0.149425
0
0.195402
0.08046
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45639632859da23d700860306c51ed0f2069eeb3
7,995
py
Python
pandalog/cmd.py
bitpanda-labs/pandalog
3c2df6bcc8afe20de6a1e9ef8faa560cd6ee03d1
[ "BSD-3-Clause" ]
null
null
null
pandalog/cmd.py
bitpanda-labs/pandalog
3c2df6bcc8afe20de6a1e9ef8faa560cd6ee03d1
[ "BSD-3-Clause" ]
null
null
null
pandalog/cmd.py
bitpanda-labs/pandalog
3c2df6bcc8afe20de6a1e9ef8faa560cd6ee03d1
[ "BSD-3-Clause" ]
null
null
null
"""Pandalog collection of entrypoint scripts Scripts: - pandalog - pandalog-auth To install the collection, use either one of the following options: 1) Build the Dockerfile and run the application 2) Run "python3 setup.py install" The scripts are installed as executable binaries under /usr/local/bin. It is always ...
30.515267
76
0.572358
949
7,995
4.767123
0.174921
0.036472
0.029178
0.055261
0.697171
0.659372
0.645668
0.631963
0.6187
0.59748
0
0.000912
0.313946
7,995
261
77
30.632184
0.823883
0.298061
0
0.774194
0
0
0.130291
0
0
0
0
0
0
1
0.045161
false
0.045161
0.019355
0
0.064516
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45650bfff480eaae33caf9f4aae1e7c37cec59e0
507
py
Python
osf_oauth2_adapter/apps.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
osf_oauth2_adapter/apps.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
osf_oauth2_adapter/apps.py
enrobyn/lookit-api
621fbb8b25100a21fd94721d39003b5d4f651dc5
[ "MIT" ]
null
null
null
import os from django.apps import AppConfig class OsfOauth2AdapterConfig(AppConfig): name = 'osf_oauth2_adapter' # staging by default so people don't have to run OSF to use this. osf_api_url = os.environ.get('OSF_API_URL', 'https://staging-api.osf.io').rstrip('/') + '/' osf_accounts_url = os.environ....
39
110
0.704142
73
507
4.671233
0.534247
0.070381
0.052786
0.087977
0.105572
0
0
0
0
0
0
0.004598
0.142012
507
12
111
42.25
0.77931
0.12426
0
0
0
0
0.355204
0.049774
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
457699cdcae4bafe41114c01a0f125a7668be5fb
5,823
py
Python
tests/processors/test_processors.py
foxis/EasyVision
ffb2ce1a93fdace39c6bcc13c8ae518cec76919e
[ "MIT", "BSD-3-Clause" ]
7
2018-12-27T07:45:31.000Z
2021-06-17T03:49:15.000Z
tests/processors/test_processors.py
itohio/EasyVision
de6a4bb9160cd08278ae9c5738497132a4cd3202
[ "MIT", "BSD-3-Clause" ]
null
null
null
tests/processors/test_processors.py
itohio/EasyVision
de6a4bb9160cd08278ae9c5738497132a4cd3202
[ "MIT", "BSD-3-Clause" ]
3
2019-08-21T03:36:56.000Z
2021-10-08T16:12:53.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import pytest from pytest import raises, approx from EasyVision.vision.base import * from EasyVision.processors.base import * from tests.common import VisionSubclass, ProcessorA, ProcessorB @pytest.mark.main def test_abstract(): with raises(TypeError): Proces...
29.558376
75
0.666667
699
5,823
5.477825
0.118741
0.065814
0.109689
0.066858
0.678506
0.651345
0.600679
0.599634
0.568817
0.528598
0
0.01569
0.211918
5,823
196
76
29.709184
0.818697
0.007213
0
0.547297
0
0
0.048797
0
0
0
0
0
0.432432
1
0.094595
false
0
0.033784
0
0.128378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
457a7a556af7a4b160da5ec709717168732be108
559
py
Python
python/udp_socket_emit.py
draconicfae/godot_daydream_controller
81b6b78583264c9e5d383fe7691a6836deaea7a7
[ "MIT" ]
null
null
null
python/udp_socket_emit.py
draconicfae/godot_daydream_controller
81b6b78583264c9e5d383fe7691a6836deaea7a7
[ "MIT" ]
null
null
null
python/udp_socket_emit.py
draconicfae/godot_daydream_controller
81b6b78583264c9e5d383fe7691a6836deaea7a7
[ "MIT" ]
null
null
null
import socket import json class udp_emit: def __init__(self, host, port): self.sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) self.sock.connect((host, port)) def emit(self, datadict): try: self.sock.sendall(json.dumps(datadict).encode()) ...
34.9375
161
0.617174
75
559
4.506667
0.653333
0.071006
0
0
0
0
0
0
0
0
0
0
0.298748
559
15
162
37.266667
0.862245
0.329159
0
0
0
0
0
0
0
0
0
0
0
1
0.181818
false
0.090909
0.181818
0
0.454545
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
457b9730f9e55cce329d265159d8b2efc07ce3bc
133
py
Python
recuEuclid.py
azyxb/info
d34555abe55895751272e0ad129c7fb79f9613b0
[ "MIT" ]
2
2019-12-14T10:54:38.000Z
2020-03-30T22:57:11.000Z
recuEuclid.py
azyxb/info
d34555abe55895751272e0ad129c7fb79f9613b0
[ "MIT" ]
null
null
null
recuEuclid.py
azyxb/info
d34555abe55895751272e0ad129c7fb79f9613b0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 def gcd(a, b): if a == 0 : return b return gcd(b%a, a) a = 12000 b = 8642 print(gcd(a, b))
12.090909
23
0.511278
26
133
2.615385
0.538462
0.117647
0.147059
0
0
0
0
0
0
0
0
0.120879
0.315789
133
10
24
13.3
0.626374
0.157895
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.428571
0.142857
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
458360f058f7cad1d028a83c610e0b3f7525ff76
1,246
py
Python
easycron/easycron/plist.py
skeptycal/.dotfiles
ef6d4e47f77a12024587ed24a0c3048fe5b60ed1
[ "MIT" ]
5
2019-10-03T21:25:42.000Z
2022-03-30T16:14:20.000Z
easycron/easycron/plist.py
skeptycal/.dotfiles
ef6d4e47f77a12024587ed24a0c3048fe5b60ed1
[ "MIT" ]
6
2019-07-11T00:23:08.000Z
2020-12-15T06:21:19.000Z
easycron/easycron/plist.py
skeptycal/.dotfiles
ef6d4e47f77a12024587ed24a0c3048fe5b60ed1
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import datetime import plistlib import tempfile import time from os import PathLike from typing import Dict, Union pl = dict( aString="Doodah", aList=["A", "B", 12, 32.1, [1, 2, 3]], aFloat=0.1, anInt=728, aDict=dict( anotherString="<hello & hi there!>", aThir...
23.074074
70
0.635634
159
1,246
4.842767
0.540881
0.067532
0.046753
0.049351
0.064935
0
0
0
0
0
0
0.018908
0.235955
1,246
53
71
23.509434
0.789916
0.126003
0
0.102564
0
0
0.098708
0
0
0
0
0
0
0
null
null
0
0.153846
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
458445a4da8ce1297713dbab63280e457ebba263
414
py
Python
symposion/schedule/migrations/0003_remove_presentation_additional_speakers.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
null
null
null
symposion/schedule/migrations/0003_remove_presentation_additional_speakers.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
5
2015-07-16T19:46:00.000Z
2018-03-11T05:58:48.000Z
symposion/schedule/migrations/0003_remove_presentation_additional_speakers.py
pyohio/symposion
f8ec9c7e7daab4658061867d1294c1c126dd2919
[ "BSD-3-Clause" ]
1
2017-01-27T21:18:26.000Z
2017-01-27T21:18:26.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.9 on 2018-06-23 06:06 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('symposion_schedule', '0002_slot_name'), ] operations = [ migrations.RemoveField( ...
20.7
49
0.63285
44
414
5.727273
0.772727
0
0
0
0
0
0
0
0
0
0
0.068182
0.256039
414
19
50
21.789474
0.75
0.164251
0
0
1
0
0.183673
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
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
458576ab2c7f8650e836abcb0b08f9c1ccc55b11
425
py
Python
setup.py
3kwa/datoms
108733769a940b799482270198aa500873aee01c
[ "Unlicense" ]
4
2017-10-27T19:11:23.000Z
2021-02-27T08:18:39.000Z
setup.py
3kwa/datoms
108733769a940b799482270198aa500873aee01c
[ "Unlicense" ]
null
null
null
setup.py
3kwa/datoms
108733769a940b799482270198aa500873aee01c
[ "Unlicense" ]
1
2016-09-02T12:29:45.000Z
2016-09-02T12:29:45.000Z
from setuptools import setup setup( name = 'datoms', version = '0.1.0', description = 'A simplistic, Datomic inspired, SQLite backed, REST influenced, schemaless auditable facts storage.', py_modules = ['datoms'], license = 'unlicense', author = 'Eugene Van den Bulke', author_email = 'euge...
28.333333
120
0.663529
49
425
5.693878
0.857143
0
0
0
0
0
0
0
0
0
0
0.011765
0.2
425
14
121
30.357143
0.808824
0
0
0
0
0
0.484706
0.065882
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
45857d1509e13e72b89d409aa8c1b7c1595621d3
2,728
py
Python
cocoa_folder/scripts/bot_bot_chat.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
12
2021-03-17T05:15:33.000Z
2022-01-19T06:09:21.000Z
cocoa_folder/scripts/bot_bot_chat.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
2
2021-05-25T07:28:46.000Z
2022-02-11T01:54:43.000Z
cocoa_folder/scripts/bot_bot_chat.py
s-akanksha/DialoGraph_ICLR21
d5bbc10b2623c9f84d21a99a5e54e7dcfdfb1bcc
[ "Apache-2.0" ]
4
2021-10-11T03:39:38.000Z
2022-02-01T23:58:50.000Z
''' Takes two agent implementations and generates the dialogues. ''' import argparse import random import json import numpy as np from cocoa.core.util import read_json from cocoa.core.schema import Schema from cocoa.core.scenario_db import ScenarioDB, add_scenario_arguments from cocoa.core.dataset import add_dataset_...
41.333333
125
0.69868
363
2,728
5.019284
0.316804
0.044457
0.046652
0.029638
0.045005
0.045005
0
0
0
0
0
0.005912
0.193915
2,728
65
126
41.969231
0.822647
0.039589
0
0.039216
1
0
0.073535
0
0
0
0
0
0
1
0.019608
false
0
0.215686
0
0.254902
0.039216
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
458a562e22dcc2a1d067069337d7d494ddd4941f
3,277
py
Python
Views/Affichage/transitionView.py
yvesjordan06/automata-brains
1c34dd9315fcee7ce1807a2b94a0ec48421d03b1
[ "MIT" ]
3
2020-01-31T15:54:48.000Z
2020-02-01T10:01:35.000Z
Views/Affichage/transitionView.py
Tcomputer5/automata-brains
6c2a7714d1fcb16763084a33a2f0f1364d4f8eb8
[ "MIT" ]
null
null
null
Views/Affichage/transitionView.py
Tcomputer5/automata-brains
6c2a7714d1fcb16763084a33a2f0f1364d4f8eb8
[ "MIT" ]
2
2020-02-01T09:59:51.000Z
2020-02-01T10:02:12.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'UI/transitionView.ui' # # Created by: PyQt5 UI code generator 5.14.1 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets from PyQt5.QtGui import QIcon from Models.Automate import Automate ...
32.77
120
0.64968
348
3,277
5.982759
0.344828
0.09366
0.055716
0.048991
0.098463
0.079731
0
0
0
0
0
0.006523
0.25145
3,277
99
121
33.10101
0.842234
0.080867
0
0
1
0
0.039627
0.007659
0
0
0
0
0
1
0.060606
false
0
0.060606
0
0.136364
0.015152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
458b63ce9f8114bff2c526efb8cbbe3355958823
380
py
Python
gellifinsta/migrations/0004_rename_local_fname_gellifinsta_file_path.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
gellifinsta/migrations/0004_rename_local_fname_gellifinsta_file_path.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
gellifinsta/migrations/0004_rename_local_fname_gellifinsta_file_path.py
vallka/djellifique
fb84fba6be413f9d38276d89ae84aeaff761218f
[ "MIT" ]
null
null
null
# Generated by Django 3.2.4 on 2021-06-23 14:52 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('gellifinsta', '0003_auto_20210622_1928'), ] operations = [ migrations.RenameField( model_name='gellifinsta', old_name='local...
20
51
0.602632
41
380
5.390244
0.829268
0
0
0
0
0
0
0
0
0
0
0.114815
0.289474
380
18
52
21.111111
0.703704
0.118421
0
0
1
0
0.195195
0.069069
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
458fd8bb6dadc2e31622c1207043cbd32ef38957
2,039
py
Python
utils/visualMap.py
TwelveYC/network-vi
d7a36c21a09eb86276e316193405267e3a9cc78d
[ "MIT" ]
14
2020-05-13T10:04:02.000Z
2020-12-27T05:42:05.000Z
utils/visualMap.py
TwelveYC/network-vi
d7a36c21a09eb86276e316193405267e3a9cc78d
[ "MIT" ]
null
null
null
utils/visualMap.py
TwelveYC/network-vi
d7a36c21a09eb86276e316193405267e3a9cc78d
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt import matplotlib.colors as colors class MapColorControl(): def __init__(self, colour_scheme, map_normalization,data): self.colors = plt.get_cmap(colour_scheme)(range(256))[:,:3] self.data = data if self.data.min() <= 0: self.d...
41.612245
104
0.62972
267
2,039
4.700375
0.228464
0.159363
0.087649
0.071713
0.662948
0.635857
0.635857
0.610359
0.610359
0.610359
0
0.009554
0.230015
2,039
49
105
41.612245
0.789809
0
0
0.428571
0
0
0.02549
0
0
0
0
0
0
1
0.119048
false
0
0.071429
0
0.309524
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
459906e9c61347117a3af63208abe4d1417e1da0
541
py
Python
environments/migrations/0003_auto_20201228_1616.py
Teosidonio/Data_Solution
94a898b7939b3bdb0fe92df97aa833c1fc7394a3
[ "MIT" ]
null
null
null
environments/migrations/0003_auto_20201228_1616.py
Teosidonio/Data_Solution
94a898b7939b3bdb0fe92df97aa833c1fc7394a3
[ "MIT" ]
null
null
null
environments/migrations/0003_auto_20201228_1616.py
Teosidonio/Data_Solution
94a898b7939b3bdb0fe92df97aa833c1fc7394a3
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-12-28 14:16 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('environments', '0002_auto_20201228_1548'), ] operations = [ migrations.AlterModelOptions( name='environments', options={'order...
23.521739
84
0.582255
51
541
6
0.72549
0.104575
0.078431
0
0
0
0
0
0
0
0
0.078329
0.292052
541
22
85
24.590909
0.720627
0.079482
0
0.125
1
0
0.229839
0.046371
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
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
459a1e6b7e0fdf087cd3f288de2eb4f069687538
722
py
Python
code_all/day17/homework/exercise02.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day17/homework/exercise02.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
code_all/day17/homework/exercise02.py
testcg/python
4db4bd5d0e44af807d2df80cf8c8980b40cc03c4
[ "MIT" ]
null
null
null
""" 迭代器 --> yield """ class CommodityController: def __init__(self): self.__commoditys = [] def add_commodity(self, cmd): self.__commoditys.append(cmd) def __iter__(self): index = 0 yield self.__commoditys[index] index += 1 yield self.__commoditys[in...
19
38
0.621884
73
722
5.739726
0.438356
0.167064
0.136038
0.171838
0.200477
0.200477
0.200477
0.200477
0.200477
0.200477
0
0.005639
0.263158
722
37
39
19.513514
0.781955
0.225762
0
0.277778
0
0
0.018484
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.222222
0.055556
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
45a1215c7fb379ec9d3e7cd1d0925e710f781704
1,117
py
Python
source/server/annotation/migrations/0002_auto_20200622_0656.py
shizacat/shanno
e370dc1bf8a884d8ee5538b702b39275751e5f5d
[ "MIT" ]
1
2020-08-27T12:48:47.000Z
2020-08-27T12:48:47.000Z
source/server/annotation/migrations/0002_auto_20200622_0656.py
shizacat/shanno
e370dc1bf8a884d8ee5538b702b39275751e5f5d
[ "MIT" ]
5
2021-03-30T12:56:24.000Z
2021-06-27T17:42:28.000Z
source/server/annotation/migrations/0002_auto_20200622_0656.py
shizacat/shanno
e370dc1bf8a884d8ee5538b702b39275751e5f5d
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-22 06:56 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('annotation', '0001_initial'), ] operations = [ migrations.AlterField( model_name='projects', ...
36.032258
148
0.605192
112
1,117
5.901786
0.589286
0.048412
0.06354
0.099849
0.199697
0.199697
0.199697
0.199697
0.199697
0.199697
0
0.02515
0.252462
1,117
30
149
37.233333
0.766467
0.040286
0
0.083333
1
0
0.196262
0.020561
0
0
0
0
0
1
0
false
0
0.083333
0
0.208333
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
45a398c3801e0cae9986d9b12a66be8c29607231
439
py
Python
setup.py
GiorgioBalestrieri/renewables-ninja-client
5c068f07e0e8e972f8802fd0b3ed28466bbf8c23
[ "MIT" ]
1
2020-05-27T14:15:00.000Z
2020-05-27T14:15:00.000Z
setup.py
GiorgioBalestrieri/renewables-ninja-client
5c068f07e0e8e972f8802fd0b3ed28466bbf8c23
[ "MIT" ]
1
2020-05-27T14:27:29.000Z
2020-05-27T14:27:29.000Z
setup.py
GiorgioBalestrieri/renewables-ninja-client
5c068f07e0e8e972f8802fd0b3ed28466bbf8c23
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name = "renewables_ninja_client", version = "0.1.0", description = ("Client for Renewables Ninja API."), author = ["Giorgio Balestrieri"], packages = find_packages(exclude=[ "docs", "tests", "examples", "sandbox", "scripts"]), ...
27.4375
55
0.587699
43
439
5.860465
0.790698
0.095238
0
0
0
0
0
0
0
0
0
0.015385
0.259681
439
16
56
27.4375
0.76
0
0
0
0
0
0.354545
0.113636
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
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
45a5d652cf5968d8ff355947ff4f952cf9d7e299
1,408
py
Python
urls.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
2
2019-02-21T18:29:09.000Z
2021-01-27T14:52:46.000Z
urls.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
3
2018-11-22T08:34:04.000Z
2021-06-01T22:47:19.000Z
urls.py
enisimsar/watchtower-news
222d2e52e76ef32ebb78eb325f4c32b64c0ba1a6
[ "MIT" ]
1
2019-06-13T10:45:46.000Z
2019-06-13T10:45:46.000Z
""" Endpoints """ from handlers.auth import UserHandler, AuthHandler from handlers.base import StaticHandler from handlers.invitations import InvitationHandler, InvitationsHandler, InvitationPostHandler from handlers.logs import LogHandler, LogsHandler from handlers.swagger import SwaggerHandler from handlers.topics im...
26.566038
93
0.666903
136
1,408
6.838235
0.345588
0.060215
0.019355
0
0
0
0
0
0
0
0
0
0.164063
1,408
52
94
27.076923
0.790144
0.303267
0
0
0
0
0.114256
0.023061
0
0
0
0
0
1
0
false
0
0.473684
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
45a961e0e1f604b60a477e34ad903c8057c5ec23
877
py
Python
scripts/ipu/callbacks.py
BastienArcelin/IPU-GPU
dde946686478ce77a06821a1517b5b8206ab8de9
[ "BSD-3-Clause" ]
null
null
null
scripts/ipu/callbacks.py
BastienArcelin/IPU-GPU
dde946686478ce77a06821a1517b5b8206ab8de9
[ "BSD-3-Clause" ]
null
null
null
scripts/ipu/callbacks.py
BastienArcelin/IPU-GPU
dde946686478ce77a06821a1517b5b8206ab8de9
[ "BSD-3-Clause" ]
null
null
null
import sys, os import numpy as np import matplotlib.pyplot as plt from tensorflow.keras.callbacks import Callback, ReduceLROnPlateau, TerminateOnNaN, ModelCheckpoint import tensorflow.keras.backend as K import tensorflow as tf import time ###### Callbacks # Create a callback to compute time spent between 10th and 110t...
31.321429
99
0.616876
119
877
4.487395
0.420168
0.08427
0.059925
0.086142
0.149813
0.149813
0.149813
0.149813
0
0
0
0.059937
0.277081
877
28
100
31.321429
0.782334
0.144812
0
0
0
0
0.054092
0
0
0
0
0
0
1
0.095238
false
0
0.333333
0
0.47619
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
45a9f4fd71c58a688f030ddcf7a969454a4a8652
1,400
py
Python
ag/tests/test_metrics.py
justyre/jus
1339c010ac4499c253061d2cce5e638ec06062bd
[ "MIT" ]
null
null
null
ag/tests/test_metrics.py
justyre/jus
1339c010ac4499c253061d2cce5e638ec06062bd
[ "MIT" ]
null
null
null
ag/tests/test_metrics.py
justyre/jus
1339c010ac4499c253061d2cce5e638ec06062bd
[ "MIT" ]
null
null
null
"""Unit tests for the metrics module.""" import pytest from forest import metrics def test_counter(): """Test counter.""" counter = metrics.Counter() counter.increase() assert counter.count == 1 counter.increase(10) assert counter.count == 11 counter.decrease() assert c...
28.571429
87
0.642143
168
1,400
5.321429
0.321429
0.107383
0.080537
0.042506
0.111857
0.058166
0
0
0
0
0
0.037037
0.209286
1,400
49
88
28.571429
0.770551
0.081429
0
0.121212
0
0
0.07109
0
0
0
0
0
0.424242
1
0.090909
false
0
0.060606
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
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
45acd3a5f2cd6ccaa0b7e6db6bf65eb041445b32
285
py
Python
Day18/turtle_dashed_line.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
Day18/turtle_dashed_line.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
Day18/turtle_dashed_line.py
CodePuzzler/100-Days-Of-Code-Python
4f6da9dabc73f747266ce0e66057d10754ecc54e
[ "MIT" ]
null
null
null
# Day18 of my 100DaysOfCode Challenge # Draw a dashed line using Turtle Graphics from turtle import Turtle, Screen groot = Turtle() for _ in range(15): groot.forward(10) groot.penup() groot.forward(10) groot.pendown() my_screen = Screen() my_screen.exitonclick()
15.833333
42
0.708772
39
285
5.102564
0.641026
0.120603
0.140704
0.190955
0
0
0
0
0
0
0
0.048035
0.196491
285
17
43
16.764706
0.820961
0.266667
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
45b197a9d2ff1bd1c087f9b6df99427829783c26
11,544
py
Python
sdk/python/pulumi_oci/dns/get_resolver_endpoint.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/dns/get_resolver_endpoint.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/dns/get_resolver_endpoint.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...
41.228571
326
0.669179
1,422
11,544
5.175809
0.154712
0.071739
0.046196
0.069293
0.338995
0.253533
0.158967
0.125543
0.083152
0.064674
0
0.001368
0.240385
11,544
279
327
41.376344
0.837952
0.22228
0
0.118919
1
0
0.162533
0.022703
0
0
0
0
0
1
0.108108
false
0
0.027027
0.021622
0.248649
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
45b8989508eca27d897d3e4bed1d5e5680833bf5
295
py
Python
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
5
2019-05-11T05:14:44.000Z
2019-09-07T10:22:53.000Z
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
161
2019-09-09T07:30:25.000Z
2022-03-14T19:52:43.000Z
app/api/auth/api_v1/scheme.py
renovate-tests/pol
dca9aa4ce34273575d69a140dc3bb1d2ac14ecbf
[ "MIT" ]
3
2019-09-07T13:15:05.000Z
2020-05-06T04:30:46.000Z
from fastapi.security.api_key import APIKeyCookie, APIKeyHeader API_KEY_NAME = "api_key" cookie_scheme = APIKeyCookie(name="bgm-tv-auto-tracker", auto_error=False) API_KEY_HEADER = APIKeyHeader(name="api-key", auto_error=False) API_KEY_COOKIES = APIKeyCookie(name="api-key", auto_error=False)
36.875
74
0.80678
44
295
5.136364
0.431818
0.185841
0.132743
0.150442
0.327434
0.212389
0
0
0
0
0
0
0.074576
295
7
75
42.142857
0.827839
0
0
0
0
0
0.135593
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
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
45bf0a95bab68706143f320e56db3c875bc7a37a
510
py
Python
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
tests/r/test_labour.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import shutil import sys import tempfile from observations.r.labour import labour def test_labour(): """Test module labour.py by downloading labour.csv and testing shape of extracted data has 569 row...
21.25
44
0.75098
72
510
5.041667
0.569444
0.082645
0.132231
0
0
0
0
0
0
0
0
0.019185
0.182353
510
23
45
22.173913
0.851319
0.215686
0
0
0
0
0
0
0
0
0
0
0.066667
1
0.066667
false
0
0.466667
0
0.533333
0.066667
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
45c2c705433f6454e6ff7fae79f52f092ad52824
2,503
py
Python
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
8
2015-02-14T04:30:16.000Z
2019-07-10T05:06:49.000Z
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
2
2015-02-20T12:16:54.000Z
2017-09-21T10:02:53.000Z
tests/test_lists.py
al3xandru/html2md
fe9c49c7a263f4236a057763d9ad68d237e8cf15
[ "RSA-MD" ]
4
2016-02-06T04:28:16.000Z
2021-04-22T00:12:39.000Z
import unittest from context import html2md from assertions import assertEq __author__ = 'alex' class SpecialListsTest(unittest.TestCase): def test_text_and_paragraph(self): in_html = '''<ul> <li>item 1</li> <li>item 2 <p>item 2 paragraph</p> <p>item 2 item 2</p> </li> <li>item 3</li> </ul>''' ...
17.143836
72
0.581302
367
2,503
3.803815
0.158038
0.071633
0.100287
0.04298
0.606017
0.552292
0.544413
0.544413
0.508596
0.39255
0
0.038172
0.256892
2,503
146
73
17.143836
0.712366
0
0
0.522936
0
0
0.621006
0
0
0
0
0
0.055046
1
0.055046
false
0
0.027523
0.009174
0.100917
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
45d13bddb4847d731177692bebac88cbbf7f4d4b
1,344
py
Python
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
43
2016-06-29T15:55:36.000Z
2022-03-07T03:18:45.000Z
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
12
2016-06-29T12:37:01.000Z
2021-07-06T18:58:00.000Z
scripts/collapse_subtypes.py
edawson/rkmh
ea3d2e6791e8202ec0e487e648c0182f1766728b
[ "MIT" ]
8
2016-09-01T17:10:53.000Z
2021-02-26T10:55:31.000Z
import sys from collections import Counter ## 5 |strains A1:23146 C:377 B1:546 unclassified:211701 A3:133 A2:212 A4:2230 B2:1052 D2:551 D3:3685 D1:30293 |sketch sketchSize=1000 kmer=16 if __name__ == "__main__": for line in sys.stdin: x_d = Counter() tokens = line.split("|") features = tok...
44.8
141
0.497024
205
1,344
3.107317
0.341463
0.043956
0.070644
0.10989
0.466248
0.4427
0.4427
0.361068
0.150706
0.150706
0
0.071429
0.291667
1,344
29
142
46.344828
0.597689
0.284226
0
0
0
0
0.034555
0
0.045455
0
0
0
0
0
null
null
0
0.090909
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
45d64512716035b616ac8ec0c6bb1bdd8e298d41
974
py
Python
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
2
2019-07-11T23:49:22.000Z
2019-10-31T19:11:45.000Z
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
cbmcfs3_runner/scenarios/static_demand.py
xapple/cbm_runner
ec532819e0a086077475bfd479836a378f187f6f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Written by Lucas Sinclair and Paul Rougieux. JRC biomass Project. Unit D1 Bioeconomy. """ # Built-in modules # # First party modules # from plumbing.cache import property_cached # Internal modules # from cbmcfs3_runner.scenarios.base_scen import Scenario from cbmc...
27.055556
85
0.63655
124
974
4.935484
0.717742
0.035948
0.055556
0
0
0
0
0
0
0
0
0.008997
0.201232
974
35
86
27.828571
0.777635
0.466119
0
0
0
0
0.032746
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.777778
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
45d7be5aecc095fc8c811a04d03b02510ef8c196
1,310
py
Python
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
personalization/shared/utils.py
alshedivat/federated
100f0e0940282818c42c39156407ae419f26de50
[ "Apache-2.0" ]
null
null
null
# Copyright 2021, Maruan Al-Shedivat. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
40.9375
78
0.772519
186
1,310
5.360215
0.586022
0.060181
0.026078
0.032096
0.144433
0.144433
0.144433
0.144433
0.144433
0.144433
0
0.007306
0.164122
1,310
31
79
42.258065
0.903196
0.753435
0
0
0
0
0
0
0
0
0
0.032258
0
1
0.125
false
0
0.125
0
0.25
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
45d82914df1d0506310b57788fd50743db64c8a9
2,635
py
Python
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
5
2019-02-25T20:10:18.000Z
2019-04-24T20:21:04.000Z
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
28
2019-02-26T13:50:52.000Z
2019-04-24T20:10:29.000Z
vars/Staging_security_port_scanning.py
rlennon/Doodle
60b1645fd327192848c4daaccb572fa456974526
[ "MIT" ]
6
2019-02-28T20:54:09.000Z
2019-04-06T22:18:50.000Z
import sys, os, socket class Ssh_Util: def port_scan(self, remote_host_ip): def print_box(print_line): print("-" * 78) print(print_line) print("-" * 78) # Validate the IP of the remote host # remote_host_ip = "172.28.25.122" # Using the range ...
36.09589
123
0.470209
300
2,635
4.003333
0.34
0.058285
0.049958
0.026644
0.155704
0.155704
0.141549
0.044963
0
0
0
0.035317
0.419734
2,635
73
124
36.09589
0.750164
0.08425
0
0.196721
0
0
0.185631
0
0
0
0
0
0
1
0.04918
false
0
0.016393
0
0.081967
0.409836
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
45dbe199ff3f79ba88ba30ee2d67fa4703fdbf6b
3,556
py
Python
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
null
null
null
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
5
2021-03-19T01:58:15.000Z
2021-09-22T18:52:59.000Z
app/settings/dev.py
Pixsel1/movie-warehouse
038c061aa565365ff45dc10bc2c4ab58fdf11f01
[ "MIT" ]
null
null
null
import logging import os import sentry_sdk # NOQA from sentry_sdk.integrations.django import DjangoIntegration # NOQA logger = logging.getLogger(__name__) logger.setLevel(logging.DEBUG) logger.debug("loading settings dev.py") # Build paths inside the project like this: os.path.join(BASE_DIR, ...) BASE_DIR = os.pa...
26.340741
90
0.702193
393
3,556
6.19084
0.417303
0.080148
0.048911
0.041102
0.158241
0.138101
0.05672
0.032881
0.032881
0
0
0.006036
0.161417
3,556
134
91
26.537313
0.809859
0.172947
0
0
0
0.012048
0.520041
0.37136
0
0
0
0
0
1
0
false
0.072289
0.048193
0
0.048193
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
45dff5ae66853bb0ebe532decb37848df59bad29
1,368
py
Python
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
Examples/mouselight_api.py
maithamn/BrainRender
9359ccc5b278f58ee3124bcf75b9ebefe0378bbc
[ "MIT" ]
null
null
null
""" This tutorial shows how to download and render neurons from the MouseLight project using the MouseLightAPI class. You can also download data manually from the neuronbrowser website and render them by passing the downloaded files to `scene.add_neurons`. """ import brainrender brainrender.USE_MORPHO...
45.6
138
0.79386
195
1,368
5.420513
0.523077
0.056764
0.028382
0.062441
0.081362
0
0
0
0
0
0
0.004263
0.142544
1,368
30
139
45.6
0.896846
0.452485
0
0
0
0
0.065187
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
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
45e1b1ddf278cb31a93dc4443d544327d2019794
1,692
py
Python
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
3
2020-12-04T08:48:12.000Z
2020-12-07T17:54:33.000Z
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
5
2020-11-30T03:46:10.000Z
2020-12-03T08:07:27.000Z
runtest/__init__.py
thautwarm/gkdtex
e6e7404b0be503a684aee89f2437770ef7b4b04a
[ "MIT" ]
null
null
null
from gkdtex.wrap import parse from gkdtex.interpreter import Interpreter, CBVFunction from gkdtex.developer_utilities import * import sys src = r""" \newcommand{\GKDCreateId}{\input{|"gkdmgr --op uuid --rt A"}} \makeatletter \newcommand*\GKDNewTemp[2]{ \@ifundefined{GKDTemp#1}{ \expandafter\newcommand\csname G...
25.636364
82
0.663121
207
1,692
5.376812
0.376812
0.079066
0.093441
0.037736
0.093441
0
0
0
0
0
0
0.020464
0.13357
1,692
65
83
26.030769
0.738745
0
0
0.081633
0
0.061224
0.670804
0.332151
0
0
0
0
0
1
0.020408
false
0
0.081633
0
0.102041
0.081633
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
afd925dfee06bf46bcafe0d3b3e160d1c36eddbe
3,940
py
Python
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
2
2020-02-12T20:12:50.000Z
2020-02-12T22:02:53.000Z
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
null
null
null
tests/providers/test_credit_card.py
pablofm/faker
f09ad1128da99ec15510aad79b2bc27f79e3165d
[ "MIT" ]
1
2020-07-12T12:50:15.000Z
2020-07-12T12:50:15.000Z
import re import unittest from faker import Faker from faker.providers.bank.ru_RU import Provider as RuBank class TestCreditCardProvider(unittest.TestCase): def setUp(self): self.fake = Faker(locale='en_US') Faker.seed(0) self.provider = self.fake.provider('faker.providers.credit_card') ...
37.52381
120
0.636802
585
3,940
4.129915
0.158974
0.018212
0.080712
0.09851
0.593957
0.593957
0.541805
0.354719
0.354719
0.262003
0
0.063533
0.217005
3,940
104
121
37.884615
0.719611
0.009391
0
0.3125
0
0.05
0.1181
0.086521
0
0
0
0
0.2
1
0.225
false
0
0.05
0
0.3
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
afdbbfd6b9fd80257fe07451c26105c2209f7e5f
1,803
py
Python
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
2
2021-04-17T06:07:02.000Z
2021-04-17T06:30:14.000Z
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
null
null
null
sheet_names_xlrd.py
patkujawa-wf/excel-file-reverse-engineering
6a1780a62d6fda34964659607e2b299e62066671
[ "MIT" ]
null
null
null
# coding=utf-8 """ > time \ls -1 **/*.xlsx | python sheet_names_xlrd.py > for fname in **/*.xlsx; do time echo $fname | python sheet_names_xlrd.py; done ❯ time echo 'xlsx/SOX Controls Testing Template.xlsx' | python sheet_names_xlrd.py [u'Interim Testing', u'Year End Testing'] echo 'xlsx/SOX Controls Testing Template...
37.5625
94
0.691625
274
1,803
4.427007
0.489051
0.098928
0.052762
0.065952
0.237428
0.201154
0.161583
0.06925
0.06925
0.06925
0
0.096796
0.186356
1,803
47
95
38.361702
0.72938
0.654465
0
0
0
0
0.074135
0
0
0
0
0
0
1
0.066667
false
0
0.333333
0
0.466667
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
afe3566098dc4e4a8a080871d6a7f8b01b9ea714
9,922
py
Python
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
1
2019-02-03T14:55:48.000Z
2019-02-03T14:55:48.000Z
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
null
null
null
server_py_files/data/filestream.py
bopopescu/timing_system_software
11dbb8143dc883507c886a4136cf1de0e3534602
[ "MIT" ]
1
2020-07-23T17:25:41.000Z
2020-07-23T17:25:41.000Z
# -*- coding: utf-8 -*- """ Created on Sat Apr 05 21:26:33 2014 @author: Nate """ import time, datetime, uuid, io, os import xstatus_ready import file_locations import XTSM_Server_Objects import pdb import msgpack import cStringIO import zlib import zipfile import pprint DEFAULT_CHUNKSIZE=100*1000*1000 class FileSt...
42.042373
110
0.606632
1,164
9,922
5.042955
0.229381
0.044974
0.032709
0.018399
0.51414
0.461158
0.38586
0.322147
0.267121
0.252129
0
0.010745
0.277767
9,922
235
111
42.221277
0.808401
0.051804
0
0.372671
0
0.006211
0.093647
0.010251
0
0
0
0
0
0
null
null
0.018634
0.080745
null
null
0.124224
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
afe3c60ac04c3ecfe19a0cf5fecce4f3eaf59c99
559
py
Python
backend/portfolify/wsgi.py
JermyTan/Portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
3
2021-01-16T16:03:49.000Z
2022-03-03T15:11:14.000Z
backend/portfolify/wsgi.py
JermyTan/portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
null
null
null
backend/portfolify/wsgi.py
JermyTan/portfolify
40d86862747699a69e8b1fe55fa5fe0fec0b9776
[ "MIT" ]
null
null
null
""" WSGI config for portfolify project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/3.1/howto/deployment/wsgi/ """ import os import sys from django.core.wsgi import get_wsgi_application # only for dev/test f...
24.304348
78
0.779964
83
559
5.156627
0.650602
0.046729
0.084112
0
0
0
0
0
0
0
0
0.00404
0.11449
559
22
79
25.409091
0.860606
0.420394
0
0
0
0
0.253165
0.06962
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
afe4611c351cf1f11c0820aaf3d3d5d4db377839
649
py
Python
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
leetcode/climbingStairs.py
montukv/Coding-problem-solutions
973009c00038cc57500d965871376a60f8c4e0d1
[ "MIT" ]
null
null
null
'''70. Climbing Stairs Easy 3866 127 Add to List Share You are climbing a stair case. It takes n steps to reach to the top. Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb to the top? Note: Given n will be a positive integer. Example 1: Input: 2 Output: 2 ...
17.078947
97
0.647149
131
649
3.206107
0.427481
0.083333
0.07619
0.092857
0.159524
0.142857
0.142857
0.142857
0.142857
0.142857
0
0.07431
0.274268
649
38
98
17.078947
0.81741
0.822804
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
afe80106cb57e7805a34937dd45e9e7caf4d8c02
433
py
Python
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
5
2016-01-30T21:09:21.000Z
2021-08-31T15:17:05.000Z
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
null
null
null
server/run_server.py
juandisay/twisted-docker
c3b317e70100801cbd8f883598484f6b77f56f73
[ "MIT" ]
4
2019-02-25T10:58:45.000Z
2020-04-21T23:56:32.000Z
from twisted.application import service, internet from server import HTTPEchoFactory import os # default port in case of the env var not was properly set. ECHO_SERVER_PORT = 8000 proxy_port = int(os.environ.get('ECHO_SERVER_PORT', ECHO_SERVER_PORT)) application = service.Application('TwistedDockerized') fa...
33.307692
71
0.796767
55
433
6.127273
0.563636
0.089021
0.124629
0
0
0
0
0
0
0
0
0.01061
0.12933
433
13
72
33.307692
0.883289
0.13164
0
0
0
0
0.090909
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
afeb7607481ba24537f5730e63e67c9233d3bd33
420
py
Python
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
9
2019-12-22T09:06:47.000Z
2022-03-04T10:38:39.000Z
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
2
2020-03-06T19:11:29.000Z
2020-05-03T12:33:09.000Z
hello.py
gwenzek/func_argparser
80afe8eb46c3fa85d0679c13eaad0f2b519d9b62
[ "BSD-3-Clause" ]
1
2020-05-02T15:45:05.000Z
2020-05-02T15:45:05.000Z
"""Say hello or goodbye to the user.""" import func_argparse def hello(user: str, times: int = None): """Say hello. Arguments: user: name of the user """ print(f"Hello {user}" * (1 if times is None else times)) def bye(user: str, see_you: float = 1.0): """Say goodbye.""" print(f"Go...
19.090909
60
0.604762
64
420
3.78125
0.515625
0.07438
0
0
0
0
0
0
0
0
0
0.0125
0.238095
420
21
61
20
0.74375
0.228571
0
0
0
0
0.220339
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.428571
0.285714
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
afee20d2b8c7e85de3a27f20ac4aaa7c1fa22ef1
2,242
py
Python
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
6
2015-05-03T10:48:54.000Z
2018-03-06T12:36:02.000Z
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
1
2021-06-01T22:06:45.000Z
2021-06-01T22:06:45.000Z
sample.py
uguratar/pyzico
b779d590b99392df60db7c5e2df832708df9b6a2
[ "MIT" ]
null
null
null
# coding=utf-8 from iyzico import Iyzico from iyzico_objects import IyzicoCard, IyzicoCustomer, \ IyzicoCardToken, IyzicoHTTPException, IyzicoValueException if __name__ == '__main__': my_card = IyzicoCard("4242424242424242", "10", "2015", "000", "Python Test") my_customer = Iyzic...
32.028571
73
0.501784
190
2,242
5.731579
0.336842
0.070707
0.087236
0.105601
0.173554
0.149679
0.121212
0.121212
0
0
0
0.03858
0.421945
2,242
69
74
32.492754
0.801698
0.005352
0
0
0
0
0.099567
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.307692
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
aff207ea4a0a28746ce77ebdc560cc119cfda66c
1,719
py
Python
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
1
2021-10-03T05:30:46.000Z
2021-10-03T05:30:46.000Z
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
null
null
null
apps/blog/resources.py
ride90/eve_features
6cff35f8c4711ae030d6157565e4f0e77a92ab98
[ "MIT" ]
null
null
null
RESOURCES = { 'posts': { 'schema': { 'title': { 'type': 'string', 'minlength': 3, 'maxlength': 30, 'required': True, 'unique': False }, 'body': { 'type': 'string', ...
25.279412
45
0.275742
83
1,719
5.650602
0.39759
0.127932
0.153518
0.140725
0.405117
0.268657
0.268657
0.268657
0.268657
0.268657
0
0.012605
0.584642
1,719
67
46
25.656716
0.644258
0
0
0.469697
0
0
0.236184
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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