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
441af188b0e77d5b4cb9c854158c2c022f4de46b
2,604
py
Python
cryptofeed_werks/exchanges/bitfinex/base.py
globophobe/crypto-tick-data
7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4
[ "MIT" ]
null
null
null
cryptofeed_werks/exchanges/bitfinex/base.py
globophobe/crypto-tick-data
7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4
[ "MIT" ]
null
null
null
cryptofeed_werks/exchanges/bitfinex/base.py
globophobe/crypto-tick-data
7ec5d1e136b9bc27ae936f55cf6ab7fe5e37bda4
[ "MIT" ]
null
null
null
from datetime import datetime from decimal import Decimal from typing import Optional import numpy as np from cryptofeed_werks.controllers import NonSequentialIntegerMixin from cryptofeed_werks.models import Symbol from .api import get_bitfinex_api_timestamp, get_trades class BitfinexMixin(NonSequentialIntegerMixi...
33.384615
86
0.665515
339
2,604
5.00885
0.368732
0.035336
0.061249
0.028269
0.074205
0
0
0
0
0
0
0.004502
0.232335
2,604
77
87
33.818182
0.844422
0.34447
0
0
0
0
0.003135
0
0
0
0
0
0
1
0.354839
false
0
0.225806
0
0.967742
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
441fce3d830865a276e3f3d84345a049156d47c8
185
py
Python
app/__init__.py
MaggieChege/Panda-
a23ac528170c22335c0c2f1da98c440331931358
[ "MIT" ]
null
null
null
app/__init__.py
MaggieChege/Panda-
a23ac528170c22335c0c2f1da98c440331931358
[ "MIT" ]
null
null
null
app/__init__.py
MaggieChege/Panda-
a23ac528170c22335c0c2f1da98c440331931358
[ "MIT" ]
null
null
null
from flask import Flask,Blueprint def create_app(config_name): app=Flask(__name__) from app.api.v2 import blue as v2 app.register_blueprint(v2) return app
13.214286
37
0.686486
27
185
4.444444
0.555556
0
0
0
0
0
0
0
0
0
0
0.021583
0.248649
185
13
38
14.230769
0.841727
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0.333333
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
441ff495ccacaddb8703705c1a18f78f8327fb5b
3,276
py
Python
inheritors.py
master9robot/python_lesson
d50466ebde95529ac2b4011d671b4ccebf121dc3
[ "MIT" ]
null
null
null
inheritors.py
master9robot/python_lesson
d50466ebde95529ac2b4011d671b4ccebf121dc3
[ "MIT" ]
null
null
null
inheritors.py
master9robot/python_lesson
d50466ebde95529ac2b4011d671b4ccebf121dc3
[ "MIT" ]
null
null
null
#An iterator is an object that contains a countable number of values. #An iterator is an object that can be iterated upon, meaning that you can traverse through all the values. #Technically, in Python, an iterator is an object which implements the iterator protocol, which consist of the methods __iter__() and __next...
28.486957
181
0.728632
530
3,276
4.40566
0.315094
0.069379
0.050107
0.053961
0.25439
0.181585
0.161028
0.161028
0.144754
0.110064
0
0.004844
0.180708
3,276
114
182
28.736842
0.865127
0.601038
0
0.78125
0
0
0.068429
0
0
0
0
0
0
0
null
null
0
0
null
null
0.359375
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
442b854ea63b2f9922fd81c1650309f6e282398b
221
py
Python
nsd1806/python/day05/mydict.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
nsd1806/python/day05/mydict.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
nsd1806/python/day05/mydict.py
MrWangwf/nsd1806
069e993b0bb64cb21adc2a25aa56f6da674453bc
[ "Apache-2.0" ]
null
null
null
adict = {'name': 'bob', 'age': 23} print('bob' in adict) # bob是字典的key么? print('name' in adict) # True print(len(adict)) # 2 for key in adict: print('%s: %s' % (key, adict[key])) print('%(name)s: %(age)s' % adict)
24.555556
39
0.574661
35
221
3.628571
0.4
0.165354
0
0
0
0
0
0
0
0
0
0.016575
0.180995
221
8
40
27.625
0.685083
0.085973
0
0
0
0
0.20202
0
0
0
0
0
0
1
0
false
0
0
0
0
0.714286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
4431c29408229b2b646051a0283bc112013465f4
2,292
py
Python
tests/test_docker_stats.py
KristobalJunta/docker-stats-graph
724d6d71d420bf2e03a1e5ae2bf604ff5d40f69f
[ "MIT" ]
8
2021-02-19T23:08:49.000Z
2022-02-09T14:25:21.000Z
tests/test_docker_stats.py
KristobalJunta/docker-stats-graph
724d6d71d420bf2e03a1e5ae2bf604ff5d40f69f
[ "MIT" ]
null
null
null
tests/test_docker_stats.py
KristobalJunta/docker-stats-graph
724d6d71d420bf2e03a1e5ae2bf604ff5d40f69f
[ "MIT" ]
2
2021-02-19T07:48:01.000Z
2021-06-01T14:20:34.000Z
import os import unittest import warnings from src import ROOT_PATH from src.dockerstats import DockerStats class ParserTest(unittest.TestCase): def setUp(self): path = os.path.join(ROOT_PATH, "tests", "resources", "data.csv") self.ds = DockerStats(path) def test_dataframe_creation(self): ...
35.261538
73
0.652269
333
2,292
4.36036
0.252252
0.11157
0.110193
0.134986
0.417355
0.289945
0.258953
0.188705
0.162534
0.068871
0
0.034667
0.181937
2,292
64
74
35.8125
0.739733
0
0
0
0
0
0.085515
0
0
0
0
0
0.5
1
0.229167
false
0
0.104167
0
0.354167
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
1
0
0
0
0
0
0
0
2
443b816e6fab5e5910eb3a6e77ce61c180e68e96
537
py
Python
scripts/nightly/settings/stage.py
agrc/deq-enviro
32cb7afd5e57fc6e2363492c95f042a305e6da3d
[ "MIT" ]
3
2015-12-27T07:28:13.000Z
2021-08-05T16:55:41.000Z
scripts/nightly/settings/stage.py
agrc/deq-enviro
32cb7afd5e57fc6e2363492c95f042a305e6da3d
[ "MIT" ]
133
2015-01-01T18:57:03.000Z
2022-03-25T13:59:53.000Z
scripts/nightly/settings/stage.py
agrc/deq-enviro
32cb7afd5e57fc6e2363492c95f042a305e6da3d
[ "MIT" ]
1
2017-06-26T16:14:59.000Z
2017-06-26T16:14:59.000Z
from .dev import * # overrides for stage environment mapServiceJson = 'http://localhost:6080/arcgis/rest/services/DEQEnviro/MapService/MapServer?f=json' securedServiceJson = 'http://localhost:6080/arcgis/rest/services/DEQEnviro/Secure/MapServer?f=json' webdata = r'C:\inetpub\wwwroot\deqenviro\webdata' sgid = {'ENVIRON...
53.7
99
0.744879
72
537
5.555556
0.5
0.045
0.075
0.15
0.415
0.415
0.22
0
0
0
0
0.016701
0.108007
537
9
100
59.666667
0.818372
0.057728
0
0
0
0.285714
0.593254
0.071429
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
445059d8b1c766c83467bf2bfc61d8690f94ea35
86
py
Python
tyadmin_api_cli/adapters/__init__.py
a24zlab/django-antd-tyadmin
49797ecbb477b00fc934b774fbc33a4dc23f9d80
[ "MIT" ]
308
2021-02-04T08:18:13.000Z
2022-03-30T10:38:30.000Z
tyadmin_api_cli/adapters/__init__.py
a24zlab/django-antd-tyadmin
49797ecbb477b00fc934b774fbc33a4dc23f9d80
[ "MIT" ]
23
2021-02-02T08:29:02.000Z
2022-03-08T13:14:55.000Z
tyadmin_api_cli/adapters/__init__.py
a24zlab/django-antd-tyadmin
49797ecbb477b00fc934b774fbc33a4dc23f9d80
[ "MIT" ]
90
2021-02-03T08:03:17.000Z
2022-03-31T19:03:02.000Z
ADAPTER_DICT = { 'django_celery_beat': { 'PeriodicTask': ['task'] } }
14.333333
32
0.534884
7
86
6.142857
1
0
0
0
0
0
0
0
0
0
0
0
0.290698
86
5
33
17.2
0.704918
0
0
0
0
0
0.395349
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
446311708b993bd3bd09966b836ad93712d7141b
2,999
py
Python
neuralknight/tests/test_mock_board_integration.py
grandquista/neuralknight-v1
f54e8e1ac90019c1a3a84089bac20485e8f626b4
[ "MIT" ]
null
null
null
neuralknight/tests/test_mock_board_integration.py
grandquista/neuralknight-v1
f54e8e1ac90019c1a3a84089bac20485e8f626b4
[ "MIT" ]
158
2018-08-14T17:42:49.000Z
2021-08-19T13:19:44.000Z
neuralknight/tests/test_mock_board_integration.py
grandquista/neuralknight-v1
f54e8e1ac90019c1a3a84089bac20485e8f626b4
[ "MIT" ]
2
2018-04-06T02:40:16.000Z
2018-04-16T16:13:21.000Z
from ..models.base_agent import BaseAgent class MockAgent(BaseAgent): def __init__(self, testapp, moves, game_id, player): self.testapp = testapp self.args = [] self.kwargs = [] self.moves = iter(moves) self.past_end = False super().__init__(game_id, player) de...
32.247312
64
0.481827
487
2,999
2.87885
0.149897
0.151213
0.199001
0.228245
0.437946
0.352354
0.308845
0.28388
0.28388
0.268902
0
0.156997
0.316105
2,999
92
65
32.597826
0.526572
0.548183
0
0.057143
0
0
0.022936
0
0
0
0
0
0.285714
1
0.142857
false
0
0.028571
0
0.257143
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
0
0
0
2
44674ec2d9f2bc00d3172b73a93d3bb416c64936
1,661
py
Python
cyberexperiment/core/models.py
udrems/cyberexperiment
9ad9c9580cd9dd1c28c0d8e27975f5bca530e101
[ "MIT" ]
null
null
null
cyberexperiment/core/models.py
udrems/cyberexperiment
9ad9c9580cd9dd1c28c0d8e27975f5bca530e101
[ "MIT" ]
4
2021-09-10T16:21:53.000Z
2021-09-17T18:04:22.000Z
cyberexperiment/core/models.py
udrems/cyberexperiment
9ad9c9580cd9dd1c28c0d8e27975f5bca530e101
[ "MIT" ]
2
2021-09-08T07:50:59.000Z
2021-09-08T16:15:26.000Z
from django.conf import settings from django.db import models from django.shortcuts import redirect class TimeStamp(models.Model): """timestamp to capture all the time of event in the database""" created_at = models.DateTimeField(auto_now_add=True) modified_at = models.DateTimeField(auto_now=True) c...
27.229508
110
0.713426
210
1,661
5.495238
0.409524
0.051993
0.069324
0.083189
0.469671
0.421144
0.421144
0.421144
0.421144
0.421144
0
0.005155
0.18242
1,661
60
111
27.683333
0.844624
0.148706
0
0.5
0
0
0.021413
0
0
0
0
0
0
1
0.147059
false
0
0.088235
0.117647
0.911765
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
446a3b7125f8d81082029efd8515e3cb3a464996
453
py
Python
pyews/configuration/endpoint.py
kartones-forks/pyews
763f3eb7918e55fc6ea8ff1fa333657ae0d9c18f
[ "MIT" ]
1
2021-03-15T13:38:08.000Z
2021-03-15T13:38:08.000Z
pyews/configuration/endpoint.py
nautics889/pyews
e35ad7425bf100a2ae67e3d4b763cc5d2cc8d4f3
[ "MIT" ]
null
null
null
pyews/configuration/endpoint.py
nautics889/pyews
e35ad7425bf100a2ae67e3d4b763cc5d2cc8d4f3
[ "MIT" ]
null
null
null
class Endpoint: def __init__(self, domain=None): self.domain = domain def get(self): endpoint_list = ['https://outlook.office365.com/autodiscover/autodiscover.svc'] if self.domain: endpoint_list.append("https://{}/autodiscover/autodiscover.svc".format(self.domain)) ...
32.357143
109
0.673289
49
453
6.061224
0.387755
0.16835
0.272727
0.148148
0.518519
0.518519
0.383838
0.383838
0
0
0
0.008197
0.192053
453
13
110
34.846154
0.803279
0
0
0
0
0
0.337029
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
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
0
0
0
2
44721cfa8e5eb18c5d3df0207aabe203967e7af7
14,325
py
Python
translate.py
mursalinkhan0018/python-translation-project
11a4b333cea3aaee1a90291898c293c7a6f96c45
[ "CC-BY-4.0" ]
null
null
null
translate.py
mursalinkhan0018/python-translation-project
11a4b333cea3aaee1a90291898c293c7a6f96c45
[ "CC-BY-4.0" ]
null
null
null
translate.py
mursalinkhan0018/python-translation-project
11a4b333cea3aaee1a90291898c293c7a6f96c45
[ "CC-BY-4.0" ]
null
null
null
#! /usr/bin/env python3 import sys #1 DONE!!! Passed 9/10 def translate_sequence(rna_sequence, genetic_code): pass # Read and get the RNA string rna = rna_sequence.upper() print ("\n \n RNA String: ", rna) x=len(rna) if x < 3: return '' # RNA codon table(make sure you have it) protein...
28.198819
787
0.530471
1,909
14,325
3.869565
0.130959
0.065521
0.042236
0.028293
0.722079
0.669555
0.633004
0.606742
0.606742
0.582916
0
0.023756
0.318255
14,325
507
788
28.254438
0.732644
0.177173
0
0.743662
0
0.002817
0.079388
0.002234
0
0
0
0
0.002817
1
0.016901
false
0.067606
0.002817
0
0.059155
0.056338
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
44738fe37e6ee74c46f89a6a97da23dbbd1f4bcc
289
py
Python
utils/parsing.py
Cherimolah/TeaBot
6c475bc70e2d71b37d613fbd4df16529d4c1d28c
[ "MIT" ]
2
2021-12-26T09:31:15.000Z
2022-02-15T17:08:19.000Z
utils/parsing.py
Cherimolah/TeaBot
6c475bc70e2d71b37d613fbd4df16529d4c1d28c
[ "MIT" ]
null
null
null
utils/parsing.py
Cherimolah/TeaBot
6c475bc70e2d71b37d613fbd4df16529d4c1d28c
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta from typing import Union def parse_unix_to_date(unix_time: Union[int, float]) -> str: if unix_time == 0: return "навсегда" return (datetime.utcfromtimestamp(unix_time)+timedelta(hours=3)).strftime("до %d.%m.%Y %H:%M:%S МСК")
20.642857
105
0.695502
43
289
4.534884
0.697674
0.123077
0
0
0
0
0
0
0
0
0
0.008333
0.16955
289
13
106
22.230769
0.804167
0
0
0
0
0
0.112676
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
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
0
0
0
1
0
1
0
0
2
44830eb53faf0ef1df3db123fb8ce39f3db546df
197
py
Python
src/defuzzification/utils.py
stdevAntiD2ta/fuzzy-control-system
c58b503846a2b46cd09c3457a411f58bcbad3ec7
[ "MIT" ]
null
null
null
src/defuzzification/utils.py
stdevAntiD2ta/fuzzy-control-system
c58b503846a2b46cd09c3457a411f58bcbad3ec7
[ "MIT" ]
null
null
null
src/defuzzification/utils.py
stdevAntiD2ta/fuzzy-control-system
c58b503846a2b46cd09c3457a411f58bcbad3ec7
[ "MIT" ]
null
null
null
def get_maximums(set): fuz_set = [(set.membership(x), x) for x in set] fuz_set.sort() fuz_set = [x for (ux, x) in fuz_set if ux == fuz_set[-1][0]] fuz_set.sort() return fuz_set
28.142857
64
0.609137
38
197
2.947368
0.394737
0.375
0.160714
0
0
0
0
0
0
0
0
0.013245
0.233503
197
7
65
28.142857
0.728477
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
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
0
0
0
0
0
2
448fa6d89d25e8087b61e1aab2f8a346c2002a80
185
py
Python
study/python/OtherTutorials/flexibleNumberOfArgs.py
YoungsAppWorkshop/dev_environment_setup
f197c81059ec5f1ce0bd8b5d972034252f29d9d0
[ "MIT" ]
null
null
null
study/python/OtherTutorials/flexibleNumberOfArgs.py
YoungsAppWorkshop/dev_environment_setup
f197c81059ec5f1ce0bd8b5d972034252f29d9d0
[ "MIT" ]
3
2021-01-06T10:18:17.000Z
2021-09-02T17:55:51.000Z
study/python/OtherTutorials/flexibleNumberOfArgs.py
YoungsAppWorkshop/dev_environment_setup
f197c81059ec5f1ce0bd8b5d972034252f29d9d0
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 def add_numbers(*args): total = 0 for arg in args: total += arg print(total) add_numbers(3) add_numbers(3, 2) add_numbers(1, 3, 5, 6, 7, 8)
15.416667
29
0.605405
33
185
3.272727
0.636364
0.37037
0.203704
0
0
0
0
0
0
0
0
0.079137
0.248649
185
11
30
16.818182
0.697842
0.113514
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
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
0
0
2
92332ccdf59f7541211edc49c0cc5adb5fbfec98
913
py
Python
img_backend/add_device.py
FIGLAB/zensors
4c80de1970ccaf167f87c474aadd96bcbcf5b9a1
[ "MIT" ]
2
2019-07-17T15:43:02.000Z
2020-05-04T17:21:43.000Z
img_backend/add_device.py
FIGLAB/zensors
4c80de1970ccaf167f87c474aadd96bcbcf5b9a1
[ "MIT" ]
null
null
null
img_backend/add_device.py
FIGLAB/zensors
4c80de1970ccaf167f87c474aadd96bcbcf5b9a1
[ "MIT" ]
2
2018-10-31T16:39:52.000Z
2018-11-08T22:41:14.000Z
#!/usr/bin/env python ''' Simple script to add a device to the database. ''' from ZensorDevice import ZensorDevice from enumerations import * import sys import random def main(argv): if len(argv) != 2: print "Usage:", argv[0], "<device_id>" return -1 devid = sys.argv[1] device = ZensorDev...
26.085714
60
0.63965
115
913
4.965217
0.478261
0.056042
0.06655
0
0
0
0
0
0
0
0
0.014514
0.245345
913
34
61
26.852941
0.814224
0.021906
0
0.074074
0
0
0.171838
0
0
0
0
0
0
0
null
null
0.074074
0.148148
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
925f8106e1816c84af6c9460fc5d7a713fd377a8
5,253
py
Python
kerberos_client.py
EvilMcJerkface/ok
c16b329a9b6f87e1af4bded86a09364482b6029c
[ "MIT" ]
16
2015-01-26T11:13:19.000Z
2022-01-31T13:48:54.000Z
kerberos_client.py
EvilMcJerkface/ok
c16b329a9b6f87e1af4bded86a09364482b6029c
[ "MIT" ]
null
null
null
kerberos_client.py
EvilMcJerkface/ok
c16b329a9b6f87e1af4bded86a09364482b6029c
[ "MIT" ]
3
2016-03-03T18:46:39.000Z
2021-09-03T05:47:51.000Z
import sys import shutil import getpass import lib.krb5 as krb5 import lib.krb5_ctypes as krb5_ctypes import ctypes import binascii import ctypes import pdb import json import gc #import IPython from kerberos_serializer import * import os gc.disable() CC_PATH = '/tmp/krb5cc_1000' # Delete the default cache def clear_...
31.644578
85
0.673139
708
5,253
4.735876
0.245763
0.041754
0.050104
0.028631
0.254996
0.187593
0.127647
0.110349
0.100209
0.100209
0
0.018579
0.241767
5,253
165
86
31.836364
0.823249
0.218923
0
0.278351
0
0
0.060487
0
0
0
0
0
0
0
null
null
0.061856
0.134021
null
null
0.082474
0
0
0
null
0
0
0
0
0
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
1
0
0
0
0
0
2
9269038550ac2eb627129808f919645ed6371394
111
py
Python
managers/exec_details_manager.py
renuchauhan625/RazorPyOfficial
e5e3c2cb638b0e402f665aa2e756debd7c456237
[ "Apache-2.0" ]
3
2021-07-11T03:52:50.000Z
2022-01-06T11:30:08.000Z
managers/exec_details_manager.py
renuchauhan625/RazorPyOfficial
e5e3c2cb638b0e402f665aa2e756debd7c456237
[ "Apache-2.0" ]
null
null
null
managers/exec_details_manager.py
renuchauhan625/RazorPyOfficial
e5e3c2cb638b0e402f665aa2e756debd7c456237
[ "Apache-2.0" ]
1
2021-07-18T05:42:40.000Z
2021-07-18T05:42:40.000Z
''' Created on 14-Jul-2021 @author: Abhishek Prajapati ''' execution_details = [] razor_status = "In Progress"
15.857143
28
0.720721
14
111
5.571429
1
0
0
0
0
0
0
0
0
0
0
0.0625
0.135135
111
7
28
15.857143
0.75
0.459459
0
0
0
0
0.207547
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
9285a25b9d2fbbdda300d5bb1bf0da1d2258c4e4
208
py
Python
src/build-scripts/hydrafw-revision.py
0x8008135/hydrafw
c031ff86983a89f173c2ac0cceeaf8113704e10c
[ "Apache-2.0" ]
163
2016-12-28T04:57:23.000Z
2022-03-31T15:05:17.000Z
src/build-scripts/hydrafw-revision.py
0x8008135/hydrafw
c031ff86983a89f173c2ac0cceeaf8113704e10c
[ "Apache-2.0" ]
47
2016-12-27T23:21:46.000Z
2022-02-27T08:36:21.000Z
src/build-scripts/hydrafw-revision.py
0x8008135/hydrafw
c031ff86983a89f173c2ac0cceeaf8113704e10c
[ "Apache-2.0" ]
62
2016-12-27T06:28:32.000Z
2022-02-22T13:51:29.000Z
from git import * import re r = re.compile("v(\d+\.\d+).*") git=Repo(search_parent_directories=True).git version = git.describe(tags=True,always=True,dirty=True,long=True) print(r.search(version).group(1))
23.111111
66
0.725962
35
208
4.257143
0.628571
0
0
0
0
0
0
0
0
0
0
0.005208
0.076923
208
8
67
26
0.770833
0
0
0
0
0
0.0625
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
928aafa4ae95d17a8208147f42a9e723807969fb
2,608
py
Python
fbrp/src/fbrp/runtime/base.py
ali-senguel/fairo-explore
893481da270eed1e6d504c71e483d685ca9218d1
[ "MIT" ]
null
null
null
fbrp/src/fbrp/runtime/base.py
ali-senguel/fairo-explore
893481da270eed1e6d504c71e483d685ca9218d1
[ "MIT" ]
null
null
null
fbrp/src/fbrp/runtime/base.py
ali-senguel/fairo-explore
893481da270eed1e6d504c71e483d685ca9218d1
[ "MIT" ]
null
null
null
import asyncio from fbrp.process import ProcDef import a0 import argparse import asyncio import contextlib import enum import psutil import json class BaseLauncher: def __init__(self): pass async def run(self, name: str, proc_def: ProcDef, args: argparse.Namespace): raise NotImplementedError(...
30.682353
84
0.597009
294
2,608
5.139456
0.360544
0.031767
0.052945
0.029782
0.254136
0.254136
0.191926
0.123097
0.123097
0.092654
0
0.004945
0.302147
2,608
84
85
31.047619
0.825275
0.030675
0
0.149254
0
0
0.125545
0.026931
0
0
0
0.011905
0
1
0.104478
false
0.059701
0.134328
0
0.298507
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
928bff163a9c28010dac3e96f467a861b8f12154
1,375
py
Python
main/views.py
felipeue/SmartBuilding
57d904c6166c87f836bc8fada9eb5a2bc82069b8
[ "MIT" ]
null
null
null
main/views.py
felipeue/SmartBuilding
57d904c6166c87f836bc8fada9eb5a2bc82069b8
[ "MIT" ]
null
null
null
main/views.py
felipeue/SmartBuilding
57d904c6166c87f836bc8fada9eb5a2bc82069b8
[ "MIT" ]
null
null
null
from django.views.generic import TemplateView, RedirectView from django.contrib.auth import login, logout, authenticate from django.shortcuts import render from main.permissions import * class IndexView(TemplateView): template_name = "home.html" def login_resident(request): if request.method == 'POST': ...
31.25
72
0.612364
127
1,375
6.590551
0.370079
0.18638
0.107527
0.083632
0.095579
0.095579
0
0
0
0
0
0
0.286545
1,375
43
73
31.976744
0.853211
0
0
0.181818
0
0
0.099125
0.031341
0
0
0
0
0
1
0.060606
false
0.060606
0.121212
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
929828265e477d2b3b2741fd74dc69a90b281f11
1,420
py
Python
tests/integration/test_display_para_from_json.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
1
2020-07-14T20:13:05.000Z
2020-07-14T20:13:05.000Z
tests/integration/test_display_para_from_json.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
3
2021-04-06T20:40:08.000Z
2021-06-03T21:54:21.000Z
tests/integration/test_display_para_from_json.py
lizschley/number_six
a427202397822fca1f49d43d138c24fffdbe95da
[ "MIT" ]
null
null
null
'''These tests are for utilities to call paragraph helpers that instansiate the common classes. I am using ''' # pylint: disable=missing-function-docstring import testing.constants.common as common def test_display_para_from_json_returns_dictionary(display_text_from_json): '''This is an integration test, testi...
39.444444
81
0.772535
205
1,420
5.058537
0.302439
0.092575
0.144648
0.183221
0.559306
0.509161
0.459016
0.459016
0.459016
0.459016
0
0.003295
0.14507
1,420
35
82
40.571429
0.850906
0.357746
0
0.117647
0
0
0.051253
0
0
0
0
0
0.352941
1
0.294118
false
0
0.058824
0
0.352941
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
0
0
0
2
929df0c92f35ab103a77aaa4f06fb08b870d147f
278
py
Python
hermes_common/tests/leaks/dealloc.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
1
2016-08-18T23:21:55.000Z
2016-08-18T23:21:55.000Z
hermes_common/tests/leaks/dealloc.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
null
null
null
hermes_common/tests/leaks/dealloc.py
certik/hermes1d-llnl
8e3b76fd3022af90e5c4c3923337a422d79604d5
[ "BSD-3-Clause" ]
null
null
null
""" This module contains testing classes for the leaks test. """ class A(object): def __init__(self, c): print "A.__init__() was called" self._c = c def __del__(self): print "A.__del__() was called" self._c.event("__del__ was called")
19.857143
56
0.604317
38
278
3.842105
0.552632
0.10274
0.178082
0.191781
0
0
0
0
0
0
0
0
0.269784
278
13
57
21.384615
0.719212
0
0
0
0
0
0.294393
0
0
0
0
0
0
0
null
null
0
0
null
null
0.285714
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
0
0
0
0
0
2
92a0c630be89c797fa922d133d8774ad4cfcc3c7
324
py
Python
Samples/Simple_Demo/Python_Export/Export_whole_project/D4P_export_demo.py
Embarcadero/Delphi4PythonExporter
0137a298552e5356fa2cadb4fc288adeed0f03f4
[ "MIT" ]
18
2022-02-02T20:23:03.000Z
2022-03-29T11:26:41.000Z
Samples/Simple_Demo/Python_Export/Export_whole_project/D4P_export_demo.py
Embarcadero/Delphi4PythonExporter
0137a298552e5356fa2cadb4fc288adeed0f03f4
[ "MIT" ]
3
2022-02-14T13:19:29.000Z
2022-03-28T20:07:33.000Z
Samples/Simple_Demo/Python_Export/Export_whole_project/D4P_export_demo.py
Embarcadero/Delphi4PythonExporter
0137a298552e5356fa2cadb4fc288adeed0f03f4
[ "MIT" ]
6
2022-02-10T03:12:04.000Z
2022-03-27T17:41:30.000Z
from delphifmx import * from parent_window import Parent_Form def main(): Application.Initialize() Application.Title = 'Exporter Demo' Application.MainForm = Parent_Form(Application) Application.MainForm.Show() Application.Run() Application.MainForm.Destroy() if __name__ == '__main__': mai...
23.142857
51
0.725309
34
324
6.588235
0.558824
0.254464
0
0
0
0
0
0
0
0
0
0
0.17284
324
13
52
24.923077
0.835821
0
0
0
0
0
0.064815
0
0
0
0
0
0
1
0.090909
true
0
0.181818
0
0.272727
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
2
2b7e914455b7e4d21ee32d8e348737af8ad3bb3b
1,463
py
Python
app/auth/forms.py
hammer-mt/FireFlask
4bc9ea1d0a1a35d7dc726f4257cfbbc6e47528c2
[ "MIT" ]
4
2020-07-01T17:10:25.000Z
2020-11-10T22:15:55.000Z
app/auth/forms.py
hammer-mt/FireFlask
4bc9ea1d0a1a35d7dc726f4257cfbbc6e47528c2
[ "MIT" ]
null
null
null
app/auth/forms.py
hammer-mt/FireFlask
4bc9ea1d0a1a35d7dc726f4257cfbbc6e47528c2
[ "MIT" ]
3
2020-06-24T17:33:50.000Z
2020-11-17T20:45:43.000Z
from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, SelectField from wtforms.validators import DataRequired, Email, Length from flask_wtf.file import FileField, FileAllowed, FileRequired class SignUpForm(FlaskForm): name = StringField('Name', validators=[DataR...
47.193548
92
0.723855
143
1,463
7.384615
0.356643
0.166667
0.153409
0.106061
0.554924
0.554924
0.554924
0.554924
0.485795
0.485795
0
0.00394
0.132604
1,463
31
93
47.193548
0.828211
0
0
0.307692
0
0
0.137295
0
0
0
0
0
0
1
0
false
0.230769
0.153846
0
0.961538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
2b89378a0a9c79a3daaa3b6a56cbcba3f417f9d5
455
py
Python
bin/test_client.py
malishav/coap
bd7a0da9065fc161f680be8b2b1e8e8f649cecd6
[ "BSD-3-Clause" ]
1
2019-10-03T02:51:05.000Z
2019-10-03T02:51:05.000Z
bin/test_client.py
malishav/coap
bd7a0da9065fc161f680be8b2b1e8e8f649cecd6
[ "BSD-3-Clause" ]
null
null
null
bin/test_client.py
malishav/coap
bd7a0da9065fc161f680be8b2b1e8e8f649cecd6
[ "BSD-3-Clause" ]
null
null
null
import os import sys here = sys.path[0] sys.path.insert(0, os.path.join(here,'..')) import time from coap import coap import logging_setup SERVER_IP = '::1' # open c = coap.coap(udpPort=5000) # retrieve value of 'test' resource p = c.GET('coap://[{0}]/test'.format(SERVER_IP),) print '=====' pri...
16.25
50
0.610989
72
455
3.805556
0.583333
0.051095
0
0
0
0
0
0
0
0
0
0.032877
0.197802
455
27
51
16.851852
0.717808
0.096703
0
0.125
0
0
0.155263
0
0
0
0
0
0
0
null
null
0
0.3125
null
null
0.1875
0
0
0
null
0
0
0
0
0
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
2
2b93570ed0d715724876abed8f98fd6668d40c94
5,130
py
Python
fesim_util.py
matti-logiko/PyPlate
05e877ae6abc20ad7fb4fe15bd403595a92b99d7
[ "MIT" ]
1
2018-11-12T10:54:24.000Z
2018-11-12T10:54:24.000Z
fesim_util.py
matti-logiko/PyPlate
05e877ae6abc20ad7fb4fe15bd403595a92b99d7
[ "MIT" ]
null
null
null
fesim_util.py
matti-logiko/PyPlate
05e877ae6abc20ad7fb4fe15bd403595a92b99d7
[ "MIT" ]
1
2018-11-12T10:54:27.000Z
2018-11-12T10:54:27.000Z
""" Utility class for fesim By: Mehdi Paak """ import os import subprocess def create_meshinput_file(vardict): """ generate temporary mesh data input file to be read by salome_mesh.py script. """ try: geofile = vardict['GEOFILE'] wrkdir = vardict['WRKDIR'] seg_a = vardict...
28.983051
104
0.575828
638
5,130
4.562696
0.283699
0.032978
0.049124
0.054964
0.17348
0.112333
0.067674
0.008245
0.008245
0
0
0.008707
0.283626
5,130
176
105
29.147727
0.783401
0.137232
0
0.234694
1
0
0.231289
0
0
0
0
0.011364
0
1
0.05102
false
0
0.020408
0
0.071429
0.010204
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
1
0
0
0
0
0
0
0
0
0
0
2
2b9c36065308f6e11cc20429ce2141c3f1285943
646
py
Python
tests/test_meta.py
adsabs/flask-mongoalchemy
3a508029fc99726fc32e98060af7476287a68ea1
[ "BSD-2-Clause" ]
null
null
null
tests/test_meta.py
adsabs/flask-mongoalchemy
3a508029fc99726fc32e98060af7476287a68ea1
[ "BSD-2-Clause" ]
null
null
null
tests/test_meta.py
adsabs/flask-mongoalchemy
3a508029fc99726fc32e98060af7476287a68ea1
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright 2010 flask-mongoalchemy authors. All rights reserved. # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file. from __future__ import absolute_import from mongoalchemy import document from flaskext.mongoalchemy import Document from fla...
29.363636
65
0.787926
87
646
5.655172
0.643678
0.073171
0.105691
0.121951
0.178862
0.178862
0
0
0
0
0
0.009141
0.153251
646
21
66
30.761905
0.890311
0.312694
0
0
0
0
0.037118
0
0
0
0
0
0.1
1
0.1
false
0
0.5
0
0.7
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
2bab74084dad44f3e5db5cfb85553841ba064145
259
py
Python
Sieve.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
Sieve.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
Sieve.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
import itertools def sieve(size): is_prime = [True] * (size) for i in range(2, size): if is_prime[i]: is_prime[i*i::i] = [False] * len(is_prime[i*i::i]) f.write(json.dumps(list(itertools.compress(range(size), is_prime))[2:]))
28.777778
76
0.594595
43
259
3.465116
0.511628
0.234899
0.161074
0.120805
0.134228
0
0
0
0
0
0
0.009852
0.216216
259
8
77
32.375
0.724138
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.285714
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
0
0
0
0
0
2
2bcf6e636ec67d0a627f8da839c75c8a049a8846
273
py
Python
frazzl/types/entity.py
jimtheplant/qraphql-booster
cc905310ca19c32e8c555c54069a0ac5b127d505
[ "Apache-2.0" ]
2
2019-11-20T16:18:53.000Z
2020-05-25T11:00:58.000Z
frazzl/types/entity.py
jimtheplant/qraphql-booster
cc905310ca19c32e8c555c54069a0ac5b127d505
[ "Apache-2.0" ]
null
null
null
frazzl/types/entity.py
jimtheplant/qraphql-booster
cc905310ca19c32e8c555c54069a0ac5b127d505
[ "Apache-2.0" ]
null
null
null
from ariadne import ObjectType class Entity: pass def create_entity(name, key_resolvers, key_name): object_type = ObjectType(name) setattr(object_type, "key_resolver", key_resolvers) object_type.set_field(key_name, key_resolvers) return object_type
21
55
0.765568
37
273
5.324324
0.513514
0.203046
0.162437
0
0
0
0
0
0
0
0
0
0.164835
273
12
56
22.75
0.864035
0
0
0
0
0
0.043956
0
0
0
0
0
0
1
0.125
false
0.125
0.125
0
0.5
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
2bf153b34978b2dda75bc3fb18aee51e8b4afa45
649
py
Python
oops_fhir/r4/value_set/v3_equipment_alert_level.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/v3_equipment_alert_level.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
oops_fhir/r4/value_set/v3_equipment_alert_level.py
Mikuana/oops_fhir
77963315d123756b7d21ae881f433778096a1d25
[ "MIT" ]
null
null
null
from pathlib import Path from fhir.resources.valueset import ValueSet as _ValueSet from oops_fhir.utils import ValueSet from oops_fhir.r4.code_system.v3_equipment_alert_level import ( v3EquipmentAlertLevel as v3EquipmentAlertLevel_, ) __all__ = ["v3EquipmentAlertLevel"] _resource = _ValueSet.parse_file(Path(...
20.935484
69
0.750385
69
649
6.73913
0.57971
0.060215
0.068817
0.086022
0
0
0
0
0
0
0
0.033028
0.160247
649
30
70
21.633333
0.820183
0.251156
0
0
0
0
0.056769
0.045852
0
0
0
0
0
1
0
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
9209ca7291bc3b16a02b7dd17d6abd0239412d5d
674
py
Python
meiduo_mall/apps/meiduo_admin/views/group.py
Vent-Any/meiduo_mall_cangku
5b3b7f029be267cb5d2d3666f99be166d27213f1
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/views/group.py
Vent-Any/meiduo_mall_cangku
5b3b7f029be267cb5d2d3666f99be166d27213f1
[ "MIT" ]
null
null
null
meiduo_mall/apps/meiduo_admin/views/group.py
Vent-Any/meiduo_mall_cangku
5b3b7f029be267cb5d2d3666f99be166d27213f1
[ "MIT" ]
null
null
null
######################################用户组###################################### from rest_framework.generics import ListAPIView from rest_framework.viewsets import ModelViewSet from django.contrib.auth.models import Group, Permission from apps.meiduo_admin.utils import PageNumber from apps.meiduo_admin.serializer.gro...
33.7
99
0.746291
60
674
8.266667
0.5
0.032258
0.068548
0.076613
0
0
0
0
0
0
0
0
0.094955
674
19
100
35.473684
0.813115
0.004451
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.416667
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
921773c4798d3591783c0a5548229dc9969cad46
521
py
Python
flask_resources/deserializers/json.py
fenekku/flask-resources
47a6672a771b7c209199a2613ae6da9d96a70a5b
[ "MIT" ]
null
null
null
flask_resources/deserializers/json.py
fenekku/flask-resources
47a6672a771b7c209199a2613ae6da9d96a70a5b
[ "MIT" ]
null
null
null
flask_resources/deserializers/json.py
fenekku/flask-resources
47a6672a771b7c209199a2613ae6da9d96a70a5b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (C) 2020 CERN. # # Flask-Resources is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. """JSON Deserializer.""" import json from .deserializers import DeserializerMixin class JSONDeserializer(Deser...
24.809524
76
0.696737
66
521
5.484848
0.772727
0.088398
0
0
0
0
0
0
0
0
0
0.011792
0.18618
521
20
77
26.05
0.841981
0.518234
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.4
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a627af630e9c7ea0f65acfa02285e5da65872a94
2,465
py
Python
scripts/detection_configs.py
www516717402/edgeai-mmdetection
c5563434728da227678ba3588621b4b426cda43d
[ "BSD-3-Clause" ]
null
null
null
scripts/detection_configs.py
www516717402/edgeai-mmdetection
c5563434728da227678ba3588621b4b426cda43d
[ "BSD-3-Clause" ]
null
null
null
scripts/detection_configs.py
www516717402/edgeai-mmdetection
c5563434728da227678ba3588621b4b426cda43d
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2018-2020, Texas Instruments # All Rights Reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: # # * Redistributions of source code must retain the above copyright notice, this # list of condition...
48.333333
103
0.78499
372
2,465
5.139785
0.47043
0.041841
0.078452
0.047071
0.277197
0.191946
0.162657
0.111925
0.111925
0.111925
0
0.011321
0.139959
2,465
50
104
49.3
0.890566
0.953753
0
0
0
0
0.5
0.5
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
1
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
a628a61d4eade64beae8f07a2d6973ce8921c088
1,391
py
Python
users/models.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
users/models.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
users/models.py
faisoabdirisak/NextDoor
57eb963ea8e68cc1b3516ec1005418b3fdc6283a
[ "Unlicense", "MIT" ]
null
null
null
# from distutils.command.upload import upload # import email # from email.policy import default # from unicodedata import name import email import uuid from django.db import models from django.contrib.auth.models import User # from django.db.models.signals import post_save,post_delete # from django.dispatch import rec...
32.348837
102
0.717469
178
1,391
5.511236
0.404494
0.040775
0.039755
0.051988
0
0
0
0
0
0
0
0.006061
0.169662
1,391
43
103
32.348837
0.84329
0.489576
0
0
0
0
0.02924
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0.076923
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
a63284b08e3b3a719f709e9f2059ec76a6420514
1,905
py
Python
testing/dummy_usb.py
dominikandreas/modtpy
90616cee4e7ae34ecc56c24faa003e1ffd0210de
[ "MIT" ]
3
2019-01-24T16:40:22.000Z
2020-11-09T22:24:12.000Z
testing/dummy_usb.py
dominikandreas/modtpy
90616cee4e7ae34ecc56c24faa003e1ffd0210de
[ "MIT" ]
null
null
null
testing/dummy_usb.py
dominikandreas/modtpy
90616cee4e7ae34ecc56c24faa003e1ffd0210de
[ "MIT" ]
null
null
null
from modtpy.api.modt import ModT, Mode from modtpy.api.errors import PrinterError import logging from contextlib import contextmanager def dummy_device_function(f): def __inner__(self, *args, **kwargs): logging.info("Device.%s called with args: %s, kwargs: %s", f.__name__, str(args), str(kwargs)) ...
24.74026
102
0.622572
224
1,905
4.946429
0.357143
0.059567
0.102888
0.099278
0.146209
0.108303
0
0
0
0
0
0
0.291864
1,905
76
103
25.065789
0.821349
0
0
0.232143
0
0
0.052549
0
0
0
0
0
0
1
0.214286
false
0.071429
0.071429
0.017857
0.392857
0.017857
0
0
0
null
0
0
0
0
0
0
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
0
0
0
2
a63517af775b6810696eee33fd69c06e61c4d35a
484
py
Python
DP&Memorization/272.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
DP&Memorization/272.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
DP&Memorization/272.py
wilbertgeng/LintCode_exercise
e7a343b746e98ca3b4bc7b36655af7291f3150db
[ "MIT" ]
null
null
null
"""272. Climbing Stairs II """ class Solution: """ @param n: An integer @return: An Integer """ def climbStairs2(self, n): # write your code here if n == 0: ## 0 is 1 step return 1 if n <= 2: return n last_two_step = 1 last_step = 1 ...
21.043478
94
0.508264
67
484
3.522388
0.447761
0.135593
0.139831
0.20339
0.245763
0.194915
0
0
0
0
0
0.044674
0.39876
484
22
95
22
0.766323
0.202479
0
0
0
0
0
0
0
0
0
0.045455
0
1
0.083333
false
0
0
0
0.416667
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
1
0
0
0
0
0
0
0
0
0
0
2
a63b3f2f9f2a7bfd879e5b06a05f0c6a64277b8f
1,343
py
Python
ambiente_virtual/Lib/site-packages/alembic/testing/suite/test_op.py
PI-UNIVESP-Penapolis/PRODEA
1ced58f52bace8b6de0de3c6516b9fb7231da09c
[ "MIT" ]
1,324
2018-11-27T05:44:41.000Z
2022-03-30T19:49:20.000Z
ambiente_virtual/Lib/site-packages/alembic/testing/suite/test_op.py
PI-UNIVESP-Penapolis/PRODEA
1ced58f52bace8b6de0de3c6516b9fb7231da09c
[ "MIT" ]
452
2018-11-27T22:43:38.000Z
2022-03-28T04:33:43.000Z
ambiente_virtual/Lib/site-packages/alembic/testing/suite/test_op.py
PI-UNIVESP-Penapolis/PRODEA
1ced58f52bace8b6de0de3c6516b9fb7231da09c
[ "MIT" ]
159
2018-11-29T18:46:15.000Z
2022-03-28T16:34:19.000Z
"""Test against the builders in the op.* module.""" from sqlalchemy import Column from sqlalchemy import event from sqlalchemy import Integer from sqlalchemy import String from sqlalchemy import Table from sqlalchemy.sql import text from ...testing.fixtures import AlterColRoundTripFixture from ...testing.fixtures imp...
31.232558
77
0.706627
169
1,343
5.272189
0.360947
0.094276
0.074074
0.107744
0.318743
0.297419
0.297419
0.141414
0.141414
0.141414
0
0.00448
0.169025
1,343
42
78
31.97619
0.793907
0.033507
0
0
0
0
0.113777
0.022446
0
0
0
0
0
1
0.241379
false
0
0.275862
0
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a6468c6cb1584d9d4b7819179d568755b90ea133
619
py
Python
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
ciphers/password_encryption.py
sulochanaviji/Python
441d6fc1b0b50b04e3947cdab0384de09965eee1
[ "MIT" ]
null
null
null
from passlib.context import CryptContext #importing cryptcontext from passlib pwd_context = CryptContext( schemes=["pbkdf2_sha256"], default="pbkdf2_sha256", pbkdf2_sha256__default_rounds=30000 ) #A round is a part of the algorithm that runs many times in order to reduce "crackability". def ...
26.913043
91
0.780291
78
619
5.974359
0.525641
0.137339
0.081545
0.128755
0
0
0
0
0
0
0
0.032015
0.142165
619
22
92
28.136364
0.845574
0.201939
0
0
0
0
0.093496
0
0
0
0
0
0
1
0.153846
false
0.615385
0.076923
0.153846
0.384615
0.076923
0
0
0
null
0
0
0
0
0
0
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
1
0
0
0
2
a64ac3cbe97a0aa5dc2fd09b5e46340c1b456133
171
py
Python
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
12.HTM_Content/main.py
sarincr/Introduction-to-Flask-Web-framework
69a703b3533b6b12f07712a5473b31176c25c9c7
[ "MIT" ]
null
null
null
from flask import * app = Flask(__name__) @app.route('/<X>') def message(X): return render_template('index.html', Y = X) if __name__ == '__main__': app.run()
15.545455
47
0.625731
24
171
3.916667
0.75
0
0
0
0
0
0
0
0
0
0
0
0.192982
171
10
48
17.1
0.681159
0
0
0
0
0
0.128655
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.142857
0.428571
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
2
a65b05d80f7724fcec88f7d9e34cf1ea27153013
545
py
Python
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
metadata-ingestion/src/datahub/ingestion/source/bigquery.py
qumingxing/datahub
1b96cd8c2665f17fbda1c523ea55f9db0c4ae77b
[ "Apache-2.0" ]
null
null
null
from typing import Optional from .sql_common import SQLAlchemyConfig, SQLAlchemySource class BigQueryConfig(SQLAlchemyConfig): scheme = "bigquery" project_id: Optional[str] def get_sql_alchemy_url(self): return f"{self.scheme}://{self.project_id}" class BigQuerySource(SQLAlchemySource): de...
24.772727
58
0.710092
62
545
5.967742
0.532258
0.072973
0
0
0
0
0
0
0
0
0
0
0.188991
545
21
59
25.952381
0.837104
0
0
0
0
0
0.089908
0.06055
0
0
0
0
0
1
0.214286
false
0
0.142857
0.071429
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
a66424d83bcda18d8f44b788187e695f8de567b5
183
py
Python
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
utilities/colormap/prepare_arduino_colormap.py
gauravmm/Remote-Temperature-Monitor
e3695a44dc30e5c013871e303ae8f6fdf481bf04
[ "MIT" ]
null
null
null
import colormaps as cmaps cmap = cmaps._inferno_data; for i,r in enumerate(cmap): if i % 2 == 0: print "{%s}," % ",\t".join(str(int(round(v * 255))) for v in r);
22.875
73
0.557377
31
183
3.225806
0.774194
0
0
0
0
0
0
0
0
0
0
0.037037
0.262295
183
7
74
26.142857
0.703704
0
0
0
0
0
0.045455
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.2
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
1
0
0
0
0
0
0
0
0
2
a68b28a50be4156d9050576bd63538c505309d28
342
py
Python
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
20
2015-05-15T20:46:40.000Z
2022-02-26T14:30:37.000Z
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
null
null
null
pyvis/PIMCPy/TestRepulsive.py
b3sigma/fourd
8df1300d9820ffa65e0df4519ce3795f1b2e7c9c
[ "MIT" ]
3
2016-08-13T09:44:49.000Z
2018-07-29T16:52:41.000Z
#!/bin/env python import numpy #import pylab #import stats from VMCHelp import * import random import numpy from PIMC5 import * numParticles=2 numTimeSlices=10 tau=0.1 lam=0.5 Path=PathClass(numParticles,numTimeSlices,tau,lam) Path.SetCouplingConstant(1.0) Path.SetPotential(HarmonicOscillator) print PIMC(10000,Path,...
17.1
50
0.815789
47
342
5.93617
0.617021
0.078853
0
0
0
0
0
0
0
0
0
0.048387
0.093567
342
19
51
18
0.851613
0.116959
0
0.153846
0
0
0
0
0
0
0
0
0
0
null
null
0
0.384615
null
null
0.076923
0
0
0
null
0
0
0
0
0
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
2
a692ae98327126c3e0a8986910c448aaa4cdb03b
283
py
Python
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Darlington/phase2/Data Structure/day 59 solution/qtn7.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
#program to convert an array to an array of machine values and return the bytes representation. import array import binascii a = array.array('i', [1,2,3,4,5,6]) print("Original array:") print('A1:', a) bytes_array = a.tobytes() print('Array of bytes:', binascii.hexlify(bytes_array))
35.375
95
0.738516
48
283
4.3125
0.583333
0.067633
0
0
0
0
0
0
0
0
0
0.028112
0.120141
283
8
96
35.375
0.803213
0.332155
0
0
0
0
0.179894
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0.428571
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
a69e048cd19a312e36e054eaafec0943cd70d41a
118
py
Python
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
day1.py
marawat/PyManish
fad4cf042f907c8921c2675fda2a555f38e1f7ef
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3 x = ("Hello") y = "day 1 python" z= "good going" print(y) print (z) print(x) print (x,y,z)
7.866667
20
0.559322
22
118
3
0.590909
0.181818
0
0
0
0
0
0
0
0
0
0.021739
0.220339
118
14
21
8.428571
0.695652
0.152542
0
0
0
0
0.278351
0
0
0
0
0
0
1
0
false
0
0
0
0
0.571429
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
a6b562827976bcf0ba147158156584f1789cab95
180
py
Python
tests/run_tests.py
bitlogik/specter-javacard
06555db693bf3ce2314282d2e4555020c87143fb
[ "MIT" ]
11
2020-09-07T20:49:16.000Z
2022-03-29T14:21:14.000Z
tests/run_tests.py
stepansnigirev/shareable-applet
f94510cf80adc1829776ea6a61ce33a926f20126
[ "MIT" ]
1
2020-12-13T12:29:59.000Z
2020-12-16T17:00:27.000Z
tests/run_tests.py
stepansnigirev/shareable-applet
f94510cf80adc1829776ea6a61ce33a926f20126
[ "MIT" ]
5
2020-09-08T06:22:23.000Z
2022-03-29T14:21:16.000Z
#!/usr/bin/env python3 import unittest if __name__ == '__main__': testsuite = unittest.TestLoader().discover('./tests') unittest.TextTestRunner(verbosity=1).run(testsuite)
30
57
0.733333
20
180
6.2
0.85
0
0
0
0
0
0
0
0
0
0
0.0125
0.111111
180
6
58
30
0.7625
0.116667
0
0
0
0
0.09434
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
2
a6b79ef79b7d83120b1edb6b477d255891f80230
1,248
py
Python
tests/test_util.py
Skirmant/electrumx-trump
ce0e4e8c592ea593b2ee9df84126980e54da5053
[ "MIT" ]
null
null
null
tests/test_util.py
Skirmant/electrumx-trump
ce0e4e8c592ea593b2ee9df84126980e54da5053
[ "MIT" ]
null
null
null
tests/test_util.py
Skirmant/electrumx-trump
ce0e4e8c592ea593b2ee9df84126980e54da5053
[ "MIT" ]
null
null
null
from lib import util def test_cachedproperty(): class Target: CALL_COUNT = 0 def __init__(self): self.call_count = 0 @util.cachedproperty def prop(self): self.call_count += 1 return self.call_count @util.cachedproperty def cls...
20.8
73
0.600962
184
1,248
3.88587
0.233696
0.111888
0.095105
0.100699
0.258741
0.244755
0.118881
0.118881
0.118881
0.118881
0
0.047619
0.259615
1,248
59
74
21.152542
0.72619
0
0
0.135135
0
0
0.030449
0
0
0
0
0
0.297297
1
0.216216
false
0.081081
0.027027
0
0.432432
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
0
0
0
2
a6bafaafe8f14cec09cda4d47f915c1ddeec002e
738
py
Python
src/pyssistant/models/semaphore_of_speaking.py
Lucasfrota/pyssistant
675e0165ab4dc5021c73b1b99d7179c6b87b8cad
[ "BSD-3-Clause" ]
2
2018-01-16T17:05:03.000Z
2019-02-21T13:25:10.000Z
src/pyssistant/models/semaphore_of_speaking.py
Lucasfrota/pyssistant
675e0165ab4dc5021c73b1b99d7179c6b87b8cad
[ "BSD-3-Clause" ]
null
null
null
src/pyssistant/models/semaphore_of_speaking.py
Lucasfrota/pyssistant
675e0165ab4dc5021c73b1b99d7179c6b87b8cad
[ "BSD-3-Clause" ]
1
2018-11-26T20:12:38.000Z
2018-11-26T20:12:38.000Z
class SemaphoreOfSpeaking(): class __Singleton(): def __init__(self): self._is_instantiated = False self._instance = None self.is_speaking = False def get_instance(self): if(self._is_instantiated == False): self._instance = SemaphoreO...
27.333333
54
0.602981
73
738
5.712329
0.260274
0.057554
0.129496
0.110312
0.167866
0.167866
0
0
0
0
0
0
0.322493
738
26
55
28.384615
0.834
0
0
0.2
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0
0.1
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
0
0
0
0
1
0
0
2
a6e8956955412477820a530c687884fd65e48d03
2,367
py
Python
excursions/models.py
timptner/farafmb.de
2b154278d8b44ea3adecafcb8554c1b0b0055e01
[ "MIT" ]
1
2017-04-06T09:12:45.000Z
2017-04-06T09:12:45.000Z
excursions/models.py
timptner/farafmb.de
2b154278d8b44ea3adecafcb8554c1b0b0055e01
[ "MIT" ]
2
2017-09-07T22:09:50.000Z
2020-06-09T14:46:30.000Z
excursions/models.py
timptner/farafmb.de
2b154278d8b44ea3adecafcb8554c1b0b0055e01
[ "MIT" ]
null
null
null
from django.contrib import admin from django.core.exceptions import ValidationError from django.db import models class Excursion(models.Model): title = models.CharField(max_length=200) desc = models.TextField('description', blank=True) date = models.DateField() seats = models.PositiveSmallIntegerField...
36.984375
113
0.697507
292
2,367
5.428082
0.428082
0.059937
0.045426
0.060568
0.226498
0.166562
0.127445
0.127445
0.074448
0.074448
0
0.006821
0.194761
2,367
63
114
37.571429
0.824764
0
0
0.083333
0
0
0.135615
0.022814
0
0
0
0
0
1
0.166667
false
0
0.0625
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
a6ec353dafda7b60fa104be1fc709b7c53bfca3e
802
py
Python
compiled/construct/nav_parent_switch_cast.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/construct/nav_parent_switch_cast.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/construct/nav_parent_switch_cast.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
from construct import * from construct.lib import * nav_parent_switch_cast__foo__zero = Struct( 'branch' / LazyBound(lambda: nav_parent_switch_cast__foo__common), ) nav_parent_switch_cast__foo__one = Struct( 'branch' / LazyBound(lambda: nav_parent_switch_cast__foo__common), ) nav_parent_switch_cast__foo__common = ...
29.703704
214
0.78803
112
802
5.017857
0.267857
0.176157
0.293594
0.371886
0.624555
0.585409
0.510676
0.44484
0.44484
0.274021
0
0.009709
0.100998
802
26
215
30.846154
0.769764
0
0
0.1
0
0
0.043641
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
0
0
0
2
a6f88450dba4c369ad270f9f92a3a03ba4dfb661
610
py
Python
python/count_distinct_digits.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
python/count_distinct_digits.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
python/count_distinct_digits.py
shub0/leetcode
8221d10f201d001abcb15b27c9cf4b8cd5060f1f
[ "BSD-3-Clause" ]
null
null
null
''' Given a non-negative integer n, count all numbers with unique digits, x, where 0 < x < 10^n. Example: Given n = 2, return 91. (The answer should be the total numbers in the range of 0 < x < 100, excluding [11,22,33,44,55,66,77,88,99]) ''' class Solution(object): def countNumbersWithUniqueDigits(self, n): ...
26.521739
132
0.552459
95
610
3.547368
0.694737
0.011869
0
0
0
0
0
0
0
0
0
0.222488
0.314754
610
22
133
27.727273
0.583732
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
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
2
a6fe4c3b9aca1308b06f7d6c9535dc836935bf55
174
py
Python
app/clean.py
yuderobot/markov-note
32e2184e16191b8186c57df5eba850435b76d2b2
[ "MIT" ]
1
2021-02-19T14:03:52.000Z
2021-02-19T14:03:52.000Z
app/clean.py
yuderobot/markov-note
32e2184e16191b8186c57df5eba850435b76d2b2
[ "MIT" ]
null
null
null
app/clean.py
yuderobot/markov-note
32e2184e16191b8186c57df5eba850435b76d2b2
[ "MIT" ]
2
2021-10-12T05:13:50.000Z
2021-10-15T08:28:57.000Z
import pandas as pd df = pd.read_csv('data/tweets.csv') df = df[~df['full_text'].str.contains('RT|\@|»|https')] df.to_csv('data/tweets_processed.csv', encoding='utf_8_sig')
29
60
0.701149
32
174
3.65625
0.6875
0.119658
0.222222
0
0
0
0
0
0
0
0
0.006211
0.074713
174
5
61
34.8
0.714286
0
0
0
0
0
0.408046
0.143678
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
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
0
0
2
a6fe7af1e35bd60a25b5666383fcdd62222ce624
1,074
py
Python
boilerplate/urls.py
Promobyte/n
b3cb235c6c245b3b48e8880994cffef8f2971948
[ "MIT" ]
null
null
null
boilerplate/urls.py
Promobyte/n
b3cb235c6c245b3b48e8880994cffef8f2971948
[ "MIT" ]
10
2020-02-11T23:35:56.000Z
2022-02-17T19:11:43.000Z
boilerplate/urls.py
Promobyte/ng
b3cb235c6c245b3b48e8880994cffef8f2971948
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls import include, url # noqa from django.contrib import admin from django.views.generic import TemplateView from django.urls import include, path from service.views import ServiceList from service.views import ServiceDetail from django.utils import translation from ...
31.588235
84
0.747672
139
1,074
5.647482
0.294964
0.089172
0.053503
0.084076
0
0
0
0
0
0
0
0
0.128492
1,074
33
85
32.545455
0.838675
0.041899
0
0.08
0
0
0.096491
0.020468
0
0
0
0
0
1
0
false
0
0.52
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
47083658578f509f29ab5750cc149c0842c89002
511
py
Python
TSSystem/apps/student/migrations/0013_auto_20180607_1924.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
TSSystem/apps/student/migrations/0013_auto_20180607_1924.py
LittleBai0606/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
5
2020-06-05T18:13:28.000Z
2022-02-11T03:39:14.000Z
TSSystem/apps/student/migrations/0013_auto_20180607_1924.py
WhiteBrownBottle/TeachingSecretarySystem
c9067b83f8e1edaf06974db73b7cc47a5b49e0d4
[ "MIT" ]
null
null
null
# Generated by Django 2.0.5 on 2018-06-07 19:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('student', '0012_auto_20180607_1916'), ] operations = [ migrations.AlterField( model_name='student', name='student_pa...
26.894737
164
0.665362
54
511
6.148148
0.833333
0.066265
0
0
0
0
0
0
0
0
0
0.135678
0.221135
511
18
165
28.388889
0.698492
0.088063
0
0
1
0
0.295259
0.217672
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
2
471b858095fda906a1b28e6ede6d239359d69d10
532
py
Python
app/blueprints/bot_blueprint.py
jattoabdul/andela-genie-backend
62f49a3783a3dbf21f92449e83ca5c941053a690
[ "MIT" ]
null
null
null
app/blueprints/bot_blueprint.py
jattoabdul/andela-genie-backend
62f49a3783a3dbf21f92449e83ca5c941053a690
[ "MIT" ]
null
null
null
app/blueprints/bot_blueprint.py
jattoabdul/andela-genie-backend
62f49a3783a3dbf21f92449e83ca5c941053a690
[ "MIT" ]
null
null
null
from app.blueprints.base_blueprint import Blueprint, BaseBlueprint, request, Security, Auth from app.controllers.bot_controller import BotController url_prefix = '{}/bot'.format(BaseBlueprint.base_url_prefix) bot_blueprint = Blueprint('bot', __name__, url_prefix=url_prefix) bot_controller = BotController(request) @b...
31.294118
91
0.780075
64
532
6.21875
0.390625
0.130653
0.090452
0.085427
0
0
0
0
0
0
0
0
0.080827
532
16
92
33.25
0.813906
0
0
0
0
0
0.071429
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0.181818
0.545455
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
1
0
2
5b44f8f617dbbc8726355dc4049488c47d0b36f7
1,315
py
Python
ai_covid_19/utils/utils.py
nestauk/ai_covid_19
4367b1c7a110094f090167dbe02a1c47ce27e0e9
[ "MIT" ]
null
null
null
ai_covid_19/utils/utils.py
nestauk/ai_covid_19
4367b1c7a110094f090167dbe02a1c47ce27e0e9
[ "MIT" ]
14
2020-06-12T12:02:29.000Z
2020-06-28T12:45:14.000Z
ai_covid_19/utils/utils.py
nestauk/ai_covid_19
4367b1c7a110094f090167dbe02a1c47ce27e0e9
[ "MIT" ]
null
null
null
import numpy as np import re import random from toolz.curried import * def preview(df): '''Previews a dataframe Args: x (df) a dataframe ''' print(df.head()) return df def convert_var(var,lookup): return(var.map(lookup)) def convert_covid(var): out = convert_var(var,{True:'C...
23.482143
85
0.612167
191
1,315
4.073298
0.356021
0.064267
0.083548
0.082262
0.293059
0.182519
0.056555
0
0
0
0
0.010567
0.208365
1,315
56
86
23.482143
0.736792
0.037262
0
0.111111
0
0
0.105854
0
0
0
0
0
0
1
0.277778
false
0
0.111111
0.111111
0.416667
0.027778
0
0
0
null
0
0
0
0
0
0
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
0
0
0
2
5b4943551755f3bba451eb447ce7bcc2219f2a29
234
py
Python
webapp/build.py
DavidGeisel/machine-learning-lab
2d7a9ecae3780a5ecfe323e55b5d555ac41ce261
[ "Apache-2.0" ]
null
null
null
webapp/build.py
DavidGeisel/machine-learning-lab
2d7a9ecae3780a5ecfe323e55b5d555ac41ce261
[ "Apache-2.0" ]
null
null
null
webapp/build.py
DavidGeisel/machine-learning-lab
2d7a9ecae3780a5ecfe323e55b5d555ac41ce261
[ "Apache-2.0" ]
null
null
null
""" Build ML Lab React Webapp """ import os import subprocess import argparse # Wrapper to print out command def call(command): print("Executing: "+command) return subprocess.call(command, shell=True) call("npm run setup")
15.6
47
0.722222
32
234
5.28125
0.71875
0.130178
0
0
0
0
0
0
0
0
0
0
0.17094
234
14
48
16.714286
0.871134
0.235043
0
0
0
0
0.140351
0
0
0
0
0
0
1
0.142857
false
0
0.428571
0
0.714286
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5b67bc4f2ecf30bc3a0aaebd74c2275fbbb3a19f
129
py
Python
POO/ex04/main.py
isachlopes/Python_Orientado_Objetos
d3b79eff0585cca0786e4c99d0c79d01ef515e61
[ "MIT" ]
null
null
null
POO/ex04/main.py
isachlopes/Python_Orientado_Objetos
d3b79eff0585cca0786e4c99d0c79d01ef515e61
[ "MIT" ]
null
null
null
POO/ex04/main.py
isachlopes/Python_Orientado_Objetos
d3b79eff0585cca0786e4c99d0c79d01ef515e61
[ "MIT" ]
null
null
null
class A: vc = 234 def __init__(self): vc = 456 a = A() b = A() a.vc = 432 print(a.vc) print(b.vc) print(A.vc)
12.9
23
0.503876
25
129
2.44
0.44
0.196721
0.262295
0
0
0
0
0
0
0
0
0.102273
0.317829
129
10
24
12.9
0.590909
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0.3
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b72e1c67050eefbe47eb859b61a29f96962f2cb
2,668
py
Python
polls/models.py
vowatchka/fabrique_test_task
a876321c8c3c3197ce692f247af973432ebf84cf
[ "MIT" ]
null
null
null
polls/models.py
vowatchka/fabrique_test_task
a876321c8c3c3197ce692f247af973432ebf84cf
[ "MIT" ]
null
null
null
polls/models.py
vowatchka/fabrique_test_task
a876321c8c3c3197ce692f247af973432ebf84cf
[ "MIT" ]
null
null
null
from django.db import models class Choice(models.Model): """ Модель варианта ответа """ choice_text = models.CharField(max_length=100, verbose_name="Текст варианта ответа") question = models.ForeignKey("Question", on_delete=models.CASCADE, verbose_name="Вопрос") class Meta: verbose_na...
32.144578
133
0.688906
324
2,668
5.438272
0.287037
0.137344
0.039728
0.045403
0.308173
0.181612
0.16118
0
0
0
0
0.012541
0.193028
2,668
82
134
32.536585
0.805852
0.028486
0
0.2
0
0
0.144269
0
0
0
0
0
0
1
0.12
false
0
0.02
0.12
0.72
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5b811e8a4de244fe71aecf47d57dd7da4e293d80
1,029
py
Python
spectrumuncurver/test/test_spectroCurbatureCorrection.py
DCC-Lab/spectrumuncurver
b885cfc3d253e11103700eb45a7672b8bf228479
[ "Apache-2.0" ]
null
null
null
spectrumuncurver/test/test_spectroCurbatureCorrection.py
DCC-Lab/spectrumuncurver
b885cfc3d253e11103700eb45a7672b8bf228479
[ "Apache-2.0" ]
null
null
null
spectrumuncurver/test/test_spectroCurbatureCorrection.py
DCC-Lab/spectrumuncurver
b885cfc3d253e11103700eb45a7672b8bf228479
[ "Apache-2.0" ]
1
2020-07-20T13:53:42.000Z
2020-07-20T13:53:42.000Z
from unittest import TestCase from .. .spectrumuncurver import SpectrumUncurver from PIL import Image from scipy.optimize import curve_fit import numpy as np from matplotlib import pyplot as plt class TestSpectrumProcessor(TestCase): def setUp(self) -> None: self.processor = SpectrumUncurver() def te...
27.078947
70
0.703596
128
1,029
5.453125
0.445313
0.070201
0.08596
0.10745
0.173352
0.146132
0.077364
0
0
0
0
0.03672
0.206025
1,029
37
71
27.810811
0.817625
0
0
0.185185
0
0
0.045675
0.03207
0
0
0
0
0.074074
1
0.296296
false
0
0.222222
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
0
0
0
1
0
0
2
5b87d9344890072d51b5ec65605a79fe3b17a8f9
3,799
py
Python
src/emutils/imports.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
src/emutils/imports.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
src/emutils/imports.py
emanuele-albini/emutils
d5e3939da8a14b629879f06d87d4bd371e7117ab
[ "MIT" ]
null
null
null
""" This module contains a list of common imports Useful to rapidly start a Notebook without writing all imports manually. It will also set up the main logging.Logger ## Usage ```python from emutils.imports import * ``` ## Imports - Python Standard Modules: os, sys, time, platform, gc, math, random, collections, it...
21.223464
134
0.694393
467
3,799
5.503212
0.396146
0.042023
0.049805
0.062257
0.079767
0.079767
0
0
0
0
0
0.000996
0.207423
3,799
178
135
21.342697
0.852541
0.235852
0
0.289474
0
0
0.070115
0
0
0
0
0
0
1
0.008772
false
0.096491
0.429825
0
0.438596
0.140351
0
0
0
null
0
0
0
0
0
0
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
0
0
0
2
5b8b50e80f22b1ff5ac81a70229feaedc2879237
1,725
py
Python
votermodel/votermodel.py
ruhugu/votermodel
5f5a201754d0231bfb42a2b2299751010dd6a80e
[ "MIT" ]
null
null
null
votermodel/votermodel.py
ruhugu/votermodel
5f5a201754d0231bfb42a2b2299751010dd6a80e
[ "MIT" ]
null
null
null
votermodel/votermodel.py
ruhugu/votermodel
5f5a201754d0231bfb42a2b2299751010dd6a80e
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- from __future__ import (print_function, division, absolute_import, unicode_literals) import networkx as nx import numpy as np import random class VoterModel(object): """Voter model. Wikipedia: https://en.wikipedia.org/wiki/Voter_model """ def __ini...
26.953125
75
0.577391
192
1,725
5.0625
0.494792
0.061728
0.030864
0
0
0
0
0
0
0
0
0.005111
0.31942
1,725
63
76
27.380952
0.822828
0.296232
0
0
0
0
0
0
0
0
0
0.015873
0
1
0.173913
false
0
0.217391
0.043478
0.521739
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
5b8d4dfeada8d8fccb9fb4cb3ac8031b22dadc37
1,677
py
Python
tests/test_commandline_validate.py
sameerkhurana10/Montreal-Forced-Aligner
b64b6bf4aa0394d59236510a05453740e7e7ebf5
[ "MIT" ]
null
null
null
tests/test_commandline_validate.py
sameerkhurana10/Montreal-Forced-Aligner
b64b6bf4aa0394d59236510a05453740e7e7ebf5
[ "MIT" ]
null
null
null
tests/test_commandline_validate.py
sameerkhurana10/Montreal-Forced-Aligner
b64b6bf4aa0394d59236510a05453740e7e7ebf5
[ "MIT" ]
null
null
null
from montreal_forced_aligner.command_line.mfa import parser from montreal_forced_aligner.command_line.validate import run_validate_corpus def test_validate_corpus( multilingual_ipa_tg_corpus_dir, english_ipa_acoustic_model, english_us_ipa_dictionary, temp_dir ): command = [ "validate", multil...
23.619718
99
0.652355
181
1,677
5.519337
0.254144
0.09009
0.102102
0.138138
0.715716
0.715716
0.624625
0.566567
0.447447
0.447447
0
0
0.258199
1,677
70
100
23.957143
0.803055
0
0
0.770492
0
0
0.084675
0.012522
0
0
0
0
0
1
0.04918
false
0
0.032787
0
0.081967
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5b90497c328e1808931645b3f89237e811a764fa
619
py
Python
main.py
scrapex-io/scraping-challenge-basic
c3caa58a600f8770eb979cc05886d7248308bf99
[ "MIT" ]
null
null
null
main.py
scrapex-io/scraping-challenge-basic
c3caa58a600f8770eb979cc05886d7248308bf99
[ "MIT" ]
null
null
null
main.py
scrapex-io/scraping-challenge-basic
c3caa58a600f8770eb979cc05886d7248308bf99
[ "MIT" ]
null
null
null
import requests URL_USERS = "https://gorest.co.in/public/v2/users" URL_COMMENTS = "https://gorest.co.in/public/v2/comments" def extract_users(): """ Method for get users from API Rest :return: """ r = requests.get(url=URL_USERS) return r.json() def extract_comments(): """ Method for...
19.967742
69
0.654281
82
619
4.756098
0.512195
0.061538
0.066667
0.076923
0.117949
0.117949
0
0
0
0
0
0.004149
0.221325
619
30
70
20.633333
0.804979
0.250404
0
0
0
0
0.353774
0
0
0
0
0.033333
0
1
0.153846
false
0.076923
0.076923
0
0.307692
0.230769
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
1
0
0
0
0
0
2
5b96a678ed44fbc0170f4cf33034df259a65bc46
895
py
Python
qipr/registry/utils.py
ctsit/qipr
3f0ef102d81a859c955f918b74037d199b4d6a00
[ "Apache-2.0" ]
2
2017-02-10T15:07:51.000Z
2017-02-10T15:08:01.000Z
qipr/registry/utils.py
ctsit/qipr
3f0ef102d81a859c955f918b74037d199b4d6a00
[ "Apache-2.0" ]
11
2016-08-03T13:18:08.000Z
2017-01-24T14:19:59.000Z
qipr/registry/utils.py
ctsit/qipr
3f0ef102d81a859c955f918b74037d199b4d6a00
[ "Apache-2.0" ]
5
2016-07-29T17:12:43.000Z
2016-12-19T15:56:14.000Z
import uuid def set_created_by_if_empty(model, user): """ This function is called by our save function because django throws exceptions on object access if something doesn't exist. You cannot dereference a related field if it doesn't exist. Meaning you have to do a try except block. """ try...
24.189189
66
0.658101
131
895
4.366412
0.48855
0.047203
0.041958
0.066434
0
0
0
0
0
0
0
0.001529
0.269274
895
36
67
24.861111
0.873089
0.365363
0
0.380952
0
0
0
0
0
0
0
0
0
1
0.238095
false
0
0.047619
0.047619
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5bb090f0a9fb8fbf27d290cbd5f679ebb99b7b62
2,188
py
Python
tests/conftest.py
przemekk1385/django-oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
null
null
null
tests/conftest.py
przemekk1385/django-oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
3
2022-03-02T18:08:13.000Z
2022-03-02T18:29:33.000Z
tests/conftest.py
przemekk1385/django_oac
379b29921551ea1d53edb5e3fbb6fa8d3c972acb
[ "MIT" ]
null
null
null
from copy import copy from unittest.mock import Mock import jwt import pytest from django.contrib.auth.models import AnonymousUser from django.core.cache import cache from django.test import RequestFactory from jwcrypto.jwk import JWK, JWKSet from .common import QUERY_DICT, SESSION_DICT class JWKTestHelper: __s...
22.556701
85
0.647623
268
2,188
5.037313
0.302239
0.048889
0.047407
0.056296
0.056296
0.056296
0.056296
0.056296
0.056296
0.056296
0
0.008368
0.235375
2,188
96
86
22.791667
0.798565
0.006399
0
0.144928
0
0
0.030861
0
0
0
0
0
0
1
0.202899
false
0.014493
0.130435
0.072464
0.521739
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
5bb6be6462f1b05bd57a858fd3bc47ac72fd1813
852
py
Python
card/games/sjuan/moves.py
kvackkvack/cards
b96af8a9ffa296ae80c7684a4b6678be53217ce4
[ "MIT" ]
null
null
null
card/games/sjuan/moves.py
kvackkvack/cards
b96af8a9ffa296ae80c7684a4b6678be53217ce4
[ "MIT" ]
null
null
null
card/games/sjuan/moves.py
kvackkvack/cards
b96af8a9ffa296ae80c7684a4b6678be53217ce4
[ "MIT" ]
null
null
null
from card import * from .sjuan_card_stack import * @adt class SjuanAction: SKIP: Case ASK_FOR_CARDS: Case def __str__(self): return self.match( skip = lambda: "skip", ask_for_cards = lambda: "ask for cards" ) @adt class SjuanInsert: SJUAN...
23.027027
60
0.549296
96
852
4.645833
0.354167
0.017937
0.073991
0.107623
0.168161
0.168161
0
0
0
0
0
0
0.346244
852
36
61
23.666667
0.800718
0
0
0.310345
0
0
0.099765
0
0
0
0
0
0
1
0.103448
false
0
0.068966
0.103448
0.586207
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
1
0
0
2
5bba7f9974f0fe67b7960d20023c9e2ccc835478
338
py
Python
Different_person.py
yahyanik/phd_research
ac77562a094ce17eef303af882c709452efafc7c
[ "MIT" ]
null
null
null
Different_person.py
yahyanik/phd_research
ac77562a094ce17eef303af882c709452efafc7c
[ "MIT" ]
null
null
null
Different_person.py
yahyanik/phd_research
ac77562a094ce17eef303af882c709452efafc7c
[ "MIT" ]
null
null
null
import numpy as np import cv2 #import matplotlib.pyplot as plt from collections import deque import imutils from KCF_tracker import tracker import argparse import sys class find_person: def __init__ (self,a): self.direction = [] for track in a : self.direction.append(a[track...
19.882353
50
0.668639
45
338
4.888889
0.644444
0.118182
0.127273
0
0
0
0
0
0
0
0
0.004049
0.269231
338
17
51
19.882353
0.88664
0.091716
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.583333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5bc4a23038ee5b6bc88961f946ddd85c58bb965b
10,688
py
Python
model.py
nuguziii/ResidualDenoising
f3ae8a10a1fab86a80cd7bbbe6d6fb92e7bd9a6d
[ "MIT" ]
null
null
null
model.py
nuguziii/ResidualDenoising
f3ae8a10a1fab86a80cd7bbbe6d6fb92e7bd9a6d
[ "MIT" ]
null
null
null
model.py
nuguziii/ResidualDenoising
f3ae8a10a1fab86a80cd7bbbe6d6fb92e7bd9a6d
[ "MIT" ]
null
null
null
import numpy as np import torch import torch.nn as nn import torch.nn.init as init import os import torch.nn.functional as F from utils import * class Model(nn.Module): def __init__(self, model_dir=None, model_name=[]): super(Model, self).__init__() #self.DNet = torch.load(os.path.join(model_dir, m...
34.477419
141
0.57747
1,618
10,688
3.630408
0.07602
0.068607
0.010215
0.02809
0.780048
0.737828
0.708376
0.636704
0.600613
0.587675
0
0.066121
0.268432
10,688
309
142
34.588997
0.685126
0.015531
0
0.53012
0
0
0.007608
0
0
0
0
0
0
1
0.088353
false
0
0.028112
0
0.204819
0
0
0
0
null
0
0
0
0
1
1
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
2
5bce24c724e70cff167c31edd656705461d5000b
248
py
Python
server/ffstore/constant/WxToken.py
AsherYang/ThreeLine
351dc8bfd1c0a536ffbf36ce8b1af953cc71f93a
[ "Apache-2.0" ]
1
2017-05-02T10:02:28.000Z
2017-05-02T10:02:28.000Z
server/ffstore/constant/WxToken.py
AsherYang/ThreeLine
351dc8bfd1c0a536ffbf36ce8b1af953cc71f93a
[ "Apache-2.0" ]
null
null
null
server/ffstore/constant/WxToken.py
AsherYang/ThreeLine
351dc8bfd1c0a536ffbf36ce8b1af953cc71f93a
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python # -*- coding:utf-8 -*- """ Author: AsherYang Email: ouyangfan1991@gmail.com Date: 2018/6/21 Desc: ffStore 微信小程序直营店在微信申请的测试 AppId, AppSecret """ APP_ID = 'wx72877ae8bdff79b0' APP_SECRET = '35c17c2b6f81e7b03735f17f546820bc'
19.076923
49
0.729839
27
248
6.62963
0.962963
0
0
0
0
0
0
0
0
0
0
0.199074
0.129032
248
12
50
20.666667
0.62963
0.629032
0
0
0
0
0.60241
0.385542
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
5bdc70ca06cc34e56b74c48fa1591b6c52375528
8,973
py
Python
src/stimulus_create.py
JohnKirwan/StimulPy
4cce54856a19de56d1b266f2013e66987459ed3c
[ "MIT" ]
null
null
null
src/stimulus_create.py
JohnKirwan/StimulPy
4cce54856a19de56d1b266f2013e66987459ed3c
[ "MIT" ]
null
null
null
src/stimulus_create.py
JohnKirwan/StimulPy
4cce54856a19de56d1b266f2013e66987459ed3c
[ "MIT" ]
null
null
null
def stimulus_create(type, wl, va, ratio): # STIMULUS_CREATE generates a 2D stimulus vector for phototaxis experiments of desired type and resolution # Inputs: # type - type of stimulus, e.g. 'bar'/'dog'/'square'/'log' (see below for full list) # wl - "width" or "wavelength" of pattern in degre...
70.653543
146
0.608381
1,317
8,973
4.077449
0.172361
0.017318
0.035754
0.041713
0.603352
0.567039
0.551397
0.537244
0.488641
0.466667
0
0.043084
0.249861
8,973
126
147
71.214286
0.754717
0
0
0.22619
1
0
0.010868
0
0
0
0
0
0
0
null
null
0
0.02381
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
2
5be520c176df8c9950327e78b398e3917a490a73
572
py
Python
mmaction/models/losses/arc_softmax.py
dqawami/mmaction2
17cf1888cef7e9e178690ef207dc92ba6dbfe715
[ "Apache-2.0" ]
2
2021-03-11T12:25:28.000Z
2021-03-13T13:35:59.000Z
mmaction/models/losses/arc_softmax.py
dqawami/mmaction2
17cf1888cef7e9e178690ef207dc92ba6dbfe715
[ "Apache-2.0" ]
2
2021-04-05T09:42:10.000Z
2021-09-01T17:34:20.000Z
mmaction/models/losses/arc_softmax.py
dqawami/mmaction2
17cf1888cef7e9e178690ef207dc92ba6dbfe715
[ "Apache-2.0" ]
3
2020-10-30T11:11:28.000Z
2021-03-21T00:17:32.000Z
import torch import torch.nn.functional as F from ..registry import LOSSES from .metric_learning_base import BaseMetricLearningLoss @LOSSES.register_module() class ArcLoss(BaseMetricLearningLoss): """Computes the Arc loss: https://arxiv.org/pdf/1904.13148.pdf """ def __init__(self, **kwargs): su...
27.238095
95
0.708042
72
572
5.388889
0.652778
0.056701
0
0
0
0
0
0
0
0
0
0.021142
0.173077
572
20
96
28.6
0.799154
0.103147
0
0
0
0
0.007968
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5be96b53f19ce400d2e6a873c5503c0517f91811
93
py
Python
fooqt/_version_save.py
paulmueller/travisCI-macOSx-PyQt-pyinstaller
32b6acd8d8ced8855db23387f2c0069e734a53cb
[ "MIT" ]
3
2018-10-17T13:03:32.000Z
2020-11-11T10:51:21.000Z
fooqt/_version_save.py
paulmueller/travisCI-macOSx-PyQt-pyinstaller
32b6acd8d8ced8855db23387f2c0069e734a53cb
[ "MIT" ]
null
null
null
fooqt/_version_save.py
paulmueller/travisCI-macOSx-PyQt-pyinstaller
32b6acd8d8ced8855db23387f2c0069e734a53cb
[ "MIT" ]
null
null
null
#!/usr/bin/env python # This file was created automatically longversion = '0.2.2-1-g9c91991'
23.25
37
0.741935
15
93
4.6
0.933333
0
0
0
0
0
0
0
0
0
0
0.121951
0.11828
93
3
38
31
0.719512
0.602151
0
0
0
0
0.457143
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
7513ff5add6b73fcd1384d95d2b1837bb279a0e4
236
py
Python
medica_api/core/urls.py
aseem-hegshetye/Django_Rest_Api
663693b4003d012029fc3365f01b171824229344
[ "MIT" ]
null
null
null
medica_api/core/urls.py
aseem-hegshetye/Django_Rest_Api
663693b4003d012029fc3365f01b171824229344
[ "MIT" ]
15
2020-06-06T00:44:36.000Z
2022-03-12T00:18:42.000Z
medica_api/core/urls.py
aseem-hegshetye/Django_Rest_Api
663693b4003d012029fc3365f01b171824229344
[ "MIT" ]
null
null
null
from rest_framework.routers import DefaultRouter from django.urls import path, include from .views import * router = DefaultRouter() router.register('user', User, basename='user') urlpatterns = [ path('', include(router.urls)) ]
19.666667
48
0.741525
28
236
6.214286
0.571429
0.126437
0
0
0
0
0
0
0
0
0
0
0.135593
236
11
49
21.454545
0.852941
0
0
0
0
0
0.033898
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
751af216f0939b9c18826cc307ee3065d3b19f72
764
py
Python
PDSA/Week 1/Graded/3.py
tanav2202/IITM-Assignments
6596daf7a39a254f85ccfadc80cb33b01d7b1910
[ "MIT" ]
null
null
null
PDSA/Week 1/Graded/3.py
tanav2202/IITM-Assignments
6596daf7a39a254f85ccfadc80cb33b01d7b1910
[ "MIT" ]
null
null
null
PDSA/Week 1/Graded/3.py
tanav2202/IITM-Assignments
6596daf7a39a254f85ccfadc80cb33b01d7b1910
[ "MIT" ]
null
null
null
def odd_one(L): d={} for i in L: try: if(type(i) == str): d['str']+=1 if(type(i) == bool): d['bool']+=1 if(type(i) == int): d['int']+=1 if(type(i) == float): d['float']+=1 ...
23.875
37
0.332461
94
764
2.680851
0.319149
0.190476
0.222222
0.190476
0.52381
0.52381
0.52381
0.52381
0.52381
0.52381
0
0.030227
0.480366
764
32
37
23.875
0.604534
0
0
0.285714
0
0
0.039216
0
0
0
0
0
0
1
0.035714
false
0
0
0
0.107143
0.035714
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
0
0
0
2
752e54d82b6baced0d7e1660f4b291e11de5b92b
1,095
py
Python
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/categorical_data.py
nazareno56/machinelearning-az
12fc471ac8d08b511a22558b7fb1ff2b57bab6de
[ "MIT" ]
null
null
null
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/categorical_data.py
nazareno56/machinelearning-az
12fc471ac8d08b511a22558b7fb1ff2b57bab6de
[ "MIT" ]
null
null
null
datasets/Part 1 - Data Preprocessing/Section 2 -------------------- Part 1 - Data Preprocessing --------------------/categorical_data.py
nazareno56/machinelearning-az
12fc471ac8d08b511a22558b7fb1ff2b57bab6de
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Thu Feb 28 13:19:06 2019 @author: juangabriel """ # Plantilla de Pre Procesado - Datos Categóricos # Cómo importar las librerías import numpy as np import matplotlib.pyplot as plt import pandas as pd # Importar el data set dataset = pd.read_csv('Data.csv...
31.285714
137
0.722374
152
1,095
5.125
0.618421
0.050064
0.053915
0.066752
0
0
0
0
0
0
0
0.029801
0.172603
1,095
35
138
31.285714
0.830022
0.407306
0
0
0
0
0.041074
0
0
0
0
0
0
1
0
false
0.066667
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
753db29f7ca0b3d57786f6d579849804ab41f79a
665
py
Python
apps/blog/mixins.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
2
2021-08-17T13:29:21.000Z
2021-09-04T05:00:01.000Z
apps/blog/mixins.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-07-16T11:22:32.000Z
2020-07-16T11:22:32.000Z
apps/blog/mixins.py
dryprojects/MyBlog
ec04ba2bc658e96cddeb1d4766047ca8e89ff656
[ "BSD-3-Clause" ]
1
2020-09-18T10:41:59.000Z
2020-09-18T10:41:59.000Z
# -*- coding:utf-8 -*- __author__ = 'Ren Kang' __date__ = '2018/3/27 19:05' from django.http import JsonResponse class JSONResponseMixin: """ a mixin that can be used to render a JSON response """ def render_to_response(self, context, **response_kwargs): """ :param cont...
24.62963
75
0.574436
74
665
4.959459
0.608108
0.114441
0.114441
0
0
0
0
0
0
0
0
0.026549
0.320301
665
27
76
24.62963
0.785398
0.320301
0
0
0
0
0.069277
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
7558bfa8001faf2bdbf433c4fb30d2420e02470d
1,068
py
Python
callbacks/visdom_callback.py
AIS-Bonn/temporal_latticenet
02b60a69c82da909417f32fdd184321945a604d1
[ "MIT" ]
null
null
null
callbacks/visdom_callback.py
AIS-Bonn/temporal_latticenet
02b60a69c82da909417f32fdd184321945a604d1
[ "MIT" ]
null
null
null
callbacks/visdom_callback.py
AIS-Bonn/temporal_latticenet
02b60a69c82da909417f32fdd184321945a604d1
[ "MIT" ]
null
null
null
from callbacks.callback import * from callbacks.vis import * class VisdomCallback(Callback): def __init__(self, experiment_name): self.vis=Vis("lnn", 8097) # self.iter_nr=0 self.experiment_name=experiment_name def after_forward_pass(self, phase, loss, loss_dice, lr, pred_softmax, targ...
53.4
162
0.700375
157
1,068
4.464968
0.318471
0.1398
0.154066
0.085592
0.46505
0.46505
0.435093
0.363766
0.363766
0.350927
0
0.01768
0.152622
1,068
20
163
53.4
0.756906
0.400749
0
0
0
0
0.022047
0
0
0
0
0
0
1
0.3
false
0.1
0.2
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
f334941419dcf2217c67d295f355f106aacc212c
1,265
py
Python
typelike/tests/core/test_list.py
LockhartLab/typelike
bc959a5348133f24e5f5df3f4f7976fc062b2e05
[ "MIT" ]
null
null
null
typelike/tests/core/test_list.py
LockhartLab/typelike
bc959a5348133f24e5f5df3f4f7976fc062b2e05
[ "MIT" ]
null
null
null
typelike/tests/core/test_list.py
LockhartLab/typelike
bc959a5348133f24e5f5df3f4f7976fc062b2e05
[ "MIT" ]
null
null
null
""" test_list.py written in Python3 author: C. Lockhart """ from typelike.core import ListLike from hypothesis import given import hypothesis.strategies as st import numpy as np import pandas as pd import unittest # Contents __all__ = [ 'TestList' ] # Test typelike/core/list.py class TestList(unittest.TestCas...
28.111111
94
0.680632
173
1,265
4.884393
0.312139
0.04142
0.142012
0.16568
0.570414
0.570414
0.523077
0.523077
0.523077
0.392899
0
0.001903
0.16917
1,265
45
95
28.111111
0.802093
0.094071
0
0.296296
0
0
0.007036
0
0
0
0
0.022222
0.185185
1
0.185185
false
0
0.222222
0
0.444444
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
1
0
0
0
0
0
0
0
0
0
0
2
f33c856e8fe096a3d7793a81f6b7f5325ea10432
1,543
py
Python
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
tirma/__main__.py
franpoz/tirma
40905210cbfe6ab2dc40d3f5707850e390ccabb5
[ "MIT" ]
null
null
null
import os import yaml from argparse import ArgumentParser from os import path from tirma.tirma import TIRMA if __name__ == '__main__': current_path = os.path.dirname(os.path.realpath(__file__)) ap = ArgumentParser(description='Sherlock Inject&Recovery tool') ap.add_argument('--dir', default="./", help="W...
51.433333
112
0.714841
187
1,543
5.534759
0.363636
0.229952
0.275362
0.072464
0.050242
0
0
0
0
0
0
0
0.167855
1,543
29
113
53.206897
0.806075
0
0
0
0
0
0.189242
0
0
0
0
0
0
1
0
false
0
0.192308
0
0.192308
0.038462
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
0
0
2
f349cfad9cec3cea9ca00cc8741bef50c2e3e69b
1,359
py
Python
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
4
2017-04-08T12:55:11.000Z
2020-12-05T21:09:31.000Z
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
7
2018-04-23T01:30:33.000Z
2020-10-30T23:56:14.000Z
compiled/python/js_signed_right_shift.py
smarek/ci_targets
c5edee7b0901fd8e7f75f85245ea4209b38e0cb3
[ "MIT" ]
6
2017-04-08T11:41:14.000Z
2020-10-30T22:47:31.000Z
# This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild from pkg_resources import parse_version import kaitaistruct from kaitaistruct import KaitaiStruct, KaitaiStream, BytesIO if parse_version(kaitaistruct.__version__) < parse_version('0.9'): raise Exception("Incompati...
35.763158
132
0.718911
189
1,359
4.746032
0.338624
0.124861
0.147157
0.173913
0.399108
0.383501
0.354515
0.280936
0.280936
0.280936
0
0.107834
0.201619
1,359
37
133
36.72973
0.718894
0.07064
0
0.24
1
0
0.161239
0.05004
0
0
0
0
0
1
0.16
false
0.04
0.12
0
0.48
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
0
0
0
0
0
0
0
0
0
0
0
2
f34f27483532b5547cd067bf3e35e862903166e7
10,223
py
Python
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
Python/met_brewer/palettes.py
dataspider/MetBrewer
723d2ed43d0be7f1fde39527be300cc50865020e
[ "CC0-1.0" ]
null
null
null
from colour import Color from matplotlib.colors import LinearSegmentedColormap, to_hex MET_PALETTES = dict( Austria=dict(colors=("#a40000", "#16317d", "#007e2f", "#ffcd12", "#b86092", "#721b3e", "#00b7a7"), order=(1, 2, 3, 4, 6, 5, 7), colorblind=False), Cassatt1=dict(colors=("#b1615c", "#d88782", "#e3aba7", "...
76.291045
252
0.577913
1,348
10,223
4.353116
0.378338
0.085208
0.02454
0.00818
0.108725
0.068678
0.063565
0.061691
0.048739
0.039877
0
0.218117
0.155532
10,223
133
253
76.864662
0.461601
0
0
0.153846
0
0
0.297662
0
0
0
0
0
0
1
0.019231
false
0
0.028846
0
0.067308
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f357722e828fbb3e6184da8f11524b64bb6365ce
578
py
Python
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
2
2019-04-17T13:04:23.000Z
2020-10-04T10:28:27.000Z
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
null
null
null
rastervision/data/label_store/label_store.py
aaron8tang/raster-vision
a1af78bafb8f19ccc40c476adb551bdc23a33611
[ "Apache-2.0" ]
null
null
null
from abc import ABC, abstractmethod class LabelStore(ABC): """This defines how to store prediction labels are stored for a scene. """ @abstractmethod def save(self, labels): """Save. Args: labels - Labels to be saved, the type of which will be dependant on the type ...
21.407407
87
0.576125
67
578
4.940299
0.58209
0.154079
0.054381
0
0
0
0
0
0
0
0
0
0.34083
578
26
88
22.230769
0.868766
0.427336
0
0.545455
0
0
0
0
0
0
0
0
0
1
0.272727
false
0.272727
0.090909
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
0
0
0
2
f36270ffc910141d9277e13fd2f64f8e20587210
1,100
py
Python
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
1
2018-12-12T16:49:42.000Z
2018-12-12T16:49:42.000Z
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
null
null
null
test_clock.py
keldwud/ball-clock
1f360328fbd5fb10e902fbe7d5cc9739e0f48f83
[ "MIT" ]
1
2021-05-28T21:59:42.000Z
2021-05-28T21:59:42.000Z
#!/usr/bin/env python import unittest from clock import how_many_balls from clock import minute_balls from clock import five_minute_balls from clock import hour_balls from clock import run_ball_queue class BallsTestCase(unittest.TestCase): """Tests for `ball-clock.py`.""" def test_how_many_balls_min_balls(self):...
24.444444
79
0.722727
158
1,100
4.746835
0.335443
0.117333
0.1
0.106667
0.245333
0
0
0
0
0
0
0.012009
0.167273
1,100
44
80
25
0.806769
0.267273
0
0
0
0
0.01043
0
0
0
0
0
0.285714
1
0.285714
false
0
0.285714
0
0.619048
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
f3632472aa4ff867ac9b5926766ce574661402f2
220
py
Python
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
12
2018-04-26T03:58:35.000Z
2021-07-05T17:13:55.000Z
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
4
2019-08-21T14:35:36.000Z
2020-04-14T19:25:08.000Z
RoboChrome.roboFontExt/lib/_doc.py
roboDocs/RoboChrome
8891f7115e16c54cdb2b1452f02731b294b47ff2
[ "MIT" ]
3
2019-08-21T14:38:53.000Z
2021-03-30T19:54:25.000Z
from colorfont import ColorFont import pydoc from mojo.UI import HelpWindow doc = pydoc.HTMLDoc() html = doc.document(ColorFont) HelpWindow(htmlString=html) html = doc.document(ColorGlyph) HelpWindow(htmlString=html)
18.333333
31
0.804545
28
220
6.321429
0.464286
0.169492
0.169492
0
0
0
0
0
0
0
0
0
0.109091
220
11
32
20
0.903061
0
0
0.25
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f36c3c469c723fce76cb22904c9662d3e5c20302
253
py
Python
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
Databases/kw_args.py
BrandonP321/Python-masterclass
fac81fe4f8acfa37076820405d96132f9f23b311
[ "MIT" ]
null
null
null
def print_backwards(*args, **kwargs): print(kwargs) for word in args[::-1]: print(word[::-1], end=' ', **kwargs) with open("backwards.txt", 'w') as backwards: print_backwards("hellow", "all", "of", "my", "friends", file=backwards)
28.111111
75
0.600791
33
253
4.545455
0.636364
0.186667
0
0
0
0
0
0
0
0
0
0.009615
0.177866
253
9
75
28.111111
0.711538
0
0
0
0
0
0.137795
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
2
f38a78cfd7991b1a1d0b33a7701551b5ead6e428
8,007
py
Python
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
tests/test_compiler/test_analyzer.py
gmantelet/python-lyth
80d467066c578308ecb5c3f274ae0da63e09693c
[ "BSD-2-Clause" ]
null
null
null
import pytest from lyth.compiler.analyzer import Analyzer from lyth.compiler.error import LythError from lyth.compiler.error import LythSyntaxError from lyth.compiler.lexer import Lexer from lyth.compiler.parser import Parser from lyth.compiler.scanner import Scanner from lyth.compiler.symbol import Field from lyth.co...
35.118421
87
0.665043
1,059
8,007
4.745987
0.129367
0.129328
0.132312
0.091524
0.771588
0.728213
0.687823
0.6538
0.610824
0.553323
0
0.011233
0.188335
8,007
227
88
35.273128
0.762117
0.096915
0
0.468531
0
0
0.139842
0.00605
0
0
0
0
0.545455
1
0.048951
false
0
0.06993
0
0.132867
0.013986
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
f390722a9b7bcdeb7da50b02a843069961e64cc1
188
py
Python
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
First_Week/Sum/SumPow.py
IngeniariusSoftware/Itmo-course-apsd
34de904fd85a6fe4b32e422524d6d7993891bb7d
[ "MIT" ]
null
null
null
input = open('input.txt'); output = open('output.txt' , 'w'); tokens = input.readline().split(' '); input.close(); output.write(str(int(tokens[0]) + int(tokens[1]) ** 2)); output.close();
26.857143
56
0.62234
27
188
4.333333
0.555556
0.153846
0
0
0
0
0
0
0
0
0
0.017751
0.101064
188
6
57
31.333333
0.674556
0
0
0
0
0
0.111702
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
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f39c50849b8851bc8f0536a6aa119129e72c9a55
241
py
Python
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
classes/Result.py
matteocarde/asp2logic
ceaa3cffd1ccdf9a838d30652670235ea960a537
[ "MIT" ]
null
null
null
class Result: name: str optimum: int status: str time: float def __init__(self, name, optimum, status, time): self.name = name self.optimum = optimum self.status = status self.time = time
20.083333
52
0.580913
29
241
4.689655
0.413793
0.117647
0
0
0
0
0
0
0
0
0
0
0.3361
241
12
53
20.083333
0.85
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
f3ac54e5baaf1fbb9f3af5df5b163c7b09e17f38
580
py
Python
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
Data Structure and Algorithm/queue.py
mass9/Python
66499164e36a4fe9630029d34b292ab06f849b2f
[ "MIT" ]
null
null
null
#FIFO - first -> first class Queue: def __init__(self): self.queue = [] def isEmpty(self): return self.queue == [] def enqueue(self, data): self.queue.append(data) def dequeue(self): data = self.queue[0] del self.queue[0] return data def peek(self): return self.queu...
17.575758
36
0.627586
76
580
4.736842
0.289474
0.175
0.083333
0.105556
0.147222
0
0
0
0
0
0
0.019824
0.217241
580
33
37
17.575758
0.773128
0.036207
0
0.173913
0
0
0.034221
0
0
0
0
0
0
1
0.26087
false
0
0
0.130435
0.478261
0.173913
0
0
0
null
0
0
0
0
0
0
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
0
0
0
2
f3b44bdff1ca02bf28255b4fffea8cfa25a95921
2,026
py
Python
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
null
null
null
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
2
2021-02-08T20:36:58.000Z
2022-03-29T21:58:35.000Z
Utilities/DataIndexer.py
chrisbvt/ML-MalwareDetection
e00d0a0026a7c28886c3d2ab8ca9933e60f049cc
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import argparse from IPython.display import display def main(): parser = argparse.ArgumentParser(description="Imports Indexer for Blue Sentry") parser.add_argument("--output_file", help="File that the imports are indexed to", required=True) parser.add_argument("--inp...
34.338983
117
0.580454
242
2,026
4.706612
0.42562
0.067603
0.059701
0.055312
0.129061
0.052678
0.052678
0.052678
0.052678
0
0
0.011561
0.316881
2,026
58
118
34.931034
0.811416
0.023692
0
0.139535
0
0
0.204557
0
0
0
0
0
0
0
null
null
0
0.465116
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
2
f3bcdf1ad279384376d48ed25c37d5fbb8f3c8c5
1,269
py
Python
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
2
2018-07-13T20:50:35.000Z
2018-07-13T20:50:38.000Z
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
null
null
null
app/intent_education/__init__.py
drabekj/OttoBotServer
76a4e5d9d1ac22eb171545c8b9ce558bb95e269f
[ "MIT" ]
null
null
null
import static.strings as strings import static.strings_edu as strings_edu from app import ResponseBuilder, AlexaRequest def handle_education(request): """ Generate response to intent type EducateIntent with explanation of the asked investing term. :type request AlexaRequest :return: JSON response incl...
38.454545
96
0.72104
153
1,269
5.69281
0.379085
0.172216
0.208955
0.068886
0
0
0
0
0
0
0
0
0.192277
1,269
32
97
39.65625
0.849756
0.141056
0
0
1
0
0.11257
0
0
0
0
0
0
1
0.043478
false
0
0.130435
0
0.217391
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
f3c3dc1e5c41c6163046ac553b2189e018536414
198
py
Python
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
17
2016-11-24T20:46:37.000Z
2021-06-09T05:48:02.000Z
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
22
2016-05-11T18:09:25.000Z
2018-07-19T17:20:32.000Z
Python/now.py
jgstew/tools
977361bc1410ebda7199ab3ca2020b53d24d270c
[ "MIT" ]
10
2016-10-13T21:45:00.000Z
2022-03-11T15:18:44.000Z
""" Return the current time in the same format is BigFix Relevance. """ import datetime time_now = datetime.datetime.now(datetime.timezone.utc) print(time_now.strftime("%a, %d %b %Y %H:%M:%S %z"))
24.75
63
0.712121
33
198
4.212121
0.757576
0.100719
0
0
0
0
0
0
0
0
0
0
0.126263
198
7
64
28.285714
0.803468
0.318182
0
0
0
0
0.188976
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
f3c481b46a46b8966c695a026cbd5751fb9011cb
1,433
py
Python
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
h1st/trust/describable.py
TheVinhLuong102/H1st
0c6f56d3a078817c36b208ae4f4c519cb35d5c18
[ "Apache-2.0" ]
null
null
null
from .shap_model_describer import SHAPModelDescriber # TODO: fix from .enums import Constituency, Aspect from .describer import Describer class Describable: """ A *Trustworthy-AI* interface that defines the capabilities of objects (e.g., `Models`, `Graphs`) that are `Describable, i.e., they can self-desc...
38.72973
104
0.680391
168
1,433
5.738095
0.505952
0.03112
0.037344
0.03527
0.056017
0
0
0
0
0
0
0
0.240056
1,433
36
105
39.805556
0.885216
0.485694
0
0
0
0
0.040248
0
0
0
0
0.027778
0
1
0.2
false
0
0.2
0.066667
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
1
0
0
0
0
0
0
0
1
0
0
2
f3c95fb934cfd2b0fe4d7578795bc7c600fa9619
2,103
py
Python
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
mmdet/models/necks/__init__.py
HenryOsborne/xViewDetection
28bbeb263b05c4c892eae87713e34c62cbe606d5
[ "Apache-2.0" ]
null
null
null
from .bfp import BFP from .channel_mapper import ChannelMapper from .fpg import FPG from .fpn import FPN from .fpn_carafe import FPN_CARAFE from .hrfpn import HRFPN from .nas_fpn import NASFPN from .nasfcos_fpn import NASFCOS_FPN from .pafpn import PAFPN from .rfp import RFP from .yolo_neck import YOLOV3Neck from .glne...
44.744681
120
0.785069
220
2,103
7.354545
0.313636
0.048208
0.012361
0.032138
0.304079
0.260816
0.156984
0
0
0
0
0.006448
0.115074
2,103
46
121
45.717391
0.862977
0
0
0
0
0
0.258678
0.023776
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
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
2
45e774721006510df771e653de8130abe3dba891
2,713
py
Python
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
mapillary_tools/commands/extract_import_meta_data.py
pesak/mapillary_tools
d433b0cf3986a5c9cbc56b216b38f36dd7e8391d
[ "BSD-2-Clause" ]
null
null
null
from mapillary_tools.process_import_meta_properties import process_import_meta_properties class Command: name = 'extract_import_meta_data' help = "Process unit tool : Extract and process import meta properties." def add_basic_arguments(self, parser): parser.add_argument( '--rerun', h...
66.170732
402
0.708441
367
2,713
5.111717
0.332425
0.047974
0.090618
0.093817
0.389659
0.389659
0.354478
0.310768
0.238806
0.238806
0
0.008809
0.204939
2,713
40
403
67.825
0.860918
0.007741
0
0.333333
0
0.1
0.522871
0.02752
0
0
0
0
0
1
0.133333
false
0.033333
0.366667
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
45e9e05a20d518349e1d0b2f460fca1b795a82e9
9,890
py
Python
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
1
2020-02-13T21:13:08.000Z
2020-02-13T21:13:08.000Z
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
null
null
null
inmoov/scripts/Structures_new.py
mish3albaiz/Robotics_ECE579
efb654040015671a0656eaee4c78ec085d862996
[ "BSD-3-Clause" ]
null
null
null
import time from Servo import Servo # members of each class: # finger: bend, bend_max, straighten_max # hand: straighten_all_fingers, make_fist, move_all_fingers # wrist: rotate # forearm: # shoulder: flex/extend, abduction_up/abduction_down, rotation_internal/rotation_external, rotation_up/rotation_down, # arm: # to...
29.522388
138
0.617796
1,315
9,890
4.513308
0.14981
0.024263
0.021567
0.026959
0.350295
0.255434
0.198989
0.149958
0.058635
0.017186
0
0.004518
0.283822
9,890
334
139
29.610778
0.833404
0.241456
0
0.103175
0
0
0.028545
0
0
0
0
0.01497
0
1
0.206349
false
0
0.015873
0
0.261905
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
2
3415b7b36fe73ac8e78b9b0821b2a77617ee2095
581
py
Python
jupyter_geppetto/handlers.py
sanjayankur31/org.geppetto.frontend.jupyter
1ddaa59fa115df47b1f01ca287a0029619ff7e8e
[ "MIT" ]
4
2018-05-06T05:53:29.000Z
2021-03-06T16:28:15.000Z
jupyter-geppetto/jupyter_geppetto/handlers.py
MetaCell/geppetto-meta
1c73ad040de2c3b81b3514dbb8126237662f6c11
[ "MIT" ]
237
2021-03-17T09:40:17.000Z
2022-03-30T11:09:44.000Z
jupyter-geppetto/jupyter_geppetto/handlers.py
MetaCell/geppetto-meta
1c73ad040de2c3b81b3514dbb8126237662f6c11
[ "MIT" ]
4
2016-11-08T17:12:33.000Z
2021-04-13T11:07:27.000Z
import logging from jupyter_geppetto.service import PathService from .settings import template_path, home_page from .webapi import get class GeppettoController: @get('/geppettoprojects') def getProjects(self, **kwargs): # TODO still no project handling here. return {} @get(home_page) ...
24.208333
73
0.662651
63
581
6
0.666667
0.063492
0
0
0
0
0
0
0
0
0
0
0.258176
581
23
74
25.26087
0.87703
0.061962
0
0
0
0
0.093923
0
0
0
0
0.043478
0
1
0.125
false
0
0.25
0.0625
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
1
0
0
2
34275cbd7c4a75b5049827255a7fa18f83a6f781
3,518
py
Python
day9-stream-processing/run.py
mg6/advent-of-code-2017
d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169
[ "MIT" ]
null
null
null
day9-stream-processing/run.py
mg6/advent-of-code-2017
d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169
[ "MIT" ]
null
null
null
day9-stream-processing/run.py
mg6/advent-of-code-2017
d7e60cfdfa3ea0cf9973afcb9ff371b46f23d169
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 def parse_garbage(stream): stream = iter(stream) while True: try: c = next(stream) except StopIteration: return else: if c == '!': next(stream) elif c == '>': return else:...
30.327586
80
0.552302
419
3,518
4.424821
0.183771
0.225458
0.088997
0.124595
0.614887
0.569579
0.467638
0.437433
0.407228
0.381338
0
0.009919
0.197555
3,518
115
81
30.591304
0.64683
0.005969
0
0.241758
0
0
0.169908
0.049771
0
0
0
0
0.406593
1
0.054945
false
0.010989
0
0
0.120879
0.021978
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
2
342bf82a9483e64b740b3a00daa8f3a88e20797a
1,812
py
Python
src/stock/lib/fundamentals/company_info.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
1
2021-12-03T01:30:12.000Z
2021-12-03T01:30:12.000Z
src/stock/lib/fundamentals/company_info.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
null
null
null
src/stock/lib/fundamentals/company_info.py
callim105/alphascan
a8eea45b3560a369b186c9971b01351a7a900d13
[ "MIT" ]
null
null
null
import requests import pandas as pd from util.api_util import AV_API_KEY def query_av(function, symbol, datatype): url = f"https://www.alphavantage.co/query?function={function}&symbol={symbol}&apikey={AV_API_KEY}" r = requests.get(url) req = r.json() symbol = req["symbol"] data = req[datatype] ...
26.26087
102
0.689845
243
1,812
4.983539
0.230453
0.089182
0.086705
0.069364
0.689513
0.672998
0.6218
0.599505
0.535095
0.305533
0
0.002736
0.193157
1,812
69
103
26.26087
0.825581
0.145143
0
0.314286
0
0.057143
0.240576
0
0
0
0
0
0
1
0.228571
false
0
0.085714
0
0.542857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
2
342c2f2a3ec8444cfd113ad50ed2e68ddd742bbc
502
py
Python
FinalGame.py
KRHS-GameProgramming-2016/Memefinity
85dbf98ecebcf2cb7622a6d40a6b170d6309bf29
[ "MIT" ]
null
null
null
FinalGame.py
KRHS-GameProgramming-2016/Memefinity
85dbf98ecebcf2cb7622a6d40a6b170d6309bf29
[ "MIT" ]
6
2017-01-19T19:00:11.000Z
2017-06-05T15:01:36.000Z
FinalGame.py
KRHS-GameProgramming-2016/Memefinity
85dbf98ecebcf2cb7622a6d40a6b170d6309bf29
[ "MIT" ]
null
null
null
import pygame, sys, math, random from Meme import * from Bossmeme import * from Wall import * from Level import * from Player import * from Memefinity import * pygame.init() #Hello b0ss, this file shall be the final game, or a script, kinda, whatever. #Reading the file top to bottom should be the game from start to fi...
20.08
77
0.752988
82
502
4.609756
0.658537
0.132275
0
0
0
0
0
0
0
0
0
0.007371
0.189243
502
24
78
20.916667
0.921376
0.605578
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.875
0
0.875
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
0
0
0
2