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
46960e43dee2fa083efe183cd1300ce917a15a32
9,805
py
Python
libs/PureCloudPlatformClientV2/models/voicemail_organization_policy.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
1
2021-10-08T20:46:45.000Z
2021-10-08T20:46:45.000Z
libs/PureCloudPlatformClientV2/models/voicemail_organization_policy.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
null
null
null
libs/PureCloudPlatformClientV2/models/voicemail_organization_policy.py
rocketbot-cl/genesysCloud
dd9d9b5ebb90a82bab98c0d88b9585c22c91f333
[ "MIT" ]
null
null
null
# coding: utf-8 """ Copyright 2016 SmartBear Software Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applica...
34.163763
203
0.646405
1,075
9,805
5.723721
0.19814
0.027304
0.150171
0.046806
0.562165
0.483829
0.412644
0.323419
0.311718
0.300666
0
0.003438
0.288016
9,805
286
204
34.283217
0.877954
0.493728
0
0.086538
0
0
0.09645
0.027417
0
0
0
0
0
1
0.201923
false
0
0.048077
0
0.384615
0.009615
0
0
0
null
0
0
0
0
0
0
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
469a3dd28d08e5ec1320b3fec42e0878d4a9c097
680
py
Python
core/native/vendor/cx_Freeze-5.0.1/cx_Freeze/samples/simple/hello.py
tensorlang/nao
380d6a56d82370a0944621e8fca6199a98bc5692
[ "Apache-2.0" ]
332
2017-10-31T18:26:40.000Z
2021-05-14T09:29:30.000Z
core/native/vendor/cx_Freeze-5.0.1/cx_Freeze/samples/simple/hello.py
tensorlang/nao
380d6a56d82370a0944621e8fca6199a98bc5692
[ "Apache-2.0" ]
62
2016-05-02T21:36:13.000Z
2020-02-22T15:11:52.000Z
core/native/vendor/cx_Freeze-5.0.1/cx_Freeze/samples/simple/hello.py
tensorlang/nao
380d6a56d82370a0944621e8fca6199a98bc5692
[ "Apache-2.0" ]
28
2017-12-13T00:32:40.000Z
2022-03-13T15:54:39.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from datetime import datetime import sys from sys import stdout stdout.write('Hello from cx_Freeze\n') stdout.write('The current date is %s\n\n' % datetime.today().strftime('%B %d, %Y %H:%M:%S')) stdout.write('Executable: %r\n' % sys.executable) stdout.write...
26.153846
74
0.661765
108
680
4.157407
0.416667
0.293987
0.033408
0.057906
0
0
0
0
0
0
0
0.001704
0.136765
680
25
75
27.2
0.763203
0.061765
0
0.111111
0
0
0.275157
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
469da4e93aa06088ef13d15f9ea0fbf9ef0bc77b
3,402
py
Python
utils/dataset.py
pranavmicro7/LEDNet
ab241a4bfecc7bd3abdaa851e773d72b225c95fc
[ "MIT" ]
null
null
null
utils/dataset.py
pranavmicro7/LEDNet
ab241a4bfecc7bd3abdaa851e773d72b225c95fc
[ "MIT" ]
null
null
null
utils/dataset.py
pranavmicro7/LEDNet
ab241a4bfecc7bd3abdaa851e773d72b225c95fc
[ "MIT" ]
null
null
null
import numpy as np import os from PIL import Image from torch.utils.data import Dataset EXTENSIONS = ['.jpg', '.png'] def load_image(file): return Image.open(file) def is_image(filename): return any(filename.endswith(ext) for ext in EXTENSIONS) def is_label(filename): return filename.endswith("_labelT...
32.4
139
0.645209
482
3,402
4.383817
0.170124
0.042593
0.047326
0.04638
0.543777
0.486985
0.451491
0.340274
0.297681
0.297681
0
0.001526
0.229571
3,402
104
140
32.711538
0.804655
0.095826
0
0.298507
0
0
0.038111
0.00684
0
0
0
0
0
1
0.179104
false
0
0.059701
0.119403
0.41791
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
469eda525d97e654d4b9162e5d3a353aefb37b1b
1,907
py
Python
other/python_snippets.py
jklopf/tensorbayes
4b0cb3c565e9603a972135ddf7cfbe28a23b3a4a
[ "MIT" ]
1
2018-11-12T16:58:32.000Z
2018-11-12T16:58:32.000Z
other/python_snippets.py
jklopf/tensorbayes
4b0cb3c565e9603a972135ddf7cfbe28a23b3a4a
[ "MIT" ]
null
null
null
other/python_snippets.py
jklopf/tensorbayes
4b0cb3c565e9603a972135ddf7cfbe28a23b3a4a
[ "MIT" ]
null
null
null
a = tf.ones([2,2]) b = tf.reduce_sum(a, name="sum_of_matrix_elements") print(a) > Tensor("ones:0", shape=(2, 2), dtype=float32) print(b) > Tensor("sum_of_matrix_elements:0", shape=(), dtype=float32) ################################################################### # sampling functions ###############################...
33.45614
72
0.60409
267
1,907
4.224719
0.299625
0.068262
0.136525
0.039894
0.320922
0.223404
0.125887
0.079787
0.079787
0
0
0.042605
0.138437
1,907
57
73
33.45614
0.643944
0.227058
0
0.166667
0
0
0.043697
0.038655
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
469f26216473c6894a214ac20497298f1d36c799
188
py
Python
Tag2/notenvergabe.py
atanassov-daniel/HPI-Digitalkolleg-2021
730dda71bcf4e982ba83ce40f87e229ffaf8ebe5
[ "MIT" ]
null
null
null
Tag2/notenvergabe.py
atanassov-daniel/HPI-Digitalkolleg-2021
730dda71bcf4e982ba83ce40f87e229ffaf8ebe5
[ "MIT" ]
null
null
null
Tag2/notenvergabe.py
atanassov-daniel/HPI-Digitalkolleg-2021
730dda71bcf4e982ba83ce40f87e229ffaf8ebe5
[ "MIT" ]
null
null
null
notes = [4,5,3,3,1] students=["Harry", "Ron","Hemrine", "Ginny", "Draco"] for i in range(len(students)): print(f'{students[i]} hat im Fach Zaubertranke die Note {notes[i]} erhalten.')
37.6
82
0.648936
31
188
3.935484
0.806452
0
0
0
0
0
0
0
0
0
0
0.030488
0.12766
188
5
82
37.6
0.713415
0
0
0
0
0
0.492063
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
469f3627dcc4cba032ae876615eb25d5f7994886
600
py
Python
todo/models.py
ojhughes/dataops-api
2c899d8794a160673c0b0e8cd7d6ff808fa40834
[ "MIT" ]
1
2021-04-28T14:20:11.000Z
2021-04-28T14:20:11.000Z
todo/models.py
ojhughes/dataops-api
2c899d8794a160673c0b0e8cd7d6ff808fa40834
[ "MIT" ]
null
null
null
todo/models.py
ojhughes/dataops-api
2c899d8794a160673c0b0e8cd7d6ff808fa40834
[ "MIT" ]
null
null
null
from flask_sqlalchemy import SQLAlchemy from sqlalchemy import Column, Integer, String, Boolean from todo.database import Base from todo import app db = SQLAlchemy(app) class Entry(db.Model): __tablename__ = "entries" id = Column(Integer, primary_key=True) title = Column(String) order = Column(Intege...
22.222222
55
0.685
75
600
5.28
0.493333
0.098485
0
0
0
0
0
0
0
0
0
0
0.211667
600
26
56
23.076923
0.837209
0
0
0
0
0
0.03
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0.052632
0.684211
0
0
0
0
null
0
0
0
0
0
0
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
46a0f9aa171772ca93bc88b73b343a83ac6ad28d
1,352
py
Python
2017/day22.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
11
2019-12-03T06:32:37.000Z
2021-12-24T12:23:57.000Z
2017/day22.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
null
null
null
2017/day22.py
iKevinY/advent
d160fb711a0a4d671f53cbd61088117e7ff0276a
[ "MIT" ]
1
2019-12-07T06:21:31.000Z
2019-12-07T06:21:31.000Z
import fileinput from utils import Point, DIRS def simulate_activity(x, y, facing, grid, mapping): node = grid.get((x, y), '.') new_node, df = mapping[node] # Update node grid[x, y] = new_node # Update direction and position nf = (facing + df) % 4 x += DIRS[nf].x y += DIRS[nf].y ...
18.777778
76
0.579882
199
1,352
3.829146
0.271357
0.026247
0.052493
0.070866
0.461942
0.461942
0.425197
0.425197
0.425197
0.425197
0
0.041916
0.258876
1,352
71
77
19.042254
0.718563
0.087278
0
0.291667
0
0
0.05705
0
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.041667
0
0
0
null
0
0
0
0
0
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
46a567fe82a608bf6fe8e455fc2d8746885d340c
1,920
py
Python
django_boost/middleware/__init__.py
ayumuhack/django-boost
bf4358cd219934bffa264bf3e3d10e2acfb77ad6
[ "MIT" ]
null
null
null
django_boost/middleware/__init__.py
ayumuhack/django-boost
bf4358cd219934bffa264bf3e3d10e2acfb77ad6
[ "MIT" ]
null
null
null
django_boost/middleware/__init__.py
ayumuhack/django-boost
bf4358cd219934bffa264bf3e3d10e2acfb77ad6
[ "MIT" ]
null
null
null
from django.conf import settings from django.http import HttpResponsePermanentRedirect from django.template import Context from django.template.exceptions import TemplateDoesNotExist from django.template.loader import get_template from django.utils.deprecation import MiddlewareMixin from django_boost.http.response imp...
34.285714
79
0.660938
191
1,920
6.465969
0.356021
0.05668
0.061538
0.037247
0.040486
0
0
0
0
0
0
0.002132
0.267188
1,920
55
80
34.909091
0.875622
0.084375
0
0
0
0
0.025596
0.01338
0
0
0
0
0
1
0.088235
false
0
0.205882
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
46a8539f2c024bca960c24b4c76883d07d2b6adc
2,823
py
Python
tests/test_parsemetrics.py
akolonin/language-learning
022c34a3066aa97ea0d007419e026247a4f78dd5
[ "MIT" ]
21
2018-01-30T08:18:20.000Z
2020-02-18T08:15:53.000Z
tests/test_parsemetrics.py
akolonin/language-learning
022c34a3066aa97ea0d007419e026247a4f78dd5
[ "MIT" ]
3
2018-02-09T18:22:45.000Z
2018-07-10T10:31:25.000Z
tests/test_parsemetrics.py
akolonin/language-learning
022c34a3066aa97ea0d007419e026247a4f78dd5
[ "MIT" ]
10
2018-01-30T10:31:43.000Z
2021-01-26T07:54:24.000Z
import unittest import sys from src.common.parsemetrics import * class TestMetrics(unittest.TestCase): # @unittest.skip def test_pm_sum(self): """ ParseMetrics increment operator test """ pm1 = ParseMetrics() pm1.completely_parsed_ratio = 0.5 pm1.completely_unparsed_ratio = 0...
28.806122
93
0.613532
375
2,823
4.496
0.2
0.186833
0.180308
0.05694
0.438316
0.207592
0.123369
0
0
0
0
0.074238
0.27949
2,823
98
94
28.806122
0.754671
0.147361
0
0.119403
0
0
0.003363
0
0
0
0
0
0.313433
1
0.059701
false
0
0.044776
0
0.119403
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
46ab5badaaa211667277952be9409da070db1b3e
1,137
py
Python
waitingkuo/combine_road_cases.py
g0v/roadpin
c2919552dd3ce0e3614a35466bae6d6a740e9368
[ "CC-BY-3.0", "Apache-2.0" ]
5
2015-04-20T17:16:56.000Z
2018-12-25T11:14:22.000Z
waitingkuo/combine_road_cases.py
g0v/roadpin
c2919552dd3ce0e3614a35466bae6d6a740e9368
[ "CC-BY-3.0", "Apache-2.0" ]
1
2016-06-20T02:55:27.000Z
2016-06-21T15:37:19.000Z
waitingkuo/combine_road_cases.py
g0v/roadpin
c2919552dd3ce0e3614a35466bae6d6a740e9368
[ "CC-BY-3.0", "Apache-2.0" ]
null
null
null
import json import os from IPython import embed import datetime as dt import time DIR = '../taipei-road-case/' def _parse_date(date, delta=0): if not date: return None year, month, date = [int(x) for x in date.split('/')] year += 1911 d = dt.datetime(year, month, date) + dt.timedelta(delta) retur...
23.6875
60
0.585752
159
1,137
3.943396
0.408805
0.044657
0.076555
0
0
0
0
0
0
0
0
0.00995
0.292876
1,137
47
61
24.191489
0.769901
0.014072
0
0.057143
0
0
0.063393
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.057143
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
46b129539b2940bb5bc63aa393b53606b0d23e2a
516
py
Python
lymph/tests/monitoring/test_global_metrics.py
MislavStipetic/lymph
aa36a688380e5665fdea31fda76b4a0cf35b6fc0
[ "Apache-2.0" ]
89
2015-03-01T11:39:55.000Z
2022-01-31T22:00:15.000Z
lymph/tests/monitoring/test_global_metrics.py
MislavStipetic/lymph
aa36a688380e5665fdea31fda76b4a0cf35b6fc0
[ "Apache-2.0" ]
214
2015-01-02T23:48:49.000Z
2020-01-14T10:47:37.000Z
lymph/tests/monitoring/test_global_metrics.py
MislavStipetic/lymph
aa36a688380e5665fdea31fda76b4a0cf35b6fc0
[ "Apache-2.0" ]
36
2015-01-13T13:44:15.000Z
2021-09-15T17:55:41.000Z
import unittest from lymph.core.monitoring.global_metrics import ProcessMetrics class GlobalMetricsTests(unittest.TestCase): def setUp(self): self.process_metrics = ProcessMetrics() def test_process_metrics(self): metric_names = [m[0] for m in self.process_metrics] self.assertIn('pr...
30.352941
63
0.717054
64
516
5.625
0.5
0.152778
0.177778
0.191667
0.252778
0.177778
0
0
0
0
0
0.002353
0.176357
516
16
64
32.25
0.844706
0
0
0
0
0
0.118217
0
0
0
0
0
0.363636
1
0.181818
false
0
0.181818
0
0.454545
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
46b3d507eb600e5a53572fdd92af45646f421732
2,644
py
Python
WikiTableScraper.py
YacobBY/RsDataScience
43845fae890739e3678041fdb002341baf080a1c
[ "MIT" ]
null
null
null
WikiTableScraper.py
YacobBY/RsDataScience
43845fae890739e3678041fdb002341baf080a1c
[ "MIT" ]
null
null
null
WikiTableScraper.py
YacobBY/RsDataScience
43845fae890739e3678041fdb002341baf080a1c
[ "MIT" ]
null
null
null
import pandas as pd import requests from bs4 import BeautifulSoup def getWikiLinks(urlBegin, urlEnd, wikiLink): wikiText = requests.get(wikiLink) soup = BeautifulSoup(wikiText.text, features="lxml") links = [a.get('href') for a in soup.find_all('a', href=True)] urlBegin2 = "http://oldschoolrunescape.w...
37.239437
113
0.638427
321
2,644
5.183801
0.352025
0.132212
0.16226
0.180288
0.349159
0.292067
0.292067
0.205529
0.205529
0.141827
0
0.014016
0.217474
2,644
70
114
37.771429
0.790237
0.068079
0
0.127273
0
0.018182
0.331842
0.00854
0
0
0
0
0
1
0.018182
false
0
0.054545
0
0.090909
0.163636
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
46b3ebabddda9e0d0c38d9f6e83e712872df6ba8
1,024
py
Python
Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/main.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/main.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando/main.py
Matheusfarmaceutico/Exercicios-Python
d1821bd9d11ea0707074c5fe11dead2e85476ebd
[ "MIT" ]
null
null
null
file = open("/home/matheus/Documentos/Repositorios_Linux/Exercicios-Python/Curso Udemy 2022/Nova_organizacao/aula_89_criando-lendo-escrevendo-apagando.py/abc.txt","w+") # w = escrita; + permite leitura e escrita file.write("Linha 01 \n") file.write("Linha 02 \n") file.write("Linha 03 \n") file.write("Linha 04 \n") fi...
26.947368
211
0.710938
167
1,024
4.335329
0.467066
0.074586
0.096685
0.069061
0.223757
0.223757
0.183702
0.183702
0.117403
0.117403
0
0.033003
0.112305
1,024
37
212
27.675676
0.763476
0.201172
0
0.464286
0
0.035714
0.341162
0.174289
0
0
0
0
0
1
0
false
0
0
0
0
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
d3b489f27a9fab87eee624212f203d5ff5297105
10,227
py
Python
dual/tests/dual_test.py
YumaShimomoto/dual
3cf79e6769e1c9e1560a45498a909c6757eb1a25
[ "MIT" ]
null
null
null
dual/tests/dual_test.py
YumaShimomoto/dual
3cf79e6769e1c9e1560a45498a909c6757eb1a25
[ "MIT" ]
null
null
null
dual/tests/dual_test.py
YumaShimomoto/dual
3cf79e6769e1c9e1560a45498a909c6757eb1a25
[ "MIT" ]
null
null
null
# # @Author: kuroitu (2020) # @email: Skuroitu@gmail.com # """ 参考:https://github.com/tmurakami1234/my_python_module/blob/master/dual/dual.py """ import numpy as np from dual import Dual def test(): print("+---------------------+") print("| Test of Dual module |") print("+---------------------+\n") ...
33.312704
108
0.417913
1,312
10,227
3.153201
0.08689
0.066715
0.097897
0.130529
0.544598
0.37225
0.289824
0.248973
0.236645
0.215857
0
0.017485
0.245038
10,227
306
109
33.421569
0.518197
0.022098
0
0.328467
0
0
0.364738
0.0832
0
0
0
0
0
1
0.00365
false
0
0.007299
0
0.010949
0.686131
0
0
0
null
0
0
0
0
0
0
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
d3b51d7cbde2ba3b601178d8893811f53ee319d0
296
py
Python
tests/layer/test_embeddings_df.py
hscspring/hnlp
20eb3172e6b3ecfe47fa6d657e7db4b3cf445404
[ "MIT" ]
2
2022-01-07T05:58:48.000Z
2022-03-08T01:47:03.000Z
tests/layer/test_embeddings_df.py
hscspring/hnlp
20eb3172e6b3ecfe47fa6d657e7db4b3cf445404
[ "MIT" ]
null
null
null
tests/layer/test_embeddings_df.py
hscspring/hnlp
20eb3172e6b3ecfe47fa6d657e7db4b3cf445404
[ "MIT" ]
null
null
null
from hnlp.layer.embeddings_tf import Embeddings from hnlp.sampler.sampler_tf import gen_input from pnlp import MagicDict def test_work(): x, y = gen_input(3, 60, 1, 2) config = MagicDict() embed = Embeddings(config) out = embed(x) assert out.shape.as_list() == [3, 60, 300]
24.666667
47
0.692568
46
296
4.326087
0.608696
0.080402
0
0
0
0
0
0
0
0
0
0.046218
0.195946
296
11
48
26.909091
0.789916
0
0
0
0
0
0
0
0
0
0
0
0.111111
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d3c20f1a3464b0fb318797964e36d1966a731415
1,535
py
Python
sft/utils/rsa.py
placiflury/gridmonitor-sft
f2a3e4295728b71965838fb59360c63e3d485f5e
[ "BSD-3-Clause" ]
null
null
null
sft/utils/rsa.py
placiflury/gridmonitor-sft
f2a3e4295728b71965838fb59360c63e3d485f5e
[ "BSD-3-Clause" ]
null
null
null
sft/utils/rsa.py
placiflury/gridmonitor-sft
f2a3e4295728b71965838fb59360c63e3d485f5e
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from M2Crypto import RSA import binascii class RSACipher(): def __init__(self, privkey, pubkey=None): self.priv_key = RSA.load_key(privkey) if pubkey: self.pub_key = RSA.load_pub_key(pubkey) def private_decrypt(self, ciphertext): encrypted = binas...
31.326531
79
0.664495
195
1,535
5
0.358974
0.066667
0.061538
0.086154
0.46359
0.46359
0.46359
0.369231
0.287179
0.287179
0
0.010101
0.226059
1,535
48
80
31.979167
0.810606
0.013029
0
0.25641
0
0
0.097094
0.046235
0
0
0
0
0.025641
0
null
null
0
0.051282
null
null
0.051282
0
0
0
null
0
0
0
0
0
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
d3c6fb2dc4930a5119eb098caace32490bd2c7f8
1,896
py
Python
django_visipedia/middleware.py
visipedia/django-visipedia
e7d3a280421f33b1c7e9c822fb774ca004b4e601
[ "MIT" ]
null
null
null
django_visipedia/middleware.py
visipedia/django-visipedia
e7d3a280421f33b1c7e9c822fb774ca004b4e601
[ "MIT" ]
null
null
null
django_visipedia/middleware.py
visipedia/django-visipedia
e7d3a280421f33b1c7e9c822fb774ca004b4e601
[ "MIT" ]
null
null
null
from django_visipedia import client, PersistentStorage from django_visipedia.models import VisipediaUser from django.contrib.auth import authenticate, login, logout class VisipediaMiddleware(object): @staticmethod def process_request(request): assert hasattr(request, ...
45.142857
225
0.62711
199
1,896
5.904523
0.452261
0.030638
0.033191
0.066383
0.04766
0
0
0
0
0
0
0
0.311181
1,896
41
226
46.243902
0.899694
0.202532
0
0.074074
0
0.037037
0.170082
0.037568
0
0
0
0.02439
0.037037
1
0.037037
false
0.037037
0.111111
0
0.222222
0
0
0
0
null
0
0
0
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
d3cbbe7486754e673843d5814c2a4f83a5439053
450
py
Python
config/hsm.py
raphaelshirley/obs_vista
69457409dcbeb856c174e4233d2dd5419602b93f
[ "Apache-2.0" ]
1
2020-07-16T16:20:00.000Z
2020-07-16T16:20:00.000Z
config/hsm.py
raphaelshirley/obs_vista
69457409dcbeb856c174e4233d2dd5419602b93f
[ "Apache-2.0" ]
1
2020-07-16T10:17:07.000Z
2020-07-20T15:30:49.000Z
config/hsm.py
raphaelshirley/obs_vista
69457409dcbeb856c174e4233d2dd5419602b93f
[ "Apache-2.0" ]
1
2021-06-07T10:09:03.000Z
2021-06-07T10:09:03.000Z
# Enable HSM shapes (unsetup meas_extensions_shapeHSM to disable) # 'config' is a SourceMeasurementConfig. import os.path from lsst.utils import getPackageDir try: config.load(os.path.join(getPackageDir("meas_extensions_shapeHSM"), "config", "enable.py")) config.plugins["ext_shapeHSM_HsmShapeRegauss"].deblendN...
40.909091
95
0.771111
56
450
6.071429
0.714286
0.082353
0.129412
0
0
0
0
0
0
0
0
0
0.117778
450
10
96
45
0.856423
0.226667
0
0
0
0
0.411594
0.150725
0
0
0
0
0
1
0
true
0
0.285714
0
0.285714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d3d2612c1976bfc8c8a51c365e713ce47ddf1a77
1,365
py
Python
enumeration.py
paulmadore/woodcoin-py
d3d4f64e9f2494c89d199a1931095fb49a4d1211
[ "MIT" ]
31
2016-01-10T00:01:27.000Z
2021-05-13T12:13:49.000Z
enumeration.py
5l1v3r1/bitcoin-tools
95d025c2914292558c6323fd88a19756f25558b1
[ "MIT" ]
1
2017-12-18T01:05:10.000Z
2017-12-18T01:05:10.000Z
enumeration.py
5l1v3r1/bitcoin-tools
95d025c2914292558c6323fd88a19756f25558b1
[ "MIT" ]
19
2015-02-26T15:22:35.000Z
2019-04-02T18:20:30.000Z
# # enum-like type # From the Python Cookbook, downloaded from http://code.activestate.com/recipes/67107/ # import types, string, exceptions class EnumException(exceptions.Exception): pass class Enumeration: def __init__(self, name, enumList): self.__doc__ = name lookup = { } reverseLo...
32.5
86
0.561172
151
1,365
4.986755
0.390728
0.095618
0.116866
0.031873
0.167331
0.167331
0
0
0
0
0
0.007901
0.350916
1,365
41
87
33.292683
0.841986
0.072527
0
0
0
0
0.088025
0
0
0
0
0
0
0
null
null
0.028571
0.028571
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
d3e78833bd0520cf95a82d8381ec2dec4cfe8d05
389
py
Python
imc/api/urls.py
VictorArnaud/sdcurve
d5397b0193fb01e94dc93c9fad5e2db195754384
[ "MIT" ]
null
null
null
imc/api/urls.py
VictorArnaud/sdcurve
d5397b0193fb01e94dc93c9fad5e2db195754384
[ "MIT" ]
8
2018-05-17T22:50:18.000Z
2018-05-19T01:15:26.000Z
imc/api/urls.py
VWApplications/sdcurve
d5397b0193fb01e94dc93c9fad5e2db195754384
[ "MIT" ]
1
2018-06-27T00:18:21.000Z
2018-06-27T00:18:21.000Z
from django.urls import path from . import views imc_curves_patterns_api = [ path( 'male/', views.IMCCurveMale.as_view(), name='curve-male' ), path( 'female/', views.IMCCurveFemale.as_view(), name='curve-female' ), path( 'result/', vie...
18.52381
43
0.547558
39
389
5.307692
0.512821
0.086957
0.144928
0.217391
0
0
0
0
0
0
0
0
0.318766
389
20
44
19.45
0.781132
0
0
0.263158
0
0
0.136247
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.105263
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
d3e9c3c64ba9318cbb92fb9a70a75c70273992f2
2,958
py
Python
todo/models.py
ransage/django-todo
09e1367bcacc676b35362f1f03dc53435802fda4
[ "BSD-3-Clause" ]
null
null
null
todo/models.py
ransage/django-todo
09e1367bcacc676b35362f1f03dc53435802fda4
[ "BSD-3-Clause" ]
null
null
null
todo/models.py
ransage/django-todo
09e1367bcacc676b35362f1f03dc53435802fda4
[ "BSD-3-Clause" ]
null
null
null
from django.db import models from django.forms.models import ModelForm from django import forms from django.contrib import admin from django.contrib.auth.models import User,Group import string, datetime from django.template.defaultfilters import slugify class List(models.Model): name = models.CharField(max_length...
31.806452
101
0.646383
370
2,958
5.067568
0.391892
0.032
0.0176
0.032
0.129067
0.0704
0.0384
0
0
0
0
0.005044
0.262677
2,958
92
102
32.152174
0.854654
0.214672
0
0.087719
0
0
0.048044
0
0
0
0
0
0
1
0.122807
false
0.017544
0.122807
0.070175
0.736842
0
0
0
0
null
0
0
0
0
0
0
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
d3ec08f0bc336a561962c390a416a97af9178859
3,872
py
Python
clients/Python/respeakerd_client.py
entn-at/respeakerd
7675a6263e33009e88c2debf25d46ddd6a630820
[ "MIT" ]
45
2018-03-09T07:08:07.000Z
2022-01-21T05:15:36.000Z
clients/Python/respeakerd_client.py
entn-at/respeakerd
7675a6263e33009e88c2debf25d46ddd6a630820
[ "MIT" ]
20
2018-05-29T09:19:08.000Z
2021-12-10T17:36:40.000Z
clients/Python/respeakerd_client.py
nextglory/x-iot-respeakerd
65c1eb4e823efbf92e7e58e16af4ba8af21e08ab
[ "MIT" ]
20
2018-03-23T02:09:58.000Z
2021-08-17T12:17:10.000Z
# -*- coding: utf-8 -*- import sys import os import errno import logging import socket import json import threading import time logger = logging.getLogger(__name__) SOCKET_FILE = '/tmp/respeakerd.sock' SOCKET_TIMEOUT = 1 # seconds class DisconnectException(Exception): pass class RespeakerdClient(object): ...
26.340136
105
0.519628
426
3,872
4.633803
0.260563
0.032421
0.024316
0.027356
0.233029
0.163121
0.137791
0.10233
0.10233
0.054711
0
0.008351
0.381457
3,872
146
106
26.520548
0.815866
0.028151
0
0.298246
0
0
0.099893
0
0
0
0
0
0
0
null
null
0.008772
0.070175
null
null
0.008772
0
0
0
null
0
0
0
0
0
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
d3ed421ff7326fd663b3581de7e3236f68efc8d7
12,726
py
Python
bottleneck/slow/func.py
fhal/bottleneck
7147ad85fadbc9c6ffccb05224efa7c380ded4ee
[ "BSD-2-Clause" ]
1
2015-01-30T19:49:12.000Z
2015-01-30T19:49:12.000Z
bottleneck/slow/func.py
fhal/bottleneck
7147ad85fadbc9c6ffccb05224efa7c380ded4ee
[ "BSD-2-Clause" ]
null
null
null
bottleneck/slow/func.py
fhal/bottleneck
7147ad85fadbc9c6ffccb05224efa7c380ded4ee
[ "BSD-2-Clause" ]
null
null
null
import numpy as np __all__ = ['median', 'nanmedian', 'nansum', 'nanmean', 'nanvar', 'nanstd', 'nanmin', 'nanmax', 'nanargmin', 'nanargmax', 'rankdata', 'nanrankdata', 'ss', 'partsort', 'argpartsort', 'replace'] def median(arr, axis=None): "Slow median function used for unaccelerated ndim/dt...
27.076596
79
0.567814
1,803
12,726
3.986134
0.159179
0.025324
0.044525
0.05343
0.43036
0.403367
0.367191
0.347711
0.287603
0.224294
0
0.030651
0.287286
12,726
469
80
27.134328
0.761742
0.062313
0
0.387387
0
0
0.185259
0
0
0
0
0.002132
0
0
null
null
0
0.004505
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
d3f0f2e21baa6769fe36568f487209fb977e9bc4
419
py
Python
desktop/core/ext-py/boto-2.46.1/tests/mturk/mocks.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
1
2020-05-17T06:40:33.000Z
2020-05-17T06:40:33.000Z
desktop/core/ext-py/boto-2.46.1/tests/mturk/mocks.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
4
2020-07-21T12:51:46.000Z
2022-01-22T10:29:25.000Z
desktop/core/ext-py/boto-2.46.1/tests/mturk/mocks.py
soongxin/hhue
acf5e0985c2d64b370d25754095e2231899e4c79
[ "Apache-2.0" ]
1
2020-07-25T18:17:57.000Z
2020-07-25T18:17:57.000Z
from boto.mturk.connection import MTurkConnection as RealMTurkConnection class MTurkConnection(RealMTurkConnection): """ Mock MTurkConnection that doesn't connect, but instead just prepares the request and captures information about its usage. """ def _process_request(self, *args, **kwargs): saved_args = self...
34.916667
72
0.782816
50
419
6.3
0.68
0.085714
0
0
0
0
0
0
0
0
0
0
0.121718
419
11
73
38.090909
0.855978
0.291169
0
0
0
0
0.111888
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
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
d3f12d4637f6b931f971a0b28e49e312c66fd221
1,154
py
Python
Raspberry/test-control.py
CharlesterWide/TFG-Escarabob
04951dfe07f2b7965aaf1b25c2450f9881244c22
[ "Apache-2.0" ]
null
null
null
Raspberry/test-control.py
CharlesterWide/TFG-Escarabob
04951dfe07f2b7965aaf1b25c2450f9881244c22
[ "Apache-2.0" ]
null
null
null
Raspberry/test-control.py
CharlesterWide/TFG-Escarabob
04951dfe07f2b7965aaf1b25c2450f9881244c22
[ "Apache-2.0" ]
null
null
null
import serial import time import paho.mqtt.client as mqtt import sys host = "192.168.1.11" puerto = 1883 arduino = serial.Serial('/dev/ttyACM0', 115200) time.sleep(2) Connected = False def on_connect(client, userdata, flags, rc): if rc == 0: print("Connected to broker") client.subscribe...
18.31746
62
0.62825
143
1,154
5
0.433566
0.020979
0.041958
0.058741
0
0
0
0
0
0
0
0.025
0.237435
1,154
62
63
18.612903
0.7875
0.043328
0
0.105263
0
0
0.089837
0
0
0
0
0
0
1
0.078947
false
0.052632
0.105263
0
0.184211
0.105263
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d3f2ac1c02ebb208903316e7066e23b432d8736b
1,009
py
Python
qatrack/qa/migrations/0008_sublist_to_children.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
20
2021-03-11T18:37:32.000Z
2022-03-23T19:38:07.000Z
qatrack/qa/migrations/0008_sublist_to_children.py
crcrewso/qatrackplus
b9da3bc542d9e3eca8b7291bb631d1c7255d528e
[ "MIT" ]
75
2021-02-12T02:37:33.000Z
2022-03-29T20:56:16.000Z
qatrack/qa/migrations/0008_sublist_to_children.py
randlet/qatrackplus-ci
ba11d39a07382b11394aaffd0df692b4ddc6239b
[ "MIT" ]
5
2021-04-07T15:46:53.000Z
2021-09-18T16:55:00.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-24 16:02 from __future__ import unicode_literals from django.db import migrations def sublists_to_children(apps, schema): TestList = apps.get_model("qa", "TestList") Sublist = apps.get_model("qa", "Sublist") for tl in TestList.objects.filt...
26.552632
78
0.674926
130
1,009
5.053846
0.469231
0.060883
0.054795
0.063927
0.207002
0.207002
0.121766
0.121766
0
0
0
0.041045
0.203171
1,009
37
79
27.27027
0.776119
0.067393
0
0.090909
1
0
0.061834
0.02452
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3f6684a2dddb08f387c5204be98a1b0f43fdb50
767
py
Python
db/data/autotest_files/autotest01/student_files/leave_file_behind_A/submission.py
czack810150/Markus
ba3e1506252e6b4bc84cde6bed472bfebcbb834c
[ "MIT" ]
1
2018-07-19T03:41:38.000Z
2018-07-19T03:41:38.000Z
db/data/autotest_files/autotest01/student_files/leave_file_behind_A/submission.py
amrrsharaff/Markus
6d59c7cc60becec3f6dc7ea7209984ea331675ad
[ "MIT" ]
null
null
null
db/data/autotest_files/autotest01/student_files/leave_file_behind_A/submission.py
amrrsharaff/Markus
6d59c7cc60becec3f6dc7ea7209984ea331675ad
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ This student submission file is used to test the autotester It represents the test case where: The submission creates a file which should be removed by the autotester. leave_file_behind_B/submission.py then checks if the file is still around """ import os import json filename = 'aband...
33.347826
184
0.709257
115
767
4.591304
0.565217
0.051136
0.085227
0.068182
0.231061
0.231061
0.231061
0.231061
0.231061
0.231061
0
0.006015
0.132986
767
22
185
34.863636
0.78797
0.350717
0
0
0
0
0.476483
0.09816
0
0
0
0
0
1
0
false
0.125
0.25
0
0.25
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d3f926cfb5ae694640ef0a0c1fac5d3f318f5e43
1,744
py
Python
StanCodeProjects/SC101_Assignment1/bouncing_ball.py
minnyhuang/StanCodeProjects
feaa2cc6e3b2c13d264c381f7cb3db73fa9dea3b
[ "MIT" ]
null
null
null
StanCodeProjects/SC101_Assignment1/bouncing_ball.py
minnyhuang/StanCodeProjects
feaa2cc6e3b2c13d264c381f7cb3db73fa9dea3b
[ "MIT" ]
null
null
null
StanCodeProjects/SC101_Assignment1/bouncing_ball.py
minnyhuang/StanCodeProjects
feaa2cc6e3b2c13d264c381f7cb3db73fa9dea3b
[ "MIT" ]
null
null
null
""" File: bouncing_ball.py Name: Minny ------------------------- TODO: This program simulates a bouncing ball at (START_X, START_Y) that has VX as x velocity and 0 as y velocity. """ from campy.graphics.gobjects import GOval from campy.graphics.gwindow import GWindow from campy.gui.events.timer import ...
23.890411
72
0.553326
229
1,744
4.052402
0.366812
0.038793
0.02694
0.043103
0.202586
0.176724
0.176724
0.176724
0.176724
0.176724
0
0.024867
0.354358
1,744
72
73
24.222222
0.79929
0.225917
0
0.090909
0
0
0.023331
0
0
0
0
0.013889
0
1
0.045455
false
0
0.090909
0
0.136364
0
0
0
0
null
0
0
0
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
d3f97054926c5a4b7c2a66b4c3c39bd1e63745ef
753
py
Python
cog/models/project_impact.py
downiec/COG
cea8ceac701958b6af8e272698bfb08d89f62bf4
[ "BSD-3-Clause" ]
6
2016-03-10T19:38:17.000Z
2021-02-23T09:34:59.000Z
cog/models/project_impact.py
downiec/COG
cea8ceac701958b6af8e272698bfb08d89f62bf4
[ "BSD-3-Clause" ]
602
2015-01-05T16:30:08.000Z
2021-02-02T21:44:38.000Z
cog/models/project_impact.py
cedadev/COG
6167f9114c7cf0422b34fb9f5f3f07f9657a7dbe
[ "BSD-3-Clause" ]
18
2015-02-12T15:50:17.000Z
2021-04-27T16:40:36.000Z
from django.db import models from constants import APPLICATION_LABEL from project import Project class ProjectImpact(models.Model): project = models.ForeignKey(Project, blank=False, related_name='impacts') title = models.CharField(max_length=200, help_text='Title for this impact.', blank=False, null=False...
44.294118
157
0.743692
99
753
5.525253
0.59596
0.054845
0.051188
0.06947
0
0
0
0
0
0
0
0.0048
0.169987
753
17
158
44.294118
0.8704
0.119522
0
0
0
0
0.145015
0
0
0
0
0
0
1
0.083333
false
0
0.25
0.083333
0.916667
0
0
0
0
null
0
0
0
0
0
0
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
d3fe3cc49966395af361d0eecd4dfb5974efb72f
13,575
py
Python
pymavlink-2.3.8/generator/mavgen_objc.py
NicEscobar/InertialNavigation
85dffed6cf5c4063a097c3c9305f4ec92ce53623
[ "MIT" ]
24
2019-08-13T02:39:01.000Z
2022-03-03T15:44:54.000Z
pymavlink-2.3.8/generator/mavgen_objc.py
NicEscobar/InertialNavigation
85dffed6cf5c4063a097c3c9305f4ec92ce53623
[ "MIT" ]
4
2020-11-16T02:03:09.000Z
2021-08-19T08:16:48.000Z
pymavlink-2.3.8/generator/mavgen_objc.py
NicEscobar/InertialNavigation
85dffed6cf5c4063a097c3c9305f4ec92ce53623
[ "MIT" ]
11
2019-07-28T09:11:40.000Z
2022-03-17T08:08:27.000Z
#!/usr/bin/env python ''' parse a MAVLink protocol XML file and generate an Objective-C implementation Copyright John Boiles 2013 Released under GNU GPL version 3 or later ''' from __future__ import print_function import os from . import mavparse, mavtemplate t = mavtemplate.MAVTemplate() def generate_mavlink(direc...
30.993151
286
0.676759
1,713
13,575
5.177466
0.165207
0.038561
0.021987
0.022325
0.43793
0.357763
0.284361
0.25809
0.242643
0.162927
0
0.002827
0.192265
13,575
437
287
31.064073
0.806019
0.064751
0
0.383686
1
0.018127
0.586201
0.155114
0
0
0
0
0
1
0.02719
false
0.006042
0.036254
0
0.099698
0.033233
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
31040563fc1ae019f17cb135a7d54857b7c1c7b4
868
py
Python
Packages/Patterns_Package/alp/cap_alp/Q.py
saribalarakeshreddy/Python-3.9.0
25b4c74feb2a27b91e69aa82becde23e356e82c4
[ "MIT" ]
null
null
null
Packages/Patterns_Package/alp/cap_alp/Q.py
saribalarakeshreddy/Python-3.9.0
25b4c74feb2a27b91e69aa82becde23e356e82c4
[ "MIT" ]
null
null
null
Packages/Patterns_Package/alp/cap_alp/Q.py
saribalarakeshreddy/Python-3.9.0
25b4c74feb2a27b91e69aa82becde23e356e82c4
[ "MIT" ]
null
null
null
def for_Q(): """ Pattern of Captital Alphabet: 'Q' using for loop""" for i in range(7): for j in range(6): if i%4==0 and j in(1,2,3) or j%4==0 and i in(1,2,3) or i==j and i>1: print('*',end=' ') else: ...
37.73913
93
0.306452
110
868
2.4
0.245455
0.030303
0.075758
0.075758
0.681818
0.681818
0.681818
0.439394
0.439394
0.439394
0
0.078534
0.559908
868
22
94
39.454545
0.612565
0.114055
0
0.5
0
0
0.010899
0
0
0
0
0
0
1
0.1
false
0
0
0
0.1
0.3
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
3107712cd34aa458f915e94f93dc93f701dd0175
17,135
py
Python
python/glow/wgr/linear_model/ridge_model.py
kasraimanirad/glow
796c98e61801d1d76c17dbc41fbd272ad6a7b84e
[ "Apache-2.0" ]
null
null
null
python/glow/wgr/linear_model/ridge_model.py
kasraimanirad/glow
796c98e61801d1d76c17dbc41fbd272ad6a7b84e
[ "Apache-2.0" ]
null
null
null
python/glow/wgr/linear_model/ridge_model.py
kasraimanirad/glow
796c98e61801d1d76c17dbc41fbd272ad6a7b84e
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The Glow Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writ...
47.997199
120
0.648089
2,065
17,135
5.257143
0.149153
0.024871
0.039149
0.018239
0.697587
0.685796
0.654477
0.628869
0.61192
0.602063
0
0.001642
0.289174
17,135
356
121
48.132022
0.889655
0.454041
0
0.60241
0
0
0.065473
0.012098
0
0
0
0.002809
0
1
0.054217
false
0
0.060241
0
0.168675
0.006024
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
3108386a5344ebe85106a05cc10d7479bb26715b
717
py
Python
short.py
saromanov/jenkins-short
2e0ad3f004f4facf7083ae461c2378c17928f1e9
[ "MIT" ]
null
null
null
short.py
saromanov/jenkins-short
2e0ad3f004f4facf7083ae461c2378c17928f1e9
[ "MIT" ]
null
null
null
short.py
saromanov/jenkins-short
2e0ad3f004f4facf7083ae461c2378c17928f1e9
[ "MIT" ]
null
null
null
import jenkins import os def get_builds(server, color): jobs = server.get_all_jobs() for j in jobs: if j['color'] == color: print(j['name']) def get_job_info(server, job): return server.get_job_info(job) def create_job(server, path): server.get_job_config(path) server.build_jo...
28.68
65
0.714086
107
717
4.588785
0.345794
0.09776
0.0611
0.057026
0.114053
0.114053
0
0
0
0
0
0.006678
0.164575
717
25
66
28.68
0.813022
0
0
0
0
0
0.21727
0.061281
0
0
0
0
0
1
0.142857
false
0.190476
0.095238
0.047619
0.285714
0.047619
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3110a9a7885ac0d1ddc2caf4e880e149be23f2b4
1,781
py
Python
cuprint.py
COHRINT/cuprint
0e67af0fd5a5255df8f4d5cca4c0667b19d72abf
[ "MIT" ]
null
null
null
cuprint.py
COHRINT/cuprint
0e67af0fd5a5255df8f4d5cca4c0667b19d72abf
[ "MIT" ]
null
null
null
cuprint.py
COHRINT/cuprint
0e67af0fd5a5255df8f4d5cca4c0667b19d72abf
[ "MIT" ]
null
null
null
from __future__ import print_function """@package cuprint This file provides an interface for colored terminal printing """ import sys import rospy class bcolors: # For terminal colors HEADER = '\033[95m' OKBLUE = '\033[94m' OKGREEN = '\033[92m' WARNING = '\033[93m' FAIL = '\033[91m' ENDC = '...
28.269841
77
0.588433
223
1,781
4.484305
0.372197
0.11
0.065
0.066
0.062
0.062
0.062
0.062
0.062
0.062
0
0.042164
0.294217
1,781
62
78
28.725806
0.753381
0.04548
0
0.148936
0
0
0.131137
0
0
0
0
0
0
1
0.042553
false
0
0.085106
0
0.340426
0.404255
0
0
0
null
0
0
0
0
0
0
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
31114b7c0550cbff576d55ee3564e5e7e4085d63
6,012
py
Python
keystone/middleware/s3_token.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
keystone/middleware/s3_token.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
keystone/middleware/s3_token.py
admiyo/keystone
9452cf04bc8b0a4dc66dc640615d5ace1ca715f2
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # Copyright 2010 United States Government as represented by the # Administrator of the National Aeronautics and Space Administration. # Copyright 2011,2012 Akira YOSHIYAMA <akirayoshiyama@gmail.com> # All Rights Reserved. # # Licensed under the Apache License, Version 2.0...
37.111111
79
0.598636
702
6,012
5.039886
0.376068
0.036179
0.016959
0.018089
0.082533
0.040136
0
0
0
0
0
0.010955
0.301564
6,012
161
80
37.341615
0.831627
0.309714
0
0.071429
0
0
0.122574
0.005584
0
0
0
0.006211
0
0
null
null
0
0.047619
null
null
0.011905
0
0
0
null
0
0
0
0
0
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
31241104b40d128d551ec329dc1df178bd0161be
208
py
Python
autoproto/__init__.py
mk-pmb/pyminecraft
1bc936c87c1bc16833337ed381bd1d3b41fcdb1c
[ "MIT" ]
1
2019-04-15T16:30:08.000Z
2019-04-15T16:30:08.000Z
autoproto/__init__.py
mk-pmb/pyminecraft
1bc936c87c1bc16833337ed381bd1d3b41fcdb1c
[ "MIT" ]
null
null
null
autoproto/__init__.py
mk-pmb/pyminecraft
1bc936c87c1bc16833337ed381bd1d3b41fcdb1c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """autoproto A package for making the process of reading a binary packet much easier. """ __author__ = 'andreas@blixt.org (Andreas Blixt)' __license__ = 'MIT' __version__ = '0.1a'
17.333333
72
0.6875
28
208
4.678571
0.892857
0.183206
0
0
0
0
0
0
0
0
0
0.017341
0.168269
208
11
73
18.909091
0.739884
0.509615
0
0
0
0
0.425532
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3126dabfe21311c167b1ebcb659956347df1a689
1,516
py
Python
Configuration/EventContent/test/makeSkim.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/EventContent/test/makeSkim.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
Configuration/EventContent/test/makeSkim.py
nistefan/cmssw
ea13af97f7f2117a4f590a5e654e06ecd9825a5b
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python r''' cmsRun Configuration file that skims the data from the reconstructed events. It is very general and allows to set in the metaconfig the parameters for the skimming. ''' import FWCore.ParameterSet.Config as cms # The meta configuration: 3 parameters import metaconfig print 'metaco...
37.9
123
0.692612
168
1,516
6.178571
0.517857
0.046243
0.052023
0
0
0
0
0
0
0
0
0.002532
0.218338
1,516
40
124
37.9
0.873418
0.140501
0
0
0
0
0.203125
0.148897
0
0
0
0
0
0
null
null
0
0.157895
null
null
0.157895
0
0
0
null
0
0
0
0
0
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
313535bc4a677c3f5a93fe6ac9fb0310022ce322
200
py
Python
languages/python/tests/test_mips.py
6A/asmsq
bcece68e6fee2091225da8ef3e7c874900a55b53
[ "MIT" ]
16
2019-01-22T08:37:02.000Z
2021-05-28T11:48:32.000Z
languages/python/tests/test_mips.py
6A/asmsq
bcece68e6fee2091225da8ef3e7c874900a55b53
[ "MIT" ]
8
2018-05-16T21:15:13.000Z
2018-07-01T09:58:49.000Z
languages/python/tests/test_mips.py
71/asmdot
bcece68e6fee2091225da8ef3e7c874900a55b53
[ "MIT" ]
1
2018-05-16T16:39:26.000Z
2018-05-16T16:39:26.000Z
from asm.mips import * # pylint: disable=W0614 def should_assemble_single_addi_instruction(): asm = MipsAssembler(4) asm.addi(Reg.T1, Reg.T2, 0) assert asm.buf == b"\x00\x00\x49\x21"
20
47
0.685
31
200
4.290323
0.806452
0
0
0
0
0
0
0
0
0
0
0.097561
0.18
200
9
48
22.222222
0.713415
0.105
0
0
0
0
0.090909
0
0
0
0
0
0.2
1
0.2
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
313915163d320a547d44aedd3c712570c2680d04
10,587
py
Python
root_reader/main.py
kamilrakoczy/j-pet-gate-tools
0bd40b42dd333d742f34f9c2134737bfd5612281
[ "Apache-2.0" ]
2
2019-01-29T15:11:07.000Z
2020-07-28T21:51:35.000Z
root_reader/main.py
kamilrakoczy/j-pet-gate-tools
0bd40b42dd333d742f34f9c2134737bfd5612281
[ "Apache-2.0" ]
15
2017-07-05T08:15:46.000Z
2022-02-02T01:32:10.000Z
root_reader/main.py
kamilrakoczy/j-pet-gate-tools
0bd40b42dd333d742f34f9c2134737bfd5612281
[ "Apache-2.0" ]
11
2017-06-27T06:40:11.000Z
2022-01-02T16:00:19.000Z
import os, sys from collections import OrderedDict import ROOT class ROOTreader(object): def __init__(self, input_file): self.file = ROOT.TFile(input_file) self.root_files_path = '../assets/root_files/' self.lm_files_path = '../assets/lm_files/' def events(self, branch="Coincidences...
36.010204
127
0.526589
1,235
10,587
4.395951
0.187045
0.028182
0.016209
0.025787
0.328053
0.276847
0.194879
0.163934
0.163934
0.133726
0
0.041371
0.347029
10,587
293
128
36.133106
0.743961
0.155946
0
0.299401
0
0.011976
0.088447
0.00911
0
0
0
0
0
0
null
null
0.011976
0.017964
null
null
0.077844
0
0
0
null
0
0
0
0
0
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
314583e1ea50672ff4410220644882bcb2780a68
5,827
py
Python
control_de_flujo.py
EUD-curso-python/control-de-flujo-admspere
f14d3937588ed859f614cbdf9535e4b7707c4ff9
[ "MIT" ]
null
null
null
control_de_flujo.py
EUD-curso-python/control-de-flujo-admspere
f14d3937588ed859f614cbdf9535e4b7707c4ff9
[ "MIT" ]
null
null
null
control_de_flujo.py
EUD-curso-python/control-de-flujo-admspere
f14d3937588ed859f614cbdf9535e4b7707c4ff9
[ "MIT" ]
null
null
null
"""Guarde en lista `naturales` los primeros 100 números naturales (desde el 1) usando el bucle while """ S = 1 naturales = [] while S < 101: naturales.append(S) S += 1 print("\n\tLos primeros 100 números naturales desde 1 ==> ",naturales) """Guarde en `acumulado` una lista con el siguiente patrón: ['1','1...
24.380753
501
0.621074
1,002
5,827
3.61477
0.324351
0.025124
0.014909
0.021259
0.280508
0.22032
0.22032
0.204859
0.18995
0.126449
0
0.157975
0.21675
5,827
238
502
24.483193
0.634312
0.016818
0
0.09375
0
0.020833
0.267137
0.009027
0
0
0
0.016807
0
1
0
false
0
0
0
0
0.197917
0
0
0
null
0
0
0
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
314a72c50d511937753da98e102c171de405589a
3,404
py
Python
src/backupSwitchDatacom.py
ronikleyton/script-backup-switch-datacom
2487a13e65b7f04a8cfdb750d7a1ee41b4b93a51
[ "MIT" ]
null
null
null
src/backupSwitchDatacom.py
ronikleyton/script-backup-switch-datacom
2487a13e65b7f04a8cfdb750d7a1ee41b4b93a51
[ "MIT" ]
null
null
null
src/backupSwitchDatacom.py
ronikleyton/script-backup-switch-datacom
2487a13e65b7f04a8cfdb750d7a1ee41b4b93a51
[ "MIT" ]
null
null
null
from telnetlib import Telnet from exception.exceptions import * from datetime import date import time import os from dotenv import load_dotenv import json load_dotenv() ROOT_DIR = os.path.dirname(os.path.abspath(__file__)) f = open(f'{ROOT_DIR}/equipamentos.json') equipamentos = json.load(f)['equipamentos'] def ba...
33.048544
106
0.65188
403
3,404
5.406948
0.277916
0.134924
0.091785
0.04681
0.391923
0.374943
0.374943
0.35475
0.306104
0.25195
0
0.006413
0.22121
3,404
103
107
33.048544
0.815541
0.0047
0
0.232877
0
0
0.201358
0.043401
0
0
0
0
0
1
0.027397
false
0.09589
0.09589
0
0.136986
0.041096
0
0
0
null
0
0
0
0
0
0
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
3154276f0e38c14735b0bf7a6e2da0ed1dbf3b3d
665
py
Python
rest_registration/enums.py
damienallen/django-rest-registration
ad5b87c258acb7669732375d2cf3eac3a6423013
[ "MIT" ]
null
null
null
rest_registration/enums.py
damienallen/django-rest-registration
ad5b87c258acb7669732375d2cf3eac3a6423013
[ "MIT" ]
4
2021-04-08T21:52:33.000Z
2021-06-10T20:25:03.000Z
rest_registration/enums.py
damienallen/django-rest-registration
ad5b87c258acb7669732375d2cf3eac3a6423013
[ "MIT" ]
null
null
null
from enum import Enum class ErrorCode(Enum): NO_RESET_PASSWORD_VER_URL = 1 NO_REGISTER_VER_URL = 2 NO_REGISTER_EMAIL_VER_URL = 3 NO_VER_FROM_EMAIL = 4 NO_TOKEN_AUTH_CONFIG = 5 NO_TOKEN_AUTH_INSTALLED = 6 INVALID_EMAIL_TEMPLATE_CONFIG = 7 NO_AUTH_INSTALLED = 8 DRF_INCOMPATIBLE_DJANG...
24.62963
52
0.726316
98
665
4.438776
0.530612
0.041379
0.050575
0.073563
0.11954
0.11954
0
0
0
0
0
0.035985
0.206015
665
26
53
25.576923
0.787879
0
0
0.1
0
0
0.051128
0
0
0
0
0
0
1
0.1
false
0.05
0.05
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
315638773a78771df4f7b9a39cdcc93223afefad
2,729
py
Python
observations/r/bmt.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
199
2017-07-24T01:34:27.000Z
2022-01-29T00:50:55.000Z
observations/r/bmt.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
46
2017-09-05T19:27:20.000Z
2019-01-07T09:47:26.000Z
observations/r/bmt.py
hajime9652/observations
2c8b1ac31025938cb17762e540f2f592e302d5de
[ "Apache-2.0" ]
45
2017-07-26T00:10:44.000Z
2022-03-16T20:44:59.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import from __future__ import division from __future__ import print_function import csv import numpy as np import os import sys from observations.util import maybe_download_and_extract def bmt(path): """data from Section 1.3 The `bmt` data frame has 137 r...
22.553719
74
0.672041
405
2,729
4.459259
0.471605
0.019934
0.033223
0.036545
0.13732
0.075305
0.075305
0.036545
0
0
0
0.033317
0.2631
2,729
120
75
22.741667
0.864744
0.670575
0
0
0
0
0.083333
0
0
0
0
0
0
1
0.045455
false
0
0.409091
0
0.5
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
315657d20888d408be060f1ed1c53d0058257932
5,847
py
Python
bin/jobstate.py
fifemon/probes
5ad31af21ea81f1709a2df94b7a8257805330602
[ "BSD-3-Clause" ]
8
2016-05-19T20:45:09.000Z
2019-05-23T15:31:13.000Z
bin/jobstate.py
fubarwrangler/fifemon
77983dfffd36e4616afbca9b87bf3699223ec265
[ "BSD-3-Clause" ]
4
2016-08-08T17:53:38.000Z
2017-08-16T15:08:18.000Z
bin/jobstate.py
fubarwrangler/fifemon
77983dfffd36e4616afbca9b87bf3699223ec265
[ "BSD-3-Clause" ]
7
2016-08-08T09:12:05.000Z
2021-07-16T17:02:15.000Z
#!/usr/bin/python import logging import json import datetime import time import urllib2 from optparse import OptionParser import classad import htcondor logger = logging.getLogger(__name__) class Jobs(object): def __init__(self, pool="localhost"): self.pool = pool self.collector = htcondor.Colle...
37.242038
127
0.544382
618
5,847
5.006472
0.29288
0.007757
0.02424
0.031997
0.054945
0.023917
0
0
0
0
0
0.010961
0.329058
5,847
156
128
37.480769
0.777721
0.005644
0
0.067164
0
0
0.223886
0.013595
0
0
0
0
0
0
null
null
0
0.059701
null
null
0.007463
0
0
0
null
0
0
0
0
0
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
315bde89ddbea8afd9d78e0152861ba4b9c51fa0
1,915
py
Python
python/solutii/bogdan_iacoboae/caesar/caesar.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
python/solutii/bogdan_iacoboae/caesar/caesar.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
python/solutii/bogdan_iacoboae/caesar/caesar.py
broascaiulian/labs
068c7f440c7a29cb6a3e1dbb8e4bb7dfaff5a050
[ "MIT" ]
null
null
null
# coding=utf-8 # from __future__ import print_function """Împăratul a primit serie de mesaje importante pe care este important să le descifreze cât mai repede. Din păcate mesagerul nu a apucat să îi spună împăratul care au fost cheile alese pentru fiecare mesaj și tu ai fost ales să descifrezi misterul. Informații: ...
27.753623
72
0.606266
238
1,915
4.768908
0.529412
0.023789
0.02467
0.031718
0
0
0
0
0
0
0
0.004383
0.285117
1,915
68
73
28.161765
0.82469
0.02611
0
0.075
0
0
0.094563
0.055162
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
3163837707bff11f9023b281ac2571dde3b9bebb
5,030
py
Python
tiktok_bot/models/post.py
reliefs/tiktok_bot
30404c0cd9ae1d52eb5b8818fbf282af1f68ee7a
[ "MIT" ]
118
2019-10-22T07:56:34.000Z
2022-03-30T11:33:25.000Z
tiktok_bot/models/post.py
reliefs/tiktok_bot
30404c0cd9ae1d52eb5b8818fbf282af1f68ee7a
[ "MIT" ]
14
2019-10-27T00:06:29.000Z
2020-12-30T09:10:43.000Z
tiktok_bot/models/post.py
reliefs/tiktok_bot
30404c0cd9ae1d52eb5b8818fbf282af1f68ee7a
[ "MIT" ]
40
2019-10-27T15:46:58.000Z
2022-03-15T00:21:47.000Z
from typing import List, Optional from pydantic import BaseModel from .music import MusicTrack from .request import ( BaseResponseData, CursorOffsetRequestParams, CursorOffsetResponseParams, ListRequestParams, ListResponseData, ) from .user import CommonUserDetails from .video import Video class...
23.504673
93
0.693042
723
5,030
4.748271
0.257261
0.06321
0.028838
0.032625
0.21905
0.146519
0.078357
0.058549
0.058549
0.033207
0
0.005576
0.251292
5,030
213
94
23.615023
0.906001
0.444732
0
0.093023
0
0
0.011326
0
0
0
0
0
0
1
0.023256
false
0
0.069767
0.011628
0.895349
0
0
0
0
null
0
0
0
0
0
0
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
31646cc61f9434faa12d0e33f66946ee58693de1
35,272
py
Python
eventregistry/QueryArticles.py
ROBOTiCS-LLC/event-registry-python
cfd868dbc7a688bd623ac1e438ffe354e92f2e09
[ "MIT" ]
1
2021-03-01T07:21:17.000Z
2021-03-01T07:21:17.000Z
eventregistry/QueryArticles.py
ROBOTiCS-LLC/event-registry-python
cfd868dbc7a688bd623ac1e438ffe354e92f2e09
[ "MIT" ]
null
null
null
eventregistry/QueryArticles.py
ROBOTiCS-LLC/event-registry-python
cfd868dbc7a688bd623ac1e438ffe354e92f2e09
[ "MIT" ]
1
2021-03-01T07:21:11.000Z
2021-03-01T07:21:11.000Z
import six, json from eventregistry.Base import * from eventregistry.ReturnInfo import * from eventregistry.Query import * class QueryArticles(Query): def __init__(self, keywords = None, conceptUri = None, categoryUri = None, sourceUri = None, ...
54.685271
515
0.678073
3,852
35,272
6.163811
0.165628
0.016679
0.006486
0.013141
0.385124
0.323716
0.298277
0.274902
0.249505
0.243524
0
0.010845
0.257598
35,272
645
516
54.685271
0.895822
0.037367
0
0.287356
0
0
0.112543
0.006769
0
0
0
0
0.08908
0
null
null
0
0.014368
null
null
0.008621
0
0
0
null
0
0
0
0
0
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
3165e8ed34da113f7924e8640b809c406699c89e
683
py
Python
preprocessing/TRStemmer/states/__init__.py
ucekmez/summarizer
8d7976d90922cc237179c3cddee1052e1a42d1fd
[ "Unlicense", "MIT" ]
205
2015-01-19T03:01:22.000Z
2022-03-18T14:25:11.000Z
preprocessing/TRStemmer/states/__init__.py
ucekmez/summarizer
8d7976d90922cc237179c3cddee1052e1a42d1fd
[ "Unlicense", "MIT" ]
3
2015-01-11T12:50:54.000Z
2019-02-21T08:30:03.000Z
preprocessing/TRStemmer/states/__init__.py
ucekmez/summarizer
8d7976d90922cc237179c3cddee1052e1a42d1fd
[ "Unlicense", "MIT" ]
34
2016-03-09T22:55:05.000Z
2022-03-27T21:57:19.000Z
from ..transitions import Transition from ..suffixes import * __all__ = ["State"] class State(object): def __init__(self, initialState, finalState, *suffixes): self.initialState = initialState self.finalState = finalState if suffixes is None: self.suffixes = () else: ...
32.52381
98
0.648609
70
683
6.228571
0.471429
0.082569
0
0
0
0
0
0
0
0
0
0
0.254758
683
21
99
32.52381
0.854617
0
0
0
0
0
0.046852
0
0
0
0
0
0
0
null
null
0
0.117647
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
31674be99b7cec9c91c62e425df757f8abbce7b6
5,625
py
Python
tools/mytools/ARIA/check.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/ARIA/check.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
tools/mytools/ARIA/check.py
fmareuil/Galaxy_test_pasteur
6f84fb0fc52e3e7dd358623b5da5354c66e16a5f
[ "CC-BY-3.0" ]
null
null
null
""" ARIA -- Ambiguous Restraints for Iterative Assignment A software for automated NOE assignment Version 2.3 Copyright (C) Benjamin Bardiaux, Michael Habeck, Therese Malliavin, Wolfgang Rieping, and Michael Nilges All rights reserved. NO W...
25.684932
202
0.621156
668
5,625
5.109281
0.281437
0.02637
0.030765
0.022268
0.186053
0.138295
0.122473
0.098447
0.098447
0.075593
0
0.014606
0.294044
5,625
218
203
25.802752
0.844875
0.062222
0
0.267176
0
0.022901
0.285905
0
0
0
0
0
0
0
null
null
0
0.167939
null
null
0.251908
0
0
0
null
0
0
0
0
0
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
316d8733889e4d6fa1f4444d4573e1fb70a804e6
505
py
Python
pac_backup/migrations/0024_auto_20200830_2324.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
null
null
null
pac_backup/migrations/0024_auto_20200830_2324.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
7
2021-06-04T23:45:15.000Z
2022-03-12T00:44:14.000Z
pac_backup/migrations/0024_auto_20200830_2324.py
jakariapervez/cmis6
de279e5c586a77745ddd3d471599784606d50d15
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-30 17:24 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('pac', '0023_auto_20200816_1919'), ] operations = [ migrations.AlterField( model_name='invoice_det...
25.25
128
0.653465
60
505
5.366667
0.7
0.074534
0.086957
0.136646
0
0
0
0
0
0
0
0.077121
0.229703
505
19
129
26.578947
0.750643
0.085149
0
0
1
0
0.147826
0.05
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
3172a5bbc9964e7e6e262cb94a99730994481cf9
337
py
Python
rbc-1d.py
preiter93/pylsa
3ab18d502b269e460b52bc27835504cb49091b0e
[ "BSD-2-Clause" ]
null
null
null
rbc-1d.py
preiter93/pylsa
3ab18d502b269e460b52bc27835504cb49091b0e
[ "BSD-2-Clause" ]
null
null
null
rbc-1d.py
preiter93/pylsa
3ab18d502b269e460b52bc27835504cb49091b0e
[ "BSD-2-Clause" ]
null
null
null
from pylsa.rbc1d import solve_rbc1d,solve_rbc1d_neutral # Parameters Ny = 51 alpha = 3.1 Ra = 1708 Pr = 1.0 # Find the growth rates for given Ra evals,evecs = solve_rbc1d(Ny=Ny,Ra=Ra,Pr=Pr, alpha=alpha,plot=True) # Find Rac where the growth rate is zero evals,evecs = solve_rbc1d_neutral(Ny=Ny,Pr=Pr, alpha...
22.466667
55
0.72997
62
337
3.870968
0.5
0.166667
0.141667
0.166667
0.183333
0.183333
0
0
0
0
0
0.053381
0.166172
337
15
56
22.466667
0.800712
0.249258
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3174771d5989d4760532cf824d791c79b3cc03f6
36,233
py
Python
Janaagraha Bot/venv/Lib/site-packages/gcloud/logging/test__gax.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
5
2018-01-18T11:39:23.000Z
2022-01-01T11:38:40.000Z
Janaagraha Bot/venv/Lib/site-packages/gcloud/logging/test__gax.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
12
2021-10-18T00:37:47.000Z
2022-03-09T01:35:20.000Z
Janaagraha Bot/venv/Lib/site-packages/gcloud/logging/test__gax.py
CFGIndia20/team-19
e2b27ad8009303d262c2dc60551d6fcc4645b3b5
[ "MIT" ]
4
2018-01-18T11:32:38.000Z
2021-11-25T23:28:04.000Z
# Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
35.768016
77
0.649739
4,107
36,233
5.436572
0.070368
0.096068
0.0262
0.028932
0.755688
0.7195
0.688508
0.665577
0.62182
0.597859
0
0.003821
0.255955
36,233
1,012
78
35.80336
0.8244
0.021721
0
0.585784
0
0
0.04621
0.002766
0
0
0
0
0.219363
1
0.079657
false
0.001225
0.080882
0.001225
0.240196
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
31750b94129e49ab416b4cb831c5ea0f03c4b6a4
1,670
py
Python
assignmenttest/variables.py
DigiKlausur/assignmenttest
658bb74650db2f39233088a94a763d7a7e28b1b0
[ "MIT" ]
null
null
null
assignmenttest/variables.py
DigiKlausur/assignmenttest
658bb74650db2f39233088a94a763d7a7e28b1b0
[ "MIT" ]
null
null
null
assignmenttest/variables.py
DigiKlausur/assignmenttest
658bb74650db2f39233088a94a763d7a7e28b1b0
[ "MIT" ]
null
null
null
from .base import BaseTest from .comparators import compare_numbers class VariableTest(BaseTest): def __init__(self, namespace, r_tol=0, a_tol=0): super().__init__(namespace, r_tol, a_tol) def test_variable( self, name, expected, expected_type=None, comparator=compare_numbers ): i...
36.304348
87
0.584431
214
1,670
4.32243
0.299065
0.048649
0.048649
0.061622
0.114595
0.062703
0.062703
0
0
0
0
0.005226
0.312575
1,670
45
88
37.111111
0.800523
0
0
0.125
0
0
0.161078
0.014371
0
0
0
0
0
1
0.075
false
0.1
0.05
0
0.3
0.225
0
0
0
null
0
0
0
0
0
0
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
3176bf670fe21fc39f87f2d2cc94409a0acb40c2
1,994
py
Python
auctions/migrations/0002_auto_20200710_1521.py
nmallea/eBay_Clone
7a4c4652b80b2850323c4835e7ad24a14caf310c
[ "MIT" ]
null
null
null
auctions/migrations/0002_auto_20200710_1521.py
nmallea/eBay_Clone
7a4c4652b80b2850323c4835e7ad24a14caf310c
[ "MIT" ]
null
null
null
auctions/migrations/0002_auto_20200710_1521.py
nmallea/eBay_Clone
7a4c4652b80b2850323c4835e7ad24a14caf310c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.8 on 2020-08-20 1:21 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('auctions', '0001_initial'), ] operations = [ ...
46.372093
209
0.599799
214
1,994
5.457944
0.5
0.038527
0.034247
0.037671
0.205479
0.205479
0.205479
0.135274
0.135274
0.135274
0
0.021682
0.23671
1,994
42
210
47.47619
0.745729
0.022066
0
0.361111
1
0
0.144764
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.194444
0
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
3178fb793c1c4b260646f3c76910661a247c0df0
4,413
py
Python
utils/mep.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
utils/mep.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
utils/mep.py
ZAurele/alpha-py
b6330f1e714d07a2010ebe500d5ccdf4cc637998
[ "MIT" ]
null
null
null
from .libs import config_lib def launch_cmds_web(cmds,base_href): if len(cmds) == 0: return root = '/home/truegolliath/svntools/GolliathPublic/front/GolliathApp/' os.chdir(root) source, target = 'dist/GolliathApp/', '/var/www/html/' print('Launching %s'%' '.join(cmds)) cmd = ' '.joi...
38.043103
102
0.581464
575
4,413
4.266087
0.255652
0.052996
0.028536
0.034651
0.198125
0.152466
0.101508
0.051773
0.033428
0
0
0.003139
0.278042
4,413
116
103
38.043103
0.766792
0.005665
0
0.11828
0
0
0.092069
0.013902
0
0
0
0
0
0
null
null
0
0.010753
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
31793e6a76f1a61821cb6a2bc82e8d48d49c4e39
13,933
py
Python
model/inference/RCVNet.py
Deep-MI/3d-neuro-seg
57cc1e16e5ecbef8caf9f6f1e735a0e7339d1152
[ "Apache-2.0" ]
null
null
null
model/inference/RCVNet.py
Deep-MI/3d-neuro-seg
57cc1e16e5ecbef8caf9f6f1e735a0e7339d1152
[ "Apache-2.0" ]
null
null
null
model/inference/RCVNet.py
Deep-MI/3d-neuro-seg
57cc1e16e5ecbef8caf9f6f1e735a0e7339d1152
[ "Apache-2.0" ]
null
null
null
import torch import torch.nn as nn from numpy.random import random_sample def make_rand_coords(input_size=(256,256,256), patch_size=(64,64,64)): return [get_dims(input_size[0] - patch_size[0]), \ get_dims(input_size[1] - patch_size[1]), \ get_dims(input_size[2] - patch_size[2])] def get_di...
40.979412
120
0.635685
1,947
13,933
4.204417
0.109913
0.081969
0.112143
0.061569
0.699365
0.686049
0.668947
0.668947
0.668947
0.648424
0
0.039637
0.248547
13,933
340
121
40.979412
0.742216
0.112682
0
0.562212
0
0
0.143221
0.002136
0
0
0
0
0.004608
1
0.036866
false
0.004608
0.059908
0.009217
0.142857
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
317a48dfa5733ac473a3b512c7c41bc311d283d9
1,491
py
Python
nuage_neutron/plugins/nuage_ml2/nuage_network_ext_driver.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
14
2015-06-24T18:35:25.000Z
2020-09-21T07:14:06.000Z
nuage_neutron/plugins/nuage_ml2/nuage_network_ext_driver.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
7
2016-01-20T18:20:28.000Z
2020-11-18T16:04:14.000Z
nuage_neutron/plugins/nuage_ml2/nuage_network_ext_driver.py
jbemmel/nuage-openstack-neutron
e356c017f7e1600b72cfc26abb588c7cf636e925
[ "Apache-2.0" ]
43
2015-04-07T09:02:35.000Z
2021-02-12T07:50:19.000Z
# Copyright 2015 Intel Corporation. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless requir...
33.133333
78
0.7277
191
1,491
5.507853
0.586387
0.057034
0.024715
0.030418
0.06654
0.06654
0
0
0
0
0
0.009275
0.204561
1,491
44
79
33.886364
0.87774
0.405097
0
0
0
0
0.033257
0
0
0
0
0
0
1
0.15
false
0
0.25
0.05
0.6
0
0
0
0
null
0
0
0
0
0
0
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
317ca5b6a97fd4b51534d109e35047b73f466b7a
4,605
py
Python
mcbv/edit_custom.py
akulakov/django
68970eae1733b2b252265d6d1384946f80e23ed8
[ "BSD-3-Clause" ]
150
2015-01-13T02:25:41.000Z
2018-05-25T09:05:36.000Z
dbe/mcbv/edit_custom.py
akulakov/django
68970eae1733b2b252265d6d1384946f80e23ed8
[ "BSD-3-Clause" ]
9
2015-01-12T02:03:07.000Z
2018-04-12T20:45:09.000Z
proj_issues/mcbv/edit_custom.py
akulakov/mangotrac
56c78aa132806f7f78598933c390c39dfb336d89
[ "MIT" ]
164
2015-01-17T07:43:28.000Z
2018-05-26T06:26:55.000Z
from copy import copy from django.forms import formsets from django.contrib import messages from django.db.models import Q from django.forms.formsets import formset_factory, BaseFormSet, all_valid from detail import * from edit import * class SearchFormViewMixin(BaseFormView): ignore_get_keys = ("page", ) # T...
35.976563
112
0.65646
594
4,605
4.941077
0.245791
0.035434
0.01908
0.024532
0.190801
0.146508
0.137649
0.137649
0.12402
0.093356
0
0
0.246906
4,605
127
113
36.259843
0.846309
0.164387
0
0.093023
0
0
0.026476
0
0
0
0
0.007874
0
1
0.139535
false
0
0.081395
0.011628
0.546512
0
0
0
0
null
0
0
0
0
0
0
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
317e0814458cbf3c888919afddd9189c09f9f6b0
1,265
py
Python
thinc/neural/_classes/pure_softmax.py
giannisdaras/thinc
92b328ff7ab99c368d31699817487e82cbe1cb9c
[ "MIT" ]
10
2019-03-08T11:59:27.000Z
2019-03-25T23:09:05.000Z
thinc/neural/_classes/pure_softmax.py
giannisdaras/thinc
92b328ff7ab99c368d31699817487e82cbe1cb9c
[ "MIT" ]
null
null
null
thinc/neural/_classes/pure_softmax.py
giannisdaras/thinc
92b328ff7ab99c368d31699817487e82cbe1cb9c
[ "MIT" ]
1
2019-03-08T11:43:55.000Z
2019-03-08T11:43:55.000Z
from __future__ import unicode_literals from .affine import Affine from ... import describe from ...describe import Synapses from ...check import has_shape from ... import check from .model import Model from ...describe import Dimension @describe.attributes( nB=Dimension("Batch size"), nI=Dimension("Input siz...
25.816327
63
0.637154
172
1,265
4.337209
0.290698
0.064343
0.040214
0.048257
0.156836
0.136729
0.136729
0.064343
0
0
0
0.00625
0.241107
1,265
48
64
26.354167
0.770833
0.01581
0
0.162162
0
0
0.03557
0
0
0
0
0
0
1
0.162162
false
0
0.216216
0.054054
0.567568
0
0
0
0
null
0
0
0
0
0
0
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
31802d9a00ecb3a94c41b4dd84ba0044836e2e98
6,844
py
Python
dependency/libgit/pygit2-0.21.4/pygit2/__init__.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
dependency/libgit/pygit2-0.21.4/pygit2/__init__.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
dependency/libgit/pygit2-0.21.4/pygit2/__init__.py
RangHo/pini-engine
e1407724de32a433b7b46e0ee2469240b70d960b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright 2010-2014 The pygit2 contributors # # This file is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License, version 2, # as published by the Free Software Foundation. # # In addition to the permissions in the GNU General Public Li...
30.553571
92
0.764173
1,027
6,844
4.906524
0.287244
0.054177
0.047232
0.017861
0.072237
0.032943
0.013892
0
0
0
0
0.005711
0.155757
6,844
223
93
30.690583
0.86639
0.213033
0
0.094737
0
0
0.099186
0.028214
0
0
0
0
0
0
null
null
0
0.136842
null
null
0.010526
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
318219d91ab2695edfeaef273a608ec975f98c0d
8,396
py
Python
main.py
tilas01/pylocker
dfa0dfb2d76f6c3c78c4c7b1cca79c99a955227e
[ "MIT" ]
null
null
null
main.py
tilas01/pylocker
dfa0dfb2d76f6c3c78c4c7b1cca79c99a955227e
[ "MIT" ]
null
null
null
main.py
tilas01/pylocker
dfa0dfb2d76f6c3c78c4c7b1cca79c99a955227e
[ "MIT" ]
null
null
null
def main(): import os import sys from base64 import urlsafe_b64encode, urlsafe_b64decode from time import sleep from hashlib import pbkdf2_hmac from getpass import getpass from cryptography.fernet import Fernet, InvalidToken from cryptography.hazmat.backends import default_backend fr...
35.72766
119
0.487375
871
8,396
4.673938
0.229621
0.020634
0.029477
0.022108
0.464505
0.400639
0.400639
0.367723
0.329403
0.329403
0
0.012039
0.406384
8,396
235
120
35.72766
0.804775
0
0
0.511737
0
0.00939
0.208765
0.007979
0
0
0
0
0
1
0.028169
false
0.061033
0.046948
0
0.075117
0.206573
0
0
0
null
0
0
0
0
0
0
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
3185cf0b5dbf4f5c4782a65c083c918c7fe2b53c
1,867
py
Python
curriculum/models/experience.py
ujjwal1070/Student-Job-Board-Pulchowk-Campus
eb4def3e90e294be2352c6cc8a7f5760036cbcab
[ "MIT" ]
null
null
null
curriculum/models/experience.py
ujjwal1070/Student-Job-Board-Pulchowk-Campus
eb4def3e90e294be2352c6cc8a7f5760036cbcab
[ "MIT" ]
2
2021-06-02T13:33:47.000Z
2021-06-06T06:15:40.000Z
curriculum/models/experience.py
ujjwal1070/Student-Job-Board-Pulchowk-Campus
eb4def3e90e294be2352c6cc8a7f5760036cbcab
[ "MIT" ]
null
null
null
from django.db import models from django.utils.translation import ugettext_lazy as _ from django.utils.encoding import python_2_unicode_compatible from curriculum.models import utils from django.conf import settings EXPERIENCE_TYPES = ( (None, _('unknown')), ('SALAR', _('salaried')), ('CHIEF', _('founder/c...
47.871795
119
0.734869
228
1,867
5.767544
0.359649
0.08365
0.057034
0.114068
0.308745
0.308745
0.187072
0.082129
0.082129
0
0
0.008568
0.124799
1,867
38
120
49.131579
0.796206
0
0
0
0
0
0.132833
0
0
0
0
0
0
1
0.032258
false
0
0.16129
0.032258
0.677419
0
0
0
0
null
0
0
0
0
0
0
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
3186d20ba00950447325ca9284e9a2dd288d1fda
988
py
Python
depart_locations/migrations/0002_auto_20210117_1419.py
Sudani-Coder/morsalHR
9febdcd93763da8cb10eaa1860ce1465d5f2173f
[ "MIT" ]
null
null
null
depart_locations/migrations/0002_auto_20210117_1419.py
Sudani-Coder/morsalHR
9febdcd93763da8cb10eaa1860ce1465d5f2173f
[ "MIT" ]
null
null
null
depart_locations/migrations/0002_auto_20210117_1419.py
Sudani-Coder/morsalHR
9febdcd93763da8cb10eaa1860ce1465d5f2173f
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-17 14:19 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('department', '0003_auto_20210117_1419'), ('depart_locations', '0001_initial'), ] operations = [ mig...
30.875
123
0.62753
98
988
6.153061
0.55102
0.039801
0.089552
0.072968
0.149254
0.149254
0.149254
0
0
0
0
0.051984
0.260121
988
31
124
31.870968
0.772914
0.045547
0
0.36
1
0
0.21254
0.046759
0
0
0
0
0
1
0
false
0
0.08
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3189518834b7d29d0713f2027ee31f1368db1d66
2,872
py
Python
src/unittest/python/test_commander.py
gsisko/AGVControl
742db4a6511f3db953bfa7c8067c0b2c834706e9
[ "MIT" ]
null
null
null
src/unittest/python/test_commander.py
gsisko/AGVControl
742db4a6511f3db953bfa7c8067c0b2c834706e9
[ "MIT" ]
9
2018-10-04T21:59:11.000Z
2019-01-28T01:05:51.000Z
src/unittest/python/test_commander.py
gsisko/AGVControl
742db4a6511f3db953bfa7c8067c0b2c834706e9
[ "MIT" ]
2
2018-10-25T07:52:21.000Z
2019-01-21T19:53:49.000Z
#system imports to provide proper test execution import sys, os from io import StringIO #for pre build tests #sys.path.append(os.path.abspath(os.path.join(os.getcwd(), os.pardir) + "\\commanders")) #testing module imports import unittest from unittest.mock import patch from unittest.mock import MagicMock #import Comm...
38.810811
165
0.722145
316
2,872
6.481013
0.348101
0.080566
0.102051
0.095703
0.231934
0.169434
0.169434
0.130859
0
0
0
0.021101
0.158426
2,872
73
166
39.342466
0.826231
0.20578
0
0
0
0
0.078483
0
0
0
0
0.013699
0.314286
1
0.2
false
0
0.171429
0.028571
0.485714
0
0
0
0
null
0
0
0
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
318b0da7781af71963c630c24678ed4c9d261884
386
py
Python
Python/kraken/core/objects/components/component_input.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
7
2017-12-04T16:57:42.000Z
2021-09-07T07:02:38.000Z
Python/kraken/core/objects/components/component_input.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
null
null
null
Python/kraken/core/objects/components/component_input.py
goshow-jp/Kraken
7088b474b6cc2840cea7ab642c5938e4a3290b6c
[ "BSD-3-Clause" ]
6
2017-11-14T06:50:48.000Z
2021-08-21T22:47:29.000Z
"""Kraken - objects.components.component_input module. Classes: ComponentInput -- ComponentInput representation. """ from kraken.core.objects.object_3d import Object3D class ComponentInput(Object3D): """ComponentInput object.""" def __init__(self, name, parent=None): super(ComponentInput, self).__...
24.125
65
0.743523
39
386
7.102564
0.641026
0.072202
0
0
0
0
0
0
0
0
0
0.009063
0.142487
386
16
66
24.125
0.827795
0.34456
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
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
318e9aadcaf9ebb9a2aa258e348b25d16d8e2237
454
py
Python
config.py
reinenichts/autofunion-creeper
8942b50a7388d8c4fff37f52f331c34c71295330
[ "MIT" ]
null
null
null
config.py
reinenichts/autofunion-creeper
8942b50a7388d8c4fff37f52f331c34c71295330
[ "MIT" ]
null
null
null
config.py
reinenichts/autofunion-creeper
8942b50a7388d8c4fff37f52f331c34c71295330
[ "MIT" ]
null
null
null
# use your username and password USERNAME = '' PASSWORD = '' # URL = 'http://192.168.168.6/sess/Start.aspx' URL = 'http://pershiess.fasau.ac.ir/sess/Start.aspx' # # Changing user agent to trick websites (for headless use) # # with phantomjs (for headless use) # DCAP = dict("") # DCAP["phantomjs.page.settings.userAge...
28.375
60
0.667401
65
454
4.615385
0.738462
0.046667
0.086667
0
0
0
0
0
0
0
0
0.065445
0.15859
454
15
61
30.266667
0.719895
0.768722
0
0
0
0
0.478261
0
0
0
0
0
0
1
0
false
0.333333
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3191b46be34c206639ef93c7b5f89c49989cd2f6
2,960
py
Python
flask_go/commands/startapp.py
CelloCello/flask-go
bdd3e1a81e332cbbf0954ed23e5add29e3501a76
[ "BSD-3-Clause" ]
10
2015-12-11T21:50:52.000Z
2019-02-21T07:33:37.000Z
flask_go/commands/startapp.py
CelloCello/flask-go
bdd3e1a81e332cbbf0954ed23e5add29e3501a76
[ "BSD-3-Clause" ]
1
2017-08-10T02:06:11.000Z
2017-08-10T02:06:11.000Z
flask_go/commands/startapp.py
CelloCello/flask-go
bdd3e1a81e332cbbf0954ed23e5add29e3501a76
[ "BSD-3-Clause" ]
4
2015-12-11T21:50:54.000Z
2019-02-21T07:34:53.000Z
# -*- coding: utf-8 -*- import os import argparse import re import flask_go from base import BaseCommand class Command(BaseCommand): def __init__(self): pass def execute(self, subcmd): subcmd_dict = self.parse_subcmd(subcmd) app_name = subcmd_dict["app_name"] directory = sub...
39.466667
90
0.592568
354
2,960
4.748588
0.330508
0.042832
0.035693
0.024985
0.024985
0
0
0
0
0
0
0.001456
0.304054
2,960
75
91
39.466667
0.814563
0.065203
0
0.036364
0
0
0.104345
0
0
0
0
0
0
0
null
null
0.018182
0.090909
null
null
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3194ca2bde0db1a4912daa376089ee6e16e32f5c
2,329
py
Python
morpho/cli.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
2
2020-08-25T15:39:12.000Z
2021-11-01T16:43:31.000Z
morpho/cli.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
5
2020-08-30T23:24:20.000Z
2022-02-20T12:47:37.000Z
morpho/cli.py
B4rtware/morpho
feed28c433f2c220428f0b2872c57871f526e115
[ "MIT" ]
null
null
null
from importlib import import_module from typing import List from morpho.consumer import RestWorkConsumer from morpho.config import ServiceConfig import click import sys from morpho.types import DtaType str_to_dta_type = {"service": DtaType.SERVICE, "gateway": DtaType.GATEWAY} str_to_consumer = {"rest": RestWorkConsum...
35.830769
137
0.699871
329
2,329
4.887538
0.364742
0.068408
0.014925
0.022388
0.11194
0.087065
0.049751
0.049751
0
0
0
0.001505
0.143839
2,329
64
138
36.390625
0.804915
0.045942
0
0.083333
0
0
0.284747
0
0
0
0
0.015625
0
1
0.083333
false
0.020833
0.166667
0
0.25
0.041667
0
0
0
null
0
0
0
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
31956534534ef93317857ad9ec0b57ec6e4392c0
1,164
py
Python
visual.py
vikasTmz/SP-GAN
bf152f60f287a728cc782aa53f2930154f18b2a3
[ "MIT" ]
null
null
null
visual.py
vikasTmz/SP-GAN
bf152f60f287a728cc782aa53f2930154f18b2a3
[ "MIT" ]
null
null
null
visual.py
vikasTmz/SP-GAN
bf152f60f287a728cc782aa53f2930154f18b2a3
[ "MIT" ]
null
null
null
#!/usr/bin/env python #-*- coding:utf-8 _*- """ @author:liruihui @file: train.py @time: 2019/09/17 @contact: ruihuili.lee@gmail.com @github: https://liruihui.github.io/ @description: """ import os import pprint pp = pprint.PrettyPrinter() from datetime import datetime from Generation.model_test import Model fro...
27.714286
102
0.737113
162
1,164
5.08642
0.537037
0.087379
0.078884
0.091019
0.146845
0.146845
0.146845
0
0
0
0
0.00924
0.16323
1,164
41
103
28.390244
0.836756
0.656357
0
0
0
0
0.083333
0
0
0
0
0
0
1
0
false
0
0.454545
0
0.454545
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
319a7cdffbd0f0b1429609d26828356dfc0cdc04
1,701
py
Python
misc/resnet_lgoa.py
zzy-ucas/GVFGA
ac67e06b26a2f79dcc6d55f3b1562131a89dbd1b
[ "MIT" ]
null
null
null
misc/resnet_lgoa.py
zzy-ucas/GVFGA
ac67e06b26a2f79dcc6d55f3b1562131a89dbd1b
[ "MIT" ]
1
2021-11-28T07:53:38.000Z
2021-11-28T09:21:19.000Z
misc/resnet_lgoa.py
zzy-ucas/GVFGA
ac67e06b26a2f79dcc6d55f3b1562131a89dbd1b
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.nn.functional as F class myResnet(nn.Module): def __init__(self, resnet): super(myResnet, self).__init__() self.resnet = resnet self.last_conv = nn.Conv2d(2048, 512, [1, 1]) def forward(self, img, att_size=7): x = img # .unsquee...
32.711538
93
0.539095
245
1,701
3.665306
0.293878
0.13363
0.097996
0.044543
0.327394
0.253898
0.241648
0.223831
0.146993
0.146993
0
0.130288
0.305115
1,701
51
94
33.352941
0.629442
0.368607
0
0
0
0
0
0
0
0
0
0.019608
0
1
0.076923
false
0
0.115385
0
0.269231
0
0
0
0
null
0
0
0
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
31a396ad3f90cbfa1c29e4545b22c05da61f90e3
5,499
py
Python
mapscript/python/tests/cases/hashtest.py
olt/mapserver
90aa6d205ee1dcd153fccad8f57913ae88393820
[ "Unlicense" ]
null
null
null
mapscript/python/tests/cases/hashtest.py
olt/mapserver
90aa6d205ee1dcd153fccad8f57913ae88393820
[ "Unlicense" ]
null
null
null
mapscript/python/tests/cases/hashtest.py
olt/mapserver
90aa6d205ee1dcd153fccad8f57913ae88393820
[ "Unlicense" ]
null
null
null
# $Id$ # # Project: MapServer # Purpose: xUnit style Python mapscript tests of hashTableObj # Author: Sean Gillies, sgillies@frii.com # # =========================================================================== # Copyright (c) 2004, Sean Gillies # # Permission is hereby granted, free of charge, to any person ob...
34.15528
80
0.586652
616
5,499
5.220779
0.353896
0.072761
0.046642
0.05597
0.254975
0.22699
0.189677
0.109453
0.109453
0.098881
0
0.005985
0.210038
5,499
160
81
34.36875
0.734346
0.468813
0
0.268657
0
0
0.073423
0.008618
0
0
0
0.00625
0.208955
1
0.208955
false
0
0.044776
0
0.358209
0
0
0
0
null
0
0
0
0
0
0
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
31a94a5a8a0517d5cc0df10e34fb92a580875d70
2,848
py
Python
pyfmodex/studio/event_instance.py
bbbart/pyfmodex
b3f89fdb40ecebe528b229a3c5310ec7d7f66f55
[ "MIT" ]
19
2015-02-01T08:26:25.000Z
2021-11-18T02:32:29.000Z
pyfmodex/studio/event_instance.py
tyrylu/pyfmodex
b3f89fdb40ecebe528b229a3c5310ec7d7f66f55
[ "MIT" ]
32
2015-01-10T07:20:59.000Z
2021-12-29T20:28:58.000Z
pyfmodex/studio/event_instance.py
bbbart/pyfmodex
b3f89fdb40ecebe528b229a3c5310ec7d7f66f55
[ "MIT" ]
12
2015-01-05T07:54:42.000Z
2021-03-27T12:21:47.000Z
"""An instance of an FMOD Studio Event.""" from ctypes import byref, c_bool, c_float, c_int, c_void_p from ..channel_group import ChannelGroup from ..utils import prepare_str from .enums import PLAYBACK_STATE from .studio_object import StudioObject class EventInstance(StudioObject): """An instance of an FMOD St...
29.061224
86
0.632374
338
2,848
5.198225
0.349112
0.036426
0.01366
0.015936
0.104724
0.078543
0.078543
0
0
0
0
0
0.269312
2,848
97
87
29.360825
0.844306
0.356039
0
0.136364
0
0
0.073821
0.015509
0
0
0
0
0
1
0.227273
false
0
0.113636
0
0.477273
0
0
0
0
null
0
0
0
0
0
0
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
31aa09de33bfeb69a6ae35ec1160b5c45401f652
2,495
py
Python
Code/sets_test.py
JericHunter/CS-1.3-Core-Data-Structures
ed659c3c47a0ea2cc337d9ade2cf9c493dd669de
[ "MIT" ]
null
null
null
Code/sets_test.py
JericHunter/CS-1.3-Core-Data-Structures
ed659c3c47a0ea2cc337d9ade2cf9c493dd669de
[ "MIT" ]
4
2020-02-17T22:13:12.000Z
2020-03-10T08:41:35.000Z
Code/sets_test.py
JericHunter/CS-1.3-Core-Data-Structures
ed659c3c47a0ea2cc337d9ade2cf9c493dd669de
[ "MIT" ]
null
null
null
from sets import HashSet import unittest class SetTest(unittest.TestCase): def test_init(self): elements = ['S','H','A','U','N','E','L','L'] s = HashSet(elements) assert s.ht.length() == 7 assert s.size() == 7 def test_add(self): s = HashSet() assert s.add('S'...
25.20202
52
0.472144
331
2,495
3.498489
0.166163
0.164076
0.165803
0.15544
0.381693
0.286701
0.25734
0.236615
0.132988
0.132988
0
0.029904
0.32986
2,495
98
53
25.459184
0.662679
0
0
0.328947
0
0
0.032064
0
0
0
0
0
0.473684
1
0.105263
false
0
0.026316
0
0.144737
0
0
0
0
null
0
0
0
0
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
31ade4b44b6d5981bc40d6dda4b92560f8101af4
423
py
Python
catalogue/utils.py
SamwelOpiyo/Futures-Net-Ecommerce
8e092ac29f9ee2f41862f5b4b242b4585eb7cd95
[ "MIT" ]
null
null
null
catalogue/utils.py
SamwelOpiyo/Futures-Net-Ecommerce
8e092ac29f9ee2f41862f5b4b242b4585eb7cd95
[ "MIT" ]
1
2018-11-19T21:54:42.000Z
2018-11-19T21:54:42.000Z
catalogue/utils.py
SamwelOpiyo/Futures-Net-Ecommerce
8e092ac29f9ee2f41862f5b4b242b4585eb7cd95
[ "MIT" ]
null
null
null
import os # from catalogue.models import MediaUpload def get_upload_media_name(instance, filename): """ Generic method to manage model media - Use a uuid string to avoid name conflicts - Added a 's' to media type to generate a plural folder """ dirname = "media/" + instance.media_type + "s/" ...
28.2
59
0.6974
58
423
5
0.655172
0.062069
0
0
0
0
0
0
0
0
0
0.003003
0.212766
423
14
60
30.214286
0.867868
0.420804
0
0
0
0
0.036364
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
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
31ae77df0ec2b8041cfcd1ca886f918f4bc24d8c
1,118
py
Python
packages/journal/palettes.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
null
null
null
packages/journal/palettes.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
null
null
null
packages/journal/palettes.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # michael a.g. aïvázis <michael.aivazis@para-sim.com> # (c) 1998-2021 all rights reserved # get the ANSI color spaces from .ANSI import ANSI # the null palette provides no decoration null = { "reset": "", "debug": "", "firewall": "", "info": "", "warning": "", "erro...
22.36
63
0.593023
143
1,118
4.636364
0.398601
0.147813
0.232278
0.102564
0.603318
0.512821
0.512821
0.512821
0.512821
0.512821
0
0.041808
0.208408
1,118
49
64
22.816327
0.707345
0.301431
0
0.428571
0
0
0.276983
0
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
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
31b0d0cb1ac81fe231923ddb1846a1f53ddbb2e0
9,227
py
Python
tests/integration/test_kitchensink.py
pauleveritt/kaybee
a00a718aaaa23b2d12db30dfacb6b2b6ec84459c
[ "Apache-2.0" ]
2
2017-11-08T19:55:57.000Z
2018-12-21T12:41:41.000Z
tests/integration/test_kitchensink.py
pauleveritt/kaybee
a00a718aaaa23b2d12db30dfacb6b2b6ec84459c
[ "Apache-2.0" ]
null
null
null
tests/integration/test_kitchensink.py
pauleveritt/kaybee
a00a718aaaa23b2d12db30dfacb6b2b6ec84459c
[ "Apache-2.0" ]
1
2018-10-13T08:59:29.000Z
2018-10-13T08:59:29.000Z
import pytest pytestmark = pytest.mark.sphinx('html', testroot='kitchensink') @pytest.mark.parametrize('page', ['index.html', ], indirect=True) def test_homepage(page): h1 = page.find('h1').contents[0].strip() assert 'Kitchen Sink' == h1 kb_body = page.find(id='kb-body') nav = kb_body.find_all(class...
35.625483
79
0.642246
1,249
9,227
4.667734
0.123299
0.094168
0.146484
0.144082
0.672727
0.614408
0.550772
0.520412
0.508233
0.459348
0
0.029005
0.185434
9,227
258
80
35.763566
0.746674
0.055164
0
0.305085
0
0
0.221928
0.056949
0
0
0
0
0.429379
1
0.073446
false
0
0.00565
0
0.084746
0
0
0
0
null
0
0
0
0
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
31b887e616b3fd0da53e1453cca1bff8ee565e3e
606
py
Python
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_binary_operations.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_binary_operations.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
dkr-py310/docker-student-portal-310/course_files/begin_advanced/py_binary_operations.py
pbarton666/virtual_classroom
a9d0dc2eb16ebc4d2fd451c3a3e6f96e37c87675
[ "MIT" ]
null
null
null
#py_binary_operations.py base_10_number = 12 fmt = "{:<20} {:<30}" print("Base 2 operations: left shift increases by powers of 2") for i in range(3): print(fmt.format("mybin_1000: ", bin(base_10_number << i))) print() print("Base 2 operations: right shift reduces by powers of 2") for i in range(3): print(...
23.307692
65
0.668317
106
606
3.726415
0.367925
0.091139
0.091139
0.083544
0.344304
0.313924
0.313924
0.313924
0.313924
0.313924
0
0.085828
0.173267
606
25
66
24.24
0.702595
0.145215
0
0.266667
0
0
0.38716
0
0
0
0
0
0
1
0
false
0
0
0
0
0.533333
0
0
0
null
0
0
0
0
0
0
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
31bbe4896c3afe416e1acc577d95e27fc6c9f28a
640
py
Python
stopcovid/sms/message_log/types.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
null
null
null
stopcovid/sms/message_log/types.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
null
null
null
stopcovid/sms/message_log/types.py
celestinosalim/dialog-engine
17c7d6e06df05aa24cfb611e91ef4790ffc80cb6
[ "MIT" ]
null
null
null
from datetime import datetime from dataclasses import dataclass from marshmallow import Schema, fields, post_load class LogMessageCommandType: INBOUND_SMS = "INBOUND_SMS" STATUS_UPDATE = "STATUS_UPDATE" OUTBOUND_SMS = "OUTBOUND_SMS" @dataclass class LogMessageCommand: command_type: str payload: ...
23.703704
56
0.753125
71
640
6.605634
0.478873
0.076759
0
0
0
0
0
0
0
0
0
0
0.173438
640
26
57
24.615385
0.886578
0
0
0
0
0
0.05625
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0.052632
0.894737
0
0
0
0
null
0
0
0
0
0
0
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
31bfd1631a0f645628f008a3d8093ce4d9e4c0eb
2,404
py
Python
ply/tcukparser.py
yanne/rfparser
19e064f8afd94f4492646160538e7327b777751b
[ "Apache-2.0" ]
null
null
null
ply/tcukparser.py
yanne/rfparser
19e064f8afd94f4492646160538e7327b777751b
[ "Apache-2.0" ]
null
null
null
ply/tcukparser.py
yanne/rfparser
19e064f8afd94f4492646160538e7327b777751b
[ "Apache-2.0" ]
null
null
null
import re from util import accumulate_to_list class TCUKParser(object): tokens = ('NAME', 'SEPARATOR', 'KEYWORD', 'ARGUMENT', 'CONTINUATION', 'ASSIGNMENT', 'SETTING', 'SETTING_VALUE') t_ignore = '\n' def t_NAME(self, t): r'^(\S+\ )*\S+' self._kw_seen = False self._setting_seen = ...
25.574468
115
0.476705
289
2,404
3.778547
0.190311
0.029304
0.087912
0.077839
0.210623
0.181319
0.104396
0.09707
0
0
0
0.017728
0.366473
2,404
93
116
25.849462
0.699278
0.168885
0
0.310345
0
0
0.106314
0
0
0
0
0
0
1
0.206897
false
0
0.034483
0
0.396552
0
0
0
0
null
0
0
0
0
0
0
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
31c0bd180d5d6af70d91ab3dc19f0e7e065fec85
11,818
py
Python
apex/apeximporter.py
dkratzert/StructureFinder
e0be67cb47ad589b87c7175a02c908734e415ee8
[ "MIT" ]
12
2017-11-23T08:45:17.000Z
2022-02-16T18:02:35.000Z
apex/apeximporter.py
dkratzert/StructureFinder
e0be67cb47ad589b87c7175a02c908734e415ee8
[ "MIT" ]
4
2019-12-12T15:28:50.000Z
2022-02-22T06:28:48.000Z
apex/apeximporter.py
dkratzert/StructureFinder
e0be67cb47ad589b87c7175a02c908734e415ee8
[ "MIT" ]
null
null
null
""" https://stackoverflow.com/questions/12475850/how-can-an-sql-query-return-data-from-multiple-tables By Robert Burrow: CREATE OR REPLACE FUNCTION replace_return(p varchar) RETURNS varchar AS $$ SELECT regexp_replace($1,'\\u000a','\n','g') $$ LANGUAGE SQL; CREATE OR REPLACE FUNCTION decode_url_part(p varchar) RET...
49.241667
131
0.572009
1,476
11,818
4.375339
0.180894
0.071075
0.027872
0.038247
0.528492
0.444565
0.359709
0.331372
0.331372
0.323939
0
0.029889
0.337536
11,818
239
132
49.447699
0.794993
0.408614
0
0.661654
0
0
0.843718
0.128813
0
0
0
0
0
1
0.030075
false
0.030075
0.015038
0
0.082707
0.037594
0
0
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
31c4b29824d5fbbf42a0a0324607ff9a3fc3ba6f
3,053
py
Python
src/test_binary_tree.py
allanassis/binary-tree
4898f7c257e948d60b964b64193ec3e6c112b768
[ "MIT" ]
null
null
null
src/test_binary_tree.py
allanassis/binary-tree
4898f7c257e948d60b964b64193ec3e6c112b768
[ "MIT" ]
null
null
null
src/test_binary_tree.py
allanassis/binary-tree
4898f7c257e948d60b964b64193ec3e6c112b768
[ "MIT" ]
null
null
null
from unittest import TestCase import unittest from binary_tree import BinaryTree, BinaryTreeNode class TestBinaryTree(TestCase): def setUp(self): self.root_value = "42" self.some_value = "Gomu Gomu No!" def test_instance(self): # arrange/act tree = BinaryTree() # asse...
28.801887
67
0.59417
361
3,053
4.817175
0.135734
0.13341
0.216791
0.12881
0.706153
0.614146
0.550316
0.550316
0.550316
0.522714
0
0.008322
0.291517
3,053
105
68
29.07619
0.795654
0.043564
0
0.611111
0
0
0.112798
0
0
0
0
0
0.152778
1
0.111111
false
0
0.041667
0
0.166667
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
31d0c200be352d53cd99e2534d2474afab2b0eb0
1,372
py
Python
tests/test_finance.py
GabrielWen/spartan
ce3bf7f2bb551d7f996a1884acef819b620cc854
[ "Apache-2.0" ]
156
2015-01-10T21:54:25.000Z
2021-10-17T14:13:57.000Z
tests/test_finance.py
GabrielWen/spartan
ce3bf7f2bb551d7f996a1884acef819b620cc854
[ "Apache-2.0" ]
8
2015-01-05T16:34:18.000Z
2015-12-11T08:12:28.000Z
tests/test_finance.py
GabrielWen/spartan
ce3bf7f2bb551d7f996a1884acef819b620cc854
[ "Apache-2.0" ]
24
2015-01-10T21:55:48.000Z
2021-04-14T08:09:34.000Z
import unittest import sys import test_common from spartan import expr, util from spartan.expr import eager from spartan.examples import finance maturity = 10.0 rate = 0.005 volatility = 0.001 class TestFinance(test_common.ClusterTest): def setUp(self): if not hasattr(self, 'current'): self.current = ea...
26.901961
92
0.695335
199
1,372
4.643216
0.301508
0.05303
0.083333
0.058442
0.260823
0.260823
0.260823
0.260823
0.260823
0.260823
0
0.026455
0.173469
1,372
50
93
27.44
0.78836
0.10277
0
0.090909
0
0
0.012255
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.060606
0
0
0
null
0
0
0
0
0
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
31d238f6be379a911ebca8d6ee7883d209b63f2f
3,033
py
Python
photo_blog/models.py
levertco/Leverts-petsyinsatgram
a74b09d7c9a3e40039149ebbe7f7c5b13be9f82d
[ "MIT" ]
null
null
null
photo_blog/models.py
levertco/Leverts-petsyinsatgram
a74b09d7c9a3e40039149ebbe7f7c5b13be9f82d
[ "MIT" ]
6
2021-03-19T03:22:21.000Z
2022-03-11T23:58:33.000Z
photo_blog/models.py
levertco/Leverts-petsyinsatgram
a74b09d7c9a3e40039149ebbe7f7c5b13be9f82d
[ "MIT" ]
null
null
null
import os from PIL import Image from django.db import models from django.utils import timezone from django.contrib.auth.models import User from users.models import Profile from django.urls import reverse from django.conf import settings def get_image_path(instance, filename): return os.path.join('posts', str(inst...
36.542169
98
0.704913
401
3,033
5.199501
0.336658
0.034532
0.047002
0.070504
0.377938
0.316067
0.198561
0.133813
0.06235
0.06235
0
0.01348
0.192878
3,033
82
99
36.987805
0.838235
0.115397
0
0.140351
0
0
0.03849
0.008969
0
0
0
0
0
1
0.122807
false
0
0.140351
0.087719
0.701754
0
0
0
0
null
0
0
0
0
0
0
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
31da7d34820c158cf1f87f97cd7d51c4851db559
266
py
Python
quartical/utils/collections.py
JSKenyon/QuartiCal
2113855b080cfecc4a1c77cc9dad346ef3619716
[ "MIT" ]
null
null
null
quartical/utils/collections.py
JSKenyon/QuartiCal
2113855b080cfecc4a1c77cc9dad346ef3619716
[ "MIT" ]
null
null
null
quartical/utils/collections.py
JSKenyon/QuartiCal
2113855b080cfecc4a1c77cc9dad346ef3619716
[ "MIT" ]
1
2022-03-18T14:30:04.000Z
2022-03-18T14:30:04.000Z
from collections import defaultdict def freeze_default_dict(ddict): """Freeze the contents of a nested defaultdict.""" for k, v in ddict.items(): if isinstance(v, defaultdict): ddict[k] = freeze_default_dict(v) return dict(ddict)
22.166667
54
0.669173
35
266
4.971429
0.628571
0.149425
0.195402
0
0
0
0
0
0
0
0
0
0.233083
266
11
55
24.181818
0.852941
0.165414
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
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
31da92ce4e22a59afe1ab37a0cf955f9a81e49fd
841
py
Python
questions/urls.py
stkrizh/otus-django-hasker
9692b8060a789b0b66b4cf3591a78e32c8a10380
[ "MIT" ]
null
null
null
questions/urls.py
stkrizh/otus-django-hasker
9692b8060a789b0b66b4cf3591a78e32c8a10380
[ "MIT" ]
10
2020-06-05T22:56:30.000Z
2022-02-10T08:54:18.000Z
questions/urls.py
stkrizh/otus-django-hasker
9692b8060a789b0b66b4cf3591a78e32c8a10380
[ "MIT" ]
null
null
null
from django.urls import path from . import views urlpatterns = [ path("", views.Questions.as_view(), name="index"), path( "answer/mark/<int:answer_id>", views.AnswerMark.as_view(), name="answer_mark", ), path("ask", views.Ask.as_view(), name="ask"), path("latest", views.Qu...
32.346154
78
0.636147
102
841
5.088235
0.303922
0.115607
0.192678
0.077071
0.092486
0
0
0
0
0
0
0
0.172414
841
25
79
33.64
0.74569
0
0
0.181818
0
0
0.224732
0.064209
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
31df12fc53484613370b3758a01ecbfc38fb8c24
8,739
py
Python
pasket/meta/method.py
plum-umd/pasket
37ba5b5f503a485c1057caaa6b57061898f05955
[ "MIT" ]
18
2016-05-25T10:51:51.000Z
2020-11-01T21:24:29.000Z
pasket/meta/method.py
plum-umd/pasket
37ba5b5f503a485c1057caaa6b57061898f05955
[ "MIT" ]
1
2016-06-30T03:25:01.000Z
2016-08-21T09:19:07.000Z
pasket/meta/method.py
plum-umd/pasket
37ba5b5f503a485c1057caaa6b57061898f05955
[ "MIT" ]
7
2016-12-06T16:06:20.000Z
2020-04-28T10:30:11.000Z
import cStringIO import logging import operator as op from antlr3.tree import CommonTree as AST from lib.typecheck import * import lib.const as C import lib.visit as v from .. import util from . import method_nonce, register_method, class_lookup import statement as st class Method(v.BaseNode): def __init__(self...
28.099678
99
0.638746
1,318
8,739
4.052352
0.188923
0.041191
0.026212
0.014604
0.129002
0.082943
0.046995
0.041378
0.025463
0.025463
0
0.003757
0.208033
8,739
310
100
28.190323
0.767953
0.133883
0
0.134783
0
0
0.023607
0
0
0
0
0
0.013043
0
null
null
0
0.043478
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
31ecf05526be5b043db77aa442b4f08a334f8158
2,947
py
Python
test/test.py
majkilde/stringfunctions
34365c015fafcc1429de43e84da1b23cbb99a47e
[ "MIT" ]
null
null
null
test/test.py
majkilde/stringfunctions
34365c015fafcc1429de43e84da1b23cbb99a47e
[ "MIT" ]
null
null
null
test/test.py
majkilde/stringfunctions
34365c015fafcc1429de43e84da1b23cbb99a47e
[ "MIT" ]
1
2020-06-22T07:09:20.000Z
2020-06-22T07:09:20.000Z
import unittest import doctest import str_util class TestStrUtil(unittest.TestCase): def test_side_effects(self): list = ['B', 'A', 'C', 'C', ''] length = len(list) new_list = str_util.trim(list) new_list = str_util.sort(list) new_list = str_util.unique(list) new_li...
37.303797
95
0.623346
392
2,947
4.446429
0.170918
0.148594
0.123924
0.151463
0.648308
0.579461
0.38669
0.201951
0.10327
0.10327
0
0.004743
0.213098
2,947
78
96
37.782051
0.746874
0.011198
0
0.064516
0
0
0.082761
0
0
0
0
0
0.5
1
0.177419
false
0
0.048387
0
0.241935
0
0
0
0
null
0
0
0
0
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
31ed3327680bb2825ffd5e5bc34eb81afb1dc47a
344
py
Python
Exercicios/077 Contando vogais em Tupla.py
isachlopes/PythonCursoEmVideo
b3814c408b13ff404bc73c8cac1367f66cd83792
[ "MIT" ]
1
2020-04-12T20:55:21.000Z
2020-04-12T20:55:21.000Z
Exercicios/077 Contando vogais em Tupla.py
isachlopes/PythonCursoEmVideo
b3814c408b13ff404bc73c8cac1367f66cd83792
[ "MIT" ]
null
null
null
Exercicios/077 Contando vogais em Tupla.py
isachlopes/PythonCursoEmVideo
b3814c408b13ff404bc73c8cac1367f66cd83792
[ "MIT" ]
null
null
null
#Crie um programa que tenha uma tupla com várias palavras (não usar acentos). Depois disso, você deve mostrar, para cada palavra, quais são as suas vogais. p = ('cavalo', 'mamadeira', 'violino') for c in p: print(f'\nPara a palavra {c.upper()} temos ', end='') for l in c: if l in 'aeiou': pr...
49.142857
155
0.627907
55
344
3.927273
0.8
0.027778
0
0
0
0
0
0
0
0
0
0
0.235465
344
7
156
49.142857
0.821293
0.447674
0
0
0
0
0.331579
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
31ee9d3312d4d63f9dba43198559d0cbadbb8eaa
5,630
py
Python
virl/cli/main.py
ttafsir/virlutils
5cb0e5410023b30d49515be5e3cb731dbd6cbeef
[ "MIT" ]
null
null
null
virl/cli/main.py
ttafsir/virlutils
5cb0e5410023b30d49515be5e3cb731dbd6cbeef
[ "MIT" ]
null
null
null
virl/cli/main.py
ttafsir/virlutils
5cb0e5410023b30d49515be5e3cb731dbd6cbeef
[ "MIT" ]
null
null
null
import click from virl.api import VIRLServer import requests from requests.packages.urllib3.exceptions import InsecureRequestWarning import warnings import virl2_client import traceback from virl.helpers import get_cml_client, get_command from .console.commands import console, console1 # noqa: F401 from .nodes.command...
34.539877
135
0.66341
770
5,630
4.764935
0.319481
0.065413
0.094849
0.010357
0.009812
0.009812
0
0
0
0
0
0.03055
0.238366
5,630
162
136
34.753086
0.825093
0.252575
0
0.033333
0
0
0.092848
0
0
0
0
0
0
1
0.025
false
0.016667
0.316667
0
0.366667
0
0
0
0
null
0
0
0
0
0
0
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
9ec5611616578994fe7a0b728c1a97f83ffc2372
4,304
py
Python
rpgs/models.py
ashbc/tgrsite
180e5eb9c72a7a331276fe3de150ea2eea2db51e
[ "ISC" ]
1
2019-06-29T15:25:05.000Z
2019-06-29T15:25:05.000Z
rpgs/models.py
ashbc/tgrsite
180e5eb9c72a7a331276fe3de150ea2eea2db51e
[ "ISC" ]
70
2017-06-21T13:13:57.000Z
2019-03-20T22:14:56.000Z
rpgs/models.py
ashbc/tgrsite
180e5eb9c72a7a331276fe3de150ea2eea2db51e
[ "ISC" ]
null
null
null
from django.db import models from django.core import validators from django.shortcuts import reverse from django.db.models import Q from typing import Optional from users.models import Member from messaging.models import MessageThread class RpgManager(models.Manager): def visible(self, member: Optional[Member]):...
49.471264
213
0.672165
551
4,304
5.130672
0.346642
0.050937
0.038203
0.042094
0.19243
0.147152
0.120269
0.085603
0.085603
0.048815
0
0.004902
0.241636
4,304
86
214
50.046512
0.861213
0.005576
0
0.027778
0
0.041667
0.262272
0
0
0
0
0
0
1
0.069444
false
0
0.097222
0.055556
0.652778
0
0
0
0
null
0
0
0
0
0
0
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
9ec6a6b759cbfa2edb8f1540425a598151027a4f
30,025
py
Python
Hellanzb/NZBQueue.py
ShaneMcC/hellanzb
5ea4e5e73108f80645758b91b0596b6a4a739c6c
[ "BSD-3-Clause" ]
null
null
null
Hellanzb/NZBQueue.py
ShaneMcC/hellanzb
5ea4e5e73108f80645758b91b0596b6a4a739c6c
[ "BSD-3-Clause" ]
null
null
null
Hellanzb/NZBQueue.py
ShaneMcC/hellanzb
5ea4e5e73108f80645758b91b0596b6a4a739c6c
[ "BSD-3-Clause" ]
null
null
null
""" NZBQueue - Maintains NZB files queued to be downloaded in the future These are all module level functions that operate on the main Hellanzb queue, located at Hellanzb.nzbQueue (c) Copyright 2005 Philip Jenvey [See end of file] """ import gc, gzip, os, re, shutil, time, zipfile, Hellanzb, Hellanzb.Daemon from shu...
36.615854
102
0.618784
3,382
30,025
5.4589
0.204613
0.017875
0.011375
0.020474
0.193316
0.14603
0.107735
0.089264
0.079081
0.077131
0
0.00418
0.290858
30,025
819
103
36.660562
0.862906
0.095221
0
0.303957
0
0
0.066887
0.002047
0
0
0
0.001221
0
0
null
null
0.007194
0.021583
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
9ecad13b9ab1a46d355f863a83710323cccdec3c
11,914
py
Python
gitea_api/models/release.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
1
2022-02-09T23:43:26.000Z
2022-02-09T23:43:26.000Z
gitea_api/models/release.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
gitea_api/models/release.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
# coding: utf-8 """ Gitea API. This documentation describes the Gitea API. # noqa: E501 OpenAPI spec version: 1.16.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class Release(object): """NOTE: This class is auto ge...
25.082105
258
0.55632
1,439
11,914
4.449618
0.089646
0.056224
0.121818
0.119475
0.469311
0.347493
0.315009
0.243323
0.135874
0.065907
0
0.019862
0.344972
11,914
474
259
25.135021
0.800615
0.33213
0
0.081731
1
0
0.065505
0
0
0
0
0
0
1
0.173077
false
0
0.014423
0
0.302885
0.009615
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
9ece48391d35501ea4bcf46410599a74ecfcdd99
3,472
py
Python
scripts/lstm_from_dataframe.py
Gijsbertbas/lithograph-website
2d64143b67b81ea08cba3ad74ca19369a82f63a4
[ "MIT" ]
3
2018-11-27T12:08:43.000Z
2021-07-31T22:09:46.000Z
scripts/lstm_from_dataframe.py
Gijsbertbas/lithograph-website
2d64143b67b81ea08cba3ad74ca19369a82f63a4
[ "MIT" ]
null
null
null
scripts/lstm_from_dataframe.py
Gijsbertbas/lithograph-website
2d64143b67b81ea08cba3ad74ca19369a82f63a4
[ "MIT" ]
2
2018-11-28T12:19:09.000Z
2019-01-23T14:24:19.000Z
# -*- coding: utf-8 -*- """lstm_from_dataframe.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/18IMKarhKbjttZmwXFsshTMg8sUaqqOCQ """ import torch import torch.nn as nn import torch.nn.functional as F import torch.optim as optim impor...
33.708738
120
0.678283
511
3,472
4.410959
0.350294
0.043922
0.052795
0.035492
0.130435
0.097604
0.067436
0.021295
0
0
0
0.019404
0.198445
3,472
102
121
34.039216
0.790514
0.234159
0
0
1
0
0.007483
0
0
0
0
0
0
1
0.067797
false
0
0.101695
0.016949
0.237288
0
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
9ed24800f330b220db0a49ec213050016f3dda15
5,351
gyp
Python
library/opus/1.1.gyp
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
3
2015-01-06T15:22:16.000Z
2015-11-27T18:13:04.000Z
library/opus/1.1.gyp
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
7
2015-02-10T15:13:38.000Z
2021-05-30T07:51:13.000Z
library/opus/1.1.gyp
KjellSchubert/bru
dd70b721d07fbd27c57c845cc3a29cd8f2dfc587
[ "MIT" ]
3
2015-01-29T17:19:53.000Z
2016-01-06T12:50:06.000Z
{ "targets": [ # the only purpose of this target is to share settings between celt # and silk targets. { "target_name": "opus_common_settings", "type": "none", "direct_dependent_settings" : { "include_dirs": [ "...
31.110465
84
0.38348
498
5,351
4.018072
0.289157
0.049975
0.074963
0.087456
0.528236
0.514243
0.453273
0.405797
0.405797
0.384308
0
0.040074
0.491684
5,351
171
85
31.292398
0.695588
0.204635
0
0.5
0
0
0.322779
0.095936
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9ed429571f80eac6860e4ca9c750dd5436120cb3
7,862
py
Python
anglepy/funcs.py
strin/nips14-ssl
af332ba0df5e81c6b787226e611b4292d10b8fb5
[ "MIT" ]
496
2015-01-02T06:44:17.000Z
2022-03-17T22:02:34.000Z
anglepy/funcs.py
3rtz/nips14-ssl
1fc7aec899ca429ff26a1d10f747e5ad6bcd17b2
[ "MIT" ]
6
2015-01-16T00:04:31.000Z
2018-06-25T07:02:26.000Z
anglepy/funcs.py
3rtz/nips14-ssl
1fc7aec899ca429ff26a1d10f747e5ad6bcd17b2
[ "MIT" ]
184
2015-01-02T05:16:08.000Z
2021-04-08T10:31:42.000Z
import numpy as np import anglepy.ndict as ndict # FuncLikelihood class FuncLikelihood(): def __init__(self, x, model, n_batch): self.x = x self.model = model self.n_batch = n_batch self.n_datapoints = x.itervalues().next().shape[1] if self.n_datapoints%(self.n_batch) != 0: print self.n_datapoints, sel...
30.122605
98
0.651615
1,345
7,862
3.671375
0.114498
0.044552
0.046578
0.017821
0.655124
0.565816
0.497367
0.41454
0.402187
0.374241
0
0.005476
0.186975
7,862
260
99
30.238462
0.767053
0.057365
0
0.438424
0
0
0.029229
0
0
0
0
0
0
0
null
null
0
0.039409
null
null
0.009852
0
0
0
null
0
0
0
0
0
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
9ed690e071213744683d1712fdee1b99333cb553
5,405
py
Python
tests/test/test_token_generators.py
Ponchia/django-rest-passwordreset
f9cf630fe7d5cb735ce4bff937fc5591378b13a5
[ "BSD-3-Clause" ]
1
2021-01-30T16:20:41.000Z
2021-01-30T16:20:41.000Z
virtual/lib/python3.8/site-packages/tests/test/test_token_generators.py
AokoMercyline/E-commerce
833ad9fd5777e35146dfccf809e78e3c94d997a8
[ "MIT" ]
1
2021-07-10T10:35:51.000Z
2021-07-10T10:35:51.000Z
virtual/lib/python3.8/site-packages/tests/test/test_token_generators.py
AokoMercyline/E-commerce
833ad9fd5777e35146dfccf809e78e3c94d997a8
[ "MIT" ]
1
2021-04-04T03:53:00.000Z
2021-04-04T03:53:00.000Z
from django.test import TestCase from django.conf import settings from django_rest_passwordreset.tokens import RandomStringTokenGenerator, RandomNumberTokenGenerator, get_token_generator class TokenGeneratorTestCase(TestCase): """ Tests that the token generators work as expected """ def setUp(self): ...
41.576923
138
0.606105
529
5,405
5.973535
0.228733
0.11519
0.072785
0.062025
0.652215
0.631962
0.551266
0.525316
0.525316
0.479114
0
0.026899
0.257169
5,405
129
139
41.899225
0.760149
0.195745
0
0.371429
0
0
0.23183
0.101061
0
0
0
0
0.142857
1
0.085714
false
0.114286
0.042857
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9ee4e2169d2dd271a7afd42e3c54423cb848c70c
2,353
py
Python
script.module.urlresolver/lib/urlresolver/plugins/mp4stream.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
1
2019-10-16T18:38:33.000Z
2019-10-16T18:38:33.000Z
script.module.urlresolver/lib/urlresolver/plugins/mp4stream.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
null
null
null
script.module.urlresolver/lib/urlresolver/plugins/mp4stream.py
Reapercrew666/crypt
e1e0994f5323c6b454ac0f65fb2e579f7bea8e5a
[ "Beerware" ]
null
null
null
""" urlresolver XBMC Addon Copyright (C) 2011 t0mm0 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. ...
35.119403
154
0.644709
312
2,353
4.785256
0.442308
0.040188
0.029471
0.038178
0.132619
0.037508
0
0
0
0
0
0.012778
0.235019
2,353
66
155
35.651515
0.816667
0.280493
0
0
0
0
0.092853
0
0
0
0
0
0
1
0.131579
false
0
0.157895
0.052632
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9eecec0ddd277c2e223a80b44cb6604dd9de5ca7
7,211
py
Python
deep_yahtzee/yahtzee_env/yahtzee_env.py
sblackstone/deep_yahtzee
6511356da27859eaf39248a02504641e2b8e43de
[ "MIT" ]
null
null
null
deep_yahtzee/yahtzee_env/yahtzee_env.py
sblackstone/deep_yahtzee
6511356da27859eaf39248a02504641e2b8e43de
[ "MIT" ]
null
null
null
deep_yahtzee/yahtzee_env/yahtzee_env.py
sblackstone/deep_yahtzee
6511356da27859eaf39248a02504641e2b8e43de
[ "MIT" ]
null
null
null
import deep_yahtzee.constants as const import gym from gym import spaces from gym import wrappers import numpy as np import sys from scorepad import ScorePad from dice import Dice class YahtzeeEnv(gym.Env): metadata = {'render.modes': ['human']} def __init__(self): self.scorepad ...
45.639241
170
0.312994
589
7,211
3.733447
0.242784
0.087312
0.025011
0.03638
0.237835
0.158254
0.133697
0.133697
0.124602
0.124602
0
0.06899
0.61004
7,211
157
171
45.929936
0.713016
0.156012
0
0.532258
0
0
0.003993
0
0
0
0
0.006369
0
1
0.064516
false
0.016129
0.064516
0.008065
0.177419
0.008065
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
9ef72275627283dfcc2372fd170cc1b7f524d1bb
609
py
Python
Aula16/ex09.py
danicon/MD3-Curso_Python
3d419d440d3b28adb5c019268f4b217e7d0ce45a
[ "MIT" ]
null
null
null
Aula16/ex09.py
danicon/MD3-Curso_Python
3d419d440d3b28adb5c019268f4b217e7d0ce45a
[ "MIT" ]
null
null
null
Aula16/ex09.py
danicon/MD3-Curso_Python
3d419d440d3b28adb5c019268f4b217e7d0ce45a
[ "MIT" ]
null
null
null
from random import randint maior = menor = cont = 0 numeros = (randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10), randint(1, 10)) print(f'Os valores sorteados foram: ', end='') for n in numeros: print(f'{n} ', end='') if cont == 0: maior = n menor = n else: if n > maior...
26.478261
90
0.577997
94
609
3.744681
0.329787
0.102273
0.142045
0.193182
0.465909
0.465909
0.465909
0.142045
0.142045
0.142045
0
0.040632
0.272578
609
22
91
27.681818
0.75395
0.17734
0
0.235294
0
0
0.204819
0
0
0
0
0
0
1
0
false
0
0.058824
0
0.058824
0.235294
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
9ef86657bdbdabd374d1053b9f3fe2ec14026c79
408
py
Python
tracker/create_db.py
JelteF/bottor
3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae
[ "MIT" ]
4
2015-05-24T17:30:30.000Z
2017-11-27T20:25:53.000Z
tracker/create_db.py
JelteF/bottor
3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae
[ "MIT" ]
null
null
null
tracker/create_db.py
JelteF/bottor
3a6a1ba7fe90c0989c585e9cd01fcc0393b726ae
[ "MIT" ]
null
null
null
#!venv/bin/python """create_db.py - Initialize the database. This script removes any existing databases (app/*.sqlite and app/*.db). It then uses SQLAlchemy to create tables for all models in the application. """ from app import db import os from app.models import * from glob import glob filelist = glob("app/*.sqlit...
20.4
73
0.720588
65
408
4.492308
0.553846
0.061644
0.10274
0
0
0
0
0
0
0
0
0
0.154412
408
19
74
21.473684
0.846377
0.502451
0
0
0
0
0.102564
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1