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
924c4a9c561c7aed9575e75c33ca46d044434fc2
9,184
py
Python
dyc/methods/MethodBuilder.py
lukerm48/dyc
f7b0a1daf9cdcc4d19bc48cbc4e22c5d5a9b8426
[ "MIT" ]
null
null
null
dyc/methods/MethodBuilder.py
lukerm48/dyc
f7b0a1daf9cdcc4d19bc48cbc4e22c5d5a9b8426
[ "MIT" ]
null
null
null
dyc/methods/MethodBuilder.py
lukerm48/dyc
f7b0a1daf9cdcc4d19bc48cbc4e22c5d5a9b8426
[ "MIT" ]
null
null
null
""" File for classes that handles the actual business logic of the application. Here is the the place where the actual reading, parsing and validation of the files happens. """ import re import click from .MethodInterface import MethodInterface from ..utils import ( get_leading_whitespace, get_indent_forward, ...
39.416309
178
0.530488
990
9,184
4.740404
0.223232
0.067121
0.041551
0.016621
0.178351
0.106542
0.051566
0.017899
0
0
0
0.005954
0.378267
9,184
232
179
39.586207
0.815937
0.135344
0
0.084848
0
0
0.034344
0
0.006061
0
0
0
0
1
0.054545
false
0.006061
0.036364
0
0.145455
0.018182
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
924e8e77c2bc19143e903e4c018fdd8b4185b457
746
py
Python
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-09T03:06:25.000Z
2022-02-09T03:06:25.000Z
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
1
2022-02-05T22:53:18.000Z
2022-02-09T01:29:30.000Z
jp.atcoder/agc015/agc015_b/8556570.py
kagemeka/atcoder-submissions
91d8ad37411ea2ec582b10ba41b1e3cae01d4d6e
[ "MIT" ]
null
null
null
# 2019-11-22 16:25:33(JST) import sys def main(): s = sys.stdin.readline().rstrip() n = len(s) take_times = [[None for _ in range(n)] for _ in range(n)] for i in range(n): for j in range(n): if i == j: take_times[i][j] = 0 elif s[i] == 'U':...
24.866667
62
0.386059
105
746
2.580952
0.342857
0.232472
0.221402
0.202952
0.420664
0.250923
0.250923
0.250923
0.250923
0.250923
0
0.048469
0.474531
746
29
63
25.724138
0.642857
0.032172
0
0.173913
0
0
0.014472
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.086957
0.043478
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
924fec3ac075b37f75ff462088795707dc130a3b
1,539
py
Python
recipes/kangaru/all/conanfile.py
jaspervandeven/conan-center-index
d3c8a2180c4b5e95f63c08c518e1b1a9a7017a23
[ "MIT" ]
null
null
null
recipes/kangaru/all/conanfile.py
jaspervandeven/conan-center-index
d3c8a2180c4b5e95f63c08c518e1b1a9a7017a23
[ "MIT" ]
null
null
null
recipes/kangaru/all/conanfile.py
jaspervandeven/conan-center-index
d3c8a2180c4b5e95f63c08c518e1b1a9a7017a23
[ "MIT" ]
1
2021-03-10T04:02:57.000Z
2021-03-10T04:02:57.000Z
from conans import ConanFile, tools, CMake import os class KangaruConan(ConanFile): name = "kangaru" description = "A dependency injection container for C++11, C++14 and later" license = "MIT" topics = ("conan", "gracicot", "kangaru", "DI", "IoC", "inversion of control") homepage = "https:/...
37.536585
92
0.638077
172
1,539
5.52907
0.418605
0.078864
0.078864
0.060988
0.067298
0.067298
0
0
0
0
0
0.003401
0.235867
1,539
40
93
38.475
0.805272
0
0
0.058824
0
0
0.234156
0.018012
0
0
0
0
0
1
0.147059
false
0
0.058824
0.029412
0.558824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
925073b67d11908413dc3c2418ab4f3c9e2f45f4
8,989
py
Python
ai.py
qwlea/chess
06213ebbcd379e1968ebcfed41d38b9a00f9f3c8
[ "Apache-2.0" ]
null
null
null
ai.py
qwlea/chess
06213ebbcd379e1968ebcfed41d38b9a00f9f3c8
[ "Apache-2.0" ]
null
null
null
ai.py
qwlea/chess
06213ebbcd379e1968ebcfed41d38b9a00f9f3c8
[ "Apache-2.0" ]
null
null
null
from player import Player import copy from random import randint # This AI class uses MiniMax Alpha-Beta Pruning in order to find the best possible move(s) each turn. class MiniMax(Player): def __init__(self, pid, board, logic): super().__init__(pid, board) self._logic = logic # Board ev...
61.993103
124
0.679608
1,420
8,989
4.228873
0.252817
0.030641
0.02398
0.017319
0.240633
0.219817
0.195171
0.157535
0.145545
0.145545
0
0.028988
0.243965
8,989
144
125
62.423611
0.85462
0.570586
0
0.142857
0
0
0.005198
0
0
0
0
0
0
1
0.057143
false
0
0.042857
0
0.171429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9250af11f4ee1e071c1b4ca4904fcbb36dc56250
2,971
py
Python
boxes/scrapers/tasks/scrap_news.py
konradarchicinski/pybox
37c2dae80e1629e3cf2d3e3e86afaaff06b4de17
[ "MIT" ]
1
2021-04-16T06:29:41.000Z
2021-04-16T06:29:41.000Z
boxes/scrapers/tasks/scrap_news.py
konradarchicinski/pybox
37c2dae80e1629e3cf2d3e3e86afaaff06b4de17
[ "MIT" ]
null
null
null
boxes/scrapers/tasks/scrap_news.py
konradarchicinski/pybox
37c2dae80e1629e3cf2d3e3e86afaaff06b4de17
[ "MIT" ]
null
null
null
#!/usr/bin/env python from boxes.scrapers import DATA_PATH from pybox.task import Task from pybox.scraper.news_reader import NewsReader from datetime import date, timedelta, datetime def update_reader_settings(iteration, reader_settings): """Auxiliar function, returns the settings passed to the reader with u...
30.947917
76
0.678559
357
2,971
5.501401
0.341737
0.099796
0.035642
0.045825
0.144603
0.120163
0.037678
0.037678
0.037678
0
0
0.001739
0.22585
2,971
95
77
31.273684
0.852174
0.18445
0
0.246154
0
0
0.297629
0
0
0
0
0
0
1
0.030769
false
0
0.061538
0
0.107692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9251d2e24adbc05adaa81a9a2ac85b187ddf6015
841
py
Python
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
bot/models.py
pyprism/Hiren-TwitBot
358184673c0d3fb8f5dc3420590239b3178f5a81
[ "MIT" ]
null
null
null
from django.db import models class TwitterApp(models.Model): name = models.CharField(max_length=500) consumer_key = models.CharField(max_length=1000) consumer_secret = models.CharField(max_length=1000) access_token = models.CharField(max_length=1000) access_token_secret = models.CharField(max_leng...
33.64
59
0.752675
109
841
5.559633
0.385321
0.173267
0.207921
0.277228
0.643564
0.462046
0.39604
0.267327
0.267327
0.267327
0
0.036415
0.151011
841
24
60
35.041667
0.812325
0
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0.052632
0.052632
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
1
0
0
3
9252f6d1f1c84c37818126312a777ccbe609b205
842
py
Python
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
143
2021-12-03T02:33:36.000Z
2022-03-29T00:01:48.000Z
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
33
2021-12-03T10:32:05.000Z
2022-03-31T02:13:55.000Z
models/utils/scheduler/constant_warmup_scheduler.py
zhangzhengde0225/SwinTrack
526be17f8ef266cb924c6939bd8dda23e9b73249
[ "MIT" ]
24
2021-12-04T06:46:42.000Z
2022-03-30T07:57:47.000Z
class ConstantWarmupScheduler: def __init__(self, warmup_steps, warmup_value, ultimate_value, per_iteration): self.warmup_steps = warmup_steps self.warmup_value = warmup_value self.ultimate_value = ultimate_value self.per_iteration = per_iteration self.position = 0 def s...
29.034483
82
0.643705
101
842
5.069307
0.277228
0.140625
0.125
0.140625
0.109375
0
0
0
0
0
0
0.003344
0.289786
842
28
83
30.071429
0.852843
0
0
0
0
0
0
0
0
0
0
0
0
1
0.26087
false
0
0
0.043478
0.434783
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
92533fd03fb0f3a8993a9f914c09ba1fc8a481b8
677
py
Python
tests/data23/recipe-577194.py
JohannesBuchner/pystrict3
f442a89ac6a23f4323daed8ef829d8e9e1197f90
[ "BSD-2-Clause" ]
1
2020-06-05T08:53:26.000Z
2020-06-05T08:53:26.000Z
tests/data23/recipe-577194.py
JohannesBuchner/pystrict3
f442a89ac6a23f4323daed8ef829d8e9e1197f90
[ "BSD-2-Clause" ]
1
2020-06-04T13:47:19.000Z
2020-06-04T13:47:57.000Z
tests/data23/recipe-577194.py
JohannesBuchner/pystrict3
f442a89ac6a23f4323daed8ef829d8e9e1197f90
[ "BSD-2-Clause" ]
1
2020-11-07T17:02:46.000Z
2020-11-07T17:02:46.000Z
class Thing(object): """A thing, does stuff.""" def __init__(self): self.special = "My special value!" def process(self, default=True): """Accept any argument with no special processing (except True).""" if default is True: # Notice I'm checking identity, not truth or equality ...
35.631579
81
0.611521
84
677
4.785714
0.607143
0.059701
0
0
0
0
0
0
0
0
0
0
0.279173
677
18
82
37.611111
0.82377
0.357459
0
0
0
0
0.119048
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.214286
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
0
0
0
0
1
0
925401b8a6748c444b83c26016063c2cd09a8be6
1,233
py
Python
python/simulator.py
mhoffmann7/MIMO-MRT-Simulator
9bca63b416b137fa3ded4984c40e669b5bc421bd
[ "MIT" ]
null
null
null
python/simulator.py
mhoffmann7/MIMO-MRT-Simulator
9bca63b416b137fa3ded4984c40e669b5bc421bd
[ "MIT" ]
null
null
null
python/simulator.py
mhoffmann7/MIMO-MRT-Simulator
9bca63b416b137fa3ded4984c40e669b5bc421bd
[ "MIT" ]
null
null
null
from get_users_channels import getUsers from user_association import userAssociation from mmimo_mrt import computeBitrates from dpb import Dpb import numpy as np def singleUESetSimulation(no_ue, scenario, dpb_algorithm, dpb, assignment_method): pathloss, position, corr_data = getUsers(scenario,no_ue) pathl...
34.25
137
0.763179
161
1,233
5.583851
0.329193
0.040044
0.040044
0.050056
0.233593
0.206897
0.14238
0.14238
0.14238
0
0
0.004808
0.156529
1,233
35
138
35.228571
0.859615
0.025953
0
0
0
0
0
0
0
0
0
0
0
1
0.083333
false
0
0.208333
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92547b1bbce31fcc16cedbc5f31e0b560a198f06
687
py
Python
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
docsensesearch-backend/utilscripts/test_sp.py
docsense/search
a71ad708784270019612b6e037ad3c3f95dfa448
[ "MIT" ]
null
null
null
#!/usr/bin/python import sys import requests reload(sys) sys.setdefaultencoding('utf-8') from bs4 import BeautifulSoup link = sys.argv[1] + "/_api/web/lists(guid'" + sys.argv[2] + "')/Items" ids = [] try: r = requests.get(link) bs = BeautifulSoup(r.text, features="xml") for i in bs.findAll('entry'): ...
25.444444
76
0.57933
90
687
4.366667
0.622222
0.035623
0
0
0
0
0
0
0
0
0
0.03
0.272198
687
26
77
26.423077
0.756
0.02329
0
0.181818
0
0
0.198507
0.076119
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
925480aad2538abcd3adf524e7dc5e68a3d73cf6
5,362
py
Python
anchore_engine/services/policy_engine/api/models/gate_spec.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
1
2019-06-27T08:47:48.000Z
2019-06-27T08:47:48.000Z
anchore_engine/services/policy_engine/api/models/gate_spec.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
4
2020-11-07T00:16:02.000Z
2020-11-08T20:52:06.000Z
anchore_engine/services/policy_engine/api/models/gate_spec.py
dspalmer99/anchore-engine
8c61318be6fec5d767426fa4ccd98472cc85b5cd
[ "Apache-2.0" ]
1
2019-11-23T03:39:28.000Z
2019-11-23T03:39:28.000Z
# coding: utf-8 from datetime import date, datetime # noqa: F401 from typing import List, Dict # noqa: F401 from anchore_engine.services.policy_engine.api.models.base_model_ import Model from anchore_engine.services.policy_engine.api.models.trigger_spec import TriggerSpec # noqa: F401,E501 from anchore_engine.se...
28.827957
113
0.608355
641
5,362
5
0.168487
0.048674
0.113573
0.033697
0.545086
0.474571
0.45117
0.308892
0.280187
0.251482
0
0.018664
0.310518
5,362
185
114
28.983784
0.848255
0.469974
0
0.230769
0
0
0.08384
0
0
0
0
0
0
1
0.184615
false
0
0.076923
0
0.369231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
925516901a3dfc5e7e1b727ddefa47860ebbf98a
395
py
Python
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
5
2020-11-13T18:43:52.000Z
2022-03-23T01:07:11.000Z
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
lists/v7/sum_numbers.py
py-bootcamp/learn-python-with-tdd
5d0c6fbbbea07204228323557a932bc4023fc8b5
[ "MIT" ]
null
null
null
from typing import List def sum_numbers(numbers: List[float]) -> float: "Calculate the total from a list of numbers." total = 0.0 for number in numbers: total += number return total def sum_all(*numbers_to_sum: List[float]) -> List[float]: "Calculate the respective sums of every list p...
23.235294
63
0.693671
59
395
4.525424
0.40678
0.101124
0.127341
0
0
0
0
0
0
0
0
0.006494
0.220253
395
16
64
24.6875
0.86039
0.248101
0
0
0
0
0.24557
0
0
0
0
0
0
1
0.2
false
0.1
0.1
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
92588762a2b3b34b9bfdc6caf756989bb0850c29
3,576
py
Python
redux/g7_sci_extract.py
joungh93/PyRAF_GMOS_IFU
1750caaf846c426cf1fc761ad539f740c8ae64d9
[ "MIT" ]
null
null
null
redux/g7_sci_extract.py
joungh93/PyRAF_GMOS_IFU
1750caaf846c426cf1fc761ad539f740c8ae64d9
[ "MIT" ]
null
null
null
redux/g7_sci_extract.py
joungh93/PyRAF_GMOS_IFU
1750caaf846c426cf1fc761ad539f740c8ae64d9
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """ Created on Tue Oct 31 16:29:33 2019 @author: jlee """ import time start_time = time.time() import numpy as np import glob, os import g0_init_cfg as ic from astropy.io import fits # ----- Importing IRAF from the root directory ----- # current_dir = os.getcwd() os....
30.827586
99
0.558445
482
3,576
4.049793
0.358921
0.035861
0.050205
0.025615
0.277664
0.224385
0.13832
0.11373
0.076844
0.076844
0
0.043943
0.268177
3,576
115
100
31.095652
0.701949
0.357662
0
0.137255
0
0
0.119376
0
0
0
0
0
0
1
0
false
0
0.137255
0
0.137255
0.039216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92589690e29dd174295e61558264b2f4a3b4282f
244
py
Python
woodwork/tests/test_cli.py
not-so-rabh/woodwork
18e44c371e77ebc41baae57289bfc4fd1804b122
[ "BSD-3-Clause" ]
null
null
null
woodwork/tests/test_cli.py
not-so-rabh/woodwork
18e44c371e77ebc41baae57289bfc4fd1804b122
[ "BSD-3-Clause" ]
13
2021-03-04T19:26:15.000Z
2022-01-21T10:49:07.000Z
woodwork/tests/test_cli.py
RG4421/woodwork
739b4e7e4b7eccbd5772251d294523240f10664e
[ "BSD-3-Clause" ]
null
null
null
import subprocess def test_list_logical_types(): subprocess.check_output(['python', '-m', 'woodwork', 'list-logical-types']) def test_list_semantic_tags(): subprocess.check_output(['python', '-m', 'woodwork', 'list-semantic-tags'])
24.4
79
0.713115
30
244
5.533333
0.466667
0.084337
0.13253
0.325301
0.481928
0.481928
0.481928
0
0
0
0
0
0.106557
244
9
80
27.111111
0.761468
0
0
0
0
0
0.278689
0
0
0
0
0
0
1
0.4
true
0
0.2
0
0.6
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
0
0
1
0
0
5
925a12b56c9fb4a07f26e67c0db081323877aa7b
770
py
Python
buffer/in-vicinity-python/io_python/test_os_io.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
buffer/in-vicinity-python/io_python/test_os_io.py
zaqwes8811/coordinator-tasks
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
15
2015-03-07T12:46:41.000Z
2015-04-11T09:08:36.000Z
matlab_ext/identification/dals/os_io/test_os_io.py
zaqwes8811/micro-apps
7f63fdf613eff5d441a3c2c7b52d2a3d02d9736a
[ "MIT" ]
null
null
null
#-*- coding: utf-8 -*- #!/usr/bin/env python ''' ''' from usaio import PCFileOperatons import unittest ''' Dropbox ''' class TestDropboxFileOperatons(unittest.TestCase): pass ''' PC ''' class TestPCFileOperatons(unittest.TestCase): ''' ''' def testOpenClose(self): pcfile = PCFileOperatons() # должно выкидыва...
28.518519
75
0.701299
88
770
6.045455
0.738636
0.06015
0.078947
0.093985
0
0
0
0
0
0
0
0.006024
0.137662
770
27
76
28.518519
0.795181
0.258442
0
0
0
0
0.062257
0
0
0
0
0
0.166667
1
0.083333
false
0.083333
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
925ad854367cffcab0b72b26714e6ad39f176b24
19,279
py
Python
wrapless.py
mpi3d/goodix-fp-dump
039940845bd5eeb98cd92d72f267e3be77feb156
[ "MIT" ]
136
2021-05-05T14:16:17.000Z
2022-03-31T09:04:18.000Z
wrapless.py
tsunekotakimoto/goodix-fp-dump
b88ecbababd3766314521fe30ee943c4bd1810df
[ "MIT" ]
14
2021-08-20T09:49:39.000Z
2022-03-20T13:18:05.000Z
wrapless.py
tsunekotakimoto/goodix-fp-dump
b88ecbababd3766314521fe30ee943c4bd1810df
[ "MIT" ]
11
2021-08-02T15:49:11.000Z
2022-02-06T22:06:42.000Z
from protocol import Protocol from typing import Optional import logging import struct from dataclasses import dataclass from usb.core import USBTimeoutError from Crypto.Cipher import AES from Crypto.Hash import HMAC, SHA256 from Crypto.Random import get_random_bytes from crccheck.crc import Crc32Mpeg2 USB_CHUNK_SIZE...
34.989111
88
0.591317
2,300
19,279
4.735217
0.113478
0.039849
0.020292
0.019282
0.369388
0.279405
0.212744
0.178404
0.146084
0.140942
0
0.034121
0.297681
19,279
550
89
35.052727
0.770236
0.008714
0
0.133333
0
0
0.120387
0.017744
0
0
0.023502
0.001818
0.021429
1
0.085714
false
0
0.02381
0.009524
0.171429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
925c6033603c561ea55693dac40cadc80e60ea16
10,293
py
Python
silverberg/client.py
TimothyZhang/silverberg
fb93ab68988c6ad6f7a4136d2c5b16b32966d0ca
[ "Apache-2.0" ]
1
2019-09-22T04:00:56.000Z
2019-09-22T04:00:56.000Z
silverberg/client.py
TimothyZhang/silverberg
fb93ab68988c6ad6f7a4136d2c5b16b32966d0ca
[ "Apache-2.0" ]
14
2015-01-22T01:00:50.000Z
2017-12-06T03:35:46.000Z
silverberg/client.py
TimothyZhang/silverberg
fb93ab68988c6ad6f7a4136d2c5b16b32966d0ca
[ "Apache-2.0" ]
4
2015-03-31T19:49:05.000Z
2020-03-03T20:44:32.000Z
# Copyright 2012 Rackspace Hosting, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to ...
35.739583
102
0.644224
1,256
10,293
5.199045
0.285032
0.006126
0.007351
0.006738
0.306585
0.294487
0.294487
0.294487
0.282695
0.282695
0
0.004778
0.288351
10,293
287
103
35.864112
0.886689
0.51093
0
0.09901
0
0
0.01479
0
0
0
0
0
0
1
0.158416
false
0.039604
0.069307
0.009901
0.445545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
925d8851eb0b2902f89aba2f36bb8f3af0d834ca
1,491
py
Python
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
accounts/models.py
bsugimoto/DymondTechnology
5b5740e0fabd546ad9770ac343235c2973d3a0c4
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User from django.db.models.signals import post_save from multiselectfield import MultiSelectField from django.dispatch import receiver def user_directory_path(instance, filename): # file will be uploaded to MEDIA_ROOT/user_<id>/<filename> # re...
45.181818
87
0.735748
172
1,491
6.261628
0.377907
0.155989
0.038997
0.03714
0.236769
0.053853
0
0
0
0
0
0.003949
0.150905
1,491
33
88
45.181818
0.846761
0.075788
0
0.076923
0
0
0.242733
0
0
0
0
0
0
1
0.115385
false
0
0.192308
0.038462
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
925dd9afa8ee77d0df78cadfcabe6966241f2767
3,416
py
Python
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
2
2020-06-11T18:42:02.000Z
2020-10-06T21:17:15.000Z
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
55
2020-06-01T00:23:00.000Z
2022-02-21T20:52:29.000Z
hypercane/actions/identify.py
ato/hypercane
290ef402006ee8f8d98090e31da52819e26145a0
[ "MIT" ]
3
2021-02-07T05:36:24.000Z
2021-12-17T05:45:14.000Z
import logging module_logger = logging.getLogger("hypercane.actions.sample") def discover_timemaps(args): from hypercane.utils import get_web_session, save_resource_data from hypercane.identify import discover_resource_data_by_input_type, \ discover_timemaps_by_input_type, generate_faux_urits, \ ...
35.583333
113
0.74678
430
3,416
5.574419
0.162791
0.071339
0.068836
0.064247
0.752607
0.737171
0.66917
0.641635
0.641635
0.564873
0
0
0.17096
3,416
95
114
35.957895
0.846398
0
0
0.327869
0
0
0.141686
0.007026
0
0
0
0
0
1
0.04918
false
0
0.114754
0
0.163934
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
925e1e9d69320dc2a3507c471bdf305b87ca4a4f
1,459
py
Python
type_checker.py
perimosocordiae/onearg
1ed8027f864b31d77193f4cb511dd93b7c4166bb
[ "MIT" ]
null
null
null
type_checker.py
perimosocordiae/onearg
1ed8027f864b31d77193f4cb511dd93b7c4166bb
[ "MIT" ]
null
null
null
type_checker.py
perimosocordiae/onearg
1ed8027f864b31d77193f4cb511dd93b7c4166bb
[ "MIT" ]
null
null
null
from collections import defaultdict from parser import PARSER from syntax_tree import build_ast from type_objects import BuiltinType def check_types(syntax_tree): all_types = defaultdict(dict) # Define builtin primitive types. for t in ('int', 'float', 'string', 'void'): all_types[t][None] = BuiltinType(t...
31.042553
77
0.702536
202
1,459
4.866337
0.376238
0.073245
0.04883
0.054934
0.19939
0.121058
0.077314
0
0
0
0
0.000859
0.202193
1,459
46
78
31.717391
0.843643
0.154901
0
0.068966
0
0
0.08802
0
0
0
0
0
0
1
0.068966
false
0
0.172414
0
0.275862
0.034483
0
0
0
null
0
0
0
0
0
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
1
0
925f4af91f977c93af580c343c412cbe16f6b8e5
766
py
Python
flowvision/layers/attention/se.py
lixiang007666/vision
2eced8d6ed2dc42f6451f81f8883318fa0bd24d3
[ "BSD-3-Clause" ]
null
null
null
flowvision/layers/attention/se.py
lixiang007666/vision
2eced8d6ed2dc42f6451f81f8883318fa0bd24d3
[ "BSD-3-Clause" ]
null
null
null
flowvision/layers/attention/se.py
lixiang007666/vision
2eced8d6ed2dc42f6451f81f8883318fa0bd24d3
[ "BSD-3-Clause" ]
null
null
null
import oneflow as flow import oneflow.nn as nn class SEModule(nn.Module): def __init__( self, channels, reduction=16, rd_channels=None, act_layer=nn.ReLU, gate_layer=nn.Sigmoid, mlp_bias=False, ): super(SEModule, self).__init__() rd_chann...
29.461538
83
0.616188
109
766
4.100917
0.394495
0.134228
0.080537
0.071588
0.107383
0.107383
0
0
0
0
0
0.021544
0.272846
766
25
84
30.64
0.780969
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
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
926004827692514a2e7e1fab88210f1b0ac22384
344
py
Python
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
setup.py
FreeDiscovery/FreeDiscovery-S3-connector
c10a6e1c26f95c199e94908f4e8534f735b94e37
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from setuptools import setup, find_packages from freedscovery_s3_connector._version import __version__ setup(name='freedscovery_s3_connector', version=__version__, description='', author='FreeDiscovery Developpers', packages=find_packages(), inc...
24.571429
58
0.732558
37
344
6.351351
0.675676
0.102128
0.195745
0.255319
0
0
0
0
0
0
0
0.010381
0.159884
344
13
59
26.461538
0.802768
0.110465
0
0
0
0
0.164474
0.082237
0
0
0
0
0
1
0
true
0
0.25
0
0.25
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
1
0
0
0
0
0
0
3
926080df7fe450b583f1afff1fb17e6b9cc7b79a
2,669
py
Python
seqauto/management/commands/import_sequencing_info.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
5
2021-01-14T03:34:42.000Z
2022-03-07T15:34:18.000Z
seqauto/management/commands/import_sequencing_info.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
551
2020-10-19T00:02:38.000Z
2022-03-30T02:18:22.000Z
seqauto/management/commands/import_sequencing_info.py
SACGF/variantgrid
515195e2f03a0da3a3e5f2919d8e0431babfd9c9
[ "RSA-MD" ]
null
null
null
import pandas as pd from django.core.management.base import BaseCommand from library.log_utils import console_logger from seqauto.models import Sequencer, SequencingInfo, EnrichmentKit from snpdb.models import Lab, LabProject LAB_NAME = "lab name" INSTITUTION = "institution" DOI = "doi" PAPER_NAME = "paper name" YEAR...
39.25
133
0.557887
283
2,669
5.123675
0.349823
0.033793
0.033103
0.041379
0.030345
0
0
0
0
0
0
0
0.359685
2,669
67
134
39.835821
0.848449
0.043837
0
0
0
0
0.138987
0
0
0
0
0
0
1
0.041667
false
0
0.104167
0
0.166667
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92632090c4e3d282320b824c62a3295534a71fb2
8,746
py
Python
tests/test_utils_conf.py
Cologler/anyioc-python
87aaf52208b8c510c9128f89359300a2158e3637
[ "MIT" ]
null
null
null
tests/test_utils_conf.py
Cologler/anyioc-python
87aaf52208b8c510c9128f89359300a2158e3637
[ "MIT" ]
null
null
null
tests/test_utils_conf.py
Cologler/anyioc-python
87aaf52208b8c510c9128f89359300a2158e3637
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # # Copyright (c) 2020~2999 - Cologler <skyoflw@gmail.com> # ---------- # # ---------- import pytest from pytest import raises from anyioc import ServiceProvider, LifeTime from anyioc.utils_conf import BadConfError, load_conf def from_conf(conf: dict): provider = ServiceProvider() loa...
29.153333
149
0.53533
908
8,746
4.917401
0.143172
0.041209
0.034938
0.045689
0.54916
0.498096
0.432923
0.390594
0.333259
0.290258
0
0.008992
0.338783
8,746
299
150
29.250836
0.763099
0.013149
0
0.400763
0
0.01145
0.162365
0.049184
0
0
0
0
0.133588
1
0.091603
false
0
0.022901
0
0.125954
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9263ae98e68deabf82d6263e3f38c433bcba634f
34,195
py
Python
src/eduid_userdb/tests/test_user.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
src/eduid_userdb/tests/test_user.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
12
2015-08-28T12:05:32.000Z
2020-06-23T13:31:29.000Z
src/eduid_userdb/tests/test_user.py
SUNET/eduid-userdb
5970880caf0b0e2bdee6c23869ef287acc87af2a
[ "BSD-2-Clause-FreeBSD" ]
2
2016-10-24T06:37:33.000Z
2016-11-21T11:39:39.000Z
import unittest from datetime import datetime from hashlib import sha256 from bson import ObjectId from six import string_types from eduid_userdb import LockedIdentityNin, OidcAuthorization, OidcIdToken, Orcid from eduid_userdb.credentials import METHOD_SWAMID_AL2_MFA, U2F, CredentialList, Password from eduid_userdb....
38.682127
120
0.555578
3,662
34,195
5.006827
0.121518
0.017453
0.020289
0.020944
0.62907
0.567276
0.528497
0.477229
0.446305
0.404854
0
0.061232
0.324199
34,195
883
121
38.725934
0.732182
0.069162
0
0.426027
0
0
0.199126
0.0561
0
0
0
0
0.119178
1
0.058904
false
0.035616
0.020548
0.00137
0.082192
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
926458d1d9c97fc6abf90370ad0d99e05fe59844
13,515
py
Python
ivy_vision/quantization.py
unifyai/vision
7a1d0115da1dcc640709a1bc92e7e31eb63ed566
[ "Apache-2.0" ]
11
2022-02-09T02:51:59.000Z
2022-03-31T09:35:24.000Z
ivy_vision/quantization.py
unifyai/vision
7a1d0115da1dcc640709a1bc92e7e31eb63ed566
[ "Apache-2.0" ]
5
2022-03-11T03:46:18.000Z
2022-03-31T06:07:31.000Z
ivy_vision/quantization.py
unifyai/vision
7a1d0115da1dcc640709a1bc92e7e31eb63ed566
[ "Apache-2.0" ]
1
2022-02-20T12:25:11.000Z
2022-02-20T12:25:11.000Z
"""Collection of Quantization Functions""" # global import ivy as _ivy # local from ivy_vision import single_view_geometry as _ivy_svg MIN_DENOMINATOR = 1e-12 MIN_DEPTH_DIFF = 1e-2 def quantize_to_image(pixel_coords, final_image_dims, feat=None, feat_prior=None, with_db=False, pixel_coords_va...
42.904762
119
0.645727
2,058
13,515
3.866375
0.103984
0.017343
0.040468
0.029408
0.513133
0.367727
0.269071
0.205731
0.151942
0.113234
0
0.024127
0.25172
13,515
314
120
43.041401
0.762385
0.241731
0
0.103448
0
0
0.003305
0
0
0
0
0.003185
0
1
0.006897
false
0
0.013793
0
0.034483
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92649a378fb9f445f1cb4f5a9e530473e26b4104
260
py
Python
verify/admin.py
openstax/verification
ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45
[ "MIT" ]
null
null
null
verify/admin.py
openstax/verification
ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45
[ "MIT" ]
15
2019-06-17T15:49:41.000Z
2022-03-11T23:48:24.000Z
verify/admin.py
openstax/verification
ad6d7b7d66bcd222f7848c49c0bc1ac08c437a45
[ "MIT" ]
null
null
null
from django.contrib import admin from .models import Verification class VerificationAdmin(admin.ModelAdmin): list_display = ('ox_accounts_id', 'salesforce_id', 'status') list_filter = ('status', ) admin.site.register(Verification, VerificationAdmin)
28.888889
64
0.773077
29
260
6.758621
0.689655
0
0
0
0
0
0
0
0
0
0
0
0.119231
260
8
65
32.5
0.855895
0
0
0
0
0
0.15
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
9266bbe11d1b61ca34c8e1102cddeae6080d6514
260
py
Python
libs/__init__.py
s-kostyuk/ahaf_activation_1
1ec1515d8b0228c83f45b9b09a747f2f6dd3b767
[ "MIT" ]
null
null
null
libs/__init__.py
s-kostyuk/ahaf_activation_1
1ec1515d8b0228c83f45b9b09a747f2f6dd3b767
[ "MIT" ]
null
null
null
libs/__init__.py
s-kostyuk/ahaf_activation_1
1ec1515d8b0228c83f45b9b09a747f2f6dd3b767
[ "MIT" ]
null
null
null
from .act_name_to_f import activation_name_to_function from .multiopt_proxy import MultiOptProxy from .running_stat import RunningStat from .save_load_net import save_network, load_network, save_optimizer, load_optimizer from .create_net import create_network
43.333333
85
0.880769
39
260
5.461538
0.512821
0.056338
0
0
0
0
0
0
0
0
0
0
0.088462
260
5
86
52
0.898734
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
4
9267d808febd8df821dcd1afc41b5923d6971fdd
12,396
py
Python
ansible/plugins/action/ms_include_jinja_vars.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
18
2015-02-22T12:53:50.000Z
2019-03-15T16:45:10.000Z
ansible/plugins/action/ms_include_jinja_vars.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
20
2015-01-20T22:35:02.000Z
2017-11-06T11:17:34.000Z
ansible/plugins/action/ms_include_jinja_vars.py
makinacorpus/makina-states
8ae1ccd1a0b614a7f308229c07e1493b06f5883a
[ "BSD-3-Clause" ]
5
2015-01-13T04:23:09.000Z
2019-01-03T17:00:31.000Z
from __future__ import (absolute_import, division, print_function) __metaclass__ = type import six from os import path, walk import traceback import re from ansible.errors import AnsibleError, AnsibleParserError from ansible.module_utils._text import to_native from ansible.plugins.action import ActionBase from mc_sta...
34.529248
93
0.543482
1,399
12,396
4.556826
0.162974
0.026353
0.032627
0.023843
0.189647
0.154667
0.112314
0.072784
0.060549
0.060549
0
0.003076
0.370523
12,396
358
94
34.625698
0.813918
0.083979
0
0.310714
0
0
0.058341
0.002254
0
0
0
0
0
1
0.039286
false
0
0.032143
0
0.117857
0.028571
0
0
0
null
0
0
0
0
0
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
1
0
92682d145301e3cf26643177715c46fcd5839c3d
952
py
Python
tools/Vitis-AI-Library/graph_runner/test/format_json.py
hito0512/Vitis-AI
996459fb96cb077ed2f7e789d515893b1cccbc95
[ "Apache-2.0" ]
848
2019-12-03T00:16:17.000Z
2022-03-31T22:53:17.000Z
tools/Vitis-AI-Library/graph_runner/test/format_json.py
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
656
2019-12-03T00:48:46.000Z
2022-03-31T18:41:54.000Z
tools/Vitis-AI-Library/graph_runner/test/format_json.py
wangyifan778/Vitis-AI
f61061eef7550d98bf02a171604c9a9f283a7c47
[ "Apache-2.0" ]
506
2019-12-03T00:46:26.000Z
2022-03-30T10:34:56.000Z
# # Copyright 2019 Xilinx Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing...
28.848485
74
0.705882
151
952
4.337748
0.582781
0.091603
0.048855
0.048855
0.048855
0
0
0
0
0
0
0.016949
0.194328
952
32
75
29.75
0.837027
0.57563
0
0
0
0
0.071979
0
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.25
0.166667
0
0
0
null
0
0
0
0
0
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
1
0
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
92692d7f00f3377986985af8973ac66784ff3072
6,760
py
Python
Project/scripts/path_planner.py
manasdesai/Path-Planning-and-Control-Theory-
6bc5a748b88b7226e069ff4837950fba793e28bb
[ "MIT" ]
6
2020-08-02T17:41:07.000Z
2022-03-01T18:06:06.000Z
Project/scripts/path_planner.py
manasdesai/Path-Planning-and-Control-Theory-
6bc5a748b88b7226e069ff4837950fba793e28bb
[ "MIT" ]
1
2020-07-30T07:14:25.000Z
2020-07-31T12:21:12.000Z
Project/scripts/path_planner.py
manasdesai/Path-Planning-and-Control-Theory-
6bc5a748b88b7226e069ff4837950fba793e28bb
[ "MIT" ]
3
2021-06-18T12:57:24.000Z
2022-02-28T04:02:50.000Z
#!/usr/bin/env python import rospy from geometry_msgs.msg import Twist, Point, PoseStamped from nav_msgs.msg import Path from std_msgs.msg import Float32MultiArray, Float64 from path_nav.msg import points, mylist import math import random global obs_in_path obs_in_path = [] global rate def get_obs(request): ...
32.037915
205
0.568639
949
6,760
3.8451
0.173867
0.038367
0.032886
0.01425
0.166895
0.128528
0.107153
0.057002
0.037819
0.017539
0
0.022313
0.310503
6,760
210
206
32.190476
0.760566
0.100296
0
0.124138
0
0
0.016807
0
0
0
0
0
0
1
0.082759
false
0.006897
0.048276
0
0.22069
0.048276
0
0
0
null
0
0
0
0
0
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
1
0
926993a758d4bcc12fbe159bf42b98c618c9eb80
6,808
py
Python
uservoice/client.py
uservoice/uservoice-python
296af32d861562eeb11886d55f7e00dff30383e9
[ "MIT" ]
4
2015-01-29T18:05:32.000Z
2018-05-03T17:02:09.000Z
uservoice/client.py
uservoice/uservoice-python
296af32d861562eeb11886d55f7e00dff30383e9
[ "MIT" ]
13
2015-01-21T08:20:48.000Z
2018-08-20T20:41:01.000Z
uservoice/client.py
uservoice/uservoice-python
296af32d861562eeb11886d55f7e00dff30383e9
[ "MIT" ]
6
2015-07-12T21:15:12.000Z
2020-10-22T16:32:54.000Z
from future import standard_library standard_library.install_aliases() from builtins import object import operator import array import urllib.request, urllib.parse, urllib.error import urllib.request, urllib.error, urllib.parse import json import uservoice from requests_oauthlib import OAuth1 from urllib.parse import p...
43.641026
194
0.611633
786
6,808
5.089059
0.152672
0.0475
0.04125
0.042
0.38475
0.32225
0.224
0.1915
0.149
0.137
0
0.004069
0.278055
6,808
155
195
43.922581
0.809766
0.003231
0
0.160584
0
0
0.107901
0.018721
0
0
0
0
0
1
0.109489
false
0.043796
0.080292
0.051095
0.29927
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
926b0aae20c9db282c44cb01fb1eb01eb50d3739
4,754
py
Python
content/gui/gui_2.py
mm5110/PIC16A
e2dab91439c2627f6a47f4bf6d16de8ba5977fe8
[ "MIT" ]
10
2020-11-07T04:07:34.000Z
2021-12-31T10:19:12.000Z
content/gui/gui_2.py
mm5110/PIC16A
e2dab91439c2627f6a47f4bf6d16de8ba5977fe8
[ "MIT" ]
16
2021-02-03T22:35:01.000Z
2021-05-24T21:28:56.000Z
content/gui/gui_2.py
mm5110/PIC16A
e2dab91439c2627f6a47f4bf6d16de8ba5977fe8
[ "MIT" ]
19
2020-11-11T05:44:53.000Z
2022-02-01T14:10:15.000Z
# Our next aim is to build a simple app that will # accept user input and show useful output. # Our app will be a penguin classifier: input some # measurements of a penguin, and the classifier will # make an educated guess about the penguin's species. # This means that we'll need to find a way to bring in # our mac...
31.071895
72
0.597602
660
4,754
4.222727
0.354545
0.038751
0.021529
0.024399
0.188375
0.140294
0.089702
0.073197
0.04521
0.04521
0
0.025523
0.315944
4,754
152
73
31.276316
0.831488
0.404922
0
0.2
0
0
0.067791
0
0
0
0
0
0
1
0
false
0
0.013333
0
0.013333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
926f0826b49de22b8199e308698b8a8bb238dfee
13,417
py
Python
src/shortcircuit/model/crest/pycrest/eve.py
farshield/shortcircu
87d45ea85b78e3e7da72b7b44755dc429b4fdf5a
[ "MIT" ]
35
2016-06-22T20:07:31.000Z
2021-04-07T11:02:08.000Z
src/shortcircuit/model/crest/pycrest/eve.py
farshield/shortcircu
87d45ea85b78e3e7da72b7b44755dc429b4fdf5a
[ "MIT" ]
15
2016-06-17T09:36:02.000Z
2020-10-30T11:39:07.000Z
src/shortcircuit/model/crest/pycrest/eve.py
farshield/shortcircu
87d45ea85b78e3e7da72b7b44755dc429b4fdf5a
[ "MIT" ]
16
2016-10-02T16:09:18.000Z
2021-05-29T02:51:14.000Z
import os import base64 import requests import time import zlib from . import version from compat import bytes_, text_ from errors import APIException from weak_ciphers import WeakCiphersAdapter try: from urllib.parse import urlparse, urlunparse, parse_qsl except ImportError: # pragma: no cover from urlparse ...
33.128395
106
0.585675
1,540
13,417
4.905195
0.155195
0.02502
0.020254
0.019063
0.410643
0.330289
0.286736
0.247683
0.241859
0.235372
0
0.003636
0.303123
13,417
404
107
33.210396
0.804278
0.030037
0
0.361194
0
0
0.111103
0.00477
0
0
0
0
0
1
0.110448
false
0.002985
0.059701
0.014925
0.283582
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9270ac95e899e83cadb5cec384f9e4de3f872548
4,160
py
Python
CAD_lib/geometry.py
JohnAD/CAD_lib
67985e09e146d71b4c2b6997e758f6514fc30f5e
[ "MIT" ]
null
null
null
CAD_lib/geometry.py
JohnAD/CAD_lib
67985e09e146d71b4c2b6997e758f6514fc30f5e
[ "MIT" ]
null
null
null
CAD_lib/geometry.py
JohnAD/CAD_lib
67985e09e146d71b4c2b6997e758f6514fc30f5e
[ "MIT" ]
null
null
null
################################### # # Point # ################################### class Point(object): ''' A point. ''' def __init__(self, x=0.0, y=0.0, z=None): if hasattr(x, 'x'): # is this an objext containing x,y,z objects? If so, then transfer those. tx = x.x ...
23.771429
102
0.47476
479
4,160
3.974948
0.173278
0.013655
0.009454
0.010504
0.532563
0.483193
0.483193
0.395483
0.377101
0.289916
0
0.009648
0.352163
4,160
175
103
23.771429
0.696846
0.14976
0
0.354839
0
0
0.063586
0.029777
0
0
0
0
0
1
0.129032
false
0
0
0
0.290323
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
927130d7806b470ffda0c0ca41177feb165a188a
1,658
py
Python
data_utils/rdp.py
muzik999/road_connectivity
8d9893752a633f9339e91b7b697f700ca669b729
[ "MIT" ]
96
2019-06-06T05:13:34.000Z
2022-03-23T12:01:07.000Z
data_utils/rdp.py
muzik999/road_connectivity
8d9893752a633f9339e91b7b697f700ca669b729
[ "MIT" ]
35
2019-07-05T06:03:22.000Z
2022-03-09T03:11:02.000Z
data_utils/rdp.py
muzik999/road_connectivity
8d9893752a633f9339e91b7b697f700ca669b729
[ "MIT" ]
30
2019-07-17T09:37:26.000Z
2022-02-28T19:09:22.000Z
#!/usr/bin/env python3 """ The Ramer-Douglas-Peucker algorithm roughly ported from the pseudo-code provided by http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm The code is taken from https://github.com/mitroadmaps/roadtracer/blob/master/lib/discoverlib/rdp.py """ from math import sqrt def distance(a, ...
28.586207
87
0.603136
234
1,658
4.252137
0.384615
0.01809
0.042211
0.056281
0
0
0
0
0
0
0
0.026359
0.267793
1,658
57
88
29.087719
0.793245
0.436068
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.115385
false
0
0.038462
0.038462
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92717020cb7b92c5eb59f2d9a730411c3f60cef4
101,305
py
Python
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
null
null
null
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
null
null
null
rtamt/parser/stl/StlParser.py
xiaoyaooo/rtamt
edb7bf664720c52e9d70920102c450b1f593af95
[ "BSD-3-Clause" ]
1
2021-05-18T12:57:46.000Z
2021-05-18T12:57:46.000Z
# Generated from StlParser.g4 by ANTLR 4.5.1 # encoding: utf-8 from __future__ import print_function from antlr4 import * from io import StringIO def serializedATN(): with StringIO() as buf: buf.write(u"\3\u0430\ud6d1\u8206\uad2d\u4417\uaef1\u8d80\uaadd\3") buf.write(u"H\u010c\4\2\t\2\4\3\t\3\4\4\t...
37.040219
633
0.578965
10,855
101,305
5.305113
0.074159
0.011808
0.007658
0.00771
0.64617
0.588709
0.554413
0.474239
0.41551
0.396756
0
0.060258
0.314269
101,305
2,734
634
37.053767
0.768714
0.018923
0
0.475733
1
0.055262
0.088493
0.068277
0
0
0.000242
0
0.008169
1
0.147525
false
0.007208
0.019222
0.063912
0.397886
0.000481
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
92717f71e70e1d088e212b1ad5b9f5e93d1233a2
23
py
Python
app/__init__.py
dixonwhitmire/fastapi-template
eb67b80420c9fe6265190ca1003f18859709fe58
[ "Apache-2.0" ]
520
2015-03-17T23:04:53.000Z
2022-03-27T22:10:59.000Z
app/__init__.py
dixonwhitmire/fastapi-template
eb67b80420c9fe6265190ca1003f18859709fe58
[ "Apache-2.0" ]
544
2015-02-19T16:56:58.000Z
2022-03-28T18:23:38.000Z
app/__init__.py
dixonwhitmire/fastapi-template
eb67b80420c9fe6265190ca1003f18859709fe58
[ "Apache-2.0" ]
306
2015-03-23T19:42:15.000Z
2022-03-18T22:22:11.000Z
__version__ = "0.42.0"
11.5
22
0.652174
4
23
2.75
0.75
0
0
0
0
0
0
0
0
0
0
0.2
0.130435
23
1
23
23
0.35
0
0
0
0
0
0.26087
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
927303a84f42823f69e85cdc571a7f5088e0421b
8,337
py
Python
combiner/combiner/tf/models.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-19T04:26:12.000Z
2022-03-19T04:26:12.000Z
combiner/combiner/tf/models.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
combiner/combiner/tf/models.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
36.565789
80
0.644836
1,064
8,337
4.87782
0.24812
0.030829
0.027746
0.026204
0.239884
0.205588
0.186513
0.178998
0.158767
0.144123
0
0.010209
0.248051
8,337
227
81
36.726872
0.817674
0.165767
0
0.251613
0
0
0.056993
0
0
0
0
0
0.006452
1
0.051613
false
0
0.03871
0
0.148387
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92745101ac9b7fb8a1d621ca0d57ec6d077050b3
832
py
Python
tflens/model/tfstate.py
neovasili/tflens
1aa46160c1ccf47f32de2fa44b4169ae6439483e
[ "MIT" ]
3
2020-10-15T14:46:20.000Z
2021-11-03T23:45:56.000Z
tflens/model/tfstate.py
neovasili/tflens
1aa46160c1ccf47f32de2fa44b4169ae6439483e
[ "MIT" ]
25
2020-10-14T08:09:05.000Z
2021-06-23T18:05:38.000Z
tflens/model/tfstate.py
neovasili/tflens
1aa46160c1ccf47f32de2fa44b4169ae6439483e
[ "MIT" ]
null
null
null
from tflens.model.tfstate_resource import TfStateResource class TfState(): def __init__(self, content: dict): super().__init__() self.__content = content self.__version = self.__content['version'] self.__tf_version = self.__content['terraform_version'] self.__serial = self.__content['serial'] ...
27.733333
59
0.727163
94
832
5.861702
0.340426
0.15971
0.087114
0.130672
0.101633
0
0
0
0
0
0
0
0.165865
832
29
60
28.689655
0.793948
0
0
0
0
0
0.063702
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0.095238
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9274d416d7048e207bf11ee0a1a4caf193e5c80c
13,140
py
Python
ck_solution/module/mm-simulator/module.py
phesse001/Trust-Tools
baf7b70dbd5e9febca403d792df28a718ca90c93
[ "MIT" ]
null
null
null
ck_solution/module/mm-simulator/module.py
phesse001/Trust-Tools
baf7b70dbd5e9febca403d792df28a718ca90c93
[ "MIT" ]
null
null
null
ck_solution/module/mm-simulator/module.py
phesse001/Trust-Tools
baf7b70dbd5e9febca403d792df28a718ca90c93
[ "MIT" ]
null
null
null
import os # # Collective Knowledge () # # # # # Developer: # cfg={} # Will be updated by CK (meta description of this module) work={} # Will be updated by CK (temporal data) ck=None # Will be updated by CK (initialized CK kernel) # Local settings #################################################################...
31.662651
148
0.54277
1,757
13,140
3.940239
0.130336
0.055467
0.0273
0.030334
0.682508
0.661418
0.607251
0.588184
0.568395
0.555684
0
0.014645
0.267275
13,140
414
149
31.73913
0.704404
0.172603
0
0.599206
0
0.011905
0.317352
0.03193
0
0
0
0
0
1
0.019841
false
0
0.003968
0
0.039683
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
0
0
0
0
0
0
0
1
0
9276b7e92fbafdac27d50333d01d384cadbdbcef
1,087
py
Python
deplugins/cfront_ssl.py
arndtroth/AWSomeOverview
e9010f4356215f5c00bb053a1bc6504c567ecf9d
[ "Apache-2.0" ]
1
2018-06-20T13:27:52.000Z
2018-06-20T13:27:52.000Z
deplugins/cfront_ssl.py
arndtroth/AWSomeOverview
e9010f4356215f5c00bb053a1bc6504c567ecf9d
[ "Apache-2.0" ]
1
2019-03-15T12:30:56.000Z
2019-03-15T12:30:56.000Z
deplugins/cfront_ssl.py
arndtroth/AWSomeOverview
e9010f4356215f5c00bb053a1bc6504c567ecf9d
[ "Apache-2.0" ]
null
null
null
""" Class for Data Extraction from CloudFront """ import boto3 from deplugins.base import AWSFact class CloudFront (AWSFact): NAME = "CloudFront-SSL" OPTION = 'cfront_ssl' ORDERED_HEADINGS = ['Id', 'SSLSupportMethod', 'MinimumProtocolVersion', 'IAMCertificateId'] def get_all_regions(self): ...
31.057143
97
0.633855
97
1,087
7.020619
0.463918
0.105727
0.035242
0.04699
0.096916
0.096916
0
0
0
0
0
0.002392
0.230911
1,087
34
98
31.970588
0.812201
0.103036
0
0
0
0
0.286453
0.068252
0
0
0
0
0
1
0.142857
false
0
0.095238
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
0
0
0
0
0
0
0
1
0
92772f7652e5d7de73104cce45e1da31b37c887a
2,348
py
Python
733.flood-fill.py
Lonitch/hackerRank
84991b8340e725422bc47eec664532cc84a3447e
[ "MIT" ]
null
null
null
733.flood-fill.py
Lonitch/hackerRank
84991b8340e725422bc47eec664532cc84a3447e
[ "MIT" ]
null
null
null
733.flood-fill.py
Lonitch/hackerRank
84991b8340e725422bc47eec664532cc84a3447e
[ "MIT" ]
null
null
null
# # @lc app=leetcode id=733 lang=python3 # # [733] Flood Fill # # https://leetcode.com/problems/flood-fill/description/ # # algorithms # Easy (52.32%) # Likes: 745 # Dislikes: 146 # Total Accepted: 86.6K # Total Submissions: 163.5K # Testcase Example: '[[1,1,1],[1,1,0],[1,0,1]]\n1\n1\n2' # # # An image is repre...
30.493506
100
0.617121
383
2,348
3.78329
0.347258
0.012422
0.077295
0.011042
0.140787
0.140787
0.140787
0.120083
0.086957
0.074534
0
0.05436
0.247871
2,348
76
101
30.894737
0.766138
0.673765
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9278b5055cf7701d71ff39aa690e2ba8bd96a0df
2,205
py
Python
src/graph_transpiler/webdnn/backend/webgpu/kernels/reshape.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
1
2018-07-26T13:52:21.000Z
2018-07-26T13:52:21.000Z
src/graph_transpiler/webdnn/backend/webgpu/kernels/reshape.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
src/graph_transpiler/webdnn/backend/webgpu/kernels/reshape.py
gunpowder78/webdnn
c659ea49007f91d178ce422a1eebe289516a71ee
[ "MIT" ]
null
null
null
from typing import List from webdnn.backend.code_generator.allocator import MemoryLayout from webdnn.backend.code_generator.injectors.buffer_injector import BufferInjector from webdnn.backend.code_generator.injectors.kernel_name_injector import KernelNameInjector from webdnn.backend.webgpu.generator import WebGPUDescr...
32.910448
91
0.673469
263
2,205
5.444867
0.307985
0.055866
0.071229
0.043994
0.075419
0.054469
0
0
0
0
0
0.0046
0.211338
2,205
66
92
33.409091
0.818861
0.003175
0
0
0
0
0.297814
0.095173
0
0
0
0
0.057692
1
0.019231
false
0
0.173077
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9278cc591836f5c26f4155dd214702456cfc9574
6,624
py
Python
Ping-pong.py
IlyA1536/Ping-Pong
662d0e5801fab4bae949afeae6e67d050c8b58f4
[ "CC0-1.0" ]
null
null
null
Ping-pong.py
IlyA1536/Ping-Pong
662d0e5801fab4bae949afeae6e67d050c8b58f4
[ "CC0-1.0" ]
null
null
null
Ping-pong.py
IlyA1536/Ping-Pong
662d0e5801fab4bae949afeae6e67d050c8b58f4
[ "CC0-1.0" ]
null
null
null
from pygame import * from random import randint #фоновая музыка mixer.init() mixer.music.load('music.mp3') mixer.music.play() #подключение звуков GOAL_sound = mixer.Sound('GOAL.wav') hit_sound = mixer.Sound('HIT.wav') #шрифты и надписи font.init() font1 = font.SysFont("Arial", 73) win_left_text = fo...
31.69378
97
0.575483
879
6,624
4.166098
0.276451
0.022938
0.024577
0.009831
0.29574
0.231841
0.216002
0.183233
0.149645
0.129437
0
0.049642
0.324879
6,624
208
98
31.846154
0.769231
0.177989
0
0.279412
0
0
0.043495
0
0
0
0
0
0
1
0.036765
false
0
0.014706
0
0.080882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92794c155ed2c47d8f504e48e0719392aee204cd
1,277
py
Python
openwhisk/devices.py
jdsheehan/cristata
7115417c63f193b2eee85a6e0461106880e718aa
[ "Apache-2.0" ]
5
2018-07-30T18:50:55.000Z
2019-03-20T18:07:05.000Z
openwhisk/devices.py
jdsheehan/cristata
7115417c63f193b2eee85a6e0461106880e718aa
[ "Apache-2.0" ]
1
2018-06-25T21:08:35.000Z
2018-07-13T21:23:39.000Z
openwhisk/devices.py
jdsheehan/cristata
7115417c63f193b2eee85a6e0461106880e718aa
[ "Apache-2.0" ]
7
2018-06-25T21:09:29.000Z
2020-06-29T14:09:01.000Z
#!/usr/bin/env python #author mark_purcell@ie.ibm.com import json import os import requests import csv from db2 import DB2 SQL_TEMPLATE = '' SQL_TEMPLATE += 'CALL {database}(); ' def build_query(database): sql_template = SQL_TEMPLATE.format(database=database) return sql_template, True def process_response...
22.017241
98
0.588097
160
1,277
4.6
0.4875
0.074728
0.038043
0.059783
0
0
0
0
0
0
0
0.01594
0.263117
1,277
57
99
22.403509
0.766206
0.039154
0
0
0
0
0.144608
0
0
0
0
0
0
1
0.081081
false
0.027027
0.135135
0
0.297297
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
927c35a89cf67b0b0ea4047744d2f4c1543ea266
554
py
Python
faq/urls/normal.py
coordt/django-faq
1aa924ee5806dd8611fcf4a83ec46182b191ab60
[ "BSD-3-Clause" ]
1
2019-06-14T15:29:49.000Z
2019-06-14T15:29:49.000Z
faq/urls/normal.py
natgeosociety/django-faq
1aa924ee5806dd8611fcf4a83ec46182b191ab60
[ "BSD-3-Clause" ]
null
null
null
faq/urls/normal.py
natgeosociety/django-faq
1aa924ee5806dd8611fcf4a83ec46182b191ab60
[ "BSD-3-Clause" ]
1
2016-05-05T21:56:37.000Z
2016-05-05T21:56:37.000Z
# -*- coding: utf-8 -*- from django.conf.urls import url from faq.views import TopicListView, TopicDetailView, question_detail # Include these patterns if you want URLs like: # # /faq/ # /faq/topic/ # /faq/topic/#question # urlpatterns = [ url(r'^$', TopicListView.as_view(), name='faq-topic-list'), u...
21.307692
69
0.579422
68
554
4.647059
0.470588
0.101266
0.063291
0.082278
0.113924
0
0
0
0
0
0
0.002294
0.212996
554
25
70
22.16
0.722477
0.200361
0
0.153846
0
0
0.260369
0.099078
0
0
0
0
0
1
0
false
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
927cacc6f1985cec9c819c64c22a24d06d77cb91
22,599
py
Python
bitcoin/bitcoin.py
lucasmoten/pizero-minipitft
fcc4232348f0ebfbb6891fe52bf37036350a618a
[ "MIT" ]
1
2020-11-29T21:24:31.000Z
2020-11-29T21:24:31.000Z
bitcoin/bitcoin.py
lucasmoten/pizero-minipitft
fcc4232348f0ebfbb6891fe52bf37036350a618a
[ "MIT" ]
11
2020-12-03T16:40:51.000Z
2020-12-07T15:47:31.000Z
bitcoin/bitcoin.py
lucasmoten/pizero-minipitft
fcc4232348f0ebfbb6891fe52bf37036350a618a
[ "MIT" ]
1
2022-03-30T05:18:42.000Z
2022-03-30T05:18:42.000Z
# -*- coding: utf-8 -*- import time import subprocess import digitalio import board from PIL import Image, ImageDraw, ImageFont import adafruit_rgb_display.st7789 as st7789 import requests ##################################################################################################### # You can disable panels th...
38.499148
145
0.640427
2,671
22,599
5.400973
0.219019
0.011091
0.015528
0.028074
0.38188
0.329059
0.300083
0.26071
0.251282
0.177041
0
0.048865
0.212178
22,599
587
146
38.499148
0.761402
0.124253
0
0.294845
0
0.002062
0.099072
0.029845
0
0
0
0
0
1
0.024742
false
0
0.014433
0
0.049485
0.024742
0
0
0
null
0
0
0
0
0
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
1
0
927d630001b81a2b7cbcd0affc97c5a4e1a4fbf6
15,341
py
Python
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
69
2015-01-29T14:19:57.000Z
2021-12-05T13:21:37.000Z
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
132
2015-01-07T21:39:11.000Z
2022-01-28T19:12:18.000Z
scenarios/instance_provision_pressure.py
stdweird/cbtool
7ee1344c8bfa9d5cd6b4b6b620a35304509a1876
[ "Apache-2.0" ]
50
2015-02-10T15:53:22.000Z
2022-01-13T06:22:10.000Z
#!/usr/bin/python import itertools import fnmatch import json import os import pwd import redis import prettytable import datetime from sys import path, argv, stdout from time import sleep, time from optparse import OptionParser from common import * class ExpRunner: # ##########################################...
39.846753
154
0.472981
1,571
15,341
4.379376
0.171229
0.051017
0.054797
0.049709
0.290116
0.278779
0.257122
0.219767
0.198837
0.16686
0
0.014027
0.298286
15,341
385
155
39.846753
0.625081
0.090542
0
0.219697
0
0.003788
0.183897
0.018865
0
0
0
0
0
0
null
null
0
0.045455
null
null
0.143939
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
927feb504f8852916c65fed6b6c9f88a6f9cb945
24,612
py
Python
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
116
2015-10-18T02:57:08.000Z
2022-03-15T04:09:18.000Z
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
6
2016-11-07T22:15:54.000Z
2021-05-09T06:13:08.000Z
tacker/tests/unit/db/utils.py
h1r0mu/tacker
8c69dda51fcfe215c4878a86b82018d2b96e5561
[ "Apache-2.0" ]
166
2015-10-20T15:31:52.000Z
2021-11-12T08:39:49.000Z
# Copyright 2015 Brocade Communications System, Inc. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # #...
43.254833
79
0.596376
2,418
24,612
5.673284
0.11952
0.021869
0.036886
0.017349
0.771322
0.68873
0.615396
0.578291
0.527701
0.48892
0
0.087711
0.272266
24,612
568
80
43.330986
0.678187
0.030067
0
0.505593
0
0
0.397149
0.173004
0
0
0
0
0
1
0.111857
false
0.020134
0.008949
0.100671
0.232662
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
0
0
0
1
9282e076561a09b5b5e807ad3ccd8b3ba2cf7148
264
py
Python
leap_year_using_inbuilt_funciton.py
Ratheshprabakar/Python-Programs
fca9d4f0b5f5f5693b3d7e25c6d890f4973dc19e
[ "MIT" ]
2
2019-07-10T06:32:05.000Z
2019-11-13T07:52:53.000Z
leap_year_using_inbuilt_funciton.py
Ratheshprabakar/Python-Programs
fca9d4f0b5f5f5693b3d7e25c6d890f4973dc19e
[ "MIT" ]
null
null
null
leap_year_using_inbuilt_funciton.py
Ratheshprabakar/Python-Programs
fca9d4f0b5f5f5693b3d7e25c6d890f4973dc19e
[ "MIT" ]
1
2019-10-12T06:56:13.000Z
2019-10-12T06:56:13.000Z
#Python program to check whether the year is leap or not using inbuilt function import calendar def main(): x=int(input("Enter the year")) if calendar.isleap(x): print(x,"is leap year") else: print(x,"is not a leap year") if __name__=='__main__': main()
22
79
0.704545
45
264
3.955556
0.622222
0.078652
0.089888
0
0
0
0
0
0
0
0
0
0.170455
264
11
80
24
0.812785
0.295455
0
0
0
0
0.281081
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.222222
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
0
0
0
0
0
0
0
0
1
0
9285021996e531713e496d0c51fcc3ab2e94ce3e
32
py
Python
build/lib/maguro/version.py
rmaniego/karton
68e66599159a2cca316965a6fa24c1bf4a65e53a
[ "MIT" ]
1
2021-06-28T21:31:43.000Z
2021-06-28T21:31:43.000Z
build/lib/maguro/version.py
rmaniego/maguro
68e66599159a2cca316965a6fa24c1bf4a65e53a
[ "MIT" ]
null
null
null
build/lib/maguro/version.py
rmaniego/maguro
68e66599159a2cca316965a6fa24c1bf4a65e53a
[ "MIT" ]
null
null
null
""" maguro """ version = "0.0.9"
16
17
0.5
5
32
3.2
0.8
0
0
0
0
0
0
0
0
0
0
0.111111
0.15625
32
2
17
16
0.481481
0.1875
0
0
0
0
0.263158
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
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
9286688c082091e5345a71747b2028f3e00ce126
7,022
py
Python
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
1
2019-02-27T00:50:27.000Z
2019-02-27T00:50:27.000Z
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
null
null
null
cisco_deviot/gateway.py
CiscoDevIoT/gateway-python-sdk
6bc087cde44337dc76ee974775d116e2a8091c75
[ "Apache-2.0" ]
1
2019-03-01T19:03:51.000Z
2019-03-01T19:03:51.000Z
# Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under t...
41.064327
126
0.51239
715
7,022
4.900699
0.251748
0.040811
0.031963
0.025114
0.245148
0.123288
0.089612
0.089612
0.060502
0.035959
0
0.005403
0.393762
7,022
170
127
41.305882
0.817712
0.074338
0
0.173913
0
0
0.11082
0.003545
0
0
0
0
0
0
null
null
0
0.057971
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
928812ba9d8d40761eede59af222c55c1b93f423
2,658
py
Python
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
64
2015-01-04T00:04:26.000Z
2021-10-09T04:44:57.000Z
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
2
2015-04-11T17:37:06.000Z
2015-05-04T13:41:44.000Z
vault/models.py
szaydel/locksmith
39316e1b321d973576d0b3dcc840a1fde98ef0f1
[ "Apache-2.0" ]
19
2015-01-19T21:31:07.000Z
2020-02-15T08:53:38.000Z
# Copyright 2013 Evan Hazlett and contributors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
41.53125
79
0.715576
364
2,658
5.134615
0.398352
0.057785
0.083467
0.109149
0.276083
0.276083
0.258962
0.228999
0.228999
0.178705
0
0.011024
0.180963
2,658
63
80
42.190476
0.847497
0.220467
0
0.238095
0
0
0.069033
0.022363
0
0
0
0
0
1
0.119048
false
0.047619
0.166667
0.095238
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
9288db8bce578378c4eef0b2f0dd1396e58bb840
4,482
py
Python
src/PCE_Codes/graphs.py
nasa/UQPCE
64f2143cddf83ca2e835442db2fc9ef33c6d26be
[ "NASA-1.3" ]
13
2020-11-07T22:03:35.000Z
2022-01-12T22:08:53.000Z
src/PCE_Codes/graphs.py
nasa/UQPCE
64f2143cddf83ca2e835442db2fc9ef33c6d26be
[ "NASA-1.3" ]
null
null
null
src/PCE_Codes/graphs.py
nasa/UQPCE
64f2143cddf83ca2e835442db2fc9ef33c6d26be
[ "NASA-1.3" ]
4
2020-11-23T16:24:03.000Z
2022-03-25T01:25:21.000Z
from builtins import getattr from warnings import warn try: from mpi4py.MPI import DOUBLE as MPI_DOUBLE, COMM_WORLD as MPI_COMM_WORLD import matplotlib.pyplot as plt import numpy as np except: warn('Ensure that all required packages are installed.') exit() from PCE_Codes._helpers import _warn from...
32.715328
83
0.585676
554
4,482
4.599278
0.299639
0.040816
0.014129
0.021193
0.183673
0.161695
0.145212
0.090659
0.090659
0.042386
0
0.006252
0.321954
4,482
136
84
32.955882
0.832182
0.251673
0
0.118421
0
0
0.1573
0.03553
0
0
0
0
0
1
0.052632
false
0
0.092105
0
0.157895
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9288fc164e0faa00174f655789c095f5517d439e
21,121
py
Python
scripts/kidney.py
vickiwickinger/ThinkBayes2
2259f1e83dba9a959b2cc84c7b83318b53b3ee24
[ "MIT" ]
1,337
2015-01-06T06:23:55.000Z
2022-03-31T21:06:21.000Z
scripts/kidney.py
vickiwickinger/ThinkBayes2
2259f1e83dba9a959b2cc84c7b83318b53b3ee24
[ "MIT" ]
43
2015-04-23T13:14:15.000Z
2022-01-04T12:55:59.000Z
scripts/kidney.py
vickiwickinger/ThinkBayes2
2259f1e83dba9a959b2cc84c7b83318b53b3ee24
[ "MIT" ]
1,497
2015-01-13T22:05:32.000Z
2022-03-30T09:19:53.000Z
"""This file contains code for use with "Think Bayes", by Allen B. Downey, available from greenteapress.com Copyright 2012 Allen B. Downey License: GNU GPLv3 http://www.gnu.org/licenses/gpl.html """ from __future__ import print_function, division import math import numpy import random import sys import correlation ...
27.008951
80
0.573884
2,767
21,121
4.361764
0.193712
0.013257
0.011269
0.00348
0.203745
0.134891
0.107051
0.097688
0.075814
0.071008
0
0.032347
0.310591
21,121
781
81
27.043534
0.796511
0.293736
0
0.17801
0
0
0.067987
0.004432
0
0
0
0
0
1
0.117801
false
0
0.02356
0
0.217277
0.049738
0
0
0
null
0
0
0
0
0
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
1
0
92893bf164929c8a7d2d8a430070228cde40df01
256
py
Python
django/chat/views.py
AngelOnFira/django-quasar-template
f1f33a05bd78285d1dddd7480f1279f769576700
[ "MIT" ]
null
null
null
django/chat/views.py
AngelOnFira/django-quasar-template
f1f33a05bd78285d1dddd7480f1279f769576700
[ "MIT" ]
1
2022-02-14T11:05:12.000Z
2022-02-14T11:05:12.000Z
django/chat/views.py
AngelOnFira/django-quasar-template
f1f33a05bd78285d1dddd7480f1279f769576700
[ "MIT" ]
null
null
null
from .models import Message from .serializers import MessageSerializer from rest_framework import viewsets class MessageViewSet(viewsets.ModelViewSet): queryset = Message.objects.all().order_by("created_at") serializer_class = MessageSerializer
25.6
59
0.8125
28
256
7.285714
0.714286
0
0
0
0
0
0
0
0
0
0
0
0.121094
256
9
60
28.444444
0.906667
0
0
0
0
0
0.039063
0
0
0
0
0
0
1
0
false
0
0.5
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
4
928957e67f711c82d8b751175b522466746c5306
157
py
Python
src/data_loader/__init__.py
YCaptain/MapWorld-pred
12f35cd0744cabe1303321e0256b17967fe43da9
[ "MIT" ]
null
null
null
src/data_loader/__init__.py
YCaptain/MapWorld-pred
12f35cd0744cabe1303321e0256b17967fe43da9
[ "MIT" ]
null
null
null
src/data_loader/__init__.py
YCaptain/MapWorld-pred
12f35cd0744cabe1303321e0256b17967fe43da9
[ "MIT" ]
null
null
null
from .spacenet_loader import SpaceNetDataLoader from .spacenet_road_loader import SpaceNetRoadDataLoader from .cyclegan_data import CustomDatasetDataLoader
31.4
56
0.898089
16
157
8.5625
0.625
0.175182
0
0
0
0
0
0
0
0
0
0
0.082803
157
4
57
39.25
0.951389
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
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
928bb066d36b361a796df63bf40e98b8b8f26f01
88
py
Python
pytest_relaxed/__init__.py
cclauss/pytest-relaxed
2f6f83b35af312ce8f34686af79e7fdb7ca23726
[ "BSD-2-Clause" ]
24
2017-04-06T22:09:33.000Z
2022-03-26T14:06:38.000Z
pytest_relaxed/__init__.py
cclauss/pytest-relaxed
2f6f83b35af312ce8f34686af79e7fdb7ca23726
[ "BSD-2-Clause" ]
14
2017-11-15T18:53:17.000Z
2021-12-13T23:25:38.000Z
pytest_relaxed/__init__.py
cclauss/pytest-relaxed
2f6f83b35af312ce8f34686af79e7fdb7ca23726
[ "BSD-2-Clause" ]
8
2017-05-24T20:21:31.000Z
2022-03-10T05:58:26.000Z
# Convenience imports. # flake8: noqa from .trap import trap from .raises import raises
17.6
26
0.772727
12
88
5.666667
0.666667
0
0
0
0
0
0
0
0
0
0
0.013514
0.159091
88
4
27
22
0.905405
0.375
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
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
928cdb12cb361d5fcb3ef68b59a2d730df5d6777
1,072
py
Python
parser.py
wongalvis/WiktionaryCrawler
4a61e5f28d4bca591b10f9bcc2b3c0d29138fc15
[ "Unlicense" ]
null
null
null
parser.py
wongalvis/WiktionaryCrawler
4a61e5f28d4bca591b10f9bcc2b3c0d29138fc15
[ "Unlicense" ]
null
null
null
parser.py
wongalvis/WiktionaryCrawler
4a61e5f28d4bca591b10f9bcc2b3c0d29138fc15
[ "Unlicense" ]
1
2019-03-28T00:25:46.000Z
2019-03-28T00:25:46.000Z
import config, lang import pb import urllib2 import urlnorm import os import time def parse(pages): spelings = [] speling_dirpath = "data/speling/%s/%s/" % (config.wiki_lang, config.start_cat) pages_dirpath = "data/pages/%s/%s/" % (config.wiki_lang, config.start_cat) counter = 0 for page in pages: counter +=...
23.304348
79
0.677239
157
1,072
4.496815
0.305732
0.109065
0.033994
0.050992
0.33711
0.33711
0.263456
0.172805
0.130312
0.130312
0
0.003363
0.16791
1,072
46
80
23.304348
0.788117
0
0
0.142857
0
0
0.073625
0
0
0
0
0
0
1
0.057143
false
0
0.171429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
928ec887f63d3c4f2f730f5e35706d8bb96d40b2
8,087
py
Python
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/securityinsights/v20190101preview/get_automation_rule.py
sebtelko/pulumi-azure-native
711ec021b5c73da05611c56c8a35adb0ce3244e4
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
37.439815
229
0.657722
938
8,087
5.359275
0.153518
0.03342
0.03342
0.045355
0.325642
0.183012
0.134673
0.074398
0.01114
0
0
0.001481
0.248671
8,087
215
230
37.613953
0.825872
0.13565
0
0.125874
1
0
0.171068
0.047869
0
0
0
0
0
1
0.104895
false
0
0.041958
0
0.258741
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
928fe78301baaab64810fda9828eb05526f5d381
416
py
Python
utils/hmdb_label.py
raozhongyu/3D-ConvNets-for-Action-Recognition
8ede339ad4988bfee78a419022cff9f719d2af71
[ "MIT" ]
46
2018-08-25T07:45:07.000Z
2022-01-27T04:06:38.000Z
utils/hmdb_label.py
raozhongyu/3D-ConvNets-for-Action-Recognition
8ede339ad4988bfee78a419022cff9f719d2af71
[ "MIT" ]
1
2018-10-10T12:59:43.000Z
2018-10-10T12:59:43.000Z
utils/hmdb_label.py
raozhongyu/3D-ConvNets-for-Action-Recognition
8ede339ad4988bfee78a419022cff9f719d2af71
[ "MIT" ]
19
2018-10-10T12:58:44.000Z
2021-04-25T16:12:08.000Z
import os img_path = '/home/deep/datasets/hmdb/' clip_length = 16 f = open('ucfTrainTestlist/hmdb.txt', 'w') actions = os.listdir(img_path) actions.sort(key=str.lower) label = 0 for action in actions: print(action) samples = os.listdir(img_path + action) samples.sort(key=str.lower) for sample in sam...
20.8
64
0.644231
61
416
4.327869
0.557377
0.079545
0.090909
0.121212
0
0
0
0
0
0
0
0.011976
0.197115
416
19
65
21.894737
0.778443
0
0
0
0
0
0.132212
0.120192
0
0
0
0
0
1
0
false
0
0.066667
0
0.066667
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9291017fab8fc41f30f6a3b5858bb70a792408b4
73
py
Python
ik/src/tests/python/test_Solver.py
LaudateCorpus1/ik
c472230ecd6958f7a105d7188ebb1e871ef7a8b1
[ "MIT" ]
363
2017-08-22T03:07:55.000Z
2022-03-27T02:41:30.000Z
ik/src/tests/python/test_Solver.py
LaudateCorpus1/ik
c472230ecd6958f7a105d7188ebb1e871ef7a8b1
[ "MIT" ]
18
2019-04-05T12:43:03.000Z
2022-01-19T16:25:48.000Z
ik/src/tests/python/test_Solver.py
LaudateCorpus1/ik
c472230ecd6958f7a105d7188ebb1e871ef7a8b1
[ "MIT" ]
53
2017-09-27T07:14:03.000Z
2022-01-03T17:55:18.000Z
import ik import unittest class TestSolver(unittest.TestCase): pass
12.166667
36
0.780822
9
73
6.333333
0.777778
0
0
0
0
0
0
0
0
0
0
0
0.164384
73
5
37
14.6
0.934426
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0.25
0.5
0
0.75
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
1
1
0
1
0
0
6
929107b27ad9748f2ff4956a92dd324eba875c13
437
py
Python
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
geotrek/feedback/migrations/0031_report_eid.py
GeotrekCE/Geotrek
c1393925c1940ac795ab7fc04819cd8c78bc79fb
[ "BSD-2-Clause" ]
null
null
null
# Generated by Django 3.1.14 on 2022-03-24 11:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('feedback', '0030_auto_20220324_0947'), ] operations = [ migrations.AddField( model_name='report', name='eid', ...
23
104
0.613272
49
437
5.346939
0.857143
0
0
0
0
0
0
0
0
0
0
0.111801
0.263158
437
18
105
24.277778
0.701863
0.105263
0
0
1
0
0.131105
0.059126
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9295f185bea3693f60585923f865715fd849e6ea
1,232
py
Python
transl-service-sls/test_handler.py
viktormishyn/transl-service-aws
2bae073aded82f316123eefd845aa1a1e0a69b5d
[ "MIT" ]
null
null
null
transl-service-sls/test_handler.py
viktormishyn/transl-service-aws
2bae073aded82f316123eefd845aa1a1e0a69b5d
[ "MIT" ]
null
null
null
transl-service-sls/test_handler.py
viktormishyn/transl-service-aws
2bae073aded82f316123eefd845aa1a1e0a69b5d
[ "MIT" ]
null
null
null
import json import pytest from handler import detect_language, translate_message, handler @pytest.mark.skip @pytest.mark.parametrize("test_input, expected", [ ('This text is written in English', 'en'), ('Этот текст написан mostly по-русски', 'ru'), ('Ten tekst jest napisany w jezyku polskim, ale bez znako...
34.222222
86
0.693182
151
1,232
5.496689
0.410596
0.072289
0.050602
0.072289
0.384337
0.319277
0.319277
0.233735
0.127711
0
0
0.002836
0.141234
1,232
35
87
35.2
0.781664
0
0
0.206897
0
0
0.314935
0
0
0
0
0
0.137931
1
0.103448
false
0
0.103448
0
0.206897
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
9297372fa443955e53e67f87e3ad4b6f573eebaa
715
py
Python
ag/orbit/node/config/interface.py
AlphaGriffin/orbit-node
6e330a2734a6a5dfbb52d984fe0b2f8dff4755cd
[ "MIT" ]
null
null
null
ag/orbit/node/config/interface.py
AlphaGriffin/orbit-node
6e330a2734a6a5dfbb52d984fe0b2f8dff4755cd
[ "MIT" ]
null
null
null
ag/orbit/node/config/interface.py
AlphaGriffin/orbit-node
6e330a2734a6a5dfbb52d984fe0b2f8dff4755cd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # # Copyright (C) 2018 Alpha Griffin # @%@~LICENSE~@%@ from ag.orbit.command import main from ag.orbit.node.config import get_webapi_interface, set_webapi_interface def run(args): if args and len(args) != 1: raise ValueError("Expecting exactly 1 argument") if args: ip ...
20.428571
75
0.606993
94
715
4.446809
0.5
0.143541
0.052632
0
0
0
0
0
0
0
0
0.015267
0.267133
715
34
76
21.029412
0.782443
0.097902
0
0.166667
0
0
0.226563
0
0
0
0
0
0
1
0.055556
false
0
0.111111
0
0.166667
0.333333
0
0
0
null
0
0
0
0
0
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
1
0
92978a18ec72ff57a63325176d0b1a9c34d9e043
849
py
Python
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
license_plate_classifier.py
neryay/OCR_SPACE_License_Plate_Detection
c61b620df4558cc7b0b9a868405395f7aa708dac
[ "Unlicense" ]
null
null
null
import ocr_space_api_engine as ocr_eng import licensePlate_string_parser as license_parser import DB_Utils import os import datetime def run(): dataset_rel_path = 'images/' files = os.listdir(dataset_rel_path) vehicles = {license_parser.tables_names[0]: {}, license_parser.tables...
32.653846
97
0.673734
102
849
5.196078
0.431373
0.171698
0.179245
0.226415
0
0
0
0
0
0
0
0.007716
0.236749
849
25
98
33.96
0.810185
0
0
0
0
0
0.008516
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.315789
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
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
929893933759cc9c2a16174a003428aa9861cd4f
1,290
py
Python
src/main/python/ch03/sec03/demo_corpus_loader.py
zhuyuanxiang/Hanlp-Books-Examples
17aff14fa22ec6bc422ffa53497f98c22f9c7efe
[ "MIT" ]
4
2021-01-04T07:04:32.000Z
2021-07-25T12:25:58.000Z
src/main/python/ch03/sec03/demo_corpus_loader.py
zhuyuanxiang/Hanlp-Books-Examples
17aff14fa22ec6bc422ffa53497f98c22f9c7efe
[ "MIT" ]
null
null
null
src/main/python/ch03/sec03/demo_corpus_loader.py
zhuyuanxiang/Hanlp-Books-Examples
17aff14fa22ec6bc422ffa53497f98c22f9c7efe
[ "MIT" ]
null
null
null
# -*- encoding: utf-8 -*- """ @Author : zYx.Tom @Contact : 526614962@qq.com @site : https://zhuyuanxiang.github.io --------------------------- @Software : PyCharm @Project : Hanlp-Books-Examples @File : demo_corpus_loader.py @Version : v0.1 @Time : 2020-12-21 16:27 @...
24.807692
72
0.55969
159
1,290
4.314465
0.553459
0.116618
0.048105
0.08309
0.067055
0
0
0
0
0
0
0.034908
0.244961
1,290
51
73
25.294118
0.669405
0.370543
0
0
0
0
0.090909
0
0
0
0
0
0
1
0.12
false
0.04
0.12
0.04
0.32
0.16
0
0
0
null
0
0
0
0
0
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
1
0
929a40a2c2266e63e865c5849f48f7efa2fab62e
1,895
py
Python
saged/get_tissue_data.py
ben-heil/saged
a2c039f00bfc97011c2ee1343c39af42e6f2e1e6
[ "BSD-3-Clause" ]
3
2020-07-24T01:06:04.000Z
2021-12-20T14:35:21.000Z
saged/get_tissue_data.py
ben-heil/saged
a2c039f00bfc97011c2ee1343c39af42e6f2e1e6
[ "BSD-3-Clause" ]
39
2020-06-26T12:54:35.000Z
2022-03-23T14:16:34.000Z
saged/get_tissue_data.py
ben-heil/saged
a2c039f00bfc97011c2ee1343c39af42e6f2e1e6
[ "BSD-3-Clause" ]
1
2020-05-29T14:24:16.000Z
2020-05-29T14:24:16.000Z
""" Create a label file and a pickled subset file of the recount3 dataset containing only samples with manually annotated tissue labels """ import argparse import pickle from typing import Dict import pandas as pd def map_samples_to_labels(file_path: str) -> Dict[str, str]: metadata_df = pd.read_csv(file_path, ...
34.454545
98
0.729815
281
1,895
4.601423
0.33452
0.048724
0.074246
0.027842
0.122196
0.122196
0.072699
0
0
0
0
0.001284
0.177836
1,895
54
99
35.092593
0.828626
0.069129
0
0
0
0
0.191344
0.030752
0
0
0
0
0
1
0.03125
false
0
0.125
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
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
929ea315775a00593ed7a9f890d334c617507497
4,136
py
Python
tests/broker/test_del_parameter.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
7
2015-07-31T05:57:30.000Z
2021-09-07T15:18:56.000Z
tests/broker/test_del_parameter.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
115
2015-03-03T13:11:46.000Z
2021-09-20T12:42:24.000Z
tests/broker/test_del_parameter.py
ned21/aquilon
6562ea0f224cda33b72a6f7664f48d65f96bd41a
[ "Apache-2.0" ]
13
2015-03-03T11:17:59.000Z
2021-09-09T09:16:41.000Z
#!/usr/bin/env python # -*- cpy-indent-level: 4; indent-tabs-mode: nil -*- # ex: set expandtab softtabstop=4 shiftwidth=4: # # Copyright (C) 2016 Contributor # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of...
42.204082
89
0.60324
421
4,136
5.793349
0.35867
0.090611
0.106601
0.107011
0.520705
0.480115
0.456745
0.456745
0.456745
0.412464
0
0.009772
0.257737
4,136
97
90
42.639175
0.784691
0.173356
0
0.5
0
0
0.318516
0
0
0
0
0
0
1
0.080645
false
0
0.064516
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
929f30d54fb67d713942739135dbf52d301c492c
1,210
py
Python
tests/json_type_content_validator_tests.py
vklap/flask-json-content-type-validator
9c6e596b1e47dc1fd4fe0ab738abbc7a4a8ab206
[ "MIT" ]
2
2019-11-15T17:59:36.000Z
2020-06-08T04:42:36.000Z
tests/json_type_content_validator_tests.py
vklap/flask-json-content-type-validator
9c6e596b1e47dc1fd4fe0ab738abbc7a4a8ab206
[ "MIT" ]
null
null
null
tests/json_type_content_validator_tests.py
vklap/flask-json-content-type-validator
9c6e596b1e47dc1fd4fe0ab738abbc7a4a8ab206
[ "MIT" ]
null
null
null
import unittest import json from tests.dummy_flask_app import app class JsonTypeContentValidatorTests(unittest.TestCase): def setUp(self): app.testing = True self.app = app.test_client() def test_dummy_resource_should_return_data_given_json_content_header(self): # given url = ...
29.512195
85
0.643802
142
1,210
5.267606
0.359155
0.080214
0.032086
0.053476
0.516043
0.516043
0.259358
0.259358
0.259358
0.259358
0
0.014493
0.258678
1,210
40
86
30.25
0.819398
0.02562
0
0.230769
0
0
0.093857
0
0
0
0
0
0.153846
1
0.115385
false
0
0.115385
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
929fca46bf26c17e3a094d83f8ff90c1a0c57add
582
py
Python
webware/MiddleKit/WebBrowser/BrowseObject.py
PeaceWorksTechnologySolutions/w4py3-middlekit
a9554e20c47010e7b0c0deee63e1786482c59a1c
[ "MIT" ]
2
2020-10-31T09:12:58.000Z
2021-02-20T13:52:14.000Z
webware/MiddleKit/WebBrowser/BrowseObject.py
WebwareForPython/w4py3-middlekit
f740e2d2d3a5c225d6b8f9eb27ac08f8deed47e6
[ "MIT" ]
2
2020-01-07T15:24:09.000Z
2020-01-08T15:39:57.000Z
webware/MiddleKit/WebBrowser/BrowseObject.py
PeaceWorksTechnologySolutions/w4py3-middlekit
a9554e20c47010e7b0c0deee63e1786482c59a1c
[ "MIT" ]
1
2021-09-27T21:04:18.000Z
2021-09-27T21:04:18.000Z
from .StorePage import StorePage class BrowseObject(StorePage): def writeContent(self): req = self.request() className = req.field('class') serialNum = int(req.field('serialNum')) obj = self.store().fetchObject(className, serialNum, None) if obj is None: self.w...
29.1
66
0.539519
61
582
5.147541
0.557377
0.050955
0
0
0
0
0
0
0
0
0
0
0.319588
582
19
67
30.631579
0.792929
0
0
0
0
0
0.111684
0
0
0
0
0
0
1
0.0625
false
0
0.0625
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92a06ec22b5b18f54c6edc08711413ab59ced176
199
py
Python
mountain/db.py
tehmaze-labs/mountain
f9fc9d66b3bd525b771acc2d76e36aaf405dc51a
[ "MIT" ]
2
2019-09-22T15:33:55.000Z
2022-02-20T09:34:12.000Z
mountain/db.py
tehmaze-labs/mountain
f9fc9d66b3bd525b771acc2d76e36aaf405dc51a
[ "MIT" ]
null
null
null
mountain/db.py
tehmaze-labs/mountain
f9fc9d66b3bd525b771acc2d76e36aaf405dc51a
[ "MIT" ]
null
null
null
# Import SQLAlchemy from flask.ext.sqlalchemy import SQLAlchemy # Import Flask from .app import app # Define the database object which is imported # by modules and controllers db = SQLAlchemy(app)
19.9
46
0.788945
28
199
5.607143
0.642857
0.203822
0
0
0
0
0
0
0
0
0
0
0.160804
199
9
47
22.111111
0.94012
0.512563
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
5
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
92a139101f7375dea0fe1c410b3894330370bd08
2,867
py
Python
scripts/generate-new-list.py
shiaki/sforzando
24aa5c49693fe783336cf41847b1b361e709d086
[ "MIT" ]
null
null
null
scripts/generate-new-list.py
shiaki/sforzando
24aa5c49693fe783336cf41847b1b361e709d086
[ "MIT" ]
null
null
null
scripts/generate-new-list.py
shiaki/sforzando
24aa5c49693fe783336cf41847b1b361e709d086
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Read results from visual inspection, create new target lists. ''' import os, sys import json import glob, shutil from collections import OrderedDict if __name__ == '__main__': # read candidate events. with open('candidate-events.json', 'r') as fp: cand_events = json.load(fp...
31.855556
70
0.560516
376
2,867
4.013298
0.308511
0.033135
0.035785
0.026508
0.104705
0.055666
0.043738
0.043738
0.043738
0.043738
0
0.010417
0.33031
2,867
89
71
32.213483
0.775521
0.114405
0
0.111111
0
0
0.080295
0.019531
0
0
0
0
0
1
0
false
0
0.074074
0
0.074074
0.055556
0
0
0
null
0
0
0
0
0
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
1
0
92a1643415ce525953e9608207d138948ae44c6e
736
py
Python
setup.py
movermeyer/rexlex
6c451a3b7e9134cbdf895a7ec5682e480480ef1a
[ "BSD-3-Clause" ]
null
null
null
setup.py
movermeyer/rexlex
6c451a3b7e9134cbdf895a7ec5682e480480ef1a
[ "BSD-3-Clause" ]
null
null
null
setup.py
movermeyer/rexlex
6c451a3b7e9134cbdf895a7ec5682e480480ef1a
[ "BSD-3-Clause" ]
1
2018-03-05T00:40:04.000Z
2018-03-05T00:40:04.000Z
#!/usr/bin/env python from setuptools import find_packages, setup long_description = """Basic regular expression lexer implementation. """ appname = "rexlex" version = "0.02" setup(**{ "name": appname, "version": version, "packages": [ 'tater', ], "author": "Thom Neale", "package...
23
68
0.588315
71
736
6
0.633803
0.105634
0.107981
0.15493
0.244131
0.244131
0
0
0
0
0
0.005226
0.220109
736
31
69
23.741935
0.736934
0.027174
0
0
0
0
0.453147
0
0
0
0
0
0
1
0
false
0
0.038462
0
0.038462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92a2d943773633b0c8d2368e44bf92c1be473d13
2,776
py
Python
alipay/aop/api/domain/EduWorkAddress.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
213
2018-08-27T16:49:32.000Z
2021-12-29T04:34:12.000Z
alipay/aop/api/domain/EduWorkAddress.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
29
2018-09-29T06:43:00.000Z
2021-09-02T03:27:32.000Z
alipay/aop/api/domain/EduWorkAddress.py
snowxmas/alipay-sdk-python-all
96870ced60facd96c5bce18d19371720cbda3317
[ "Apache-2.0" ]
59
2018-08-27T16:59:26.000Z
2022-03-25T10:08:15.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.constant.ParamConstants import * class EduWorkAddress(object): def __init__(self): self._address = None self._city = None self._district_name = None self._province = None self._street_name = Non...
27.485149
77
0.569885
321
2,776
4.700935
0.133956
0.119284
0.087475
0.059642
0.250497
0.141816
0
0
0
0
0
0.000536
0.32781
2,776
100
78
27.76
0.808146
0.01513
0
0.120482
0
0
0.088645
0
0
0
0
0
0
1
0.156627
false
0
0.024096
0.060241
0.289157
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92a3e68d41a9710b084dfa63bf531cd128f665af
450
py
Python
Python/435.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
1
2020-12-10T05:36:15.000Z
2020-12-10T05:36:15.000Z
Python/435.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
null
null
null
Python/435.py
JWang169/LintCodeJava
b75b06fa1551f5e4d8a559ef64e1ac29db79c083
[ "CNRI-Python" ]
3
2020-04-06T05:55:08.000Z
2021-08-29T14:26:54.000Z
class Solution: def eraseOverlapIntervals(self, intervals: List[List[int]]) -> int: if not intervals: return 0 count = 0 intervals.sort() left, right = intervals[0] for start, end in intervals[1:]: if start < right: count += 1 ...
26.470588
71
0.451111
43
450
4.72093
0.534884
0.078818
0
0
0
0
0
0
0
0
0
0.020921
0.468889
450
17
72
26.470588
0.828452
0
0
0
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92a551a7495fb26a88c28fac7bc5841ea1c6677d
585
py
Python
tests/basic_tests/test_obj.py
sriteja777/My_Mario
ee90abb1f40d42805cf6a92f9773aa04a1743a44
[ "MIT" ]
1
2021-03-24T13:52:15.000Z
2021-03-24T13:52:15.000Z
tests/basic_tests/test_obj.py
sriteja777/My_Mario
ee90abb1f40d42805cf6a92f9773aa04a1743a44
[ "MIT" ]
null
null
null
tests/basic_tests/test_obj.py
sriteja777/My_Mario
ee90abb1f40d42805cf6a92f9773aa04a1743a44
[ "MIT" ]
1
2018-12-18T13:59:29.000Z
2018-12-18T13:59:29.000Z
import sys sys.path.append('/home/sriteja/PycharmProjects/My_Mario/mymario') import objects as o import config as c ob = o.Obj(10, 10, 5,6, 'a') def test_init(): assert (ob.max_x, ob.max_y, ob.min_x, ob.min_y, ob.string, ob.check_ends) == (10, 10, 5, 6, 'a', False) def test_update(): ob.min_x = 4 ob.mi...
20.892857
107
0.605128
111
585
3.018018
0.369369
0.089552
0.053731
0.035821
0.40597
0.364179
0.214925
0.214925
0.214925
0.214925
0
0.053215
0.22906
585
28
108
20.892857
0.689579
0
0
0.454545
0
0
0.085324
0.078498
0
0
0
0
0.136364
1
0.136364
false
0
0.136364
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92a5e861cf4d8399bd7cd91a87489badf6a26104
3,479
py
Python
termdoc/htdm.py
jtauber/termdoc
4dd765437ddf8a1bf3eb8c2bbbda4f71273fee85
[ "MIT" ]
7
2021-05-20T23:54:30.000Z
2021-10-21T03:01:21.000Z
termdoc/htdm.py
jtauber/termdoc
4dd765437ddf8a1bf3eb8c2bbbda4f71273fee85
[ "MIT" ]
24
2021-05-18T07:56:00.000Z
2021-08-14T12:35:34.000Z
termdoc/htdm.py
jtauber/termdoc
4dd765437ddf8a1bf3eb8c2bbbda4f71273fee85
[ "MIT" ]
null
null
null
import collections from enum import Enum, auto class Duplicates(Enum): ALLOW = auto() IGNORE = auto() ERROR = auto() class HTDM: def __init__(self, address_sep=".", duplicates=Duplicates.ALLOW): self.counters = [] self.address_sep = address_sep self.duplicates = duplicates ...
36.239583
85
0.569991
393
3,479
4.933842
0.216285
0.082517
0.072202
0.030944
0.092831
0.044353
0.044353
0.044353
0.044353
0
0
0.004314
0.333717
3,479
95
86
36.621053
0.832183
0
0
0.0875
0
0
0.020408
0
0
0
0
0
0
1
0.15
false
0
0.025
0.0125
0.3125
0.0125
0
0
0
null
0
0
0
0
0
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
1
0
92a80e67902b327f49022344c6449b52dc564296
199
py
Python
CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py
albinger/Adafruit_Learning_System_Guides
4fe2da261fe5d1ca282b86bd3b93ee1466346fa7
[ "MIT" ]
null
null
null
CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py
albinger/Adafruit_Learning_System_Guides
4fe2da261fe5d1ca282b86bd3b93ee1466346fa7
[ "MIT" ]
null
null
null
CircuitPython_Made_Easy_On_CPX/cpx_play_tone/code.py
albinger/Adafruit_Learning_System_Guides
4fe2da261fe5d1ca282b86bd3b93ee1466346fa7
[ "MIT" ]
null
null
null
# SPDX-FileCopyrightText: 2017 Kattni Rembor for Adafruit Industries # # SPDX-License-Identifier: MIT from adafruit_circuitplayground.express import cpx cpx.play_tone(262, 1) cpx.play_tone(294, 1)
22.111111
68
0.80402
28
199
5.607143
0.75
0.089172
0.140127
0
0
0
0
0
0
0
0
0.067797
0.110553
199
8
69
24.875
0.819209
0.477387
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
92a90c376bb34719218ade2a529d194a53bd4e68
4,375
py
Python
modules/all_class.py
shequ123/Tron_monitor
ac071481f04395c54da12aebd13096bb76337a10
[ "MIT" ]
2
2018-11-26T09:08:00.000Z
2018-12-05T04:16:49.000Z
modules/all_class.py
shequ123/Tron_monitor
ac071481f04395c54da12aebd13096bb76337a10
[ "MIT" ]
null
null
null
modules/all_class.py
shequ123/Tron_monitor
ac071481f04395c54da12aebd13096bb76337a10
[ "MIT" ]
null
null
null
# 这个文件包含3个类 # Transaction # Top # Block # 用来实例化后实行解析操作 class Transaction: txID = '' ret = [] signature = [] raw_data = {} txdata = {} type = '' def __init__(self, tx): self.txID = tx['txID'] self.ret = tx['ret'] self.signature = tx['signature'] self.raw_dat...
24.857955
100
0.630629
546
4,375
4.820513
0.122711
0.079787
0.180851
0.068389
0.300912
0.18883
0.135258
0.06231
0.032675
0
0
0.007116
0.261257
4,375
175
101
25
0.80724
0.036571
0
0.055046
0
0
0.099163
0
0
0
0
0
0
1
0.311927
false
0
0
0.275229
0.779817
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
1
1
0
0
4
92aac54ee2f007488fca049482a6bfd926d66471
2,432
py
Python
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
oo/carro.py
Jaques1974/pythonbirds
dcd7270442dc652ff698689b81ee45c9a7c76c2d
[ "MIT" ]
null
null
null
""" Você deve criar uma classe carro que vai possuir dois atributos compostos por outras duas classes: 1)Motor 2)Direção O Motor terá a responsabilidade de controlar a velocidade. Ele oferece os seguintes atributos: 1)Atributo de dado velocidade 2)Método acelerar, que deverá incrementar a velocidade de uma unidade ...
17.751825
93
0.612664
276
2,432
5.26087
0.246377
0.053719
0.071625
0.055096
0.460744
0.339532
0.081956
0
0
0
0
0.012121
0.253701
2,432
136
94
17.882353
0.787879
0.892681
0
0
0
0
0
0
0
0
0
0.029412
0
1
0.375
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
1
0
0
1
0
0
0
0
0
0
0
3
92abd4bfab45f4773add1ea8e00aef24b3e5cafc
2,482
py
Python
gpflowopt/acquisition/poi.py
kyu999/GPflowOpt
972aa70a57222c66ce9bcfe077f92deb4fbaf227
[ "Apache-2.0" ]
258
2017-04-28T15:47:35.000Z
2022-03-31T08:44:40.000Z
gpflowopt/acquisition/poi.py
yanpei18345156216/GPflowOpt
f1c268e6b5dc4d7f458e06c59095901d55b73c32
[ "Apache-2.0" ]
123
2017-04-28T22:20:47.000Z
2021-10-01T16:29:47.000Z
gpflowopt/acquisition/poi.py
yanpei18345156216/GPflowOpt
f1c268e6b5dc4d7f458e06c59095901d55b73c32
[ "Apache-2.0" ]
69
2017-06-06T00:18:01.000Z
2022-02-25T21:43:39.000Z
# Copyright 2017 Joachim van der Herten # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wr...
36.5
154
0.670024
309
2,482
5.239482
0.550162
0.03706
0.016059
0.019765
0
0
0
0
0
0
0
0.015049
0.22361
2,482
67
155
37.044776
0.825117
0.522965
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.238095
0
0.47619
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92ae05ad8c75372791cf6ad5c9f3d0a8771a5d26
3,160
py
Python
courriers/backends/mailjet.py
multiplay/django-courriers
4a043ad190652126e6a6a979b196286304cc4be3
[ "MIT" ]
null
null
null
courriers/backends/mailjet.py
multiplay/django-courriers
4a043ad190652126e6a6a979b196286304cc4be3
[ "MIT" ]
null
null
null
courriers/backends/mailjet.py
multiplay/django-courriers
4a043ad190652126e6a6a979b196286304cc4be3
[ "MIT" ]
1
2022-02-12T11:34:44.000Z
2022-02-12T11:34:44.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals import logging from django.template.loader import render_to_string from django.utils.translation import ugettext as _ from django.utils.functional import cached_property from django.core.exceptions import ImproperlyConfigured try: f...
32.57732
106
0.625316
350
3,160
5.4
0.305714
0.084656
0.051852
0.040212
0.341799
0.318519
0.250794
0.206349
0.077249
0.077249
0
0.00172
0.263924
3,160
96
107
32.916667
0.810834
0.006646
0
0.22973
0
0
0.126554
0.022633
0
0
0
0
0
1
0.081081
false
0
0.175676
0.027027
0.297297
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92aeaf3bb38c5d7ba7802606c755df910d5db3eb
307
py
Python
rnmu/pme/clique.py
marianotepper/nmu_rfit
c726be892b928b884f81452697b9211cf273e03c
[ "BSD-3-Clause" ]
8
2017-06-13T13:07:34.000Z
2020-02-13T06:30:42.000Z
rnmu/pme/clique.py
marianotepper/nmu_rfit
c726be892b928b884f81452697b9211cf273e03c
[ "BSD-3-Clause" ]
null
null
null
rnmu/pme/clique.py
marianotepper/nmu_rfit
c726be892b928b884f81452697b9211cf273e03c
[ "BSD-3-Clause" ]
3
2017-06-10T18:30:57.000Z
2019-03-19T07:28:25.000Z
from networkx import Graph, complement from networkx.algorithms.clique import find_cliques def maximal_independent_sets(mat): g = Graph(mat) for u in g.nodes(): if g.has_edge(u, u): g.remove_edge(u, u) cg = complement(g) isets = list(find_cliques(cg)) return isets
23.615385
51
0.664495
46
307
4.304348
0.586957
0.121212
0.060606
0
0
0
0
0
0
0
0
0
0.237785
307
12
52
25.583333
0.846154
0
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92aeeb3e9d61abc362adc14aaad14c366f08ca7b
47,930
py
Python
src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
1
2021-05-26T19:08:29.000Z
2021-05-26T19:08:29.000Z
src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
7
2021-05-04T13:12:39.000Z
2022-03-09T21:04:33.000Z
src/vbr/tableclasses/redcap/autogenerated/qst_mcc1_v03.py
a2cps/python-vbr
9d5d4480386d0530450d59157e0da6937320f928
[ "BSD-3-Clause" ]
2
2021-04-20T14:46:52.000Z
2021-06-07T20:28:28.000Z
"""Autogenerated 2021-11-16T11:37:36.551949 by redcap_classfiles.py """ from ....pgrest import * from ...constants import Constants from ..rcconstants import REDCapConstants from ..rcaptable import RcapTable __all__ = ["RcapQstMcc1V03"] class RcapQstMcc1V03(RcapTable): """Qst Mcc1 V03""" __redcap_form_nam...
68.964029
245
0.528041
11,141
47,930
2.265326
0.028364
0.031698
0.035661
0.031698
0.908352
0.902647
0.866867
0.841231
0.840082
0.833545
0
0.245692
0.250511
47,930
694
246
69.063401
0.456866
0.686105
0
0
1
0
0.002891
0
0
0
0
0
0
1
0
false
0
0.022472
0
0.994382
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
10
92b048524e06f46f14c0a5fe0c3471d724de29c7
4,241
py
Python
NLP_Preprocessing/utils/utils_preprocessing.py
Centroida/case_ontotext
ad6cb3aaea5edc618bdb90443d95d067410c539f
[ "Apache-2.0" ]
2
2018-02-11T10:34:48.000Z
2018-02-11T17:31:21.000Z
NLP_Preprocessing/utils/utils_preprocessing.py
Centroida/case_ontotext
ad6cb3aaea5edc618bdb90443d95d067410c539f
[ "Apache-2.0" ]
null
null
null
NLP_Preprocessing/utils/utils_preprocessing.py
Centroida/case_ontotext
ad6cb3aaea5edc618bdb90443d95d067410c539f
[ "Apache-2.0" ]
null
null
null
# -*- coding: iso-8859-15 -*- import unicodedata import nltk from nltk.stem.porter import PorterStemmer import itertools from nltk.tokenize import RegexpTokenizer import pandas as pd import numpy as np import re from nltk.corpus import stopwords from tqdm import tqdm import glob import multiprocessing from functools im...
34.479675
90
0.590663
562
4,241
4.368327
0.291815
0.074134
0.053768
0.058248
0.327495
0.311202
0.270468
0.215071
0.215071
0.215071
0
0.011147
0.259609
4,241
123
91
34.479675
0.770701
0.082999
0
0.252632
0
0
0.13297
0.030327
0
0
0
0
0
1
0.073684
false
0
0.178947
0
0.294737
0.021053
0
0
0
null
0
0
0
0
0
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
1
0
92b0497c2fa2c3a01be8e9844086d5b63c53e894
1,902
py
Python
rx/testing/reactivetest.py
mmpio/RxPY
4ed60bb5c04aa85de5210e5537a6adfe1b667d50
[ "MIT" ]
4,342
2015-01-06T09:00:23.000Z
2022-03-28T15:05:50.000Z
rx/testing/reactivetest.py
mmpio/RxPY
4ed60bb5c04aa85de5210e5537a6adfe1b667d50
[ "MIT" ]
613
2015-01-07T20:44:56.000Z
2022-03-20T06:14:20.000Z
rx/testing/reactivetest.py
mmpio/RxPY
4ed60bb5c04aa85de5210e5537a6adfe1b667d50
[ "MIT" ]
420
2015-01-07T14:30:30.000Z
2022-03-11T22:47:46.000Z
from typing import Any import math import types from rx.core.notification import OnNext, OnError, OnCompleted from .recorded import Recorded from .subscription import Subscription def is_prime(i: int) -> bool: """Tests if number is prime or not""" if i <= 1: return False _max = int(math.floor(...
23.775
63
0.627234
217
1,902
5.396313
0.322581
0.056362
0.081127
0.034159
0.278395
0.216909
0.157131
0.157131
0.157131
0.157131
0
0.009566
0.285489
1,902
79
64
24.075949
0.852097
0.02734
0
0.375
0
0
0.001085
0
0
0
0
0
0
1
0.160714
false
0
0.107143
0.035714
0.678571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
92b1e3a36f771edef543cb8815d84b4cc693e74f
12,296
py
Python
my_main2.py
aitor-garcia-p/NCRFpp
3e83fc6c462941eff65b8b42bfe6630277b92d6b
[ "Apache-2.0" ]
null
null
null
my_main2.py
aitor-garcia-p/NCRFpp
3e83fc6c462941eff65b8b42bfe6630277b92d6b
[ "Apache-2.0" ]
null
null
null
my_main2.py
aitor-garcia-p/NCRFpp
3e83fc6c462941eff65b8b42bfe6630277b92d6b
[ "Apache-2.0" ]
null
null
null
from model.sentclassifier import SentClassifier from model.seqlabel import SeqLabel from utils.data import Data import torch import os import sys from utils.functions import normalize_word import time from main import recover_nbest_label, get_ner_fmeasure, recover_label, batchify_with_label def label_input(input_line...
42.546713
156
0.588728
1,496
12,296
4.554144
0.14639
0.018788
0.021136
0.017467
0.523118
0.497431
0.471598
0.446499
0.416557
0.366652
0
0.00707
0.309857
12,296
288
157
42.694444
0.795781
0.084418
0
0.502128
0
0.004255
0.039501
0.013553
0
0
0
0
0.008511
1
0.025532
false
0.004255
0.038298
0
0.093617
0.046809
0
0
0
null
0
0
0
0
0
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
1
0
92b26fb10b69150eb5abb2d1e46488489f0a691c
55
py
Python
play_motion/play_motion/src/play_motion/__init__.py
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
7
2018-10-24T14:52:20.000Z
2021-01-12T14:59:00.000Z
play_motion/play_motion/src/play_motion/__init__.py
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
null
null
null
play_motion/play_motion/src/play_motion/__init__.py
hect1995/Robotics_intro
1b687585c20db5f1114d8ca6811a70313d325dd6
[ "BSD-3-Clause" ]
17
2019-09-29T10:22:41.000Z
2021-04-08T12:38:37.000Z
from .move_joint import move_joint, print_err, print_ok
55
55
0.854545
10
55
4.3
0.7
0.418605
0
0
0
0
0
0
0
0
0
0
0.090909
55
1
55
55
0.86
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
1
1
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
1
0
1
0
1
1
0
7
92b2ec2594b7f624a5e0c4ef610a7491441323d8
694
py
Python
GRUCon2021/task7/scripts/parse.py
BlackVS/CTFs
ca7d5c9a3dbf1bcfe7607bbfd454eca470634dde
[ "MIT" ]
10
2020-09-06T12:08:32.000Z
2021-07-19T15:12:30.000Z
GRUCon2021/task7/scripts/parse.py
BlackVS/CTFs
ca7d5c9a3dbf1bcfe7607bbfd454eca470634dde
[ "MIT" ]
null
null
null
GRUCon2021/task7/scripts/parse.py
BlackVS/CTFs
ca7d5c9a3dbf1bcfe7607bbfd454eca470634dde
[ "MIT" ]
1
2021-11-22T05:14:56.000Z
2021-11-22T05:14:56.000Z
#!/usr/bin/python import binascii import dpkt import struct import sys # Start the pcap file parsing f = open("usbtraffic.pcap", 'rb') pcap = dpkt.pcap.Reader(f) #print(pcap) lba = 0 packets = [] for ts, buf in pcap: #print(ts) if buf[64:68] == b'USBC': #lba = int( buf[], 16) a = buf[0x51:0x55]...
23.133333
66
0.567723
107
694
3.663551
0.504673
0.053571
0.068878
0
0
0
0
0
0
0
0
0.040619
0.255043
694
29
67
23.931034
0.717602
0.122478
0
0
0
0
0.11755
0
0
0
0.02649
0
0
1
0
false
0
0.181818
0
0.181818
0.090909
0
0
0
null
0
0
0
0
0
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
1
0
92b4a1d863351284e48ed8cd2f0cf5dc7bead1a6
2,586
py
Python
online_store/weather/views.py
PhiVaLo/final_project2
3d61404f2fe4b9e4503087e523ea16d6c411f57f
[ "Apache-2.0" ]
null
null
null
online_store/weather/views.py
PhiVaLo/final_project2
3d61404f2fe4b9e4503087e523ea16d6c411f57f
[ "Apache-2.0" ]
14
2020-12-06T13:31:34.000Z
2020-12-12T12:55:06.000Z
online_store/weather/views.py
PhiVaLo/final_project2
3d61404f2fe4b9e4503087e523ea16d6c411f57f
[ "Apache-2.0" ]
1
2020-12-17T14:33:19.000Z
2020-12-17T14:33:19.000Z
from django.shortcuts import render from . utils import get_html_content from store.utils import cartData # Create your views here. def weather(request): weather_data = {} unknown_location = {} try: if 'city' in request.GET: # Fetch weather data city = request.GET.get('c...
41.047619
170
0.549111
312
2,586
4.416667
0.304487
0.069666
0.078374
0.069666
0.357765
0.357765
0.219884
0.135704
0.135704
0.112482
0
0.005829
0.270302
2,586
63
171
41.047619
0.72443
0.043697
0
0
0
0
0.181192
0.009728
0
0
0
0
0
1
0.046512
false
0
0.093023
0
0.186047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0