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
6927176c9bd80752cfd03cb583815c2bbff1848f
2,194
py
Python
tests/test_rudimentary_server.py
zebr0/zebr0lib
61cf21385210b6d9b5646d3f38d3d4b3a43e4f0c
[ "MIT" ]
null
null
null
tests/test_rudimentary_server.py
zebr0/zebr0lib
61cf21385210b6d9b5646d3f38d3d4b3a43e4f0c
[ "MIT" ]
8
2018-09-07T07:18:34.000Z
2020-12-11T06:39:11.000Z
tests/test_rudimentary_server.py
zebr0/zebr0-core
61cf21385210b6d9b5646d3f38d3d4b3a43e4f0c
[ "MIT" ]
null
null
null
import requests import zebr0 def test_basic_usage(): server = zebr0.TestServer({"key": "value"}) server.start() response = requests.get("http://127.0.0.1:8000/key") assert response.ok assert response.text == "value" server.stop() def test_context_manager_usage(): with zebr0.TestServer...
30.054795
101
0.626709
302
2,194
4.466887
0.18543
0.026686
0.144552
0.160119
0.624166
0.530022
0.530022
0.530022
0.530022
0.475908
0
0.083948
0.196445
2,194
72
102
30.472222
0.681225
0
0
0.428571
0
0
0.244758
0.010027
0
0
0
0
0.346939
1
0.163265
false
0
0.040816
0
0.204082
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
692d626f477d693b64cc2b2a7a3905de2f4039db
762
py
Python
Lessons/Time_Complexity/TapeEquilibrium.py
bartoszwojcik/codility
c40a07bec93fdf21fcc52f93a729916849c7116f
[ "Unlicense" ]
null
null
null
Lessons/Time_Complexity/TapeEquilibrium.py
bartoszwojcik/codility
c40a07bec93fdf21fcc52f93a729916849c7116f
[ "Unlicense" ]
null
null
null
Lessons/Time_Complexity/TapeEquilibrium.py
bartoszwojcik/codility
c40a07bec93fdf21fcc52f93a729916849c7116f
[ "Unlicense" ]
null
null
null
import time # TapeEquilibrium (Easy), O(N) def solution(A): first_part = 0 second_part = sum(A) minimum = None for element in A[:-1]: first_part += element second_part -= element distance = abs(first_part - second_part) if minimum is None or distance < minimum: ...
20.594595
52
0.551181
107
762
3.794393
0.373832
0.118227
0.192118
0.133005
0.394089
0.305419
0.246305
0.246305
0.246305
0.246305
0
0.051233
0.308399
762
36
53
21.166667
0.719165
0.036745
0
0.321429
0
0
0.010929
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.107143
0.214286
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
693c35a58337ff1c0a3c2ab264ac6b8eb0b5c3fe
2,032
py
Python
tutorials/tutorial-6-hodmd.py
mfarthin/PyDMD
ac2c800cfa9fb23ab110d2b2957b5681e2aa5055
[ "MIT" ]
451
2017-10-17T07:16:07.000Z
2022-03-24T02:48:12.000Z
tutorials/tutorial6/tutorial-6-hodmd.py
ndem0/PyDMD
fd7a3b595aa0a6ae32d9ce033f45d559771849a3
[ "MIT" ]
80
2018-01-03T21:33:55.000Z
2022-03-23T16:02:19.000Z
tutorials/tutorial6/tutorial-6-hodmd.py
ndem0/PyDMD
fd7a3b595aa0a6ae32d9ce033f45d559771849a3
[ "MIT" ]
201
2017-10-17T07:16:09.000Z
2022-03-30T14:47:53.000Z
import matplotlib.pyplot as plt import numpy as np import time from pydmd import HODMD def myfunc(x): return np.cos(x)*np.sin(np.cos(x)) + np.cos(x*.2) x = np.linspace(0, 10, 64) y = myfunc(x) snapshots = y plt.plot(x, snapshots, '.') plt.show() hodmd = HODMD(svd_rank=0, exact=True, opt=True, d=30).fit(snapsh...
33.866667
110
0.674213
323
2,032
4.142415
0.232198
0.06577
0.071749
0.044843
0.71151
0.621824
0.621824
0.621824
0.621824
0.621824
0
0.038677
0.122047
2,032
59
111
34.440678
0.711323
0
0
0.456522
0
0
0.086614
0
0
0
0
0
0
1
0.021739
false
0
0.086957
0.021739
0.130435
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
6944b20ddee3f3079db7923fc41d12f142541a2f
401
py
Python
Doctor/migrations/0003_alter_doctor_id.py
s0hailAnsari/ARCIT
b1d6a0596efaa887a498c518e6a387adc7ec12c6
[ "MIT" ]
null
null
null
Doctor/migrations/0003_alter_doctor_id.py
s0hailAnsari/ARCIT
b1d6a0596efaa887a498c518e6a387adc7ec12c6
[ "MIT" ]
20
2021-04-19T11:31:48.000Z
2021-09-07T07:51:10.000Z
Doctor/migrations/0003_alter_doctor_id.py
s0hailAnsari/ARCIT
b1d6a0596efaa887a498c518e6a387adc7ec12c6
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-18 09:42 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Doctor', '0002_doctor_created_on'), ] operations = [ migrations.AlterField( model_name='doctor', name='id', ...
21.105263
73
0.608479
43
401
5.55814
0.790698
0
0
0
0
0
0
0
0
0
0
0.062284
0.279302
401
18
74
22.277778
0.764706
0.107232
0
0
1
0
0.101124
0.061798
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
69456ac834239694dd4dfb5a4e347f3fe34b8177
308
py
Python
aula07/ex08.py
FelipeMachad0/python
20b4e4264beca6914815c5c4c11ec7805d99e8d2
[ "MIT" ]
1
2021-12-10T21:48:12.000Z
2021-12-10T21:48:12.000Z
aula07/ex08.py
FelipeMachad0/python
20b4e4264beca6914815c5c4c11ec7805d99e8d2
[ "MIT" ]
null
null
null
aula07/ex08.py
FelipeMachad0/python
20b4e4264beca6914815c5c4c11ec7805d99e8d2
[ "MIT" ]
null
null
null
largura = float(input('insira a largura da parede: ')) altura = float(input('insira a altura da parede: ')) m2 = largura * altura tinta = m2/2 print('sua parede tem dimensão de {}x{} e sua área é de {}m²'.format(largura, altura, m2)) print('para pintar sua parede você precisa de {}l de tinta'.format(tinta))
51.333333
90
0.704545
52
308
4.173077
0.5
0.092166
0.147465
0.156682
0
0
0
0
0
0
0
0.019157
0.152597
308
6
91
51.333333
0.812261
0
0
0
0
0
0.514563
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
6949df608e94d5cbbf3045a533f120ed4580a4c2
1,903
py
Python
asyncKirara/skills.py
EthanSk13s/async-kirara
3b69b60ed5508e9ca013e18a73b4898be050a9cb
[ "MIT" ]
1
2019-10-24T03:20:54.000Z
2019-10-24T03:20:54.000Z
asyncKirara/skills.py
EthanSk13s/async-kirara
3b69b60ed5508e9ca013e18a73b4898be050a9cb
[ "MIT" ]
null
null
null
asyncKirara/skills.py
EthanSk13s/async-kirara
3b69b60ed5508e9ca013e18a73b4898be050a9cb
[ "MIT" ]
null
null
null
class Skill: def __init__(self, skill_data: dict): self.id = skill_data['id'] self.name = skill_data['skill_name'] self.explain = skill_data['explain'] self.en_explain = skill_data['explain_en'] self.skill_type = skill_data['skill_type'] self.judge_type = skill_data[...
38.06
66
0.662112
259
1,903
4.440154
0.138996
0.289565
0.067826
0.08
0.215652
0.215652
0.215652
0.215652
0.215652
0.215652
0
0.00672
0.218077
1,903
49
67
38.836735
0.766129
0
0
0.205128
0
0
0.182344
0
0
0
0
0
0
1
0.051282
false
0.025641
0
0
0.102564
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
694a3cbfdc9972d27e643914c10fe3ebd2ebf0de
1,886
py
Python
climlab/process/energy_budget.py
rabernat/climlab
d4af28f5850005aaa8fe1e17f0ae6182a4e25865
[ "MIT" ]
1
2021-08-19T19:40:19.000Z
2021-08-19T19:40:19.000Z
climlab/process/energy_budget.py
lijunde/climlab
d4af28f5850005aaa8fe1e17f0ae6182a4e25865
[ "MIT" ]
null
null
null
climlab/process/energy_budget.py
lijunde/climlab
d4af28f5850005aaa8fe1e17f0ae6182a4e25865
[ "MIT" ]
2
2021-05-06T21:11:19.000Z
2021-08-19T19:40:20.000Z
import numpy as np from climlab.process.time_dependent_process import TimeDependentProcess class EnergyBudget(TimeDependentProcess): '''Parent class for explicit energy budget processes. Solves equations like C dT/dt = (flux convergence) Every EnergyBudget object has a heat_capacity dictionary with it...
38.489796
77
0.671792
225
1,886
5.444444
0.413333
0.058776
0.04898
0.053878
0.213061
0.137143
0.109388
0.109388
0.109388
0.109388
0
0.002809
0.244963
1,886
48
78
39.291667
0.857444
0.326087
0
0.4
0
0
0.006525
0
0
0
0
0
0
1
0.2
false
0.066667
0.066667
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
695834ff5221c042c9f28f5ac35fea74f77a3ad1
191
py
Python
base_template/urls.py
gergerov/easy_django
98eea5d5c2be36c5b3ac6497d803d18d4a811ded
[ "MIT" ]
null
null
null
base_template/urls.py
gergerov/easy_django
98eea5d5c2be36c5b3ac6497d803d18d4a811ded
[ "MIT" ]
null
null
null
base_template/urls.py
gergerov/easy_django
98eea5d5c2be36c5b3ac6497d803d18d4a811ded
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url, handler404 from .views import test urlpatterns = [ path( "test/" , test , name="test" ), ]
11.9375
44
0.581152
22
191
5.045455
0.545455
0.18018
0
0
0
0
0
0
0
0
0
0.023077
0.319372
191
15
45
12.733333
0.830769
0
0
0
0
0
0.04712
0
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
695ddd47726010cd51d445921cae1c2cb9975b90
727
py
Python
quadlib/test/gpio_test_boss.py
symunona/quadroscope
8bd9591b6e8201daebc9804a9e35204a9a9eb512
[ "MIT" ]
null
null
null
quadlib/test/gpio_test_boss.py
symunona/quadroscope
8bd9591b6e8201daebc9804a9e35204a9a9eb512
[ "MIT" ]
null
null
null
quadlib/test/gpio_test_boss.py
symunona/quadroscope
8bd9591b6e8201daebc9804a9e35204a9a9eb512
[ "MIT" ]
null
null
null
import RPi.GPIO as GPIO import time def blink(n, port, wait = 0.1): for i in range(n): GPIO.output(port,True) # On print '%d 1' % port time.sleep(wait) GPIO.output(port,False) # Off print '%d 0' % port time.sleep(0.5) # GPIO.output(port,T...
22.71875
67
0.596974
109
727
3.917431
0.394495
0.093677
0.131148
0.084309
0.107728
0
0
0
0
0
0
0.026515
0.273728
727
31
68
23.451613
0.782197
0.189821
0
0.1
0
0
0.063752
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
69686b3612287075f64df3385b9ffcad2134d5ce
15,187
py
Python
LR/lr/model/node_config.py
LearningRegistry/LearningRegistry
d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2
[ "Apache-2.0" ]
26
2015-04-14T03:11:58.000Z
2022-01-06T14:31:07.000Z
LR/lr/model/node_config.py
LearningRegistry/LearningRegistry
d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2
[ "Apache-2.0" ]
11
2015-04-03T21:54:03.000Z
2017-05-02T17:20:03.000Z
LR/lr/model/node_config.py
LearningRegistry/LearningRegistry
d9f0a8117a4adb8fcf6bf101d3d58d799463a2e2
[ "Apache-2.0" ]
16
2015-02-11T09:30:18.000Z
2020-11-20T02:06:24.000Z
#!/usr/bin/pyton # Copyright 2011 Lockheed Martin ''' Created on Mar 10, 2011 Base model class for learning registry data model @author: jpoyau ''' import sys import os from subprocess import Popen, PIPE from network import NetworkModel from community import CommunityModel from node import NodeModel from node_st...
44.276968
125
0.612168
1,415
15,187
6.363958
0.164664
0.050639
0.012993
0.010661
0.309717
0.257524
0.215991
0.215991
0.215991
0.214547
0
0.003461
0.315138
15,187
342
126
44.406433
0.862321
0.044775
0
0.215094
0
0
0.059745
0.017327
0
0
0
0
0
0
null
null
0.030189
0.075472
null
null
0.003774
0
0
0
null
0
0
0
0
0
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
6969f3cdbaaa9cb8cfaa5ebb9a04781e5799ac5f
4,195
py
Python
flutterapi/myapp/views.py
michaelfu1/Todolist
b4f729be97aea3c103ab84f6a4b9f45fbd46e7ae
[ "MIT" ]
null
null
null
flutterapi/myapp/views.py
michaelfu1/Todolist
b4f729be97aea3c103ab84f6a4b9f45fbd46e7ae
[ "MIT" ]
null
null
null
flutterapi/myapp/views.py
michaelfu1/Todolist
b4f729be97aea3c103ab84f6a4b9f45fbd46e7ae
[ "MIT" ]
null
null
null
from django.shortcuts import render from django.http import JsonResponse from rest_framework.response import Response from rest_framework.decorators import api_view from rest_framework import status from .serializers import TodolistSerializer from .models import Todolist # GET Data @api_view(['GET']) def a...
45.597826
854
0.682956
798
4,195
3.857143
0.418546
0.022742
0.025991
0.007797
0.225471
0.210526
0.210526
0.176088
0.176088
0.061079
0
0.010163
0.179023
4,195
91
855
46.098901
0.810976
0.037187
0
0.151515
0
0.045455
0.477169
0.257484
0
0
0
0.010989
0
1
0.075758
false
0
0.106061
0.015152
0.287879
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
696d44641bcaaa1f0523a0e54c58b4feac788de3
544
py
Python
update_monitor.py
Jacen-Chou/MongoDBOpera
94cbe908f4096fc3bbeadfdcb30548b3ecdca861
[ "MIT" ]
null
null
null
update_monitor.py
Jacen-Chou/MongoDBOpera
94cbe908f4096fc3bbeadfdcb30548b3ecdca861
[ "MIT" ]
null
null
null
update_monitor.py
Jacen-Chou/MongoDBOpera
94cbe908f4096fc3bbeadfdcb30548b3ecdca861
[ "MIT" ]
1
2019-12-15T07:35:50.000Z
2019-12-15T07:35:50.000Z
import pymongo # 建立Mongodb连接 client = pymongo.MongoClient( "mongodb://202.204.54.23:27017/nfca_db", username='nfca', password='nfca' ) db = client["nfca_db"] col_1 = db["gms_monitor"] col_2 = db['backfill_record'] # 修改所有数据 update_many()方法 for i in range(1, 11): backfill_record = col_2.find_one({"fill...
24.727273
65
0.647059
77
544
4.324675
0.571429
0.168168
0.042042
0
0
0
0
0
0
0
0
0.05
0.191176
544
21
66
25.904762
0.706818
0.0625
0
0
0
0
0.218935
0.072978
0
0
0
0
0
1
0
false
0.0625
0.0625
0
0.0625
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
696e020e3be5c256439c7dbe229a1c871c604a58
3,615
py
Python
user/user/data.py
sirrah23/AddressBook
4b2a8eeadc9ff554ec3f2002772ab480764997a4
[ "MIT" ]
null
null
null
user/user/data.py
sirrah23/AddressBook
4b2a8eeadc9ff554ec3f2002772ab480764997a4
[ "MIT" ]
8
2021-03-09T11:31:31.000Z
2022-02-18T05:11:54.000Z
user/user/data.py
sirrah23/AddressBook
4b2a8eeadc9ff554ec3f2002772ab480764997a4
[ "MIT" ]
null
null
null
"""This file contains the user data object which can be used to read/write from/to the database and to marshall data in formats like JSON. """ import uuid import bcrypt def validate_string(s): if type(s) != str: raise TypeError(f"Expected a value of type string but instead received {type(s).__name__}") ...
33.165138
130
0.638451
456
3,615
4.739035
0.212719
0.116613
0.058306
0.030541
0.05553
0.032392
0.032392
0
0
0
0
0.001906
0.274412
3,615
109
131
33.165138
0.82196
0.037621
0
0.069767
0
0.011628
0.080622
0.00691
0
0
0
0
0
1
0.174419
false
0.360465
0.023256
0.046512
0.395349
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
15ca07c4779d462b97c90296d4615cc9156aa219
637
py
Python
alembic/versions/71aa3c94b7f5_juiceshop_updates.py
JanSkalny/RootTheBox
64f0397dd60cd739270eada16d0db666071d8de6
[ "Apache-2.0" ]
635
2015-01-01T20:04:14.000Z
2022-03-31T16:43:01.000Z
alembic/versions/71aa3c94b7f5_juiceshop_updates.py
JanSkalny/RootTheBox
64f0397dd60cd739270eada16d0db666071d8de6
[ "Apache-2.0" ]
376
2015-01-03T20:19:27.000Z
2022-03-28T16:24:44.000Z
alembic/versions/71aa3c94b7f5_juiceshop_updates.py
JanSkalny/RootTheBox
64f0397dd60cd739270eada16d0db666071d8de6
[ "Apache-2.0" ]
271
2015-01-01T23:57:17.000Z
2022-03-04T13:25:10.000Z
"""JuiceShop Updates Revision ID: 71aa3c94b7f5 Revises: 18d11f218dfe Create Date: 2019-11-14 08:52:52.530520 """ from alembic import op import sqlalchemy as sa # revision identifiers, used by Alembic. revision = "71aa3c94b7f5" down_revision = "18d11f218dfe" branch_labels = None depends_on = None def upgrade(): ...
18.2
44
0.66248
76
637
5.407895
0.565789
0.058394
0.126521
0.184915
0.384428
0.272506
0.272506
0.272506
0.272506
0.272506
0
0.113131
0.22292
637
34
45
18.735294
0.717172
0.229199
0
0.3
0
0
0.120083
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.2
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15d34f710152dd62aa218ccfa4f27e43ac5dc0da
3,194
py
Python
farmer/ncc/augmentation/segmentation_aug.py
tamahassam/farmer
512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4
[ "Apache-2.0" ]
null
null
null
farmer/ncc/augmentation/segmentation_aug.py
tamahassam/farmer
512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4
[ "Apache-2.0" ]
null
null
null
farmer/ncc/augmentation/segmentation_aug.py
tamahassam/farmer
512c6fcd5dc5aa223a0fad02527d8000a4cc9ab4
[ "Apache-2.0" ]
null
null
null
from tensorflow.keras.preprocessing import image import numpy as np from .augment_and_mix import augment_and_mix import albumentations def segmentation_alb(input_image, label, mean, std, augmentation_dict): transforms = get_aug(augmentation_dict) if len(transforms) > 0: aug = albumentations.Compose(t...
34.717391
77
0.624296
366
3,194
5.215847
0.311475
0.06286
0.028811
0.045574
0.173913
0.110005
0.067051
0.027239
0
0
0
0.004365
0.282718
3,194
91
78
35.098901
0.828896
0.074202
0
0.111111
0
0
0.018214
0
0
0
0
0.010989
0
1
0.047619
false
0
0.063492
0
0.174603
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
15d9886017bdd5a97a822cdd802f67790f5309b8
792
py
Python
pyobs/interfaces/IAltAz.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
4
2020-02-14T10:50:03.000Z
2022-03-25T04:15:06.000Z
pyobs/interfaces/IAltAz.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
60
2020-09-14T09:10:20.000Z
2022-03-25T17:51:42.000Z
pyobs/interfaces/IAltAz.py
pyobs/pyobs-core
e3401e63eb31587c2bc535f7346b7e4ef69d64ab
[ "MIT" ]
2
2020-10-14T09:34:57.000Z
2021-04-27T09:35:57.000Z
from typing import Tuple from .interface import Interface class IAltAz(Interface): """The module can move to Alt/Az coordinates, usually combined with :class:`~pyobs.interfaces.ITelescope`.""" __module__ = 'pyobs.interfaces' def move_altaz(self, alt: float, az: float, *args, **kwargs): """Moves ...
24.75
113
0.606061
94
792
5
0.489362
0.038298
0.029787
0.046809
0.055319
0
0
0
0
0
0
0
0.295455
792
31
114
25.548387
0.842294
0.420455
0
0.222222
0
0
0.059621
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
15deefd69f509f6ef8256335c0fbce892ecde132
2,118
py
Python
container_app_conf/entry/string.py
markusressel/container-app-conf
0f28e4fd4e064b244a5f657372a9b4cfee1e24f4
[ "MIT" ]
2
2019-07-11T23:02:11.000Z
2019-07-14T02:50:59.000Z
container_app_conf/entry/string.py
markusressel/container-app-conf
0f28e4fd4e064b244a5f657372a9b4cfee1e24f4
[ "MIT" ]
28
2019-08-31T00:40:20.000Z
2022-02-14T15:13:34.000Z
container_app_conf/entry/string.py
markusressel/container-app-conf
0f28e4fd4e064b244a5f657372a9b4cfee1e24f4
[ "MIT" ]
3
2019-10-07T13:08:04.000Z
2021-12-25T00:25:12.000Z
# Copyright (c) 2019 Markus Ressel # . # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publis...
43.22449
114
0.711992
301
2,118
4.930233
0.475083
0.059299
0.01752
0.026954
0
0
0
0
0
0
0
0.00484
0.219547
2,118
48
115
44.125
0.892922
0.554769
0
0
0
0
0.037288
0
0
0
0
0
0
1
0.117647
false
0
0.235294
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
15e24da597f10f92da1ea762153d113f8f99e747
2,193
py
Python
countDatapoints.py
dg1223/GestureRecognition
07078b0b8340c8b94f42414efe0ed36158e8c0ea
[ "MIT" ]
2
2019-02-12T17:59:41.000Z
2019-10-27T03:36:08.000Z
countDatapoints.py
dg1223/GestureRecognition
07078b0b8340c8b94f42414efe0ed36158e8c0ea
[ "MIT" ]
null
null
null
countDatapoints.py
dg1223/GestureRecognition
07078b0b8340c8b94f42414efe0ed36158e8c0ea
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed Sep 23 19:35:25 2015 @author: Shamir """ import pandas import os from natsort import natsorted from math import isnan source_left = 'C:\\Users\\Shamir\\Desktop\\Grad\\Participant Study\\Euclidean\\P1\\Left\\' source_right = 'C:\\Users\\Shamir\\Desktop\\Grad...
35.95082
176
0.571819
239
2,193
5.200837
0.447699
0.03218
0.031376
0.030571
0.080451
0.080451
0.080451
0.080451
0.080451
0
0
0.017434
0.346101
2,193
61
177
35.95082
0.849372
0.124943
0
0.060606
0
0
0.153092
0.090018
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.121212
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
15e565005a5176d70f7b1b1ee6f50ada6440867e
28,826
py
Python
investpy/bonds.py
mdarblade/investpy
7ace4ac7693f505c199074de3333f56e6b89cfef
[ "MIT" ]
null
null
null
investpy/bonds.py
mdarblade/investpy
7ace4ac7693f505c199074de3333f56e6b89cfef
[ "MIT" ]
null
null
null
investpy/bonds.py
mdarblade/investpy
7ace4ac7693f505c199074de3333f56e6b89cfef
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Copyright 2018-2019 Alvaro Bartolome @ alvarob96 in GitHub # See LICENSE for details. from datetime import datetime, date import json from random import randint import pandas as pd import pkg_resources import requests import unidecode from lxml.html import fromstring from investpy.utils.user_ag...
43.412651
136
0.623049
3,829
28,826
4.620005
0.114651
0.007914
0.026456
0.00814
0.725099
0.693217
0.662634
0.638666
0.61645
0.587281
0
0.024288
0.278707
28,826
663
137
43.47813
0.82652
0.450531
0
0.707317
0
0.031359
0.266168
0.004677
0
0
0
0
0
1
0.02439
false
0
0.041812
0
0.097561
0
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
15f1aa9c41c7ab91aa91b920924327352781010d
568
py
Python
PointMatcher/__main__.py
daisatojp/PointMatcher
927bd4dd676b18da763ccaab2f429f27de281710
[ "MIT" ]
2
2021-01-05T03:42:50.000Z
2022-03-16T07:17:02.000Z
PointMatcher/__main__.py
daisatojp/PointMatcher
927bd4dd676b18da763ccaab2f429f27de281710
[ "MIT" ]
4
2021-01-07T06:28:01.000Z
2021-01-18T11:59:56.000Z
PointMatcher/__main__.py
daisatojp/PointMatcher
927bd4dd676b18da763ccaab2f429f27de281710
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import argparse from PyQt5.QtGui import * from PyQt5.QtWidgets import * from PointMatcher.__init__ import __appname__ from PointMatcher.mainwindow import MainWindow from PointMatcher.utils.filesystem import icon_path def main(): argparser = argparse.ArgumentParser() args = a...
21.037037
51
0.730634
66
568
5.924242
0.560606
0.122762
0
0
0
0
0
0
0
0
0
0.004211
0.163732
568
26
52
21.846154
0.818947
0.035211
0
0
0
0
0.02011
0
0
0
0
0
0
1
0.055556
false
0
0.388889
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
15f4f3aba1b6463afcd6e554c222787731dbce9d
284
py
Python
app/blueprints/recherche.py
python-carnot/pokemon
131182d40b2df5e86a340ba6c4f267c8808e827b
[ "MIT" ]
null
null
null
app/blueprints/recherche.py
python-carnot/pokemon
131182d40b2df5e86a340ba6c4f267c8808e827b
[ "MIT" ]
null
null
null
app/blueprints/recherche.py
python-carnot/pokemon
131182d40b2df5e86a340ba6c4f267c8808e827b
[ "MIT" ]
1
2020-06-04T06:01:17.000Z
2020-06-04T06:01:17.000Z
from flask import Blueprint, request from app.blueprints.pokemon import pokemons recherche_blueprint = Blueprint('recherche', __name__) @recherche_blueprint.route('/resultat', methods=['GET']) def resultat(): result = request.args n = result['nom'] return pokemons(n)
21.846154
56
0.735915
33
284
6.151515
0.636364
0.17734
0
0
0
0
0
0
0
0
0
0
0.144366
284
12
57
23.666667
0.835391
0
0
0
0
0
0.084507
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.5
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
15fff5a68d24bc0a3acfe7cd0fa6bba182c062d2
687
py
Python
arkanoid/shape.py
Teucka/pythongames
3e068846b19bc800658456133487c6acd93b0861
[ "MIT" ]
null
null
null
arkanoid/shape.py
Teucka/pythongames
3e068846b19bc800658456133487c6acd93b0861
[ "MIT" ]
null
null
null
arkanoid/shape.py
Teucka/pythongames
3e068846b19bc800658456133487c6acd93b0861
[ "MIT" ]
null
null
null
import constants import pygame class Shape: x = None y = None w = None h = None b = None type = None color = None def __init__(self, mType, mX, mY, mW, mH, mB = 0, mColor = constants.BLACK): self.type = mType self.x = (mX - (mW / 2.0)) self.y = (mY - (mH / 2.0)) self.w = mW self.h ...
25.444444
119
0.588064
115
687
3.46087
0.286957
0.062814
0.045226
0.035176
0
0
0
0
0
0
0
0.019231
0.243086
687
27
119
25.444444
0.746154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.521739
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
c60177173938bc3923dbef3f30f306dfde85a6c2
5,592
py
Python
lathermail_client.py
reclosedev/lathermail_client
d20e74e7681f17d780f1b97203339c01bd9ff52a
[ "MIT" ]
null
null
null
lathermail_client.py
reclosedev/lathermail_client
d20e74e7681f17d780f1b97203339c01bd9ff52a
[ "MIT" ]
null
null
null
lathermail_client.py
reclosedev/lathermail_client
d20e74e7681f17d780f1b97203339c01bd9ff52a
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals import logging import datetime import posixpath import requests try: from pytz import utc from dateutil.tz import tzlocal tz_available = True except ImportError: utc = tzlocal = None tz_available = False class LathermailError(Except...
37.530201
118
0.655401
649
5,592
5.386749
0.212635
0.048627
0.030892
0.040046
0.296339
0.191362
0.146739
0.125
0.033753
0.033753
0
0.005135
0.233906
5,592
148
119
37.783784
0.810924
0.009478
0
0.051282
0
0
0.160159
0.045192
0
0
0
0
0
1
0.119658
false
0.059829
0.068376
0.051282
0.324786
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
c6028a84c4087dca13812444e802e205e9bbb0aa
3,790
py
Python
mediaplatform_jwp/admin.py
jbrownrs/issue-376-GDS-link
e8cce1b79f46b98a7d24b2da5eca48430fd904a3
[ "MIT" ]
5
2019-01-07T17:22:34.000Z
2020-10-08T15:03:12.000Z
mediaplatform_jwp/admin.py
jbrownrs/issue-376-GDS-link
e8cce1b79f46b98a7d24b2da5eca48430fd904a3
[ "MIT" ]
203
2017-12-14T09:51:56.000Z
2018-08-28T14:04:08.000Z
mediaplatform_jwp/admin.py
jbrownrs/issue-376-GDS-link
e8cce1b79f46b98a7d24b2da5eca48430fd904a3
[ "MIT" ]
5
2018-10-22T11:36:01.000Z
2020-07-20T05:47:49.000Z
import datetime from django.conf import settings from django.contrib import admin from django.urls import reverse from django.utils.formats import localize from django.utils.html import format_html from automationlookup.models import UserLookup from mediaplatform_jwp.api import delivery as api from .models import Vi...
36.095238
97
0.669657
456
3,790
5.399123
0.309211
0.021933
0.017059
0.021933
0.196994
0.174655
0.174655
0.174655
0.112916
0.112916
0
0.001992
0.205277
3,790
104
98
36.442308
0.815405
0.140369
0
0.205882
0
0
0.176032
0.021732
0
0
0
0
0
1
0.132353
false
0
0.132353
0.029412
0.647059
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c60695cf940f4c2143c94665a8620893cfcab81c
279
py
Python
boj/stack/boj_10773.py
ruslanlvivsky/python-algorithm
2b49bed33cd0e95b8a1e758008191f4392b3f667
[ "MIT" ]
3
2021-07-18T14:40:24.000Z
2021-08-14T18:08:13.000Z
boj/stack/boj_10773.py
jinsuSang/python-algorithm
524849a0a7e71034d329fef63c4f384930334177
[ "MIT" ]
null
null
null
boj/stack/boj_10773.py
jinsuSang/python-algorithm
524849a0a7e71034d329fef63c4f384930334177
[ "MIT" ]
null
null
null
import sys k = int(sys.stdin.readline().strip()) stack = list() for i in range(k): item = int(sys.stdin.readline().strip()) if item == 0: stack.pop() else: stack.append(item) total = 0 for i in stack: total += i sys.stdout.write(str(total))
13.95
44
0.580645
43
279
3.767442
0.534884
0.074074
0.135802
0.234568
0.296296
0
0
0
0
0
0
0.009615
0.25448
279
19
45
14.684211
0.769231
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
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
c6073af49920f5d7c976fa43a616ec9b3951d32b
513
py
Python
quiz.py
ojengwa/feature
4c8f0debca03c79e848bffd2483c64c377879aa3
[ "MIT" ]
null
null
null
quiz.py
ojengwa/feature
4c8f0debca03c79e848bffd2483c64c377879aa3
[ "MIT" ]
null
null
null
quiz.py
ojengwa/feature
4c8f0debca03c79e848bffd2483c64c377879aa3
[ "MIT" ]
null
null
null
from cryptography.fernet import Fernet key = 'TluxwB3fV_GWuLkR1_BzGs1Zk90TYAuhNMZP_0q4WyM=' # Oh no! The code is going over the edge! What are you going to do? message = ( b'gAAAAABb6bzNr5LRGc2MBJxz0cF9EB7_LtOHD9lCwRWuuY2dpdk' b'_V7dLZNevNXDaVMrLgacM5ufgEZGhIR2RzxkDZIpJXGDeaeP7JO' b'iJvocy1Jw_rW-lIYwvO7tO...
28.5
67
0.779727
51
513
7.568627
0.764706
0.046632
0
0
0
0
0
0
0
0
0
0.084091
0.1423
513
18
68
28.5
0.793182
0.126706
0
0
0
0
0.572707
0.55481
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.166667
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c60e3331189cf6c08eb6d874d518388b4b2f0aea
3,059
py
Python
2020/day18/day18.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
2
2020-12-02T20:44:33.000Z
2020-12-09T23:35:35.000Z
2020/day18/day18.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
null
null
null
2020/day18/day18.py
mdelmage/advent2019
eae18fd8010c9816b22578d6eb8988139aef131d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from numpy import prod # Rather than evaluating multiplication before addition, the operators # have the same precedence, and are evaluated left-to-right regardless # of the order in which they appear. def eval_part_one_rules(expr): # Tokenize the expression, and conv...
36.855422
94
0.5966
418
3,059
4.322967
0.354067
0.007748
0.009961
0.018262
0.276702
0.252352
0.230216
0.230216
0.191478
0.191478
0
0.012004
0.291925
3,059
83
95
36.855422
0.822253
0.412553
0
0.232558
0
0
0.055901
0
0
0
0
0
0
0
null
null
0
0.023256
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
c6113364329819b543fddde7be9246df26978635
2,588
py
Python
rotv_apps/heros/migrations/0001_initial.py
ivellios/django-rotv-apps
95aad945debd0e60d210057c0605928483e213a8
[ "MIT" ]
1
2017-12-05T13:24:23.000Z
2017-12-05T13:24:23.000Z
rotv_apps/heros/migrations/0001_initial.py
ivellios/django-rotv-apps
95aad945debd0e60d210057c0605928483e213a8
[ "MIT" ]
9
2017-11-22T23:29:48.000Z
2022-03-11T23:11:34.000Z
rotv_apps/heros/migrations/0001_initial.py
ivellios/django-rotv-apps
95aad945debd0e60d210057c0605928483e213a8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-22 12:30 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Crea...
47.925926
147
0.595054
272
2,588
5.503676
0.444853
0.139613
0.06012
0.048096
0.271877
0.250501
0.250501
0.179025
0.179025
0.179025
0
0.040125
0.258501
2,588
53
148
48.830189
0.739969
0.026275
0
0.266667
1
0
0.19269
0
0
0
0
0
0
1
0
false
0
0.066667
0
0.155556
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
c61bee72a29084d4c684330393885dcbe0c85f5f
2,611
py
Python
dcp/data_format/formats/file_system/csv_file.py
kvh/dcp
1332b0fa44e755202d5f13342e834fe165b36ca5
[ "BSD-3-Clause" ]
3
2021-04-13T22:12:34.000Z
2021-07-17T19:01:08.000Z
dcp/data_format/formats/file_system/csv_file.py
kvh/dcp
1332b0fa44e755202d5f13342e834fe165b36ca5
[ "BSD-3-Clause" ]
1
2021-04-13T22:12:21.000Z
2021-04-13T22:12:21.000Z
dcp/data_format/formats/file_system/csv_file.py
kvh/dcp
1332b0fa44e755202d5f13342e834fe165b36ca5
[ "BSD-3-Clause" ]
null
null
null
from __future__ import annotations import csv from typing import Any, Dict, List, Optional, TextIO, Type, TypeVar, cast import dcp.storage.base as storage import pandas as pd import sqlalchemy as sa import sqlalchemy.types as satypes from commonmodel import ( DEFAULT_FIELD_TYPE, Boolean, Date, DateTim...
30.011494
85
0.688242
333
2,611
5.225225
0.399399
0.036207
0.018966
0.02931
0.15
0.121264
0.088506
0.088506
0.056322
0.056322
0
0.003479
0.229414
2,611
86
86
30.360465
0.861332
0.062428
0
0.058824
0
0
0.006549
0
0
0
0
0.011628
0
1
0.073529
false
0.014706
0.25
0.014706
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
1
0
0
0
0
0
0
0
0
0
0
1
c61c6f0c4b8e6c095129218ec373f17429d0c1de
4,111
py
Python
conwatch/Watch.py
SCECcode/cybershake-tools
eefe5cfeb3d03b5e0a19512c8e0deab6aaecc44f
[ "BSD-3-Clause" ]
null
null
null
conwatch/Watch.py
SCECcode/cybershake-tools
eefe5cfeb3d03b5e0a19512c8e0deab6aaecc44f
[ "BSD-3-Clause" ]
null
null
null
conwatch/Watch.py
SCECcode/cybershake-tools
eefe5cfeb3d03b5e0a19512c8e0deab6aaecc44f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import time import sys import subprocess import sqlite3 from ConWatchConfig import * # DAG information jobid = "Unknown" desc = "Unknown" notify = "Unknown" glideins = "N" # DB information conn = None c = None def isValidDAG(jobid): # Specify the condor_q command to run condorcmd = ...
24.182353
95
0.549988
507
4,111
4.406312
0.353057
0.021934
0.025067
0.030439
0.079678
0.079678
0.079678
0.027753
0
0
0
0.015068
0.338117
4,111
169
96
24.325444
0.805954
0.137679
0
0.236842
0
0
0.164776
0
0
0
0
0
0
0
null
null
0
0.04386
null
null
0.175439
0
0
0
null
0
0
0
0
0
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
c61ccc8bc7a4db638ec5c8c4446160fa879bc1af
824
py
Python
config.py
enohoxha/AxonPy
2c89200cdc1818cdaa4dc9b0fbec68036cb11a4b
[ "Apache-2.0" ]
1
2019-04-03T07:42:43.000Z
2019-04-03T07:42:43.000Z
config.py
enohoxha/Axonpy
2c89200cdc1818cdaa4dc9b0fbec68036cb11a4b
[ "Apache-2.0" ]
null
null
null
config.py
enohoxha/Axonpy
2c89200cdc1818cdaa4dc9b0fbec68036cb11a4b
[ "Apache-2.0" ]
null
null
null
from playgrounds.opencv import face_detection from playgrounds.keras_models.features.dog_cat import detect_dog_cat from playgrounds.keras_models.features.multi_dector import featureDetector from playgrounds.keras_models.features.face_recognition import face_recognition_detector from playgrounds.keras_models.features.gi...
22.888889
88
0.657767
79
824
6.556962
0.367089
0.144788
0.15444
0.200772
0.262548
0
0
0
0
0
0
0.00161
0.246359
824
35
89
23.542857
0.832528
0
0
0.086957
0
0
0.096107
0
0
0
0
0
0
1
0
false
0
0.217391
0
0.217391
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
c620027d241a25ea3aef7bb7258fcc1eae43b77e
419
py
Python
tagspec.py
yamato225/nfcpy-suica-sample
268712b6cd8766d955400614640864b845524e53
[ "MIT" ]
null
null
null
tagspec.py
yamato225/nfcpy-suica-sample
268712b6cd8766d955400614640864b845524e53
[ "MIT" ]
null
null
null
tagspec.py
yamato225/nfcpy-suica-sample
268712b6cd8766d955400614640864b845524e53
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import struct import sys import inspect sys.path.append(os.path.dirname(os.path.abspath(__file__)) + '/nfcpy') import nfc service_code = 0x090f num_blocks = 20 def connected(tag): # tag のメソッド一覧を出す print(type(tag)) print(inspect.getmembers(tag, inspect.i...
17.458333
70
0.720764
59
419
5.016949
0.677966
0.040541
0
0
0
0
0
0
0
0
0
0.019126
0.126492
419
23
71
18.217391
0.789617
0.147971
0
0
0
0
0.053824
0
0
0
0.016997
0
0
1
0.076923
false
0
0.384615
0
0.461538
0.153846
0
0
0
null
0
0
0
0
0
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
c628366caf13658ae0c60daecb092d7b17afab1b
6,008
py
Python
Integration/database_setup.py
jeffcnz/integration-index
799ff5d7177dbe8216eb3d9ade9f17af710115f8
[ "MIT" ]
null
null
null
Integration/database_setup.py
jeffcnz/integration-index
799ff5d7177dbe8216eb3d9ade9f17af710115f8
[ "MIT" ]
null
null
null
Integration/database_setup.py
jeffcnz/integration-index
799ff5d7177dbe8216eb3d9ade9f17af710115f8
[ "MIT" ]
null
null
null
#Setting up database for Integration engine #Starting with sqlAlchemy #Jeff Cooke September 2016 import sys from sqlalchemy import Column, Table, ForeignKey, Integer, String, Numeric from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import relationship from sqlalchemy import create_engine f...
31.78836
84
0.720373
694
6,008
5.966859
0.18732
0.098527
0.108669
0.096595
0.456411
0.426226
0.371891
0.362956
0.319247
0.286404
0
0.017182
0.176598
6,008
189
85
31.78836
0.819891
0.030127
0
0.265152
0
0
0.086382
0.021467
0
0
0
0
0
1
0.007576
false
0
0.05303
0.007576
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c628a0dddf76a383d61b7b0882e25bd3c1b29662
2,063
py
Python
confluent_client/confluent/termhandler.py
brianfinley/confluent
6458eac93b1e3c6d45e26a7ddb434d692b5cdff2
[ "Apache-2.0" ]
27
2015-02-11T13:56:46.000Z
2021-12-28T14:17:20.000Z
confluent_client/confluent/termhandler.py
brianfinley/confluent
6458eac93b1e3c6d45e26a7ddb434d692b5cdff2
[ "Apache-2.0" ]
32
2015-09-23T13:19:04.000Z
2022-03-15T13:50:45.000Z
confluent_client/confluent/termhandler.py
brianfinley/confluent
6458eac93b1e3c6d45e26a7ddb434d692b5cdff2
[ "Apache-2.0" ]
24
2015-07-14T20:41:55.000Z
2021-07-15T04:18:51.000Z
__author__ = 'jbjohnso' # vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2014 Lenovo Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/license...
31.738462
74
0.633543
253
2,063
5.118577
0.573123
0.046332
0.020077
0.02471
0
0
0
0
0
0
0
0.009556
0.289869
2,063
65
75
31.738462
0.874403
0.377121
0
0.243902
0
0
0.037096
0
0
0
0
0
0
1
0.073171
false
0.073171
0.121951
0
0.219512
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
c629a0a289eebd025e88aec52f8dd9813ce5925b
898
py
Python
biochallenge/apps/accounts/views.py
coolmaksat/biochallenge
792e5ad6d4e2d51017219df67c3f4eb7174e8eb6
[ "BSD-2-Clause" ]
null
null
null
biochallenge/apps/accounts/views.py
coolmaksat/biochallenge
792e5ad6d4e2d51017219df67c3f4eb7174e8eb6
[ "BSD-2-Clause" ]
null
null
null
biochallenge/apps/accounts/views.py
coolmaksat/biochallenge
792e5ad6d4e2d51017219df67c3f4eb7174e8eb6
[ "BSD-2-Clause" ]
null
null
null
from django.shortcuts import render from django.urls import reverse from django.views.generic import DetailView, UpdateView from django.contrib.auth.models import User from accounts.forms import UserProfileForm from accounts.models import UserProfile class ProfileDetailView(DetailView): model = User templ...
28.0625
66
0.732739
110
898
5.890909
0.436364
0.061728
0.058642
0.080247
0.169753
0.098765
0.098765
0
0
0
0
0
0.187082
898
31
67
28.967742
0.887671
0
0
0.090909
0
0
0.063474
0.055679
0
0
0
0
0
1
0.136364
false
0
0.272727
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c6370b9f390aa605f830af52fe20a4d7f20dda71
3,881
py
Python
dataflow/XYZ/main.py
violin-1/test
5f63a3ab093ad9366afa2bdb2307ac88349fdb69
[ "MIT" ]
null
null
null
dataflow/XYZ/main.py
violin-1/test
5f63a3ab093ad9366afa2bdb2307ac88349fdb69
[ "MIT" ]
null
null
null
dataflow/XYZ/main.py
violin-1/test
5f63a3ab093ad9366afa2bdb2307ac88349fdb69
[ "MIT" ]
null
null
null
import os import numpy as np import sys import torch # import model sys.path.append(os.path.abspath(".")) import pclpyd as pcl from visualizer.OpencvVis import CVis import importlib # pcd_dir = "../datasets/3dvisionpcl/.XYZ" def set_datactr(datactr): datactr.vis = CVis(grab_pcl_fuc=datactr.get_data, ...
37.317308
122
0.631023
497
3,881
4.758551
0.261569
0.015222
0.018605
0.024101
0.361099
0.282452
0.282452
0.282452
0.249471
0.218182
0
0.038296
0.219531
3,881
104
123
37.317308
0.742489
0.463025
0
0.061224
0
0.020408
0.056539
0.047689
0
0
0
0
0
1
0.122449
false
0.061224
0.163265
0.020408
0.367347
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
c63c0092b95a9db6fefd4187cb573fda3a180947
405
py
Python
server/app/__init__.py
anchit1/flask_react_boilerplate
815c3efc585ef6776cd4d83b39a75734bbd90318
[ "MIT" ]
null
null
null
server/app/__init__.py
anchit1/flask_react_boilerplate
815c3efc585ef6776cd4d83b39a75734bbd90318
[ "MIT" ]
null
null
null
server/app/__init__.py
anchit1/flask_react_boilerplate
815c3efc585ef6776cd4d83b39a75734bbd90318
[ "MIT" ]
null
null
null
import os from flask import Flask from flask_sqlalchemy import SQLAlchemy from flask_migrate import Migrate from config import Config serve_dir = os.path.abspath('./public') app = Flask(__name__, template_folder=serve_dir, static_folder=serve_dir) app.config['SEND_FILE_MAX_AGE_DEFAULT'] = 0 app.config.from_ob...
28.928571
74
0.782716
61
405
4.934426
0.42623
0.089701
0.093023
0
0
0
0
0
0
0
0
0.002857
0.135802
405
14
75
28.928571
0.857143
0
0
0
0
0
0.083969
0.063613
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
c6411a23e98b0f57415b63a80d04010950bf7774
440
py
Python
tweet/models.py
amandalynnes/twitterclone
28638c178e329c597e8848ff42f46aedfa2d0712
[ "MIT" ]
null
null
null
tweet/models.py
amandalynnes/twitterclone
28638c178e329c597e8848ff42f46aedfa2d0712
[ "MIT" ]
null
null
null
tweet/models.py
amandalynnes/twitterclone
28638c178e329c597e8848ff42f46aedfa2d0712
[ "MIT" ]
1
2021-06-30T03:09:03.000Z
2021-06-30T03:09:03.000Z
from django.db import models from twitteruser.models import TwitterUser from django.utils.timezone import now # Create your models here. class Tweet(models.Model): title = models.CharField(max_length=40) body = models.CharField(max_length=140) dt_posted = models.DateTimeField(default=now) posted_by ...
25.882353
83
0.754545
59
440
5.474576
0.627119
0.06192
0.111455
0.148607
0
0
0
0
0
0
0
0.013514
0.159091
440
16
84
27.5
0.859459
0.054545
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.3
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
c64143517903348ad8d998e89c50c220ceee4d1a
19,729
py
Python
fake news challenge (FNC-1)/eval_fnc.py
kishormishra3/DeepLearn
bc0dfad7b4694aa5d872b5bdddd6e3a17d139d7d
[ "MIT" ]
1,756
2017-05-24T12:46:44.000Z
2022-03-30T15:23:26.000Z
fake news challenge (FNC-1)/eval_fnc.py
kshitizbhansali/DeepLearn
e4b72d921695062d5cc84f4968c3fb57e258428f
[ "Apache-2.0" ]
20
2017-05-23T15:23:39.000Z
2019-04-12T18:07:04.000Z
fake news challenge (FNC-1)/eval_fnc.py
kshitizbhansali/DeepLearn
e4b72d921695062d5cc84f4968c3fb57e258428f
[ "Apache-2.0" ]
355
2017-05-29T12:37:19.000Z
2022-01-25T15:23:50.000Z
''' Evaluation code for the SICK dataset (SemEval 2014 Task 1) ''' import numpy as np import os.path from util import * from sklearn.metrics import mean_squared_error as mse from scipy.stats import pearsonr from scipy.stats import spearmanr from sklearn.utils import shuffle from utils.score import report_score from ker...
34.795414
142
0.607177
2,669
19,729
4.278007
0.121019
0.005518
0.007357
0.019268
0.527325
0.456297
0.404362
0.391837
0.376598
0.376598
0
0.0318
0.257236
19,729
567
143
34.795414
0.747373
0.132141
0
0.449153
0
0
0.086123
0.027412
0
0
0
0
0
0
null
null
0
0.062147
null
null
0.050847
0
0
0
null
0
0
0
0
0
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
c648ff3ba2304fc5c748b09f344dceb863032d9f
358
py
Python
crunchyroll-backend/manage.py
gokel166/medelec
e94f1c1e79cf70e7371e68203a7abd5c1c447e01
[ "CC0-1.0" ]
1
2018-03-11T01:00:42.000Z
2018-03-11T01:00:42.000Z
crunchyroll-backend/manage.py
gokel166/medelec
e94f1c1e79cf70e7371e68203a7abd5c1c447e01
[ "CC0-1.0" ]
2
2020-12-07T23:06:59.000Z
2020-12-07T23:07:06.000Z
crunchyroll-backend/manage.py
gokel166/medelec
e94f1c1e79cf70e7371e68203a7abd5c1c447e01
[ "CC0-1.0" ]
null
null
null
from flask_script import Manager, Command from app import app manager = Manager(app) class HiThere(Command): def run(self, name): print('Hi There %d' % name) @manager.command def hello(): print('Hello') def dropdb(): print('Dropped Db') manager.add_command({'Hi There': HiThere()}) if __na...
13.769231
44
0.653631
47
358
4.765957
0.510638
0.125
0
0
0
0
0
0
0
0
0
0
0.203911
358
25
45
14.32
0.785965
0
0
0
0
0
0.117318
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.428571
0.214286
0
0
0
null
0
0
0
0
0
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
c64afa853af4e4f215e845524e36ced9593c71e3
13,824
py
Python
src/simulation/run.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
1
2021-07-13T07:26:23.000Z
2021-07-13T07:26:23.000Z
src/simulation/run.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
null
null
null
src/simulation/run.py
DecodEPFL/eiv-grid-id
093a0f6f3537ee2d4003b6af6a10caaca986fa7a
[ "CC-BY-4.0" ]
2
2022-02-22T17:14:38.000Z
2022-02-25T10:29:35.000Z
import numpy as np from conf import conf from src.simulation.simulation import SimulatedNet from src.simulation.load_profile import load_profile_from_numpy, generate_gaussian_load from src.simulation.noise import filter_and_resample_measurement, add_polar_noise_to_measurement from src.simulation import net_templates ...
46.861017
147
0.596282
1,810
13,824
4.371271
0.185635
0.016431
0.011122
0.012639
0.453615
0.402427
0.357558
0.329879
0.323054
0.315976
0
0.006681
0.307002
13,824
294
148
47.020408
0.819102
0.219112
0
0.357576
1
0
0.067784
0.019749
0
0
0
0
0.006061
1
0.054545
false
0.024242
0.036364
0
0.121212
0.224242
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
c64b28b679cf3a0349552e584dc74ffc5d2ecaab
524
py
Python
euler-project/problem2/app.py
Normuminov/python
431b83185a57869fa82ee9fb80e00f500912bf74
[ "MIT" ]
1
2020-09-05T07:10:13.000Z
2020-09-05T07:10:13.000Z
euler-project/problem2/app.py
Normuminov/python
431b83185a57869fa82ee9fb80e00f500912bf74
[ "MIT" ]
null
null
null
euler-project/problem2/app.py
Normuminov/python
431b83185a57869fa82ee9fb80e00f500912bf74
[ "MIT" ]
null
null
null
""" Each new term in the Fibonacci sequence is generated by adding the previous two terms. By starting with 1 and 2, the first 10 terms will be: 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ... By considering the terms in the Fibonacci sequence whose values do not exceed four million, find the sum of the even-value...
24.952381
144
0.669847
84
524
4.178571
0.619048
0.02849
0.079772
0.125356
0
0
0
0
0
0
0
0.096203
0.246183
524
21
145
24.952381
0.792405
0.627863
0
0
1
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c64f7f0fd51223016d0039fa49a7cfb639bdf240
234
py
Python
ex033.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
ex033.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
ex033.py
thiagobachiega/python
493b6bdee9c94e1ae8d4db06c8e5295a96f8922c
[ "MIT" ]
null
null
null
a = int(input('Digite um valor: ')) b = int(input('Digite outro valor: ')) c = int(input('Digite mais um valor: ')) lixta = [a, b, c] lixta.sort() print(f'O maior valor é: {lixta[2]}') print(f'o menor valor é: {lixta[0]}')
12.315789
40
0.589744
41
234
3.365854
0.487805
0.173913
0.304348
0
0
0
0
0
0
0
0
0.010638
0.196581
234
18
41
13
0.723404
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
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
d65c68e5b15b7d814903e5aab5b5994b4e081580
282
py
Python
example/retrieve_one_tile.py
revesansparole/geoportail
99a73e98943337e635028cd08442778ba481ea98
[ "MIT" ]
null
null
null
example/retrieve_one_tile.py
revesansparole/geoportail
99a73e98943337e635028cd08442778ba481ea98
[ "MIT" ]
null
null
null
example/retrieve_one_tile.py
revesansparole/geoportail
99a73e98943337e635028cd08442778ba481ea98
[ "MIT" ]
null
null
null
from geoportail.crawler import get_tile from geoportail.geotools import latlong_to_tile_coords pos = (43.64269, 3.908987) # (lat, long) zoom = 1 tile_col, tile_row = latlong_to_tile_coords(zoom, pos[0], pos[1]) tile = get_tile(zoom, tile_col, tile_row) tile.save("mytile.png")
23.5
65
0.755319
48
282
4.1875
0.520833
0.139303
0.129353
0.189055
0
0
0
0
0
0
0
0.068826
0.124113
282
11
66
25.636364
0.744939
0.039007
0
0
0
0
0.037175
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
d6622e2d1bf1be6c9e8355675943725030d31572
1,166
py
Python
supplier_api/apps/suppliers/views.py
ministryofjustice/laa-supplier-api
760c9424799794ea7ae8bf7f102f0cbd5658c99e
[ "MIT" ]
null
null
null
supplier_api/apps/suppliers/views.py
ministryofjustice/laa-supplier-api
760c9424799794ea7ae8bf7f102f0cbd5658c99e
[ "MIT" ]
null
null
null
supplier_api/apps/suppliers/views.py
ministryofjustice/laa-supplier-api
760c9424799794ea7ae8bf7f102f0cbd5658c99e
[ "MIT" ]
1
2021-04-11T06:55:52.000Z
2021-04-11T06:55:52.000Z
# -*- coding: utf-8 -*- from rest_framework import viewsets from rest_framework_extensions.mixins import NestedViewSetMixin from .models import Supplier, RepresentationOrder from .serializers import SupplierSerializer, RepresentationOrderSerializer class AllObjectMixin(): """ Mixin to return all objects in t...
24.808511
75
0.725557
115
1,166
7.286957
0.478261
0.03222
0.040573
0.143198
0.252983
0.252983
0.193317
0.193317
0
0
0
0.001086
0.21012
1,166
46
76
25.347826
0.908795
0.283877
0
0.235294
0
0
0.010568
0
0
0
0
0
0
1
0.058824
false
0
0.235294
0.058824
0.882353
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
d678ef31fb9f9792be9c514ddea63b980403e850
465
py
Python
django_app/coin_rank/polls/migrations/0011_auto_20170910_0108.py
hao44le/hack_coin_marktet_cap
e5d17ea3fb840adf871c95ad35c7734390736ca1
[ "MIT" ]
5
2018-07-04T22:14:14.000Z
2018-07-04T22:21:57.000Z
django_app/coin_rank/polls/migrations/0011_auto_20170910_0108.py
hao44le/hack_coin_marktet_cap
e5d17ea3fb840adf871c95ad35c7734390736ca1
[ "MIT" ]
null
null
null
django_app/coin_rank/polls/migrations/0011_auto_20170910_0108.py
hao44le/hack_coin_marktet_cap
e5d17ea3fb840adf871c95ad35c7734390736ca1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-10 01:08 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('polls', '0010_auto_20170909_2002'), ] operations = [ migrations.AlterField(...
22.142857
65
0.621505
53
465
5.245283
0.811321
0.057554
0.086331
0
0
0
0
0
0
0
0
0.107558
0.260215
465
20
66
23.25
0.700581
0.146237
0
0
1
0
0.104061
0.058376
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d67e24a9638cf15b44ddb5ad42e21db5a8231d08
2,513
py
Python
tests/test_common/test_utilities/test_command_wrapper.py
doppleware/vCenterShell_test
c91870169c5780e5c561b2ae682991af20257c4f
[ "Apache-2.0" ]
null
null
null
tests/test_common/test_utilities/test_command_wrapper.py
doppleware/vCenterShell_test
c91870169c5780e5c561b2ae682991af20257c4f
[ "Apache-2.0" ]
null
null
null
tests/test_common/test_utilities/test_command_wrapper.py
doppleware/vCenterShell_test
c91870169c5780e5c561b2ae682991af20257c4f
[ "Apache-2.0" ]
null
null
null
from unittest import TestCase from mock import Mock from common.wrappers.command_wrapper import CommandWrapper class TestCommandWrapper(TestCase): def setUp(self): self.si = Mock() self.logger = Mock() self.connection_detail = Mock() self.pv_service = Mock() self.pv_servic...
32.217949
95
0.612018
253
2,513
5.814229
0.209486
0.114208
0.0707
0.085656
0.624065
0.622706
0.622706
0.622706
0.622706
0.556084
0
0.00464
0.313967
2,513
78
96
32.217949
0.848608
0.038599
0
0.355556
0
0
0.020816
0
0
0
0
0
0.133333
1
0.222222
false
0.022222
0.066667
0.044444
0.355556
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
d68077041141a1c2735ccfe8e7b6f7cf20620604
830
py
Python
saleor/graphql/payment/resolvers.py
igoryok-zp/saleor
3a6fe51c068aca991331d6eb43317102ed68ed09
[ "CC-BY-4.0" ]
2
2019-08-29T14:17:59.000Z
2019-09-03T16:39:44.000Z
saleor/graphql/payment/resolvers.py
igoryok-zp/saleor
3a6fe51c068aca991331d6eb43317102ed68ed09
[ "CC-BY-4.0" ]
3
2021-03-09T16:28:16.000Z
2022-02-10T19:08:00.000Z
saleor/graphql/payment/resolvers.py
techonomics69/saleor
fd4cf8531b65fed24b742d51bec8f015d61f3efc
[ "CC-BY-4.0" ]
1
2021-04-15T07:16:34.000Z
2021-04-15T07:16:34.000Z
import graphene_django_optimizer as gql_optimizer from ...payment import models from ...payment.interface import TokenConfig from ...payment.utils import fetch_customer_id, gateway_get_client_token from ..utils import filter_by_query_param PAYMENT_SEARCH_FIELDS = ["id"] def resolve_payments(info, query): querys...
34.583333
76
0.773494
110
830
5.5
0.363636
0.099174
0.079339
0.104132
0.112397
0.112397
0
0
0
0
0
0
0.151807
830
23
77
36.086957
0.859375
0
0
0
0
0
0.00241
0
0
0
0
0
0
1
0.117647
false
0
0.294118
0
0.588235
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
d6819b3e0faae3b5ea46a4bcf02885e510ba4573
433
py
Python
places/migrations/0023_auto_20180524_1349.py
samargulies/welp
8ed292c392885840787752f86d0aa8f538da5465
[ "MIT" ]
null
null
null
places/migrations/0023_auto_20180524_1349.py
samargulies/welp
8ed292c392885840787752f86d0aa8f538da5465
[ "MIT" ]
7
2020-06-05T18:14:31.000Z
2022-03-11T23:20:50.000Z
places/migrations/0023_auto_20180524_1349.py
samargulies/welp
8ed292c392885840787752f86d0aa8f538da5465
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-24 13:49 import autoslug.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('places', '0022_auto_20180524_1346'), ] operations = [ migrations.AlterField( model_name='place', name...
21.65
86
0.625866
47
433
5.659574
0.808511
0.105263
0
0
0
0
0
0
0
0
0
0.096875
0.26097
433
19
87
22.789474
0.734375
0.103926
0
0
1
0
0.111399
0.059585
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d68201b7bc62780fe724971aa496a8e0d80ceabc
1,900
py
Python
tests/test_files.py
sralloza/aes
500914924a3a660898208ab4c5af5bca04562a9b
[ "MIT" ]
null
null
null
tests/test_files.py
sralloza/aes
500914924a3a660898208ab4c5af5bca04562a9b
[ "MIT" ]
13
2019-11-14T19:17:03.000Z
2021-12-21T11:10:31.000Z
tests/test_files.py
sralloza/aes
500914924a3a660898208ab4c5af5bca04562a9b
[ "MIT" ]
null
null
null
from unittest import mock import pytest from aes.files import decrypt_file, encrypt_file # pylint: disable=redefined-outer-name @pytest.fixture(params=["file.txt", "foo/file.txt", "folder/doc.pdf"]) def filepath(request): return request.param @pytest.fixture(params=[None, "new-password"]) def password(reques...
29.230769
83
0.717895
259
1,900
5.042471
0.235521
0.061256
0.068913
0.068913
0.70291
0.675345
0.614089
0.546708
0.485452
0.485452
0
0.00189
0.164737
1,900
64
84
29.6875
0.821046
0.018947
0
0.5
0
0
0.093985
0.023631
0
0
0
0
0.190476
1
0.166667
false
0.190476
0.071429
0.071429
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d686945516da2ec9db8585c4bcff5588611c4818
3,411
py
Python
updater.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
3
2016-06-12T07:17:10.000Z
2020-10-25T00:23:10.000Z
updater.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
26
2016-04-12T09:29:09.000Z
2016-12-06T10:14:48.000Z
updater.py
mitou/meikan
b19c4dfd0aa3ce35ab1a7dbdedabe2257b82878b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ kintone上のデータを、バックアップを取ってから一括アップデートするスクリプト オプション指定なし→ローカルキャッシュを用いてDry Run -r(--real) →最新のデータを取得してバックアップし、更新 -f(--from-backup) →-rで問題が起きたとき用。バックアップを指定して、そのデータを元に更新する。 """ from cache import get_all, get_app import time import argparse from render import pretty def concat_lines(x, y): if...
25.840909
83
0.5837
471
3,411
4.099788
0.329087
0.041429
0.035215
0.020197
0.052822
0.035215
0.035215
0
0
0
0
0.020115
0.28584
3,411
131
84
26.038168
0.771346
0.039285
0
0.126316
0
0
0.113585
0.015489
0
0
0
0
0.042105
0
null
null
0
0.094737
null
null
0.042105
0
0
0
null
0
0
0
0
0
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
d68f9161a36d02f013b2e8404cecf9c480a3dee1
5,566
py
Python
tests/test_recognize.py
erkanay/kairos-face-sdk-python
f94edc0ebcd2ca6a264c1f3296e6ccc5190de601
[ "MIT" ]
26
2016-11-18T15:16:31.000Z
2021-05-31T17:49:41.000Z
tests/test_recognize.py
erkanay/kairos-face-sdk-python
f94edc0ebcd2ca6a264c1f3296e6ccc5190de601
[ "MIT" ]
6
2017-02-12T22:02:55.000Z
2019-01-11T15:51:42.000Z
tests/test_recognize.py
erkanay/kairos-face-sdk-python
f94edc0ebcd2ca6a264c1f3296e6ccc5190de601
[ "MIT" ]
19
2016-11-20T15:21:44.000Z
2021-04-08T14:33:31.000Z
import json import unittest from io import BufferedReader from unittest import mock import responses import kairos_face class KairosApiRecognizeFaceTest(unittest.TestCase): def setUp(self): kairos_face.settings.app_id = 'app_id' kairos_face.settings.app_key = 'app_key' def test_throws_excep...
39.197183
101
0.597377
560
5,566
5.616071
0.226786
0.057234
0.054372
0.065819
0.536725
0.422258
0.390779
0.390779
0.369793
0.304928
0
0.035642
0.294287
5,566
141
102
39.475177
0.76502
0
0
0.234783
0
0
0.169062
0.008983
0
0
0
0
0.182609
1
0.086957
false
0.069565
0.052174
0
0.147826
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
d695634e0e68ae134345890774dd14e48f3ddfab
4,485
py
Python
_Tkinter/dynamic_labels.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
10
2017-02-08T18:36:09.000Z
2021-03-31T04:22:25.000Z
_Tkinter/dynamic_labels.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
2
2017-01-30T22:15:43.000Z
2017-09-01T21:49:29.000Z
_Tkinter/dynamic_labels.py
meigrafd/Sample-Code
7065950dfd0728cfad66db08327f0efa4c26999c
[ "MIT" ]
8
2017-02-09T12:33:47.000Z
2021-04-03T13:34:33.000Z
#!/usr/bin/python2 # # http://www.forum-raspberrypi.de/Thread-python-aktualisierung-von-unbestimmten-labels # # 08.02.2017 Copyright (C) by meigrafd (meiraspi@gmail.com) published under the MIT License # import Tkinter as tk class App(object): def __init__(self, MaschinenDatei=None): self.MaschinenDatei...
34.236641
118
0.59777
540
4,485
4.844444
0.303704
0.015291
0.032492
0.04396
0.279434
0.202599
0.16208
0.129205
0.129205
0.129205
0
0.013263
0.277146
4,485
131
119
34.236641
0.793646
0.069788
0
0.111111
0
0
0.040115
0
0
0
0
0
0
0
null
null
0.011111
0.011111
null
null
0.011111
0
0
0
null
0
0
0
0
0
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
d6994cb51530cc543f6755d4c8ebfdc3b12a5bf4
1,355
py
Python
web_app/services/basilica_service.py
ilEnzio/erg_twitoff
23322657a98972b613da7241a107101d35d00624
[ "MIT" ]
null
null
null
web_app/services/basilica_service.py
ilEnzio/erg_twitoff
23322657a98972b613da7241a107101d35d00624
[ "MIT" ]
null
null
null
web_app/services/basilica_service.py
ilEnzio/erg_twitoff
23322657a98972b613da7241a107101d35d00624
[ "MIT" ]
null
null
null
import basilica from basilica import Connection import os from dotenv import load_dotenv load_dotenv() BASILICA_API_KEY = os.getenv("BASILICA_API_KEY") # TODO use env var # with basilica.Connection(BASILICA_API_KEY) as c: # print("CONNECTION", type(c)) # # embeddings = c.embed_sentences(["Hello world!", "...
28.229167
76
0.651661
162
1,355
5.308642
0.364198
0.051163
0.065116
0.055814
0.381395
0.381395
0.381395
0.381395
0.381395
0.223256
0
0.035382
0.20738
1,355
47
77
28.829787
0.765363
0.461255
0
0
0
0
0.217207
0
0
0
0
0.021277
0
1
0
false
0
0.2
0
0.2
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d69a0b989c89e5e140e558060bbe06d74f506b9e
2,883
py
Python
Hackerrank/Sorting/BubbleSort.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
Hackerrank/Sorting/BubbleSort.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
Hackerrank/Sorting/BubbleSort.py
eduardormonteiro/PythonPersonalLibrary
561733bb8305c4e25a08f99c28b60ec77251ad67
[ "MIT" ]
null
null
null
""" coding: utf-8 Created on 17/11/2020 @author: github.com/edrmonteiro From: Hackerrank challenges Language: Python Title: Sorting: Bubble Sort Consider the following version of Bubble Sort: for (int i = 0; i < n; i++) { for (int j = 0; j < n - 1; j++) { // Swap adjacent elements if they are in dec...
26.209091
146
0.679154
484
2,883
4.045455
0.295455
0.010215
0.046476
0.045965
0.402451
0.370787
0.370787
0.367211
0.340143
0.340143
0
0.030359
0.245924
2,883
109
147
26.449541
0.870285
0.852237
0
0
0
0
0.122596
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.071429
0.285714
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
d6a4017735471e9a4c1b3c39ade27b4d782ef362
319
py
Python
docker_ops_test_templates/images-directory-with-dockerfiles/image-four/python_codes/factory.py
jbcurtin/docker-ops
44fbc8891bf655f3daa6b7e0f49384b22a2ce43c
[ "MIT" ]
null
null
null
docker_ops_test_templates/images-directory-with-dockerfiles/image-four/python_codes/factory.py
jbcurtin/docker-ops
44fbc8891bf655f3daa6b7e0f49384b22a2ce43c
[ "MIT" ]
1
2021-11-28T07:12:43.000Z
2021-11-28T07:12:43.000Z
docker_ops_test_templates/images-directory-with-dockerfiles/image-three/python_codes/factory.py
jbcurtin/docker-ops
44fbc8891bf655f3daa6b7e0f49384b22a2ce43c
[ "MIT" ]
null
null
null
#!/usr/bin/env python def obtain_options() -> argparse.Namespace parser = argparse.ArgumentParser() parser.add_argument('-d', '--directory', default='/tmp', help='Which Directory?') return parser.parse_args() def run_factory(): options = obtain_options() if __name__ == '__main__': run_factory()
24.538462
85
0.68652
37
319
5.540541
0.72973
0.126829
0
0
0
0
0
0
0
0
0
0
0.153605
319
12
86
26.583333
0.759259
0.062696
0
0
0
0
0.137584
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d6a4409648ef058627e91e21d7c8c9ee7e32b569
2,622
py
Python
tests/test_utils.py
MrMrRobat/parametrize
3da69a3695bf9af66f194d21e0596d31e958dfa9
[ "MIT" ]
7
2021-05-09T22:31:08.000Z
2021-10-20T12:27:40.000Z
tests/test_utils.py
Bobronium/parametrize
3da69a3695bf9af66f194d21e0596d31e958dfa9
[ "MIT" ]
2
2021-05-15T19:22:42.000Z
2021-11-21T11:24:10.000Z
tests/test_utils.py
Bobronium/parametrize
3da69a3695bf9af66f194d21e0596d31e958dfa9
[ "MIT" ]
1
2021-11-21T11:01:16.000Z
2021-11-21T11:01:16.000Z
import sys from inspect import signature import pytest from parametrize.utils import copy_code, copy_func @pytest.mark.skipif( sys.version_info >= (3, 8), reason="On PY38 builtin CodeType.replace method is used" ) def test_copy_code(): def f(): return locals()["a"] copied_without_changes = copy...
29.460674
98
0.659039
411
2,622
3.70073
0.187348
0.063116
0.043393
0.059172
0.332676
0.307692
0.17094
0.092045
0.092045
0.092045
0
0.044884
0.209764
2,622
88
99
29.795455
0.689189
0
0
0.125
0
0
0.041953
0
0
0
0
0
0.5625
1
0.078125
false
0
0.125
0.03125
0.234375
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
d6b0384ac00e2f4fba958d3ae5729a60bf171c41
1,926
py
Python
exercicios/cagece/funcoes.py
darcamo/python-16h-course
70c67ff1275d1abfca77ca5f56779c198b81bd0c
[ "MIT" ]
null
null
null
exercicios/cagece/funcoes.py
darcamo/python-16h-course
70c67ff1275d1abfca77ca5f56779c198b81bd0c
[ "MIT" ]
null
null
null
exercicios/cagece/funcoes.py
darcamo/python-16h-course
70c67ff1275d1abfca77ca5f56779c198b81bd0c
[ "MIT" ]
null
null
null
# Preços de água para cada faixa de consumo agua_residencial_normal = {10: 2.79, 15:3.61, 20:3.92, 50:6.71, "inf": 11.86} esgoto_residencial_normal = {10: 3.09, 15:3.97, ...
19.85567
76
0.503634
242
1,926
3.96281
0.376033
0.037539
0.036496
0.052138
0.281543
0.252346
0.252346
0.252346
0.189781
0.189781
0
0.064879
0.399792
1,926
96
77
20.0625
0.764706
0.562305
0
0.105263
0
0
0.009662
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.421053
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d6b4c2ae358c5f21faaaf7f948a88735b17ff36c
498
py
Python
msg-box/msgbox.py
gusenov/examples-tkinter
8de8bf643707fee3119582b04d6b1fd216903d25
[ "MIT" ]
null
null
null
msg-box/msgbox.py
gusenov/examples-tkinter
8de8bf643707fee3119582b04d6b1fd216903d25
[ "MIT" ]
null
null
null
msg-box/msgbox.py
gusenov/examples-tkinter
8de8bf643707fee3119582b04d6b1fd216903d25
[ "MIT" ]
null
null
null
from tkinter import messagebox messagebox.showinfo("Basic Example", # заголовок. "a Baisc Tk MessageBox") # информация. messagebox.showwarning("Warning Example", "Warning MessageBox") messagebox.showerror("Error Example", "Error MessageBox") messagebox.askquestion("Ask Question Example", "Quit...
29.294118
63
0.730924
53
498
6.867925
0.528302
0.120879
0.173077
0
0
0
0
0
0
0
0
0
0.138554
498
16
64
31.125
0.848485
0.044177
0
0
0
0
0.420719
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
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
d6b6bdca4d395e1ce2a428e03cb4b63fe2d5aa38
845
py
Python
config.py
dmhliu/twitoff
4c880eedf0a0925fe9200b1cf2a09d555a372adc
[ "MIT" ]
null
null
null
config.py
dmhliu/twitoff
4c880eedf0a0925fe9200b1cf2a09d555a372adc
[ "MIT" ]
4
2021-06-08T22:12:41.000Z
2022-03-12T00:48:37.000Z
config.py
dmhliu/twitoff
4c880eedf0a0925fe9200b1cf2a09d555a372adc
[ "MIT" ]
null
null
null
import os basedir = os.path.abspath(os.path.dirname(__file__)) class Config(object): DEBUG = False TESTING = False CSRF_ENABLED = True SQLALCHEMY_DATABASE_URI = os.environ['DATABASE_URL'] TWITTER_API_KEY="buR7ZaXdML975jbgGyb7jfWNS" TWITTER_API_KEY_SECRET="W5Zv3DWVgBLRqJfyg0aC0wgTUPxPFiSdpksca3d...
28.166667
169
0.769231
88
845
7.204545
0.625
0.05205
0.041009
0.082019
0.094637
0
0
0
0
0
0
0.120879
0.138462
845
29
170
29.137931
0.75
0
0
0.272727
0
0.045455
0.346746
0.308876
0
0
0
0
0
1
0
false
0
0.045455
0
0.954545
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
d6bea6fa4aa9ab3ba2458512b242472877bff9a1
321
py
Python
qual_id/categories/zodiac.py
gabrielbarker/qual-id
369cb1635c2e986cc9125df62cc3dcdd0573d2e4
[ "MIT" ]
9
2020-09-29T13:41:30.000Z
2020-10-11T17:30:12.000Z
qual_id/categories/zodiac.py
gabrielbarker/qual-id
369cb1635c2e986cc9125df62cc3dcdd0573d2e4
[ "MIT" ]
70
2020-09-29T02:05:19.000Z
2020-10-23T18:41:34.000Z
qual_id/categories/zodiac.py
gabrielbarker/qual-id
369cb1635c2e986cc9125df62cc3dcdd0573d2e4
[ "MIT" ]
36
2020-09-29T04:03:09.000Z
2020-10-23T18:01:16.000Z
from .category import Category class Zodiac(Category): _name = "zodiac" _values = [ "aquarius", "aries", "cancer", "capricorn", "gemini", "leo", "libra", "pisces", "sagittarius", "scorpio", "taurus", "virgo", ]...
16.05
30
0.436137
22
321
6.272727
0.863636
0
0
0
0
0
0
0
0
0
0
0
0.420561
321
19
31
16.894737
0.741935
0
0
0
0
0
0.258567
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
d6bf2ee52d585196be43b114be9e3195f76ca9a4
2,160
py
Python
src/apps/transfer/tests/test_models.py
suranig/django-coins-transfer
f4fb83609d35aa63905d73b500b896355f887770
[ "MIT" ]
null
null
null
src/apps/transfer/tests/test_models.py
suranig/django-coins-transfer
f4fb83609d35aa63905d73b500b896355f887770
[ "MIT" ]
10
2019-10-21T14:12:28.000Z
2022-02-10T10:32:55.000Z
src/apps/transfer/tests/test_models.py
suranig/django-coins-transfer
f4fb83609d35aa63905d73b500b896355f887770
[ "MIT" ]
null
null
null
import pytest from django.core.exceptions import ValidationError from apps.user.models import User from apps.transfer.models import Transfer pytestmark = pytest.mark.django_db @pytest.fixture def mike(): return User.objects.create(username='Mike', balance=150) @pytest.fixture def harvey(): return User.obj...
28.8
76
0.731019
294
2,160
5.187075
0.217687
0.041311
0.068852
0.088525
0.43541
0.394754
0.36918
0.297049
0.069508
0.069508
0
0.041203
0.168519
2,160
74
77
29.189189
0.807906
0.020833
0
0.22449
0
0
0.041647
0
0
0
0
0
0.387755
1
0.22449
false
0.040816
0.081633
0.040816
0.346939
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
d6c5db1aaeb76baa11dab28860dacdc5359cbe76
2,616
py
Python
openre/agent/server/action/domain.py
openre/openre
c5969df92cac83bdafd049e1c0a3bcf56b51223a
[ "MIT" ]
null
null
null
openre/agent/server/action/domain.py
openre/openre
c5969df92cac83bdafd049e1c0a3bcf56b51223a
[ "MIT" ]
null
null
null
openre/agent/server/action/domain.py
openre/openre
c5969df92cac83bdafd049e1c0a3bcf56b51223a
[ "MIT" ]
1
2016-02-14T11:20:57.000Z
2016-02-14T11:20:57.000Z
# -*- coding: utf-8 -*- from openre.agent.decorators import action from openre.agent.server.decorators import start_process from openre.agent.server.helpers import stop_process from openre.agent.server.state import is_running import sys import subprocess import os from openre import BASE_PATH import uuid import re @a...
29.393258
80
0.578364
319
2,616
4.592476
0.282132
0.040956
0.040956
0.043003
0.180205
0.038225
0
0
0
0
0
0.001096
0.30237
2,616
88
81
29.727273
0.801644
0.037462
0
0.181818
0
0
0.098765
0
0
0
0
0.011364
0
1
0.038961
false
0
0.142857
0
0.246753
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
d6c6e43b40fcd63cc9aa20c51eb291b889e779ff
333
py
Python
backend/pdfcc/urls.py
layaxx/pdfcc
e59be48e05e492412ddb43e2b2bf08947c7411bb
[ "MIT" ]
1
2020-11-28T04:41:10.000Z
2020-11-28T04:41:10.000Z
backend/pdfcc/urls.py
layaxx/pdfcc
e59be48e05e492412ddb43e2b2bf08947c7411bb
[ "MIT" ]
20
2021-01-07T11:59:44.000Z
2022-03-25T21:52:22.000Z
backend/pdfcc/urls.py
layaxx/pdfcc
e59be48e05e492412ddb43e2b2bf08947c7411bb
[ "MIT" ]
null
null
null
from django.shortcuts import redirect from django.urls import path, re_path from . import views urlpatterns = [ path('', views.index, name='index'), path('ajax/react', views.analyse, name='analyse'), path('ajax/process', views.process, name='process'), re_path(r'', lambda request: redirect('/', permane...
30.272727
64
0.687688
43
333
5.27907
0.488372
0.088106
0
0
0
0
0
0
0
0
0
0
0.144144
333
10
65
33.3
0.796491
0
0
0
0
0
0.126126
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
d6c87eca0b5610e2405b4d2620eaf7558a0efba0
1,303
py
Python
Funny/installation.py
Farid20015/Funny
112dd24178694f58fbd51a8d7760e4b2be21913a
[ "MIT" ]
null
null
null
Funny/installation.py
Farid20015/Funny
112dd24178694f58fbd51a8d7760e4b2be21913a
[ "MIT" ]
null
null
null
Funny/installation.py
Farid20015/Funny
112dd24178694f58fbd51a8d7760e4b2be21913a
[ "MIT" ]
null
null
null
import os import IPython import random early_setup=""" chmod +x 7zz chmod +x ffmpeg apt install mediainfo apt install python3-libtorrent 7z x All_Needy_Fonts.7z -o/usr/share/fonts/ -y rm /usr/share/fonts/pHalls* fc-cache -f touch /content/INSTALLED """ logger_code=""" import logging import sys loggi...
28.955556
88
0.615503
171
1,303
4.578947
0.538012
0.063857
0.045977
0.048531
0
0
0
0
0
0
0
0.008114
0.243285
1,303
44
89
29.613636
0.786004
0
0
0.052632
0
0
0.64996
0.242641
0
0
0
0
0
1
0.026316
false
0
0.157895
0
0.184211
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
d6d52b3242d7de408078f4fb0177891897f0a344
1,113
py
Python
skilledlab/mlp/__init__.py
Onion-Team-VN/skilledlab
ac5cd7b5aee52da98aee8a32e5d161fd8b7dddab
[ "Apache-2.0" ]
null
null
null
skilledlab/mlp/__init__.py
Onion-Team-VN/skilledlab
ac5cd7b5aee52da98aee8a32e5d161fd8b7dddab
[ "Apache-2.0" ]
null
null
null
skilledlab/mlp/__init__.py
Onion-Team-VN/skilledlab
ac5cd7b5aee52da98aee8a32e5d161fd8b7dddab
[ "Apache-2.0" ]
null
null
null
""" --- title: Multipayer Perceptron for Image Recognition --- """ from typing import List, Optional import torch from torch import nn from labml_helpers.module import Module class MlpBase(Module): """ Base layers for multilayer perceptron (MLP) """ def __init__(self, layer_sizes: list) -> None: ...
29.289474
105
0.609164
155
1,113
4.264516
0.483871
0.090772
0.036309
0.060514
0
0
0
0
0
0
0
0.008674
0.274933
1,113
38
106
29.289474
0.810409
0.430368
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d6da9285ec575227848f7bdbe8181bd7c2eea2c9
9,380
py
Python
simpleFrameId/classifier.py
UKPLab/eacl2017-oodFrameNetSRL
d30e23d724c911d001cc5ca8f28bdac86eee1ce4
[ "Apache-2.0" ]
10
2017-10-04T16:36:26.000Z
2021-08-02T06:53:33.000Z
simpleFrameId/classifier.py
UKPLab/eacl2017-oodFrameNetSRL
d30e23d724c911d001cc5ca8f28bdac86eee1ce4
[ "Apache-2.0" ]
null
null
null
simpleFrameId/classifier.py
UKPLab/eacl2017-oodFrameNetSRL
d30e23d724c911d001cc5ca8f28bdac86eee1ce4
[ "Apache-2.0" ]
2
2018-03-12T17:03:05.000Z
2020-07-17T04:29:30.000Z
import numpy as np from keras.models import Sequential from keras.layers.core import Dense from keras.utils.np_utils import to_categorical from collections import Counter from lightfm import LightFM # LightFM source code had to be hacked as it is buggy and does not say with which python version it actually should work...
48.854167
170
0.66823
1,202
9,380
5.067388
0.223794
0.04991
0.022328
0.010671
0.395173
0.358233
0.32507
0.307503
0.266459
0.209818
0
0.007447
0.255544
9,380
192
171
48.854167
0.864815
0.289232
0
0.29661
0
0
0.04428
0.003627
0
0
0
0
0
0
null
null
0
0.059322
null
null
0.025424
0
0
0
null
0
0
0
0
0
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
d6e0237fc8e1cb4f8a7aa6ebfa4abe447eb47802
2,711
py
Python
ironic/drivers/pxe.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/drivers/pxe.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
ironic/drivers/pxe.py
citrix-openstack-build/ironic
4b9eed0aeba44739caa742a48b55d824eae8ec55
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # -*- encoding: utf-8 -*- # # Copyright 2013 Hewlett-Packard Development Company, L.P. # # 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 # # htt...
34.316456
78
0.723349
357
2,711
5.459384
0.378151
0.053361
0.043612
0.049256
0.507953
0.446383
0.435095
0.408415
0.408415
0.408415
0
0.005489
0.193655
2,711
78
79
34.75641
0.886093
0.623755
0
0.478261
0
0
0
0
0
0
0
0
0
1
0.130435
false
0.086957
0.217391
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
0
0
1
0
0
0
0
0
1
d6f296c27dfa9e27ba554f13e77637555d89c486
3,817
py
Python
wsu/tools/simx/simx/python/simx/act/loader.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
1
2020-02-28T20:35:09.000Z
2020-02-28T20:35:09.000Z
wsu/tools/simx/simx/python/simx/act/loader.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
wsu/tools/simx/simx/python/simx/act/loader.py
tinyos-io/tinyos-3.x-contrib
3aaf036722a2afc0c0aad588459a5c3e00bd3c01
[ "BSD-3-Clause", "MIT" ]
null
null
null
""" Load various Loader ('startup') modules. Each loader is expected to have two entry-points: 1) init - execute loader code; is passed decomposed options 2) help - displays help/usage info sim.act.context is initialized before loaders are invoked. """ import sys import os import re import traceback from . import L...
27.264286
79
0.596542
472
3,817
4.735169
0.358051
0.032215
0.035794
0.020582
0
0
0
0
0
0
0
0.002636
0.304166
3,817
139
80
27.460432
0.838855
0.028818
0
0.15
0
0
0.115678
0.016006
0
0
0
0
0
0
null
null
0.0375
0.125
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d6fb40f8ae3ffd963a820d822c6fe9e02e326679
2,282
py
Python
projects/migrations/0001_initial.py
marie0901/portfolio-django-api
eeacc4f75ae7d0ecfe573d5098cc97dbc822b565
[ "MIT" ]
null
null
null
projects/migrations/0001_initial.py
marie0901/portfolio-django-api
eeacc4f75ae7d0ecfe573d5098cc97dbc822b565
[ "MIT" ]
null
null
null
projects/migrations/0001_initial.py
marie0901/portfolio-django-api
eeacc4f75ae7d0ecfe573d5098cc97dbc822b565
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-09-20 17:10 from django.db import migrations, models import django.db.models.deletion import markdownx.models class Migration(migrations.Migration): initial = True dependencies = [ ('learning', '0001_initial'), ('tags', '0001_initial'), ] operati...
40.035088
136
0.563979
220
2,282
5.727273
0.386364
0.071429
0.038095
0.052381
0.287302
0.174603
0.174603
0.174603
0.174603
0.174603
0
0.021565
0.288782
2,282
56
137
40.75
0.754775
0.01972
0
0.265306
1
0
0.134676
0
0
0
0
0
0
1
0
false
0
0.061224
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba39529f5012b098b16840a31619970cc4729769
253
py
Python
sip_trainer.py
brunofreeman/AIHaikuGenerator
f8d8fef989e4ebb46ee96b073ea4792013617827
[ "MIT" ]
null
null
null
sip_trainer.py
brunofreeman/AIHaikuGenerator
f8d8fef989e4ebb46ee96b073ea4792013617827
[ "MIT" ]
null
null
null
sip_trainer.py
brunofreeman/AIHaikuGenerator
f8d8fef989e4ebb46ee96b073ea4792013617827
[ "MIT" ]
1
2020-11-27T19:35:47.000Z
2020-11-27T19:35:47.000Z
from sip_lstm import train_lstm import json json_data = json.load(open('sip_trainer_config.json')) max_steps = json_data['max_steps'] log_every = json_data['log_every'] save_every = json_data['save_every'] train_lstm(max_steps, log_every, save_every)
25.3
54
0.798419
43
253
4.27907
0.372093
0.173913
0.119565
0.173913
0
0
0
0
0
0
0
0
0.090909
253
10
55
25.3
0.8
0
0
0
0
0
0.200787
0.090551
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
ba398de4c39228cfd8d82dadea342334f22b2538
996
py
Python
example/phc-sapph-r0.37.py
bauerca/maxwell
cf8e2decb42f8ee5235c26314af4eee7b39c9411
[ "Unlicense" ]
2
2015-08-18T17:12:01.000Z
2017-08-10T08:51:20.000Z
example/phc-sapph-r0.37.py
bauerca/maxwell
cf8e2decb42f8ee5235c26314af4eee7b39c9411
[ "Unlicense" ]
null
null
null
example/phc-sapph-r0.37.py
bauerca/maxwell
cf8e2decb42f8ee5235c26314af4eee7b39c9411
[ "Unlicense" ]
3
2017-06-24T14:15:52.000Z
2021-07-23T02:01:35.000Z
import sys sys.path.insert(0, "../src") import mx import os baseName = "phc-sapph-r0.37" dim = 3 l = 1.0 o = -0.5 # the object sph = mx.Sphere(0.37, [0.0, 0.0, 0.0]) epsDiag = [10.225, 10.225, 9.95] epsOffDiag = [0.67360967926537398, -0.67360967926537398, -0.825] diel = mx.Dielectric(sph, epsDiag=epsDiag, epsOffDiag=...
24.292683
94
0.65261
150
996
4.333333
0.5
0.015385
0.018462
0.018462
0.104615
0.095385
0.095385
0.095385
0
0
0
0.100592
0.151606
996
40
95
24.9
0.668639
0.363454
0
0
0
0
0.0416
0
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.043478
0
0
0
null
0
0
0
0
0
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
ba4343494ac4b38cc5c47fb2a2ece152cd31bc7d
5,209
py
Python
raspberry_pi_2/python2.7/ws_client.py
xcodersun/vivoclients
439f31b9d09be813f7fec19b25c978846b38d559
[ "MIT" ]
null
null
null
raspberry_pi_2/python2.7/ws_client.py
xcodersun/vivoclients
439f31b9d09be813f7fec19b25c978846b38d559
[ "MIT" ]
null
null
null
raspberry_pi_2/python2.7/ws_client.py
xcodersun/vivoclients
439f31b9d09be813f7fec19b25c978846b38d559
[ "MIT" ]
null
null
null
#!/usr/bin/env python import websocket import thread import time import logging import sys, getopt import psutil import json from subprocess import Popen, PIPE def get_cpu_temperature(): process = Popen(['vcgencmd', 'measure_temp'], stdout=PIPE) output, _error = process.communicate() return output.replac...
31.762195
151
0.57727
667
5,209
4.268366
0.256372
0.086056
0.038637
0.049175
0.271514
0.230067
0.212504
0.187917
0.111697
0.026695
0
0.008819
0.281628
5,209
163
152
31.957055
0.752004
0.051833
0
0.131148
0
0
0.113456
0.005074
0
0
0
0
0
0
null
null
0
0.065574
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
ba4a65225a8354be8cbf8d5cbd05aafb78cdf950
383
py
Python
handlers/BlogHandler.py
wernerchao/Multi-User-Blog
529f67628ef199047d06efd2038b88f00c2e4b8d
[ "MIT" ]
null
null
null
handlers/BlogHandler.py
wernerchao/Multi-User-Blog
529f67628ef199047d06efd2038b88f00c2e4b8d
[ "MIT" ]
null
null
null
handlers/BlogHandler.py
wernerchao/Multi-User-Blog
529f67628ef199047d06efd2038b88f00c2e4b8d
[ "MIT" ]
null
null
null
from handlers import Handler from google.appengine.ext import db class BlogHandler(Handler): """ Handles the home page of the blog, which is the "/blog" url. Gets 10 posts from the database and displays them """ def get(self): posts = db.GqlQuery( "select * from Post order by created ...
29.461538
68
0.665796
55
383
4.636364
0.709091
0.054902
0
0
0
0
0
0
0
0
0
0.013841
0.245431
383
12
69
31.916667
0.868512
0.287206
0
0
0
0
0.226054
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ba58310f00911c608df0278cf71e6fb3e6b9b180
3,664
py
Python
config.py
oggust/prometheus-dyson
d85c6c6925bdc86ca1b76c6b7a4e029950532dd5
[ "MIT" ]
9
2020-09-27T08:38:16.000Z
2022-02-27T13:44:19.000Z
config.py
oggust/prometheus-dyson
d85c6c6925bdc86ca1b76c6b7a4e029950532dd5
[ "MIT" ]
16
2020-11-09T20:08:04.000Z
2022-02-27T14:56:14.000Z
config.py
oggust/prometheus-dyson
d85c6c6925bdc86ca1b76c6b7a4e029950532dd5
[ "MIT" ]
6
2021-01-10T14:21:07.000Z
2022-02-27T13:14:23.000Z
"""Manages configuration file.""" import collections import configparser import logging from typing import Dict, List, Optional Device = collections.namedtuple( 'Device', ['name', 'serial', 'credentials', 'product_type']) DysonLinkCredentials = collections.namedtuple( 'DysonLinkCredentials', ['username', 'pa...
30.789916
96
0.587609
392
3,664
5.441327
0.42602
0.051571
0.026254
0.026723
0
0
0
0
0
0
0
0.015008
0.308952
3,664
118
97
31.050847
0.827409
0.322052
0
0.109091
0
0
0.151461
0
0
0
0
0
0
1
0.090909
false
0.054545
0.072727
0
0.272727
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
ba6804818c45379f32553af2108b9e5f00d3fea8
2,300
py
Python
cfgov/v1/migrations/0157_create_glossary_term.py
karenkitchens/cfgov-refresh
96f80bec517fa56d685ff6f84fb7620af697e221
[ "CC0-1.0" ]
1
2019-11-26T20:18:22.000Z
2019-11-26T20:18:22.000Z
cfgov/v1/migrations/0157_create_glossary_term.py
karenkitchens/cfgov-refresh
96f80bec517fa56d685ff6f84fb7620af697e221
[ "CC0-1.0" ]
8
2021-03-11T00:55:51.000Z
2022-02-13T21:10:14.000Z
cfgov/v1/migrations/0157_create_glossary_term.py
karenkitchens/cfgov-refresh
96f80bec517fa56d685ff6f84fb7620af697e221
[ "CC0-1.0" ]
1
2019-12-28T14:04:07.000Z
2019-12-28T14:04:07.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.20 on 2019-05-14 00:44 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion import modelcluster.fields import wagtail.wagtailcore.fields import wagtail.wagtailsearch.index class Migration(migrations.Migrat...
56.097561
221
0.677826
272
2,300
5.536765
0.338235
0.065737
0.063745
0.056441
0.460823
0.460823
0.460823
0.460823
0.460823
0.407703
0
0.021277
0.182609
2,300
40
222
57.5
0.779787
0.03
0
0.060606
1
0
0.206912
0.025583
0
0
0
0
0
1
0
false
0
0.181818
0
0.272727
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
ba6cde0286dd278df749e903694983906e03cffc
307
py
Python
backend/core/tasks.py
Mehrali-git/MongardCelery
c078e5554a5f4bbedf7787cbff73f3e1712d9ce6
[ "MIT" ]
null
null
null
backend/core/tasks.py
Mehrali-git/MongardCelery
c078e5554a5f4bbedf7787cbff73f3e1712d9ce6
[ "MIT" ]
null
null
null
backend/core/tasks.py
Mehrali-git/MongardCelery
c078e5554a5f4bbedf7787cbff73f3e1712d9ce6
[ "MIT" ]
null
null
null
from bucket import bucket from celery import shared_task def all_bucket_objects_task(): result = bucket.get_objects() return result @shared_task def delete_bucket_objetc_task(key): bucket.delete_object(key) @shared_task def download_bucket_object_task(key): bucket.download_object(key)
18.058824
37
0.788274
44
307
5.159091
0.386364
0.132159
0.171806
0
0
0
0
0
0
0
0
0
0.143322
307
16
38
19.1875
0.863118
0
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.181818
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
1
0
0
0
0
0
0
0
1
ba70b4f006ac99e5d5b345ff192342b3e5443a6a
246
py
Python
fixer.py
enoreyes/EssayBot
cc7a19975dbb6c186070ce44f5cfae0a4c32e9bc
[ "MIT" ]
17
2019-06-15T21:23:50.000Z
2022-01-07T18:32:39.000Z
fixer.py
enoreyes/EssayBot
cc7a19975dbb6c186070ce44f5cfae0a4c32e9bc
[ "MIT" ]
null
null
null
fixer.py
enoreyes/EssayBot
cc7a19975dbb6c186070ce44f5cfae0a4c32e9bc
[ "MIT" ]
2
2020-10-20T18:59:49.000Z
2021-08-29T13:48:06.000Z
import language_check f1 = open('out.txt', 'r') text = f1.read() f1.close() tool = language_check.LanguageTool('en-US') matches = tool.check(text) f2 = open('final.txt', 'w+') f2.write(language_check.correct(text, matches)) f2.close()
22.363636
48
0.670732
37
246
4.378378
0.567568
0.240741
0
0
0
0
0
0
0
0
0
0.028302
0.138211
246
10
49
24.6
0.735849
0
0
0
0
0
0.101695
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
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
ba76c8610bdcb3f0a236727beed5739b0661677a
1,967
py
Python
datalad_next/patches/siblings.py
datalad/datalad-next
8fd1dd76b5f6bc0ba51837d73e04a9773b2a9580
[ "MIT" ]
null
null
null
datalad_next/patches/siblings.py
datalad/datalad-next
8fd1dd76b5f6bc0ba51837d73e04a9773b2a9580
[ "MIT" ]
2
2022-03-31T07:39:42.000Z
2022-03-31T10:35:34.000Z
datalad_next/patches/siblings.py
datalad/datalad-next
8fd1dd76b5f6bc0ba51837d73e04a9773b2a9580
[ "MIT" ]
null
null
null
import logging from datalad.distribution import siblings as mod_siblings from datalad.support.annexrepo import AnnexRepo from datalad.support.exceptions import ( AccessDeniedError, AccessFailedError, CapturedException, ) # use same logger as -core lgr = logging.getLogger('datalad.distribution.siblings') ...
29.358209
92
0.665989
228
1,967
5.622807
0.416667
0.068643
0.066303
0.046802
0.126365
0.126365
0.126365
0.096724
0.096724
0.096724
0
0.018182
0.245043
1,967
66
93
29.80303
0.845118
0.174886
0
0.23913
0
0
0.16925
0.034098
0
0
0
0.015152
0
1
0.021739
false
0
0.086957
0
0.173913
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
ba7a2eb88d7d4b8dbcaa9851c1f466aaff3860b1
7,787
py
Python
web_apps/game_support/src/local/api.py
utonium/examples
af9281e8b107234c3d7907f93e925eac39e7b552
[ "MIT" ]
null
null
null
web_apps/game_support/src/local/api.py
utonium/examples
af9281e8b107234c3d7907f93e925eac39e7b552
[ "MIT" ]
null
null
null
web_apps/game_support/src/local/api.py
utonium/examples
af9281e8b107234c3d7907f93e925eac39e7b552
[ "MIT" ]
null
null
null
#!/usr/bin/env python # --------------------------------------------------------------------------------------------- """ local/api.py The API for the example customer support system. Copyright (c) 2015 Kevin Cureton """ # --------------------------------------------------------------------------------------------- ...
34.303965
101
0.566714
819
7,787
5.289377
0.227106
0.03301
0.055402
0.069252
0.547784
0.530009
0.482918
0.482918
0.47253
0.461681
0
0.000798
0.195069
7,787
226
102
34.455752
0.690332
0.179787
0
0.530201
0
0
0.202393
0.003441
0
0
0
0.00885
0
0
null
null
0.040268
0.067114
null
null
0.04698
0
0
0
null
0
0
0
0
0
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
ba7a73e71e10a278d5ddd49821fd1724b9eb3a56
2,269
py
Python
PushNotifiactionEntity/createPushNotificationEntity.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
PushNotifiactionEntity/createPushNotificationEntity.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
PushNotifiactionEntity/createPushNotificationEntity.py
prodProject/WorkkerAndConsumerServer
95496f026109279c9891e08af46040c7b9487c81
[ "MIT" ]
null
null
null
from enum import Enum from CommonCode.convertPbToJSON import ConvertPbToJSON from CommonCode.queryExecutor import QueryExecuter from Enums.databaseTables import Tables from Helper.entityHelper import EntityHelper from Services.entityService import EntityService from Services.workerService import WorkerService from pro...
35.453125
117
0.723667
238
2,269
6.773109
0.268908
0.061414
0.083747
0.102357
0.14268
0.1067
0
0
0
0
0
0.003273
0.192155
2,269
63
118
36.015873
0.876159
0
0
0.038462
0
0
0
0
0
0
0
0
0
1
0.115385
false
0
0.153846
0.019231
0.557692
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
ba7ec651e574cbe8ed964be0501290c141dd909e
893
py
Python
src/main/migrations/0005_faq.py
HammudElHammud/DjangoProject
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
[ "bzip2-1.0.6" ]
null
null
null
src/main/migrations/0005_faq.py
HammudElHammud/DjangoProject
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
[ "bzip2-1.0.6" ]
null
null
null
src/main/migrations/0005_faq.py
HammudElHammud/DjangoProject
6e9fc3065fec9a7b9e624139c84cca7942c2e2d5
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 3.0.1 on 2020-06-01 10:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main', '0004_main'), ] operations = [ migrations.CreateModel( name='FAQ', fields=[ ('id', models.Aut...
34.346154
120
0.56551
90
893
5.466667
0.655556
0.054878
0.065041
0.101626
0.142276
0.142276
0.142276
0
0
0
0
0.041731
0.275476
893
25
121
35.72
0.718702
0.050392
0
0
1
0
0.102837
0
0
0
0
0
0
1
0
false
0
0.052632
0
0.210526
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
ba848454514baa588b6a768f1f2aa1700cd1193c
400
py
Python
tests/test_read_binary.py
kyledecker/ultrasound_wjl11_ksd15
8999b793614901e502a38de780b15f904abc8406
[ "MIT" ]
4
2018-11-21T18:56:51.000Z
2022-02-28T00:37:52.000Z
tests/test_read_binary.py
kyledecker/ultrasound_wjl11_ksd15
8999b793614901e502a38de780b15f904abc8406
[ "MIT" ]
null
null
null
tests/test_read_binary.py
kyledecker/ultrasound_wjl11_ksd15
8999b793614901e502a38de780b15f904abc8406
[ "MIT" ]
2
2021-07-19T08:13:51.000Z
2021-09-18T17:05:24.000Z
import os import sys import numpy as np sys.path.insert(0, os.path.abspath('./src/')) def test_read_binary(): from read_binary import read_data # Make tmp binary file and save f = open('tmp.bin', 'wb') x = np.int16(np.array([1, 2, 3, 4, 5])) f.write(x) f.close() data = read_data('tmp.bin'...
21.052632
48
0.61
72
400
3.305556
0.555556
0.07563
0.02521
0.033613
0.042017
0
0
0
0
0
0
0.041667
0.22
400
18
49
22.222222
0.721154
0.0725
0
0
0
0
0.086721
0
0
0
0
0
0.076923
1
0.076923
false
0
0.307692
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ba859682703f36d08d395094b339b30e4648ee49
384
py
Python
expire_cache.py
PersonalGenomesOrg/open-humans-data-extraction
d75f3e3e8d3f9a55d3df17d9d2b3e996bbd4c977
[ "MIT" ]
2
2017-02-20T21:23:50.000Z
2017-03-02T21:48:15.000Z
expire_cache.py
OpenHumans/open-humans-data-processing
d75f3e3e8d3f9a55d3df17d9d2b3e996bbd4c977
[ "MIT" ]
25
2015-01-13T19:52:34.000Z
2016-07-11T23:45:57.000Z
expire_cache.py
OpenHumans/open-humans-data-processing
d75f3e3e8d3f9a55d3df17d9d2b3e996bbd4c977
[ "MIT" ]
null
null
null
#!/usr/bin/env python from datetime import datetime, timedelta from models import CacheItem from utilities import init_db db = init_db() one_month_ago = datetime.now() - timedelta(days=30) deleted_rows = (CacheItem.query .filter(CacheItem.request_time < one_month_ago) .delete()) db...
20.210526
63
0.703125
50
384
5.22
0.6
0.126437
0.084291
0
0
0
0
0
0
0
0
0.006452
0.192708
384
18
64
21.333333
0.835484
0.052083
0
0
0
0
0.041322
0
0
0
0
0
0
0
null
null
0
0.3
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba8b3cd48ae27c3dc856de800f3484523ce641e0
3,334
py
Python
Symmetric/HashLEA/mao192/server.py
killua4564/Symmetric
183ea2ec1d1342e9124e710a2de0fcad8b399f3d
[ "MIT" ]
1
2021-05-05T14:03:10.000Z
2021-05-05T14:03:10.000Z
Symmetric/HashLEA/mao192/server.py
killua4564/Symmetric
183ea2ec1d1342e9124e710a2de0fcad8b399f3d
[ "MIT" ]
null
null
null
Symmetric/HashLEA/mao192/server.py
killua4564/Symmetric
183ea2ec1d1342e9124e710a2de0fcad8b399f3d
[ "MIT" ]
null
null
null
import base64 import os import sys from hashlib import sha256 from math import cos from secret import FLAG, SECRET_PASSWORD username = b'' session = b'' USERS = {} USERS[b'Admin'] = SECRET_PASSWORD USERS[b'Guest'] = b'No FLAG' def mao192(s): A = 0x41495333 B = 0x7b754669 C = 0x6e645468 D = 0x654561...
31.45283
105
0.511998
481
3,334
3.523909
0.278586
0.014159
0.014159
0.018879
0.061947
0.042478
0.029499
0.015339
0
0
0
0.052564
0.303839
3,334
106
106
31.45283
0.677725
0
0
0.107527
0
0.010753
0.145427
0.010495
0
0
0.065367
0
0
1
0.043011
false
0.075269
0.064516
0.010753
0.172043
0.193548
0
0
0
null
0
0
0
0
0
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
ba8cf943d562e1ad9e5264ee84d56cfc38747077
770
py
Python
LeastSquareMethod/code.py
kkzzzzzz/Deep-Learing
b3df4490b535506c67ffd8e622ac2fb6e6d9cfdf
[ "MIT" ]
null
null
null
LeastSquareMethod/code.py
kkzzzzzz/Deep-Learing
b3df4490b535506c67ffd8e622ac2fb6e6d9cfdf
[ "MIT" ]
null
null
null
LeastSquareMethod/code.py
kkzzzzzz/Deep-Learing
b3df4490b535506c67ffd8e622ac2fb6e6d9cfdf
[ "MIT" ]
null
null
null
#coding:utf-8 # http://www.taodabai.com/68228096.html # 最小二乘法通过最小化误差的平方和寻找数据的最佳函数匹配 # 一般两个变量,斜率和常数 # 对这两个变量求偏导,得到两个方程,然后就可以算出两个未知量了 # y = mx + b # m is slope , b is y-intercept def compute_error_for_line_given_poinst(b,m,cordinates): totalError = 0 for i in range(0,len(cordinates)): x = cordinate...
22
77
0.6
122
770
3.704918
0.45082
0.026549
0.066372
0.084071
0.185841
0.132743
0
0
0
0
0
0.082024
0.255844
770
34
78
22.647059
0.706806
0.22987
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ba8dd3f094ce4490b8a293cd8bcf2ebfb85bc62f
171
py
Python
ios_sdk/bin/ios/Gen4SDK.framework/Headers/inc/m2m2/master_definitions/debug_interface.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
2
2019-03-11T15:24:51.000Z
2022-03-07T09:42:05.000Z
M4_Eval_SDK/Source/inc/m2m2/master_definitions/debug_interface.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
null
null
null
M4_Eval_SDK/Source/inc/m2m2/master_definitions/debug_interface.py
analogdevicesinc/ApplicationsWaveTool
0c1f236dd0745caa3187841ee1a882f209ac3ebe
[ "Apache-2.0" ]
1
2021-03-16T08:26:05.000Z
2021-03-16T08:26:05.000Z
#!/usr/bin/env python3 from ctypes import * import m2m2_core m2m2_debug_data_t = { "struct_fields": [ {"name":"str", "length":127, "type":c_uint8}, ] }
12.214286
22
0.608187
23
171
4.26087
0.913043
0
0
0
0
0
0
0
0
0
0
0.067164
0.216374
171
13
23
13.153846
0.664179
0.122807
0
0
0
0
0.201342
0
0
0
0
0
0
1
0
false
0
0.222222
0
0.222222
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ba8ed5c81cd34ae32421c24aa77bf1f348b9bee3
1,779
py
Python
database/db_models.py
franckc/bridge-server
5a37c88840a2cd797abcfb975668d01763a32527
[ "MIT" ]
1
2020-02-12T01:47:55.000Z
2020-02-12T01:47:55.000Z
database/db_models.py
franckc/bridge-server
5a37c88840a2cd797abcfb975668d01763a32527
[ "MIT" ]
null
null
null
database/db_models.py
franckc/bridge-server
5a37c88840a2cd797abcfb975668d01763a32527
[ "MIT" ]
1
2020-02-12T01:47:58.000Z
2020-02-12T01:47:58.000Z
from sqlalchemy import func from database import db from .notification_models import * # NOQA class VerificationCode(db.Model): phone = db.Column(db.String(20), index=True) email = db.Column(db.String(256), index=True) code = db.Column(db.String(10), primary_key=True) expires_at = db.Column(db.DateT...
31.767857
74
0.620011
226
1,779
4.774336
0.265487
0.177943
0.222428
0.133457
0.522706
0.46988
0.41798
0.41798
0.278035
0.198332
0
0.018727
0.249578
1,779
55
75
32.345455
0.789513
0.002248
0
0.27907
0
0
0.013536
0.013536
0
0
0
0
0
1
0
false
0
0.069767
0
0.72093
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
ba961a35f39d395646c2f52de648ddb9201dd99b
1,048
py
Python
pmca_tkinter/glframe.py
ousttrue/PMCAplus
e1a0cec3c6a51b791599a19818826a6bbb442b64
[ "Info-ZIP" ]
1
2019-09-21T06:33:21.000Z
2019-09-21T06:33:21.000Z
pmca_tkinter/glframe.py
ousttrue/PMCAplus
e1a0cec3c6a51b791599a19818826a6bbb442b64
[ "Info-ZIP" ]
null
null
null
pmca_tkinter/glframe.py
ousttrue/PMCAplus
e1a0cec3c6a51b791599a19818826a6bbb442b64
[ "Info-ZIP" ]
null
null
null
import sys import os sys.path.append(os.getcwd()+'/glglue') import tkinter import glglue.togl import glglue.sample from logging import getLogger logger = getLogger(__name__) class GLFrame(tkinter.Frame): def __init__(self, master, controller, width=None, height=None, **kw): #super(Frame, self).__init__...
30.823529
105
0.616412
126
1,048
5.007937
0.492063
0.066561
0.044374
0
0
0
0
0
0
0
0
0.005128
0.255725
1,048
33
106
31.757576
0.802564
0.094466
0
0.08
0
0
0.037194
0
0
0
0
0
0
0
null
null
0
0.24
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
ba9aea092d75c37c9cd8c9fc70f24252dbd49964
13,064
py
Python
tests/test_expenses.py
namelivia/travelperk-python-api-types
d71cee9757938ed4189479c81e4f2ff1f73ca489
[ "MIT" ]
null
null
null
tests/test_expenses.py
namelivia/travelperk-python-api-types
d71cee9757938ed4189479c81e4f2ff1f73ca489
[ "MIT" ]
1
2021-09-03T04:20:35.000Z
2021-09-03T04:20:35.000Z
tests/test_expenses.py
namelivia/travelperk-python-api-types
d71cee9757938ed4189479c81e4f2ff1f73ca489
[ "MIT" ]
null
null
null
from travelperk_python_api_types.expenses.invoice_lines.invoice_lines import ( InvoiceLines, ) from travelperk_python_api_types.expenses.invoice_lines.invoice_line import ( InvoiceLine, ) from travelperk_python_api_types.expenses.invoice_lines.metadata import ( Metadata, ) from travelperk_python_api_types.e...
48.565056
92
0.38786
922
13,064
5.279826
0.240781
0.054232
0.05341
0.061422
0.660846
0.577239
0.534511
0.489318
0.431594
0.385168
0
0.083438
0.513778
13,064
268
93
48.746269
0.682935
0
0
0.473485
0
0
0.235992
0.036895
0
0
0
0
0.064394
1
0.011364
false
0.003788
0.049242
0
0.064394
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
ba9ca75ba17feade7eb6f0c7ee93fee4a1766724
2,860
py
Python
filters.py
rameshKrSah/useful_functions
9c449831bb701d1a5eafc2b593f837c9ad0ec493
[ "MIT" ]
null
null
null
filters.py
rameshKrSah/useful_functions
9c449831bb701d1a5eafc2b593f837c9ad0ec493
[ "MIT" ]
null
null
null
filters.py
rameshKrSah/useful_functions
9c449831bb701d1a5eafc2b593f837c9ad0ec493
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from scipy.signal import butter, lfilter, filtfilt, freqz def lpf(order = 4, fs = 4, cutoff = 1): """Get a low pass filter. order: Order for the Butterworth filter fs: Sampling frequency cutoff: Cut off frequency Retuns polynomial of IIR filter. ...
26.481481
84
0.626573
406
2,860
4.362069
0.273399
0.073405
0.045172
0.047431
0.589497
0.588368
0.545455
0.488989
0.438171
0.438171
0
0.017695
0.268881
2,860
108
85
26.481481
0.829268
0.427972
0
0.263158
0
0
0.106993
0
0
0
0
0
0
1
0.131579
false
0.210526
0.078947
0
0.342105
0.026316
0
0
0
null
0
0
0
0
0
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
ba9e9b1e92a0cd5455e55420ccbecd4c44ab34b2
407
py
Python
museum_site/migrations/0074_profile_accepted_tos.py
DrDos0016/z2
b63e77129fefcb4f990ee1cb9952f4f708ee3a2b
[ "MIT" ]
3
2017-05-01T19:53:57.000Z
2018-08-27T20:14:43.000Z
museum_site/migrations/0074_profile_accepted_tos.py
DrDos0016/z2
b63e77129fefcb4f990ee1cb9952f4f708ee3a2b
[ "MIT" ]
26
2020-02-11T22:10:43.000Z
2022-02-03T20:54:08.000Z
museum_site/migrations/0074_profile_accepted_tos.py
DrDos0016/museum-of-zzt
0caa1cbeb2e0ab22206e72bc4ecf4c1b66c25fc4
[ "MIT" ]
1
2018-08-27T20:14:46.000Z
2018-08-27T20:14:46.000Z
# Generated by Django 3.2.4 on 2021-09-01 22:09 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('museum_site', '0073_auto_20210826_0019'), ] operations = [ migrations.AddField( model_name='profile', name='accepted...
21.421053
62
0.611794
46
407
5.26087
0.847826
0
0
0
0
0
0
0
0
0
0
0.111864
0.275184
407
18
63
22.611111
0.708475
0.110565
0
0
1
0
0.147222
0.063889
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
ba9f60cc1a92732abd5dec422db450f8a7c2629c
617
py
Python
2_functions/2_closures.py
sgg10/curso-profesional-python
39f2439fd1ec6b3ff88d392ea3c7faea37a9af0a
[ "MIT" ]
null
null
null
2_functions/2_closures.py
sgg10/curso-profesional-python
39f2439fd1ec6b3ff88d392ea3c7faea37a9af0a
[ "MIT" ]
null
null
null
2_functions/2_closures.py
sgg10/curso-profesional-python
39f2439fd1ec6b3ff88d392ea3c7faea37a9af0a
[ "MIT" ]
null
null
null
from typing import Callable, Union def make_multiplier(x: Union[float, int]) -> Callable: def multiplier(n: Union[float, int]) -> Union[float, int]: return x * n return multiplier def make_repeater_of(n: int) -> Callable: def repeater(string: str) -> str: assert type(string) == str, "On...
19.28125
62
0.625608
90
617
4.033333
0.377778
0.033058
0.107438
0
0
0
0
0
0
0
0
0.040598
0.241491
617
31
63
19.903226
0.735043
0
0
0
0
0
0.038898
0
0
0
0
0
0.05
1
0.25
false
0
0.05
0.05
0.5
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
baa34c56659aeca45d419b786a50804ad5a7aaef
1,437
py
Python
drawer/keypoints_data.py
neuralrefinery/nr-python-client
14d569721079bdf64ba86650cb0286dbcd02eda2
[ "CC0-1.0" ]
null
null
null
drawer/keypoints_data.py
neuralrefinery/nr-python-client
14d569721079bdf64ba86650cb0286dbcd02eda2
[ "CC0-1.0" ]
null
null
null
drawer/keypoints_data.py
neuralrefinery/nr-python-client
14d569721079bdf64ba86650cb0286dbcd02eda2
[ "CC0-1.0" ]
null
null
null
coco_keypoints = [ "nose", # 0 "left_eye", # 1 "right_eye", # 2 "left_ear", # 3 "right_ear", # 4 "left_shoulder", # 5 "right_shoulder", # 6 "left_elbow", # 7 ...
39.916667
59
0.393876
164
1,437
3.182927
0.195122
0.10728
0.049808
0
0
0
0
0
0
0
0
0.114407
0.507307
1,437
36
60
39.916667
0.622881
0.287404
0
0
0
0
0.165489
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
baa8201cf4271165ff950bcc7c56b6480ccb7c31
1,995
py
Python
db/build.py
jpludens/quartrmastr
3f0d6d2365417622e53f5d657e4a5a5730b76c5c
[ "MIT" ]
null
null
null
db/build.py
jpludens/quartrmastr
3f0d6d2365417622e53f5d657e4a5a5730b76c5c
[ "MIT" ]
null
null
null
db/build.py
jpludens/quartrmastr
3f0d6d2365417622e53f5d657e4a5a5730b76c5c
[ "MIT" ]
null
null
null
############################################################# # This lets 'from db import tables' work from command line import os import sys this_path = os.path.dirname(os.path.realpath(__file__)) sys.path.append(os.path.join(this_path, '../../quartrmastr')) ############################################################...
39.9
87
0.639098
231
1,995
5.294372
0.380952
0.04906
0.019624
0.029436
0.067048
0
0
0
0
0
0
0.001956
0.231078
1,995
49
88
40.714286
0.795306
0.23208
0
0.117647
0
0
0.053495
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.088235
0
0
0
null
0
0
0
0
0
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
baa843a4dcf6e14f197912c4ac29eed9eece7052
1,572
py
Python
playRacingMatrix/main.py
hyunwoo9120/osscap2020
55d6407313d47921d4cc1391d49d984eccfc3a8a
[ "Apache-2.0" ]
1
2020-11-20T07:58:25.000Z
2020-11-20T07:58:25.000Z
playRacingMatrix/main.py
hyunwoo9120/osscap2020
55d6407313d47921d4cc1391d49d984eccfc3a8a
[ "Apache-2.0" ]
8
2020-10-05T06:34:25.000Z
2020-12-07T04:15:39.000Z
playRacingMatrix/main.py
hyunwoo9120/osscap2020
55d6407313d47921d4cc1391d49d984eccfc3a8a
[ "Apache-2.0" ]
null
null
null
import start import playRacing import gameOver import ranking import keyboard import time while True: if ranking.check_file(): new_board = ranking.load_data() ranked_score_board = ranking.rank_score(ranking.load_data()) high_rank = list(ranking.showing_high_rank(ranked_score_board)) print(high...
24.5625
67
0.596692
217
1,572
4.175115
0.419355
0.09713
0.07064
0.033113
0.147903
0.147903
0.103753
0.103753
0.103753
0
0
0.024725
0.305344
1,572
63
68
24.952381
0.804945
0.181934
0
0.162162
0
0
0.018913
0
0
0
0
0.015873
0
1
0
false
0
0.162162
0
0.162162
0.081081
0
0
0
null
0
0
0
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
baaa455e8f34911631e30d263c27f3b700c9607b
879
py
Python
fhirbug/config/default_settings.py
VerdantAI/fhirbug
8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d
[ "MIT" ]
8
2019-01-06T18:11:20.000Z
2022-02-24T02:06:55.000Z
fhirbug/config/default_settings.py
VerdantAI/fhirbug
8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d
[ "MIT" ]
5
2019-01-25T14:15:35.000Z
2021-06-01T23:22:41.000Z
fhirbug/config/default_settings.py
VerdantAI/fhirbug
8a8e2555c0edfeee0a7edbc8d67f2fcb2edd3c2d
[ "MIT" ]
3
2020-10-14T23:09:29.000Z
2021-08-09T19:27:31.000Z
# Return tracebacks with OperationOutcomes when an exceprion occurs DEBUG = False # How many items should we include in budles whwn count is not specified DEFAULT_BUNDLE_SIZE = 20 # Limit bundles to this size even if more are requested # TODO: Disable limiting when set to 0 MAX_BUNDLE_SIZE = 100 # Path to the models...
33.807692
96
0.774744
134
879
4.985075
0.708955
0.02994
0
0
0
0
0
0
0
0
0
0.00838
0.185438
879
25
97
35.16
0.924581
0.717861
0
0
0
0
0.29661
0.228814
0
0
0
0.04
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
baad156ce9e2220a9f8b0edd2f4bd8422be77b8f
1,324
py
Python
setup.py
kfurtak1024/bansoko
463a7b5785636ea797d049eb8e4a3d91306d7dc2
[ "MIT" ]
3
2021-04-25T11:15:34.000Z
2022-02-23T22:05:23.000Z
setup.py
kfurtak1024/bansoko
463a7b5785636ea797d049eb8e4a3d91306d7dc2
[ "MIT" ]
2
2021-04-06T18:28:59.000Z
2021-06-02T03:43:25.000Z
setup.py
kfurtak1024/bansoko
463a7b5785636ea797d049eb8e4a3d91306d7dc2
[ "MIT" ]
1
2021-01-06T09:49:00.000Z
2021-01-06T09:49:00.000Z
#!/usr/bin/env python import os from setuptools import setup, find_packages import bansoko setup( name="bansoko", version=bansoko.__version__, author="Krzysztof Furtak", author_email="contact@krzysztoffurtak.dev", url="https://github.com/kfurtak1024/bansoko", description="Bansoko...
35.783784
100
0.638973
142
1,324
5.795775
0.697183
0.021871
0.060753
0.063183
0
0
0
0
0
0
0
0.011617
0.219789
1,324
36
101
36.777778
0.785092
0.015106
0
0
0
0
0.48382
0.037885
0
0
0
0
0
1
0
true
0
0.09375
0
0.09375
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
baaff73ef3ea1a83388af4bac90b4cdc2074c40a
438
py
Python
core/migrations/0002_auto_20190626_0740.py
MubongwoNdasi/sai
3322cf2de40a0bcf44fa857b8dab7c6d51c82f45
[ "MIT" ]
null
null
null
core/migrations/0002_auto_20190626_0740.py
MubongwoNdasi/sai
3322cf2de40a0bcf44fa857b8dab7c6d51c82f45
[ "MIT" ]
10
2021-03-18T22:56:08.000Z
2022-03-11T23:51:32.000Z
core/migrations/0002_auto_20190626_0740.py
MubongwoNdasi/sai
3322cf2de40a0bcf44fa857b8dab7c6d51c82f45
[ "MIT" ]
null
null
null
# Generated by Django 2.2.2 on 2019-06-26 07:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0001_initial'), ] operations = [ migrations.AlterField( model_name='user', name='address', field...
23.052632
117
0.614155
50
438
5.28
0.8
0.015152
0
0
0
0
0
0
0
0
0
0.068536
0.267123
438
18
118
24.333333
0.753894
0.10274
0
0
1
0
0.158568
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
bab6dc924696a387f674ca8ce725a06c9483937b
5,160
py
Python
if statements.py
ErikaMayteMartinez/if-Statements
e10173fde12eef7b47c9513814328898e76befe0
[ "Apache-2.0" ]
null
null
null
if statements.py
ErikaMayteMartinez/if-Statements
e10173fde12eef7b47c9513814328898e76befe0
[ "Apache-2.0" ]
null
null
null
if statements.py
ErikaMayteMartinez/if-Statements
e10173fde12eef7b47c9513814328898e76befe0
[ "Apache-2.0" ]
null
null
null
#conditional tests- testing for equalities sanrio_1 = 'keroppi' print("Is sanrio == 'keroppi'? I predict True.") print(sanrio_1 == 'keroppi') sanrio_2 = 'hello kitty' print("Is sanrio == 'Hello Kitty'? I predict True.") print(sanrio_2 == 'hello kitty') sanrio_3 = 'pochacco' print("Is sanrio == 'Pochacco'? I...
28.508287
73
0.635659
699
5,160
4.593705
0.277539
0.058237
0.060729
0.052943
0.249766
0.114917
0.063532
0.063532
0.063532
0.050452
0
0.028913
0.222481
5,160
181
74
28.508287
0.771436
0.060853
0
0.07971
0
0
0.432223
0.005156
0
0
0
0
0
1
0
false
0
0
0
0
0.543478
0
0
0
null
0
0
0
0
0
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