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
7fb6655e444707235655b6b04ce814593df93517
153
py
Python
dev.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
1
2022-02-25T02:12:10.000Z
2022-02-25T02:12:10.000Z
dev.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
null
null
null
dev.py
wabscale/flasq
ea5cba81c3259441f64e96a7c63d2234728100a3
[ "MIT" ]
null
null
null
from web import app from glob import glob app.run( debug=True, host='0.0.0.0', port=5000, extra_files=glob('./web/templates/**.html') )
15.3
47
0.627451
25
153
3.8
0.64
0.063158
0.063158
0
0
0
0
0
0
0
0
0.065574
0.202614
153
9
48
17
0.713115
0
0
0
0
0
0.196078
0.150327
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
7fbdd22fcfc2573215684df2e76cac9a67962312
154
py
Python
String/P151 - reverseWordsInString.py
HarshOza36/LeetCode_Problems
6d7035e0d681213ac602b9e0382dbfa87f8d4745
[ "MIT" ]
null
null
null
String/P151 - reverseWordsInString.py
HarshOza36/LeetCode_Problems
6d7035e0d681213ac602b9e0382dbfa87f8d4745
[ "MIT" ]
null
null
null
String/P151 - reverseWordsInString.py
HarshOza36/LeetCode_Problems
6d7035e0d681213ac602b9e0382dbfa87f8d4745
[ "MIT" ]
null
null
null
class Solution: def reverseWords(self, s: str) -> str: s = s.split(" ") s = [i for i in s if i != ""] return " ".join(s[::-1])
30.8
42
0.454545
23
154
3.043478
0.652174
0
0
0
0
0
0
0
0
0
0
0.009901
0.344156
154
5
43
30.8
0.683168
0
0
0
0
0
0.012903
0
0
0
0
0
0
1
0.2
false
0
0
0
0.6
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f6852dfc604081fcd05261f22cc95fbff38847fc
2,317
py
Python
qrogue/game/logic/collectibles/collectible.py
7Magic7Mike7/Qrogue
70bd5671a77981c1d4b633246321ba44f13c21ff
[ "MIT" ]
4
2021-12-14T19:13:43.000Z
2022-02-16T13:25:38.000Z
qrogue/game/logic/collectibles/collectible.py
7Magic7Mike7/Qrogue
70bd5671a77981c1d4b633246321ba44f13c21ff
[ "MIT" ]
null
null
null
qrogue/game/logic/collectibles/collectible.py
7Magic7Mike7/Qrogue
70bd5671a77981c1d4b633246321ba44f13c21ff
[ "MIT" ]
1
2022-01-04T18:35:51.000Z
2022-01-04T18:35:51.000Z
import math from abc import ABC, abstractmethod from enum import Enum from typing import Iterator class CollectibleType(Enum): Consumable = 1 Gate = 2 ActiveItem = 3 PassiveItem = 4 Pickup = 5 Qubit = 6 Multi = 0 # wraps multiple collectibles def type_str(c_type: CollectibleType) -> s...
22.715686
69
0.616314
252
2,317
5.436508
0.25
0.035766
0.024088
0.032847
0.169343
0
0
0
0
0
0
0.007282
0.288735
2,317
101
70
22.940594
0.824029
0.011653
0
0.306667
0
0
0.044143
0
0
0
0
0
0
1
0.24
false
0.066667
0.053333
0.093333
0.613333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
f689cb30eecdf29de4c6be77cd697849835314bd
180
py
Python
cvp/setup.py
hashnfv/hashnfv-dovetail
73f332fc513f184513be483db6a108bd3c7b7d9b
[ "Apache-2.0" ]
1
2017-11-03T01:06:51.000Z
2017-11-03T01:06:51.000Z
cvp/setup.py
hashnfv/hashnfv-dovetail
73f332fc513f184513be483db6a108bd3c7b7d9b
[ "Apache-2.0" ]
null
null
null
cvp/setup.py
hashnfv/hashnfv-dovetail
73f332fc513f184513be483db6a108bd3c7b7d9b
[ "Apache-2.0" ]
2
2017-09-05T13:38:20.000Z
2017-10-12T21:56:11.000Z
import setuptools __author__ = 'serena' try: import multiprocessing # noqa except ImportError: pass setuptools.setup( setup_requires=['pbr==2.0.0'], pbr=True)
12.857143
34
0.683333
21
180
5.619048
0.761905
0
0
0
0
0
0
0
0
0
0
0.020979
0.205556
180
13
35
13.846154
0.804196
0.022222
0
0
0
0
0.091954
0
0
0
0
0
0
1
0
false
0.111111
0.333333
0
0.333333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
3
f6a98ab922bb283e3d03fe3c75cc8eb473f34455
95
py
Python
models/dbconfig.py
FusionX9000/Reddit-Saves-Manager
6109f3b40a992f99ba95346b1e39a2df07e1bcb7
[ "MIT" ]
null
null
null
models/dbconfig.py
FusionX9000/Reddit-Saves-Manager
6109f3b40a992f99ba95346b1e39a2df07e1bcb7
[ "MIT" ]
1
2021-06-02T01:12:35.000Z
2021-06-02T01:12:35.000Z
models/dbconfig.py
FusionX9000/Reddit-Saves-Manager
6109f3b40a992f99ba95346b1e39a2df07e1bcb7
[ "MIT" ]
null
null
null
database = "database" user = "postgres" password = "password" host = "localhost" port = "5432"
15.833333
21
0.684211
10
95
6.5
0.8
0
0
0
0
0
0
0
0
0
0
0.05
0.157895
95
5
22
19
0.7625
0
0
0
0
0
0.389474
0
0
0
0
0
0
1
0
false
0.2
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
1
0
0
0
0
0
3
f6a9f53335a90945beeac0881642656ecefd349b
318
py
Python
Programs/HowToUse.py
aposum23/laborathory14
03e251e267b5783b12ea9b2f4ba2da41194f349e
[ "MIT" ]
null
null
null
Programs/HowToUse.py
aposum23/laborathory14
03e251e267b5783b12ea9b2f4ba2da41194f349e
[ "MIT" ]
null
null
null
Programs/HowToUse.py
aposum23/laborathory14
03e251e267b5783b12ea9b2f4ba2da41194f349e
[ "MIT" ]
null
null
null
def mul(a, b): return a * b mul(3, 4) #12 def mul5(a): return mul(5,a) mul5(2) #10 def mul(a): def helper(b): return a * b return helper mul(5)(2) #10 def fun1(a): x = a * 3 def fun2(b): nonlocal x return b + x return fun2 test_fun = fun1(4) test_fun(7) #19
9.9375
20
0.512579
60
318
2.683333
0.35
0.037267
0.086957
0.111801
0
0
0
0
0
0
0
0.110577
0.345912
318
31
21
10.258065
0.663462
0.025157
0
0.105263
0
0
0
0
0
0
0
0
0
1
0.315789
false
0
0
0.157895
0.631579
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f6ab9a9d8d75aed7d16ae4d945c1c5fe7a289970
152
py
Python
py_tdlib/constructors/set_bot_updates_status.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/set_bot_updates_status.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/set_bot_updates_status.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Method class setBotUpdatesStatus(Method): pending_update_count = None # type: "int32" error_message = None # type: "string"
21.714286
45
0.743421
18
152
6.111111
0.833333
0.145455
0
0
0
0
0
0
0
0
0
0.015625
0.157895
152
6
46
25.333333
0.84375
0.184211
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
f6b7fa5f60e2de9db3a6e09ccdc529c81f6a56da
203
py
Python
cah/__init__.py
pordino/aikaterna-cogs
07108bc808b571395e511586492f719c6582e72e
[ "Apache-2.0" ]
98
2017-09-12T01:52:17.000Z
2022-03-17T16:43:01.000Z
cah/__init__.py
pordino/aikaterna-cogs
07108bc808b571395e511586492f719c6582e72e
[ "Apache-2.0" ]
147
2016-12-01T04:39:05.000Z
2022-02-13T02:20:14.000Z
cah/__init__.py
pordino/aikaterna-cogs
07108bc808b571395e511586492f719c6582e72e
[ "Apache-2.0" ]
160
2016-12-01T20:19:44.000Z
2022-03-30T10:32:41.000Z
from .cah import CardsAgainstHumanity __red_end_user_data_statement__ = "This cog does not persistently store data or metadata about users." def setup(bot): bot.add_cog(CardsAgainstHumanity(bot))
25.375
102
0.802956
28
203
5.5
0.821429
0
0
0
0
0
0
0
0
0
0
0
0.133005
203
7
103
29
0.875
0
0
0
0
0
0.325123
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
f6c1d658392020e0d6f57aed9f80cf163700273d
197
py
Python
aa.py
ani37/Hello-world
db3998f9ce110b145c48eda401c607acc726cd2c
[ "MIT" ]
null
null
null
aa.py
ani37/Hello-world
db3998f9ce110b145c48eda401c607acc726cd2c
[ "MIT" ]
null
null
null
aa.py
ani37/Hello-world
db3998f9ce110b145c48eda401c607acc726cd2c
[ "MIT" ]
1
2018-10-27T10:14:24.000Z
2018-10-27T10:14:24.000Z
MAX = 100000 MOD = pwo(10, 9) + 7 dp = [1 for in xrange(MAX)] for i in xrange(7, MAX): dp[i] = (dp[i - 1] + dp[i - 7]) % MOD n = input() for i in xrange(n): k = input() print dp[k]
16.416667
39
0.502538
40
197
2.475
0.425
0.242424
0.121212
0.242424
0
0
0
0
0
0
0
0.101449
0.299492
197
11
40
17.909091
0.615942
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.111111
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
f6d7d9fa5e972fea2d582789bda3bf36878133b2
3,673
py
Python
test/priors/test_half_cauchy_prior.py
noamsgl/gpytorch
c3e3109c756ace47d82ff8b1f52b2d77748ff09c
[ "MIT" ]
188
2017-06-09T20:42:18.000Z
2018-02-15T11:17:09.000Z
test/priors/test_half_cauchy_prior.py
noamsgl/gpytorch
c3e3109c756ace47d82ff8b1f52b2d77748ff09c
[ "MIT" ]
49
2017-07-18T02:55:17.000Z
2018-02-15T21:23:42.000Z
test/priors/test_half_cauchy_prior.py
noamsgl/gpytorch
c3e3109c756ace47d82ff8b1f52b2d77748ff09c
[ "MIT" ]
24
2017-07-12T17:29:52.000Z
2018-02-15T19:25:07.000Z
#!/usr/bin/env python3 import unittest import torch from torch.distributions import HalfCauchy from gpytorch.priors import HalfCauchyPrior from gpytorch.test.utils import least_used_cuda_device class TestHalfCauchyPrior(unittest.TestCase): def test_half_cauchy_prior_to_gpu(self): if torch.cuda.is_avail...
41.738636
84
0.665941
521
3,673
4.476008
0.128599
0.093053
0.068611
0.081475
0.783019
0.763293
0.752144
0.7247
0.683533
0.541595
0
0.019501
0.204193
3,673
87
85
42.218391
0.77831
0.005717
0
0.507246
0
0
0.010134
0
0
0
0
0
0.231884
1
0.115942
false
0
0.072464
0
0.246377
0
0
0
0
null
0
0
0
0
1
1
1
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
f6e2d912d61b57a1bc1a9fc88cfe7298ffc1b85b
480
py
Python
covid19sweden/__init__.py
martinbenes1996/covid19sweden
100993e41c302ffd96fa39857dd8ddd21267f1ed
[ "MIT" ]
1
2020-06-06T21:02:10.000Z
2020-06-06T21:02:10.000Z
covid19sweden/__init__.py
martinbenes1996/covid19sweden
100993e41c302ffd96fa39857dd8ddd21267f1ed
[ "MIT" ]
1
2020-06-25T00:18:21.000Z
2020-06-26T02:34:19.000Z
covid19sweden/__init__.py
martinbenes1996/covid19sweden
100993e41c302ffd96fa39857dd8ddd21267f1ed
[ "MIT" ]
1
2020-06-06T21:04:22.000Z
2020-06-06T21:04:22.000Z
# -*- coding: utf-8 -*- """Webscraper for Swedish data. Reference: https://www.scb.se/hitta-statistik/statistik-efter-amne/befolkning/befolkningens-sammansattning/befolkningsstatistik/pong/tabell-och-diagram/preliminar-statistik-over-doda/ Todo: * caching """ import pkg_resources from .main import * from . impo...
24
183
0.75625
57
480
6.175439
0.754386
0.068182
0
0
0
0
0
0
0
0
0
0.007109
0.120833
480
20
184
24
0.827014
0.535417
0
0
0
0
0.059908
0
0
0
0
0.05
0
1
0
false
0
0.555556
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
1
0
1
0
0
3
f6ecd0aafed1e62eb63756a09afea3562d8bef9e
99
py
Python
api/newsCategory/apps.py
jhonatantft/ckl
8a0d533922fa091ac5f2dbe50caee3920ec2b90d
[ "MIT" ]
null
null
null
api/newsCategory/apps.py
jhonatantft/ckl
8a0d533922fa091ac5f2dbe50caee3920ec2b90d
[ "MIT" ]
2
2021-05-08T21:26:43.000Z
2022-02-19T00:26:17.000Z
api/newsCategory/apps.py
jhonatantft/ckl
8a0d533922fa091ac5f2dbe50caee3920ec2b90d
[ "MIT" ]
null
null
null
from django.apps import AppConfig class NewscategoryConfig(AppConfig): name = 'newsCategory'
16.5
36
0.777778
10
99
7.7
0.9
0
0
0
0
0
0
0
0
0
0
0
0.151515
99
5
37
19.8
0.916667
0
0
0
0
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
10182dc2e471f5a0f909b79006a7d28c08916403
509
py
Python
querybook/server/datasources_socketio/connect.py
shivammmmm/querybook
71263eb7db79e56235ea752f2cf3339ca9b3a092
[ "Apache-2.0" ]
1,144
2021-03-30T05:06:16.000Z
2022-03-31T10:40:31.000Z
querybook/server/datasources_socketio/connect.py
shivammmmm/querybook
71263eb7db79e56235ea752f2cf3339ca9b3a092
[ "Apache-2.0" ]
593
2021-07-01T10:34:25.000Z
2022-03-31T23:24:40.000Z
querybook/server/datasources_socketio/connect.py
shivammmmm/querybook
71263eb7db79e56235ea752f2cf3339ca9b3a092
[ "Apache-2.0" ]
113
2021-03-30T00:07:20.000Z
2022-03-31T07:18:43.000Z
from flask_login import current_user from flask_socketio import ConnectionRefusedError from app.flask_app import socketio from const.data_doc import DATA_DOC_NAMESPACE from const.query_execution import QUERY_EXECUTION_NAMESPACE def connect(): if not current_user.is_authenticated: raise ConnectionRefusedE...
31.8125
87
0.827112
68
509
5.955882
0.426471
0.051852
0.079012
0.128395
0
0
0
0
0
0
0
0
0.11002
509
15
88
33.933333
0.89404
0
0
0
0
0
0.119843
0
0
0
0
0
0
1
0.1
true
0
0.5
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
1220d274182a0990223702c61d3c21c277645d4a
452
py
Python
uim/model/helpers/__init__.py
Wacom-Developer/universal-ink-library
689ed90e09e912b8fc9ac249984df43a7b59aa59
[ "Apache-2.0" ]
5
2021-09-06T11:45:37.000Z
2022-03-24T15:56:06.000Z
uim/model/helpers/__init__.py
Wacom-Developer/universal-ink-library
689ed90e09e912b8fc9ac249984df43a7b59aa59
[ "Apache-2.0" ]
null
null
null
uim/model/helpers/__init__.py
Wacom-Developer/universal-ink-library
689ed90e09e912b8fc9ac249984df43a7b59aa59
[ "Apache-2.0" ]
2
2021-09-03T09:08:45.000Z
2021-12-15T14:03:16.000Z
# -*- coding: utf-8 -*- """ Helpers ======= The helpers are simple functions to support with: - Catmull-Rom splines - Extracting text and named entities from Ink Model - Iterate over the Ink Tree """ __all__ = ['spline', 'text_extractor', 'treeiterator', 'policy'] from uim.model.helpers import ...
25.111111
64
0.710177
59
452
5.338983
0.542373
0.088889
0.152381
0.24127
0.31746
0
0
0
0
0
0
0.002703
0.181416
452
17
65
26.588235
0.848649
0.431416
0
0
0
0
0.164502
0
0
0
0
0
0
1
0
false
0
0.8
0
0.8
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
122e92d89d689afb07f2870e5616b184ec228c74
74
py
Python
Chapter2_Python/fStrings.py
dependencyInversion/UdemyML
9e1a0a01688a82c61ef006a592a58c12fb186552
[ "MIT" ]
null
null
null
Chapter2_Python/fStrings.py
dependencyInversion/UdemyML
9e1a0a01688a82c61ef006a592a58c12fb186552
[ "MIT" ]
null
null
null
Chapter2_Python/fStrings.py
dependencyInversion/UdemyML
9e1a0a01688a82c61ef006a592a58c12fb186552
[ "MIT" ]
null
null
null
my_name = "Jan" my_age = 23 print(f"Age: { my_age }, Name: { my_name }")
14.8
44
0.594595
14
74
2.857143
0.5
0.3
0
0
0
0
0
0
0
0
0
0.033898
0.202703
74
4
45
18.5
0.644068
0
0
0
0
0
0.5
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
0
0
0
0
0
3
124d0147a05244a749391c0acf979893ea8c65d5
6,372
py
Python
nexpose_rest/nexpose_policy.py
Patralos/nexpose-rest
c03431a408afd1528b0ca5a00859467574953ea0
[ "MIT" ]
null
null
null
nexpose_rest/nexpose_policy.py
Patralos/nexpose-rest
c03431a408afd1528b0ca5a00859467574953ea0
[ "MIT" ]
null
null
null
nexpose_rest/nexpose_policy.py
Patralos/nexpose-rest
c03431a408afd1528b0ca5a00859467574953ea0
[ "MIT" ]
null
null
null
from nexpose_rest.nexpose import _GET def getPolicies(config, filter=None, scannedOnly=None): getParameters=[] if filter is not None: getParameters.append('filter=' + filter) if scannedOnly is not None: getParameters.append('scannedOnly=' + scannedOnly) code, data = _GET('/api/3/polici...
37.482353
164
0.694131
642
6,372
6.845794
0.101246
0.116724
0.065074
0.082821
0.806143
0.783845
0.681911
0.604778
0.595904
0.552446
0
0.004849
0.158506
6,372
169
165
37.704142
0.814808
0
0
0.512821
0
0
0.127903
0.003296
0
0
0
0
0
1
0.222222
false
0.017094
0.008547
0
0.452991
0
0
0
0
null
0
0
0
1
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
1
0
0
0
0
0
0
0
3
12630eab0d2633dd229a8455f46121e72a20a96c
437
py
Python
skypy/galaxies/__init__.py
itrharrison/skypy-itrharrison
cea1f02d1b2cd3b689266d7ae9bca1a4cfe986a2
[ "BSD-3-Clause" ]
88
2020-04-06T15:48:17.000Z
2022-02-16T12:01:54.000Z
skypy/galaxies/__init__.py
itrharrison/skypy-itrharrison
cea1f02d1b2cd3b689266d7ae9bca1a4cfe986a2
[ "BSD-3-Clause" ]
332
2020-04-04T07:30:08.000Z
2022-03-30T14:49:08.000Z
skypy/galaxies/__init__.py
itrharrison/skypy-itrharrison
cea1f02d1b2cd3b689266d7ae9bca1a4cfe986a2
[ "BSD-3-Clause" ]
41
2020-04-03T13:50:43.000Z
2022-03-24T16:10:03.000Z
""" This module contains methods that model the intrinsic properties of galaxy populations. """ __all__ = [ 'schechter_lf', ] from . import luminosity # noqa F401,F403 from . import morphology # noqa F401,F403 from . import redshift # noqa F401,F403 from . import spectrum # noqa F401,F403 from . import stella...
24.277778
74
0.743707
58
437
5.431034
0.465517
0.15873
0.190476
0.253968
0.279365
0
0
0
0
0
0
0.084034
0.183066
437
17
75
25.705882
0.798319
0.395881
0
0
0
0
0.048
0
0
0
0
0
0
1
0
false
0
0.7
0
0.7
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
126f3570c8ca400c14dbf8aadb5953428e90972f
86
py
Python
droidlet/dialog/robot/dialogue_objects/__init__.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
droidlet/dialog/robot/dialogue_objects/__init__.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
droidlet/dialog/robot/dialogue_objects/__init__.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
from .loco_dialogue_object import LocoBotCapabilities __all__ = [LocoBotCapabilities]
28.666667
53
0.872093
8
86
8.625
0.875
0
0
0
0
0
0
0
0
0
0
0
0.081395
86
3
54
28.666667
0.873418
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
12732154001636677778fe83629d7b02a01b585b
148
py
Python
psana/psana/momentum/Energy.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
16
2017-11-09T17:10:56.000Z
2022-03-09T23:03:10.000Z
psana/psana/momentum/Energy.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
6
2017-12-12T19:30:05.000Z
2020-07-09T00:28:33.000Z
psana/psana/momentum/Energy.py
JBlaschke/lcls2
30523ef069e823535475d68fa283c6387bcf817b
[ "BSD-3-Clause-LBNL" ]
25
2017-09-18T20:02:43.000Z
2022-03-27T22:27:42.000Z
import numpy as np def CalcEnergy(m_amu,Px_au,Py_au,Pz_au): amu2au = 1836.15 return 27.2*(Px_au**2 + Py_au**2 + Pz_au**2)/(2*amu2au*m_amu)
24.666667
65
0.668919
33
148
2.757576
0.545455
0.098901
0
0
0
0
0
0
0
0
0
0.120968
0.162162
148
5
66
29.6
0.612903
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.25
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
12732acde8058d66a7523c9ed83348d21998d829
357
py
Python
timer.py
davidbarkhuizen/simagora
43d44dc058adcde4738574cb1132abaa02e6516e
[ "MIT" ]
1
2017-04-30T23:31:43.000Z
2017-04-30T23:31:43.000Z
timer.py
davidbarkhuizen/simagora
43d44dc058adcde4738574cb1132abaa02e6516e
[ "MIT" ]
null
null
null
timer.py
davidbarkhuizen/simagora
43d44dc058adcde4738574cb1132abaa02e6516e
[ "MIT" ]
null
null
null
from time import clock import logging #~ class Timer(object): #~ #~ def start(self,s): #~ self.s = s #~ self.started = clock() #~ #~ def stop(self): #~ self.stopped = clock() #~ t = self.stopped - self.started #~ self.log(t) #~ #~ def log(self, t): #~ line = self.s + ',...
19.833333
38
0.504202
45
357
4
0.444444
0.083333
0
0
0
0
0
0
0
0
0
0
0.296919
357
17
39
21
0.717131
0.70028
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
89c4524ab54cd0dacd5f166c3bbe02a8a3454498
5,966
py
Python
google/ads/google_ads/v3/proto/services/shopping_performance_view_service_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v3/proto/services/shopping_performance_view_service_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
null
null
null
google/ads/google_ads/v3/proto/services/shopping_performance_view_service_pb2.py
andy0937/google-ads-python
cb5da7f4a75076828d1fc3524b08cc167670435a
[ "Apache-2.0" ]
1
2020-03-13T00:14:31.000Z
2020-03-13T00:14:31.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/ads/googleads_v3/proto/services/shopping_performance_view_service.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from go...
53.267857
1,127
0.826852
702
5,966
6.702279
0.274929
0.065462
0.074389
0.089267
0.397237
0.346015
0.255048
0.231668
0.127524
0.103294
0
0.039308
0.070399
5,966
111
1,128
53.747748
0.809052
0.057492
0
0.116279
1
0.034884
0.458868
0.419516
0
0
0
0
0
1
0
false
0
0.104651
0
0.104651
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89de59b92801ba07cf84ab98bf1071d2e2892971
311
py
Python
Lists/In_Lists.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
1
2021-11-01T12:45:50.000Z
2021-11-01T12:45:50.000Z
Lists/In_Lists.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
null
null
null
Lists/In_Lists.py
obareau/python_travaux_pratiques
2205f4c253e96e409b56f5c23d6e23387ab46524
[ "MIT" ]
null
null
null
# Check if the value is in the list? words = ['apple', 'banana', 'peach', '42'] if 'apple' in words: print('found apple') if 'a' in words: print('found a') else: print('NOT found a') if 42 in words: print('found 42') else: print('NOT found 42') # found apple # NOT found a # NOT found 42
16.368421
42
0.604502
52
311
3.615385
0.326923
0.170213
0.191489
0.271277
0
0
0
0
0
0
0
0.042373
0.241158
311
19
43
16.368421
0.754237
0.228296
0
0.181818
0
0
0.309322
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
89dfe3895be78648508f25f822750a4e38dd966a
46,445
py
Python
src/genesis_api_wrapper/catalogue.py
j-suchard/destatis-genesis-api
b0bbec0283ba41707d543b11e556ab0997e5f792
[ "BSD-3-Clause" ]
null
null
null
src/genesis_api_wrapper/catalogue.py
j-suchard/destatis-genesis-api
b0bbec0283ba41707d543b11e556ab0997e5f792
[ "BSD-3-Clause" ]
null
null
null
src/genesis_api_wrapper/catalogue.py
j-suchard/destatis-genesis-api
b0bbec0283ba41707d543b11e556ab0997e5f792
[ "BSD-3-Clause" ]
null
null
null
import datetime import typing from . import enums, tools class CatalogueAPIWrapper: """Methods for listing objects""" def __init__( self, username: str, password: str, language: enums.Language = enums.Language.GERMAN ): """Create a new Wrapper containing functions for listing different o...
48.53187
98
0.636279
5,545
46,445
5.199279
0.054644
0.049428
0.048699
0.019979
0.789213
0.754873
0.725945
0.693548
0.654527
0.604579
0
0.010737
0.294111
46,445
956
99
48.582636
0.868629
0.040844
0
0.603774
0
0
0.240723
0.01111
0
0
0
0
0
1
0.001715
false
0.018868
0.005146
0
0.042882
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
89e28e497194558b332c7d2514764dab8aee4b55
813
py
Python
src/openweather/OpenWeatherParser.py
ralfe/wpi
ee077fb9fd1b2e8759e6195b3c36f24848eea6f5
[ "MIT" ]
null
null
null
src/openweather/OpenWeatherParser.py
ralfe/wpi
ee077fb9fd1b2e8759e6195b3c36f24848eea6f5
[ "MIT" ]
null
null
null
src/openweather/OpenWeatherParser.py
ralfe/wpi
ee077fb9fd1b2e8759e6195b3c36f24848eea6f5
[ "MIT" ]
null
null
null
__author__ = 'renderle' class OpenWeatherParser: def __init__(self, data): self.data = data def getValueFor(self, idx): return self.data['list'][idx] def getTemperature(self): earlymorningValue = self.getValueFor(0)['main']['temp_max'] morningValue = self.getValueFor(1)['...
30.111111
67
0.654367
78
813
6.692308
0.397436
0.143678
0.155172
0.16092
0.141762
0
0
0
0
0
0
0.015699
0.216482
813
26
68
31.269231
0.803768
0
0
0
0
0
0.077586
0
0
0
0
0
0
1
0.263158
false
0
0
0.052632
0.526316
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
d612e925c123019a0812dc8cafaa3b8e961aa72d
863
py
Python
venv/lib/python3.6/site-packages/taggit_templatetags2/views.py
corwin-cole/lunas-picture-box
af0870bea27b01abdd64260bc4e0d40423580fb2
[ "MIT" ]
38
2015-01-06T16:38:47.000Z
2022-03-28T12:55:25.000Z
venv/lib/python3.6/site-packages/taggit_templatetags2/views.py
corwin-cole/lunas-picture-box
af0870bea27b01abdd64260bc4e0d40423580fb2
[ "MIT" ]
12
2020-06-06T01:22:26.000Z
2022-03-12T00:13:42.000Z
venv/lib/python3.6/site-packages/taggit_templatetags2/views.py
corwin-cole/lunas-picture-box
af0870bea27b01abdd64260bc4e0d40423580fb2
[ "MIT" ]
16
2015-02-21T22:31:41.000Z
2022-03-28T12:55:28.000Z
from django.conf import settings from django.utils.translation import ugettext_lazy as _ from django.views.generic import ListView from .settings import TAGGED_ITEM_MODEL, TAG_MODEL class TagCanvasListView(ListView): template_name = 'taggit_templatetags2/tagcanvas_list.html' model = TAGGED_ITEM_MODEL ...
26.96875
75
0.699884
113
863
5.079646
0.424779
0.052265
0.041812
0.057491
0.069686
0.069686
0.069686
0
0
0
0
0.001464
0.208575
863
31
76
27.83871
0.838946
0.05562
0
0
0
0
0.062025
0.050633
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d65aaf4c15566afc36462d10778530ebc31a672f
1,544
py
Python
alipay/aop/api/response/AlipayOpenAppQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenAppQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AlipayOpenAppQrcodeCreateResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AlipayOpenAppQrcodeCreateResponse(AlipayResponse): def __init__(self): super(AlipayOpenAppQrcodeCreateResponse, self).__init__() self._qr_code_url = None self...
33.565217
106
0.729275
214
1,544
4.733645
0.168224
0.159921
0.239882
0.266535
0.616979
0.444225
0.284304
0
0
0
0
0.000807
0.197539
1,544
45
107
34.311111
0.816788
0.027202
0
0.088235
0
0
0.077333
0.062667
0
0
0
0
0
1
0.235294
false
0
0.058824
0.088235
0.411765
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
1
0
0
0
0
0
0
0
3
c3dafcd023eb4196e2c03de73e78ae172fc56c0a
105
py
Python
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
fastapi version/src/fastapp/__init__.py
abhiWriteCode/TextSummarization
e2ed2dddc6afaa5a5106cfda19a3bd8d520f63a4
[ "MIT" ]
null
null
null
from fastapi import FastAPI from . import api app = FastAPI(debug=True) app.include_router(api.router)
15
30
0.780952
16
105
5.0625
0.5625
0
0
0
0
0
0
0
0
0
0
0
0.133333
105
7
30
15
0.89011
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
7f02e9703a47b60d920bf5b4d7b9b607bc976036
96
py
Python
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
struct2seq/__init__.py
amorehead/neurips19-graph-protein-design
92ecd0b667069c3207afa668865eb23eea4631d4
[ "MIT" ]
null
null
null
__all__ = ['data', 'noam_opt', 'protein_features', 'self_attention', 'struct2seq', 'seq_model']
48
95
0.708333
11
96
5.454545
1
0
0
0
0
0
0
0
0
0
0
0.011364
0.083333
96
1
96
96
0.670455
0
0
0
0
0
0.635417
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f1013721896a66800cbfdbbd69ac5bfb01f2332
47
py
Python
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
pytype/__version__.py
jjedele/pytype
3c5d920d26ac583bdfd68080e7db454ecb1dc900
[ "Apache-2.0" ]
null
null
null
# pylint: skip-file __version__ = '2018.12.21'
15.666667
26
0.702128
7
47
4.142857
1
0
0
0
0
0
0
0
0
0
0
0.195122
0.12766
47
2
27
23.5
0.512195
0.361702
0
0
0
0
0.357143
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
7f102b5952e499b7df63927d1e17dfc99e397355
291
py
Python
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
1
2019-10-24T19:52:23.000Z
2019-10-24T19:52:23.000Z
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
null
null
null
keybindings/autokey/data/Mac/refresh.py
guoyiteng/linux-for-macos-user
705baec9ddffb9ab73172cdc2b272ab123b1e402
[ "MIT" ]
null
null
null
store.set_global_value('hotkey', '<meta>+r') if re.match('.*(Hyper)', window.get_active_class()): logging.debug('terminal refresh buffer') engine.set_return_value('<ctrl>+<shift>+r') else: logging.debug('normal') engine.set_return_value('<ctrl>+r') engine.run_script('combo')
36.375
52
0.697595
41
291
4.731707
0.707317
0.123711
0.154639
0.206186
0.247423
0
0
0
0
0
0
0
0.09622
291
8
53
36.375
0.737643
0
0
0
0
0
0.277397
0
0
0
0
0
0
1
0
true
0
0
0
0
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
0
1
0
0
0
0
0
0
3
7f191b51e43f5f96fe4666dba8c6b32532e8c659
581
py
Python
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
neighbour/forms.py
Nobella-Nyarari-Ejiofor/Neighbourood
cacd9d64c944fa195a4bcb554425c9d0210b87b8
[ "PostgreSQL", "Unlicense" ]
null
null
null
from django.contrib.auth.models import User from django import forms import neighbour from .models import Business, Profile , Neighbourhood , Posts class ProfileForm(forms.ModelForm): class Meta: model = Profile exclude = ['user'] class NeighbourhoodForm(forms.ModelForm): class Meta: model = Neighbou...
23.24
61
0.726334
63
581
6.68254
0.380952
0.133017
0.180523
0.218527
0.266033
0
0
0
0
0
0
0
0.175559
581
25
62
23.24
0.878914
0
0
0.3
0
0
0.101375
0
0
0
0
0
0
1
0
false
0
0.2
0
0.6
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
6156a185a0ec9e2713a8896fbea860c9a2788539
2,069
py
Python
test/teos/unit/test_extended_appointment.py
ritikramuka/python-teos
daa9d8dc89d5ddc3f29f2b7b2dda05bf0c79c82d
[ "MIT" ]
86
2020-03-20T23:58:40.000Z
2022-02-27T11:25:11.000Z
test/teos/unit/test_extended_appointment.py
sr-gi/python-teos
f8f214125a2f7c82fed278dc21ee5d517e7de72a
[ "MIT" ]
160
2020-03-23T16:31:51.000Z
2022-03-05T13:22:21.000Z
test/teos/unit/test_extended_appointment.py
sr-gi/python-teos
f8f214125a2f7c82fed278dc21ee5d517e7de72a
[ "MIT" ]
17
2020-03-21T10:28:37.000Z
2022-02-23T12:22:00.000Z
import pytest from teos.extended_appointment import ExtendedAppointment @pytest.fixture def ext_appointment_data(generate_dummy_appointment): return generate_dummy_appointment().to_dict() # Parent methods are not tested. def test_init_ext_appointment(ext_appointment_data): # The appointment has no checks...
36.946429
116
0.744804
253
2,069
5.703557
0.312253
0.33957
0.31185
0.07623
0.449757
0.365211
0.2079
0.059598
0
0
0
0
0.17593
2,069
55
117
37.618182
0.846334
0.119865
0
0
1
0
0.100275
0
0
0
0
0
0.083333
1
0.111111
false
0
0.055556
0.027778
0.194444
0
0
0
0
null
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
61ba3d50811169b0b9f01a141d232b991d2868ad
457
py
Python
arranging.py
mallimuondu/Algorithims
9e2ff15ab87c56a38aba18d0e31999e12c9a317e
[ "MIT" ]
null
null
null
arranging.py
mallimuondu/Algorithims
9e2ff15ab87c56a38aba18d0e31999e12c9a317e
[ "MIT" ]
null
null
null
arranging.py
mallimuondu/Algorithims
9e2ff15ab87c56a38aba18d0e31999e12c9a317e
[ "MIT" ]
null
null
null
input1 = int(input("Enter the first number: ")) input2 = int(input("Enter the second number: ")) input3 = int(input("Enter the third number: ")) input4 = int(input("Enter the fourth number: ")) input5 = int(input("Enter the fifth number: ")) tuple_num = [] tuple_num.append(input1) tuple_num.append(input2) tuple_nu...
30.466667
49
0.722101
71
457
4.521127
0.323944
0.224299
0.202492
0.249221
0
0
0
0
0
0
0
0.025189
0.131291
457
15
50
30.466667
0.783375
0
0
0
0
0
0.277293
0
0
0
0
0
0
1
0
false
0
0
0
0
0.133333
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
f60c351db3d540f17c4848153f58c4bf3898b80c
241
py
Python
infrastructure-dashboard/nccid-redirect/lambda/lambda-handler.py
uk-gov-mirror/NHSX.covid-chest-imaging-database
77799a97193d09e9267182d18fbb79d604bbb038
[ "MIT" ]
56
2020-04-08T12:40:28.000Z
2021-10-02T22:57:16.000Z
infrastructure-dashboard/nccid-redirect/lambda/lambda-handler.py
uk-gov-mirror/NHSX.covid-chest-imaging-database
77799a97193d09e9267182d18fbb79d604bbb038
[ "MIT" ]
111
2020-04-02T13:23:06.000Z
2022-03-30T13:23:28.000Z
infrastructure-dashboard/nccid-redirect/lambda/lambda-handler.py
uk-gov-mirror/NHSX.covid-chest-imaging-database
77799a97193d09e9267182d18fbb79d604bbb038
[ "MIT" ]
10
2020-05-05T14:07:11.000Z
2022-01-11T15:47:27.000Z
def handler(event, context): return { "statusCode": 302, "headers": { "Location": "https://www.nhsx.nhs.uk/covid-19-response/data-and-covid-19/national-covid-19-chest-imaging-database-nccid/" }, }
30.125
133
0.589212
28
241
5.071429
0.857143
0.147887
0
0
0
0
0
0
0
0
0
0.048913
0.236515
241
7
134
34.428571
0.722826
0
0
0
0
0.142857
0.547718
0
0
0
0
0
0
1
0.142857
false
0
0
0.142857
0.285714
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
3
f620b14338e61be682d35b0543506d9c7f9a1c6d
905
py
Python
manim/utils/unit.py
PhotonSpheres/manim
7399c24b33095e29633fd75460d13eae5703cba9
[ "MIT" ]
9,497
2020-05-19T04:05:51.000Z
2022-03-31T19:00:02.000Z
manim/utils/unit.py
PhotonSpheres/manim
7399c24b33095e29633fd75460d13eae5703cba9
[ "MIT" ]
2,052
2020-05-19T03:35:26.000Z
2022-03-31T16:18:06.000Z
manim/utils/unit.py
PhotonSpheres/manim
7399c24b33095e29633fd75460d13eae5703cba9
[ "MIT" ]
1,016
2020-05-20T01:16:11.000Z
2022-03-30T16:47:14.000Z
"""Implement the Unit class.""" import numpy as np from .. import config, constants __all__ = ["Pixels", "Degrees", "Munits", "Percent"] class _PixelUnits: def __mul__(self, val): return val * config.frame_width / config.pixel_width def __rmul__(self, val): return val * config.frame_width ...
24.459459
70
0.653039
117
905
4.726496
0.384615
0.050633
0.094033
0.115732
0.562387
0.471971
0.278481
0.173599
0.173599
0.173599
0
0.014577
0.241989
905
36
71
25.138889
0.791545
0.027624
0
0.347826
0
0
0.062929
0
0
0
0
0
0
1
0.217391
false
0
0.086957
0.173913
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
f64a19aff3d9a4d44aac824d38c6aaef4eeb9f77
99
py
Python
lesson-08/test_m.py
rafaelmartinsbuck/ai-for-trading
51234e408c94ccdeee9b06301a2f63bd170243e3
[ "MIT" ]
1
2020-05-15T09:41:14.000Z
2020-05-15T09:41:14.000Z
lesson-08/test_m.py
rafaelmartinsbuck/ai-for-trading
51234e408c94ccdeee9b06301a2f63bd170243e3
[ "MIT" ]
null
null
null
lesson-08/test_m.py
rafaelmartinsbuck/ai-for-trading
51234e408c94ccdeee9b06301a2f63bd170243e3
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np df = pd.DataFrame({"A":[1,2,3,4], "B":[5,6,7,8]}) print(df)
19.8
49
0.616162
23
99
2.652174
0.826087
0
0
0
0
0
0
0
0
0
0
0.093023
0.131313
99
5
50
19.8
0.616279
0
0
0
0
0
0.02
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
f6686b5276ad867dc68aa933b114b3472854d95c
99
py
Python
change_funname.py
poojadhoble32/python-projects
4c094dd0072d4213344e26476e4e99a4a12246e7
[ "bzip2-1.0.6" ]
null
null
null
change_funname.py
poojadhoble32/python-projects
4c094dd0072d4213344e26476e4e99a4a12246e7
[ "bzip2-1.0.6" ]
null
null
null
change_funname.py
poojadhoble32/python-projects
4c094dd0072d4213344e26476e4e99a4a12246e7
[ "bzip2-1.0.6" ]
null
null
null
def old(name,age): print(f"my name is {name} and age is {age}") old as new new("pooja",23)
19.8
49
0.606061
20
99
3
0.65
0
0
0
0
0
0
0
0
0
0
0.025974
0.222222
99
4
50
24.75
0.753247
0
0
0
0
0
0.410526
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
3
9c8515789c228e61ad777a8d32e3b11f40b6960c
808
py
Python
integration-test/630-bus-routes-z12.py
slachiewicz/vector-datasource
fb37603ba264be05839992f40eba1b5ae8a9c290
[ "MIT" ]
null
null
null
integration-test/630-bus-routes-z12.py
slachiewicz/vector-datasource
fb37603ba264be05839992f40eba1b5ae8a9c290
[ "MIT" ]
2
2021-03-26T00:41:17.000Z
2021-12-13T20:49:38.000Z
integration-test/630-bus-routes-z12.py
slachiewicz/vector-datasource
fb37603ba264be05839992f40eba1b5ae8a9c290
[ "MIT" ]
null
null
null
# block between mission & 6th and howard & 5th in SF. # appears to have lots of buses. # https://www.openstreetmap.org/way/88572932 -- Mission St # https://www.openstreetmap.org/relation/3406710 -- 14X to Daly City # https://www.openstreetmap.org/relation/3406709 -- 14X to Downtown # https://www.openstreetmap.org/relat...
35.130435
68
0.67698
130
808
4.138462
0.546154
0.074349
0.195167
0.223048
0.345725
0.107807
0.107807
0.107807
0.107807
0
0
0.10229
0.189356
808
22
69
36.727273
0.719084
0.675743
0
0.444444
0
0
0.135458
0
0
0
0
0
0.222222
1
0
true
0
0
0
0
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
9cb339f88a19712fdd5c854216d9d0e7bc780ed9
22
py
Python
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
null
null
null
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
1
2021-11-20T19:39:58.000Z
2021-11-20T19:39:58.000Z
networking_infoblox/neutron/cmd/eventlet/__init__.py
rav28/networking-infoblox
fce27ca1c2bafb9b0a90aa22388bbc2dbec68294
[ "Apache-2.0" ]
1
2021-11-20T19:37:55.000Z
2021-11-20T19:37:55.000Z
__author__ = 'hhwang'
11
21
0.727273
2
22
6
1
0
0
0
0
0
0
0
0
0
0
0
0.136364
22
1
22
22
0.631579
0
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9cb3f5cf51b8b20433b3b320d11d55ba5d9140d5
243
py
Python
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
5
2019-05-02T01:05:28.000Z
2021-12-30T05:30:02.000Z
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
null
null
null
debauto/utils.py
flaviomilan/python-debauto-br
c776c9094b0fc380797360231d9d1574813b2852
[ "MIT" ]
2
2021-01-01T22:28:32.000Z
2021-01-01T22:33:04.000Z
# -*- encoding: utf-8 -*- import datetime def formata_data(data): data = datetime.datetime.strptime(data, '%d/%m/%Y').date() return data.strftime("%Y%m%d") def formata_valor(valor): return str("%.2f" % valor).replace(".", "")
18.692308
62
0.613169
33
243
4.454545
0.575758
0.136054
0
0
0
0
0
0
0
0
0
0.009804
0.160494
243
12
63
20.25
0.710784
0.09465
0
0
0
0
0.087156
0
0
0
0
0
0
1
0.333333
false
0
0.166667
0.166667
0.833333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
9ccc9caa284546838f6e690c84b3287d39799b8f
7,645
py
Python
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoMuon/MuonIsolationProducers/test/isoTest_cfg.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
# The following comments couldn't be translated into the new config version: # # keep only muon-related info here # import FWCore.ParameterSet.Config as cms process = cms.Process("MISO") process.load("Configuration.EventContent.EventContent_cff") # service = MessageLogger { # untracked vstring destination...
71.448598
147
0.780379
1,093
7,645
5.249771
0.220494
0.067097
0.097595
0.103695
0.56152
0.515511
0.515511
0.515511
0.515511
0.515511
0
0.170106
0.087247
7,645
106
148
72.122642
0.652193
0.145062
0
0.030769
0
0.553846
0.809619
0.799017
0
0
0
0
0
1
0
false
0
0.015385
0
0.015385
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
1
1
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9cce74ca65c4a70248a44251c279dedff70a0c3a
220
py
Python
app/egg/__init__.py
MultyXu/Islandr
5f965638d0cda68e76f63b0625b2411029e90c2d
[ "MIT" ]
2
2019-06-05T01:36:53.000Z
2019-06-05T01:37:12.000Z
app/egg/__init__.py
dingding0606/Islandr
dd2277a8a7ceb002af3b28045133797fa9ffed9d
[ "MIT" ]
null
null
null
app/egg/__init__.py
dingding0606/Islandr
dd2277a8a7ceb002af3b28045133797fa9ffed9d
[ "MIT" ]
1
2019-08-28T20:49:22.000Z
2019-08-28T20:49:22.000Z
''' @Description: Easter Egg @Author: Tianyi Lu @Date: 2019-08-10 10:30:29 @LastEditors: Tianyi Lu @LastEditTime: 2019-08-10 10:36:24 ''' from flask import Blueprint egg = Blueprint('egg', __name__) from . import views
18.333333
34
0.722727
34
220
4.558824
0.647059
0.103226
0.103226
0.129032
0
0
0
0
0
0
0
0.147368
0.136364
220
12
35
18.333333
0.668421
0.586364
0
0
0
0
0.035714
0
0
0
0
0
0
1
0
false
0
0.666667
0
0.666667
0.666667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
1
0
3
9cd8b09c53d8ecf1b2984937b2ed05ef619c8318
23,127
py
Python
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
1
2022-02-09T23:43:26.000Z
2022-02-09T23:43:26.000Z
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
gitea_api/models/timeline_comment.py
r7l/python-gitea-api
31d3dba27ea7e551e2048a1230c4ab4d73365006
[ "MIT" ]
null
null
null
# coding: utf-8 """ Gitea API. This documentation describes the Gitea API. # noqa: E501 OpenAPI spec version: 1.16.7 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import six class TimelineComment(object): """NOTE: This class is...
27.434164
519
0.598564
2,784
23,127
4.747126
0.054598
0.052663
0.184322
0.164573
0.607446
0.456946
0.391419
0.339664
0.200061
0.090042
0
0.018438
0.312881
23,127
842
520
27.466746
0.813228
0.370217
0
0.085635
1
0
0.079499
0
0
0
0
0
0
1
0.176796
false
0
0.008287
0
0.290055
0.005525
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
9ced7b3c51ed7b3bb5bdd6b331b57b879e9a8dab
834
py
Python
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
backend/secure_backend/models.py
CS-twop/Secure-django-reacthook
3d7b3e65c7e1f1e015dcd3ddf2838acdab7cab17
[ "MIT" ]
null
null
null
from django.db import models from django.contrib.auth.models import User class Post(models.Model): user = models.ForeignKey(User, related_name='posts', on_delete=models.CASCADE) content = models.TextField() created_at = models.DateTimeField(auto_now_add=True) updated_at = models.DateTimeField(auto_now=...
36.26087
88
0.721823
108
834
5.342593
0.324074
0.055459
0.145581
0.17331
0.627383
0.627383
0.627383
0.488735
0.488735
0.488735
0
0
0.160671
834
23
89
36.26087
0.824286
0
0
0.470588
0
0
0.033533
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0.117647
1
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
1
1
0
0
3
14069f69e286ba7e7815086e118f09ac462708fd
823
py
Python
sionna/channel/tr38901/__init__.py
NVlabs/sionna
488e6c3ff6ff2b3313d0ca0f94e4247b8dd6ff35
[ "Apache-2.0" ]
163
2022-03-22T19:47:47.000Z
2022-03-31T23:56:45.000Z
sionna/channel/tr38901/__init__.py
Maryammhsnv/sionna
527d0f7866b379afffad34a6bef7ed3bf6f33ad2
[ "Apache-2.0" ]
2
2022-03-24T12:43:07.000Z
2022-03-29T07:17:16.000Z
sionna/channel/tr38901/__init__.py
Maryammhsnv/sionna
527d0f7866b379afffad34a6bef7ed3bf6f33ad2
[ "Apache-2.0" ]
19
2022-03-23T02:31:22.000Z
2022-03-30T06:35:12.000Z
# # SPDX-FileCopyrightText: Copyright (c) 2021-2022 NVIDIA CORPORATION & AFFILIATES. All rights reserved. # SPDX-License-Identifier: Apache-2.0 # """ Channel sub-package of the Sionna library implementing 3GPP TR39.801 models. """ # pylint: disable=line-too-long from .antenna import AntennaElement, AntennaPanel, Pane...
32.92
103
0.818955
106
823
6.283019
0.575472
0.084084
0.045045
0
0
0
0
0
0
0
0
0.022039
0.117861
823
24
104
34.291667
0.895317
0.297691
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
143fbec953156df9d4526de475d51f26bf5b991c
54
py
Python
chap4/4-9.py
StewedChickenwithStats/Answers-to-Python-Crash-Course
9ffbe02abba5d111f702d920db7932303daf59d4
[ "MIT" ]
1
2022-02-21T07:05:48.000Z
2022-02-21T07:05:48.000Z
chap4/4-9.py
StewedChickenwithStats/Answers-to-Python-Crash-Course
9ffbe02abba5d111f702d920db7932303daf59d4
[ "MIT" ]
null
null
null
chap4/4-9.py
StewedChickenwithStats/Answers-to-Python-Crash-Course
9ffbe02abba5d111f702d920db7932303daf59d4
[ "MIT" ]
null
null
null
cubes=[value**3 for value in range(1,11)] print(cubes)
27
41
0.722222
11
54
3.545455
0.818182
0
0
0
0
0
0
0
0
0
0
0.081633
0.092593
54
2
42
27
0.714286
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
3
144698a559c916923c258db6ccf04e14398014a5
1,293
py
Python
pupil/profiler.py
nigamapurv/Minkowski_planview
1c887bf0c54b9bdd632b9249cac71b275be8b2c2
[ "MIT" ]
1
2019-12-12T07:16:05.000Z
2019-12-12T07:16:05.000Z
pupil/profiler.py
nigamapurv/Minkowski_planview
1c887bf0c54b9bdd632b9249cac71b275be8b2c2
[ "MIT" ]
null
null
null
pupil/profiler.py
nigamapurv/Minkowski_planview
1c887bf0c54b9bdd632b9249cac71b275be8b2c2
[ "MIT" ]
null
null
null
from __future__ import absolute_import from __future__ import division from __future__ import print_function import cProfile import io import pstats cache = {} PROFILE_SWITCH = True class Profiler: def __init__(self): self.profiler = cProfile.Profile() def profile(self, func, *args, **kwargs): ...
23.509091
105
0.648879
142
1,293
5.661972
0.302817
0.099502
0.121891
0.078358
0.116915
0.069652
0
0
0
0
0
0
0.241299
1,293
55
106
23.509091
0.819572
0
0
0.102564
0
0
0.032458
0
0
0
0
0
0
1
0.205128
false
0.076923
0.153846
0.051282
0.564103
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
144aea4f0502bed2772fcf751e46d1dcc9492dd4
203
py
Python
Chapter 03/Chap03_Example3.10.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 03/Chap03_Example3.10.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
Chapter 03/Chap03_Example3.10.py
bpbpublications/Programming-Techniques-using-Python
49b785f37e95a3aad1d36cef51e219ac56e5e9f0
[ "MIT" ]
null
null
null
for num in range(1,6): #code inside for loop if num == 4: continue #code inside for loop print(num) #code outside for loop print("continue statement executed on num = 4")
22.555556
48
0.615764
31
203
4.032258
0.548387
0.168
0.208
0.272
0
0
0
0
0
0
0
0.028169
0.300493
203
8
49
25.375
0.852113
0.300493
0
0
0
0
0.290076
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
14590358be50b254390f5fc7eebb4b6ad228a02e
148
py
Python
Week3/Hospitalisations_ClassificationCase/import.py
PenelopeCorsica/AppliedML2021
1b48fe56553d7e4486e2542cf5d26b5aa6f5b473
[ "BSD-3-Clause" ]
13
2021-04-20T13:13:51.000Z
2022-03-28T18:08:07.000Z
Week3/Hospitalisations_ClassificationCase/import.py
PenelopeCorsica/AppliedML2021
1b48fe56553d7e4486e2542cf5d26b5aa6f5b473
[ "BSD-3-Clause" ]
null
null
null
Week3/Hospitalisations_ClassificationCase/import.py
PenelopeCorsica/AppliedML2021
1b48fe56553d7e4486e2542cf5d26b5aa6f5b473
[ "BSD-3-Clause" ]
8
2021-04-16T11:03:42.000Z
2021-09-29T02:25:15.000Z
import pandas as pd X_train = pd.read_csv("X_train.csv") df_y = pd.read_csv("y_train.csv") y_train = df_y["y"] X_test = pd.read_csv("X_test.csv")
18.5
36
0.702703
33
148
2.818182
0.333333
0.193548
0.290323
0.215054
0
0
0
0
0
0
0
0
0.121622
148
7
37
21.142857
0.715385
0
0
0
0
0
0.222973
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
145f50f90a8086649d041c871071f93bec34f696
334
py
Python
app/app.py
raevilman/aws_lambda_python_skeleton
aebd3a4f80bc1149662c8a0b1af5df40d28eff01
[ "MIT" ]
3
2020-10-19T11:31:10.000Z
2021-02-19T12:14:26.000Z
app/app.py
raevilman/aws_lambda_python_skeleton
aebd3a4f80bc1149662c8a0b1af5df40d28eff01
[ "MIT" ]
null
null
null
app/app.py
raevilman/aws_lambda_python_skeleton
aebd3a4f80bc1149662c8a0b1af5df40d28eff01
[ "MIT" ]
1
2021-01-21T10:29:10.000Z
2021-01-21T10:29:10.000Z
import json from app.event import Event from app.responder import send_ok_response from app.utils import get_logger # Setup logging logger = get_logger("app") def run(event: Event): logger.info(event.http_path()) logger.info(event.http_method()) return send_ok_response(json.dumps({ 'message': 'H...
19.647059
42
0.715569
48
334
4.8125
0.5
0.090909
0.121212
0.164502
0
0
0
0
0
0
0
0
0.173653
334
16
43
20.875
0.836957
0.038922
0
0
0
0
0.047022
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.545455
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
147a0334d820a059fbd8f4598327b2b7c87e1f19
3,720
py
Python
obywatele/migrations/0020_auto_20201225_1624.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
7
2016-02-21T17:25:54.000Z
2021-10-09T19:36:10.000Z
obywatele/migrations/0020_auto_20201225_1624.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
19
2020-02-11T23:55:01.000Z
2022-03-31T18:11:56.000Z
obywatele/migrations/0020_auto_20201225_1624.py
soma115/wikikracja
7715ca1daa4ca09888e1c7389ed5f8a2df29898b
[ "MIT" ]
3
2016-01-20T22:34:58.000Z
2020-09-16T07:45:42.000Z
# Generated by Django 3.1 on 2020-12-25 15:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('obywatele', '0019_auto_20201225_1621'), ] operations = [ migrations.AlterField( model_name='uzytkownik', name='busines...
44.285714
162
0.618548
423
3,720
5.283688
0.231678
0.12528
0.1566
0.181655
0.711857
0.710067
0.479195
0.180761
0.115436
0
0
0.026948
0.261828
3,720
83
163
44.819277
0.786963
0.011559
0
0.545455
1
0
0.21034
0.006259
0
0
0
0
0
1
0
false
0
0.012987
0
0.051948
0
0
0
0
null
0
0
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
147c28455f56f5983cd813f99265bdd8b89586bb
270
py
Python
app/cli/__init__.py
Hacker-1202/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
14
2021-11-05T11:27:25.000Z
2022-02-28T02:04:32.000Z
app/cli/__init__.py
CssHammer/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
2
2021-05-17T23:55:34.000Z
2021-07-09T17:24:44.000Z
app/cli/__init__.py
CssHammer/Selfium
7e798c23c9f24aacab6f6a485d6355f1045bc65c
[ "MIT" ]
5
2022-01-02T13:33:17.000Z
2022-02-26T13:09:50.000Z
""" Selfium CLI Tools ~~~~~~~~~~~~~~~~~~~ All cli functions used in Selfium project; :copyright: (c) 2021 - Caillou and ZeusHay; :license: MIT, see LICENSE for more details. """ from .logo import * from .clear import * from .welcome import * from .tokenError import *
19.285714
44
0.67037
35
270
5.171429
0.742857
0.165746
0
0
0
0
0
0
0
0
0
0.017778
0.166667
270
13
45
20.769231
0.786667
0.625926
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
148e62acadab2abb7a544e4448e8d3e81c73ab98
585
py
Python
pathod/__init__.py
illera88/mitmproxy
4f464001841e5119bf57ef620a3257892ded2ded
[ "MIT" ]
6
2020-11-25T07:33:05.000Z
2022-01-25T07:25:54.000Z
pathod/__init__.py
illera88/mitmproxy
4f464001841e5119bf57ef620a3257892ded2ded
[ "MIT" ]
null
null
null
pathod/__init__.py
illera88/mitmproxy
4f464001841e5119bf57ef620a3257892ded2ded
[ "MIT" ]
4
2021-03-14T16:14:27.000Z
2021-09-25T03:01:15.000Z
import os import sys import warnings warnings.warn( "pathod and pathoc modules are deprecated, see https://github.com/mitmproxy/mitmproxy/issues/4273", DeprecationWarning, stacklevel=2 ) def print_tool_deprecation_message(): print("####", file=sys.stderr) print(f"### {os.path.basename(sys.argv[0...
30.789474
131
0.707692
79
585
5.202532
0.556962
0.085158
0.158151
0.175182
0.394161
0.3382
0.3382
0.218978
0
0
0
0.01992
0.14188
585
18
132
32.5
0.798805
0
0
0.142857
0
0.142857
0.48547
0.052991
0
0
0
0
0
1
0.071429
true
0
0.214286
0
0.285714
0.428571
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
1
0
0
0
0
1
0
3
14938eb4c17ff96d22edd6168c88c690385d934d
2,207
py
Python
tests/test_tc100.py
radoering/flake8-type-checking
02c2af870e8098d0c5bd623591c5b184c0614213
[ "BSD-3-Clause" ]
19
2021-04-21T14:12:24.000Z
2022-03-13T07:42:26.000Z
tests/test_tc100.py
radoering/flake8-type-checking
02c2af870e8098d0c5bd623591c5b184c0614213
[ "BSD-3-Clause" ]
29
2021-04-21T14:31:12.000Z
2022-03-26T08:57:54.000Z
tests/test_tc100.py
sondrelg/flake8-typing-only-imports
d27ffece2cdd5b57a529c8d9f45ba2173c29066f
[ "BSD-3-Clause" ]
2
2021-04-08T08:04:44.000Z
2021-04-14T11:00:18.000Z
""" This file tests the TC100 error: >> Missing 'from __future__ import annotations' import The idea is that we should raise one of these errors if a file contains any type-checking imports and one is missing. One thing to note: futures imports should always be at the top of a file, so we only need to check one ...
46.957447
117
0.670594
343
2,207
4.233236
0.329446
0.140496
0.134986
0.144628
0.469697
0.455234
0.433196
0.408402
0.347107
0.264463
0
0.035971
0.181242
2,207
46
118
47.978261
0.767571
0.30222
0
0
0
0.130435
0.588583
0.221785
0
0
0
0
0.043478
1
0.043478
false
0.130435
0.695652
0
0.73913
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
149847bd740c757e149d66da0c573d0fe5e56850
91
py
Python
tests/basic/lambda4.py
Slater-Victoroff/pyjaco
89c4e3c46399c5023b0e160005d855a01241c58a
[ "MIT" ]
38
2015-01-01T18:08:59.000Z
2022-02-18T08:57:27.000Z
tests/basic/lambda4.py
dusty-phillips/pyjaco
066895ae38d1828498e529c1875cb88df6cbc54d
[ "MIT" ]
1
2020-07-15T13:30:32.000Z
2020-07-15T13:30:32.000Z
tests/basic/lambda4.py
Slater-Victoroff/pyjaco
89c4e3c46399c5023b0e160005d855a01241c58a
[ "MIT" ]
12
2016-03-07T09:30:49.000Z
2021-09-05T20:38:47.000Z
la = [] for x in range(5): la.append(lambda x: (lambda q: q + x)(x)) print la[3](1)
11.375
45
0.527473
19
91
2.526316
0.631579
0
0
0
0
0
0
0
0
0
0
0.044118
0.252747
91
7
46
13
0.661765
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.25
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
1
0
0
0
0
0
0
0
0
3
14a905270cca517cd153387fad1257a23aa0b010
275
py
Python
futbol-news/backend/app/app/models/search_term.py
davidespicolomina/proyecto-personal
807445546d493f9c092720e18e5fefa3281da4c9
[ "Apache-2.0" ]
null
null
null
futbol-news/backend/app/app/models/search_term.py
davidespicolomina/proyecto-personal
807445546d493f9c092720e18e5fefa3281da4c9
[ "Apache-2.0" ]
null
null
null
futbol-news/backend/app/app/models/search_term.py
davidespicolomina/proyecto-personal
807445546d493f9c092720e18e5fefa3281da4c9
[ "Apache-2.0" ]
null
null
null
from sqlalchemy import Column, Integer, String from app.db.base_class import Base class SearchTerm(Base): id = Column(Integer, primary_key=True, index=True) term = Column(String, nullable=False, comment="Término de búsqueda para filtros", unique=True, index=True)
30.555556
110
0.76
39
275
5.307692
0.666667
0.125604
0.125604
0
0
0
0
0
0
0
0
0
0.141818
275
8
111
34.375
0.877119
0
0
0
0
0
0.116364
0
0
0
0
0
0
1
0
false
0
0.4
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
0
0
1
0
1
0
0
3
1ae3b0d4623fb39afa8ccdec2cd3e21e3a3da924
109
py
Python
paul_analysis/Python/util/hdf5lib_param.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
paul_analysis/Python/util/hdf5lib_param.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
paul_analysis/Python/util/hdf5lib_param.py
lzkelley/arepo-mbh-sims_analysis
f14519552cedd39a040b53e6d7cc538b5b8f38a3
[ "MIT" ]
null
null
null
#tables or h5py libname="h5py" #tables" #libname="tables" def setlib(name): global libname libname = name
13.625
23
0.724771
15
109
5.266667
0.533333
0
0
0
0
0
0
0
0
0
0
0.021505
0.146789
109
7
24
15.571429
0.827957
0.33945
0
0
0
0
0.057971
0
0
0
0
0
0
1
0.25
false
0
0
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
3
1afff1ccdcfcf884da6805c728defb7d5049e9b8
424
py
Python
jtr/load/embeddings/__init__.py
mitchelljeff/SUMMAD4.3
33bb3a74cff16a7aa699660a08d98ddcd662cad5
[ "MIT" ]
1
2017-09-15T14:06:07.000Z
2017-09-15T14:06:07.000Z
jtr/load/embeddings/__init__.py
mitchelljeff/SUMMAD4.3
33bb3a74cff16a7aa699660a08d98ddcd662cad5
[ "MIT" ]
null
null
null
jtr/load/embeddings/__init__.py
mitchelljeff/SUMMAD4.3
33bb3a74cff16a7aa699660a08d98ddcd662cad5
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from jtr.load.embeddings.embeddings import Embeddings, load_embeddings from jtr.load.embeddings.word_to_vec import load_word2vec, get_word2vec_vocabulary from jtr.load.embeddings.glove import load_glove from jtr.load.embeddings.vocabulary import Vocabulary __all__ = [ 'Embeddings', 'lo...
26.5
82
0.761792
52
424
5.903846
0.307692
0.273616
0.143322
0.273616
0.214984
0
0
0
0
0
0
0.013699
0.139151
424
15
83
28.266667
0.827397
0.049528
0
0
0
0
0.201995
0.057357
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
2102482614cbfec0280843f4652b4c092440bef6
80
py
Python
todo/apps.py
arthtyagi/gettit
26047f85a7cf0a5f380cde4e18f9bcc88bb27db6
[ "MIT" ]
6
2020-05-30T18:10:08.000Z
2021-11-30T14:39:41.000Z
todo/apps.py
arthtyagi/gettit
26047f85a7cf0a5f380cde4e18f9bcc88bb27db6
[ "MIT" ]
18
2020-06-21T12:04:47.000Z
2022-01-13T02:57:16.000Z
todo/apps.py
arthtyagi/gettit
26047f85a7cf0a5f380cde4e18f9bcc88bb27db6
[ "MIT" ]
1
2020-08-30T01:42:54.000Z
2020-08-30T01:42:54.000Z
from django.apps import AppConfig class TodoConfig(AppConfig): name = 'todo'
13.333333
33
0.7625
10
80
6.1
0.9
0
0
0
0
0
0
0
0
0
0
0
0.15
80
5
34
16
0.897059
0
0
0
0
0
0.05
0
0
0
0
0
0
1
0
false
0
0.333333
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
210ef2ae872b4a00dd69a05f6c0a2cbd5afb971f
269
py
Python
srv/tools/import_lemuria.py
Nekohime/lemuria
0e6ca20522547026e4b20bb8cd8caa23633c171c
[ "MIT" ]
13
2021-02-12T23:44:06.000Z
2022-03-05T16:59:08.000Z
srv/tools/import_lemuria.py
Nekohime/lemuria
0e6ca20522547026e4b20bb8cd8caa23633c171c
[ "MIT" ]
3
2021-03-16T18:28:54.000Z
2022-03-25T17:58:42.000Z
srv/tools/import_lemuria.py
Nekohime/lemuria
0e6ca20522547026e4b20bb8cd8caa23633c171c
[ "MIT" ]
5
2021-03-04T17:56:54.000Z
2022-01-24T19:31:22.000Z
#!/usr/bin/env python3 # encoding: utf-8 """Easily create ../app.db and import ../lemuria.json""" import asyncio from db_tools import init_db from db_tools import import_world asyncio.run(init_db()) asyncio.run(import_world('../atlemuria.txt', '../proplemuria.txt'))
24.454545
67
0.736059
41
269
4.682927
0.585366
0.0625
0.114583
0.177083
0
0
0
0
0
0
0
0.00823
0.096654
269
10
68
26.9
0.781893
0.327138
0
0
0
0
0.195402
0
0
0
0
0
0
1
0
true
0
0.8
0
0.8
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
1
0
1
0
0
0
0
3
213cacab60c7aca13a5911f8efdb7500b4cda703
468
py
Python
mine/chess_knight.py
NigrumAquila/py_checkio
df437c2c3ad325d84714665000e3299a70e91f32
[ "MIT" ]
null
null
null
mine/chess_knight.py
NigrumAquila/py_checkio
df437c2c3ad325d84714665000e3299a70e91f32
[ "MIT" ]
null
null
null
mine/chess_knight.py
NigrumAquila/py_checkio
df437c2c3ad325d84714665000e3299a70e91f32
[ "MIT" ]
null
null
null
def chess_knight(start, moves): def knight_can_move(from_pos, to_pos): return set(map(lambda x: abs(ord(x[0]) - ord(x[1])), zip(from_pos, to_pos))) == {1, 2} def knight_moves(pos): return {f + r for f in 'abcdefgh' for r in '12345678' if knight_can_move(pos, f + r)} # till ...
39
94
0.611111
75
468
3.653333
0.48
0.120438
0.094891
0.087591
0
0
0
0
0
0
0
0.037143
0.252137
468
12
95
39
0.745714
0.07906
0
0
0
0
0.037209
0
0
0
0
0
0
1
0.333333
false
0
0
0.222222
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
213fe410dc708c64e9b46a2d208e12a8faedbe74
147
py
Python
GoogleColab/InteligenciaAnalitica/Ex5/downloadbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
2
2021-02-06T21:48:24.000Z
2022-03-21T00:16:17.000Z
GoogleColab/InteligenciaAnalitica/Ex5/downloadbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
null
null
null
GoogleColab/InteligenciaAnalitica/Ex5/downloadbase.py
AlexandroLuis/ComputerScience
273c3f6797737d98ffdf00ae870ceafa3aba59d1
[ "MIT" ]
1
2022-02-10T20:59:23.000Z
2022-02-10T20:59:23.000Z
# https://www.kaggle.com/datatattle/covid-19-nlp-text-classification !gdown --id 1Hd0ytKZrR3s22FheUJt4EZOpZ4eWyTrN !unzip tweets_corona_virus.zip
29.4
68
0.829932
18
147
6.666667
1
0
0
0
0
0
0
0
0
0
0
0.064748
0.054422
147
4
69
36.75
0.798561
0.44898
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
3
215aad09216d33e48ee72eef419bf4b1dbea80ce
1,383
py
Python
Ch10/test/singly_circular_list_dictionary_test.py
Ryuichi-Sasaki/CLRS
3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9
[ "MIT" ]
null
null
null
Ch10/test/singly_circular_list_dictionary_test.py
Ryuichi-Sasaki/CLRS
3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9
[ "MIT" ]
null
null
null
Ch10/test/singly_circular_list_dictionary_test.py
Ryuichi-Sasaki/CLRS
3ae6f2c9554d2dffff0ea8f6f6e162fcdcf8f7e9
[ "MIT" ]
null
null
null
import unittest import sys sys.path.append("../src/") from singly_circular_list_dictionary import SinglyLinkedDictionary from singly_circular_list_dictionary import Item class TestSinglyLinkedDictionary(unittest.TestCase): def test_insert_search(self): d = SinglyLinkedDictionary() self.assertEqual...
26.09434
66
0.595083
183
1,383
4.398907
0.196721
0.279503
0.212422
0.223602
0.586335
0.572671
0.396273
0.396273
0.31677
0.273292
0
0.020792
0.269704
1,383
53
67
26.09434
0.776238
0
0
0.418605
0
0
0.010838
0
0
0
0
0
0.348837
1
0.046512
false
0
0.093023
0
0.162791
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dcd99c7731f5c8f42cf05cb204ee8f7516acc652
413
py
Python
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2020-08-31T16:10:54.000Z
2021-11-24T06:37:37.000Z
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
8
2021-06-08T22:30:29.000Z
2022-03-12T00:48:55.000Z
Diena_1_4_thonny/d2_u2_d11.py
edzya/Python_RTU_08_20
d2921d998c611c18328dd523daf976a27ce858c1
[ "MIT" ]
12
2020-09-28T17:06:52.000Z
2022-02-17T12:12:46.000Z
try: width=float(input("Ieraksti savas istabas platumu (metros): ")) height=float(input("Ieraksti savas istabas augstumu (metros): ")) length=float(input("Ieraksti savas istabas garumu (metros): ")) capacity=round(width*height*length, 2) print(f"Tavas istabas tilpums ir {capacity} m\u00b3.") except ...
45.888889
69
0.714286
52
413
5.673077
0.634615
0.101695
0.183051
0.233898
0.305085
0
0
0
0
0
0
0.016997
0.145278
413
9
70
45.888889
0.818697
0
0
0
0
0
0.536232
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
dceac604206c3804e988356a36e1c21687d75def
50
py
Python
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
api_module/___init__.py
miscdec/tk-auto-study
2c5c716ab652dfc04796c335d2fb2bc01c494ccd
[ "MIT" ]
null
null
null
from . import main_api __all__=[ "main_api" ]
10
22
0.66
7
50
3.857143
0.714286
0.518519
0
0
0
0
0
0
0
0
0
0
0.22
50
5
23
10
0.692308
0
0
0
0
0
0.156863
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
0
0
0
0
0
3
dcf7946f10ce6e7e4b323d54039dd26ab7fa02da
271
py
Python
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
problem_49/test_prime_permutations.py
plilja/project-euler
646d1989cf15e903ef7e3c6e487284847d522ec9
[ "Apache-2.0" ]
null
null
null
import unittest from prime_permutations import * class PrimePermutationsTest(unittest.TestCase): def test_prime_permutations(self): self.assertEqual(sorted(prime_permutations()), sorted([2969, 6299, 9629])) if __name__ == '__main__': unittest.main()
20.846154
82
0.741697
29
271
6.517241
0.655172
0.269841
0
0
0
0
0
0
0
0
0
0.051948
0.147601
271
12
83
22.583333
0.766234
0
0
0
0
0
0.02952
0
0
0
0
0
0.142857
1
0.142857
false
0
0.285714
0
0.571429
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
dcf7baef1e6706bbb04fa4359be5af5f09500ebe
1,495
py
Python
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
lecture10/inventory_hitting_time.py
BenGravell/optimal-control-course
ae8ab619b5c138f79d466d9c6dfc7af46b2a23b6
[ "MIT" ]
null
null
null
import numpy as np import numpy.linalg as la import matplotlib.pyplot as plt capacity = 6 prob_demand_mass = np.array([0.7, 0.2, 0.1]) prob_demand_supp = np.array([0, 1, 2]) T = 50 P = np.array([[0, 0, 0, 0, prob_demand_mass[0], prob_demand_mass[1], prob_demand_mass[2]], [0, 0, 0, 0, prob_demand_mass[0...
36.463415
102
0.656856
271
1,495
3.365314
0.239852
0.252193
0.337719
0.213816
0.470395
0.4375
0.376096
0.376096
0.376096
0.376096
0
0.059652
0.192642
1,495
40
103
37.375
0.69594
0.033445
0
0
0
0
0.030492
0
0
0
0
0
0
1
0
false
0
0.085714
0
0.085714
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d05520e82655910896021870c67e33da2f6dc74
569
py
Python
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
19
2018-11-13T15:12:12.000Z
2022-01-31T20:43:26.000Z
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
null
null
null
tests/api/schemas/test_product_schema.py
igor822/product-categorization
e9c64834bf60cd9d51ab9b696b1b3ea49e702c9d
[ "MIT" ]
8
2019-03-07T03:32:43.000Z
2020-11-13T01:51:03.000Z
import unittest import pytest from src.api.schemas.product_schema import ProductSchema class ProductSchemaTests(unittest.TestCase): def setUp(self): pass def tearDown(self): pass def test_validate_valid_product(self): product = {"name": "Produt name", "description": "Some descrip...
27.095238
76
0.683656
61
569
6.262295
0.52459
0.041885
0.057592
0.115183
0.167539
0.167539
0
0
0
0
0
0.002222
0.209139
569
20
77
28.45
0.846667
0
0
0.133333
0
0
0.119508
0
0
0
0
0
0.133333
1
0.266667
false
0.133333
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
0d1b7c2182554a8a0f1a06812e62cc4dae4383a2
122
py
Python
py_tdlib/constructors/location.py
Mr-TelegramBot/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
24
2018-10-05T13:04:30.000Z
2020-05-12T08:45:34.000Z
py_tdlib/constructors/location.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
3
2019-06-26T07:20:20.000Z
2021-05-24T13:06:56.000Z
py_tdlib/constructors/location.py
MrMahdi313/python-tdlib
2e2d21a742ebcd439971a32357f2d0abd0ce61eb
[ "MIT" ]
5
2018-10-05T14:29:28.000Z
2020-08-11T15:04:10.000Z
from ..factory import Type class location(Type): latitude = None # type: "double" longitude = None # type: "double"
17.428571
35
0.680328
15
122
5.533333
0.666667
0.192771
0.337349
0
0
0
0
0
0
0
0
0
0.196721
122
6
36
20.333333
0.846939
0.237705
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d22a9dd7d5f467850b8900e066974665ef38818
2,394
py
Python
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/draw_vulkan_image.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/draw_vulkan_image.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
OpenGLWrapper_JE/venv/Lib/site-packages/OpenGL/GL/NV/draw_vulkan_image.py
JE-Chen/je_old_repo
a8b2f1ac2eec25758bd15b71c64b59b27e0bcda5
[ "MIT" ]
null
null
null
'''OpenGL extension NV.draw_vulkan_image This module customises the behaviour of the OpenGL.raw.GL.NV.draw_vulkan_image to provide a more Python-friendly API Overview (from the spec) This extension provides a new function, DrawVkImageNV(), allowing applications to draw a screen-aligned rectangle displa...
45.169811
77
0.789474
327
2,394
5.730887
0.495413
0.032017
0.032017
0.045358
0.055496
0.055496
0.055496
0.040555
0.040555
0
0
0
0.166249
2,394
53
78
45.169811
0.938878
0.847118
0
0
0
0
0.008421
0
0
0
0
0
0
1
0.083333
false
0
0.583333
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
0d2fbfa96bb0ce534111ac7e21349a1c716d99fa
637
py
Python
PyOpenWorm/quantity.py
nheffelman/pyopdata
5cc3042b004f167dbf18acc119474ea48b47810d
[ "MIT" ]
null
null
null
PyOpenWorm/quantity.py
nheffelman/pyopdata
5cc3042b004f167dbf18acc119474ea48b47810d
[ "MIT" ]
null
null
null
PyOpenWorm/quantity.py
nheffelman/pyopdata
5cc3042b004f167dbf18acc119474ea48b47810d
[ "MIT" ]
null
null
null
import pint as Q class Quantity: """ Enables the use of measurement units in our statements """ ur = Q.UnitRegistry() @classmethod def parse(self, s): q = self.ur.Quantity(s) my_q = Quantity(0,"mL") my_q._quant = q return my_q def __init__(self, value, unit): ...
21.233333
62
0.601256
84
637
4.380952
0.452381
0.024457
0.076087
0.092391
0
0
0
0
0
0
0
0.002222
0.293564
637
29
63
21.965517
0.815556
0.125589
0
0.1
0
0
0.003636
0
0
0
0
0
0
1
0.25
false
0
0.05
0.15
0.65
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
0d426d8765e77fea1c98581ceb39c83d5c0fb5f4
215
py
Python
parts/edag_diodes.py
baryluk/edag
675107e2078bcecb30768a5e96c7431104352024
[ "BSL-1.0" ]
null
null
null
parts/edag_diodes.py
baryluk/edag
675107e2078bcecb30768a5e96c7431104352024
[ "BSL-1.0" ]
null
null
null
parts/edag_diodes.py
baryluk/edag
675107e2078bcecb30768a5e96c7431104352024
[ "BSL-1.0" ]
null
null
null
#!/usr/bin/env python3 # Diodes "1N4148" "1N5817G" "BAT43" # Zener "1N457" # bc junction of many transistors can also be used as dioded, i.e. 2SC1815, 2SA9012, etc. with very small leakage current (~1pA at -4V).
21.5
136
0.702326
34
215
4.441176
1
0
0
0
0
0
0
0
0
0
0
0.162921
0.172093
215
9
137
23.888889
0.685393
0.818605
0
0
0
0
0.547619
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
0d51ae17ec18a17c3026a04979a7cfd4797e2e95
1,680
py
Python
infoblox_netmri/api/remote/models/wireless_hot_standby_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/wireless_hot_standby_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
infoblox_netmri/api/remote/models/wireless_hot_standby_grid_remote.py
IngmarVG-IB/infoblox-netmri
b0c725fd64aee1890d83917d911b89236207e564
[ "Apache-2.0" ]
null
null
null
from ..remote import RemoteModel from infoblox_netmri.utils.utils import check_api_availability class WirelessHotStandbyGridRemote(RemoteModel): """ | ``id:`` none | ``attribute type:`` string | ``WlsHotSbTimestamp:`` none | ``attribute type:`` string | ``MonitoredIPD...
21.265823
62
0.491071
95
1,680
8.652632
0.315789
0.205596
0.268856
0.363747
0
0
0
0
0
0
0
0
0.383333
1,680
79
63
21.265823
0.793436
0.4625
0
0
0
0
0.267956
0.030387
0
0
0
0
0
1
0
false
0
0.117647
0
0.235294
0
0
0
0
null
1
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b49746c535ff505d70174da7005a75abdaab6aa0
1,707
py
Python
src/test_uint8.py
disconnect3d/PicoBlade-asm
f4c1c5966f71ac9b11118dc0df1a6dd93699b4a2
[ "MIT" ]
4
2018-07-26T21:16:06.000Z
2021-07-02T17:07:01.000Z
src/test_uint8.py
disconnect3d/PicoBlade-asm
f4c1c5966f71ac9b11118dc0df1a6dd93699b4a2
[ "MIT" ]
1
2016-11-09T22:47:05.000Z
2017-01-19T23:34:50.000Z
src/test_uint8.py
disconnect3d/PicoBlade-asm
f4c1c5966f71ac9b11118dc0df1a6dd93699b4a2
[ "MIT" ]
null
null
null
from src.uint8 import uint8 def test_constructor1(): assert int(uint8(20)) == 20 def test_constructor2(): assert uint8(256) == uint8(0) assert uint8(260) == uint8(4) assert uint8(-1) == uint8(255) assert uint8(-5) == uint8(251) assert uint8(-5) != uint8(252) def test_add_other(): asser...
22.168831
52
0.565319
266
1,707
3.556391
0.199248
0.360465
0.063425
0.053911
0.460888
0.32981
0.154334
0
0
0
0
0.197205
0.24546
1,707
76
53
22.460526
0.537267
0
0
0.076923
0
0
0
0
0
0
0
0
0.653846
1
0.230769
false
0
0.019231
0
0.25
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
1
0
1
0
0
0
0
0
0
0
3
b4c089a9dff52456f55324f47ec3da262a9da232
8,392
py
Python
lentil/fourier.py
andykee/lentil
28b3e449336ec4a405144b302d7c0d92d308f052
[ "BSD-3-Clause" ]
6
2020-07-30T19:33:22.000Z
2022-01-19T19:17:13.000Z
lentil/fourier.py
andykee/lentil
28b3e449336ec4a405144b302d7c0d92d308f052
[ "BSD-3-Clause" ]
42
2020-06-19T06:02:10.000Z
2022-03-05T00:06:46.000Z
lentil/fourier.py
andykee/lentil
28b3e449336ec4a405144b302d7c0d92d308f052
[ "BSD-3-Clause" ]
2
2021-08-05T18:27:08.000Z
2022-01-18T19:42:40.000Z
import functools import numpy as np def dft2(f, alpha, npix=None, shift=(0, 0), offset=(0, 0), unitary=True, out=None): """Compute the 2-dimensional discrete Fourier Transform. This function allows independent control over input shape, output shape, and output sampling by implementing the matrix triple p...
38.319635
164
0.636916
1,309
8,392
4.038197
0.197097
0.005675
0.011351
0.003784
0.756527
0.737798
0.722664
0.697692
0.676126
0.629398
0
0.015528
0.247974
8,392
218
165
38.495413
0.822057
0.68601
0
0.152542
0
0
0.022957
0
0
0
0
0
0
1
0.118644
false
0
0.033898
0
0.271186
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
b4c33445657935893d39d91a0309206fd2cd458e
391
py
Python
tellurium/notebooks/__init__.py
kirichoi/tellurium
77cf6e794600587741ebe209644a78051e0db1d5
[ "Apache-2.0" ]
73
2016-06-13T12:44:28.000Z
2021-12-31T14:44:39.000Z
tellurium/notebooks/__init__.py
kirichoi/tellurium
77cf6e794600587741ebe209644a78051e0db1d5
[ "Apache-2.0" ]
461
2015-03-26T00:05:16.000Z
2022-03-16T17:24:35.000Z
tellurium/notebooks/__init__.py
kirichoi/tellurium
77cf6e794600587741ebe209644a78051e0db1d5
[ "Apache-2.0" ]
30
2016-01-18T16:50:54.000Z
2021-07-06T09:29:53.000Z
""" notebook imports """ from __future__ import absolute_import import warnings import ipywidgets import IPython from .notebooktools import * from .ontologysearch import OntologySearch from .parameterslider import ParameterSlider from .speciessearch import SearchBySpeciesForm # except ImportError: # warnings.war...
17.772727
83
0.808184
41
391
7.585366
0.609756
0
0
0
0
0
0
0
0
0
0
0
0.138107
391
21
84
18.619048
0.922849
0.304348
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
b4c97a273a81770eaaca18c88e6e3fb3e5d16e27
1,307
py
Python
cupy/linalg/norm.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
null
null
null
cupy/linalg/norm.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
null
null
null
cupy/linalg/norm.py
umitanuki/chainer
225c56b233e684ff4855451d2af4c2fb66915f21
[ "MIT" ]
1
2018-11-18T00:36:51.000Z
2018-11-18T00:36:51.000Z
def norm(x, ord=None, axis=None): # TODO(beam2d): Implement it raise NotImplementedError def cond(x, p=None): # TODO(beam2d): Implement it raise NotImplementedError def det(a): # TODO(beam2d): Implement it raise NotImplementedError def matrix_rank(M, tol=None): # TODO(beam2d): Implemen...
26.673469
77
0.646519
180
1,307
4.688889
0.4
0.059242
0.112559
0.124408
0.424171
0.369668
0.369668
0.300948
0
0
0
0.019348
0.248661
1,307
48
78
27.229167
0.840122
0.605203
0
0.384615
0
0
0
0
0
0
0
0.020833
0
1
0.461538
false
0
0
0
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
1
0
0
1
0
0
0
0
1
0
0
3
b4ea18107650e6d8144929adf5242acb860cb78c
198
py
Python
src/setup.py
Mr-Salme/CipheyCore
f9ce42973d141a6cfd506ec7a423443293d29201
[ "MIT" ]
null
null
null
src/setup.py
Mr-Salme/CipheyCore
f9ce42973d141a6cfd506ec7a423443293d29201
[ "MIT" ]
null
null
null
src/setup.py
Mr-Salme/CipheyCore
f9ce42973d141a6cfd506ec7a423443293d29201
[ "MIT" ]
null
null
null
from setuptools import setup, Extension # Compile parts of `freq.cpp` into a shared library so we can call it from Python setup( #... ext_modules=[Extension('gof_test', ['freq.cpp'],),], )
24.75
81
0.686869
29
198
4.62069
0.827586
0.104478
0
0
0
0
0
0
0
0
0
0
0.176768
198
7
82
28.285714
0.822086
0.414141
0
0
0
0
0.141593
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
370a15691cec20cb2cd5ab37aca120000fa1eaf8
40,610
py
Python
v2.5.7/toontown/episodes/MoneybinTakeover.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-01T15:46:43.000Z
2021-07-23T16:26:48.000Z
v2.5.7/toontown/episodes/MoneybinTakeover.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
1
2019-06-29T03:40:05.000Z
2021-06-13T01:15:16.000Z
v2.5.7/toontown/episodes/MoneybinTakeover.py
TTOFFLINE-LEAK/ttoffline
bb0e91704a755d34983e94288d50288e46b68380
[ "MIT" ]
4
2019-07-28T21:18:46.000Z
2021-02-25T06:37:25.000Z
from toontown.avatar import ToontownAvatarUtils from toontown.avatar.CogExtras import * PROPS = [ ( 5, 'modules', 'suit_walls', (0.0, 342.4, 0.0), (-10.5, 0.0, 0.0), (54.6, 54.6, 54.6), 'wall_suit_build5', None, None), ( 5, 'modules', 'suit_walls', (53.686, 332.45, 0.0), (-16.5, 0.0, 0.0), (54.6, 54.6, 54.6), '...
106.868421
1,168
0.264664
3,063
40,610
3.450212
0.169442
0.064156
0.059614
0.049205
0.577687
0.541067
0.478142
0.428842
0.393547
0.385125
0
0.182109
0.630313
40,610
380
1,169
106.868421
0.521814
0
0
0.286104
0
0
0.073945
0.017261
0
0
0
0
0
1
0.016349
false
0
0.00545
0
0.029973
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
37175535dd73bb85ce801f6d71053f502d010455
459
py
Python
sesame/utils.py
GamePad64/django-sesame
9d6144110b2cd74cca4e58273926b111eadb3f03
[ "BSD-3-Clause" ]
null
null
null
sesame/utils.py
GamePad64/django-sesame
9d6144110b2cd74cca4e58273926b111eadb3f03
[ "BSD-3-Clause" ]
null
null
null
sesame/utils.py
GamePad64/django-sesame
9d6144110b2cd74cca4e58273926b111eadb3f03
[ "BSD-3-Clause" ]
null
null
null
from __future__ import unicode_literals from .backends import UrlAuthBackendMixin from .compatibility import urlencode from .middleware import TOKEN_NAME def get_parameters(user): """ Return GET parameters to log in `user`. """ return {TOKEN_NAME: UrlAuthBackendMixin().create_token(user)} def get_...
20.863636
65
0.718954
55
459
5.781818
0.454545
0.125786
0.106918
0.069182
0.106918
0
0
0
0
0
0
0
0.187364
459
21
66
21.857143
0.852547
0.191721
0
0
0
0
0.002959
0
0
0
0
0
0
1
0.25
false
0
0.5
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
1
0
1
0
0
3
37218dc001152be9a5cbbcb8a62c2a58d5ca62fb
287
py
Python
yard/skills/66-python/cookbook/yvhai/demo/input/xml.py
paser4se/bbxyard
d09bc6efb75618b2cef047bad9c8b835043446cb
[ "Apache-2.0" ]
1
2016-03-29T02:01:58.000Z
2016-03-29T02:01:58.000Z
yard/skills/66-python/cookbook/yvhai/demo/input/xml.py
paser4se/bbxyard
d09bc6efb75618b2cef047bad9c8b835043446cb
[ "Apache-2.0" ]
18
2019-02-13T09:15:25.000Z
2021-12-09T21:32:13.000Z
yard/skills/66-python/cookbook/yvhai/demo/input/xml.py
paser4se/bbxyard
d09bc6efb75618b2cef047bad9c8b835043446cb
[ "Apache-2.0" ]
2
2020-07-05T01:01:30.000Z
2020-07-08T22:33:06.000Z
#!/usr/bin/env python3 # xml 资源 xml_w3_book = """ <?xml version="1.0" encoding="ISO-8859-1"?> <bookstore> <book> <title lang="eng">Harry Potter</title> <price>29.99</price> </book> <book> <title lang="eng">Learning XML</title> <price>39.95</price> </book> </bookstore> """
13.045455
43
0.620209
43
287
4.093023
0.604651
0.102273
0.147727
0.181818
0
0
0
0
0
0
0
0.068826
0.139373
287
21
44
13.666667
0.643725
0.097561
1
0.307692
0
0
0.902724
0.089494
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2e92110a4acf5b4d90f4de3ae5d754fd4d0bda47
292
py
Python
integration/tests_ok/user_agent.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
integration/tests_ok/user_agent.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
integration/tests_ok/user_agent.py
jleverenz/hurl
b81ca8ab7e0e409ec0c074fd8e118721ff4d3fb3
[ "Apache-2.0" ]
null
null
null
from app import app from flask import request @app.route("/user-agent/a") def useragent_a(): assert "Mozilla/5.0 A" == request.headers["User-Agent"] return "" @app.route("/user-agent/b") def useragent_b(): assert "Mozilla/5.0 B" == request.headers["User-Agent"] return ""
19.466667
59
0.657534
44
292
4.318182
0.409091
0.189474
0.126316
0.178947
0.305263
0
0
0
0
0
0
0.016393
0.164384
292
14
60
20.857143
0.762295
0
0
0.2
0
0
0.246575
0
0
0
0
0
0.2
1
0.2
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
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
1
0
0
3
2ea7b1e2f8c9260e23fc9fd591de1116fc926068
332
py
Python
gsheetsdb/types.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
176
2018-09-11T12:29:00.000Z
2022-03-26T19:33:31.000Z
gsheetsdb/types.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
16
2018-09-14T18:11:09.000Z
2022-03-08T20:17:56.000Z
gsheetsdb/types.py
tim-werner/gsheets-db-api
12f2a4fbe1bd5aa36781226759326ce782b08a91
[ "MIT" ]
14
2019-01-10T16:40:25.000Z
2021-07-27T01:22:58.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function from __future__ import unicode_literals from enum import Enum class Type(Enum): STRING = 'string' NUMBER = 'number' BOOLEAN = 'boolean' DATE = 'date' DATETIME = 'datetime' TIMEOFDAY = ...
20.75
39
0.73494
38
332
5.921053
0.473684
0.177778
0.284444
0
0
0
0
0
0
0
0
0
0.201807
332
15
40
22.133333
0.849057
0
0
0
0
0
0.120482
0
0
0
0
0
0
1
0
false
0
0.416667
0
1
0.083333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2ecf02de134bbfb63253edf9f0df0a07e83ef05f
239
py
Python
src/check_ids.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
1
2021-10-06T00:21:10.000Z
2021-10-06T00:21:10.000Z
src/check_ids.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
14
2021-01-15T21:51:38.000Z
2021-11-10T10:08:22.000Z
src/check_ids.py
lubianat/complex_bot
e0ddabcc0487c52b14fb94950c5a812f0bdb2283
[ "MIT" ]
1
2021-01-18T10:32:56.000Z
2021-01-18T10:32:56.000Z
import pandas as pd from wikidataintegrator import wdi_login import utils from login import WDPASS, WDUSER import argparse import sys parser = argparse.ArgumentParser() df = utils.get_complex_portal_species_ids() print(df.to_markdown())
21.727273
43
0.824268
34
239
5.617647
0.705882
0.115183
0
0
0
0
0
0
0
0
0
0
0.117155
239
11
44
21.727273
0.905213
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0.111111
0.666667
0
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
1
0
0
3
2ef007f96300135913374e66f242b4d7ad638d34
937
py
Python
env/Lib/site-packages/OpenGL/GL/ARB/shader_clock.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
210
2016-04-09T14:26:00.000Z
2022-03-25T18:36:19.000Z
env/Lib/site-packages/OpenGL/GL/ARB/shader_clock.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
72
2016-09-04T09:30:19.000Z
2022-03-27T17:06:53.000Z
env/Lib/site-packages/OpenGL/GL/ARB/shader_clock.py
5gconnectedbike/Navio2
8c3f2b5d8bbbcea1fc08739945183c12b206712c
[ "BSD-3-Clause" ]
64
2016-04-09T14:26:49.000Z
2022-03-21T11:19:47.000Z
'''OpenGL extension ARB.shader_clock This module customises the behaviour of the OpenGL.raw.GL.ARB.shader_clock to provide a more Python-friendly API Overview (from the spec) This extension exposes a 64-bit monotonically incrementing shader counter which may be used to derive local timing information within a ...
32.310345
71
0.803629
132
937
5.621212
0.537879
0.080863
0.09434
0.056604
0.128032
0.128032
0.09434
0.09434
0
0
0
0.002469
0.135539
937
29
72
32.310345
0.91358
0.61793
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
true
0
0.777778
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
3
2ef1c30c2a21d30607beca0e47199956e827e7ca
234
py
Python
tuiuiu/tuiuiuadmin/tests/api/utils.py
caputomarcos/tuiuiu.io
d8fb57cf95487e7fe1454b2130ef18acc916da46
[ "BSD-3-Clause" ]
3
2019-08-08T09:09:35.000Z
2020-12-15T18:04:17.000Z
tuiuiu/tuiuiuadmin/tests/api/utils.py
caputomarcos/tuiuiu.io
d8fb57cf95487e7fe1454b2130ef18acc916da46
[ "BSD-3-Clause" ]
null
null
null
tuiuiu/tuiuiuadmin/tests/api/utils.py
caputomarcos/tuiuiu.io
d8fb57cf95487e7fe1454b2130ef18acc916da46
[ "BSD-3-Clause" ]
1
2017-09-09T20:10:40.000Z
2017-09-09T20:10:40.000Z
from __future__ import absolute_import, unicode_literals from django.test import TestCase from tuiuiu.tests.utils import TuiuiuTestUtils class AdminAPITestCase(TestCase, TuiuiuTestUtils): def setUp(self): self.login()
21.272727
56
0.790598
27
234
6.62963
0.703704
0
0
0
0
0
0
0
0
0
0
0
0.149573
234
10
57
23.4
0.899497
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.5
0
0.833333
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
3
2ef92842a29485830b7dc96257442537b474a8cf
1,243
py
Python
app/backend/queries/mysql.py
sesam-community/autoconnect
1f0a4630ca77cc3cf5786de0bb4686b05bd0f0bb
[ "Apache-2.0" ]
null
null
null
app/backend/queries/mysql.py
sesam-community/autoconnect
1f0a4630ca77cc3cf5786de0bb4686b05bd0f0bb
[ "Apache-2.0" ]
null
null
null
app/backend/queries/mysql.py
sesam-community/autoconnect
1f0a4630ca77cc3cf5786de0bb4686b05bd0f0bb
[ "Apache-2.0" ]
1
2021-02-18T15:15:01.000Z
2021-02-18T15:15:01.000Z
def table_pkey(table): query = f"""SELECT KU.table_name as TABLENAME,column_name as PRIMARYKEYCOLUMN FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS AS TC INNER JOIN INFORMATION_SCHEMA.KEY_COLUMN_USAGE AS KU ON TC.CONSTRAINT_TYPE = 'PRIMARY KEY' AND TC.CONSTRAINT_NAME = KU.CONSTRAINT_NAME AND KU.table_n...
47.807692
143
0.745776
177
1,243
4.932203
0.282486
0.082474
0.054983
0.077892
0.260023
0.071019
0.071019
0
0
0
0
0.003839
0.161706
1,243
26
144
47.807692
0.833973
0
0
0.210526
0
0.105263
0.691318
0.284566
0
0
0
0
0
1
0.263158
false
0
0
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
1
0
0
0
0
1
0
0
3
2c0300ca0658c1688971286bba3169afb2699074
1,911
py
Python
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
controllers/task_handler.py
MuhammadWaleedUsman/PythonTornadoDockerTraefikMySql
29d7a72c30a96f4eaf9174fdf29fd06fb48e7974
[ "Apache-2.0" ]
null
null
null
from .db_handler import cursor from tornado import concurrent import tornado.web executor = concurrent.futures.ThreadPoolExecutor(8) def start_task(arg): print("The Task has started") # Async task return True def stop_task(arg): print("The Task has stopped") # Async task return True class Handler...
29.4
80
0.55259
211
1,911
4.914692
0.303318
0.052073
0.04243
0.02893
0.734812
0.734812
0.692382
0.692382
0.692382
0.692382
0
0.000798
0.344322
1,911
64
81
29.859375
0.826816
0.010989
0
0.740741
0
0
0.105988
0
0
0
0
0
0
1
0.074074
false
0
0.055556
0
0.203704
0.037037
0
0
0
null
0
0
0
0
1
0
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
2c0432e1308cc8fe3207fb79660271c04e458a71
666
py
Python
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
3
2017-10-14T19:49:28.000Z
2019-01-12T21:51:11.000Z
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
null
null
null
Python/WordBreak.py
Jspsun/LEETCodePractice
9dba8c0441201a188b93e4d39a0a9b7602857a5f
[ "MIT" ]
5
2017-02-06T19:10:23.000Z
2020-12-19T01:58:10.000Z
class Solution(object): def wordBreak(self, s, wordDict): """ :type s: str :type wordDict: List[str] :rtype: bool """ dp = [False for i in xrange(len(s)+1)] dp[0] = True for i in range(1, len(s)+1): for w in wordDict: if le...
31.714286
66
0.478979
85
666
3.752941
0.447059
0.037618
0.206897
0.188088
0
0
0
0
0
0
0
0.011468
0.345345
666
21
67
31.714286
0.720183
0
0
0
0
0
0.085069
0
0
0
0
0
0
0
null
null
0
0
null
null
0.214286
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
3
25cbeb75700cfc7ba35658909719975df140adca
6,215
py
Python
tests/test_algorithms/test_sutherland_hodgman.py
Huite/numba_celltree
f6562153fb09468c64c6594b5ed4c48ce827997a
[ "MIT" ]
2
2021-08-30T08:44:45.000Z
2021-08-30T11:55:25.000Z
tests/test_algorithms/test_sutherland_hodgman.py
Deltares/numba_celltree
898c54a18731e56407d03636f7f18e67d84a1f00
[ "MIT" ]
null
null
null
tests/test_algorithms/test_sutherland_hodgman.py
Deltares/numba_celltree
898c54a18731e56407d03636f7f18e67d84a1f00
[ "MIT" ]
null
null
null
"""" Test data generated with: ```python import numpy as np import shapely.geometry as sg def ccw(a): # Ensure triangles are counter-clockwise for i in range(len(a)): t = a[i] normal = (t[1][0] - t[0][0])*(t[2][1]-t[0][1])-(t[1][1]-t[0][1])*(t[2][0]-t[0][0]) if normal < 0: ...
26.559829
90
0.524698
925
6,215
3.437838
0.241081
0.032075
0.026415
0.013836
0.303459
0.245597
0.20912
0.20912
0.183019
0.177673
0
0.303913
0.292679
6,215
233
91
26.67382
0.419472
0.122928
0
0.281609
1
0
0
0
0
0
0
0
0.057471
1
0.04023
false
0
0.017241
0
0.057471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
25cd4e9ba282e597a4fa5b69cbe92a7a0be65817
155
py
Python
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
3
2019-02-23T03:19:32.000Z
2020-02-12T13:54:02.000Z
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
null
null
null
interpreter/application.py
Jesssullivan/MerlinAI-Interpreters
e2e053f357a74d642b160b42a1276fa44c45614b
[ "Unlicense" ]
null
null
null
from app.main import create_app from waitress import serve if __name__ == "__main__": app = create_app() serve(app, host='0.0.0.0', port='5000')
19.375
43
0.677419
25
155
3.8
0.52
0.063158
0.063158
0
0
0
0
0
0
0
0
0.062992
0.180645
155
7
44
22.142857
0.685039
0
0
0
0
0
0.123377
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
3
25da3c1cb459bcee6395b9dfd94dc5a75175e53c
3,183
py
Python
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
fixtures/db.py
maxteplyakov/learn_python_test_automation
de40804d58ada5f4165ca6a0070bfb4cfca038d9
[ "MIT" ]
null
null
null
import mysql.connector from models.group import Group from models.contact import Contact class DbFixture(): def __init__(self, host, name, user, password): self.host = host self.name = name self.user = user self.password = password self.connection = mysql.connector.connect...
30.902913
80
0.473767
301
3,183
4.913621
0.186047
0.021636
0.024341
0.070318
0.707235
0.707235
0.707235
0.693712
0.693712
0.640974
0
0.016854
0.440779
3,183
102
81
31.205882
0.814045
0.020735
0
0.565217
0
0
0.120706
0.014125
0
0
0
0
0
1
0.065217
false
0.032609
0.032609
0
0.152174
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
25ef3cf038f4dc0c0967a72f05b874c0bdc8e6a9
858
py
Python
viberbot/api/viber_requests/viber_seen_request.py
AaganMaskey/viber-bot-python
99224b6c777ee3ac9d26a4b1ccd6ae0193291edb
[ "Apache-2.0" ]
1
2019-12-27T17:02:38.000Z
2019-12-27T17:02:38.000Z
viberbot/api/viber_requests/viber_seen_request.py
AaganMaskey/viber-bot-python
99224b6c777ee3ac9d26a4b1ccd6ae0193291edb
[ "Apache-2.0" ]
1
2021-06-25T15:17:45.000Z
2021-06-25T15:17:45.000Z
viberbot/api/viber_requests/viber_seen_request.py
Micuk/viber-bot-python
c090e40a2270f3fec5b5cd34f83334a5797d2bdd
[ "Apache-2.0" ]
null
null
null
from future.utils import python_2_unicode_compatible from ..event_type import EventType from viberbot.api.viber_requests.viber_request import ViberRequest class ViberSeenRequest(ViberRequest): def __init__(self): super(ViberSeenRequest, self).__init__(EventType.SEEN) self._message_token = None self._user_id = ...
28.6
87
0.785548
117
858
5.307692
0.324786
0.067633
0.10306
0.077295
0.070853
0
0
0
0
0
0
0.00657
0.113054
858
29
88
29.586207
0.809461
0
0
0.086957
0
0
0.086247
0
0
0
0
0
0
1
0.217391
false
0
0.130435
0.130435
0.565217
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
d30ac629c524ea866310dba919699e150da5f2f1
7,143
py
Python
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
server/permatrix.py
osaizar/sand
b98c954090af69410589360a68e68cd10d52f782
[ "Apache-2.0" ]
null
null
null
import random import numpy as np MATRIX = [(7, 6, 2, 1, 0, 3, 5, 4), (6, 5, 0, 1, 3, 2, 4, 7), (1, 0, 3, 7, 5, 4, 6, 2), (7, 5, 2, 6, 1, 3, 0, 4), (0, 4, 2, 3, 7, 1, 6, 5), (7, 1, 0, 2, 3, 5, 6, 4), (3, 4, 2, 6, 0, 7, 5, 1), (6, 1, 5, 2, 7, 4, 0, 3), (3, 1, 4, 5, 0, 7, 2, 6), (3, 2, 6, 5, 0, 4, 1, 7), (3, 0, 6, 1, 7, ...
25.329787
40
0.332773
2,129
7,143
1.112259
0.019728
0.04223
0.017736
0.011824
0.455236
0.128801
0.017736
0
0
0
0
0.410661
0.298754
7,143
281
41
25.419929
0.062088
0
0
0.007246
0
0
0.00014
0
0
0
0
0
0
1
0.007246
false
0
0.007246
0
0.014493
0.003623
0
0
1
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
d318c848b55117fd7c66c4af724183f8868ea105
436
py
Python
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
src/data_science/data_science/tools/time.py
viclule/api_models_deployment_framework
7595cf0b4f3e277925b968014102d7561547bcd4
[ "MIT" ]
null
null
null
from datetime import datetime, timezone def get_timestamp_isoformat(): """ Generate a timestampt in iso format. """ dt = datetime.utcnow().replace(microsecond=0).isoformat("T") + "Z" return dt def get_timestamp_unix(): """ Generate a timestampt in unix format. ########.### """ ...
21.8
70
0.637615
49
436
5.591837
0.510204
0.043796
0.109489
0.153285
0.211679
0
0
0
0
0
0
0.002915
0.213303
436
19
71
22.947368
0.795918
0.199541
0
0
1
0
0.006369
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.625
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
1
0
0
0
0
1
0
0
3
d31a96e194e159ff9f667fe1d5373f70080f5da4
1,127
py
Python
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
15
2020-05-27T11:55:05.000Z
2022-02-08T11:07:54.000Z
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
21
2020-06-02T11:56:13.000Z
2021-07-29T21:50:27.000Z
datatracer/foreign_key/base.py
HDI-Project/DataTracer
4bb0906f1716bbcfeb0881cade5d6d47bca90764
[ "MIT" ]
3
2021-01-19T17:10:58.000Z
2021-08-13T20:47:33.000Z
"""Foreign Key Solving base class.""" class ForeignKeySolver(): def fit(self, list_of_databases): """Fit this solver. Args: list_of_databases (list): List of tuples containing ``MetaData`` instnces and table dictinaries, which contain table names as in...
32.2
91
0.593611
127
1,127
5.220472
0.527559
0.045249
0.045249
0.051282
0.223228
0.13273
0.13273
0.13273
0.13273
0
0
0
0.338953
1,127
34
92
33.147059
0.889933
0.69299
0
0
0
0
0
0
0
0
0
0
0
1
0.4
false
0.2
0
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
1
0
0
1
0
0
3
d37dcd3460178c5f2fd87503fdb31b744dd39932
779
py
Python
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
theme_clean/__manifest__.py
YnievesDotNetTeam/addons
2dd619ed7897a61bedef720d73509cb693a7f6cf
[ "MIT" ]
null
null
null
{ 'name': 'Clean Theme', 'description': 'Clean Theme', 'category': 'Theme/Services', 'summary': 'Corporate, Business, Tech, Services', 'sequence': 120, 'version': '2.0', 'author': 'Odoo S.A.', 'depends': ['theme_common', 'website_animate'], 'data': [ 'views/assets.xml', ...
28.851852
53
0.594352
87
779
5.137931
0.574713
0.107383
0.178971
0.190157
0
0
0
0
0
0
0
0.009901
0.22208
779
26
54
29.961538
0.727723
0
0
0.08
0
0
0.648267
0.32991
0
0
0
0
0
1
0
true
0
0
0
0
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
1
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d3921bbf727327b6abcb686de351663bb6fe7b42
181
py
Python
Reinforcement_Learning/gym-environments/setup.py
SpencerPao/ComputerVision
807ce1a1bb651a7a2248f074ab3caab95ea56a96
[ "MIT" ]
1
2021-11-22T21:52:35.000Z
2021-11-22T21:52:35.000Z
Reinforcement_Learning/gym-environments/setup.py
SpencerPao/ComputerVision
807ce1a1bb651a7a2248f074ab3caab95ea56a96
[ "MIT" ]
2
2021-11-23T02:02:56.000Z
2021-12-19T01:04:38.000Z
Reinforcement_Learning/gym-environments/setup.py
SpencerPao/ComputerVision
807ce1a1bb651a7a2248f074ab3caab95ea56a96
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='gym_dinorun', version='0.1', install_requires=['gym', 'selenium', 'numpy', 'pillow', 'pyvirtualdisplay', 'matplotlib'] )
25.857143
95
0.651934
19
181
6.105263
0.894737
0
0
0
0
0
0
0
0
0
0
0.013423
0.176796
181
6
96
30.166667
0.765101
0
0
0
0
0
0.342541
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
3
d3963f0cda7e231690d35ea142f4ffd430047c44
144
py
Python
admin-portal/queues/apps.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
admin-portal/queues/apps.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
null
null
null
admin-portal/queues/apps.py
oakbani/ksdp-portal
8f44b3cb0081a7f31b9c8121883dd51945a05520
[ "MIT" ]
1
2021-09-19T10:58:17.000Z
2021-09-19T10:58:17.000Z
from django.apps import AppConfig class QueuesConfig(AppConfig): default_auto_field = "django.db.models.BigAutoField" name = "queues"
20.571429
56
0.756944
17
144
6.294118
0.882353
0
0
0
0
0
0
0
0
0
0
0
0.152778
144
6
57
24
0.877049
0
0
0
0
0
0.243056
0.201389
0
0
0
0
0
1
0
false
0
0.25
0
1
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
3
d3aa7a46e2eb468c36ac6cd5574de318dee4cff0
283
py
Python
kubernetes_typed/client/models/v1_empty_dir_volume_source.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
22
2020-12-10T13:06:02.000Z
2022-02-13T21:58:15.000Z
kubernetes_typed/client/models/v1_empty_dir_volume_source.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
4
2021-03-08T07:06:12.000Z
2022-03-29T23:41:45.000Z
kubernetes_typed/client/models/v1_empty_dir_volume_source.py
nikhiljha/kubernetes-typed
4f4b969aa400c88306f92560e56bda6d19b2a895
[ "Apache-2.0" ]
2
2021-09-05T19:18:28.000Z
2022-03-14T02:56:17.000Z
# Code generated by `typeddictgen`. DO NOT EDIT. """V1EmptyDirVolumeSourceDict generated type.""" from typing import TypedDict V1EmptyDirVolumeSourceDict = TypedDict( "V1EmptyDirVolumeSourceDict", { "medium": str, "sizeLimit": str, }, total=False, )
21.769231
48
0.678445
23
283
8.347826
0.782609
0.364583
0
0
0
0
0
0
0
0
0
0.013453
0.212014
283
12
49
23.583333
0.847534
0.318021
0
0
1
0
0.219251
0.139037
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3