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
4d40ca93a7cb3448177487309406e3e601e28dfd
1,977
py
Python
contentcuration/contentcuration/migrations/0034_auto_20161014_1509.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2019-03-30T18:14:25.000Z
2019-03-30T18:14:25.000Z
contentcuration/contentcuration/migrations/0034_auto_20161014_1509.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
2
2019-04-06T07:06:08.000Z
2019-04-08T23:33:53.000Z
contentcuration/contentcuration/migrations/0034_auto_20161014_1509.py
Tlazypanda/studio
cd1c2f169c705027cdd808cbbcae907d0a9b21d2
[ "MIT" ]
1
2020-10-20T05:21:56.000Z
2020-10-20T05:21:56.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-10-14 22:09 from __future__ import unicode_literals from django.db import migrations from django.db import models class Migration(migrations.Migration): dependencies = [ ('contentcuration', '0033_auto_20161012_1344'), ] operations = [ ...
49.425
273
0.592312
220
1,977
5.095455
0.445455
0.016057
0.032114
0.103479
0.183765
0.169492
0.169492
0.169492
0.130241
0.130241
0
0.03426
0.217501
1,977
39
274
50.692308
0.690368
0.03389
0
0.3125
1
0
0.341374
0.047195
0
0
0
0
0
1
0
false
0
0.09375
0
0.1875
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d43e801334aa126cf66e7f846636e75b439b9cc
6,721
py
Python
rmgpy/tools/sensitivity.py
cainja/RMG-Py
f9ad0f4244e476a28768c8a4a37410ad55bcd556
[ "MIT" ]
7
2017-10-04T16:04:14.000Z
2021-03-27T21:54:41.000Z
code/rmgpy/tools/sensitivity.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
null
null
null
code/rmgpy/tools/sensitivity.py
tiger-tiger/Molecular-Image-Recognition
413e74bb526f56077cd5f70bb41fb7a075636174
[ "MIT" ]
6
2017-10-04T15:37:05.000Z
2021-12-29T06:50:16.000Z
#!/usr/bin/env python # encoding: utf-8 ################################################################################ # # RMG - Reaction Mechanism Generator # # Copyright (c) 2002-2017 Prof. William H. Green (whgreen@mit.edu), # Prof. Richard H. West (r.west@neu.edu) and the RMG Team (rmg_dev@mit.edu) # # ...
42.808917
128
0.66999
682
6,721
6.570381
0.390029
0.019638
0.022316
0.029458
0.17206
0.152645
0.120955
0.098639
0.086365
0.054898
0
0.005849
0.23687
6,721
156
129
43.083333
0.86781
0.198036
0
0.176471
0
0
0.066456
0.026357
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.011765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d44b4255a495fdb5675568536ae5bc651810d8a
8,993
py
Python
bird_or_bicycle_models/models_pretrained.py
vtddggg/CAA
956c6b798f95ead16f191ecf2f2a7522255d3239
[ "Apache-2.0" ]
25
2020-12-20T11:48:19.000Z
2022-01-15T14:46:06.000Z
bird_or_bicycle_models/models_pretrained.py
vtddggg/CAA
956c6b798f95ead16f191ecf2f2a7522255d3239
[ "Apache-2.0" ]
4
2021-03-10T08:59:26.000Z
2022-02-28T10:12:15.000Z
bird_or_bicycle_models/models_pretrained.py
vtddggg/CAA
956c6b798f95ead16f191ecf2f2a7522255d3239
[ "Apache-2.0" ]
5
2021-06-15T13:43:52.000Z
2022-03-31T13:13:39.000Z
'''ResNet in PyTorch. For Pre-activation ResNet, see 'preact_resnet.py'. Reference: [1] Kaiming He, Xiangyu Zhang, Shaoqing Ren, Jian Sun Deep Residual Learning for Image Recognition. arXiv:1512.03385 ''' import torch import torch.nn as nn import torch.nn.functional as F import torchvision class ResNet18Pre(nn.Mo...
33.55597
82
0.637941
1,128
8,993
4.949468
0.108156
0.031524
0.023643
0.041376
0.711983
0.672577
0.672577
0.672577
0.672577
0.672577
0
0.05252
0.263205
8,993
268
83
33.55597
0.790069
0.226732
0
0.511905
0
0
0.013056
0
0
0
0
0
0
1
0.130952
false
0
0.02381
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d4543618a8ec3cbc568811f20ad4b7d33d835b9
2,297
py
Python
mezzanine_api/settings.py
GhostFanta/mezzanine-api
4a80d2487787789aa3b04b211e4dd2bf8bcafa1d
[ "MIT" ]
95
2015-05-11T14:50:48.000Z
2021-08-16T00:20:54.000Z
mezzanine_api/settings.py
GhostFanta/mezzanine-api
4a80d2487787789aa3b04b211e4dd2bf8bcafa1d
[ "MIT" ]
21
2015-12-20T19:05:46.000Z
2018-12-16T19:11:59.000Z
mezzanine_api/settings.py
GhostFanta/mezzanine-api
4a80d2487787789aa3b04b211e4dd2bf8bcafa1d
[ "MIT" ]
33
2015-08-24T21:46:59.000Z
2021-06-04T14:02:36.000Z
# Default REST API settings # This module should be imported into your Django `settings.py` # Edit your `local_settings.py` to customize from django.urls import reverse_lazy allow_headers = ( 'x-requested-with', 'content-type', 'accept', 'origin', 'authorization', 'x-csrftoken', 'user-age...
33.289855
99
0.716152
276
2,297
5.721014
0.543478
0.026599
0.022799
0.018999
0.049398
0.049398
0.049398
0.049398
0.049398
0
0
0.010411
0.163692
2,297
68
100
33.779412
0.811556
0.106226
0
0
0
0.035714
0.627873
0.212225
0
0
0
0
0
1
0
false
0
0.017857
0
0.017857
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
0
0
0
0
0
0
0
0
1
4d4e8e8aadd31e0624b5d466a16681164d8466f5
676
py
Python
simulation/player_factory.py
nerdinand/shooty-game
a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c
[ "MIT" ]
null
null
null
simulation/player_factory.py
nerdinand/shooty-game
a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c
[ "MIT" ]
null
null
null
simulation/player_factory.py
nerdinand/shooty-game
a2f35035bd1ed02676a8384ba6d04e4d7ec42d0c
[ "MIT" ]
null
null
null
from .agent import Agent from .bot import Bot from .human import Human from .math_util import MathUtil from .rifle import Rifle class PlayerFactory: def __init__(self) -> None: self.bot_count = 0 def random_bot(self) -> Bot: bot = Bot( f"Bot {self.bot_count}", gun_clas...
26
71
0.621302
92
676
4.423913
0.336957
0.068796
0.088452
0.093366
0.137592
0.137592
0
0
0
0
0
0.01417
0.269231
676
25
72
27.04
0.809717
0.081361
0
0
0
0
0.048544
0
0
0
0
0
0
1
0.2
false
0
0.25
0.1
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
0
0
0
0
0
1
0
0
1
4d511fa6cb4484e7f66b644736d5dae33e6acec3
2,534
py
Python
gcloud/datastore/demo/demo.py
olala7846/gcloud-python
f33e557f94f304b38049b5f9b5082ed58dcf295a
[ "Apache-2.0" ]
null
null
null
gcloud/datastore/demo/demo.py
olala7846/gcloud-python
f33e557f94f304b38049b5f9b5082ed58dcf295a
[ "Apache-2.0" ]
null
null
null
gcloud/datastore/demo/demo.py
olala7846/gcloud-python
f33e557f94f304b38049b5f9b5082ed58dcf295a
[ "Apache-2.0" ]
null
null
null
# pragma NO COVER # Welcome to the gCloud Datastore Demo! (hit enter) # We're going to walk through some of the basics... # Don't worry though. You don't need to do anything, just keep hitting enter... # Let's start by importing the demo module and getting a dataset: from gcloud.datastore import demo dataset = demo.g...
30.53012
79
0.698895
394
2,534
4.484772
0.360406
0.020374
0.050934
0.039049
0.155065
0.107527
0.04867
0.04867
0.04867
0
0
0.006199
0.172455
2,534
82
80
30.902439
0.836433
0.494475
0
0.315789
0
0
0.152313
0
0
0
0
0
0
0
null
null
0
0.026316
null
null
0.315789
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d5314d7b00064aa554d3e2aba7ae28fa6e0b494
4,085
py
Python
tests/fixtures/po/models.py
tefra/xsdata-pydantic
f4457a01dbf156e17dda2cd11afc485533c35b95
[ "MIT" ]
4
2021-11-04T17:01:57.000Z
2022-03-29T02:30:35.000Z
tests/fixtures/po/models.py
tefra/xsdata-pydantic
f4457a01dbf156e17dda2cd11afc485533c35b95
[ "MIT" ]
6
2021-11-04T16:03:36.000Z
2022-03-30T17:36:24.000Z
tests/fixtures/po/models.py
tefra/xsdata-pydantic
f4457a01dbf156e17dda2cd11afc485533c35b95
[ "MIT" ]
1
2022-03-29T02:30:04.000Z
2022-03-29T02:30:04.000Z
from dataclasses import field from decimal import Decimal from pydantic.dataclasses import dataclass from typing import List, Optional from xsdata.models.datatype import XmlDate __NAMESPACE__ = "foo" @dataclass(slots=True, kw_only=True) class Items: item: List["Items.Item"] = field( default_factory=list,...
22.694444
45
0.435006
311
4,085
5.655949
0.237942
0.122797
0.170551
0.196134
0.588403
0.545765
0.505969
0.468448
0.333144
0.113701
0
0.002152
0.431334
4,085
179
46
22.821229
0.755058
0
0
0.49697
0
0
0.160098
0
0
0
0
0
0
1
0
false
0
0.030303
0
0.163636
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d59149e0c38aba06b15b0030ffc6cfcb0399361
3,248
py
Python
cwl_tools/hotspots/tag_hotspots.py
mskcc/ACCESS-Pipeline
b0f226a9ac5152f3afe0d38c8cd54aa25b8b01cf
[ "MIT" ]
4
2018-08-23T04:37:43.000Z
2021-07-03T12:49:51.000Z
cwl_tools/hotspots/tag_hotspots.py
andurill/ACCESS-Pipeline
3441040dfaecba58150c13a95a6a93657b00778a
[ "MIT" ]
32
2018-06-08T12:44:55.000Z
2022-01-13T01:29:35.000Z
cwl_tools/hotspots/tag_hotspots.py
andurill/ACCESS-Pipeline
3441040dfaecba58150c13a95a6a93657b00778a
[ "MIT" ]
4
2018-05-25T21:43:48.000Z
2022-01-07T18:51:43.000Z
#!python ''' @Description : This tool helps to tag hotspot events @Created : 05/10/2017 @Updated : 10/06/2017 @author : Ronak H Shah, Cyriac Kandoth ''' from __future__ import division import re import sys import csv import time import logging import argparse logging.basicConfig( format='%(asctime)s - %(n...
32.808081
152
0.650554
432
3,248
4.768519
0.428241
0.037379
0.03301
0.02767
0.133495
0.110194
0.068932
0.068932
0.028155
0
0
0.007103
0.219828
3,248
98
153
33.142857
0.805841
0.16564
0
0.070175
0
0
0.253383
0
0
0
0
0.010204
0
1
0.052632
false
0
0.122807
0
0.192982
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4d5a9010b67fc9b6e2c60f3624744ae12dfe87c9
1,314
py
Python
project/signin_parameters.py
dextermapalya/docker-selenium-python
570232603204735a621c9c98cd6bc80f115c86e8
[ "MIT" ]
null
null
null
project/signin_parameters.py
dextermapalya/docker-selenium-python
570232603204735a621c9c98cd6bc80f115c86e8
[ "MIT" ]
null
null
null
project/signin_parameters.py
dextermapalya/docker-selenium-python
570232603204735a621c9c98cd6bc80f115c86e8
[ "MIT" ]
null
null
null
# all test parameters are declared here delay = 5 #no of seconds to wait before deciding to exit chrome_driver_path = '/home/apalya/browsers/chromedriver2.46' website = 'http://www.sunnxt.com' signin_text = 'Sign In' profile_icon_xpath = '//span[@class="icomoon icon-icn_profile"]' signin_link_xpath = '//ul[@class="sig...
46.928571
93
0.749619
184
1,314
5.119565
0.532609
0.028662
0.044586
0.044586
0
0
0
0
0
0
0
0.026007
0.092846
1,314
28
94
46.928571
0.764262
0.118721
0
0
0
0
0.542931
0.283608
0
0
0
0
0
1
0
false
0.217391
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4d5aec8c17cfbbd39393f16e8d86153d3f6624f4
2,756
py
Python
gpu/actions/request.py
increasinglyy/deeper-server
892b1f66e9b38ce9645a3c81e868c99c623c8b22
[ "Apache-2.0" ]
null
null
null
gpu/actions/request.py
increasinglyy/deeper-server
892b1f66e9b38ce9645a3c81e868c99c623c8b22
[ "Apache-2.0" ]
null
null
null
gpu/actions/request.py
increasinglyy/deeper-server
892b1f66e9b38ce9645a3c81e868c99c623c8b22
[ "Apache-2.0" ]
null
null
null
import sys sys.path.append('..') import config from tools import GpuData, RequestData, GPUs import time def get_lock(uid): ''' Can this user(uid) request gpu? ''' requests = RequestData(config.REQUEST_DATA) gpus = GPUs() live = requests.slice({ 'finish' : False, 'uid':uid}) # @codewang 2018...
22.225806
111
0.618287
425
2,756
3.931765
0.315294
0.058648
0.02693
0.0383
0.157989
0.065829
0.040694
0
0
0
0
0.024402
0.226778
2,756
123
112
22.406504
0.759737
0.236212
0
0.20339
0
0
0.164041
0
0
0
0
0.00813
0
0
null
null
0
0.067797
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d5b7531da7a2f0207e168c1a7d0ecf26b54f27d
643
py
Python
TOH_Solutions/Python/code.py
Dikisukhi/HacktoberFest2020-1
c5d62531904be6512986b48410cbb84e3c069752
[ "MIT" ]
12
2020-10-01T09:10:08.000Z
2020-10-13T21:39:12.000Z
TOH_Solutions/Python/code.py
Dikisukhi/HacktoberFest2020-1
c5d62531904be6512986b48410cbb84e3c069752
[ "MIT" ]
5
2020-10-01T09:25:42.000Z
2020-10-03T08:32:53.000Z
TOH_Solutions/Python/code.py
Dikisukhi/HacktoberFest2020-1
c5d62531904be6512986b48410cbb84e3c069752
[ "MIT" ]
8
2020-10-01T09:10:09.000Z
2020-10-17T05:52:54.000Z
# created by vidit varshney # If you this code help you then please give star and follow to get more # Solution Of Tower Of Hanoi Using Recursive Function... def TowerOfHanoi(n , from_rod, to_rod, aux_rod): if n == 1: print "Move disk 1 from rod",from_rod,"to rod",to_rod ...
21.433333
73
0.608087
104
643
3.634615
0.461538
0.12963
0.148148
0.095238
0.126984
0.126984
0.126984
0.126984
0
0
0
0.008772
0.290824
643
29
74
22.172414
0.820175
0.301711
0
0
0
0
0.174208
0
0
0
0
0
0
0
null
null
0
0
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d62f425f757b4e888e513cf67bf7664c0fa1dba
785
py
Python
setup.py
OpertusMundi/catalogue-service
ecc64e7d1460b04699e523570875e79d7edaa3bf
[ "Apache-2.0" ]
null
null
null
setup.py
OpertusMundi/catalogue-service
ecc64e7d1460b04699e523570875e79d7edaa3bf
[ "Apache-2.0" ]
4
2021-01-29T11:14:54.000Z
2022-01-20T08:43:48.000Z
setup.py
OpertusMundi/catalogue-service
ecc64e7d1460b04699e523570875e79d7edaa3bf
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name='catalogueapi', version='0.0.2', description='A RESTful catalogue API based on Flask-RESTX', author='Nikiforos Leonidakis', python_requires='>=3.8', classifiers=[ 'Development Status :: 5 - Development', 'Intended Audience ...
32.708333
79
0.650955
86
785
5.848837
0.709302
0.059642
0
0
0
0
0
0
0
0
0
0.022364
0.202548
785
23
80
34.130435
0.78115
0
0
0
0
0
0.489172
0.029299
0
0
0
0
0
1
0
true
0
0.045455
0
0.045455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4d6af8cb64484d2003a7bed6cbc764ab9c447441
2,445
py
Python
accounts/migrations/0001_initial.py
kasper190/accounts_example
8548c19d955c2609a7cf78d84986250592bb52bc
[ "MIT" ]
null
null
null
accounts/migrations/0001_initial.py
kasper190/accounts_example
8548c19d955c2609a7cf78d84986250592bb52bc
[ "MIT" ]
null
null
null
accounts/migrations/0001_initial.py
kasper190/accounts_example
8548c19d955c2609a7cf78d84986250592bb52bc
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2018-10-01 12:05 from __future__ import unicode_literals from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration):...
43.660714
262
0.594274
252
2,445
5.615079
0.43254
0.046643
0.050883
0.067845
0.200707
0.155477
0.113074
0
0
0
0
0.025556
0.263804
2,445
55
263
44.454545
0.760556
0.027812
0
0.255319
1
0
0.143218
0
0
0
0
0
0
1
0
false
0.021277
0.12766
0
0.212766
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4d6f2b63d11560e0d2fabeaa0231d655a6472b10
833
py
Python
Platforms/Osu/api.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
2
2017-09-14T08:07:55.000Z
2021-05-18T05:05:05.000Z
Platforms/Osu/api.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
111
2018-04-15T14:32:14.000Z
2021-03-28T21:06:29.000Z
Platforms/Osu/api.py
The-CJ/Phaazebot
83a9563d210718071d4e2cdcca3b212c87abaf51
[ "MIT" ]
1
2018-04-15T13:24:44.000Z
2018-04-15T13:24:44.000Z
from typing import TYPE_CHECKING, Optional if TYPE_CHECKING: from phaazebot import Phaazebot import requests from Utils.Classes.osuuser import OsuUser ROOT_URL:str = "https://osu.ppy.sh/api/" async def getOsuUser(cls:"Phaazebot", search:str, mode:str="0", is_id:bool=False) -> Optional[OsuUser]: """ searches and r...
25.242424
103
0.696279
132
833
4.318182
0.545455
0.042105
0
0
0
0
0
0
0
0
0
0.010043
0.163265
833
33
104
25.242424
0.807747
0
0
0
0
0
0.084922
0
0
0
0
0
0
1
0
true
0
0.210526
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
4d6f70e387888be8a976c79541e49ef46aad4f8d
581
py
Python
core/forms.py
ZumatechLtd/shop4me
7516e7c1c0d017977a1c3d910c6b75978e5322dc
[ "BSD-2-Clause" ]
null
null
null
core/forms.py
ZumatechLtd/shop4me
7516e7c1c0d017977a1c3d910c6b75978e5322dc
[ "BSD-2-Clause" ]
5
2021-03-19T04:12:02.000Z
2021-06-10T19:21:56.000Z
core/forms.py
ZumatechLtd/shop4me
7516e7c1c0d017977a1c3d910c6b75978e5322dc
[ "BSD-2-Clause" ]
null
null
null
from allauth.account.forms import SignupForm from django import forms from core.models import Profile, Account class CustomSignupForm(SignupForm): account_type = forms.ChoiceField(choices=((Profile.REQUESTER, 'Requester'), (Profile.SHOPPER, 'Shopper'))) def save(self, request): user = super(CustomSi...
36.3125
110
0.740103
68
581
6.220588
0.470588
0.085106
0
0
0
0
0
0
0
0
0
0
0.154905
581
15
111
38.733333
0.861507
0
0
0
0
0
0.048193
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4d71515ea384194f1cda90f99accab9547ac487d
473
py
Python
boilerplate/backend/utils/connect.py
tamuto/boilerplate
47950c67e89dc6c7f8b24705c04c6f6061797bb2
[ "MIT" ]
null
null
null
boilerplate/backend/utils/connect.py
tamuto/boilerplate
47950c67e89dc6c7f8b24705c04c6f6061797bb2
[ "MIT" ]
null
null
null
boilerplate/backend/utils/connect.py
tamuto/boilerplate
47950c67e89dc6c7f8b24705c04c6f6061797bb2
[ "MIT" ]
null
null
null
from sqlalchemy import create_engine from sqlalchemy.orm import scoped_session, sessionmaker from sqlalchemy.sql import text from . import config engine = create_engine( config.get_DB_CONN(), echo=False) session = scoped_session( sessionmaker( bind=engine ) ) def execute_sql(sql, params=Non...
19.708333
61
0.716702
66
473
5
0.515152
0.127273
0.151515
0
0
0
0
0
0
0
0
0
0.186047
473
23
62
20.565217
0.857143
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
4d74fa841224911d995f59536493f2e7109e962c
1,125
py
Python
SearchProblem.py
Giuderos/py-sudoku-solver
c4297693dcbedcfb841f063d465dc866c1fdb333
[ "MIT" ]
null
null
null
SearchProblem.py
Giuderos/py-sudoku-solver
c4297693dcbedcfb841f063d465dc866c1fdb333
[ "MIT" ]
null
null
null
SearchProblem.py
Giuderos/py-sudoku-solver
c4297693dcbedcfb841f063d465dc866c1fdb333
[ "MIT" ]
null
null
null
class SearchProblem: def ExhaustiveSearch(self): for s in self.enumerateSI(): if self.isAdmissible(): return s return False def BackTrack(self, Empty=None): currentEmpty=self.computeNextEmpty(Empty) if self.verbose: print "Calling BackTra...
34.090909
74
0.559111
116
1,125
5.422414
0.362069
0.066773
0.103339
0.143084
0.09539
0
0
0
0
0
0
0
0.359111
1,125
32
75
35.15625
0.872399
0
0
0.241379
0
0
0.104889
0
0
0
0
0
0
0
null
null
0
0
null
null
0.241379
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d75b29a4a2ee47ffd64ff1b73b5792c6098bae6
4,815
py
Python
src/oci/database_management/models/database_storage_aggregate_metrics.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
249
2017-09-11T22:06:05.000Z
2022-03-04T17:09:29.000Z
src/oci/database_management/models/database_storage_aggregate_metrics.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
228
2017-09-11T23:07:26.000Z
2022-03-23T10:58:50.000Z
src/oci/database_management/models/database_storage_aggregate_metrics.py
Manny27nyc/oci-python-sdk
de60b04e07a99826254f7255e992f41772902df7
[ "Apache-2.0", "BSD-3-Clause" ]
224
2017-09-27T07:32:43.000Z
2022-03-25T16:55:42.000Z
# coding: utf-8 # Copyright (c) 2016, 2021, Oracle and/or its affiliates. All rights reserved. # This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may c...
38.52
245
0.717757
542
4,815
6.062731
0.225092
0.120511
0.071211
0.0986
0.632988
0.578515
0.440657
0.348752
0.279976
0.225806
0
0.004792
0.219938
4,815
124
246
38.830645
0.870075
0.541641
0
0.068182
0
0
0.11614
0.053435
0
0
0
0
0
1
0.227273
false
0
0.045455
0.045455
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4d77d7e06bdca2d8c2d50fe2bc14ec4cbeac7941
23,234
py
Python
far_ws/src/follow_ahead_rl/scripts/rnn.py
alik604/ra
6058a9adb47db93bb86bcb2c224930c5731d663d
[ "Unlicense" ]
null
null
null
far_ws/src/follow_ahead_rl/scripts/rnn.py
alik604/ra
6058a9adb47db93bb86bcb2c224930c5731d663d
[ "Unlicense" ]
5
2021-03-26T01:30:13.000Z
2021-04-22T22:19:03.000Z
far_ws/src/follow_ahead_rl/scripts/rnn.py
alik604/ra
6058a9adb47db93bb86bcb2c224930c5731d663d
[ "Unlicense" ]
1
2021-05-05T00:57:43.000Z
2021-05-05T00:57:43.000Z
''' TODO get CUDA working... issues with queue get batch_size working... not worth it human not moving while training rnn ''' import argparse from os import mkdir, unlink, listdir, getpid from os.path import join, exists from pickle import decode_long from time import sleep, time import sys import random import cma i...
37.964052
232
0.601274
3,094
23,234
4.385262
0.198772
0.010171
0.007297
0.00796
0.152491
0.118809
0.101268
0.089917
0.060879
0.042895
0
0.010961
0.261815
23,234
611
233
38.026187
0.780129
0.406301
0
0.06734
0
0.006734
0.105993
0.016143
0
0
0
0.011457
0
1
0.057239
false
0.003367
0.063973
0.006734
0.16835
0.104377
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4d78a7e27cb52d77572aa9123c07b692b4188f39
1,690
py
Python
server/app/tests/test_views.py
atom-space/atomspace.od.ua
a429c95534ffb14d446af5e685c46478aee90fe5
[ "MIT" ]
3
2019-02-06T22:04:50.000Z
2019-11-07T18:57:34.000Z
server/app/tests/test_views.py
atom-space/atomspace.od.ua
a429c95534ffb14d446af5e685c46478aee90fe5
[ "MIT" ]
16
2019-07-09T18:05:34.000Z
2022-03-11T23:43:59.000Z
server/app/tests/test_views.py
atom-space/atomspace.od.ua
a429c95534ffb14d446af5e685c46478aee90fe5
[ "MIT" ]
2
2019-04-21T23:10:33.000Z
2019-09-08T12:33:50.000Z
from django.test import TestCase, Client from django.urls import reverse from app.models import Resident, Mentor, Order, News, Merch import json class TestViews(TestCase): def setUp(self): self.client = Client() self.mentors_url = reverse('mentors') self.residents_url = reverse('residents') self.api_orders_u...
30.727273
70
0.756805
263
1,690
4.646388
0.171103
0.10311
0.07365
0.10311
0.53928
0.53928
0.53928
0.37725
0.245499
0.07365
0
0.020298
0.125444
1,690
55
71
30.727273
0.806495
0.039645
0
0.209302
0
0
0.040691
0
0
0
0
0
0.209302
1
0.232558
false
0
0.093023
0
0.348837
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4d7d230af07da45386fae315fbc82a74794ed2e9
13,654
py
Python
CellModeller/Regulation/SBMLImport.py
WilliamPJSmith/CellModeller
ea57077c41e571afce905954af133a5585ef1647
[ "BSD-3-Clause" ]
2
2019-09-02T08:07:59.000Z
2020-01-08T11:43:32.000Z
CellModeller/Regulation/SBMLImport.py
mbottery/CDI_cellmodeller
2248a22e8b616adddf4df8636e70693d739c4e02
[ "BSD-3-Clause" ]
null
null
null
CellModeller/Regulation/SBMLImport.py
mbottery/CDI_cellmodeller
2248a22e8b616adddf4df8636e70693d739c4e02
[ "BSD-3-Clause" ]
1
2021-01-05T01:47:59.000Z
2021-01-05T01:47:59.000Z
from libsbml import * import math import new import urllib2 # indicates whether we should perform SBML document consistency check. # supressed by default because the MSR SBML library does not produce valid SBML. supressConsistencyCheck = True # get the array index of given species ID: def getSpecIndex(specIdToArr...
38.353933
176
0.611103
1,249
13,654
6.666934
0.293034
0.016212
0.015852
0.020416
0.233938
0.208478
0.19791
0.17077
0.17077
0.141948
0
0.00303
0.299033
13,654
355
177
38.461972
0.866994
0.242932
0
0.213198
0
0
0.060788
0
0
0
0
0
0
0
null
null
0.005076
0.020305
null
null
0.030457
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4d876145ba7cdbbea64cdb70d281cbbc66b88ccf
641
py
Python
project euler solutions/Problem_067.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
project euler solutions/Problem_067.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
4
2020-03-10T19:20:21.000Z
2021-06-07T15:39:48.000Z
project euler solutions/Problem_067.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- triangle = map( lambda x: [ int(i) for i in x.split(" ") ], open("067-triangle.txt", "Ur").readlines() ) # OR, but the first is most beautiful that second ;) #triangle = map( lambda x: eval("[" + x.replace(" ",",")[:-1].replace("08","8").replace("09","9") + "]"), open("0...
32.05
150
0.553822
99
641
3.565657
0.444444
0.152975
0.113314
0.093484
0.320113
0.283286
0.11898
0
0
0
0
0.047151
0.205928
641
19
151
33.736842
0.646365
0.379095
0
0
0
0
0.048346
0
0
0
0
0
0
0
null
null
0
0
null
null
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
1
0
0
0
0
0
0
0
0
1
4d897ad7d64ab60948244c8b8b1d129661c7145c
7,619
py
Python
lookup_plugins/keepass_http_password.py
aelkattar/ansible-plugins
2df186740bcf890465f749678f23701c2c77441d
[ "MIT" ]
1
2021-10-06T13:50:37.000Z
2021-10-06T13:50:37.000Z
lookup_plugins/keepass_http_password.py
aelkattar/ansible-plugins
2df186740bcf890465f749678f23701c2c77441d
[ "MIT" ]
1
2022-02-13T13:04:26.000Z
2022-03-30T19:00:52.000Z
lookup_plugins/keepass_http_password.py
aelkattar/ansible-plugins
2df186740bcf890465f749678f23701c2c77441d
[ "MIT" ]
3
2021-07-20T19:13:42.000Z
2021-12-31T16:58:13.000Z
# MIT License # # Copyright (c) 2020 Andre Lehmann # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge...
37.165854
119
0.671348
937
7,619
5.32444
0.305229
0.033073
0.041892
0.025055
0.112247
0.074965
0.048106
0.018841
0.018841
0.018841
0
0.00316
0.252264
7,619
204
120
37.348039
0.872565
0.16367
0
0.158273
0
0.028777
0.384991
0.044458
0
0
0
0
0
1
0.035971
false
0.273381
0.057554
0
0.158273
0.007194
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4d89e844d620283ebc834d69b3e20871fc5c86ac
582
py
Python
test/test_Animate_base.py
mgrubisic/Hysteresis
8a27450e3de7a463c43c98ed1c494dc79cb45356
[ "Apache-2.0" ]
null
null
null
test/test_Animate_base.py
mgrubisic/Hysteresis
8a27450e3de7a463c43c98ed1c494dc79cb45356
[ "Apache-2.0" ]
null
null
null
test/test_Animate_base.py
mgrubisic/Hysteresis
8a27450e3de7a463c43c98ed1c494dc79cb45356
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sat May 1 23:49:09 2021 @author: Christian IT's diffcult to test the GUI functions """ import numpy as np import hysteresis.plotSpecial.animate as ani testBase = ani.AnimationBase() testBase.isPlaying = True testBase.frames = np.arange(20) def test_Toggle(): tes...
16.166667
44
0.701031
82
582
4.792683
0.621951
0.071247
0.122137
0.071247
0.223919
0
0
0
0
0
0
0.040598
0.195876
582
35
45
16.628571
0.799145
0.206186
0
0
0
0
0
0
0
0
0
0
0.214286
1
0.214286
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4d8c46f65a33168051de97b4f76caa618d6266f3
3,643
py
Python
generated-libraries/python/netapp/storage_adapter/expander_phy_state_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
2
2017-03-28T15:31:26.000Z
2018-08-16T22:15:18.000Z
generated-libraries/python/netapp/storage_adapter/expander_phy_state_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
generated-libraries/python/netapp/storage_adapter/expander_phy_state_info.py
radekg/netapp-ontap-lib-get
6445ebb071ec147ea82a486fbe9f094c56c5c40d
[ "MIT" ]
null
null
null
from netapp.netapp_object import NetAppObject class ExpanderPhyStateInfo(NetAppObject): """ Expander PHY state information. """ _expander_phy_wwn = None @property def expander_phy_wwn(self): """ Expander PHY's world-wide name. """ return self._expander_phy_w...
35.715686
115
0.623387
441
3,643
4.85941
0.22449
0.20532
0.089594
0.104993
0.468969
0.304246
0.275782
0.158656
0.158656
0.036398
0
0.00458
0.280813
3,643
101
116
36.069307
0.813359
0.317595
0
0.178571
0
0
0.168937
0.055404
0
0
0
0
0
1
0.196429
false
0
0.017857
0.053571
0.428571
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4da292ee2a2c63a5df2ab0ffccbbd6e66e979149
506
py
Python
document/migrations/0033_kamervraag_receiver.py
openkamer/openkamer
732facf01f2bb4d1649b0c6892466ae9e0982bd6
[ "MIT" ]
33
2016-05-12T13:16:23.000Z
2022-03-11T10:21:26.000Z
document/migrations/0033_kamervraag_receiver.py
openkamer/openkamer
732facf01f2bb4d1649b0c6892466ae9e0982bd6
[ "MIT" ]
69
2016-05-23T15:35:39.000Z
2021-12-13T19:46:21.000Z
document/migrations/0033_kamervraag_receiver.py
openkamer/openkamer
732facf01f2bb4d1649b0c6892466ae9e0982bd6
[ "MIT" ]
5
2016-05-17T19:49:05.000Z
2020-06-09T13:37:25.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10.5 on 2017-03-08 00:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('document', '0032_auto_20170307_2258'), ] operations = [ migrations.AddField...
23
64
0.618577
54
506
5.592593
0.814815
0
0
0
0
0
0
0
0
0
0
0.099462
0.264822
506
21
65
24.095238
0.712366
0.134387
0
0
1
0
0.112644
0.052874
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4da2e91976ba4b1e864a4bf09727783cce62939a
548
py
Python
P2/P2_1_TCP.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
P2/P2_1_TCP.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
P2/P2_1_TCP.py
Newport1990/Black_Hat_Python
33b93314167bdfef7869cf0a00fb2e8b62b3dd67
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- # @Time : 2020/9/29 11:52 # @Author : Newport # @Site : # @File : P2_2_UDP_Server.py # @Software: PyCharm import socket #target_host = "www.baidu.com" #target_port = 80 target_host = "127.0.0.1" target_port = 9999 #建立一个socket对象 client = socket.socket(socket.AF_INET, socke...
16.117647
58
0.691606
87
548
4.229885
0.666667
0.081522
0
0
0
0
0
0
0
0
0
0.067511
0.135037
548
33
59
16.606061
0.708861
0.487226
0
0
0
0
0.082397
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4da4b2db1dc434786ffddd1ca983bb52af0d112c
798
py
Python
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/reverse-a-list.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
13
2021-03-11T00:25:22.000Z
2022-03-19T00:19:23.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/reverse-a-list.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
160
2021-04-26T19:04:15.000Z
2022-03-26T20:18:37.000Z
notes-n-resources/Data-Structures-N-Algo/_DS-n-Algos/Interview-Problems/reverse-a-list.py
side-projects-42/INTERVIEW-PREP-COMPLETE
627a3315cee4bbc38a0e81c256f27f928eac2d63
[ "MIT" ]
12
2021-04-26T19:43:01.000Z
2022-01-31T08:36:29.000Z
#!/bin/python3 import math import os import random import re import sys # # Complete the 'reverseArray' function below. # # The function is expected to return an INTEGER_ARRAY. # The function accepts INTEGER_ARRAY arr as parameter. # def reverseArray(arr): # Write your code here front = 0 rev = len(arr...
17.347826
54
0.612782
109
798
4.33945
0.541284
0.038055
0.046512
0.067653
0
0
0
0
0
0
0
0.008403
0.254386
798
45
55
17.733333
0.786555
0.230576
0
0
0
0
0.039604
0
0
0
0
0.022222
0
1
0.041667
false
0
0.208333
0
0.291667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4da4dd42910b85bc885b63d149171844e90a54fd
352
py
Python
dev/mlsqltestssupport/aliyun/upload_release.py
zhuimengrenweijian/mlsql
2f7dd25cee07d8391680c0316b2f55d4892ec8d5
[ "Apache-2.0" ]
1,123
2016-05-01T06:30:00.000Z
2020-01-07T05:58:19.000Z
dev/mlsqltestssupport/aliyun/upload_release.py
zhuimengrenweijian/mlsql
2f7dd25cee07d8391680c0316b2f55d4892ec8d5
[ "Apache-2.0" ]
405
2016-07-18T02:18:14.000Z
2020-01-13T10:23:44.000Z
dev/mlsqltestssupport/aliyun/upload_release.py
zhuimengrenweijian/mlsql
2f7dd25cee07d8391680c0316b2f55d4892ec8d5
[ "Apache-2.0" ]
448
2016-04-28T15:03:07.000Z
2020-01-02T08:41:38.000Z
# -*- coding: utf-8 -*- import os import mlsqltestssupport.aliyun.config as config if not os.environ['MLSQL_RELEASE_TAR']: raise ValueError('MLSQL_RELEASE_TAR should be configured') fileName = os.environ['MLSQL_RELEASE_TAR'] bucket = config.ossClient() bucket.put_object_from_file(fileName.split("/")[-1], fileN...
22
62
0.752841
47
352
5.446809
0.680851
0.140625
0.175781
0.164063
0.1875
0
0
0
0
0
0
0.00639
0.110795
352
15
63
23.466667
0.811502
0.059659
0
0
0
0
0.270517
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.125
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4da84c9bf27141449232ce14aa458726b70f88aa
11,557
py
Python
curve/curve.sage.py
throwaway-crypto1/research-extend-sig
c150549086af30af87fd81cf9a957f2ab0102186
[ "MIT" ]
null
null
null
curve/curve.sage.py
throwaway-crypto1/research-extend-sig
c150549086af30af87fd81cf9a957f2ab0102186
[ "MIT" ]
null
null
null
curve/curve.sage.py
throwaway-crypto1/research-extend-sig
c150549086af30af87fd81cf9a957f2ab0102186
[ "MIT" ]
1
2021-05-31T23:56:29.000Z
2021-05-31T23:56:29.000Z
# This file was *autogenerated* from the file curve.sage from sage.all_cmdline import * # import sage library _sage_const_2 = Integer(2); _sage_const_252 = Integer(252); _sage_const_27742317777372353535851937790883648493 = Integer(27742317777372353535851937790883648493); _sage_const_1 = Integer(1); _sage_const_3 =...
29.110831
484
0.539673
1,708
11,557
3.394614
0.145199
0.166092
0.074164
0.038634
0.27199
0.198862
0.140738
0.091583
0.057606
0.047948
0
0.052983
0.30103
11,557
396
485
29.184343
0.664769
0.014796
0
0.107256
1
0.015773
0.469937
0.032876
0
0
0
0
0.056782
1
0.047319
false
0
0.006309
0.018927
0.097792
0.003155
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4daa803bb91ed3bc1f95ee1e9cef7afccc020d84
436
py
Python
pytest_test_utils/waiters.py
iterative/pytest-test-utils
2077af9971c2774c444ba5cd894658f726f14791
[ "Apache-2.0" ]
7
2021-11-30T10:28:41.000Z
2022-01-14T09:13:21.000Z
pytest_test_utils/waiters.py
iterative/pytest-test-utils
2077af9971c2774c444ba5cd894658f726f14791
[ "Apache-2.0" ]
null
null
null
pytest_test_utils/waiters.py
iterative/pytest-test-utils
2077af9971c2774c444ba5cd894658f726f14791
[ "Apache-2.0" ]
1
2021-11-30T06:54:47.000Z
2021-11-30T06:54:47.000Z
from time import perf_counter, sleep from typing import Callable, TypeVar _T = TypeVar("_T") class TimedOutError(Exception): pass def wait_until(pred: Callable[[], _T], timeout: float, pause: float = 1) -> _T: start = perf_counter() while (perf_counter() - start) < timeout: value = pred() ...
22.947368
79
0.649083
52
436
5.288462
0.576923
0.12
0
0
0
0
0
0
0
0
0
0.00304
0.245413
436
18
80
24.222222
0.832827
0
0
0
0
0
0.071101
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4dad3fbe301ba9975a6427e54c6b3dbc057c1f42
38,771
py
Python
orbitx/data_structures.py
Arcayik/orbitx
fad5cc5845cf46ea84d4d6eb00c0e8ee5c949142
[ "MIT" ]
1
2021-11-05T21:33:54.000Z
2021-11-05T21:33:54.000Z
orbitx/data_structures.py
GoombaG/orbitx
3ff2eb7f569b5e8eb7918c98c70ebdd2f002cf0d
[ "MIT" ]
null
null
null
orbitx/data_structures.py
GoombaG/orbitx
3ff2eb7f569b5e8eb7918c98c70ebdd2f002cf0d
[ "MIT" ]
null
null
null
"""Classes that represent the state of the entire system and entities within. These classes wrap protobufs, which are basically a fancy NamedTuple that is generated by the `build` Makefile target. You can read more about protobufs online, but mainly they're helpful for serializing data over the network.""" import log...
37.065966
128
0.65678
4,941
38,771
4.901639
0.124671
0.027251
0.024278
0.012717
0.366365
0.30154
0.253437
0.205706
0.169165
0.127503
0
0.003662
0.260452
38,771
1,045
129
37.101435
0.841
0.262464
0
0.203443
1
0
0.024702
0.001654
0
0
0
0.000957
0.018779
1
0.195618
false
0.001565
0.010955
0.092332
0.410016
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4db52a74efe7f5b730bed522a151048d377eda37
2,225
py
Python
Titanic.py
prnvk05/Kaggle-Titanic
c532ecd826f1f5ca9a5533399c84604c7f244505
[ "MIT" ]
null
null
null
Titanic.py
prnvk05/Kaggle-Titanic
c532ecd826f1f5ca9a5533399c84604c7f244505
[ "MIT" ]
null
null
null
Titanic.py
prnvk05/Kaggle-Titanic
c532ecd826f1f5ca9a5533399c84604c7f244505
[ "MIT" ]
null
null
null
# Import libraries import pandas as pd import numpy as np from sklearn.ensemble import RandomForestClassifier # Load the train and test datasets to create two DataFrames train = pd.read_csv('train.csv') test=pd.read_csv('test.csv') #Print the `head` of the train and test dataframes print(train.head()) print(test.hea...
34.765625
106
0.706517
320
2,225
4.828125
0.3375
0.067314
0.046602
0.067314
0.05178
0.05178
0.05178
0.05178
0
0
0
0.011705
0.116854
2,225
63
107
35.31746
0.774555
0.249888
0
0
0
0
0.205314
0
0
0
0
0
0
1
0
false
0.085714
0.085714
0
0.085714
0.171429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4db97129a340f70b9c4bd3fd2968cd0c4f883698
806
py
Python
src/my_project/medium_problems/from1to50/find_users_active_minutes.py
ivan1016017/LeetCodeAlgorithmProblems
f617f30201fb1cd53e32de35084fdeb88ef36023
[ "MIT" ]
null
null
null
src/my_project/medium_problems/from1to50/find_users_active_minutes.py
ivan1016017/LeetCodeAlgorithmProblems
f617f30201fb1cd53e32de35084fdeb88ef36023
[ "MIT" ]
1
2021-09-22T12:26:14.000Z
2021-09-22T12:26:14.000Z
src/my_project/medium_problems/from1to50/find_users_active_minutes.py
ivan1016017/LeetCodeAlgorithmProblems
454284b76634cc34ed41f7fa30d857403cedf1bf
[ "MIT" ]
null
null
null
from typing import List from collections import defaultdict class Solution: def findingUsersActiveMinutes(self, logs: List[List[int]], k: int) -> List[int]: data = defaultdict(set) uam = dict() inverted_uam = {k:0 for k in range(1,k+1)} solution = list() for item in log...
23.028571
88
0.586849
109
806
4.311927
0.33945
0.070213
0.038298
0.178723
0
0
0
0
0
0
0
0.040472
0.264268
806
35
89
23.028571
0.752108
0
0
0
0
0
0
0
0
0
0
0
0
1
0.05
false
0
0.1
0
0.25
0.1
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dc2e20ba098aad4728b0fa61dcf5ce488bd735a
600
py
Python
experiments/testing_env/ppo_baseline.py
michalnand/reinforcement_learning_experiments
105bcfacd30cfbd1bbd9893859fc7d203e0df1e9
[ "MIT" ]
null
null
null
experiments/testing_env/ppo_baseline.py
michalnand/reinforcement_learning_experiments
105bcfacd30cfbd1bbd9893859fc7d203e0df1e9
[ "MIT" ]
null
null
null
experiments/testing_env/ppo_baseline.py
michalnand/reinforcement_learning_experiments
105bcfacd30cfbd1bbd9893859fc7d203e0df1e9
[ "MIT" ]
null
null
null
import numpy import time from tunnel_env import * import RLAgents import models.ppo_baseline.model.src.model as Model import models.ppo_baseline.model.src.config as Config path = "models/ppo_baseline/model/" config = Config.Config() envs = TunnelEnv(config.actors) agent = RLAgents.Agent...
19.354839
79
0.711667
80
600
5.25
0.5125
0.064286
0.121429
0.157143
0.147619
0.147619
0
0
0
0
0
0.022267
0.176667
600
30
80
20
0.827935
0.151667
0
0
0
0
0.051383
0.051383
0
0
0
0
0
1
0
false
0
0.352941
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4dcccbb25037d9638cebf145ebe44dfd50253690
286
py
Python
Contributions/randomPassword.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
215
2021-10-01T08:18:16.000Z
2022-03-29T04:12:03.000Z
Contributions/randomPassword.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
51
2021-10-01T08:16:42.000Z
2021-10-31T13:51:51.000Z
Contributions/randomPassword.py
OluSure/Hacktoberfest2021-1
ad1bafb0db2f0cdeaae8f87abbaa716638c5d2ea
[ "MIT" ]
807
2021-10-01T08:11:45.000Z
2021-11-21T18:57:09.000Z
#!/usr/bin/env python3 #RamSalado | BeeHackers import random # This library it´s necesary k="abcdefghijklmnopqrstuvwxyz123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ#@!][}{?¿%&" # Characters that the password will include len = 12 # Password length p="".join(random.sample(k,len)) print(p)
17.875
76
0.744755
35
286
6.142857
0.857143
0
0
0
0
0
0
0
0
0
0
0.047809
0.122378
286
15
77
19.066667
0.800797
0.451049
0
0
0
0
0.476821
0.476821
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0.2
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dcf7e0fa5449cce6c62ef2c2351f76566872b34
799
py
Python
examples/databaseSetup.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
2
2021-06-22T18:18:47.000Z
2021-09-25T18:16:26.000Z
examples/databaseSetup.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
examples/databaseSetup.py
usgs/water-datapreptools
49c852a0c189e142a351331ba6e0d1ef9e7a408b
[ "CC0-1.0" ]
null
null
null
import sys sys.path.append("..") # change environment to see tools from databaseSetup import databaseSetup output_workspace = r"" # path to file type workspace output_gdb_name = "" # name for global gdb to be created hu_dataset = r"" # path to local folder features hu8_field = "" # field that identifies local f...
53.266667
143
0.772215
112
799
5.330357
0.473214
0.033501
0.046901
0.073702
0
0
0
0
0
0
0
0.008929
0.158949
799
15
143
53.266667
0.879464
0.473091
0
0
0
0
0.005038
0
0
0
0
0
0
0
null
null
0
0.153846
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4dd50592324b73a2f8890eb61f501ded5b3b61e8
768
py
Python
testTransistorSwitch.py
headstrongsolutions/Jarvis_Screen
e5b06a08de7938eab90659b5209d66b43bc1000e
[ "MIT" ]
null
null
null
testTransistorSwitch.py
headstrongsolutions/Jarvis_Screen
e5b06a08de7938eab90659b5209d66b43bc1000e
[ "MIT" ]
null
null
null
testTransistorSwitch.py
headstrongsolutions/Jarvis_Screen
e5b06a08de7938eab90659b5209d66b43bc1000e
[ "MIT" ]
1
2020-10-01T11:46:39.000Z
2020-10-01T11:46:39.000Z
import RPi.GPIO as GPIO class transistor_switch: # describes the type typeDescription = 'Transistor Switch on pin 13 - initally set to on' def __init__(self): self.switch_pin = 13 self.switch_state = True GPIO.setmode(GPIO.BCM) GPIO.setup(self.switch_pin, GPIO.OUT) def...
25.6
72
0.701823
108
768
4.814815
0.361111
0.211538
0.144231
0.126923
0.269231
0.269231
0.269231
0.269231
0.269231
0.184615
0
0.011475
0.205729
768
30
73
25.6
0.840984
0.023438
0
0.32
0
0
0.064085
0
0
0
0
0
0
1
0.08
false
0
0.08
0
0.28
0.12
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dd7a08380601cb714def455cdf2511406b52eab
573
py
Python
HuberyBlog/apps/hot/migrations/0002_auto_20190707_1310.py
SomnambulistOfChina/ChineseSomnambulist
dc6efcb4ea1bc02f8999cd78bebfd648253631a6
[ "Apache-2.0" ]
5
2019-05-21T08:26:18.000Z
2021-07-20T11:32:49.000Z
HuberyBlog/apps/hot/migrations/0002_auto_20190707_1310.py
SomnambulistOfChina/ChineseSomnambulist
dc6efcb4ea1bc02f8999cd78bebfd648253631a6
[ "Apache-2.0" ]
null
null
null
HuberyBlog/apps/hot/migrations/0002_auto_20190707_1310.py
SomnambulistOfChina/ChineseSomnambulist
dc6efcb4ea1bc02f8999cd78bebfd648253631a6
[ "Apache-2.0" ]
2
2019-07-20T08:35:04.000Z
2020-02-29T07:34:42.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2019-07-07 13:10 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('hot', '0001_initial'), ] operations = [ migrations.AlterModelOptions( ...
22.92
73
0.577661
57
573
5.666667
0.736842
0.043344
0
0
0
0
0
0
0
0
0
0.054054
0.289703
573
24
74
23.875
0.739558
0.118674
0
0.117647
1
0
0.085657
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4dd8ea781d02ee182e087a8c1ab08f8020405122
1,836
py
Python
ecb_cut-n-paste.py
jlucangelio/matasano-crypto-challenges
76695eb946055c4b36363e90a667741649b8c0b6
[ "MIT" ]
null
null
null
ecb_cut-n-paste.py
jlucangelio/matasano-crypto-challenges
76695eb946055c4b36363e90a667741649b8c0b6
[ "MIT" ]
null
null
null
ecb_cut-n-paste.py
jlucangelio/matasano-crypto-challenges
76695eb946055c4b36363e90a667741649b8c0b6
[ "MIT" ]
null
null
null
import utils from collections import OrderedDict KEY = utils.ByteArray.random(16) def parse(s): res = OrderedDict() fields = s.split("&") for field in fields: k, v = field.split("=") res[k] = v return res def unparse(d): res = [] for k in d: v = d[k] if typ...
26.228571
91
0.613834
259
1,836
4.223938
0.301158
0.032907
0.032907
0.032907
0.027422
0
0
0
0
0
0
0.020209
0.21841
1,836
69
92
26.608696
0.74216
0.04902
0
0
0
0
0.102123
0.049914
0
0
0
0
0
0
null
null
0
0.041667
null
null
0.145833
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4ddb7192818f6b048908912a65a204563d868a48
786
py
Python
src/avaportal/migrations/0004_auto_20211025_2231.py
suap-ead/avaportal
a8f73220ac1df0483e8322e55c5222b3b5cd8b92
[ "MIT" ]
null
null
null
src/avaportal/migrations/0004_auto_20211025_2231.py
suap-ead/avaportal
a8f73220ac1df0483e8322e55c5222b3b5cd8b92
[ "MIT" ]
null
null
null
src/avaportal/migrations/0004_auto_20211025_2231.py
suap-ead/avaportal
a8f73220ac1df0483e8322e55c5222b3b5cd8b92
[ "MIT" ]
2
2020-12-17T18:29:54.000Z
2021-02-22T21:46:24.000Z
# Generated by Django 3.1.2 on 2021-10-25 22:31 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('avaportal', '0003_solicitacao_status_code'), ] operations = [ migrations.AlterModelOptions( name='campus', options={...
28.071429
106
0.590331
74
786
6.135135
0.662162
0.088106
0.066079
0.0837
0
0
0
0
0
0
0
0.033628
0.28117
786
27
107
29.111111
0.769912
0.057252
0
0.238095
1
0
0.217862
0.037889
0
0
0
0
0
1
0
false
0
0.047619
0
0.190476
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4de075264b0d52ba35602c3fdd8bf8e9c40b7e7a
1,172
py
Python
my-python-lab/applistfunction.py
baizoukou/my-python-lab
510fa2c23a272cb5b9e9a2dca2967797b2a1195b
[ "MIT" ]
null
null
null
my-python-lab/applistfunction.py
baizoukou/my-python-lab
510fa2c23a272cb5b9e9a2dca2967797b2a1195b
[ "MIT" ]
null
null
null
my-python-lab/applistfunction.py
baizoukou/my-python-lab
510fa2c23a272cb5b9e9a2dca2967797b2a1195b
[ "MIT" ]
null
null
null
lucky_numbers = [2, 4, 8, 1, 7, 15, 27, 25, 10] friends = ["yacubu", "rolan", "anatol", "patrick", "jony", "bel"] friends.extend(lucky_numbers)## take friend and value of lucky num in it print(friends) friends.append("toby") friends.insert(1, "rolax")## add value at index value and all other value get push back p...
35.515152
88
0.681741
174
1,172
4.557471
0.465517
0.121059
0.08575
0.121059
0.21942
0.21942
0.180328
0.180328
0.123581
0
0
0.018182
0.15529
1,172
33
89
35.515152
0.782828
0.27901
0
0.444444
0
0
0.195707
0
0
0
0
0
0
1
0
false
0
0
0
0
0.444444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
4de182c3b3b7cd3925f87a0594ab326de39b1388
360
py
Python
tests/codegen/fcode/scripts/tuples.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
206
2018-06-28T00:28:47.000Z
2022-03-29T05:17:03.000Z
tests/codegen/fcode/scripts/tuples.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
670
2018-07-23T11:02:24.000Z
2022-03-30T07:28:05.000Z
tests/codegen/fcode/scripts/tuples.py
dina-fouad/pyccel
f4d919e673b400442b9c7b81212b6fbef749c7b7
[ "MIT" ]
19
2019-09-19T06:01:00.000Z
2022-03-29T05:17:06.000Z
# pylint: disable=missing-function-docstring, missing-module-docstring/ ai = (1,4,5) ai[0] = 2 bi = ai[0] ci = 2 * ai[0] di = 2 * ai[0] + 3 * ai[1] ei = 2 * ai[0] + bi * ai[1] fi = ai gi = (0,)*2 gi[:] = ai[1:] ad = (1.,4.,5.) ad[0] = 2. bd = ad[0] cd = 2. * ad[0] dd = 2. * ad[0] + 3. * ad[1] ed = 2. * ad[0] + bd * ad...
17.142857
71
0.463889
80
360
2.0875
0.325
0.08982
0.071856
0
0
0
0
0
0
0
0
0.131868
0.241667
360
20
72
18
0.479853
0.191667
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4de88161398023a20310ace801db1ed9b01e1b96
3,912
py
Python
keras/transfer-v3/model/pipeline_invoke_tflite.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
44
2017-11-17T06:19:05.000Z
2021-11-03T06:00:56.000Z
keras/transfer-v3/model/pipeline_invoke_tflite.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
3
2018-08-09T14:28:17.000Z
2018-09-10T03:32:42.000Z
keras/transfer-v3/model/pipeline_invoke_tflite.py
PipelineAI/models
d8df07877aa8b10ce9b84983bb440af75e84dca7
[ "Apache-2.0" ]
21
2017-11-18T15:12:12.000Z
2020-08-15T07:08:33.000Z
import os import numpy as np import json import logging from pipeline_monitor import prometheus_monitor as monitor from pipeline_logger import log import tensorflow as tf from tensorflow.contrib import predictor _logger = logging.getLogger('pipeline-logger') _logger.setLevel(logging.INFO) _logger_stream_handler = lo...
32.87395
128
0.687628
470
3,912
5.489362
0.329787
0.032558
0.027907
0.034109
0.19186
0.152713
0.124806
0.124806
0.091473
0.091473
0
0.00894
0.199387
3,912
119
129
32.87395
0.814815
0.425614
0
0
0
0
0.117756
0.03338
0
0
0
0.016807
0
1
0.083333
false
0
0.208333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4df00aaffef586092392227851630eacdb99d13b
9,852
py
Python
imbi/clients/sonarqube.py
nvllsvm/imbi-api
1a5bd8894ac14c1026f33297994aa10782b0eea0
[ "BSD-3-Clause" ]
1
2021-06-23T18:34:47.000Z
2021-06-23T18:34:47.000Z
imbi/clients/sonarqube.py
nvllsvm/imbi-api
1a5bd8894ac14c1026f33297994aa10782b0eea0
[ "BSD-3-Clause" ]
null
null
null
imbi/clients/sonarqube.py
nvllsvm/imbi-api
1a5bd8894ac14c1026f33297994aa10782b0eea0
[ "BSD-3-Clause" ]
2
2022-02-11T22:06:18.000Z
2022-02-21T19:35:06.000Z
import asyncio import logging import typing import urllib.parse import sprockets.mixins.http import tornado.web import yarl from imbi import errors, models, version def generate_key(project: models.Project) -> str: """Generate a SonarQube project key for `project`.""" return ':'.join([project.namespace.slug...
41.923404
79
0.568819
1,112
9,852
4.883094
0.211331
0.047882
0.029834
0.025783
0.157827
0.122468
0.085083
0.057643
0.041989
0
0
0.000908
0.329273
9,852
234
80
42.102564
0.820823
0.028015
0
0.215909
1
0
0.155527
0.022201
0
0
0
0
0
1
0.017045
false
0.005682
0.045455
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4df1274542bda6c7a364760ca3cf0110cdbc0f9f
1,155
py
Python
ls/joyous/migrations/0012_auto_20181231_1827.py
gardentronic/ls.joyous
db2308ce59cd072b83a465b02b9f29c00269fdbb
[ "BSD-3-Clause" ]
72
2018-03-16T16:35:08.000Z
2022-03-23T08:09:33.000Z
ls/joyous/migrations/0012_auto_20181231_1827.py
gardentronic/ls.joyous
db2308ce59cd072b83a465b02b9f29c00269fdbb
[ "BSD-3-Clause" ]
41
2018-03-25T20:36:52.000Z
2022-03-10T08:59:27.000Z
ls/joyous/migrations/0012_auto_20181231_1827.py
gardentronic/ls.joyous
db2308ce59cd072b83a465b02b9f29c00269fdbb
[ "BSD-3-Clause" ]
28
2018-08-13T22:36:09.000Z
2022-03-17T12:24:15.000Z
# Generated by Django 2.1.4 on 2018-12-31 05:27 import django.core.validators from django.db import migrations, models import django.db.models.deletion import ls.joyous.utils.mixins class Migration(migrations.Migration): dependencies = [ ('joyous', '0011_auto_20180921_0700'), ] operations = [ ...
36.09375
214
0.658009
117
1,155
6.393162
0.598291
0.040107
0.080214
0.058824
0
0
0
0
0
0
0
0.039238
0.227706
1,155
31
215
37.258065
0.799327
0.038961
0
0.08
1
0
0.187726
0.109206
0
0
0
0
0
1
0
false
0
0.16
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4df3bd6ac92ce6f5531252987c9efa62d1d20269
779
py
Python
checkov/common/bridgecrew/integration_features/integration_feature_registry.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
4,013
2019-12-09T13:16:54.000Z
2022-03-31T14:31:01.000Z
checkov/common/bridgecrew/integration_features/integration_feature_registry.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
1,258
2019-12-17T09:55:51.000Z
2022-03-31T19:17:17.000Z
checkov/common/bridgecrew/integration_features/integration_feature_registry.py
jamesholland-uk/checkov
d73fd4bd7096d48ab3434a92a177bcc55605460a
[ "Apache-2.0" ]
638
2019-12-19T08:57:38.000Z
2022-03-30T21:38:37.000Z
class IntegrationFeatureRegistry: def __init__(self): self.features = [] def register(self, integration_feature): self.features.append(integration_feature) self.features.sort(key=lambda f: f.order) def run_pre_scan(self): for integration in self.features: if ...
26.862069
59
0.654685
84
779
5.809524
0.321429
0.147541
0.098361
0.122951
0.391393
0.391393
0.391393
0.391393
0.391393
0.391393
0
0
0.264442
779
28
60
27.821429
0.851658
0
0
0.315789
0
0
0
0
0
0
0
0
0
1
0.263158
false
0
0
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4df959df115b01167925b784cee75cd061a71c67
5,928
py
Python
dice/grammar.py
kuhlo/python-dice
51ad5ee8a418e63513dfd8184efec6340c2aeb93
[ "MIT" ]
1
2019-03-01T20:44:54.000Z
2019-03-01T20:44:54.000Z
dice/grammar.py
kuhlo/python-dice
51ad5ee8a418e63513dfd8184efec6340c2aeb93
[ "MIT" ]
null
null
null
dice/grammar.py
kuhlo/python-dice
51ad5ee8a418e63513dfd8184efec6340c2aeb93
[ "MIT" ]
null
null
null
""" Dice notation grammar PyParsing is patched to make it easier to work with, by removing features that get in the way of development and debugging. See the dice.utilities module for more information. """ from __future__ import absolute_import, print_function, unicode_literals from pyparsing import (CaselessLiteral...
42.342857
77
0.657895
724
5,928
5.298343
0.258287
0.088634
0.113399
0.068822
0.312044
0.270855
0.245308
0
0
0
0
0.009985
0.222841
5,928
139
78
42.647482
0.822661
0.168354
0
0.048193
0
0
0.028718
0
0
0
0
0
0
1
0.024096
false
0.433735
0.048193
0.012048
0.096386
0.012048
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
15060ca934b790d561c4f4e6369110955b54fa69
1,216
py
Python
renewer/smtp.py
cloud-gov/legacy-domain-certificate-renewer
6b008fdc8e1277cfe4449626e6c488d11fc4857c
[ "CC0-1.0" ]
1
2021-11-16T17:25:21.000Z
2021-11-16T17:25:21.000Z
renewer/smtp.py
cloud-gov/legacy-domain-certificate-renewer
6b008fdc8e1277cfe4449626e6c488d11fc4857c
[ "CC0-1.0" ]
1
2021-12-22T19:04:34.000Z
2021-12-22T19:04:34.000Z
renewer/smtp.py
cloud-gov/legacy-domain-certificate-renewer
6b008fdc8e1277cfe4449626e6c488d11fc4857c
[ "CC0-1.0" ]
null
null
null
from email.mime.text import MIMEText import smtplib import ssl from renewer.extensions import config def send_email(email, subject, body): msg = MIMEText(body, "html") msg["Subject"] = subject msg["To"] = email msg["From"] = config.SMTP_FROM s = smtplib.SMTP(config.SMTP_HOST, config.SMTP_PORT) ...
29.658537
83
0.703125
171
1,216
4.859649
0.415205
0.144404
0.043321
0.045728
0
0
0
0
0
0
0
0.002016
0.184211
1,216
40
84
30.4
0.835685
0.060033
0
0
0
0
0.24386
0.078947
0
0
0
0
0
1
0.071429
false
0.071429
0.142857
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
150fa5ae3555686bc6257431105c4fe6ae024a36
4,529
py
Python
common/migrations/0001_initial.py
AdamCottrill/fwsb_common
f888747e26fd2cd9c581ec86c16c3722e503a4dd
[ "MIT" ]
null
null
null
common/migrations/0001_initial.py
AdamCottrill/fwsb_common
f888747e26fd2cd9c581ec86c16c3722e503a4dd
[ "MIT" ]
null
null
null
common/migrations/0001_initial.py
AdamCottrill/fwsb_common
f888747e26fd2cd9c581ec86c16c3722e503a4dd
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-03 13:41 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Grid5', fields=[ ...
52.057471
492
0.573857
457
4,529
5.533917
0.277899
0.071174
0.072756
0.085409
0.439699
0.412811
0.399763
0.399763
0.399763
0.38276
0
0.013918
0.270258
4,529
86
493
52.662791
0.751286
0.009936
0
0.417722
1
0
0.185185
0
0
0
0
0
0
1
0
false
0
0.025316
0
0.075949
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
151746f1055d04b6b3fb74680121e44c6eed9b8d
674
py
Python
src/sponsorApp/migrations/0021_auto_20200422_2055.py
patelgaurank/SocialSponsorProject
4a5485cc1e4576d67b8a627221c09f9448b64171
[ "MIT" ]
null
null
null
src/sponsorApp/migrations/0021_auto_20200422_2055.py
patelgaurank/SocialSponsorProject
4a5485cc1e4576d67b8a627221c09f9448b64171
[ "MIT" ]
null
null
null
src/sponsorApp/migrations/0021_auto_20200422_2055.py
patelgaurank/SocialSponsorProject
4a5485cc1e4576d67b8a627221c09f9448b64171
[ "MIT" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-23 00:55 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('sponsorApp', '0020_auto_20200421_2139'), ] operations = [ migrations.AlterField( model_name='loggeduser', ...
26.96
99
0.620178
70
674
5.871429
0.671429
0.097324
0.121655
0.141119
0
0
0
0
0
0
0
0.10101
0.265579
674
24
100
28.083333
0.729293
0.066766
0
0.222222
1
0
0.15311
0.036683
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1518ce5e05dcd7a357d471ed0b7169444b793da7
3,288
py
Python
src/arch/x86/isa/insts/general_purpose/data_transfer/xchg.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
135
2016-10-21T03:31:49.000Z
2022-03-25T01:22:20.000Z
src/arch/x86/isa/insts/general_purpose/data_transfer/xchg.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
35
2017-03-10T17:57:46.000Z
2022-02-18T17:34:16.000Z
src/arch/x86/isa/insts/general_purpose/data_transfer/xchg.py
qianlong4526888/haha
01baf923693873c11ae072ce4dde3d8f1d7b6239
[ "BSD-3-Clause" ]
48
2016-12-08T12:03:13.000Z
2022-02-16T09:16:13.000Z
# Copyright (c) 2007 The Hewlett-Packard Development Company # All rights reserved. # # The license below extends only to copyright in the software and shall # not be construed as granting a license to any other intellectual # property including but not limited to intellectual property relating # to a hardware implemen...
30.444444
72
0.734793
503
3,288
4.771372
0.387674
0.02
0.040833
0.04
0.281667
0.251667
0.251667
0.251667
0.251667
0.251667
0
0.007344
0.2132
3,288
107
73
30.728972
0.920371
0.622871
0
0.677419
0
0
0.95345
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
151ad7b9a714d65cce830e8ec49ff2078d5863cc
1,067
py
Python
apps/app.py
zhoujun/sometitle
65438cd4cbc528251aefa0a020d93516ccb8ee21
[ "BSD-2-Clause" ]
null
null
null
apps/app.py
zhoujun/sometitle
65438cd4cbc528251aefa0a020d93516ccb8ee21
[ "BSD-2-Clause" ]
null
null
null
apps/app.py
zhoujun/sometitle
65438cd4cbc528251aefa0a020d93516ccb8ee21
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ app.py ~~~~~~~~~~~~~~~~~~~ :author: Finger :license: BSD, see LICENSE for more details. """ from redis import StrictRedis from flask_mail import Mail from flask_oauthlib.client import OAuth from flask_session import Session from flask_wtf import CSRFProtect from flask_l...
20.921569
60
0.703843
139
1,067
5.251799
0.395683
0.061644
0.065753
0.046575
0
0
0
0
0
0
0
0.001131
0.171509
1,067
50
61
21.34
0.824661
0.10403
0
0
0
0
0.096634
0
0
0
0
0
0
1
0
false
0.037037
0.407407
0
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
151bbc1a4686637c5db69defa0ca6c8d54f4f200
1,086
py
Python
RatingsItem/migrations/0001_initial.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
1
2021-08-12T08:46:56.000Z
2021-08-12T08:46:56.000Z
RatingsItem/migrations/0001_initial.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
RatingsItem/migrations/0001_initial.py
PopaGabriel/Food-Ecommerce-Site
7f7cde94939f02f13df5afa865cddc72981481e2
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-10-03 15:55 from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('Food', '0007_auto_20211003_1829'), ...
37.448276
160
0.674033
122
1,086
5.868852
0.532787
0.044693
0.083799
0.092179
0.178771
0.178771
0.178771
0.178771
0.178771
0.178771
0
0.039125
0.199816
1,086
28
161
38.785714
0.78481
0.041436
0
0
1
0
0.083734
0.022137
0
0
0
0
0
1
0
false
0
0.190476
0
0.380952
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
151be134a18c97235bb97cd55872b12e008136bf
2,728
py
Python
api/goods/migrations/0011_auto_20200619_1449.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/goods/migrations/0011_auto_20200619_1449.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
api/goods/migrations/0011_auto_20200619_1449.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-06-19 14:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("goods", "0010_auto_20200420_1430"), ] operations = [ migrations.AddField( model_name="good", name="component_detail...
35.894737
116
0.506965
241
2,728
5.572614
0.369295
0.09382
0.119881
0.14073
0.43857
0.43857
0.412509
0.351452
0.319434
0.316456
0
0.033529
0.376833
2,728
75
117
36.373333
0.756471
0.016862
0
0.608696
1
0
0.267164
0.039179
0
0
0
0
0
1
0
false
0
0.014493
0
0.057971
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
151de8e9de2a4e979fedab751b183775291fc6f8
304
py
Python
example_maas/maas_models/loglizer/dependencies/loglizer/setup.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
2
2020-06-19T13:02:19.000Z
2021-02-11T19:35:46.000Z
example_maas/maas_models/loglizer/dependencies/loglizer/setup.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
9
2020-04-09T15:40:37.000Z
2022-01-19T17:49:22.000Z
example_maas/maas_models/loglizer/dependencies/loglizer/setup.py
JasperJuergensen/elastalert
8033361083b5edad1845ad9b307b8280ef278da7
[ "Apache-2.0" ]
null
null
null
from setuptools import setup, find_packages setup( name='loglizer', version='1.0.0', url='https://github.com/logpai/loglizer', author='Ashok Rayal', description='Simple Log Management Toolkit', packages=find_packages(), install_requires=['sklearn','pandas','torch'], )
21.714286
50
0.671053
35
304
5.742857
0.828571
0.119403
0
0
0
0
0
0
0
0
0
0.011952
0.174342
304
13
51
23.384615
0.788845
0
0
0
0
0
0.345395
0
0
0
0
0
0
1
0
true
0
0.1
0
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
0
0
0
0
0
1
1274f96e9d93048d6e0bb1202e03cbb3e0e5166e
1,784
py
Python
tests/mock/devices/glass.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
48
2017-08-10T21:32:50.000Z
2021-08-15T05:09:58.000Z
tests/mock/devices/glass.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
81
2017-08-10T21:39:40.000Z
2022-01-16T18:43:08.000Z
tests/mock/devices/glass.py
MisterWil/python-abode
4ffce2314ed7e2c5d48a2c2758fddaef440b05ad
[ "MIT" ]
28
2017-08-17T21:20:12.000Z
2022-01-16T12:22:07.000Z
"""Mock Abode Glass Device.""" import abodepy.helpers.constants as CONST DEVICE_ID = 'RF:00000001' def device(devid=DEVICE_ID, status=CONST.STATUS_ONLINE, low_battery=False, no_response=False, out_of_order=False, tampered=False, uuid='91568b0d4c9d58c10d75fdeea887d4f4'): """Glass ...
29.733333
63
0.450112
174
1,784
4.327586
0.431034
0.047809
0.053121
0
0
0
0
0
0
0
0
0.05286
0.353139
1,784
59
64
30.237288
0.599653
0.03139
0
0.037037
0
0
0.744904
0.071054
0
0
0
0
0
1
0.018519
false
0.018519
0.018519
0
0.055556
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
0
0
0
0
0
0
0
0
1
127fc8a6e8d7486bc9b7e0162a81399ca4447162
16,431
py
Python
mltk/models/tinyml/keyword_spotting.py
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
mltk/models/tinyml/keyword_spotting.py
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
1
2021-11-19T20:10:09.000Z
2021-11-19T20:10:09.000Z
mltk/models/tinyml/keyword_spotting.py
sldriedler/mltk
d82a60359cf875f542a2257f1bc7d8eb4bdaa204
[ "Zlib" ]
null
null
null
"""keyword_spotting ********************** Keyword spotting for 10 words - Source code: `keyword_spotting.py <https://github.com/siliconlabs/mltk/blob/master/mltk/models/tinyml/keyword_spotting.py>`_ - Pre-trained model: `keyword_spotting.mltk.zip <https://github.com/siliconlabs/mltk/blob/master/mltk/models/tinyml/ke...
51.669811
184
0.425902
1,386
16,431
4.94733
0.303752
0.045938
0.044626
0.046668
0.350153
0.331486
0.287881
0.287881
0.287881
0.273006
0
0.110107
0.414095
16,431
318
185
51.669811
0.602161
0.847849
0
0.136986
0
0
0.141077
0.046284
0
0
0
0
0
1
0.041096
false
0.013699
0.054795
0
0.150685
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
0
0
0
0
0
1
127ffda218b1da1018dfb9bb7bc3108f30ca1089
4,202
py
Python
yamtbx/dataproc/xds/command_line/get_cc_with_multiple_targets.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
16
2016-05-20T11:19:40.000Z
2021-01-01T19:44:23.000Z
yamtbx/dataproc/xds/command_line/get_cc_with_multiple_targets.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
4
2017-03-10T00:51:11.000Z
2021-02-07T17:18:46.000Z
yamtbx/dataproc/xds/command_line/get_cc_with_multiple_targets.py
7l2icj/kamo_clone
5f4a5eed3cd9d91a021d805e46125c19cc2ed1b6
[ "BSD-3-Clause" ]
9
2016-12-15T16:00:06.000Z
2021-09-10T08:34:14.000Z
import iotbx.phil import iotbx.file_reader import iotbx.reflection_file_utils from cctbx.array_family import flex from mmtbx.scaling.absolute_scaling import kernel_normalisation from yamtbx import util from yamtbx.util.xtal import CellConstraints from yamtbx.dataproc.xds import xds_ascii import collections master_pa...
37.517857
132
0.638743
554
4,202
4.592058
0.330325
0.031447
0.036164
0.045597
0.115566
0.095126
0.034591
0
0
0
0
0.003136
0.241076
4,202
111
133
37.855856
0.794606
0.025226
0
0.125
0
0
0.10978
0.005134
0
0
0
0
0.022727
0
null
null
0
0.113636
null
null
0.011364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
128d74d5101724963b7afcea3ee9cdb79737acb4
456
py
Python
tests/test_singleton.py
jyrgenn/jpylib
a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6
[ "BSD-3-Clause" ]
null
null
null
tests/test_singleton.py
jyrgenn/jpylib
a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6
[ "BSD-3-Clause" ]
null
null
null
tests/test_singleton.py
jyrgenn/jpylib
a4711d11c012ad72f60d7591e7ac2c9e53d3ddd6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 import jpylib as y import unittest class Token(metaclass=y.Singleton): def __init__(self, name): self.name = name class TemplateTestcase(unittest.TestCase): def test_equal(self): t1 = Token("foo") t2 = Token("bar") self.assertIs(t1, t2) self.a...
19.826087
43
0.589912
59
456
4.474576
0.491525
0.068182
0
0
0
0
0
0
0
0
0
0.032641
0.260965
456
22
44
20.727273
0.750742
0.212719
0
0
0
0
0.016949
0
0
0
0
0
0.181818
1
0.181818
false
0
0.181818
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
1290153be145dc80773d792ed802a6d6e3ef4296
10,306
py
Python
Source/chrome/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_backend.py
yury-s/v8-inspector
0ab4779e0909d387f243f41ca2621237cdb0c7fe
[ "BSD-3-Clause" ]
20
2015-08-26T06:46:00.000Z
2019-02-27T09:05:58.000Z
Source/chrome/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_backend.py
yury-s/v8-inspector
0ab4779e0909d387f243f41ca2621237cdb0c7fe
[ "BSD-3-Clause" ]
null
null
null
Source/chrome/tools/telemetry/telemetry/core/backends/chrome_inspector/inspector_backend.py
yury-s/v8-inspector
0ab4779e0909d387f243f41ca2621237cdb0c7fe
[ "BSD-3-Clause" ]
2
2015-08-26T05:49:35.000Z
2020-02-03T20:22:43.000Z
# Copyright 2013 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import functools import logging import os import socket import sys from telemetry.core.backends.chrome_inspector import devtools_http from telemetry.core.ba...
33.790164
79
0.749369
1,110
10,306
6.794595
0.289189
0.020684
0.020286
0.026518
0.177539
0.162689
0.140679
0.111509
0.067754
0.05065
0
0.002705
0.175044
10,306
304
80
33.901316
0.88438
0.07549
0
0.176471
0
0
0.101943
0.009852
0
0
0
0
0.005882
0
null
null
0
0.1
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12974bcbd786800702ffe0de6950e3d3f50f0207
980
py
Python
isee/__init__.py
i2mint/isee
cb38a734420af1ab4489b9938cea48f443e66b13
[ "MIT" ]
null
null
null
isee/__init__.py
i2mint/isee
cb38a734420af1ab4489b9938cea48f443e66b13
[ "MIT" ]
15
2021-02-01T20:13:28.000Z
2021-12-15T20:38:18.000Z
isee/__init__.py
i2mint/isee
cb38a734420af1ab4489b9938cea48f443e66b13
[ "MIT" ]
null
null
null
from isee.file_modification_utils import ( update_helm_tpl, update_manifest, update_setup_cfg, update_setup_py, ) from isee.generation_utils import ( gen_semver, generate_documentation, generate_project_wheels, ) from isee.git_utils import check_in, tag_repo, clone_repository from isee.pip_u...
21.304348
63
0.662245
111
980
5.423423
0.459459
0.053156
0.043189
0.063123
0.445183
0.445183
0.348837
0.179402
0.179402
0.179402
0
0
0.254082
980
45
64
21.777778
0.823529
0.016327
0
0.368421
1
0
0.126819
0
0
0
0
0
0
1
0.026316
false
0
0.131579
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12a42201b9e74cb6c9baa56d38f42d69bf4d3a66
6,767
py
Python
gc_base.py
vtheno/Register-Machine
d98640c9ec4ba399dd63ad5a3a70e73aabed9128
[ "MIT" ]
1
2017-12-19T15:51:53.000Z
2017-12-19T15:51:53.000Z
gc_base.py
vtheno/Register-Machine
d98640c9ec4ba399dd63ad5a3a70e73aabed9128
[ "MIT" ]
null
null
null
gc_base.py
vtheno/Register-Machine
d98640c9ec4ba399dd63ad5a3a70e73aabed9128
[ "MIT" ]
null
null
null
#coding=utf-8 class Error(Exception):pass class Vector(object): def __init__(self,size,symbol): self.value = [symbol] * size def ref(self,index): return self.value[index] def set(self,index,value): self.value[index] = value def __repr__(self): return repr(self.value) cla...
31.769953
87
0.570859
942
6,767
3.940552
0.145435
0.050916
0.029634
0.018319
0.257543
0.12931
0.042026
0.014009
0
0
0
0.008455
0.300872
6,767
212
88
31.919811
0.776157
0.05113
0
0.116402
0
0
0.035748
0
0
0
0
0
0
0
null
null
0.005291
0
null
null
0.079365
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12a69260f9fb8a4ccc042f1e652b93c004e955d9
550
py
Python
experimental/gcp/test.py
gsnaider/two-face-inpainting
5224b0c6e1561945a1f38eebfe8a6e927c213257
[ "MIT" ]
2
2019-03-12T13:33:58.000Z
2020-09-17T23:02:19.000Z
experimental/gcp/test.py
gsnaider/two-face-inpainting
5224b0c6e1561945a1f38eebfe8a6e927c213257
[ "MIT" ]
null
null
null
experimental/gcp/test.py
gsnaider/two-face-inpainting
5224b0c6e1561945a1f38eebfe8a6e927c213257
[ "MIT" ]
null
null
null
from google.cloud import storage client = storage.Client() bucket = client.get_bucket('first-ml-project-222122-mlengine') # for blob in bucket.list_blobs(delimiter="/"): # for blob in bucket.list_blobs(prefix='sample-data/train/real', delimiter='/'): # print(blob.name) iterator = bucket.list_blobs(prefix='sample-da...
30.555556
80
0.705455
76
550
5.039474
0.421053
0.104439
0.156658
0.164491
0.342037
0.342037
0.255875
0.255875
0.255875
0
0
0.017058
0.147273
550
17
81
32.352941
0.799574
0.256364
0
0
0
0
0.158025
0.135802
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0.272727
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12a85c58c1fcdd086916aea1ea262367ad5155a0
11,486
py
Python
src/radixtree/URLTree.py
rflynn/radixtree
398b71157e83e994c59fa88bcabfd8ebcac52017
[ "MIT" ]
1
2016-03-05T16:17:24.000Z
2016-03-05T16:17:24.000Z
src/radixtree/__init__.py
rflynn/radixtree
398b71157e83e994c59fa88bcabfd8ebcac52017
[ "MIT" ]
null
null
null
src/radixtree/__init__.py
rflynn/radixtree
398b71157e83e994c59fa88bcabfd8ebcac52017
[ "MIT" ]
null
null
null
# ex: set ts=4 et: # Copyright 2012 Ryan Flynn <parseerror+radixtree@gmail.com> # Radix Tree in pure python import copy import unittest class RadixTree(): def __init__(self): # implement Copy-on-Write (COW) by pointing all # End-of-String nodes to the same place self.EOS = {'':None} # FI...
31.817175
92
0.553892
1,337
11,486
4.653702
0.217651
0.065092
0.077788
0.109611
0.47316
0.407104
0.339601
0.265349
0.218579
0.173738
0
0.04228
0.314296
11,486
360
93
31.905556
0.747715
0.145394
0
0.406716
0
0.007463
0.132019
0.028646
0
0
0
0.002778
0.16791
1
0.13806
false
0.070896
0.011194
0.014925
0.242537
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
12aaa0342c49a5a468eba4f1d3721d05ba98d1da
754
py
Python
code/building_a_tower/sol_324.py
bhavinjawade/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
2
2020-07-16T08:16:32.000Z
2020-10-01T07:16:48.000Z
code/building_a_tower/sol_324.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
null
null
null
code/building_a_tower/sol_324.py
Psingh12354/project-euler-solutions
56bf6a282730ed4b9b875fa081cf4509d9939d98
[ "Apache-2.0" ]
1
2021-05-07T18:06:08.000Z
2021-05-07T18:06:08.000Z
# -*- coding: utf-8 -*- ''' File name: code\building_a_tower\sol_324.py Author: Vaidic Joshi Date created: Oct 20, 2018 Python Version: 3.x ''' # Solution to Project Euler Problem #324 :: Building a tower # # For more information see: # https://projecteuler.net/problem=324 # Problem Statement ''' L...
26.928571
224
0.685676
128
754
4.046875
0.671875
0.023166
0.054054
0
0
0
0
0
0
0
0
0.147783
0.192308
754
27
225
27.925926
0.696223
0.400531
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
12aafab9c39bd417542dbd6c77cd6a1f1443ce12
3,310
py
Python
Tests/DNN-model/comma-ai-steering-model/run_dataset.py
ProjetEtudeMLFI/TensorFI
961a0205ec90935a238c58112e8119c34a70ba7c
[ "MIT" ]
35
2018-10-28T22:41:31.000Z
2022-03-27T21:47:40.000Z
Tests/DNN-model/comma-ai-steering-model/run_dataset.py
bigmpc/TensorFI
3d75830ff202fdf98cf28acd842209ad7f6e6e2a
[ "MIT" ]
28
2019-08-26T17:52:37.000Z
2021-06-13T01:04:00.000Z
Tests/DNN-model/comma-ai-steering-model/run_dataset.py
bigmpc/TensorFI
3d75830ff202fdf98cf28acd842209ad7f6e6e2a
[ "MIT" ]
30
2018-11-08T02:52:06.000Z
2022-03-27T21:57:47.000Z
import tensorflow as tf import scipy.misc import model import cv2 from subprocess import call import driving_data import time import TensorFI as ti sess = tf.InteractiveSession() saver = tf.train.Saver() saver.restore(sess, "save/model.ckpt") img = cv2.imread('steering_wheel_image.jpg',0) rows,cols = img.shape smoot...
34.842105
159
0.619637
438
3,310
4.614155
0.315068
0.070757
0.059377
0.045522
0.523998
0.497773
0.497773
0.497773
0.497773
0.497773
0
0.037685
0.222357
3,310
94
160
35.212766
0.747475
0.181873
0
0.043478
0
0
0.10844
0.012821
0
0
0
0
0
0
null
null
0
0.173913
null
null
0.108696
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12adb8c874e78276722a7bff47e18c5556c0563e
4,586
py
Python
llvmlite/binding/transforms.py
sklam/llvmlite
694a437d05443a276a8998293bd58e8286a095c1
[ "BSD-2-Clause" ]
null
null
null
llvmlite/binding/transforms.py
sklam/llvmlite
694a437d05443a276a8998293bd58e8286a095c1
[ "BSD-2-Clause" ]
null
null
null
llvmlite/binding/transforms.py
sklam/llvmlite
694a437d05443a276a8998293bd58e8286a095c1
[ "BSD-2-Clause" ]
null
null
null
from __future__ import print_function, absolute_import from ctypes import c_uint, c_bool from . import ffi from . import passmanagers def create_pass_manager_builder(): return PassManagerBuilder(ffi.lib.LLVMPY_PassManagerBuilderCreate()) class PassManagerBuilder(ffi.ObjectRef): __slots__ = () @property...
33.231884
81
0.737026
422
4,586
7.746446
0.2109
0.060569
0.121138
0.04405
0.293056
0.178036
0.102172
0.055063
0
0
0
0
0.176625
4,586
137
82
33.474453
0.865731
0.035107
0
0.183673
0
0
0.007241
0
0
0
0
0
0
1
0.193878
false
0.489796
0.040816
0.091837
0.346939
0.010204
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
12b055128ed510e8dbdfcaa0d44152b5bee61147
5,613
py
Python
insta_api_server.py
AndrewLien/InstaAPI
397487dd3a56095598225afb272c1e406b4e01ff
[ "MIT" ]
null
null
null
insta_api_server.py
AndrewLien/InstaAPI
397487dd3a56095598225afb272c1e406b4e01ff
[ "MIT" ]
1
2021-06-01T21:40:32.000Z
2021-06-01T21:40:32.000Z
insta_api_server.py
AndrewLien/InstaAPI
397487dd3a56095598225afb272c1e406b4e01ff
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from flask import Flask, request, jsonify, make_response,render_template from pymongo import MongoClient from flask_cors import CORS, cross_origin import datetime import json import requests from forms import ContactForm from copy import deepcopy import time class API(): @staticmethod d...
32.824561
125
0.564582
646
5,613
4.74613
0.331269
0.034247
0.039139
0.035225
0.131115
0.127854
0.127854
0.037834
0.037834
0.037834
0
0.016154
0.305184
5,613
170
126
33.017647
0.769487
0.006948
0
0.161765
0
0.007353
0.153512
0.004345
0
0
0
0
0
0
null
null
0.007353
0.066176
null
null
0.029412
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12b84e4221e8d1ca542b9f76c137c18575adda77
541
py
Python
send_data.py
EruDev/eru_manager
9bc7fb3af361c7de734bfa6c4e1562dd7f978500
[ "Apache-2.0" ]
17
2018-07-06T11:37:54.000Z
2022-01-04T01:15:54.000Z
send_data.py
EruDev/eru_manager
9bc7fb3af361c7de734bfa6c4e1562dd7f978500
[ "Apache-2.0" ]
3
2018-07-17T01:56:44.000Z
2020-06-05T18:34:48.000Z
send_data.py
EruDev/eru_manager
9bc7fb3af361c7de734bfa6c4e1562dd7f978500
[ "Apache-2.0" ]
4
2018-07-16T01:48:04.000Z
2019-11-06T12:25:35.000Z
import time from datetime import datetime import urllib import urllib3 import requests import psutil url = 'http://192.168.76.42:8000/manager/save_data/' headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Safari/537.36", } while True: data = {...
21.64
127
0.709797
84
541
4.547619
0.619048
0.062827
0.078534
0
0
0
0
0
0
0
0
0.089744
0.134935
541
24
128
22.541667
0.726496
0.118299
0
0
0
0.055556
0.360759
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.055556
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
12bbf101dcaa5ca6039aea8daf21ceed5d8bf673
3,845
py
Python
main/users/permissions.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
main/users/permissions.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
main/users/permissions.py
terraware/rhizo-server
3b7b0ea656b71d2d65d94aeb56d4e87c631d7e91
[ "MIT" ]
null
null
null
from flask import request from flask_login import current_user from sqlalchemy import not_ from sqlalchemy.orm.exc import NoResultFound from main.users.models import OrganizationUser from main.users.auth import find_key from main.resources.models import Resource # access level defintions ACCESS_LEVEL_NONE = 0 ACCESS_...
40.904255
142
0.689987
489
3,845
5.171779
0.251534
0.10004
0.080664
0.04745
0.281139
0.249506
0.225781
0.225781
0.225781
0.202056
0
0.007057
0.262939
3,845
93
143
41.344086
0.885321
0.263979
0
0.224138
0
0
0
0
0
0
0
0
0
1
0.017241
false
0.051724
0.12069
0
0.172414
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
12beb7c2207b6dc16df72dd13128c2009f8434b3
5,769
py
Python
AWERA/resource_analysis/resource_analysis.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
AWERA/resource_analysis/resource_analysis.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
AWERA/resource_analysis/resource_analysis.py
lthUniBonn/AWERA
fa7f210516318bcfcbe1c99abbb5954b0cbaf682
[ "MIT" ]
null
null
null
import numpy as np import matplotlib.pyplot as plt from ..wind_profile_clustering.read_requested_data import get_wind_data from .single_loc_plots import plot_figure_5a from .plot_maps import plot_all # TODO import all functions needed # TODO add processing functionality # TODO add plot maps single functions # TODO c...
42.419118
163
0.57913
716
5,769
4.392458
0.28352
0.044515
0.022258
0.031797
0.219396
0.157075
0.105246
0.105246
0.07186
0.050238
0
0.025781
0.334373
5,769
136
164
42.419118
0.793229
0.355694
0
0.081081
0
0
0.037531
0.019183
0
0
0
0.014706
0
1
0.067568
false
0
0.067568
0
0.162162
0.040541
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
12c9e60cae458aa591c627d42280ccd8950ebb70
3,595
py
Python
Python3/Coursera/007_base_of_cars/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Python3/Coursera/007_base_of_cars/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
Python3/Coursera/007_base_of_cars/solution.py
neon1ks/Study
5d40171cf3bf5e8d3a95539e91f5afec54d1daf3
[ "MIT" ]
null
null
null
import csv import os.path class CarBase: def __init__(self, brand, photo_file_name, carrying): if brand == "": raise ValueError("Невалидные данные", brand) if photo_file_name == "": raise ValueError("Невалидные данные", photo_file_name) file_ext = os.path.splitext...
31.26087
135
0.591099
451
3,595
4.40133
0.184035
0.095214
0.091688
0.063476
0.426196
0.405038
0.382872
0.255416
0.196474
0.107809
0
0.016238
0.297636
3,595
114
136
31.535088
0.769901
0.005563
0
0.337079
0
0
0.047299
0
0
0
0
0
0
1
0.123596
false
0.067416
0.022472
0.022472
0.258427
0.011236
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
12ca000252e98115d9a37e5cb1558a4a3843d991
2,833
py
Python
sites/models.py
getnikola/nikola-users
16b6d506e3c7c71fb4026536873a8344fab95a3a
[ "MIT" ]
2
2018-01-14T01:38:06.000Z
2018-05-11T14:13:59.000Z
sites/models.py
getnikola/nikola-users
16b6d506e3c7c71fb4026536873a8344fab95a3a
[ "MIT" ]
10
2015-06-24T11:57:13.000Z
2019-12-04T21:48:04.000Z
sites/models.py
getnikola/nikola-users
16b6d506e3c7c71fb4026536873a8344fab95a3a
[ "MIT" ]
2
2015-08-13T12:42:23.000Z
2018-01-14T01:18:16.000Z
"""Models for sites and languages.""" from django.db import models from django.utils.html import format_html, mark_safe, escape class Language(models.Model): """A language model.""" name = models.CharField("Display name", max_length=50, unique=True) language_code = models.CharField("Language code", max_...
34.13253
97
0.65796
345
2,833
5.246377
0.269565
0.049724
0.037569
0.049724
0.246961
0.175138
0.116022
0.061326
0.061326
0
0
0.014222
0.205789
2,833
82
98
34.54878
0.790222
0.087893
0
0.12963
0
0
0.124656
0.027133
0
0
0
0
0
1
0.166667
false
0
0.037037
0.074074
0.796296
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
12cf294481d40f143864c5a601b4b37f3853d187
863
py
Python
tasks_sprint/task_f.py
master-cim/algorithm
a57f473ceb32b96240989e31ac33154e55c00724
[ "MIT" ]
1
2022-03-31T07:30:53.000Z
2022-03-31T07:30:53.000Z
tasks_sprint/task_f.py
master-cim/algorithm
a57f473ceb32b96240989e31ac33154e55c00724
[ "MIT" ]
null
null
null
tasks_sprint/task_f.py
master-cim/algorithm
a57f473ceb32b96240989e31ac33154e55c00724
[ "MIT" ]
2
2022-03-04T09:42:03.000Z
2022-03-30T14:51:32.000Z
# F. Палиндром # ID успешной посылки 65285610 def is_palindrome(line: str) -> bool: rem_list = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9', ' ', '!', '"', '#', '$', '%', '&', '\', ''', '(', ')', '*', '+', ',', '-', '.', '/', ':', ';', '<', '=', '>', '?', '@', ...
30.821429
74
0.345307
83
863
3.53012
0.60241
0.081911
0.061433
0
0
0
0
0
0
0
0
0.044964
0.355736
863
28
75
30.821429
0.482014
0.047509
0
0
0
0
0.086585
0
0
0
0
0
0
1
0.045455
false
0
0
0
0.136364
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
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
1
12cf9cf2d75b05842642dde46c37a0408f5bc032
4,772
py
Python
auth490/data.py
alexandre-lavoie/auth490
82be47303495c2c429b1a024b0510fc75779b218
[ "MIT" ]
null
null
null
auth490/data.py
alexandre-lavoie/auth490
82be47303495c2c429b1a024b0510fc75779b218
[ "MIT" ]
null
null
null
auth490/data.py
alexandre-lavoie/auth490
82be47303495c2c429b1a024b0510fc75779b218
[ "MIT" ]
null
null
null
from .crypto import Signable, KeyHolder, PublicKey, Signature, PrivateKey from .payload import Request, Payload from enum import Enum, auto from typing import List class DataType(Enum): NAME=auto() VACCINE=auto() class Data(Signable): __provider: KeyHolder __recipient: KeyHolder __value: str _...
26.511111
139
0.589061
509
4,772
5.280943
0.129666
0.053571
0.03125
0.040179
0.59375
0.551339
0.46875
0.309152
0.241071
0.223958
0
0
0.296312
4,772
179
140
26.659218
0.800476
0
0
0.444444
0
0
0.019908
0
0
0
0
0
0
1
0.1875
false
0
0.027778
0.145833
0.493056
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
12d2890cff117bd6d84c56b924dd14f452c9ef45
1,537
py
Python
courses/migrations/0001_initial.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
32
2016-03-25T01:03:13.000Z
2022-01-15T19:35:42.000Z
courses/migrations/0001_initial.py
Wassaf-Shahzad/micromasters
b1340a8c233499b1d8d22872a6bc1fe7f49fd323
[ "BSD-3-Clause" ]
4,858
2016-03-03T13:48:30.000Z
2022-03-29T22:09:51.000Z
courses/migrations/0001_initial.py
umarmughal824/micromasters
ea92d3bcea9be4601150fc497302ddacc1161622
[ "BSD-3-Clause" ]
20
2016-08-18T22:07:44.000Z
2021-11-15T13:35:35.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2016-03-03 15:51 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateM...
35.744186
114
0.586207
156
1,537
5.641026
0.442308
0.051136
0.059091
0.077273
0.334091
0.334091
0.252273
0.252273
0.252273
0.252273
0
0.021622
0.277814
1,537
42
115
36.595238
0.771171
0.04229
0
0.382353
1
0
0.088496
0
0
0
0
0
0
1
0
false
0
0.088235
0
0.205882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
12d88c33c5f46f8d9c8414f210e3cc511eb1845b
1,000
py
Python
tests/conftest.py
raphaelrpl/lccs-db
4db4666bb8ea7e18527b6530e48896002a841cb4
[ "MIT" ]
null
null
null
tests/conftest.py
raphaelrpl/lccs-db
4db4666bb8ea7e18527b6530e48896002a841cb4
[ "MIT" ]
null
null
null
tests/conftest.py
raphaelrpl/lccs-db
4db4666bb8ea7e18527b6530e48896002a841cb4
[ "MIT" ]
null
null
null
# # This file is part of Land Cover Classification System Database Model. # Copyright (C) 2019-2020 INPE. # # Land Cover Classification System Database Model is free software; you can redistribute it and/or modify it # under the terms of the MIT License; see LICENSE file for more details. # """Config test fixtures."""...
23.809524
108
0.712
134
1,000
5.261194
0.552239
0.034043
0.065248
0.08227
0.184397
0.184397
0
0
0
0
0
0.009732
0.178
1,000
41
109
24.390244
0.847932
0.441
0
0.125
0
0
0.174573
0
0
0
0
0
0
1
0.25
false
0
0.25
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
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
12d8bb2609d4c3ede1267405ae5617de2db662f5
1,304
py
Python
xdl/constants.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
xdl/constants.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
xdl/constants.py
mcrav/xdl
c120a1cf50a9b668a79b118700930eb3d60a9298
[ "MIT" ]
null
null
null
from typing import List, Dict, Any #: XDL version number. Used in header at top of outputted XDL files. XDL_VERSION: str = '0.5.0' ######## # MISC # ######## #: Chemify API URL CHEMIFY_API_URL: str = 'https://api.chemification.com' #: Chemicals that will be recognised as inert gas. INERT_GAS_SYNONYMS: List[str] = [...
28.977778
80
0.685583
190
1,304
4.626316
0.531579
0.054608
0.037543
0.040956
0.045506
0
0
0
0
0
0
0.011289
0.184816
1,304
44
81
29.636364
0.814675
0.545245
0
0
0
0
0.224199
0
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
12e7df6d832adc256529e84feb7c8382bd08e6bd
1,147
py
Python
system_disk/home/pi/tests/testAutoStop.py
IronMines/PST2017-2018
ea97c521380edcee7d2f991c402d1856c77e0739
[ "MIT" ]
null
null
null
system_disk/home/pi/tests/testAutoStop.py
IronMines/PST2017-2018
ea97c521380edcee7d2f991c402d1856c77e0739
[ "MIT" ]
null
null
null
system_disk/home/pi/tests/testAutoStop.py
IronMines/PST2017-2018
ea97c521380edcee7d2f991c402d1856c77e0739
[ "MIT" ]
null
null
null
#!/bin/usr/python import RPi.GPIO as GPIO import time import serial GPIO.setmode(GPIO.BCM) inputs_IO = [5,6,13,19,26,12] for i in inputs_IO: GPIO.setup(i, GPIO.IN) ser = serial.Serial( port="/dev/ttyS0", baudrate=115200, parity=serial.PARITY_NONE, stopbits=serial.STOPBITS_ONE, bytesize=serial.EIGHTBITS ) ser ...
20.482143
71
0.628596
215
1,147
3.330233
0.330233
0.067039
0.058659
0.100559
0.353352
0.353352
0.256983
0.198324
0.198324
0.198324
0
0.07724
0.153444
1,147
56
72
20.482143
0.660144
0.013949
0
0.367347
0
0.020408
0.139699
0
0
0
0
0
0
0
null
null
0
0.061224
null
null
0.102041
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12eafded5b9f8ff2f0465466ca542efd2df23a80
4,795
py
Python
cpauto/objects/host.py
krnnrt/cpauto
6076ee0e3f55769aac5b2480453d82f99371a31f
[ "Apache-2.0" ]
16
2016-12-07T02:45:31.000Z
2022-01-20T11:46:24.000Z
cpauto/objects/host.py
krnnrt/cpauto
6076ee0e3f55769aac5b2480453d82f99371a31f
[ "Apache-2.0" ]
2
2017-07-20T21:12:27.000Z
2021-09-09T14:57:01.000Z
cpauto/objects/host.py
krnnrt/cpauto
6076ee0e3f55769aac5b2480453d82f99371a31f
[ "Apache-2.0" ]
5
2017-07-28T14:06:25.000Z
2021-09-06T12:01:18.000Z
# -*- coding: utf-8 -*- # Copyright 2016 Dana James Traversie and Check Point Software Technologies, Ltd. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http:/...
42.433628
103
0.660688
627
4,795
4.950558
0.272727
0.031894
0.036082
0.030928
0.415915
0.410116
0.389175
0.389175
0.355026
0.339562
0
0.013661
0.236705
4,795
112
104
42.8125
0.834426
0.619812
0
0
0
0
0.05903
0
0
0
0
0
0
1
0.24
false
0
0.04
0
0.52
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
12efba444d290e4ef9eec061d1e239cfcb87e949
1,859
py
Python
utest/ui/test_menu.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
1
2020-04-11T12:55:29.000Z
2020-04-11T12:55:29.000Z
utest/ui/test_menu.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
utest/ui/test_menu.py
hoteltianya/RIDE
dcdccfec631517743d24c8e31fc6687fd29338a0
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
import unittest from nose.tools import assert_equals from robotide.ui.actiontriggers import _NameBuilder class TestGetNameWithAccelerator(unittest.TestCase): def setUp(self): self._nb = _NameBuilder() def _test(self, input, expected): assert_equals(self._nb.get_name(input), expected) de...
29.983871
73
0.592254
250
1,859
4.088
0.276
0.180039
0.093933
0.125245
0.456947
0.39726
0.39726
0.39726
0.324853
0.279843
0
0
0.227004
1,859
61
74
30.47541
0.711204
0
0
0.23913
0
0
0.160839
0
0
0
0
0
0.086957
1
0.23913
false
0
0.065217
0
0.326087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
12f8098eefa839e64029e5799291a2b8770f32c4
2,056
py
Python
m2scorer/scripts/token_offsets.py
andreaschari/VERNet
e148ad1b0314d77838f5d0035aa946f01597b037
[ "MIT" ]
31
2021-05-06T13:19:00.000Z
2022-02-24T12:37:14.000Z
m2scorer/scripts/token_offsets.py
andreaschari/VERNet
e148ad1b0314d77838f5d0035aa946f01597b037
[ "MIT" ]
null
null
null
m2scorer/scripts/token_offsets.py
andreaschari/VERNet
e148ad1b0314d77838f5d0035aa946f01597b037
[ "MIT" ]
2
2021-05-09T12:28:17.000Z
2021-11-10T15:11:10.000Z
#!/usr/bin/python # This file is part of the NUS M2 scorer. # The NUS M2 scorer is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # The...
32.634921
96
0.668774
284
2,056
4.788732
0.46831
0.014706
0.017647
0.030882
0.083824
0.041176
0
0
0
0
0
0.009363
0.220817
2,056
62
97
33.16129
0.839576
0.43677
0
0
0
0
0.03257
0
0.066667
0
0
0
0.033333
0
null
null
0
0.166667
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
12f86449aee6ce2c0563a0f24885473b5cf53388
390
py
Python
examples/hello/sling/ext/hello/command.py
slinghq/sling
710b2743d43b6378c10f7c58e004257e53b164f6
[ "Apache-2.0" ]
6
2015-12-07T13:14:15.000Z
2021-05-27T10:17:35.000Z
examples/hello/sling/ext/hello/command.py
slinghq/sling
710b2743d43b6378c10f7c58e004257e53b164f6
[ "Apache-2.0" ]
null
null
null
examples/hello/sling/ext/hello/command.py
slinghq/sling
710b2743d43b6378c10f7c58e004257e53b164f6
[ "Apache-2.0" ]
3
2015-12-07T12:25:27.000Z
2015-12-07T13:14:47.000Z
from sling.core import command from sling.core.logger import logger logger = logger.getChild('hello.command') @command.command(name='hello:greet') @command.argument('name') def greet(name): """Greets hello to a name.""" greet_logger = logger.getChild(name) greet_logger.debug('Greeting %s hello' % name) ...
24.375
50
0.705128
53
390
5.132075
0.377358
0.132353
0.165441
0.147059
0
0
0
0
0
0
0
0
0.151282
390
15
51
26
0.821752
0
0
0
0
0
0.188366
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4207df982d8fd32deb7572dfd627cd25fc01de57
473
py
Python
applications/contacts/views.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
null
null
null
applications/contacts/views.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
4
2020-07-08T18:21:42.000Z
2021-03-22T15:21:09.000Z
applications/contacts/views.py
afmicc/python-target-api
6216721f61f4baae00e4d7281a7441ad0c30652f
[ "MIT" ]
1
2020-07-29T22:11:27.000Z
2020-07-29T22:11:27.000Z
from rest_framework import mixins, viewsets from .models import Contact from .serializers import ContactSerializer class ContactViewSet(mixins.CreateModelMixin, viewsets.GenericViewSet): queryset = Contact.objects.all() serializer_class = ContactSerializer def perform_create(self, serializer): i...
29.5625
71
0.744186
49
473
7.081633
0.632653
0.074928
0.086455
0
0
0
0
0
0
0
0
0
0.181818
473
15
72
31.533333
0.896641
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.636364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4208de9c1d0d17ba8da46ae423078234e9978274
2,663
py
Python
AutomatedTesting/Gem/PythonTests/Physics/tests/collider/Collider_CheckDefaultShapeSettingIsPxMesh.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
1
2022-03-28T08:06:58.000Z
2022-03-28T08:06:58.000Z
AutomatedTesting/Gem/PythonTests/Physics/tests/collider/Collider_CheckDefaultShapeSettingIsPxMesh.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
AutomatedTesting/Gem/PythonTests/Physics/tests/collider/Collider_CheckDefaultShapeSettingIsPxMesh.py
BreakerOfThings/o3de
f4c59f868c726470ec910623facd836047d059c3
[ "Apache-2.0", "MIT" ]
null
null
null
""" Copyright (c) Contributors to the Open 3D Engine Project. For complete copyright and license terms please see the LICENSE at the root of this distribution. SPDX-License-Identifier: Apache-2.0 OR MIT Test case ID : C14861500 Test Case Title : Verify Default shape is Physics Asset """ # fmt: off class Tests(): ...
35.986486
108
0.746902
366
2,663
5.254098
0.349727
0.094644
0.041602
0.054602
0.24493
0.231929
0.201768
0.183047
0.139366
0.058242
0
0.010295
0.197522
2,663
73
109
36.479452
0.889565
0.436726
0
0.095238
0
0
0.17161
0
0
0
0
0
0
1
0.047619
false
0
0.285714
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
420bd904415cf114c377a9d50c91cdb35a8f3f62
2,053
py
Python
001146StepikPyBegin/Stepik001146PyBeginсh09p06st06TASK03_20210130.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh09p06st06TASK03_20210130.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
001146StepikPyBegin/Stepik001146PyBeginсh09p06st06TASK03_20210130.py
SafonovMikhail/python_000577
739f764e80f1ca354386f00b8e9db1df8c96531d
[ "Apache-2.0" ]
null
null
null
# indent = int(input()) # indent = 1 # indent = 14 # str1 = input() # str1 = 'bwfusvfupdbftbs' # str1 = 'fsfftsfufksttskskt' ''' str1 = '0123456789' for i in str1: print(chr((ord(i) + indent) % 26), end='') ''' indent = 14 # str1 = '0123456789' str1 = 'abcdefghijklmnopqrstuvwxyz' str2 = '' str3 = '' str5_coded = 'f...
23.329545
87
0.6717
284
2,053
4.855634
0.429577
0.035533
0.021755
0.055112
0.237854
0.237854
0.169688
0.169688
0.169688
0.124728
0
0.057266
0.208962
2,053
87
88
23.597701
0.788177
0.145641
0
0.742857
0
0
0.122093
0.060465
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
420f7e0c5cf9c609c5dd06cf1ce5839bd49fbcb8
358
py
Python
dumpAll.py
Radolyn/informatics_python_parser
6e40496f7c2eb549262b86050d5285dd3193e73b
[ "WTFPL" ]
1
2022-02-13T08:24:24.000Z
2022-02-13T08:24:24.000Z
dumpAll.py
Radolyn/informatics_python_parser
6e40496f7c2eb549262b86050d5285dd3193e73b
[ "WTFPL" ]
null
null
null
dumpAll.py
Radolyn/informatics_python_parser
6e40496f7c2eb549262b86050d5285dd3193e73b
[ "WTFPL" ]
null
null
null
import os from utils import debug, ranges, is_authorized, print_unauthorized if not is_authorized(): print_unauthorized() for item in ranges: for r in item: cmd = 'python parser.py --folder "%s" --range %s --letter %s' % ( r['folder'], r['range'], r['letter']) if debug: ...
21.058824
73
0.583799
48
358
4.270833
0.520833
0.117073
0.165854
0.282927
0
0
0
0
0
0
0
0
0.282123
358
16
74
22.375
0.797665
0
0
0
0
0
0.195531
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.272727
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4210c7e4eec79eced3e431a68dc38aa10b8be15d
691
py
Python
django_test/posting/admin.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
django_test/posting/admin.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
django_test/posting/admin.py
sdfxisme/lesson21
52752fb4b4698bffcd8df9a562c473637b2dc3b7
[ "MIT" ]
null
null
null
from django.contrib import admin # Register your models here. from .models import Tag, My_post # admin.site.register(Tag) # admin.site.register(My_post) def set_active(modelAdmin, request, queryset): queryset.update(is_active = True) def set_inactive(modelAdmin, request, queryset): queryset.update(is_active ...
30.043478
82
0.756874
96
691
5.197917
0.34375
0.072144
0.136273
0.08016
0.420842
0.328657
0.328657
0
0
0
0
0
0.125904
691
23
83
30.043478
0.826159
0.115774
0
0.142857
0
0
0.105263
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
421749f4b674b2e6c08c04a6aad08d8077fb7404
359
py
Python
setup.py
ScottWales/hrlam
4b4c987407238c59c4ef4d8752b3310c067eb455
[ "Apache-2.0" ]
null
null
null
setup.py
ScottWales/hrlam
4b4c987407238c59c4ef4d8752b3310c067eb455
[ "Apache-2.0" ]
null
null
null
setup.py
ScottWales/hrlam
4b4c987407238c59c4ef4d8752b3310c067eb455
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python from __future__ import print_function from setuptools import setup, find_packages import versioneer setup( name="hrlam", packages=find_packages("src"), package_dir={"": "src"}, version=versioneer.get_version(), cmdclass=versioneer.get_cmdclass(), install_requires=[], e...
23.933333
43
0.713092
41
359
5.926829
0.682927
0.098765
0
0
0
0
0
0
0
0
0
0
0.147632
359
14
44
25.642857
0.794118
0.05571
0
0
0
0
0.076923
0
0
0
0
0
0
1
0
true
0
0.25
0
0.25
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
422374fdc5cc59b792997ce5bdb9168662c17a89
2,510
py
Python
treadmill/console.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-03-20T07:13:33.000Z
2017-05-03T03:39:53.000Z
treadmill/console.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
12
2017-07-10T07:04:06.000Z
2017-07-26T09:32:54.000Z
treadmill/console.py
gaocegege/treadmill
04325d319c0ee912c066f07b88b674e84485f154
[ "Apache-2.0" ]
2
2017-05-04T11:25:32.000Z
2017-07-11T09:10:01.000Z
"""Treadmill console entry point. """ import logging import logging.config import click import requests # pylint complains about imports from treadmill not grouped, but import # dependencies need to come first. # # pylint: disable=C0412 from treadmill import cli # pylint complains "No value passed for parameter 'l...
33.918919
76
0.649004
301
2,510
5.262458
0.342193
0.0625
0.070707
0.106061
0.376263
0.256313
0.256313
0.256313
0.256313
0.256313
0
0.004137
0.229482
2,510
73
77
34.383562
0.814891
0.168924
0
0.352941
0
0
0.164729
0.010174
0
0
0
0.013699
0
1
0.019608
false
0.019608
0.098039
0
0.117647
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4227ee09f857a0ac9cc3178bff368bbdd67a196b
850
py
Python
sieve/tests/test_xml_compare.py
ralphbean/sieve
3c2786a1663d7237d9d673fd13ef8e66e4a388ef
[ "MIT" ]
1
2018-06-24T19:38:26.000Z
2018-06-24T19:38:26.000Z
sieve/tests/test_xml_compare.py
ralphbean/sieve
3c2786a1663d7237d9d673fd13ef8e66e4a388ef
[ "MIT" ]
null
null
null
sieve/tests/test_xml_compare.py
ralphbean/sieve
3c2786a1663d7237d9d673fd13ef8e66e4a388ef
[ "MIT" ]
null
null
null
import sieve.xml_compare as c import six def test_basic(): xml1 = six.u(""" <?xml version='1.0' encoding='utf-8' standalone='yes'?> <Stats start="1275955200" end="1276041599"></Stats>""").encode('utf-8') xml2 = six.u(""" <?xml version='1.0' encoding='utf-8' standalone='yes'?> <Stats star...
38.636364
80
0.632941
117
850
4.564103
0.393162
0.044944
0.039326
0.078652
0.529963
0.447566
0.447566
0.447566
0.447566
0.447566
0
0.106232
0.169412
850
21
81
40.47619
0.650142
0
1
0.117647
0
0
0.417647
0.090588
0
0
0
0
0.117647
1
0.058824
false
0
0.235294
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
422a0dbaca812ae79bced89e64e47f5823465be6
17,706
py
Python
TAO/Firewall/BUZZDIRECTION/BUZZ_1210/LP/Scripts/Lp_XmlParser.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
46
2017-05-15T11:15:08.000Z
2018-07-02T03:32:52.000Z
TAO/Firewall/BUZZDIRECTION/BUZZ_1210/LP/Scripts/Lp_XmlParser.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
null
null
null
TAO/Firewall/BUZZDIRECTION/BUZZ_1210/LP/Scripts/Lp_XmlParser.py
dendisuhubdy/grokmachine
120a21a25c2730ed356739231ec8b99fc0575c8b
[ "BSD-3-Clause" ]
24
2017-05-17T03:26:17.000Z
2018-07-09T07:00:50.000Z
import os import xml.dom.minidom import Lp_FrontEndFunctions import Lp_UserInterface import textwrap def parseIface(mod,architecture,lpArch): curDir=os.getcwd() modName=mod.split('/')[len(mod.split('/'))-1] modStripped=modName.split('_')[0] modStripped=modStripped.split('.')[0] modPath = find...
39
114
0.587993
1,625
17,706
6.386462
0.173538
0.062054
0.05926
0.02197
0.201098
0.118905
0.098863
0.074099
0.06639
0.059067
0
0.009238
0.290805
17,706
453
115
39.086093
0.817233
0.025754
0
0.165746
0
0
0.12761
0.003016
0
0
0
0
0
0
null
null
0.002762
0.013812
null
null
0.033149
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
422b9b9cf7631ac32f217f4819a994a789b974ae
1,174
py
Python
challenges/016-rightmostchar.py
Widdershin/CodeEval
c1c769363763d6f7e1ac5bf3707de2731c3bd926
[ "MIT" ]
null
null
null
challenges/016-rightmostchar.py
Widdershin/CodeEval
c1c769363763d6f7e1ac5bf3707de2731c3bd926
[ "MIT" ]
null
null
null
challenges/016-rightmostchar.py
Widdershin/CodeEval
c1c769363763d6f7e1ac5bf3707de2731c3bd926
[ "MIT" ]
null
null
null
""" https://www.codeeval.com/browse/31/ Rightmost Char Challenge Description: You are given a string 'S' and a character 't'. Print out the position of the rightmost occurrence of 't' (case matters) in 'S' or -1 if there is none. The position to be printed out is zero based. Input Sample: The firs...
20.596491
93
0.651618
181
1,174
4.127072
0.508287
0.072289
0.052209
0
0
0
0
0
0
0
0
0.011123
0.234242
1,174
56
94
20.964286
0.8198
0.026405
0
0
0
0
0.076372
0.054893
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
423068dede5095cf13be1932bc4e50df1fa669e2
1,844
py
Python
droidlet/interpreter/craftassist/swarm_mc_interpreter.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
droidlet/interpreter/craftassist/swarm_mc_interpreter.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
droidlet/interpreter/craftassist/swarm_mc_interpreter.py
CowherdChris/droidlet
8d965c1ebc38eceb6f8083c52b1146c1bc17d5e1
[ "MIT" ]
null
null
null
from droidlet.interpreter.craftassist import MCInterpreter from droidlet.interpreter.craftassist import swarm_tasks from typing import Tuple, Dict, Any, Optional class SwarmMCInterpreter(MCInterpreter): def __init__(self, speaker: str, action_dict: Dict, low_level_data: Dict = None, **kwargs): super(SwarmM...
42.883721
96
0.617679
209
1,844
5.267943
0.368421
0.045413
0.06812
0.061762
0.339691
0.26703
0.26703
0.26703
0.26703
0.26703
0
0
0.263015
1,844
42
97
43.904762
0.810155
0.237527
0
0.363636
0
0
0.032421
0
0
0
0
0.02381
0.090909
1
0.136364
false
0
0.136364
0
0.318182
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
423243feac4da9f861879dcc933cb47e1ff54d30
1,644
py
Python
pbs/scripts/remove_approvals.py
KellyThomas/pbs
dbc36bbe35ab0bb20a6478c9cc5057c98633dad9
[ "Apache-2.0" ]
null
null
null
pbs/scripts/remove_approvals.py
KellyThomas/pbs
dbc36bbe35ab0bb20a6478c9cc5057c98633dad9
[ "Apache-2.0" ]
null
null
null
pbs/scripts/remove_approvals.py
KellyThomas/pbs
dbc36bbe35ab0bb20a6478c9cc5057c98633dad9
[ "Apache-2.0" ]
1
2020-12-16T08:26:48.000Z
2020-12-16T08:26:48.000Z
import os import sys import confy from django.core.wsgi import get_wsgi_application try: confy.read_environment_file('.env') except: print('ERROR: Script must be runs from PROJECT BASE_DIR') exit() application = get_wsgi_application() # This is so models get loaded. proj_path = os.getcwd() sys.path.append...
33.55102
90
0.605839
207
1,644
4.623188
0.47343
0.033438
0.037618
0.043887
0.033438
0
0
0
0
0
0
0.029985
0.188564
1,644
48
91
34.25
0.687406
0.183698
0
0.055556
0
0
0.219476
0.038951
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.138889
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
423341086662fc3e868f90e5d1a7f8fc5fe85d63
1,421
py
Python
paperspace/cli/common.py
Paperspace/paperspace-python
93bdacab520ffc538ecf4d142c5f84c40446d619
[ "0BSD" ]
47
2017-07-07T11:29:13.000Z
2021-03-15T21:49:56.000Z
paperspace/cli/common.py
Paperspace/paperspace-python
93bdacab520ffc538ecf4d142c5f84c40446d619
[ "0BSD" ]
14
2018-04-11T10:12:54.000Z
2019-05-31T16:17:28.000Z
paperspace/cli/common.py
Paperspace/paperspace-python
93bdacab520ffc538ecf4d142c5f84c40446d619
[ "0BSD" ]
7
2017-08-27T11:21:35.000Z
2019-06-03T23:52:47.000Z
import functools import getpass import json import click from click_didyoumean import DYMMixin from click_help_colors import HelpColorsGroup api_key_option = click.option( "--apiKey", "api_key", help="API key to use this time only", ) def del_if_value_is_none(dict_): """Remove all elements with valu...
22.919355
113
0.672766
190
1,421
4.873684
0.510526
0.019438
0.019438
0.028078
0
0
0
0
0
0
0
0.002742
0.23012
1,421
61
114
23.295082
0.843693
0.026742
0
0
0
0
0.204067
0
0
0
0
0
0
1
0.166667
false
0.071429
0.142857
0
0.404762
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4235c420de975c53e5abb1c506ae08cf70d78063
323
py
Python
ytplaylistsync/YTPlaylistSync.py
mrxaxen/yt-playlist-sync
fab7e6d352b3404b61780211251c3b684dfe5ea8
[ "Apache-2.0" ]
null
null
null
ytplaylistsync/YTPlaylistSync.py
mrxaxen/yt-playlist-sync
fab7e6d352b3404b61780211251c3b684dfe5ea8
[ "Apache-2.0" ]
null
null
null
ytplaylistsync/YTPlaylistSync.py
mrxaxen/yt-playlist-sync
fab7e6d352b3404b61780211251c3b684dfe5ea8
[ "Apache-2.0" ]
null
null
null
from ytplaylistsync.cli.CLIParser import CLIParser class YTPlaylistSync: def __init__(self): print("Init") def main(): #parse args self.__args = CLIParser.parse() #do the thing #auth to drive token = Authentication.authenticate() #sy...
17
50
0.569659
31
323
5.741935
0.741935
0
0
0
0
0
0
0
0
0
0
0
0.349845
323
18
51
17.944444
0.847619
0.120743
0
0
0
0
0.014286
0
0
0
0
0
0
1
0.285714
false
0
0.142857
0
0.571429
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
42381f6ebc02047953b94eeb0b421cceb70a0f27
2,237
py
Python
2021/day4.py
kaldap/advent-of-code
d69d9f9365a0122c6817b010dcc5279a419325c5
[ "MIT" ]
null
null
null
2021/day4.py
kaldap/advent-of-code
d69d9f9365a0122c6817b010dcc5279a419325c5
[ "MIT" ]
null
null
null
2021/day4.py
kaldap/advent-of-code
d69d9f9365a0122c6817b010dcc5279a419325c5
[ "MIT" ]
null
null
null
from copy import deepcopy from aoc_utils import read_lines class Bingo: def __init__(self, board): self.dim = len(board), len(board[0]) self.board = board self.marked = [] self.dict = {} self.last_draw = -1 for i in range(len(board)): self.ma...
31.507042
138
0.510058
342
2,237
3.251462
0.233918
0.05036
0.032374
0.04946
0.095324
0.095324
0.034173
0
0
0
0
0.020091
0.310237
2,237
71
139
31.507042
0.700583
0
0
0.067797
0
0
0.026116
0
0
0
0
0
0.016949
1
0.067797
false
0.050847
0.033898
0
0.20339
0.033898
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
424250e3ca682b638af34a2e885acb31e8f58e15
1,169
py
Python
lib/MessageFormatter.py
Monofraps/Mocca
0f4a1f5690fad457aaf4ea26d3d0271b34c6e187
[ "MIT" ]
null
null
null
lib/MessageFormatter.py
Monofraps/Mocca
0f4a1f5690fad457aaf4ea26d3d0271b34c6e187
[ "MIT" ]
4
2015-01-09T18:02:51.000Z
2015-01-10T01:06:58.000Z
lib/MessageFormatter.py
Monofraps/Mocca
0f4a1f5690fad457aaf4ea26d3d0271b34c6e187
[ "MIT" ]
null
null
null
from . import TermColors V_ERROR = 0 V_INFO = 1 V_DEBUG = 2 verbosity = V_INFO def mocca_info(msg): """ Prints a formatted info message to stdout :param msg: The message to output """ if _should_log(V_INFO): print(colorize_message("{0}> {1}".format('_' * 20, msg), TermColors.INFO)) de...
21.648148
82
0.654405
162
1,169
4.54321
0.314815
0.07337
0.040761
0.077446
0.350543
0.33288
0.33288
0.33288
0.33288
0.216033
0
0.019824
0.223268
1,169
53
83
22.056604
0.790749
0.307956
0
0
0
0
0.04878
0
0
0
0
0
0
1
0.285714
false
0
0.047619
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1