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
fcb2d4a5227f076111be7361f69d5930fba3673b
994
py
Python
dags/challenge/sample.py
vigviswa/Airflow-Data-Pipeline-with-NewsAPI
173f403b498b1f953be5ff2ec7b1c460db4d90b1
[ "MIT" ]
1
2020-10-29T23:30:40.000Z
2020-10-29T23:30:40.000Z
dags/challenge/sample.py
vigviswa/Airflow-Data-Pipeline-with-NewsAPI
173f403b498b1f953be5ff2ec7b1c460db4d90b1
[ "MIT" ]
null
null
null
dags/challenge/sample.py
vigviswa/Airflow-Data-Pipeline-with-NewsAPI
173f403b498b1f953be5ff2ec7b1c460db4d90b1
[ "MIT" ]
null
null
null
# import datetime # # # def print_context(**context): # """Print context provided to function.""" # print('Context: {}'.format(context)) # # # class HelloWorld: # # def __call__(self, **context) -> str: # """Print and return `Hello, <name>!`.""" # hello = 'Hello, {}!'.format(context['params'...
26.157895
68
0.581489
101
994
5.544554
0.425743
0.232143
0.091071
0
0
0
0
0
0
0
0
0
0.253521
994
37
69
26.864865
0.754717
0.923541
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
fcc90ba5ab170505cefedb80c8569f02955e470d
2,241
py
Python
tests/bioinformatics_algorithms/test_edit_distance.py
pchlenski/NeuroSEED
6318431dcce22df70948251b103374f4a6e96fff
[ "MIT" ]
39
2021-07-07T08:09:15.000Z
2022-03-13T19:48:48.000Z
tests/bioinformatics_algorithms/test_edit_distance.py
pchlenski/NeuroSEED
6318431dcce22df70948251b103374f4a6e96fff
[ "MIT" ]
1
2022-03-11T01:33:43.000Z
2022-03-11T01:33:43.000Z
tests/bioinformatics_algorithms/test_edit_distance.py
pchlenski/NeuroSEED
6318431dcce22df70948251b103374f4a6e96fff
[ "MIT" ]
6
2021-11-01T06:05:00.000Z
2022-03-15T13:06:10.000Z
import random import unittest import Levenshtein from util.bioinformatics_algorithms.edit_distance import dp_edit_distance from util.data_handling.string_generator import IndependentGenerator TEST_CASES = 50 class TestEditDistanceConsensus(unittest.TestCase): def test_100_independent(self): for seed in...
38.637931
93
0.665328
249
2,241
5.859438
0.228916
0.065798
0.067169
0.03427
0.760795
0.730637
0.708705
0.656614
0.656614
0.634681
0
0.048926
0.25212
2,241
57
94
39.315789
0.821599
0
0
0.575
0
0
0.099955
0
0
0
0
0
0.1
1
0.075
false
0
0.125
0
0.225
0
0
0
0
null
0
0
0
0
1
1
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
3
fce9f4e9ccff1980cfe40071dd8353a9317d0442
263
py
Python
Leetcode/0890. Find and Replace Pattern/0890.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0890. Find and Replace Pattern/0890.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
Leetcode/0890. Find and Replace Pattern/0890.py
Next-Gen-UI/Code-Dynamics
a9b9d5e3f27e870b3e030c75a1060d88292de01c
[ "MIT" ]
null
null
null
class Solution: def findAndReplacePattern(self, words: List[str], pattern: str) -> List[str]: def isIsomorphic(w: str, p: str) -> bool: return [*map(w.index, w)] == [*map(p.index, p)] return [word for word in words if isIsomorphic(word, pattern)]
43.833333
79
0.653992
38
263
4.526316
0.526316
0.081395
0
0
0
0
0
0
0
0
0
0
0.18251
263
5
80
52.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0
0
0.2
1
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
1
0
0
0
1
0
0
0
3
1e0671649035404ad14a2724cf84f7dcd769e25c
1,106
py
Python
opta/utils/logger.py
pecigonzalo/opta
0259f128ad3cfc4a96fe1f578833de28b2f19602
[ "Apache-2.0" ]
null
null
null
opta/utils/logger.py
pecigonzalo/opta
0259f128ad3cfc4a96fe1f578833de28b2f19602
[ "Apache-2.0" ]
null
null
null
opta/utils/logger.py
pecigonzalo/opta
0259f128ad3cfc4a96fe1f578833de28b2f19602
[ "Apache-2.0" ]
null
null
null
import logging from colored import attr, fg class Logger: def __init__(self) -> None: self.logger = logging.getLogger("opta") self.logger.setLevel(logging.DEBUG) self.logger.propagate = False def debug(self, msg, *args, **kwargs) -> None: # type: ignore self.logger.debug(msg...
34.5625
80
0.610307
140
1,106
4.792857
0.264286
0.149031
0.135618
0.160954
0.464978
0.42921
0.397914
0.397914
0.397914
0
0
0.003436
0.210669
1,106
31
81
35.677419
0.765178
0.081374
0
0
0
0
0.089286
0.085317
0
0
0
0
0
1
0.380952
false
0
0.095238
0.047619
0.571429
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
1
0
0
0
0
1
0
0
3
1e16e85100230588ebc4dc9689ef91ea7abf65f4
297
py
Python
drivers/plot_bisector_span_vs_RV.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
drivers/plot_bisector_span_vs_RV.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
drivers/plot_bisector_span_vs_RV.py
lgbouma/earhart
1d2b65d58655725f43c1bf9705b897bf767d4ca1
[ "MIT" ]
null
null
null
import os import earhart.plotting as ep from earhart.paths import RESULTSDIR PLOTDIR = os.path.join(RESULTSDIR, 'bisector_span_vs_RV') if not os.path.exists(PLOTDIR): os.mkdir(PLOTDIR) ep.plot_bisector_span_vs_RV(PLOTDIR, which='Gummi') ep.plot_bisector_span_vs_RV(PLOTDIR, which='Hartman')
27
57
0.79798
48
297
4.708333
0.5
0.159292
0.185841
0.212389
0.300885
0.300885
0.300885
0.300885
0
0
0
0
0.094276
297
10
58
29.7
0.840149
0
0
0
0
0
0.104377
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
1
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
1
0
0
0
0
3
1e1b043d4284d3c7561337e1c707b644a33bca16
391
py
Python
zonys/core/freebsd/module.py
zonys/zonys
88d3cef6296163d3395972d2af5ce96ff1d3e0d0
[ "BSD-2-Clause" ]
1
2021-06-10T22:01:12.000Z
2021-06-10T22:01:12.000Z
zonys/core/freebsd/module.py
zonys/zonys
88d3cef6296163d3395972d2af5ce96ff1d3e0d0
[ "BSD-2-Clause" ]
null
null
null
zonys/core/freebsd/module.py
zonys/zonys
88d3cef6296163d3395972d2af5ce96ff1d3e0d0
[ "BSD-2-Clause" ]
null
null
null
import subprocess class Identifier: def __init__(self, name): self.__name = name @property def name(self): return self.__name def is_loaded(self): pass def load(self): pass def open(self): pass class Handle: def __init__(self, identifier): ...
13.964286
38
0.58312
44
391
4.840909
0.386364
0.150235
0.103286
0
0
0
0
0
0
0
0
0
0.337596
391
27
39
14.481481
0.822394
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0.388889
false
0.222222
0.055556
0.055556
0.611111
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
1
0
0
1
0
0
3
1e31abcf9babf3b8892a213e8069fd03741d67d3
221
py
Python
temperature/models.py
EntilZha/rpi
146658e26f0e711084cfc6f4418d20a9abf0a226
[ "MIT" ]
null
null
null
temperature/models.py
EntilZha/rpi
146658e26f0e711084cfc6f4418d20a9abf0a226
[ "MIT" ]
null
null
null
temperature/models.py
EntilZha/rpi
146658e26f0e711084cfc6f4418d20a9abf0a226
[ "MIT" ]
null
null
null
from django.db import models class TemperatureReading(models.Model): recorded_time = models.DateTimeField('Temperature recorded time') temperature_c = models.FloatField() temperature_f = models.FloatField()
27.625
69
0.773756
24
221
7
0.625
0.142857
0
0
0
0
0
0
0
0
0
0
0.140271
221
7
70
31.571429
0.884211
0
0
0
0
0
0.113122
0
0
0
0
0
0
1
0
false
0
0.2
0
1
0
1
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
1
0
0
3
1e45951f5533313892c1b012e027dc988e165c63
525
py
Python
demo-basis/map_reduce.py
code4everything/py-demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
1
2019-05-18T07:58:08.000Z
2019-05-18T07:58:08.000Z
demo-basis/map_reduce.py
code4everything/py_demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
3
2021-06-08T20:42:33.000Z
2022-03-12T00:07:44.000Z
demo-basis/map_reduce.py
code4everything/py_demo
142378382216cd41dc43c765993f4715fdc8726d
[ "MIT" ]
null
null
null
# encoding:utf-8 from functools import reduce def power(x): return x * x # map 函数接受两个参数,一个是函数,一个是可迭代的对象 print(list(map(power, list(range(0, 10))))) def concat(x, y): return x * 10 + y # reduce 同样接受两个参数,一个函数(该函数接受两个参数),一个可迭代的对象 print(reduce(concat, list(range(1, 10)))) # 从测试中可以看出,当列表只有一个值时,不会调用函数 print...
14.583333
47
0.630476
88
525
3.761364
0.511364
0.063444
0.048338
0.072508
0
0
0
0
0
0
0
0.048837
0.180952
525
35
48
15
0.72093
0.220952
0
0
0
0
0.004975
0
0
0
0
0
0
1
0.230769
false
0
0.076923
0.230769
0.538462
0.384615
0
0
0
null
0
0
0
0
0
0
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
1
1
0
0
3
1e64ac57f28cc0e2bf5149d586900433fc065e4a
563
py
Python
functions/picture/interactions.py
tomdewildt/ada
f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9
[ "MIT" ]
null
null
null
functions/picture/interactions.py
tomdewildt/ada
f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9
[ "MIT" ]
2
2022-03-19T20:42:43.000Z
2022-03-19T20:57:41.000Z
functions/picture/interactions.py
tomdewildt/ada
f9800c023ac8b70584b0d2a27a6b4f3b09acc3d9
[ "MIT" ]
1
2022-03-23T21:18:58.000Z
2022-03-23T21:18:58.000Z
from models import Metadata class PictureInteractions: def __init__(self, metadata_repository, storage_repository): self._metadata_repository = metadata_repository self._storage_repository = storage_repository def upload(self, file): name, url = self._storage_repository.store_file(fil...
33.117647
76
0.746004
65
563
6.076923
0.338462
0.151899
0.222785
0.141772
0
0
0
0
0
0
0
0
0.175844
563
16
77
35.1875
0.851293
0
0
0
0
0
0
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.636364
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
1
0
0
0
0
1
0
0
3
1e65f71e200dde1fedfb1a57ea2082ecc2d725da
258
py
Python
app/commands.py
CityOfNewYork/NYCOpenRecords
476a236a573e6f3a2f96c6537a30ee27b2bd3a2b
[ "Apache-2.0" ]
37
2016-01-21T18:33:56.000Z
2021-10-24T01:43:20.000Z
app/commands.py
CityOfNewYork/NYCOpenRecords
476a236a573e6f3a2f96c6537a30ee27b2bd3a2b
[ "Apache-2.0" ]
179
2016-01-21T21:33:31.000Z
2022-02-15T21:31:35.000Z
app/commands.py
CityOfNewYork/NYCOpenRecords
476a236a573e6f3a2f96c6537a30ee27b2bd3a2b
[ "Apache-2.0" ]
13
2017-05-19T17:27:31.000Z
2020-07-05T00:55:29.000Z
# -*- coding: utf-8 -*- """Click commands.""" import os import sys from glob import glob from subprocess import call import click from flask import current_app from flask.cli import with_appcontext from werkzeug.exceptions import MethodNotAllowed, NotFound
21.5
58
0.790698
36
258
5.611111
0.611111
0.089109
0
0
0
0
0
0
0
0
0
0.004484
0.135659
258
11
59
23.454545
0.901345
0.147287
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1e7db66041e8dd7e7c144db44bbdb311c1334d9e
1,048
py
Python
app/model.py
kshitijzutshi/FastAPI-Authentication-with-JWT
15efb210e8decae5cdcc5f96eab9b5e5d552ab07
[ "MIT" ]
null
null
null
app/model.py
kshitijzutshi/FastAPI-Authentication-with-JWT
15efb210e8decae5cdcc5f96eab9b5e5d552ab07
[ "MIT" ]
null
null
null
app/model.py
kshitijzutshi/FastAPI-Authentication-with-JWT
15efb210e8decae5cdcc5f96eab9b5e5d552ab07
[ "MIT" ]
null
null
null
from pydantic import BaseModel, Field, EmailStr class PostSchema(BaseModel): id: int = Field(default=None) title: str = Field(default=None) content: str = Field(default=None) class Config: schema_extra = { "post_demo": { "title": "some title about animals", ...
28.324324
55
0.530534
98
1,048
5.612245
0.336735
0.174545
0.232727
0.172727
0.5
0.5
0.387273
0.387273
0.312727
0.312727
0
0.023634
0.354008
1,048
37
56
28.324324
0.788774
0
0
0.470588
0
0
0.163012
0
0
0
0
0
0
1
0
false
0.117647
0.029412
0
0.441176
0
0
0
0
null
0
1
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
1
0
0
0
0
0
3
1e838f5a2ab3b9ae1cf08082ae6bac0f5e4095dd
276
py
Python
Proyectos de Django/Curso Django/django lectures/model_databases/lectures_app/admin.py
Serbeld/Django-Python
396343642aa850f497793028052c1b90c17b2bf2
[ "MIT" ]
null
null
null
Proyectos de Django/Curso Django/django lectures/model_databases/lectures_app/admin.py
Serbeld/Django-Python
396343642aa850f497793028052c1b90c17b2bf2
[ "MIT" ]
null
null
null
Proyectos de Django/Curso Django/django lectures/model_databases/lectures_app/admin.py
Serbeld/Django-Python
396343642aa850f497793028052c1b90c17b2bf2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib import admin from lectures_app.models import AccesRecord,Topic,Webpage # Register your models here. admin.site.register(AccesRecord) admin.site.register(Topic) admin.site.register(Webpage)
23
57
0.800725
37
276
5.810811
0.567568
0.125581
0.237209
0
0
0
0
0
0
0
0
0.004032
0.101449
276
11
58
25.090909
0.862903
0.173913
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
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
1
0
1
0
0
0
0
3
1e8664da8095083aa1660d8dd15cd81dd6f645b8
2,266
py
Python
astropy/nddata/nddata_withmixins.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
astropy/nddata/nddata_withmixins.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
astropy/nddata/nddata_withmixins.py
EnjoyLifeFund/py36pkgs
0ac677fbbfa7b6d8c527fe2c759ba05117b07fd2
[ "MIT", "BSD-2-Clause", "BSD-3-Clause" ]
null
null
null
# Licensed under a 3-clause BSD style license - see LICENSE.rst """ This module implements a class based on NDData with all Mixins. """ from __future__ import (absolute_import, division, print_function, unicode_literals) from .nddata import NDData from .mixins.ndslicing import NDSlicingMixin...
30.213333
79
0.632833
261
2,266
5.452107
0.440613
0.075896
0.070274
0.126493
0.193956
0.115952
0.115952
0.111736
0.105411
0.056922
0
0.080166
0.25684
2,266
74
80
30.621622
0.764846
0.749779
0
0
0
0
0.023377
0
0
0
0
0
0
1
0
false
0.111111
0.555556
0
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
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
1
0
1
0
0
3
1e91897ad5657760b76d37f21bbd8e7939002c98
88
py
Python
crawler/niche_reviews/parse_NER/__init__.py
Chit-Chaat/Collegiate_Explorer_APP
f30171d01fec62a836332b5508374144fbb487c7
[ "MIT" ]
3
2021-05-24T23:06:40.000Z
2021-11-08T10:32:42.000Z
crawler/niche_reviews/parse_NER/__init__.py
Chit-Chaat/Collegiate_Explorer_APP
f30171d01fec62a836332b5508374144fbb487c7
[ "MIT" ]
4
2020-10-12T03:00:43.000Z
2020-11-17T01:47:56.000Z
crawler/niche_reviews/parse_NER/__init__.py
Chit-Chaat/Collegiate_Explorer_APP
f30171d01fec62a836332b5508374144fbb487c7
[ "MIT" ]
2
2021-03-01T15:30:26.000Z
2022-01-13T21:30:20.000Z
__author__ = 'Aaron Yang' __email__ = 'byang971@usc.edu' __date__ = '11/13/2020 1:54 PM'
29.333333
31
0.715909
14
88
3.642857
1
0
0
0
0
0
0
0
0
0
0
0.181818
0.125
88
3
31
29.333333
0.480519
0
0
0
0
0
0.494382
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
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
1ebaa098682513d25d4d7dd9826298175285e25c
1,846
py
Python
classification/model/model.py
telesto-ai/telesto-models
4abbef91a64c98396daa2f691de33baca306fb91
[ "Apache-2.0" ]
1
2020-07-03T00:21:03.000Z
2020-07-03T00:21:03.000Z
classification/model/model.py
telesto-ai/telesto-models
4abbef91a64c98396daa2f691de33baca306fb91
[ "Apache-2.0" ]
5
2020-05-20T17:30:04.000Z
2020-11-30T10:26:58.000Z
classification/model/model.py
telesto-ai/telesto-models
4abbef91a64c98396daa2f691de33baca306fb91
[ "Apache-2.0" ]
2
2020-06-07T09:50:20.000Z
2020-09-10T07:42:12.000Z
from typing import List import numpy as np from telesto.models import ClassificationModelBase CLASSES = [] # add list of class labels here MODEL_PATH = "" # specify the path to model weights here """ Do not rename the model below! """ class ClassificationModel(ClassificationModelBase): ""...
29.774194
86
0.644095
241
1,846
4.817427
0.427386
0.02584
0.028424
0.043928
0.075797
0.037898
0
0
0
0
0
0
0.293066
1,846
61
87
30.262295
0.889655
0.604009
0
0.166667
0
0
0
0
0
0
0
0
0
1
0.25
false
0.166667
0.25
0
0.583333
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
1
0
0
1
0
0
3
1ed6574d36a64097bc57d12f1bb724f170b379a7
134
py
Python
splunk_topology/stackstate_checks/splunk_topology/__init__.py
Mathieu-Dirkx/stackstate-agent-integrations
76bb486f2560e1cdcd5aabb65ef8a19ff36297c1
[ "BSD-3-Clause" ]
2
2020-03-10T13:21:37.000Z
2021-04-01T07:52:16.000Z
splunk_topology/stackstate_checks/splunk_topology/__init__.py
Mathieu-Dirkx/stackstate-agent-integrations
76bb486f2560e1cdcd5aabb65ef8a19ff36297c1
[ "BSD-3-Clause" ]
33
2020-02-05T16:18:32.000Z
2022-03-21T14:08:04.000Z
splunk_topology/stackstate_checks/splunk_topology/__init__.py
Mathieu-Dirkx/stackstate-agent-integrations
76bb486f2560e1cdcd5aabb65ef8a19ff36297c1
[ "BSD-3-Clause" ]
7
2020-03-10T13:21:39.000Z
2021-03-11T07:16:44.000Z
from .__about__ import __version__ from .splunk_topology import SplunkTopology __all__ = [ '__version__', 'SplunkTopology' ]
16.75
43
0.753731
12
134
7
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.171642
134
7
44
19.142857
0.756757
0
0
0
0
0
0.186567
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
3
949cea1403476a1f4cdfe4b10f857cb63590a77d
128
py
Python
gfpgan/version.py
luijkr/GFPGAN
d1c7d03bd240bac8d7d2f45ec7c1838b9ac264a3
[ "BSD-3-Clause" ]
null
null
null
gfpgan/version.py
luijkr/GFPGAN
d1c7d03bd240bac8d7d2f45ec7c1838b9ac264a3
[ "BSD-3-Clause" ]
null
null
null
gfpgan/version.py
luijkr/GFPGAN
d1c7d03bd240bac8d7d2f45ec7c1838b9ac264a3
[ "BSD-3-Clause" ]
null
null
null
# GENERATED VERSION FILE # TIME: Wed Sep 8 07:25:41 2021 __version__ = '0.2.1' __gitsha__ = 'f6d3f70' version_info = (0, 2, 1)
21.333333
32
0.679688
22
128
3.545455
0.772727
0.051282
0.076923
0
0
0
0
0
0
0
0
0.2
0.179688
128
5
33
25.6
0.542857
0.414063
0
0
1
0
0.166667
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
1
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
94bc7cb768021798c5cf673a59e15c429603a0a9
4,359
py
Python
draftable/endpoints/comparisons/test_sides.py
draftable/compare-api-python-client
ff7a0fa688353142167c1ca5dc178189ef9054be
[ "MIT" ]
5
2017-04-06T22:16:13.000Z
2021-12-14T06:27:05.000Z
draftable/endpoints/comparisons/test_sides.py
draftable/compare-api-python-client
ff7a0fa688353142167c1ca5dc178189ef9054be
[ "MIT" ]
1
2020-10-26T12:24:43.000Z
2020-10-29T01:38:53.000Z
draftable/endpoints/comparisons/test_sides.py
draftable/compare-api-python-client
ff7a0fa688353142167c1ca5dc178189ef9054be
[ "MIT" ]
2
2018-04-13T15:18:58.000Z
2020-02-15T19:07:37.000Z
from os.path import isfile, join from pathlib import Path import pytest from draftable.endpoints.exceptions import InvalidPath from .sides import ( FileSide, Side, URLSide, data_from_side, guess_file_type_from_path, make_side, ) root_dir = Path(__file__).parents[3] # HACK def _get_test_fi...
30.062069
94
0.654508
662
4,359
4.070997
0.148036
0.072727
0.07718
0.100928
0.72987
0.700186
0.691651
0.683117
0.675325
0.642301
0
0.000284
0.192934
4,359
144
95
30.270833
0.765776
0.044047
0
0.373832
0
0.037383
0.207702
0
0
0
0
0
0.570093
1
0.084112
false
0
0.046729
0.009346
0.140187
0
0
0
0
null
0
0
0
0
1
0
0
0
1
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
3
94c7c9768a3cc324071d86a23c100c45054cef84
577
py
Python
achi/wallet/puzzles/p2_m_of_n_delegate_direct.py
Shamrock-Network/achi-blockchain
bf5d8546115b4f92de174ce1b5f732c3f8541838
[ "Apache-2.0" ]
11
2021-08-13T19:17:02.000Z
2022-01-17T21:52:58.000Z
achi/wallet/puzzles/p2_m_of_n_delegate_direct.py
Shamrock-Network/achi-blockchain
bf5d8546115b4f92de174ce1b5f732c3f8541838
[ "Apache-2.0" ]
19
2021-08-16T20:28:04.000Z
2022-03-26T22:49:10.000Z
achi/wallet/puzzles/p2_m_of_n_delegate_direct.py
Shamrock-Network/achi-blockchain
bf5d8546115b4f92de174ce1b5f732c3f8541838
[ "Apache-2.0" ]
14
2021-09-02T09:48:50.000Z
2022-03-15T08:23:32.000Z
""" Pay to m of n direct This puzzle program is like p2_delegated_puzzle except instead of one public key, it includes N public keys, any M of which needs to sign the delegated puzzle. """ from achi.types.blockchain_format.program import Program from .load_alvm import load_alvm MOD = load_alvm("p2_m_of_n_delegate_d...
27.47619
81
0.783362
95
577
4.505263
0.452632
0.028037
0.091122
0.065421
0
0
0
0
0
0
0
0.004032
0.140381
577
20
82
28.85
0.858871
0.313692
0
0
0
0
0.07732
0.07732
0
0
0
0
0
1
0.285714
false
0
0.285714
0.285714
0.857143
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
1
1
0
0
3
94cc826f4d9055e72ff4324928ad99753aeb8055
342
py
Python
admin.py
Dhruv692000/Hackathon201920
48b9d38c509e33dda91cd714e05a1dda6f6377bf
[ "MIT" ]
null
null
null
admin.py
Dhruv692000/Hackathon201920
48b9d38c509e33dda91cd714e05a1dda6f6377bf
[ "MIT" ]
null
null
null
admin.py
Dhruv692000/Hackathon201920
48b9d38c509e33dda91cd714e05a1dda6f6377bf
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import * admin.site.register(User) admin.site.register(smerit) admin.site.register(Notification) admin.site.register(Grievance) admin.site.register(Laptop) admin.site.register(Desktop) admin.site.register(Cupboard) admin.site.register(Table) admin.site.register(Chair) admi...
22.8
33
0.815789
48
342
5.8125
0.375
0.322581
0.609319
0
0
0
0
0
0
0
0
0
0.05848
342
14
34
24.428571
0.86646
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
0
0
0
null
1
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
1
0
0
0
0
0
0
3
94db8f9f2b19ca32d7af4a4deb33c03c992f7a98
553
py
Python
diffmah/tests/test_opt_bounds.py
ArgonneCPAC/diffmah
867d11def6284b07e58753f0d4590adc21495e3d
[ "BSD-3-Clause" ]
5
2021-05-14T10:05:26.000Z
2022-01-13T08:56:16.000Z
diffmah/tests/test_opt_bounds.py
ArgonneCPAC/diffmah
867d11def6284b07e58753f0d4590adc21495e3d
[ "BSD-3-Clause" ]
1
2021-04-21T20:41:27.000Z
2021-05-05T15:05:03.000Z
diffmah/tests/test_opt_bounds.py
ArgonneCPAC/diffmah
867d11def6284b07e58753f0d4590adc21495e3d
[ "BSD-3-Clause" ]
1
2021-05-05T17:29:31.000Z
2021-05-05T17:29:31.000Z
""" """ from ..optimize_nbody import BOUNDS as NBODY_BOUNDS from ..optimize_tng import BOUNDS as TNG_BOUNDS from ..tng_pdf_model import DEFAULT_MAH_PDF_PARAMS as TNG_DEFAULTS from ..rockstar_pdf_model import DEFAULT_MAH_PDF_PARAMS as NBODY_DEFAULTS def test_nbody_params_are_correctly_bounded(): for key, bounds in...
32.529412
73
0.764919
84
553
4.678571
0.309524
0.091603
0.071247
0.10687
0.498728
0.37659
0.37659
0.37659
0
0
0
0.008457
0.144665
553
16
74
34.5625
0.82241
0
0
0
0
0
0
0
0
0
0
0
0.2
1
0.2
true
0
0.4
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
1
0
1
0
1
0
0
3
94ed2db18e2a65ff9a6280f1f8f4f74eb88b0deb
492
py
Python
comicMaker/__init__.py
Gunjan933/comicMaker
9e10f8bc7d1b9c9ad6af271ca7a01fb03b26c6ee
[ "MIT" ]
3
2019-09-03T14:27:28.000Z
2021-03-04T04:23:38.000Z
comicMaker/__init__.py
Gunjan933/comicMaker
9e10f8bc7d1b9c9ad6af271ca7a01fb03b26c6ee
[ "MIT" ]
null
null
null
comicMaker/__init__.py
Gunjan933/comicMaker
9e10f8bc7d1b9c9ad6af271ca7a01fb03b26c6ee
[ "MIT" ]
2
2019-06-18T04:21:28.000Z
2021-08-17T18:24:20.000Z
from .imageConverter import imageConverter from .checkProgress import checkProgress from .checkInternet import checkInternet from .makeFullPdf import makeFullPdf from .parseImage import parseImage from .mangaLike import mangaLike from .readComicOnlineTo import readComicOnlineTo from .readComicsOnlineRu import readComic...
37.846154
50
0.869919
52
492
8.230769
0.288462
0
0
0
0
0
0
0
0
0
0
0
0.103659
492
13
51
37.846154
0.970522
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
a201f1ff750e559e571dd121ee2a81e685863ceb
22
py
Python
backend/__init__.py
gugcz/devfest-rpg
731789c15600ac7dc5ffd7049d69ba49102982a5
[ "MIT" ]
null
null
null
backend/__init__.py
gugcz/devfest-rpg
731789c15600ac7dc5ffd7049d69ba49102982a5
[ "MIT" ]
null
null
null
backend/__init__.py
gugcz/devfest-rpg
731789c15600ac7dc5ffd7049d69ba49102982a5
[ "MIT" ]
null
null
null
__author__ = 'tivvit'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
bf3ea79c89a9e1f1901514ea5229639b0f53fc67
80
py
Python
exercise/A03_生成扑克牌.py
globien/life_python
9d9e6f68f0178f05eec1296d56016bf7d8a7fc54
[ "MIT" ]
18
2020-04-04T15:06:01.000Z
2022-03-11T00:44:38.000Z
exercise/A03_生成扑克牌.py
globien/life_python
9d9e6f68f0178f05eec1296d56016bf7d8a7fc54
[ "MIT" ]
null
null
null
exercise/A03_生成扑克牌.py
globien/life_python
9d9e6f68f0178f05eec1296d56016bf7d8a7fc54
[ "MIT" ]
6
2020-03-10T22:43:01.000Z
2022-01-22T03:49:01.000Z
cards = [i+str(j+1) for i in ['S','H','D','C'] for j in range(13)] print(cards)
26.666667
66
0.55
19
80
2.315789
0.736842
0
0
0
0
0
0
0
0
0
0
0.044118
0.15
80
2
67
40
0.602941
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
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
1
0
3
bf5c1b19dc2ed52a54c833eff8f795fb98b055ea
98
py
Python
main.py
kagaya25/How-to-get-the-duration-of-a-video-in-Python-
75c3f1948deb5e846b66e4b147736ab5bf708f99
[ "MIT" ]
null
null
null
main.py
kagaya25/How-to-get-the-duration-of-a-video-in-Python-
75c3f1948deb5e846b66e4b147736ab5bf708f99
[ "MIT" ]
null
null
null
main.py
kagaya25/How-to-get-the-duration-of-a-video-in-Python-
75c3f1948deb5e846b66e4b147736ab5bf708f99
[ "MIT" ]
null
null
null
from moviepy.editor import VideoFileClip clip = VideoFileClip("test.mp4") print( clip.duration )
19.6
40
0.785714
12
98
6.416667
0.833333
0
0
0
0
0
0
0
0
0
0
0.011494
0.112245
98
4
41
24.5
0.873563
0
0
0
0
0
0.082474
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
1
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
1
0
0
0
0
3
bf5f0f3b7d957c325d38eca39f660da2a9c41918
278
py
Python
archivos/persona.py
lecovi/reveal.js
60bfdea623d326bcd9b52fe82135667a704c79f5
[ "MIT" ]
null
null
null
archivos/persona.py
lecovi/reveal.js
60bfdea623d326bcd9b52fe82135667a704c79f5
[ "MIT" ]
null
null
null
archivos/persona.py
lecovi/reveal.js
60bfdea623d326bcd9b52fe82135667a704c79f5
[ "MIT" ]
1
2021-03-03T12:22:04.000Z
2021-03-03T12:22:04.000Z
class Persona: """Abstracción de los objetos Persona""" def __init__(self, nombre): self.nombre = nombre print(f"Acabo de ser creado y me llamo {self.nombre}") def avanzar(self): print(f"Soy {self.nombre} y estoy caminando hacia adelante!")
30.888889
69
0.647482
38
278
4.631579
0.631579
0.227273
0
0
0
0
0
0
0
0
0
0
0.241007
278
8
70
34.75
0.834123
0.122302
0
0
0
0
0.39916
0
0
0
0
0
0
1
0.333333
false
0
0
0
0.5
0.333333
0
0
0
null
1
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
1
0
0
0
0
0
0
0
3
bf6d17d4c0c559011275a3e0d5f9f3c10576364f
169
py
Python
codeChef/practice/easy/dce03.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-09-30T19:53:08.000Z
2020-09-30T19:53:08.000Z
codeChef/practice/easy/dce03.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
null
null
null
codeChef/practice/easy/dce03.py
gauravsingh58/algo
397859a53429e7a585e5f6964ad24146c6261326
[ "WTFPL" ]
1
2020-10-15T09:10:57.000Z
2020-10-15T09:10:57.000Z
catalans = [1] for i in xrange(0, 1001): catalans.append((2*(2*i+1)*catalans[-1])/(i+2)) for _ in xrange(int(raw_input())): print catalans[int(raw_input())-1]%10000
28.166667
49
0.650888
31
169
3.451613
0.483871
0.168224
0.205607
0
0
0
0
0
0
0
0
0.113333
0.112426
169
6
50
28.166667
0.6
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.2
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
0
3
bf88d32da996cd73aa8a99a79d8c9db53bc3af73
726
py
Python
src_eventbrite_django/topthree/migrations/0002_auto_20160125_0354.py
vipulkanade/EventbriteDjango
075036563db1fe41fa7c5a541eda3999be328be0
[ "MIT" ]
null
null
null
src_eventbrite_django/topthree/migrations/0002_auto_20160125_0354.py
vipulkanade/EventbriteDjango
075036563db1fe41fa7c5a541eda3999be328be0
[ "MIT" ]
null
null
null
src_eventbrite_django/topthree/migrations/0002_auto_20160125_0354.py
vipulkanade/EventbriteDjango
075036563db1fe41fa7c5a541eda3999be328be0
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-25 03:54 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('topthree', '0001_initial'), ] operations = [ migrations.RenameField( mod...
23.419355
47
0.566116
70
726
5.614286
0.571429
0.160305
0.198473
0.229008
0.358779
0.358779
0.358779
0
0
0
0
0.052738
0.320937
726
30
48
24.2
0.744422
0.092287
0
0.391304
1
0
0.16311
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
0
0
0
null
0
1
1
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
3
bfa485d3c1c936c12f68bb8d92906c3d7c27c9aa
3,312
py
Python
problems/OF/auto/problem54_OF.py
sunandita/ICAPS_Summer_School_RAE_2020
a496b62185bcfdd2c76eb7986ae99cfa85708d28
[ "BSD-3-Clause" ]
5
2020-10-15T14:40:03.000Z
2021-08-20T17:45:41.000Z
problems/OF/auto/problem54_OF.py
sunandita/ICAPS_Summer_School_RAE_2020
a496b62185bcfdd2c76eb7986ae99cfa85708d28
[ "BSD-3-Clause" ]
null
null
null
problems/OF/auto/problem54_OF.py
sunandita/ICAPS_Summer_School_RAE_2020
a496b62185bcfdd2c76eb7986ae99cfa85708d28
[ "BSD-3-Clause" ]
2
2020-10-15T07:06:14.000Z
2020-10-15T17:33:01.000Z
__author__ = 'mason' from domain_orderFulfillment import * from timer import DURATION from state import state import numpy as np ''' This is a randomly generated problem ''' def GetCostOfMove(id, r, loc1, loc2, dist): return 1 + dist def GetCostOfLookup(id, item): return max(1, np.random.beta(2, 2)) def Ge...
38.964706
503
0.598732
477
3,312
4.132075
0.297694
0.060883
0.032978
0.035515
0.251649
0.251649
0.240487
0.240487
0.21106
0.21106
0
0.247882
0.180254
3,312
85
504
38.964706
0.478085
0
0
0.307692
1
0
0.097889
0
0
0
0
0
0
1
0.107692
false
0
0.061538
0.092308
0.261538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
449f0c517e331cd38b1432e6b4a7cc12e7b7119c
573
py
Python
func2asy.py
supakorn-ras/py2asyutils
1e791dce24390935df420ce530d86b2f17207594
[ "MIT" ]
null
null
null
func2asy.py
supakorn-ras/py2asyutils
1e791dce24390935df420ce530d86b2f17207594
[ "MIT" ]
null
null
null
func2asy.py
supakorn-ras/py2asyutils
1e791dce24390935df420ce530d86b2f17207594
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import typing as t import numpy as np def func2asy(funcname: str, func: t.Callable[[float], float], from_a: float=0.0, from_b: float=1.0, detail: int=100, realtype:str='realfunc') -> str: sample = int(detail * (from_b - from_a)) basearray = np.linspace(from_a, from_b, sample) yarra...
35.8125
149
0.657941
90
573
4.122222
0.511111
0.040431
0
0
0
0
0
0
0
0
0
0.03681
0.146597
573
15
150
38.2
0.721881
0.036649
0
0
0
0
0.107078
0.038113
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
44a7050ca2952393e2e7b95d08d39da6e77af0a0
374
py
Python
functions/mapListToBase.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
1
2019-04-10T04:07:50.000Z
2019-04-10T04:07:50.000Z
functions/mapListToBase.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
1
2019-04-10T04:09:43.000Z
2019-04-12T01:46:18.000Z
functions/mapListToBase.py
JRJurman/persistent-number-generator
4f531e88c94ae9ea1c6aa241e3ae9086c48fd80d
[ "MIT" ]
null
null
null
from functions.toBaseN import toBaseN def originalAndStringOfBaseN(base): def originalAndString(number): return (number, toBaseN(base)(number)) return originalAndString def mapListToBase(numbers, base = 10): """ convert numpy array into integer of base only use for printing """ return list(map(orig...
24.933333
75
0.751337
43
374
6.534884
0.604651
0.199288
0
0
0
0
0
0
0
0
0
0.006289
0.149733
374
14
76
26.714286
0.877358
0.168449
0
0
0
0
0
0
0
0
0
0
0
1
0.428571
false
0
0.142857
0.142857
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
1
0
0
0
1
1
0
0
3
44bdf94c9a5563116ba4ecc658aa5f19d4fee5ec
282
py
Python
src/py_dss_tools/model/meters/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
3
2021-05-29T00:40:10.000Z
2021-09-30T17:56:14.000Z
src/py_dss_tools/model/meters/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
null
null
null
src/py_dss_tools/model/meters/__init__.py
eniovianna/py_dss_tools
3057fb0b74facd05a362e4e4a588f79f70aa9dd7
[ "MIT" ]
3
2021-05-29T00:40:46.000Z
2022-01-13T22:04:49.000Z
# -*- encoding: utf-8 -*- """ Created by Ênio Viana at 22/09/2021 at 23:10:47 Project: py_dss_tools [set, 2021] """ from .MeterElement import MeterElement from .EnergyMeter import EnergyMeter from .FMonitor import FMonitor from .Monitor import Monitor from .Sensor import Sensor
23.5
48
0.751773
41
282
5.121951
0.634146
0
0
0
0
0
0
0
0
0
0
0.079167
0.148936
282
11
49
25.636364
0.795833
0.375887
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
44c0bfa324bbf56ad2465b12decedca18d552bfb
108
py
Python
noticov/backend/tables/__init__.py
srevinsaju/noticov
ae2e449ffb01509e705b8c30f911bd906567c175
[ "MIT" ]
null
null
null
noticov/backend/tables/__init__.py
srevinsaju/noticov
ae2e449ffb01509e705b8c30f911bd906567c175
[ "MIT" ]
null
null
null
noticov/backend/tables/__init__.py
srevinsaju/noticov
ae2e449ffb01509e705b8c30f911bd906567c175
[ "MIT" ]
1
2022-01-25T17:21:33.000Z
2022-01-25T17:21:33.000Z
from enum import Enum class Tables(Enum): INDIA = "COVID_INDIA_STATS" WORLD = "COVID_WORLD_STATS"
15.428571
31
0.712963
15
108
4.866667
0.6
0
0
0
0
0
0
0
0
0
0
0
0.203704
108
6
32
18
0.848837
0
0
0
0
0
0.314815
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
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
1
0
0
3
44d4b5f4fd49c1789138c25d4f9c9b95b93b420a
706
py
Python
cmake-build-debug/cmake/px4_control-genmsg-context.py
zhichaoliu0921/px4_control
1ca6b81b48c0b06bc33eb29c4298815d6ea373df
[ "MIT" ]
null
null
null
cmake-build-debug/cmake/px4_control-genmsg-context.py
zhichaoliu0921/px4_control
1ca6b81b48c0b06bc33eb29c4298815d6ea373df
[ "MIT" ]
null
null
null
cmake-build-debug/cmake/px4_control-genmsg-context.py
zhichaoliu0921/px4_control
1ca6b81b48c0b06bc33eb29c4298815d6ea373df
[ "MIT" ]
null
null
null
# generated from genmsg/cmake/pkg-genmsg.context.in messages_str = "/home/zhichao/catkin_ws/src/px4_control/msg/PVA.msg" services_str = "/home/zhichao/catkin_ws/src/px4_control/srv/updatePx4param.srv" pkg_name = "px4_control" dependencies_str = "std_msgs;geometry_msgs" langs = "gencpp;geneus;genlisp;gennodejs;genpy" d...
58.833333
199
0.794618
108
706
4.916667
0.5
0.094162
0.096045
0.107345
0.286252
0.20339
0.20339
0.20339
0
0
0
0.010417
0.048159
706
11
200
64.181818
0.779762
0.069405
0
0
1
0.111111
0.690076
0.642748
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
44e296f498d02e0dc87accb96a1306bbac258ca8
92
py
Python
JDI/core/interfaces/element_index_type.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
5
2020-02-14T10:32:01.000Z
2021-07-22T08:20:28.000Z
JDI/core/interfaces/element_index_type.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
54
2018-07-27T14:07:33.000Z
2021-11-08T09:24:16.000Z
JDI/core/interfaces/element_index_type.py
jdi-testing/jdi-python
7c0607b97d4d44b27ea8f532d47c68b8dd00e6f7
[ "MIT" ]
1
2021-01-20T14:31:52.000Z
2021-01-20T14:31:52.000Z
from enum import Enum class ElementIndexType(Enum): nums = "Nums" names = "Names"
13.142857
29
0.663043
11
92
5.545455
0.636364
0
0
0
0
0
0
0
0
0
0
0
0.23913
92
6
30
15.333333
0.871429
0
0
0
0
0
0.097826
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
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
1
0
0
3
44ee56ef57eae8c25a1ef7519490effd6f730545
2,130
py
Python
src/installer/src/tortuga/kit/actions/base.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
33
2018-03-02T17:07:39.000Z
2021-05-21T18:02:51.000Z
src/installer/src/tortuga/kit/actions/base.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
201
2018-03-05T14:28:24.000Z
2020-11-23T19:58:27.000Z
src/installer/src/tortuga/kit/actions/base.py
sutasu/tortuga
48d7cde4fa652346600b217043b4a734fa2ba455
[ "Apache-2.0" ]
23
2018-03-02T17:21:59.000Z
2020-11-18T14:52:38.000Z
# Copyright 2008-2018 Univa Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
26.625
74
0.637089
252
2,130
5.253968
0.384921
0.075529
0.063444
0.024169
0.517372
0.481873
0.422961
0.422961
0.422961
0.422961
0
0.007742
0.2723
2,130
79
75
26.962025
0.846452
0.430986
0
0.695652
0
0
0
0
0
0
0
0
0
1
0.347826
false
0.086957
0.043478
0
0.652174
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
44f0e8d8606852687512004d478a21fad085a375
150
py
Python
gym_rad_search/setup.py
nguyent87/radiation_ppo
373bd09162348a00276fd704330509d71d4060bd
[ "MIT" ]
4
2021-10-03T20:17:04.000Z
2022-03-09T10:58:57.000Z
gym_rad_search/setup.py
nguyent87/radiation_ppo
373bd09162348a00276fd704330509d71d4060bd
[ "MIT" ]
1
2022-03-23T03:22:27.000Z
2022-03-23T03:22:27.000Z
gym_rad_search/setup.py
nguyent87/radiation_ppo
373bd09162348a00276fd704330509d71d4060bd
[ "MIT" ]
2
2021-08-02T21:04:53.000Z
2021-10-07T20:57:21.000Z
from setuptools import setup setup(name='gym_rad_search', version='0', install_requires=['gym'] # And any other dependencies foo needs )
25
70
0.706667
20
150
5.15
0.9
0
0
0
0
0
0
0
0
0
0
0.008197
0.186667
150
6
71
25
0.836066
0.24
0
0
0
0
0.159292
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
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
1
0
0
0
0
0
0
3
44f67c1aadd56652338812591daf6b2d26711b0f
88
py
Python
tsa_app/apps.py
thecoducer/tweet-sentiment-analysis
b69ee26b350b1345ce593e02d4f90db6198667ed
[ "MIT" ]
null
null
null
tsa_app/apps.py
thecoducer/tweet-sentiment-analysis
b69ee26b350b1345ce593e02d4f90db6198667ed
[ "MIT" ]
3
2021-06-02T00:27:49.000Z
2021-06-10T18:55:39.000Z
tsa_app/apps.py
thecoducer/tweet-sentiment-analysis
b69ee26b350b1345ce593e02d4f90db6198667ed
[ "MIT" ]
null
null
null
from django.apps import AppConfig class TsaAppConfig(AppConfig): name = 'tsa_app'
14.666667
33
0.75
11
88
5.909091
0.909091
0
0
0
0
0
0
0
0
0
0
0
0.170455
88
5
34
17.6
0.890411
0
0
0
0
0
0.079545
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
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
1
0
0
0
0
3
780008c3d1cb12d4401b67440002ef787f09003a
20
py
Python
appium_selector/Helpers/__init__.py
Orasi/AppiumSelector
69a67c5d3abb5e630517f35f737d916eefcfaea1
[ "BSD-4-Clause" ]
4
2015-05-01T20:28:58.000Z
2019-02-09T15:51:58.000Z
lib/__init__.py
CodingAnarchy/Amon
3e59f3245206691e841f718ac81ed395f4463045
[ "Unlicense" ]
2
2020-06-05T17:00:53.000Z
2021-06-10T17:44:32.000Z
lib/__init__.py
CodingAnarchy/Amon
3e59f3245206691e841f718ac81ed395f4463045
[ "Unlicense" ]
5
2015-09-17T17:56:12.000Z
2019-02-11T16:19:18.000Z
__author__ = 'matt'
10
19
0.7
2
20
5
1
0
0
0
0
0
0
0
0
0
0
0
0.15
20
1
20
20
0.588235
0
0
0
0
0
0.2
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
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
3
78094765ce64e8101d1d46fd5c972705eb4a0db8
526
py
Python
lesson_10_oop/task02.py
groall/python_learning
dc054d99d825fbbf94f4c2a211fd2cb35f897867
[ "Apache-2.0" ]
null
null
null
lesson_10_oop/task02.py
groall/python_learning
dc054d99d825fbbf94f4c2a211fd2cb35f897867
[ "Apache-2.0" ]
null
null
null
lesson_10_oop/task02.py
groall/python_learning
dc054d99d825fbbf94f4c2a211fd2cb35f897867
[ "Apache-2.0" ]
4
2018-01-22T12:52:02.000Z
2018-01-22T15:32:27.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # Создать класс Rectangle, конструктор которого принимает длину и ширину. Класс должен иметь два метода, вычисляющие площадь и периметр прямоугольника. import math class Rectangle: h = 0 w = 0 def __init__(self, w, h): self.w = w self.h = h de...
23.909091
151
0.646388
73
526
4.60274
0.561644
0.059524
0.053571
0.059524
0
0
0
0
0
0
0
0.024876
0.235741
526
21
152
25.047619
0.810945
0.365019
0
0
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.071429
0.142857
0.642857
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
1
0
0
0
1
1
0
0
3
78222d445f5ee7fee6fb1ab6ee08b852a0f36123
440
py
Python
core/src/zeit/newsletter/browser/resources.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
5
2019-05-16T09:51:29.000Z
2021-05-31T09:30:03.000Z
core/src/zeit/newsletter/browser/resources.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
107
2019-05-24T12:19:02.000Z
2022-03-23T15:05:56.000Z
core/src/zeit/newsletter/browser/resources.py
rickdg/vivi
16134ac954bf8425646d4ad47bdd1f372e089355
[ "BSD-3-Clause" ]
3
2020-08-14T11:01:17.000Z
2022-01-08T17:32:19.000Z
from zeit.cms.browser.resources import Resource, Library import zeit.cms.browser.resources import zeit.edit.browser.resources lib = Library('zeit.newsletter', 'resources') Resource('editor.js', depends=[ zeit.cms.browser.resources.base, zeit.edit.browser.resources.context_js, zeit.edit.browser.resources.e...
29.333333
56
0.768182
59
440
5.661017
0.322034
0.383234
0.224551
0.359281
0.407186
0
0
0
0
0
0
0
0.1
440
14
57
31.428571
0.843434
0
0
0
0
0
0.097727
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
1
1
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
3
782f57eb1f72c1f1a7096a0648b78a14116bbb42
303
py
Python
api/mfwgallery/permissions.py
ankkamies/mfwgallery-api
c03d20b24fd4ef5d3e9be173b917eea493a5c3d6
[ "MIT" ]
null
null
null
api/mfwgallery/permissions.py
ankkamies/mfwgallery-api
c03d20b24fd4ef5d3e9be173b917eea493a5c3d6
[ "MIT" ]
null
null
null
api/mfwgallery/permissions.py
ankkamies/mfwgallery-api
c03d20b24fd4ef5d3e9be173b917eea493a5c3d6
[ "MIT" ]
null
null
null
from rest_framework import permissions class IsAuthenticatedOrCreate(permissions.IsAuthenticated): def has_permission(self, request, view): if request.method == 'POST': return True return super(IsAuthenticatedOrCreate, self).has_permission(request, view)
37.875
82
0.70297
29
303
7.241379
0.689655
0.12381
0
0
0
0
0
0
0
0
0
0
0.224422
303
8
83
37.875
0.893617
0
0
0
0
0
0.013468
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.833333
0
1
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
1
0
0
3
78574a37b413a6b15eef2284dc8ebf4e9570f040
150
py
Python
fstr/__init__.py
rmorshea/fstr
ac8989a4aaca0ee5399fdee0b5da9571f656d270
[ "MIT" ]
null
null
null
fstr/__init__.py
rmorshea/fstr
ac8989a4aaca0ee5399fdee0b5da9571f656d270
[ "MIT" ]
null
null
null
fstr/__init__.py
rmorshea/fstr
ac8989a4aaca0ee5399fdee0b5da9571f656d270
[ "MIT" ]
null
null
null
__version__ = "0.1.0-alpha3" # evaluated in setup.py import sys from .fstr import fstr fstr.__version__ = __version__ sys.modules[__name__] = fstr
18.75
53
0.753333
22
150
4.409091
0.636364
0
0
0
0
0
0
0
0
0
0
0.03125
0.146667
150
7
54
21.428571
0.726563
0.14
0
0
0
0
0.094488
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
1
0
0
0
0
3
785ab6f6a3ab3396a7531f7cdc3a0726f9b36df7
1,925
py
Python
backup/storage/base.py
markus-seidl/pybutcherbackup
4c05477fd1819b09d7a2bf2980386d7c492f42bd
[ "MIT" ]
1
2019-12-06T19:43:08.000Z
2019-12-06T19:43:08.000Z
backup/storage/base.py
markus-seidl/pybutcherbackup
4c05477fd1819b09d7a2bf2980386d7c492f42bd
[ "MIT" ]
null
null
null
backup/storage/base.py
markus-seidl/pybutcherbackup
4c05477fd1819b09d7a2bf2980386d7c492f42bd
[ "MIT" ]
null
null
null
from backup.core.encryptor import GpgEncryptor from backup.core.parameters import BackupParameters, GeneralSettings, RestoreParameters from backup.db.db import DatabaseManager, BackupDatabaseReader from backup.db.domain import DiscEntry class BaseBackupStorageController: def __init__(self): self._medium_o...
40.957447
122
0.725714
227
1,925
5.991189
0.400881
0.036765
0.051471
0.041912
0.032353
0
0
0
0
0
0
0
0.204156
1,925
46
123
41.847826
0.887728
0.26961
0
0.269231
0
0
0
0
0
0
0
0
0.038462
1
0.346154
false
0.153846
0.153846
0
0.615385
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
1
0
0
1
0
0
3
785d036f407d4d3b4d4f7c656fdb1d512081d158
432
py
Python
tests/get_binary_tests.py
Alasdair-Macindoe/HammingCodes
588c765972ef5b58dbbf98102ff7b15f89f2c303
[ "MIT" ]
null
null
null
tests/get_binary_tests.py
Alasdair-Macindoe/HammingCodes
588c765972ef5b58dbbf98102ff7b15f89f2c303
[ "MIT" ]
null
null
null
tests/get_binary_tests.py
Alasdair-Macindoe/HammingCodes
588c765972ef5b58dbbf98102ff7b15f89f2c303
[ "MIT" ]
null
null
null
""" Lines 5 and 6 were adapted from SO code: http://stackoverflow.com/questions/4383571/importing-files-from-different-folder-in-python """ import sys sys.path.insert(0, '..') """ END """ import main as program import pytest def test_int_0(): assert '0' == program._get_binary(0,1) def test_int_5(): assert '...
20.571429
90
0.706019
70
432
4.142857
0.614286
0.072414
0.103448
0
0
0
0
0
0
0
0
0.075067
0.136574
432
20
91
21.6
0.702413
0.303241
0
0
0
0
0.039007
0
0
0
0
0
0.3
1
0.3
true
0
0.3
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
1
1
0
0
0
1
0
0
3
786878f325fcd60ea84ca73e91a54b47a04b8013
20,048
py
Python
dataset.py
shayan-kousha/CIZSL
2ac317cad6aa4adc86191eec0b077d8d7d2622fe
[ "MIT" ]
null
null
null
dataset.py
shayan-kousha/CIZSL
2ac317cad6aa4adc86191eec0b077d8d7d2622fe
[ "MIT" ]
null
null
null
dataset.py
shayan-kousha/CIZSL
2ac317cad6aa4adc86191eec0b077d8d7d2622fe
[ "MIT" ]
null
null
null
import numpy as np import scipy.io as sio import pickle from sklearn import preprocessing import torch def map_label(label, classes): mapped_label = torch.LongTensor(label.size()) for i in range(classes.size(0)): mapped_label[label == classes[i]] = i return mapped_label class LoadDataset_GBU(obj...
53.747989
128
0.644054
2,669
20,048
4.476958
0.076808
0.051218
0.055067
0.033392
0.778559
0.738053
0.712779
0.687924
0.654448
0.631266
0
0.014292
0.249651
20,048
372
129
53.892473
0.780031
0.029729
0
0.548896
0
0
0.068617
0.042809
0
0
0
0
0.003155
1
0.041009
false
0
0.015773
0
0.088328
0.009464
0
0
0
null
0
0
0
0
1
1
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
3
787c9479e19719d9c3db8c8638ede5344661390d
1,047
py
Python
mev/api/data_structures/feature.py
hsph-qbrc/mev-backend
c381800aa7d53d7256e89a4db5a0f9444264e9a6
[ "MIT" ]
2
2021-11-15T08:11:59.000Z
2022-03-12T05:24:23.000Z
mev/api/data_structures/feature.py
hsph-qbrc/mev-backend
c381800aa7d53d7256e89a4db5a0f9444264e9a6
[ "MIT" ]
37
2020-08-03T14:57:02.000Z
2022-02-25T19:56:40.000Z
mev/api/data_structures/feature.py
hsph-qbrc/mev-backend
c381800aa7d53d7256e89a4db5a0f9444264e9a6
[ "MIT" ]
2
2021-07-12T03:22:52.000Z
2021-11-15T08:12:01.000Z
from .element import BaseElement class Feature(BaseElement): ''' A `Feature` can also be referred to as a covariate or variable. These are measurements one can make about an `Observation`. For example, in the genomics context, a sample can have 30,000+ genes which we call "features" here. In th...
31.727273
85
0.644699
136
1,047
4.860294
0.602941
0.024206
0.045386
0
0
0
0
0
0
0
0
0.006477
0.262655
1,047
33
86
31.727273
0.849741
0.692455
0
0
0
0
0.059072
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
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
1
1
0
0
3
78ba52be2f7752539eadc5927e869666573c11b9
569
py
Python
flask-app/web_app/tokens.py
PetrMokrov/back_end_project
4dd58d61e637d10872fe58a154dc89f6d0829d94
[ "MIT" ]
null
null
null
flask-app/web_app/tokens.py
PetrMokrov/back_end_project
4dd58d61e637d10872fe58a154dc89f6d0829d94
[ "MIT" ]
null
null
null
flask-app/web_app/tokens.py
PetrMokrov/back_end_project
4dd58d61e637d10872fe58a154dc89f6d0829d94
[ "MIT" ]
1
2019-04-02T12:30:13.000Z
2019-04-02T12:30:13.000Z
from itsdangerous import URLSafeTimedSerializer from web_app import app expiration_time = 3600 #TODO: it should be config parameter def generate_confirmation_token(email): serializer = URLSafeTimedSerializer(app.config['SECRET_SIGN_MSG_KEY']) return serializer.dumps(email) def confirm_token(token, expirat...
25.863636
74
0.724077
63
569
6.333333
0.539683
0.070175
0.175439
0.205514
0.285714
0.285714
0.285714
0.285714
0
0
0
0.008889
0.209139
569
22
75
25.863636
0.877778
0.061511
0
0.125
1
0
0.071161
0
0
0
0
0.045455
0
1
0.125
false
0
0.125
0
0.4375
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
1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
3
158596ff20cf6141684a1984afd82aadccf0f479
118
py
Python
setup.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
setup.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
setup.py
dwraft/gameRL
518b2a2d193220f7334584ccde5cf2ab318d718a
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="gameRL", license="MIT", packages=["gameRL"], # same as name )
14.75
40
0.627119
14
118
5.285714
0.785714
0
0
0
0
0
0
0
0
0
0
0
0.228814
118
7
41
16.857143
0.813187
0.101695
0
0
0
0
0.144231
0
0
0
0
0
0
1
0
true
0
0.166667
0
0.166667
0
1
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
1
0
0
0
0
0
0
3
1596a4a0211cbaf1117d1d0d18c6ab5ac7ca6948
2,791
py
Python
database/old_notes_expman.py
tgbugs/mlab
dacc1663cbe714bb45c31b1b133fddb7ebcf5c79
[ "MIT" ]
null
null
null
database/old_notes_expman.py
tgbugs/mlab
dacc1663cbe714bb45c31b1b133fddb7ebcf5c79
[ "MIT" ]
null
null
null
database/old_notes_expman.py
tgbugs/mlab
dacc1663cbe714bb45c31b1b133fddb7ebcf5c79
[ "MIT" ]
null
null
null
import numpy as np import serial as ser #import pydaqmx as da #data structure, needs to be able to handle the states of the following """ A simpler version: Don't bother with data acquasition for the time being use any one of the python modules that can read abf/atf files if I know how many indiviudal recordings I'...
32.835294
184
0.782515
510
2,791
4.282353
0.505882
0.009158
0.010989
0.009158
0.024725
0.024725
0
0
0
0
0
0.007011
0.182372
2,791
84
185
33.22619
0.950044
0.440344
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
15a068ddcf93cd2212f15db59f1d6c89868cfac6
387
py
Python
get_sonos_ip.py
prebm/SonosRemote
f337f63e5baca3e52fffe59ea4949980f812bd55
[ "MIT" ]
19
2016-01-01T18:17:45.000Z
2019-03-07T12:06:29.000Z
get_sonos_ip.py
prebm/SonosRemote
f337f63e5baca3e52fffe59ea4949980f812bd55
[ "MIT" ]
4
2016-06-30T20:50:53.000Z
2020-02-08T19:44:51.000Z
get_sonos_ip.py
prebm/SonosRemote
f337f63e5baca3e52fffe59ea4949980f812bd55
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # author: Benjamin Preisig import soco import re import codecs zone_list = list(soco.discover()) with codecs.open('discovered.csv', "w", "utf-8-sig") as the_file: for zone in zone_list: print u"Player: {0} at IP: {1}".format(zone.player_name, zone) ...
24.1875
75
0.658915
63
387
3.952381
0.619048
0.032129
0.064257
0.160643
0.192771
0
0
0
0
0
0
0.018576
0.165375
387
16
75
24.1875
0.752322
0.173127
0
0
0
0
0.198113
0
0
0
0
0
0
0
null
null
0
0.375
null
null
0.125
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
1
0
0
0
1
0
0
0
0
3
ec6f8c89e72408b30f368496ba7bff1c0d5df29c
67
py
Python
Topsis_Anjali_101903286/__init__.py
Anjali2502/Topsis_Anjali_101903286
4d7dd84576ea6649b84f22acd8cc50deb88e536e
[ "MIT" ]
null
null
null
Topsis_Anjali_101903286/__init__.py
Anjali2502/Topsis_Anjali_101903286
4d7dd84576ea6649b84f22acd8cc50deb88e536e
[ "MIT" ]
null
null
null
Topsis_Anjali_101903286/__init__.py
Anjali2502/Topsis_Anjali_101903286
4d7dd84576ea6649b84f22acd8cc50deb88e536e
[ "MIT" ]
null
null
null
from Topsis_Anjali_101903286.topsis import rank __version__='v1.2'
22.333333
47
0.850746
10
67
5.1
0.9
0
0
0
0
0
0
0
0
0
0
0.177419
0.074627
67
2
48
33.5
0.645161
0
0
0
0
0
0.059701
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
1
0
0
0
0
3
ec81170c38128aa5527318a7bd9d0be1ead7da14
245
py
Python
Scripts/Exercices/ex002a.py
AlexandreSAfonso/CursoEmVideoPython
b400780552531d6c3f2e2a7f8129a8fd561f8163
[ "MIT" ]
null
null
null
Scripts/Exercices/ex002a.py
AlexandreSAfonso/CursoEmVideoPython
b400780552531d6c3f2e2a7f8129a8fd561f8163
[ "MIT" ]
null
null
null
Scripts/Exercices/ex002a.py
AlexandreSAfonso/CursoEmVideoPython
b400780552531d6c3f2e2a7f8129a8fd561f8163
[ "MIT" ]
null
null
null
print('======= Desafio 01 =========') dn_dia = input('Qual é dia do seu nascimento? ') dn_mes = input('Qual é mês do seu nascimento? ') dn_ano = input('Qual é ano do seu nascimento? ') print('Você nasceu dia ', dn_dia, '/', dn_mes, '/', dn_ano)
40.833333
59
0.620408
40
245
3.65
0.4
0.184932
0.205479
0.232877
0
0
0
0
0
0
0
0.009756
0.163265
245
6
59
40.833333
0.702439
0
0
0
0
0
0.552846
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
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
3
ec9a021e3530b379ef003102b7d6222e9f6de050
1,143
py
Python
torch_ecg/model_configs/ecg_yolo.py
DeepPSP/torch_ecg
6db5ffb063d0e8fb4ce97029a0d184a658f43a37
[ "MIT" ]
9
2021-06-26T03:00:55.000Z
2022-03-03T13:43:00.000Z
torch_ecg/model_configs/ecg_yolo.py
DeepPSP/torch_ecg
6db5ffb063d0e8fb4ce97029a0d184a658f43a37
[ "MIT" ]
1
2021-10-01T09:29:30.000Z
2021-10-02T03:41:55.000Z
torch_ecg/model_configs/ecg_yolo.py
DeepPSP/torch_ecg
6db5ffb063d0e8fb4ce97029a0d184a658f43a37
[ "MIT" ]
2
2021-05-25T14:52:03.000Z
2021-12-29T15:09:08.000Z
""" configs of the yolo model for qrs complex (or more?) detection """ from itertools import repeat from copy import deepcopy from ..cfg import CFG __all__ = [ "ECG_YOLO_CONFIG", ] ECG_YOLO_CONFIG = CFG() ECG_YOLO_CONFIG.cnn = CFG() ECG_YOLO_CONFIG.cnn.name = "resnet_gc" ECG_YOLO_CONFIG.cnn.resnet_gc = CFG...
25.4
65
0.788276
192
1,143
4.3125
0.21875
0.177536
0.32971
0.193237
0.793478
0.747585
0.687198
0.562802
0.205314
0
0
0.003868
0.095363
1,143
44
66
25.977273
0.796905
0.054243
0
0
0
0
0.050326
0
0
0
0
0
0
1
0
false
0
0.115385
0
0.115385
0
0
0
0
null
0
1
1
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
3
ecb47fcbb095527e947479366f25dcffcf465631
183
py
Python
ukkonen.py
asottile/ukkonen
28cefbb8027f0459e1d8cf54fd6b1d3507cd8708
[ "MIT" ]
7
2021-11-18T23:33:42.000Z
2022-01-26T22:51:19.000Z
ukkonen.py
asottile/ukkonen
28cefbb8027f0459e1d8cf54fd6b1d3507cd8708
[ "MIT" ]
1
2022-01-24T16:44:25.000Z
2022-01-24T18:01:13.000Z
ukkonen.py
asottile/ukkonen
28cefbb8027f0459e1d8cf54fd6b1d3507cd8708
[ "MIT" ]
3
2021-11-19T13:56:35.000Z
2021-12-11T08:32:40.000Z
from __future__ import annotations import _ukkonen _lib = _ukkonen.lib def distance(s1: str, s2: str, k: int) -> int: return _lib.edit_distance_k(s1, len(s1), s2, len(s2), k)
18.3
60
0.699454
30
183
3.933333
0.533333
0.169492
0
0
0
0
0
0
0
0
0
0.039735
0.174863
183
9
61
20.333333
0.741722
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0.2
0.8
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
1
1
0
0
0
3
ecc1220bcb58fc60fc3a5f8e6ea79331bc4115ad
334
py
Python
orders/urls.py
Chronos4/ecommerce
257c325e273b08b850471d335d07281df10fed8f
[ "MIT" ]
null
null
null
orders/urls.py
Chronos4/ecommerce
257c325e273b08b850471d335d07281df10fed8f
[ "MIT" ]
12
2020-02-12T01:04:23.000Z
2022-03-11T23:54:05.000Z
orders/urls.py
Chronos4/ecommerce
257c325e273b08b850471d335d07281df10fed8f
[ "MIT" ]
null
null
null
from django.urls import path from .views import order_create, admin_order_detail app_name = "order" urlpatterns = [ path("create", order_create, name="create"), path("admin/order/<order_id>", admin_order_detail, name="admin_order_detail"), #path("admin/order/<order_id>/pdf/",admin_order_pdf, name="admin_...
27.833333
82
0.736527
48
334
4.8125
0.3125
0.30303
0.207792
0.164502
0.181818
0
0
0
0
0
0
0
0.116766
334
11
83
30.363636
0.783051
0.224551
0
0
0
0
0.22093
0.085271
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
1
1
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
3
ecd12ea15da58fa5bb15688c31ecf23a03a77495
236
py
Python
Algorithm-Selection/ForCleaning/generate_plot_data.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
2
2018-02-23T08:53:22.000Z
2021-05-12T11:17:46.000Z
Algorithm-Selection/ForCleaning/generate_plot_data.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
null
null
null
Algorithm-Selection/ForCleaning/generate_plot_data.py
GregorCH/algoselection
4919d6bede01298f269985fdce94d8176d2ad62b
[ "MIT" ]
1
2018-04-09T20:28:36.000Z
2018-04-09T20:28:36.000Z
import os import sys sys.path.append('/home/gorana/Desktop/grips2017/Algorithm-Selection/Performance_Measure/SGM') from prediction.measurment import * from prediction.plotter import * ROOT_DIR = '' # putanja do korenskog data foldera
26.222222
93
0.805085
31
236
6.064516
0.806452
0.148936
0
0
0
0
0
0
0
0
0
0.018868
0.101695
236
8
94
29.5
0.867925
0.139831
0
0
0
0
0.368159
0.368159
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
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
1
0
1
0
0
3
ececf98014f5b2d93dc8a1b8911a88b1ee9d0441
1,446
py
Python
src/dynamite/vec2d.py
theunderd0g/pyweek26
f99cc4cf8b01789caa7ce6137c5f4fe0455d82a9
[ "BSD-3-Clause" ]
5
2018-11-12T13:46:21.000Z
2020-09-13T10:48:47.000Z
src/dynamite/vec2d.py
theunderd0g/pyweek26
f99cc4cf8b01789caa7ce6137c5f4fe0455d82a9
[ "BSD-3-Clause" ]
26
2018-10-27T04:37:13.000Z
2019-06-08T11:27:33.000Z
src/dynamite/vec2d.py
theunderd0g/pyweek26
f99cc4cf8b01789caa7ce6137c5f4fe0455d82a9
[ "BSD-3-Clause" ]
1
2018-12-09T20:35:26.000Z
2018-12-09T20:35:26.000Z
class Vec2D: __slots__ = ('x', 'y') def __init__(self, x, y=None): if x is None: raise ValueError("can't make Vec2D from None") if y is None: x, y = x self.x = x self.y = y def __add__(self, o): x, y = Vec2D(o) return type(self)(self...
22.246154
74
0.486169
203
1,446
3.182266
0.29064
0.077399
0.04644
0.06192
0.176471
0.176471
0.176471
0.130031
0.130031
0.130031
0
0.01139
0.392808
1,446
65
75
22.246154
0.724374
0
0
0.078431
0
0
0.065007
0
0
0
0
0
0
1
0.254902
false
0
0
0.117647
0.54902
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
1
1
0
0
3
ecefb4df1f13ab561c6317fed41bc2eb7f3d0561
298
py
Python
book_shelf.py
nuuuwan/books
8b3d6784bbf0b7d7fb16bac6e635e1324e6008b3
[ "MIT" ]
null
null
null
book_shelf.py
nuuuwan/books
8b3d6784bbf0b7d7fb16bac6e635e1324e6008b3
[ "MIT" ]
null
null
null
book_shelf.py
nuuuwan/books
8b3d6784bbf0b7d7fb16bac6e635e1324e6008b3
[ "MIT" ]
null
null
null
from _constants import UNKNOWN_SHELF_ROW from DEWEY_TO_SHELF_ROW import DEWEY_TO_SHELF_ROW def get_shelf_row(book): for dewey_n, shelf_row in DEWEY_TO_SHELF_ROW.items(): n = len(dewey_n) if dewey_n == book.dewey_n(n): return shelf_row return UNKNOWN_SHELF_ROW
27.090909
57
0.728188
50
298
3.9
0.36
0.328205
0.184615
0.230769
0
0
0
0
0
0
0
0
0.214765
298
10
58
29.8
0.833333
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
1
1
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
3
ecf24e24f8658c2a121a0f3c023feee45eb775e3
144
py
Python
backend/adminapp/apps.py
christian-japan-devs/vietcatholic-jp
1a800f478584538cc5e21ddd5816894dff8bd90f
[ "MIT" ]
null
null
null
backend/adminapp/apps.py
christian-japan-devs/vietcatholic-jp
1a800f478584538cc5e21ddd5816894dff8bd90f
[ "MIT" ]
6
2021-05-29T04:39:00.000Z
2021-07-04T00:40:15.000Z
backend/adminapp/apps.py
christian-japan-devs/vietcatholic-jp
1a800f478584538cc5e21ddd5816894dff8bd90f
[ "MIT" ]
null
null
null
from django.apps import AppConfig class AdminappConfig(AppConfig): name = 'adminapp' def ready(self): import adminapp.signals
18
33
0.708333
16
144
6.375
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.215278
144
8
34
18
0.902655
0
0
0
0
0
0.055172
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
1
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
1
0
0
0
0
3
01a648d4fb289ffc60c8ab570d59330ebc4f5acf
193
py
Python
remote/launcher.py
djdookie/alphastone
2963bb5538d42aeb7789b124496b3ad0c507e2ff
[ "Unlicense" ]
4
2019-01-19T05:30:58.000Z
2019-06-17T08:43:41.000Z
remote/launcher.py
djdookie/alphastone
2963bb5538d42aeb7789b124496b3ad0c507e2ff
[ "Unlicense" ]
null
null
null
remote/launcher.py
djdookie/alphastone
2963bb5538d42aeb7789b124496b3ad0c507e2ff
[ "Unlicense" ]
null
null
null
import subprocess import time # p = subprocess.Popen('ping 127.0.0.1') # subprocess.run('ping 127.0.0.1') for i in range(5): subprocess.Popen('python selfplay_client.py') time.sleep(1)
24.125
49
0.699482
33
193
4.060606
0.606061
0.223881
0.119403
0.134328
0.149254
0
0
0
0
0
0
0.084337
0.139896
193
8
50
24.125
0.722892
0.367876
0
0
0
0
0.208333
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
1
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
1
0
0
0
0
3
01d025084ba59ac239551418119d099a22004ce8
1,055
py
Python
Dataset/Leetcode/valid/20/438.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/20/438.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
Dataset/Leetcode/valid/20/438.py
kkcookies99/UAST
fff81885aa07901786141a71e5600a08d7cb4868
[ "MIT" ]
null
null
null
class Solution: def XXX(self, s: str) -> bool: stack = [] stack.append(s[0]) for ch in s[1:]: if stack.__len__() == 0: if self.isLeftSymbol(ch): stack.append(ch) else:#第一种情况,栈为空了,但是还有位匹配完的括弧 return False ...
30.142857
51
0.452133
107
1,055
4.383178
0.327103
0.179104
0.223881
0.238806
0.270789
0.104478
0
0
0
0
0
0.009217
0.382938
1,055
34
52
31.029412
0.711214
0.049289
0
0.193548
0
0
0.01503
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
1
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
1
0
0
0
0
0
0
0
0
3
01d52711bf207b58b235997c7836894a41e81c9c
248
py
Python
Curso de Python Completo e Proficional/Exercicios/listas/Desafio 82 lista.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
Curso de Python Completo e Proficional/Exercicios/listas/Desafio 82 lista.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
Curso de Python Completo e Proficional/Exercicios/listas/Desafio 82 lista.py
MauriSdL/Programs-in-Python
79e35bc9488fdd377f161b0faf573b2df765fdb3
[ "MIT" ]
null
null
null
# Crie um programa que vai ler varios numeros e colocar em uma lista. # Depois disso, Crie 2 listas extras que vao conter apenas os valores pares e os valores impares digitados, respectivamente. # Ao final, mostre o conteudo das 3 listas geradas.
62
124
0.782258
41
248
4.731707
0.853659
0.092784
0
0
0
0
0
0
0
0
0
0.009852
0.181452
248
4
125
62
0.945813
0.967742
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
01d5e726e09f9f625d348176f97aa918e36e5a56
2,131
py
Python
src/service/notion/database.py
chenhao-ye/snow
df7125af8a17a77c55f0c62ef2f8013c32859e89
[ "MIT" ]
4
2022-03-13T18:25:23.000Z
2022-03-19T14:53:24.000Z
src/service/notion/database.py
chenhao-ye/snow
df7125af8a17a77c55f0c62ef2f8013c32859e89
[ "MIT" ]
1
2022-03-15T15:01:57.000Z
2022-03-15T15:01:57.000Z
src/service/notion/database.py
chenhao-ye/snow
df7125af8a17a77c55f0c62ef2f8013c32859e89
[ "MIT" ]
null
null
null
import dateutil.parser from typing import Dict, List, Any, Optional from notion_client.errors import APIResponseError import pprint import logging from .column import Column from .page import Page class Database: def __init__(self, service: 'NotionService', data: Dict) -> None: ...
34.934426
85
0.619427
283
2,131
4.5053
0.282686
0.061176
0.047059
0.065882
0.317647
0.235294
0.141176
0.105098
0.06902
0.06902
0
0.000635
0.26091
2,131
60
86
35.516667
0.808889
0.021586
0
0
0
0
0.109458
0.012962
0
0
0
0
0
1
0.212766
false
0
0.148936
0.106383
0.595745
0.042553
0
0
0
null
0
0
0
0
0
0
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
1
1
0
0
3
01e1bd08709cf073938f69cb8cefa0ed8ba40cfb
227
py
Python
py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_rstudio_runner.py
zhyon404/kubeflow
e0daf0f2eee705e5ffd78d78b5b34290c7e423ff
[ "Apache-2.0" ]
9,272
2018-01-29T14:14:06.000Z
2022-03-31T14:01:45.000Z
py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_rstudio_runner.py
zhou762/kubeflow
5bf005f21647c2238b8f863e9e51e9c81872b2f5
[ "Apache-2.0" ]
6,321
2018-01-29T14:00:15.000Z
2022-03-31T21:21:07.000Z
py/kubeflow/kubeflow/cd/notebook_servers/notebook_server_rstudio_runner.py
zhou762/kubeflow
5bf005f21647c2238b8f863e9e51e9c81872b2f5
[ "Apache-2.0" ]
1,909
2018-01-30T01:31:58.000Z
2022-03-30T07:43:48.000Z
# This file is only intended for development purposes from kubeflow.kubeflow.cd import base_runner base_runner.main(component_name="notebook_servers.notebook_server_rstudio", workflow_name="nb-rstudio-build")
37.833333
75
0.784141
30
227
5.7
0.8
0.116959
0
0
0
0
0
0
0
0
0
0
0.145374
227
5
76
45.4
0.881443
0.22467
0
0
0
0
0.321839
0.229885
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
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
1
0
1
0
0
0
0
3
170d48bc6c774b1e452e225733c243e049b1a994
271
py
Python
norns/player/migrations/0012_merge_20180524_0241.py
the-norns/norns
8856626fb6937452c123e4629a5888a49a82c349
[ "MIT" ]
null
null
null
norns/player/migrations/0012_merge_20180524_0241.py
the-norns/norns
8856626fb6937452c123e4629a5888a49a82c349
[ "MIT" ]
62
2018-05-19T22:18:01.000Z
2018-05-26T00:13:21.000Z
norns/player/migrations/0012_merge_20180524_0241.py
the-norns/norns
8856626fb6937452c123e4629a5888a49a82c349
[ "MIT" ]
3
2018-05-19T18:54:28.000Z
2018-05-21T02:14:47.000Z
# Generated by Django 2.0.5 on 2018-05-24 02:41 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('player', '0011_auto_20180524_0209'), ('player', '0011_auto_20180524_0018'), ] operations = [ ]
18.066667
47
0.645756
33
271
5.121212
0.787879
0.118343
0.16568
0.260355
0
0
0
0
0
0
0
0.225962
0.232472
271
14
48
19.357143
0.586538
0.166052
0
0
1
0
0.258929
0.205357
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
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
3
173d3565c62e2da51456ac84fa1e55533870f6ac
151
py
Python
entrypoint.py
crbaker/actions-twister
9a197651b14ba5a0e143838743310518eef17bb2
[ "MIT" ]
null
null
null
entrypoint.py
crbaker/actions-twister
9a197651b14ba5a0e143838743310518eef17bb2
[ "MIT" ]
null
null
null
entrypoint.py
crbaker/actions-twister
9a197651b14ba5a0e143838743310518eef17bb2
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys import requests twist_url = sys.argv[1] content = sys.argv[2] requests.post(twist_url, json = {"content": content})
16.777778
53
0.721854
24
151
4.458333
0.625
0.149533
0
0
0
0
0
0
0
0
0
0.015152
0.125828
151
8
54
18.875
0.795455
0.13245
0
0
0
0
0.053846
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
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
1
0
0
0
0
3
173e5ad013706c4eb3a5ad4e5a5b9157758ca541
2,918
py
Python
Code/RenderPass.py
croxis/RenderPipeline
43482c03a835dd620e6d45b08e56fa5679742482
[ "WTFPL" ]
null
null
null
Code/RenderPass.py
croxis/RenderPipeline
43482c03a835dd620e6d45b08e56fa5679742482
[ "WTFPL" ]
null
null
null
Code/RenderPass.py
croxis/RenderPipeline
43482c03a835dd620e6d45b08e56fa5679742482
[ "WTFPL" ]
null
null
null
from DebugObject import DebugObject class RenderPass(DebugObject): """ Abstract class which defines a RenderPass. This is used by the RenderPassMatcher. Each pass has to derive from this class """ def __init__(self): DebugObject.__init__(self, self.getID()) def getID(self): """ This...
41.685714
94
0.668609
390
2,918
4.971795
0.358974
0.046416
0.043321
0.045384
0.116039
0.099536
0.038164
0
0
0
0
0
0.267649
2,918
69
95
42.289855
0.907347
0.621659
0
0.2
0
0
0.083987
0
0
0
0
0
0
1
0.4
false
0.12
0.04
0
0.68
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
1
0
0
1
0
0
3
174c36316e4984529bb380e1a35069405e181bf8
1,395
py
Python
backend/db/entities/laporan/mixin/rekap_absen_karyawan.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
backend/db/entities/laporan/mixin/rekap_absen_karyawan.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
backend/db/entities/laporan/mixin/rekap_absen_karyawan.py
R-N/sistem_gaji_vue_thrift
9ba800b4d8e7849e2c6c4016cb32633caab087be
[ "MIT" ]
null
null
null
from sqlalchemy import Column, Integer from sqlalchemy.ext.hybrid import hybrid_property from sqlalchemy.ext.declarative import declared_attr class MxRekapAbsenKaryawan: jam_1 = Column(Integer, nullable=False, default=0) jam_2 = Column(Integer, nullable=False, default=0) jam_3 = Column(Integer, nullable=Fa...
30.326087
88
0.602867
180
1,395
4.511111
0.211111
0.176108
0.258621
0.320197
0.513547
0.456897
0.415025
0
0
0
0
0.036697
0.296774
1,395
45
89
31
0.79103
0
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0.1
0.033333
0.633333
0
0
0
0
null
0
1
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
1
0
0
3
174d29eb70ae2093563d5f5b1e097980ed235b25
108
py
Python
app.py
satishjasthi/BudgetAmigo
99d99ebb1cdbb5c841b334c82ab141625b7ccdf5
[ "MIT" ]
null
null
null
app.py
satishjasthi/BudgetAmigo
99d99ebb1cdbb5c841b334c82ab141625b7ccdf5
[ "MIT" ]
null
null
null
app.py
satishjasthi/BudgetAmigo
99d99ebb1cdbb5c841b334c82ab141625b7ccdf5
[ "MIT" ]
null
null
null
from flask import Flask app = Flask(__name__) @app.route('/') def login_page(): return 'Hello, Docker!'
18
27
0.685185
15
108
4.6
0.8
0
0
0
0
0
0
0
0
0
0
0
0.157407
108
6
27
18
0.758242
0
0
0
0
0
0.137615
0
0
0
0
0
0
1
0.2
false
0
0.2
0.2
0.6
0
1
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
1
0
0
0
3
1762efa49121ecddfd791f4d86a943c0ebf9ecfa
155
py
Python
bidwire/tests/common.py
RagtagOpen/bidwire
0de7ee2dce87127f69e0c4bdc2c7b080cd1d4a45
[ "MIT" ]
5
2017-04-14T22:55:42.000Z
2020-02-16T19:35:11.000Z
bidwire/tests/common.py
RagtagOpen/bidwire
0de7ee2dce87127f69e0c4bdc2c7b080cd1d4a45
[ "MIT" ]
15
2017-04-02T21:46:10.000Z
2018-07-26T04:39:14.000Z
bidwire/tests/common.py
RagtagOpen/bidwire
0de7ee2dce87127f69e0c4bdc2c7b080cd1d4a45
[ "MIT" ]
7
2017-04-07T01:10:43.000Z
2018-02-22T00:00:30.000Z
import db from sqlalchemy import orm # A test-only scoped ORM session. Session = orm.scoped_session(orm.sessionmaker()) Session.configure(bind=db.engine)
22.142857
48
0.793548
23
155
5.304348
0.608696
0.163934
0
0
0
0
0
0
0
0
0
0
0.109677
155
6
49
25.833333
0.884058
0.2
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
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
1
0
0
0
0
3
179b6fc98f109d4b9ff2af995dcf452707956671
343
py
Python
uvicore/auth/contractsOLD/group.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
11
2021-03-22T22:07:49.000Z
2022-03-08T16:18:33.000Z
uvicore/auth/contractsOLD/group.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
12
2021-03-04T05:51:24.000Z
2021-09-22T05:16:18.000Z
uvicore/auth/contractsOLD/group.py
coboyoshi/uvicore
9cfdeeac83000b156fe48f068b4658edaf51c8de
[ "MIT" ]
2
2021-03-25T14:49:56.000Z
2021-11-17T23:20:29.000Z
from __future__ import annotations from typing import Optional, List from uvicore.contracts import Model as ModelInterface # Model interfaces, though redundant, are used for proper type hinting code intellisense class Group(ModelInterface): id: Optional[int] name: str # Import relations after model to avoid...
26.384615
88
0.801749
44
343
6.159091
0.795455
0
0
0
0
0
0
0
0
0
0
0
0.16035
343
12
89
28.583333
0.940972
0.425656
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
bd57fd5fbda93d57663a9388c3bcd8da65c921ff
71
py
Python
config.py
vramius1017/project_expertis_p1
47202f86b5a4a9d35696ae9046432ec947c9850d
[ "MIT" ]
null
null
null
config.py
vramius1017/project_expertis_p1
47202f86b5a4a9d35696ae9046432ec947c9850d
[ "MIT" ]
1
2021-06-02T00:56:04.000Z
2021-06-02T00:56:04.000Z
config.py
vramius1017/project_expertis_p1
47202f86b5a4a9d35696ae9046432ec947c9850d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 - *- SECRET_KEY = "AvbU5,d4_!m9vo0$w2y%R/x0bP!"
11.833333
42
0.577465
11
71
3.545455
1
0
0
0
0
0
0
0
0
0
0
0.118644
0.169014
71
5
43
14.2
0.542373
0.309859
0
0
0
0
0.6
0.6
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
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
bd627376b8b0a343a5b7673ebed01fb952963d91
806
py
Python
cpdb/app_config/tests/test_validators.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/app_config/tests/test_validators.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/app_config/tests/test_validators.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from robber import expect from django.test.testcases import TestCase from django.core.exceptions import ValidationError from app_config.validators import is_valid_hex_color class AppConfigValidatorTestCase(TestCase): def test_should_raise_error_on_short_hex_color(self): expect(lambda: is_valid_hex_color(...
40.3
83
0.807692
114
806
5.27193
0.350877
0.093178
0.129784
0.124792
0.52579
0.52579
0.425957
0.374376
0.302829
0.173045
0
0.02507
0.109181
806
19
84
42.421053
0.811978
0
0
0
0
0
0.029777
0
0
0
0
0
0
1
0.307692
false
0
0.307692
0
0.692308
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
bd752d2b11aa0cf67f886c88d9f7b5fca446d8cb
425
py
Python
tutorial/genderbasedmodel.py
alexeyza/Kaggle-Titanic
ed61f4cbbbb5368ace34962ae3f68db715fc4e17
[ "Apache-2.0" ]
1
2018-04-16T04:09:59.000Z
2018-04-16T04:09:59.000Z
tutorial/genderbasedmodel.py
alexeyza/Kaggle-Titanic
ed61f4cbbbb5368ace34962ae3f68db715fc4e17
[ "Apache-2.0" ]
null
null
null
tutorial/genderbasedmodel.py
alexeyza/Kaggle-Titanic
ed61f4cbbbb5368ace34962ae3f68db715fc4e17
[ "Apache-2.0" ]
1
2018-04-16T04:10:00.000Z
2018-04-16T04:10:00.000Z
import csv as csv import numpy as np test_file_obect = csv.reader(open('../csv/test.csv', 'rb')) header = test_file_obect.next() predictions_file = csv.writer(open("../csv/genderbasedmodelpy.csv", "wb")) predictions_file.writerow(["PassengerId", "Survived"]) for row in test_file_obect: if row[3] == 'female': ...
30.357143
74
0.68
60
425
4.65
0.483333
0.215054
0.139785
0.18638
0.193548
0
0
0
0
0
0
0.013736
0.143529
425
14
75
30.357143
0.752747
0
0
0
0
0
0.176056
0.068075
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0
0
0
0
null
1
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
1
0
0
0
0
0
3
bd8505a7b1734452fe14c8ef17e43b9089299c71
1,392
py
Python
src/Phidget22/VoltageRange.py
MikaSoftware/mikathing
60621b01e2fcbeefe2181a58fb0f6104115d1ae6
[ "BSD-3-Clause" ]
1
2020-02-26T12:43:07.000Z
2020-02-26T12:43:07.000Z
Phidget22/VoltageRange.py
keysie/phidget-python-interface
ebf392fe6d8d25bd5c178edbf095cf29e0daa4af
[ "MIT" ]
null
null
null
Phidget22/VoltageRange.py
keysie/phidget-python-interface
ebf392fe6d8d25bd5c178edbf095cf29e0daa4af
[ "MIT" ]
1
2020-02-26T12:43:12.000Z
2020-02-26T12:43:12.000Z
import sys import ctypes class VoltageRange: # Range ±10mV DC VOLTAGE_RANGE_10mV = 1 # Range ±40mV DC VOLTAGE_RANGE_40mV = 2 # Range ±200mV DC VOLTAGE_RANGE_200mV = 3 # Range ±312.5mV DC VOLTAGE_RANGE_312_5mV = 4 # Range ±400mV DC VOLTAGE_RANGE_400mV = 5 # Range ±1000mV DC VOLTAGE_RANGE_1000mV = 6 # Range ...
26.769231
69
0.744253
223
1,392
4.381166
0.219731
0.405322
0.101331
0.180143
0.236438
0
0
0
0
0
0
0.095031
0.176006
1,392
51
70
27.294118
0.748038
0.155891
0
0
0
0
0.194325
0.018057
0
0
0
0
0
1
0.025641
false
0
0.051282
0
0.692308
0
0
0
0
null
1
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
1
0
0
3
bd992f50e1d30886ab9a6582ee454994e3e284b4
97
py
Python
backend/privatedata/apps.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
null
null
null
backend/privatedata/apps.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
21
2020-02-11T23:50:05.000Z
2022-02-27T17:44:29.000Z
backend/privatedata/apps.py
mnieber/lindyscience
468160aa6da42f45d8c37a2141a077a48410f81d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class PrivatedataConfig(AppConfig): name = "privatedata"
16.166667
35
0.773196
10
97
7.5
0.9
0
0
0
0
0
0
0
0
0
0
0
0.154639
97
5
36
19.4
0.914634
0
0
0
0
0
0.113402
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
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
1
0
0
0
0
3
bd9af4df97523787aa680ffa8470645ac412e4fa
158
py
Python
OurTasks/03/07/07.py
nakov/Python-Course-SoftUni
b6036064c259adbdae4e2d87b67230b9cf9ddefc
[ "MIT" ]
6
2017-06-09T17:45:28.000Z
2020-03-31T11:59:39.000Z
OurTasks/03/07/07.py
nakov/Python-Course-SoftUni
b6036064c259adbdae4e2d87b67230b9cf9ddefc
[ "MIT" ]
null
null
null
OurTasks/03/07/07.py
nakov/Python-Course-SoftUni
b6036064c259adbdae4e2d87b67230b9cf9ddefc
[ "MIT" ]
1
2019-07-02T11:26:00.000Z
2019-07-02T11:26:00.000Z
a = float (input ()) b = float (input ()) c = float (input ()) print (min (a, b, c)) print (a + b + c - min (a, b, c) - max (a, b, c)) print (max (a, b, c))
19.75
49
0.474684
31
158
2.419355
0.258065
0.133333
0.2
0.16
0
0
0
0
0
0
0
0
0.265823
158
7
50
22.571429
0.646552
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
1
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
1
0
3
bdb1875fdd89ff2d76fa0c96458a53bc5af1a1c4
178
py
Python
amazon_problems/problem_30.py
saadaoui-salah/Daily-Coding-Problem
48378fd74e948513a512302003d1f6bed869115b
[ "MIT" ]
2
2021-01-02T23:27:49.000Z
2021-01-03T11:30:17.000Z
amazon_problems/problem_30.py
saadaoui-salah/Daily-Coding-Problem
48378fd74e948513a512302003d1f6bed869115b
[ "MIT" ]
null
null
null
amazon_problems/problem_30.py
saadaoui-salah/Daily-Coding-Problem
48378fd74e948513a512302003d1f6bed869115b
[ "MIT" ]
null
null
null
"""This problem was asked by Amazon. Write a function that takes a natural number as input and returns the number of digits the input has. Constraint: don't use any loops. """
25.428571
54
0.752809
31
178
4.322581
0.870968
0
0
0
0
0
0
0
0
0
0
0
0.185393
178
7
55
25.428571
0.924138
0.960674
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
bdc2672122833a93bcee430e0519745f8ef43a9e
1,408
py
Python
teambition/api/base.py
heylenz/teambition-api
f34707823b72eecbc3c073076cd5974f41a1ead7
[ "MIT" ]
null
null
null
teambition/api/base.py
heylenz/teambition-api
f34707823b72eecbc3c073076cd5974f41a1ead7
[ "MIT" ]
null
null
null
teambition/api/base.py
heylenz/teambition-api
f34707823b72eecbc3c073076cd5974f41a1ead7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals class TeambitionAPI(object): endpoint = 'api/' def __init__(self, client=None): self._client = client def _get(self, url, **kwargs): if getattr(self, 'API_BASE_URL', None): kwargs['api_base_url']...
27.607843
56
0.632813
181
1,408
4.502762
0.226519
0.103067
0.147239
0.137423
0.48589
0.422086
0.422086
0.422086
0.422086
0.422086
0
0.001878
0.243608
1,408
50
57
28.16
0.76338
0.014915
0
0.305556
0
0
0.075812
0
0
0
0
0
0
1
0.277778
false
0
0.027778
0.111111
0.611111
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
1
1
0
0
3
bdc3a5bf5c6bed0f7d12e69722540b4be9464408
2,585
py
Python
TVpy/Factory/harvestery.py
Jitrixis/2ARC-Network-stack
f0f7f68b989c5c6eaca3be46554dd5c7010e1551
[ "MIT" ]
1
2017-08-22T20:44:12.000Z
2017-08-22T20:44:12.000Z
TVpy/Factory/harvestery.py
Jitrixis/2ARC-Network-stack
f0f7f68b989c5c6eaca3be46554dd5c7010e1551
[ "MIT" ]
null
null
null
TVpy/Factory/harvestery.py
Jitrixis/2ARC-Network-stack
f0f7f68b989c5c6eaca3be46554dd5c7010e1551
[ "MIT" ]
null
null
null
__author__ = 'jitrixis' from sniffery import Sniffery class Harvest: def __init__(self): self.__sniffery = Sniffery() def check(self, pks, pkt): pks = self.__sniffery.sniff(str(pks)) pkt = self.__sniffery.sniff(str(pkt)) if pks is None or pkt is None: return False ...
29.044944
62
0.489362
297
2,585
4.158249
0.188552
0.204858
0.2
0.181377
0.478543
0.213765
0.213765
0.213765
0.213765
0.213765
0
0.002331
0.33617
2,585
89
63
29.044944
0.717366
0
0
0.472222
0
0
0.084687
0
0
0
0.00116
0
0
1
0.083333
false
0
0.013889
0.013889
0.527778
0
0
0
0
null
1
1
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
3
bdcdc208021222f3895ae6d3e4d749a788214ae8
101
py
Python
randiter/__init__.py
hkiyomaru/randiter
a7bf90fc2b48e56fc8e943454f474ce90343ed0a
[ "MIT" ]
null
null
null
randiter/__init__.py
hkiyomaru/randiter
a7bf90fc2b48e56fc8e943454f474ce90343ed0a
[ "MIT" ]
null
null
null
randiter/__init__.py
hkiyomaru/randiter
a7bf90fc2b48e56fc8e943454f474ce90343ed0a
[ "MIT" ]
null
null
null
from randiter.randiter import randiter __version__ = "0.1.0" __all__ = ["__version__", "randiter"]
16.833333
38
0.732673
12
101
5.166667
0.583333
0
0
0
0
0
0
0
0
0
0
0.034091
0.128713
101
5
39
20.2
0.670455
0
0
0
0
0
0.237624
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
3
bdec2772c44cfb62776d3a107859805ded0fcf2f
210
py
Python
backend-service/users-service/app/app/api/api_v1/endpoints/actuators.py
abhishek70/python-petclinic-microservices
e15a41a668958f35f1b962487cd2360c5c150f0b
[ "MIT" ]
2
2021-05-19T07:21:59.000Z
2021-09-15T17:30:08.000Z
backend-service/visits-service/app/app/api/api_v1/endpoints/actuators.py
abhishek70/python-petclinic-microservices
e15a41a668958f35f1b962487cd2360c5c150f0b
[ "MIT" ]
null
null
null
backend-service/visits-service/app/app/api/api_v1/endpoints/actuators.py
abhishek70/python-petclinic-microservices
e15a41a668958f35f1b962487cd2360c5c150f0b
[ "MIT" ]
null
null
null
from fastapi import APIRouter router = APIRouter() @router.get( "/health", summary="Get service status", description="API for getting service status", ) def health(): return {"status": "up"}
16.153846
49
0.661905
24
210
5.791667
0.708333
0.215827
0
0
0
0
0
0
0
0
0
0
0.2
210
12
50
17.5
0.827381
0
0
0
0
0
0.3
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0.111111
0.333333
0
1
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
1
0
0
0
3
bdfca6fe82daed4aefe9cf38ae1c0386f436f422
400
py
Python
mlpug/pytorch/trainers/callbacks/__init__.py
nuhame/ml-pug
ed73b337b90759bdb92a6c441c6da49d689a2cca
[ "Apache-2.0" ]
4
2019-12-30T16:12:06.000Z
2022-03-25T15:25:49.000Z
mlpug/pytorch/trainers/callbacks/__init__.py
nuhame/mlpug
be9f7c55f7d6616af5303e9350cfd8092d55440b
[ "Apache-2.0" ]
null
null
null
mlpug/pytorch/trainers/callbacks/__init__.py
nuhame/mlpug
be9f7c55f7d6616af5303e9350cfd8092d55440b
[ "Apache-2.0" ]
null
null
null
from .basic import * from .callback import * from .checkpoint_manager import CheckpointManager from .lr_scheduler_wrapper import LRSchedulerWrapper from .metrics_logger import MetricsLoggingMode, TrainingMetricsLogger, TestMetricsLogger from .tensorboard import Tensorboard, AutoTensorboard from .distributed import Dist...
33.333333
88
0.8675
39
400
8.769231
0.615385
0.05848
0
0
0
0
0
0
0
0
0
0
0.0975
400
11
89
36.363636
0.947368
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
da11283a1ecbc3671fc7bafde808a7fcc31eb42b
238
py
Python
Greedy/15903.py
esdx245/algorithms
39dd06c9277f30bfdce594a86ce71f52e28e5dc8
[ "MIT" ]
null
null
null
Greedy/15903.py
esdx245/algorithms
39dd06c9277f30bfdce594a86ce71f52e28e5dc8
[ "MIT" ]
null
null
null
Greedy/15903.py
esdx245/algorithms
39dd06c9277f30bfdce594a86ce71f52e28e5dc8
[ "MIT" ]
null
null
null
n,m = map(int,input().split()) lista = list(map(int,input().split())) lista.sort(reverse = 1) for i in range(m): lista[-2] = lista[-1] + lista[-2] lista[-1] = lista[-2] lista.sort(reverse = 1) result = sum(lista) print(result)
26.444444
38
0.605042
40
238
3.6
0.475
0.125
0.229167
0.222222
0.534722
0.243056
0.243056
0
0
0
0
0.035176
0.163866
238
9
39
26.444444
0.688442
0
0
0.222222
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.111111
0
0
0
null
0
1
1
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
3
da22f278d816038bc490d2355c33cc109571b8f1
1,425
py
Python
day16/run.py
1923851861/Oldboy_SH_Python
c9d8224cf41c58235fc67783d73a48f82fee61a1
[ "MIT" ]
null
null
null
day16/run.py
1923851861/Oldboy_SH_Python
c9d8224cf41c58235fc67783d73a48f82fee61a1
[ "MIT" ]
null
null
null
day16/run.py
1923851861/Oldboy_SH_Python
c9d8224cf41c58235fc67783d73a48f82fee61a1
[ "MIT" ]
null
null
null
# 当前的执行文件 # x=1 # y=2 # 首次导入模块发生了3件事: #1、以模块为准创造一个模块的名称空间 #2、执行模块对应的文件,将执行过程中产生的名字都丢到模块的名称空间 #3、在当前执行文件中拿到一个模块名 # import spam # 之后的重复导入会直接引用之前创造好的结果,不会重复执行模块的文件 # import spam #spam=spam=模块名称空间的内存地址 # spam.名字 # print(x) # spam.x # print(spam.money) # print(spam.read1) # print(spam.read2) # print(spam.change) # money=...
15
57
0.705965
181
1,425
5.558011
0.292818
0.079523
0.097416
0.053678
0.214712
0.166998
0
0
0
0
0
0.057708
0.148772
1,425
95
58
15
0.771641
0.845614
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.75
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
1
0
3
da5be2d5cec62a5980512b3565ac0bc4ec38a40a
422
py
Python
cpdb/app_config/management/commands/create_initial_app_config.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
25
2018-07-20T22:31:40.000Z
2021-07-15T16:58:41.000Z
cpdb/app_config/management/commands/create_initial_app_config.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
13
2018-06-18T23:08:47.000Z
2022-02-10T07:38:25.000Z
cpdb/app_config/management/commands/create_initial_app_config.py
invinst/CPDBv2_backend
b4e96d620ff7a437500f525f7e911651e4a18ef9
[ "Apache-2.0" ]
6
2018-05-17T21:59:43.000Z
2020-11-17T00:30:26.000Z
from django.core.management.base import BaseCommand from app_config.models import AppConfig from app_config.constants import APP_CONFIG class Command(BaseCommand): def handle(self, *args, **options): for config_data in APP_CONFIG: config_object = AppConfig.objects.filter(name=config_data['name...
35.166667
86
0.71564
53
422
5.528302
0.566038
0.122867
0.088737
0.191126
0
0
0
0
0
0
0
0
0.196682
422
11
87
38.363636
0.864307
0
0
0
0
0
0.009479
0
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.555556
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
1
0
1
0
0
3
da7ab38bc8f7c22f528086f62e637cf1b6bcc3f5
360
py
Python
pesto-common/pesto_common/utils/reflect_utils.py
Dreampie/pesto
3d48637c61396cdc3a5427b8f51378c06c2473d7
[ "Apache-2.0" ]
13
2020-05-22T09:32:48.000Z
2021-09-09T09:57:43.000Z
pesto-common/pesto_common/utils/reflect_utils.py
Dreampie/pesto
3d48637c61396cdc3a5427b8f51378c06c2473d7
[ "Apache-2.0" ]
null
null
null
pesto-common/pesto_common/utils/reflect_utils.py
Dreampie/pesto
3d48637c61396cdc3a5427b8f51378c06c2473d7
[ "Apache-2.0" ]
2
2020-05-25T18:05:20.000Z
2020-05-25T18:50:22.000Z
# -*- coding:utf8 -*- class ReflectUtils(object): def __init__(self): pass @staticmethod def create_instance(module, class_name, *args, **kwargs): module_meta = __import__(module, globals(), locals(), [class_name]) class_meta = getattr(module_meta, class_name) obj = class_m...
27.692308
75
0.633333
40
360
5.3
0.575
0.127358
0
0
0
0
0
0
0
0
0
0.003636
0.236111
360
12
76
30
0.767273
0.052778
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0.111111
0.111111
0
0.555556
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
1
0
0
1
0
0
3
da82dd3c889c7b030e3d7701a869f024aa54c389
744
py
Python
day05/test1.py
liuweidongg/dejin
12240b9d27347d6e041338869591aa7133bf80cd
[ "Apache-2.0" ]
1
2018-09-27T02:01:38.000Z
2018-09-27T02:01:38.000Z
day05/test1.py
liuweidongg/dejin
12240b9d27347d6e041338869591aa7133bf80cd
[ "Apache-2.0" ]
null
null
null
day05/test1.py
liuweidongg/dejin
12240b9d27347d6e041338869591aa7133bf80cd
[ "Apache-2.0" ]
null
null
null
class Account: def __init__(self,idd,balance,rate): self.__id = idd self.__balance = balance self.__rate = rate def getrate(self): lv = self._Account__rate/100/12.0 return lv def draw(self,je): self._Account__balance = self._Account__balance-je def dep(sel...
24.8
68
0.634409
110
744
3.927273
0.272727
0.25463
0.25
0.125
0.451389
0.340278
0.125
0
0
0
0
0.070423
0.236559
744
29
69
25.655172
0.690141
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.333333
0.148148
0
0
0
null
1
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
1
0
0
0
0
0
0
0
3
e5108e7af704aa3deacb519f2ae90ef0dfe2a23a
2,076
py
Python
driver.py
JosephCottingham/MusicPlaylist-LinkedList
bb8014158fed05b45194705424bc5830ed25527a
[ "MIT" ]
null
null
null
driver.py
JosephCottingham/MusicPlaylist-LinkedList
bb8014158fed05b45194705424bc5830ed25527a
[ "MIT" ]
null
null
null
driver.py
JosephCottingham/MusicPlaylist-LinkedList
bb8014158fed05b45194705424bc5830ed25527a
[ "MIT" ]
null
null
null
from src.linked_list import Linked_List from randomgenius import getData if __name__ == '__main__': print('##############################') linked_list = Linked_List() for x in range(5): linked_list.append(getData()) print(f"5 random songs was appended to list") print(f"Size: {linked_list.g...
32.4375
79
0.64499
312
2,076
4.048077
0.173077
0.277118
0.221694
0.126683
0.559778
0.528899
0.448139
0.448139
0.448139
0.448139
0
0.008913
0.189306
2,076
63
80
32.952381
0.741533
0
0
0.516667
0
0
0.330762
0.130183
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.7
0
0
0
null
1
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
1
0
3
e5256711a6d3e0b6211b0af86298565d0b9e1e72
182
py
Python
Capitulo 1/66 - excecao9.py
mmmacedo/python
2e7d99021342a5c7c31fe644ff194b6a8fa88a88
[ "MIT" ]
null
null
null
Capitulo 1/66 - excecao9.py
mmmacedo/python
2e7d99021342a5c7c31fe644ff194b6a8fa88a88
[ "MIT" ]
null
null
null
Capitulo 1/66 - excecao9.py
mmmacedo/python
2e7d99021342a5c7c31fe644ff194b6a8fa88a88
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- try: raise ZeroDivisionError except ZeroDivisionError: print("O RAISE forçou a exceção do tipo ZeroDivisionError, \ sendo capturado pelo EXCEPT")
30.333333
65
0.714286
21
182
6.190476
0.809524
0
0
0
0
0
0
0
0
0
0
0.006803
0.192308
182
6
66
30.333333
0.877551
0.115385
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0
0
0
0.2
1
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
1
0
0
0
0
0
0
3
e574428e2b158a5f8289db9219a7cc9522d41b6a
2,594
py
Python
dagster_utils/testing/matchers.py
broadinstitute/dagster-utils
dba730a1101f48664dfb6234396a491db8ebdc5b
[ "BSD-3-Clause" ]
3
2021-05-20T22:08:51.000Z
2021-09-16T15:03:47.000Z
dagster_utils/testing/matchers.py
broadinstitute/dagster-utils
dba730a1101f48664dfb6234396a491db8ebdc5b
[ "BSD-3-Clause" ]
3
2021-05-03T20:01:03.000Z
2021-09-03T14:49:32.000Z
dagster_utils/testing/matchers.py
broadinstitute/dagster-utils
dba730a1101f48664dfb6234396a491db8ebdc5b
[ "BSD-3-Clause" ]
null
null
null
# Classes with more permissive __eq__ functions for use as argument matchers for mocks. import re from typing import Any # Matches if a mock was called with a string containing the given substring class StringContaining(str): def __eq__(self, other_str: object) -> bool: return isinstance(other_str, str) ...
34.586667
98
0.6835
337
2,594
4.839763
0.308605
0.05886
0.033109
0.051502
0.437155
0.427958
0.419375
0.301655
0.223176
0.223176
0
0
0.206631
2,594
74
99
35.054054
0.792517
0.166924
0
0.304348
0
0
0.142061
0.093779
0
0
0
0
0.043478
1
0.326087
false
0
0.043478
0.26087
0.782609
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
1
1
0
0
3
e57658492e9df7d2536b6cb8c428469cc2bbdb2c
563
py
Python
flask_wings/views.py
vmlaker/flask-wings
4adcf84322c715b2d37be3d57f1bb99d1347d047
[ "MIT" ]
3
2018-09-06T06:06:41.000Z
2019-07-11T14:33:47.000Z
flask_wings/views.py
vmlaker/flask-wings
4adcf84322c715b2d37be3d57f1bb99d1347d047
[ "MIT" ]
null
null
null
flask_wings/views.py
vmlaker/flask-wings
4adcf84322c715b2d37be3d57f1bb99d1347d047
[ "MIT" ]
null
null
null
""" Boilerplate views for a Flask extension. """ import random import string from flask import Blueprint, render_template # Use a randomly generated name in order to prevent name collision # between this blueprint and that of the parent blueprint(s). name = ''.join( random.choice(string.ascii_uppercase + string...
22.52
77
0.728242
76
563
5.263158
0.592105
0.105
0.1
0
0
0
0
0
0
0
0
0.004211
0.156306
563
24
78
23.458333
0.837895
0.296625
0
0
1
0
0.097938
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.153846
0.538462
0.153846
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
3
e5786c930c41b90cfc3ab1c433a77b6be95c3a5f
1,310
py
Python
bsp/hc32f46x/rtua.py
John-J-smith/myRTT
7b206d3984f3b70f825a0b9ec87750c153c2c0f1
[ "Apache-2.0" ]
null
null
null
bsp/hc32f46x/rtua.py
John-J-smith/myRTT
7b206d3984f3b70f825a0b9ec87750c153c2c0f1
[ "Apache-2.0" ]
null
null
null
bsp/hc32f46x/rtua.py
John-J-smith/myRTT
7b206d3984f3b70f825a0b9ec87750c153c2c0f1
[ "Apache-2.0" ]
null
null
null
def GetCPPPATH(BSP_ROOT, RTT_ROOT): CPPPATH=[ RTT_ROOT + "/bsp/hc32f46x", RTT_ROOT + "/bsp/hc32f46x/applications", RTT_ROOT + "/bsp/hc32f46x/drivers", RTT_ROOT + "/bsp/hc32f46x/libraries", RTT_ROOT + "/bsp/hc32f46x/libraries/CMSIS/include", RTT_ROOT + "/bsp/hc32f46x/libraries/driver/inc", RTT_ROOT + "/b...
35.405405
79
0.719847
167
1,310
5.443114
0.305389
0.20022
0.121012
0.217822
0.432343
0.083608
0.083608
0.083608
0
0
0
0.042205
0.11374
1,310
36
80
36.388889
0.740741
0
0
0
0
0
0.570336
0.504587
0
0
0
0
0
1
0.0625
false
0
0
0
0.125
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e584f0d58460e2572f2f7849b511bb0c9a57afa4
150
py
Python
cabshare/cabPosts/urls.py
sjain24/cabshare
7d991970a1644222e6be964220e1c8235d7dc1fa
[ "MIT" ]
null
null
null
cabshare/cabPosts/urls.py
sjain24/cabshare
7d991970a1644222e6be964220e1c8235d7dc1fa
[ "MIT" ]
null
null
null
cabshare/cabPosts/urls.py
sjain24/cabshare
7d991970a1644222e6be964220e1c8235d7dc1fa
[ "MIT" ]
null
null
null
from django.urls import path from .views import get_posts app_name = "cabPosts" urlpatterns = [ path("posts/", view=get_posts, name="posts"), ]
16.666667
49
0.706667
21
150
4.904762
0.619048
0.15534
0
0
0
0
0
0
0
0
0
0
0.16
150
8
50
18.75
0.81746
0
0
0
0
0
0.126667
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
1
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
1
0
0
0
0
3
e5b0b4c842976e2a410cf318f292ff011822a68c
197
py
Python
Estrutura de Repetição/11 numeros inteiros entre 2 inteiros com soma.py
knapoli/programas-python
51c3f8f84c3237866a20f37859ef0bcfe9850d15
[ "MIT" ]
null
null
null
Estrutura de Repetição/11 numeros inteiros entre 2 inteiros com soma.py
knapoli/programas-python
51c3f8f84c3237866a20f37859ef0bcfe9850d15
[ "MIT" ]
null
null
null
Estrutura de Repetição/11 numeros inteiros entre 2 inteiros com soma.py
knapoli/programas-python
51c3f8f84c3237866a20f37859ef0bcfe9850d15
[ "MIT" ]
null
null
null
num1 = int(input('Entre com o primeiro inteiro: ')) num2 = int(input('Entre com o primeiro inteiro: ')) soma = 0 for i in range(num1 + 1, num2): print(i) soma = soma + i print(soma, 'soma')
28.142857
51
0.634518
33
197
3.787879
0.515152
0.128
0.208
0.256
0.512
0.512
0.512
0
0
0
0
0.038462
0.208122
197
7
52
28.142857
0.762821
0
0
0
0
0
0.323232
0
0
0
0
0
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
1
1
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
3
e5c2aee137c2d8718d4f7a8b76c9cbb189e62a55
121
py
Python
src/stegano-bot/bps.py
astronmax/SteganoBot
c4b68b49c0463770dfd365c8df26544957212214
[ "Apache-2.0" ]
null
null
null
src/stegano-bot/bps.py
astronmax/SteganoBot
c4b68b49c0463770dfd365c8df26544957212214
[ "Apache-2.0" ]
null
null
null
src/stegano-bot/bps.py
astronmax/SteganoBot
c4b68b49c0463770dfd365c8df26544957212214
[ "Apache-2.0" ]
null
null
null
import greeting import encrypt import decrypt import get_data bps = [greeting.bp, encrypt.bp, decrypt.bp, get_data.bp]
15.125
56
0.785124
19
121
4.894737
0.421053
0.150538
0
0
0
0
0
0
0
0
0
0
0.132231
121
7
57
17.285714
0.885714
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
1
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
1
0
0
0
0
3
e5c80301ea1137e085bac02de362354019b262d2
174
py
Python
scenarios/customer_delete/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
scenarios/customer_delete/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
scenarios/customer_delete/executable.py
trenton42/txbalanced
9ee1b906d75b4b2fc3d2f5424dc3bbb9886c2b14
[ "MIT" ]
null
null
null
import balanced balanced.configure('ak-test-1o9QKwUCrwstHWO5sGxICtIJdQXFTjnrV') customer = balanced.Customer.fetch('/customers/CU64t3pxAegzhZL0O8WMpWi9') customer.unstore()
29
73
0.844828
15
174
9.8
0.733333
0
0
0
0
0
0
0
0
0
0
0.054217
0.045977
174
6
74
29
0.831325
0
0
0
0
0
0.434286
0.434286
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
e5cbf95331fbaa765fc9894df14b38e3020cca11
229
py
Python
solutions/python3/71.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/71.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/71.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class Solution: def simplifyPath(self, path): stack = [] for c in path.split("/"): stack = stack[:-1] if c== ".." else stack + [c] if c and c != "." else stack return "/" + "/".join(stack)
38.166667
88
0.484716
29
229
3.827586
0.586207
0.054054
0.18018
0
0
0
0
0
0
0
0
0.006452
0.323144
229
6
89
38.166667
0.709677
0
0
0
0
0
0.026087
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
0
1
0
0
null
0
1
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
3
e5fe01479bbbfae8d95f7db0afd8d70f151c978a
274
py
Python
user_profile/forms.py
apwao/iGram
7c3c4fb04e1220ea55d065b1d671430b2ea2ccf4
[ "Unlicense", "MIT" ]
null
null
null
user_profile/forms.py
apwao/iGram
7c3c4fb04e1220ea55d065b1d671430b2ea2ccf4
[ "Unlicense", "MIT" ]
5
2020-06-05T21:30:10.000Z
2021-09-08T01:04:51.000Z
user_profile/forms.py
apwao/iGram
7c3c4fb04e1220ea55d065b1d671430b2ea2ccf4
[ "Unlicense", "MIT" ]
null
null
null
from django import forms from .models import Profile # from django.contrib.auth.forms import UserCreationForm # from django.contrib.auth.models import User class ProfileForm(forms.ModelForm): """ """ class Meta: model=Profile exclude=['user_id']
24.909091
56
0.708029
33
274
5.848485
0.515152
0.15544
0.176166
0.217617
0
0
0
0
0
0
0
0
0.19708
274
11
57
24.909091
0.877273
0.357664
0
0
0
0
0.042945
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.666667
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
1
0
1
0
0
3