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
0a60b7ac8fac8dd5872f080cae46107ec7c268fd
729
py
Python
tests/test_triggers.py
trendels/schemainspect
d1cf961ce628db517400dbb227b2211bf9e71e3a
[ "Unlicense" ]
36
2017-03-08T15:00:45.000Z
2022-03-11T13:17:02.000Z
tests/test_triggers.py
trendels/schemainspect
d1cf961ce628db517400dbb227b2211bf9e71e3a
[ "Unlicense" ]
61
2016-08-14T07:06:40.000Z
2022-03-18T16:56:09.000Z
tests/test_triggers.py
trendels/schemainspect
d1cf961ce628db517400dbb227b2211bf9e71e3a
[ "Unlicense" ]
43
2017-10-12T12:50:13.000Z
2022-03-11T07:41:10.000Z
from sqlbag import S from schemainspect import get_inspector BASE = """ CREATE TABLE "my_table" ( "some_text" text, "some_count" int ); CREATE VIEW "view_on_table" AS SELECT some_text, some_count FROM my_table; CREATE OR REPLACE FUNCTION my_function() RETURNS trigger LANGUAGE plpgsql AS $function$ ...
18.225
64
0.685871
105
729
4.533333
0.447619
0.067227
0.069328
0.063025
0
0
0
0
0
0
0
0
0.224966
729
39
65
18.692308
0.842478
0
0
0
0
0
0.725652
0.057613
0
0
0
0
0
1
0.033333
false
0
0.066667
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a65be54b39fce2c82e9362dc580fbd740bf090a
1,172
py
Python
baselines_merl/ppo2/test_microbatches.py
yfletberliac/MERL
6eca6c3c9fa0fbd766a82ef9a85fa383b8f649c9
[ "MIT" ]
3
2019-10-25T12:01:54.000Z
2022-03-31T10:32:26.000Z
baselines_merl/ppo2/test_microbatches.py
yfletberliac/MERL
6eca6c3c9fa0fbd766a82ef9a85fa383b8f649c9
[ "MIT" ]
2
2020-04-23T16:18:03.000Z
2020-10-29T21:09:09.000Z
baselines_merl/ppo2/test_microbatches.py
yfletberliac/MERL
6eca6c3c9fa0fbd766a82ef9a85fa383b8f649c9
[ "MIT" ]
null
null
null
import gym import tensorflow as tf import numpy as np from functools import partial from baselines_merl.common.vec_env.dummy_vec_env import DummyVecEnv from baselines_merl.common.tf_util import make_session from baselines_merl.ppo2.ppo2 import learn from baselines_merl.ppo2.microbatched_model import MicrobatchedModel...
32.555556
83
0.734642
181
1,172
4.475138
0.353591
0.064198
0.083951
0.048148
0.225926
0.2
0.2
0.2
0.125926
0.125926
0
0.013198
0.159556
1,172
35
84
33.485714
0.809137
0.018771
0
0
0
0
0.019164
0
0
0
0
0
0.038462
1
0.076923
false
0
0.307692
0
0.423077
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
0a6606e11be3f6271066a5f16405ff575900d44f
918
py
Python
string_to_integer.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
string_to_integer.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
string_to_integer.py
lutianming/leetcode
848c7470ff5fd23608cc954be23732f60488ed8a
[ "MIT" ]
null
null
null
class Solution: def myAtoi(self, str): if len(str) == 0: return 0 res = 0 max_int = 2147483647 min_int = -2147483648 for i in range(0, len(str)): c = str[i] if c != ' ': break s = str[i:] pos = False ...
19.531915
37
0.360566
116
918
2.801724
0.327586
0.055385
0.073846
0.055385
0.086154
0
0
0
0
0
0
0.078475
0.514161
918
46
38
19.956522
0.650224
0
0
0.317073
0
0
0.01634
0
0
0
0
0
0
1
0.02439
false
0
0
0
0.097561
0.073171
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
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
0a68101e4ad34157dc560f40974c050e581530c9
12,813
py
Python
openstack-heat-plugin-venafi/resources/venafi_certificate.py
Venafi/openstack-heat-plugin-venafi
479bbe9f3ea762b9fc628d416e40d42788a1827b
[ "Apache-2.0" ]
4
2019-06-29T05:27:49.000Z
2020-10-17T14:31:38.000Z
openstack-heat-plugin-venafi/resources/venafi_certificate.py
Venafi/openstack-heat-plugin-venafi
479bbe9f3ea762b9fc628d416e40d42788a1827b
[ "Apache-2.0" ]
11
2019-12-26T17:31:10.000Z
2021-08-23T18:13:46.000Z
openstack-heat-plugin-venafi/resources/venafi_certificate.py
Venafi/openstack-heat-plugin-venafi
479bbe9f3ea762b9fc628d416e40d42788a1827b
[ "Apache-2.0" ]
1
2021-02-22T16:07:24.000Z
2021-02-22T16:07:24.000Z
#!/usr/bin/env python3 # # Copyright 2019 Venafi, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or...
34.723577
114
0.585109
1,399
12,813
5.195139
0.194425
0.072647
0.057237
0.070446
0.270638
0.189323
0.151486
0.108971
0.108971
0.102091
0
0.010224
0.312963
12,813
368
115
34.817935
0.815404
0.065871
0
0.223642
0
0
0.152679
0.004611
0
0
0
0
0
1
0.035144
false
0.051118
0.044728
0.00639
0.146965
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
0a6ab9730c73cc8ecd5ab6b4e7396244608e9da0
434
py
Python
setup.py
minrk/hubtraf
ebe8c6bf03d105c5e065b02dfe3770d7b97961db
[ "BSD-3-Clause" ]
null
null
null
setup.py
minrk/hubtraf
ebe8c6bf03d105c5e065b02dfe3770d7b97961db
[ "BSD-3-Clause" ]
null
null
null
setup.py
minrk/hubtraf
ebe8c6bf03d105c5e065b02dfe3770d7b97961db
[ "BSD-3-Clause" ]
null
null
null
from setuptools import find_packages, setup setup( name='hubtraf', version='0.1', url='https://github.com/yuvipanda/hubtraf', license='3-clause BSD', author='YuviPanda', author_email='yuvipanda@gmail.com', packages=find_packages(), install_requires=['aiohttp', 'structlog', 'oauthlib'], ...
24.111111
58
0.624424
45
434
5.8
0.733333
0.091954
0
0
0
0
0
0
0
0
0
0.00885
0.218894
434
17
59
25.529412
0.761062
0
0
0
0
0
0.359447
0.048387
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
0a6abe18973c528ab13e465190a65629faee0703
4,585
py
Python
scripts/attach.py
kayakboy84/bztools
b2c02ba0f0d10600f6c26c6d722a03e877b07f0f
[ "BSD-3-Clause" ]
null
null
null
scripts/attach.py
kayakboy84/bztools
b2c02ba0f0d10600f6c26c6d722a03e877b07f0f
[ "BSD-3-Clause" ]
null
null
null
scripts/attach.py
kayakboy84/bztools
b2c02ba0f0d10600f6c26c6d722a03e877b07f0f
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python import base64 import itertools import os import argparse from bugzilla.models import Bug, Attachment, Flag, User, Comment from bugzilla.agents import BugzillaAgent from bugzilla.utils import urljoin, qs, get_credentials, FILE_TYPES REVIEW = 4 class AttachmentAgent(BugzillaAgent): """Stores...
31.840278
82
0.570556
501
4,585
5.077844
0.307385
0.019654
0.046777
0.028302
0.121069
0.087264
0.048742
0
0
0
0
0.002862
0.314068
4,585
143
83
32.062937
0.806041
0.028135
0
0.021277
0
0
0.162259
0
0
0
0
0
0
0
null
null
0.031915
0.074468
null
null
0.06383
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
0a6f02866fe220044e70c97c70a3cde4434f2173
278
py
Python
gcamp_analysis_files_finished/171019-06-bottom-experiment/src/delta_video_config.py
eleanorlutz/aedes-aegypti-gcamp6s-larval-behavior
f8773525124a4138278b56f6de4fc5a9910a6319
[ "MIT" ]
null
null
null
gcamp_analysis_files_finished/171019-06-bottom-experiment/src/delta_video_config.py
eleanorlutz/aedes-aegypti-gcamp6s-larval-behavior
f8773525124a4138278b56f6de4fc5a9910a6319
[ "MIT" ]
null
null
null
gcamp_analysis_files_finished/171019-06-bottom-experiment/src/delta_video_config.py
eleanorlutz/aedes-aegypti-gcamp6s-larval-behavior
f8773525124a4138278b56f6de4fc5a9910a6319
[ "MIT" ]
null
null
null
class Config: def __init__(self): self.basename = 'delta_video' self.directory = '/home/eleanor/Documents/gcamp_analysis_files_temp/171019-06-bottom-experiment/data' self.topics = ['/multi_tracker/1/delta_video',] self.record_length_hours = 1
46.333333
109
0.697842
35
278
5.2
0.8
0.10989
0.153846
0
0
0
0
0
0
0
0
0.044053
0.183453
278
6
110
46.333333
0.757709
0
0
0
0
0
0.433692
0.394265
0
0
0
0
0
1
0.166667
false
0
0
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a4f563a0ec874f795e55ad82e71fe9b2657efdc
1,098
py
Python
e3d/synth_dataset/params.py
ZiyunClaudeWang/e3d
2efd01167350c29423babb6233907fa54156268f
[ "MIT" ]
9
2020-12-16T23:44:30.000Z
2022-02-17T12:15:59.000Z
e3d/synth_dataset/params.py
ZiyunClaudeWang/e3d
2efd01167350c29423babb6233907fa54156268f
[ "MIT" ]
null
null
null
e3d/synth_dataset/params.py
ZiyunClaudeWang/e3d
2efd01167350c29423babb6233907fa54156268f
[ "MIT" ]
2
2021-06-07T08:41:52.000Z
2022-01-28T17:34:40.000Z
from dataclasses import dataclass, field from utils.params import ParamsBase shapenet_synset_map = { 'car': '02958343', 'chair': '02691156', 'plane': '03001627' } @dataclass class Params(ParamsBase): gpu_num: int name: str config_file: str = "" # Dataset Generation Para...
24.954545
72
0.639344
133
1,098
5.112782
0.571429
0.070588
0.111765
0.147059
0.139706
0.097059
0
0
0
0
0
0.05187
0.244991
1,098
43
73
25.534884
0.768396
0.084699
0
0
0
0
0.116466
0.056225
0
0
0
0
0
1
0
false
0
0.071429
0
0.785714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a598f4e35d7f4fe5998b3ad940278a24b95d70a
5,013
py
Python
pandas_plink/test/test_reader.py
Horta/pandas-plink
b580df7f8d3c566f6cdf8da512c608fd76ff1f0c
[ "MIT" ]
69
2017-07-03T03:34:55.000Z
2022-03-08T19:35:35.000Z
pandas_plink/test/test_reader.py
Horta/pandas-plink
b580df7f8d3c566f6cdf8da512c608fd76ff1f0c
[ "MIT" ]
26
2017-08-23T13:57:07.000Z
2022-02-26T00:19:28.000Z
pandas_plink/test/test_reader.py
Horta/pandas-plink
b580df7f8d3c566f6cdf8da512c608fd76ff1f0c
[ "MIT" ]
12
2018-01-06T18:39:13.000Z
2022-03-17T01:44:18.000Z
from os.path import dirname, join, realpath import pytest from numpy import array, dtype, nan from numpy.testing import assert_array_equal, assert_equal from pandas_plink import example_file_prefix, read_plink, read_plink1_bin def test_read_plink(): datafiles = join(dirname(realpath(__file__)), "data_files") ...
31.929936
84
0.598045
759
5,013
3.740448
0.118577
0.024657
0.027474
0.023952
0.744276
0.72596
0.682282
0.62205
0.604438
0.550194
0
0.067364
0.218233
5,013
156
85
32.134615
0.657055
0
0
0.464912
0
0
0.084979
0.00778
0
0
0
0
0.201754
1
0.070175
false
0
0.04386
0
0.114035
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a5a19e437dd0e8b7d6c3ad9b223a46df5db8a8c
17,347
py
Python
tests/unit/testplan/report/test_testing.py
chiragmatkar/testplan
13ee4fdeaaa41d8eea118d77921531277ef90147
[ "Apache-2.0" ]
null
null
null
tests/unit/testplan/report/test_testing.py
chiragmatkar/testplan
13ee4fdeaaa41d8eea118d77921531277ef90147
[ "Apache-2.0" ]
null
null
null
tests/unit/testplan/report/test_testing.py
chiragmatkar/testplan
13ee4fdeaaa41d8eea118d77921531277ef90147
[ "Apache-2.0" ]
null
null
null
import functools import json import six import pytest if six.PY2: import mock else: from unittest import mock from testplan.common.utils.testing import disable_log_propagation from testplan.report.testing.base import ( Status, BaseReportGroup, TestCaseReport, TestGroupReport, TestReport,...
31.655109
79
0.630138
2,065
17,347
5.063923
0.135109
0.040164
0.021517
0.02582
0.408052
0.320838
0.263938
0.223774
0.17003
0.164101
0
0.017559
0.251456
17,347
547
80
31.71298
0.787755
0.111893
0
0.215297
0
0
0.082315
0.003088
0
0
0.00188
0
0.17847
1
0.073654
false
0.07932
0.033994
0
0.133144
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
6a5f42b0211d063ae6ae0a8cbe1c89e42d7f765a
7,046
py
Python
rqalpha/environment.py
faku24/rqalpha
22ac415a7304568e6286f0f1b3a2ae712671e091
[ "Apache-2.0" ]
null
null
null
rqalpha/environment.py
faku24/rqalpha
22ac415a7304568e6286f0f1b3a2ae712671e091
[ "Apache-2.0" ]
null
null
null
rqalpha/environment.py
faku24/rqalpha
22ac415a7304568e6286f0f1b3a2ae712671e091
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # 版权所有 2019 深圳米筐科技有限公司(下称“米筐科技”) # # 除非遵守当前许可,否则不得使用本软件。 # # * 非商业用途(非商业用途指个人出于非商业目的使用本软件,或者高校、研究所等非营利机构出于教育、科研等目的使用本软件): # 遵守 Apache License 2.0(下称“Apache 2.0 许可”), # 您可以在以下位置获得 Apache 2.0 许可的副本:http://www.apache.org/licenses/LICENSE-2.0。 # 除非法律有要求或以书面形式达成协议,否则本软件分发时...
37.280423
115
0.700823
882
7,046
5.293651
0.21542
0.044335
0.054187
0.022489
0.315699
0.255087
0.226815
0.192761
0.152067
0.11737
0
0.003441
0.216293
7,046
188
116
37.478723
0.842086
0.148311
0
0.078125
0
0
0.024189
0.004704
0
0
0
0
0
1
0.25
false
0
0.085938
0.078125
0.484375
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
6a697fa4b4dc44c724b6afb3029cdb650b07407e
260
py
Python
analemma/__init__.py
jeffseif/analemma
8c0018e7ba127bfc62b60658dc0486c1c10f2b5c
[ "BSD-3-Clause" ]
null
null
null
analemma/__init__.py
jeffseif/analemma
8c0018e7ba127bfc62b60658dc0486c1c10f2b5c
[ "BSD-3-Clause" ]
null
null
null
analemma/__init__.py
jeffseif/analemma
8c0018e7ba127bfc62b60658dc0486c1c10f2b5c
[ "BSD-3-Clause" ]
null
null
null
__author__ = 'Jeffrey Seifried' __description__ = 'A library for forecasting sun positions' __email__ = 'jeffrey.seifried@gmail.com' __program__ = 'analemma' __url__ = 'http://github.com/jeffseif/{}'.format(__program__) __version__ = '1.0.0' __year__ = '2020'
32.5
61
0.753846
30
260
5.466667
0.833333
0.182927
0
0
0
0
0
0
0
0
0
0.030043
0.103846
260
7
62
37.142857
0.67382
0
0
0
0
0
0.488462
0.1
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
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a6a34bf80e8a9f1951bc7749ff4d37d80bfedb4
352
py
Python
api/migrations/0004_rename_message_todo_text.py
jadsonlucio/TodoApp
0aaa0f0aa6753516b7fe4957ef5b64a13627fb46
[ "MIT" ]
1
2021-06-08T00:57:53.000Z
2021-06-08T00:57:53.000Z
api/migrations/0004_rename_message_todo_text.py
jadsonlucio/TodoApp
0aaa0f0aa6753516b7fe4957ef5b64a13627fb46
[ "MIT" ]
1
2021-04-10T05:51:51.000Z
2021-04-10T05:51:51.000Z
api/migrations/0004_rename_message_todo_text.py
jadsonlucio/TodoApp
0aaa0f0aa6753516b7fe4957ef5b64a13627fb46
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-04-09 02:32 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('api', '0003_todo_create_date'), ] operations = [ migrations.RenameField( model_name='todo', old_name='message', ne...
18.526316
45
0.573864
38
352
5.157895
0.815789
0
0
0
0
0
0
0
0
0
0
0.07438
0.3125
352
18
46
19.555556
0.735537
0.122159
0
0
1
0
0.127036
0.068404
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a7277581e3067affe9795ac10ecda4522b8b48b
466
py
Python
setup.py
jelukas/django-regex-redirects
87e677ed9e98cd31b31435c7eaee5db7217da240
[ "BSD-3-Clause" ]
null
null
null
setup.py
jelukas/django-regex-redirects
87e677ed9e98cd31b31435c7eaee5db7217da240
[ "BSD-3-Clause" ]
null
null
null
setup.py
jelukas/django-regex-redirects
87e677ed9e98cd31b31435c7eaee5db7217da240
[ "BSD-3-Clause" ]
1
2021-08-30T10:51:14.000Z
2021-08-30T10:51:14.000Z
# -*- coding: utf-8 -*- from distutils.core import setup from setuptools import find_packages setup( name='django-regex-redirects', version='0.0.8', author=u'Alex de Landgraaf', author_email='alex@maykinmedia.nl', packages=find_packages(), url='https://github.com/maykinmedia/django-regex-redir...
27.411765
64
0.712446
59
466
5.542373
0.711864
0.073395
0.122324
0
0
0
0
0
0
0
0
0.010127
0.152361
466
16
65
29.125
0.817722
0.045064
0
0
0
0
0.419865
0.049661
0
0
0
0
0
1
0
true
0
0.153846
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6a7a1622c213b73d369d63dc42c586be40bfa6e6
953
py
Python
anarchoApp/anarcho/models/build.py
nrudenko/anarcho
99930bf720ea56518a9c4c2efcf99d8987531193
[ "MIT" ]
7
2015-03-03T15:59:58.000Z
2019-10-10T06:15:40.000Z
anarchoApp/anarcho/models/build.py
nrudenko/anarcho
99930bf720ea56518a9c4c2efcf99d8987531193
[ "MIT" ]
68
2015-02-03T21:39:00.000Z
2021-06-20T22:41:11.000Z
anarchoApp/anarcho/models/build.py
nrudenko/anarcho
99930bf720ea56518a9c4c2efcf99d8987531193
[ "MIT" ]
4
2015-02-25T09:49:49.000Z
2015-10-29T09:07:23.000Z
import time from sqlalchemy import Column, Integer, String, ForeignKey from anarcho import db from sqlalchemy.orm import relationship, backref class Build(db.Model): __tablename__ = "builds" id = Column('build_id', Integer, primary_key=True) app_key = Column('app_key', String, ForeignKey('apps.app_key'))...
34.035714
86
0.70724
122
953
5.204918
0.344262
0.066142
0.047244
0.053543
0
0
0
0
0
0
0
0
0.18468
953
27
87
35.296296
0.817246
0
0
0
0
0
0.12277
0
0
0
0
0
0
1
0.095238
false
0
0.190476
0.047619
0.761905
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
6a7cf706d098be38efb6feee8d127ba46054547b
4,104
py
Python
twitchio/ext/webhooks/utils.py
tesence/TwitchIO
3362a916f5facb2ee9c271c663d229947ae69f0b
[ "MIT" ]
null
null
null
twitchio/ext/webhooks/utils.py
tesence/TwitchIO
3362a916f5facb2ee9c271c663d229947ae69f0b
[ "MIT" ]
null
null
null
twitchio/ext/webhooks/utils.py
tesence/TwitchIO
3362a916f5facb2ee9c271c663d229947ae69f0b
[ "MIT" ]
null
null
null
""" The MIT License (MIT) Copyright (c) 2017-2020 TwitchIO 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...
33.639344
115
0.711257
506
4,104
5.590909
0.450593
0.031106
0.03959
0.04666
0.090491
0.062213
0.062213
0.062213
0
0
0
0.006603
0.188109
4,104
121
116
33.917355
0.842437
0.357943
0
0.115385
0
0
0.206736
0.045296
0
0
0
0
0
1
0.076923
false
0
0.115385
0
0.634615
0.057692
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
6a846302bc39a6fa4d6b49650e9dfa52de3e8d26
5,473
py
Python
pychron/data_mapper/view.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
31
2016-03-07T02:38:17.000Z
2022-02-14T18:23:43.000Z
pychron/data_mapper/view.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
1,626
2015-01-07T04:52:35.000Z
2022-03-25T19:15:59.000Z
pychron/data_mapper/view.py
UIllinoisHALPychron/pychron
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
[ "Apache-2.0" ]
26
2015-05-23T00:10:06.000Z
2022-03-07T16:51:57.000Z
# =============================================================================== # Copyright 2016 Jake Ross # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses...
32.96988
101
0.532615
470
5,473
6.070213
0.408511
0.02103
0.022433
0.017876
0.202243
0.202243
0.150368
0.150368
0.133894
0.133894
0
0.006378
0.312443
5,473
165
102
33.169697
0.751794
0.403983
0
0.178947
0
0
0.126205
0.034193
0
0
0
0
0
1
0.063158
false
0
0.273684
0.010526
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a8b18b8ef425e14604a2bb259efe8656376636b
1,233
py
Python
setup.py
Piteryo/rnnmorph
b324e90819ef32a608784ef88166da9f1806d546
[ "Apache-2.0" ]
1
2021-08-30T21:34:37.000Z
2021-08-30T21:34:37.000Z
setup.py
Piteryo/rnnmorph
b324e90819ef32a608784ef88166da9f1806d546
[ "Apache-2.0" ]
null
null
null
setup.py
Piteryo/rnnmorph
b324e90819ef32a608784ef88166da9f1806d546
[ "Apache-2.0" ]
null
null
null
from setuptools import find_packages, setup setup( name='rnnmorph', packages=find_packages(), version='0.4.0', description='RNNMorph: neural network disambiguation of pymorphy2 parses for precise ' 'POS-tagging in Russian language.', author='Ilya Gusev', author_email='phoenixily...
29.357143
90
0.577453
139
1,233
5.079137
0.640288
0.033994
0.008499
0.048159
0.096317
0.096317
0
0
0
0
0
0.045405
0.249797
1,233
41
91
30.073171
0.717838
0
0
0.055556
0
0.027778
0.554745
0.017032
0
0
0
0
0
1
0
true
0
0.027778
0
0.027778
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
6a8e3591f99bf8c9e5a44dbc70a834ce2a4a3898
930
py
Python
Curso_em_Video_Exercicios/ex045.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex045.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
Curso_em_Video_Exercicios/ex045.py
Cohuzer/Exercicios-do-Curso-em-Video
879cbb53c54ba226e12d9972bc28eadcd521fc10
[ "MIT" ]
null
null
null
#Jokenpo import random import time itens = ('PEDRA', 'PAPEL', 'TESOURA') pc = random.randint(0, 2) print('\033[1;34m-=' * 20) p = int(input('''QUAL SUA JOGADA? [ 0 ] PARA PEDRA [ 1 ] PARA PAPEL [ 2 ]PARA TESOURA''')) print('-=' * 20) time.sleep(1) print('JÔ') time.sleep(1) print('KEN') time.sleep(0.5) print('PO') time....
27.352941
68
0.591398
158
930
3.481013
0.322785
0.087273
0.098182
0.092727
0.261818
0.261818
0.261818
0.261818
0.261818
0.261818
0
0.082677
0.180645
930
33
69
28.181818
0.639108
0.007527
0
0.21875
0
0
0.318872
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.5
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
6a8f1c337ccfda0dd3b9236d04a28b762ecf5b4c
596
py
Python
software/bring_up/harvest_try1/src/vision_server.py
FBTUG/FarmHarvestBot
092431956c8e429535018e33fd40cee59a9af8e4
[ "MIT" ]
8
2018-09-06T12:31:41.000Z
2019-04-19T12:38:28.000Z
software/bring_up/harvest_try1/src/vision_server.py
Sam-Wang/FarmHarvestBot
4736091e3b4e086fa1023dd879531aa41b649889
[ "MIT" ]
null
null
null
software/bring_up/harvest_try1/src/vision_server.py
Sam-Wang/FarmHarvestBot
4736091e3b4e086fa1023dd879531aa41b649889
[ "MIT" ]
1
2018-11-15T13:41:14.000Z
2018-11-15T13:41:14.000Z
#!/usr/bin/env python from harvest_try1.srv import * import rospy fruit_pos_idx=0 def handle_fruit_pos(req): rospy.loginfo("vision_server get request! Ignore useless input %s , %s ]"%(req.a, req.b)) global fruit_pos_idx fruit_pos_idx +=1 if fruit_pos_idx % 5 ==0: fruit_pos_idx = 0 return fr...
27.090909
93
0.704698
91
596
4.252747
0.483516
0.206718
0.170543
0.062016
0
0
0
0
0
0
0
0.01227
0.17953
596
21
94
28.380952
0.779141
0.033557
0
0.117647
0
0
0.210435
0
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.294118
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
6a91ec020c90707453191c848e99f611899ca133
592
py
Python
backend/src/app/request.py
sdediego/blockchain
786246c3fc4d80a827d5a6f54e2257b836cc1cf3
[ "MIT" ]
null
null
null
backend/src/app/request.py
sdediego/blockchain
786246c3fc4d80a827d5a6f54e2257b836cc1cf3
[ "MIT" ]
null
null
null
backend/src/app/request.py
sdediego/blockchain
786246c3fc4d80a827d5a6f54e2257b836cc1cf3
[ "MIT" ]
null
null
null
# encoding: utf-8 import uuid from fastapi import Request as BaseRequest from starlette.datastructures import Headers class Request(BaseRequest): """ Request with a unique X-Request-ID header. """ def _set_request_id_header(self): request_id = uuid.uuid4().hex.encode('latin-1') self...
24.666667
67
0.662162
75
592
5.053333
0.48
0.14248
0.118734
0.094987
0.116095
0
0
0
0
0
0
0.006536
0.224662
592
23
68
25.73913
0.819172
0.099662
0
0
0
0
0.065764
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6a92fee20cd33581e0d22dad02dfd0235becd673
4,833
py
Python
lang/py/src/avro/tool.py
pa009fa/avro
134c2bd582a57f1d5941a5cecbc09316eb68d5e1
[ "Apache-2.0" ]
1
2022-03-11T22:35:52.000Z
2022-03-11T22:35:52.000Z
lang/py/src/avro/tool.py
mulesoft-labs/avro
17020f5f63c3a5bd656ff38ef472b568bfd8317a
[ "Apache-2.0" ]
null
null
null
lang/py/src/avro/tool.py
mulesoft-labs/avro
17020f5f63c3a5bd656ff38ef472b568bfd8317a
[ "Apache-2.0" ]
1
2019-10-18T01:08:46.000Z
2019-10-18T01:08:46.000Z
#! /usr/bin/env python # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "L...
32.877551
79
0.680323
670
4,833
4.780597
0.313433
0.019981
0.024352
0.019981
0.295973
0.295973
0.244146
0.215423
0.215423
0.189822
0
0.011012
0.210842
4,833
146
80
33.10274
0.828789
0.172771
0
0.401786
0
0
0.105182
0.006414
0
0
0
0
0
0
null
null
0
0.044643
null
null
0.125
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
6a969a5fa67a30b16eff79253ea3983fba7a0c56
746
py
Python
SCTF/2017 Quals/labyrinth/pid_scan.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
1
2021-08-24T22:16:41.000Z
2021-08-24T22:16:41.000Z
SCTF/2017 Quals/labyrinth/pid_scan.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
null
null
null
SCTF/2017 Quals/labyrinth/pid_scan.py
PurpEth/solved-hacking-problem
6f289d1647eb9c091caa580c7aae673e3ba02952
[ "Unlicense" ]
null
null
null
from pwn import * import sys def dump_file(filename): p.recvuntil('4. exit\n> ') p.sendline('3') p.recvuntil('KEY>') p.sendline(filename) p = remote('labyrinth.eatpwnnosleep.com', 10000) g = log.progress('pid') for pid in range(int(sys.argv[1]) if len(sys.argv) > 1 else 0, 100000): while True: ...
25.724138
71
0.52681
95
746
4.105263
0.589474
0.076923
0.082051
0.148718
0.189744
0.189744
0
0
0
0
0
0.045276
0.319035
746
28
72
26.642857
0.722441
0
0
0.086957
0
0
0.160858
0.072386
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.086957
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
6a990231532ca3ec1a4fe6cab7d851d5de957a01
1,866
py
Python
src/mobi/devices/tests/test_doctest_wurfl_parsing.py
vsobolmaven/mobi.devices
90aa22bda5e05f8a49bd752d485145756f134d5c
[ "BSD-4-Clause" ]
1
2019-04-29T14:21:41.000Z
2019-04-29T14:21:41.000Z
src/mobi/devices/tests/test_doctest_wurfl_parsing.py
vsobolmaven/mobi.devices
90aa22bda5e05f8a49bd752d485145756f134d5c
[ "BSD-4-Clause" ]
null
null
null
src/mobi/devices/tests/test_doctest_wurfl_parsing.py
vsobolmaven/mobi.devices
90aa22bda5e05f8a49bd752d485145756f134d5c
[ "BSD-4-Clause" ]
1
2019-12-19T13:31:32.000Z
2019-12-19T13:31:32.000Z
# Copyright (c) 2010 Infrae. All rights reserved. # See also LICENSE.txt. """ We will start by initializing the database from wurfl stream. It should return a tuple (db, index) >>> from mobi.devices.index.radixtree import NOTSET >>> from mobi.devices.wurfl.db import initialize_db >>> db, index = initialize...
24.552632
74
0.648982
243
1,866
4.876543
0.477366
0.064979
0.050633
0.063291
0.087764
0.087764
0
0
0
0
0
0.009622
0.220257
1,866
75
75
24.88
0.804811
0.668274
0
0.148148
0
0
0.009836
0
0
0
0
0
0
1
0.111111
false
0.074074
0.185185
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
6a9be1e1f5082527245f820c56a4d19b1b4126d2
553
py
Python
server/system/tournament_admin/forms.py
eIGato/mahjong-portal
550a2a872c4287adab6ce30c3440dc2141430a20
[ "MIT" ]
null
null
null
server/system/tournament_admin/forms.py
eIGato/mahjong-portal
550a2a872c4287adab6ce30c3440dc2141430a20
[ "MIT" ]
null
null
null
server/system/tournament_admin/forms.py
eIGato/mahjong-portal
550a2a872c4287adab6ce30c3440dc2141430a20
[ "MIT" ]
null
null
null
from django import forms from tournament.models import Tournament class UploadResultsForm(forms.Form): csv_file = forms.FileField() switch_names = forms.BooleanField(required=False) ema = forms.BooleanField(required=False) class TournamentForm(forms.ModelForm): class Meta: model = Tournamen...
23.041667
53
0.611212
52
553
6.307692
0.615385
0.103659
0.152439
0.182927
0
0
0
0
0
0
0
0
0.300181
553
23
54
24.043478
0.847545
0
0
0
0
0
0.162749
0.097649
0
0
0
0
0
1
0
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6a9d9113f116114a462ef619264618ab98616e3b
766
py
Python
keymaps.py
ben174/pydvorak
8f6545674cdf11eec63ceb9e8a9aca93e3029b41
[ "MIT" ]
2
2015-06-18T18:38:37.000Z
2016-01-19T06:11:17.000Z
keymaps.py
ben174/pydvorak
8f6545674cdf11eec63ceb9e8a9aca93e3029b41
[ "MIT" ]
null
null
null
keymaps.py
ben174/pydvorak
8f6545674cdf11eec63ceb9e8a9aca93e3029b41
[ "MIT" ]
null
null
null
class Mapper(object): """ A base clap from which to ineherit in order to create a keyboard mapper. """ def __init__(self): self.base_map = None self.alt_map = None self.map = None def create_map(self): self.map = dict(zip(self.base_map, self.alt_map)) def map_key(self, ...
31.916667
84
0.622715
100
766
4.56
0.41
0.061404
0.072368
0
0
0
0
0
0
0
0
0.034783
0.249347
766
23
85
33.304348
0.758261
0.152742
0
0.117647
0
0
0.07874
0.056693
0
0
0
0
0
1
0.235294
false
0
0
0
0.470588
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
6a9dbdbadcc03dacd62de8958155af9d193558a5
4,044
py
Python
sigma/forensicstore_backend.py
forensicanalysis/elementary-plugins
558861a6d3843a1d521be614e8bff3ec9cca36f4
[ "Apache-2.0" ]
2
2020-06-04T18:11:39.000Z
2020-07-07T14:10:03.000Z
sigma/forensicstore_backend.py
forensicanalysis/elementary-plugins
558861a6d3843a1d521be614e8bff3ec9cca36f4
[ "Apache-2.0" ]
49
2020-05-26T13:19:32.000Z
2022-03-07T14:55:50.000Z
sigma/forensicstore_backend.py
forensicanalysis/elementary-plugins
558861a6d3843a1d521be614e8bff3ec9cca36f4
[ "Apache-2.0" ]
2
2020-06-08T10:58:29.000Z
2020-09-26T14:27:05.000Z
# Copyright (c) 2020 Siemens AG # # 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, publish, distribu...
41.265306
112
0.655045
500
4,044
5.266
0.382
0.033422
0.039878
0.03646
0.24041
0.210406
0.188378
0.188378
0.161793
0.161793
0
0.001314
0.247033
4,044
97
113
41.690722
0.863383
0.363501
0
0.314815
0
0
0.159073
0.010212
0
0
0
0
0
1
0.111111
false
0
0.037037
0
0.537037
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
6aa08b32ae3351c91e93ae515d645ad64bf2f560
10,088
py
Python
qa/rpc-tests/wallet_shieldcoinbase.py
egyptianbman/zelcash
4561a9af62611e4bf0edfb0a4294ed48cc013026
[ "MIT" ]
2
2020-08-05T12:22:35.000Z
2020-08-29T03:32:24.000Z
qa/rpc-tests/wallet_shieldcoinbase.py
egyptianbman/zelcash
4561a9af62611e4bf0edfb0a4294ed48cc013026
[ "MIT" ]
null
null
null
qa/rpc-tests/wallet_shieldcoinbase.py
egyptianbman/zelcash
4561a9af62611e4bf0edfb0a4294ed48cc013026
[ "MIT" ]
6
2018-03-11T03:30:03.000Z
2018-04-19T06:01:24.000Z
#!/usr/bin/env python # Copyright (c) 2017 The Zcash developers # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. import sys; assert sys.version_info < (3,), ur"This script does not run under Python 3. Please use Python 2.7.x." fro...
46.92093
133
0.654243
1,295
10,088
4.962934
0.22471
0.092423
0.051346
0.023961
0.53213
0.451688
0.414657
0.341839
0.315855
0.220321
0
0.042534
0.237906
10,088
214
134
47.140187
0.793444
0.208069
0
0.378205
0
0
0.104298
0.008545
0
0
0
0
0.269231
0
null
null
0
0.038462
null
null
0.012821
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
6aa17f166536b51d7cbe1b84269d50977a9fe705
1,056
py
Python
test/e2e/htdocs/cgi/hecho.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
test/e2e/htdocs/cgi/hecho.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
test/e2e/htdocs/cgi/hecho.py
notroj/mod_h2
dfe2b46068d92872084a22efc7e5229651889711
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import cgi, os import cgitb; cgitb.enable() status = '200 Ok' try: form = cgi.FieldStorage() # A nested FieldStorage instance holds the file name = form['name'].value value = '' try: value = form['value'].value except KeyError: value = os.environ...
22.468085
73
0.574811
137
1,056
4.423358
0.452555
0.066007
0.079208
0.09901
0.108911
0.108911
0.108911
0.108911
0
0
0
0.015287
0.256629
1,056
46
74
22.956522
0.756688
0.087121
0
0.323529
0
0
0.50365
0.081335
0
0
0
0
0
0
null
null
0.029412
0.058824
null
null
0.205882
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
6aa3d321c76cca9c7453c640815da9acb8c9f0fe
438
py
Python
backend/django/core/migrations/0007_auto_20170621_1904.py
rubentea16/SMART
b851bef46b038d80389adcca00caadb4ec88eac2
[ "MIT" ]
1
2021-11-14T12:08:26.000Z
2021-11-14T12:08:26.000Z
backend/django/core/migrations/0007_auto_20170621_1904.py
rubentea16/SMART
b851bef46b038d80389adcca00caadb4ec88eac2
[ "MIT" ]
4
2021-03-09T17:00:12.000Z
2021-09-29T17:31:07.000Z
backend/django/core/migrations/0007_auto_20170621_1904.py
rubentea16/SMART
b851bef46b038d80389adcca00caadb4ec88eac2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.1 on 2017-06-21 19:04 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0006_assigneddata_assigned_timestamp'), ] operations = [ migrations.AlterUn...
21.9
57
0.630137
45
438
5.933333
0.822222
0
0
0
0
0
0
0
0
0
0
0.063444
0.244292
438
19
58
23.052632
0.743202
0.155251
0
0
1
0
0.166213
0.098093
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6aa4d0e42e65959a7a5b32749a6ed3b8c8edc8a7
4,136
py
Python
demo.py
cvcore/RAFT
e32a016853f566b80db401853479a307878b30eb
[ "BSD-3-Clause" ]
null
null
null
demo.py
cvcore/RAFT
e32a016853f566b80db401853479a307878b30eb
[ "BSD-3-Clause" ]
null
null
null
demo.py
cvcore/RAFT
e32a016853f566b80db401853479a307878b30eb
[ "BSD-3-Clause" ]
null
null
null
""" Demo script modified Generates forward and backward flow for cityscapes sequence. T0 = 19 T1 = 19+[1..10] Uses two GPUs, one for fwd and the other for bwd """ import sys sys.path.append('core') import argparse import os import cv2 import glob import numpy as np import torch from PIL import Image fr...
32.062016
112
0.619923
604
4,136
4.092715
0.30298
0.024272
0.018204
0.020227
0.192557
0.135113
0.084951
0.026699
0
0
0
0.037025
0.229449
4,136
128
113
32.3125
0.738626
0.116296
0
0
1
0
0.149365
0.044727
0
0
0
0
0
1
0.050633
false
0
0.164557
0
0.227848
0.063291
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
6aa9149a69015a8f8e437e12d71d8e5331f90cd9
2,257
py
Python
salesforce_launch.py
lflaszlo/alfred-salesforce
07a68be4abd0b3a86a5f54384c69c43df327fdd1
[ "Apache-2.0" ]
14
2018-06-29T02:38:53.000Z
2022-03-30T21:59:49.000Z
salesforce_launch.py
lflaszlo/alfred-salesforce
07a68be4abd0b3a86a5f54384c69c43df327fdd1
[ "Apache-2.0" ]
7
2017-11-03T19:28:20.000Z
2022-03-22T08:06:05.000Z
salesforce_launch.py
lflaszlo/alfred-salesforce
07a68be4abd0b3a86a5f54384c69c43df327fdd1
[ "Apache-2.0" ]
5
2017-11-03T19:26:48.000Z
2021-11-14T17:06:18.000Z
#!/usr/bin/python # encoding: utf-8 from workflow import Workflow, ICON_WEB, ICON_WARNING, PasswordNotFound from workflow.notify import notify from workflow.web import get import sys import salesforce_api import subprocess import os def main(wf): # Get query from Alfred if len(wf.args): query = wf....
25.077778
78
0.606114
284
2,257
4.658451
0.373239
0.045351
0.045351
0.018141
0.101285
0.072562
0.072562
0.072562
0.072562
0.072562
0
0.009709
0.269827
2,257
90
79
25.077778
0.793083
0.042977
0
0.116667
0
0
0.211967
0
0
0
0
0
0
1
0.016667
false
0.1
0.116667
0
0.133333
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
6aaa2be91b23b5d43685c663612d9bb973ffb2db
1,818
py
Python
prepare_cluste_xmatch_join.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
prepare_cluste_xmatch_join.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
prepare_cluste_xmatch_join.py
kcotar/Stellar_abudance_trees
1a4377ef53a4b4c8df1be860598a70be31626110
[ "MIT" ]
null
null
null
import os from astropy.table import Table, vstack from glob import glob import numpy as np from astropy import units as un import astropy.coordinates as coord data_dir = '/home/klemen/data4_mount/' kharchenko_subdir = 'clusters/Kharchenko_2013/stars/' fits_files = glob(data_dir + kharchenko_subdir + '2m_*.fits') prin...
36.36
105
0.734323
289
1,818
4.307958
0.33564
0.06747
0.062651
0.033735
0.08996
0.046586
0
0
0
0
0
0.018331
0.129813
1,818
49
106
37.102041
0.768647
0.034653
0
0.054054
0
0
0.145143
0.045714
0
0
0
0
0
0
null
null
0
0.162162
null
null
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6aaeb0087389ef31edc4a6d5725610a495d6af41
2,862
py
Python
tests/async/test_check.py
tumregels/playwright-python
1936c529b67d718940bfdc6d872f0181518d912c
[ "Apache-2.0" ]
2
2020-11-25T03:51:11.000Z
2021-01-24T20:24:57.000Z
tests/async/test_check.py
tumregels/playwright-python
1936c529b67d718940bfdc6d872f0181518d912c
[ "Apache-2.0" ]
2
2021-06-08T22:14:31.000Z
2022-01-13T03:11:08.000Z
tests/async/test_check.py
tumregels/playwright-python
1936c529b67d718940bfdc6d872f0181518d912c
[ "Apache-2.0" ]
1
2020-12-10T10:53:40.000Z
2020-12-10T10:53:40.000Z
# Copyright (c) Microsoft Corporation. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in wri...
34.071429
100
0.702306
384
2,862
5.127604
0.257813
0.123413
0.05485
0.10513
0.57034
0.526155
0.468766
0.445912
0.401219
0.401219
0
0.001663
0.159679
2,862
83
101
34.481928
0.817048
0.193571
0
0.522727
0
0.045455
0.323069
0.135285
0
0
0
0
0.204545
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
6ab23c164f00107077192a6d73f8f60a9fa4e349
1,968
py
Python
app/cli/ripda-cli.py
isakruas/ripda
a85e04be6f2d019a294a284e16b55b533cd32c33
[ "MIT" ]
3
2021-06-05T13:05:49.000Z
2021-06-08T12:01:16.000Z
app/cli/ripda-cli.py
isakruas/ripda
a85e04be6f2d019a294a284e16b55b533cd32c33
[ "MIT" ]
null
null
null
app/cli/ripda-cli.py
isakruas/ripda
a85e04be6f2d019a294a284e16b55b533cd32c33
[ "MIT" ]
1
2021-06-05T13:06:15.000Z
2021-06-05T13:06:15.000Z
import sys import json from __wallet__ import * from __blockchain__ import * from __miner__ import * from __transaction__ import * CLI_VERSION = '0.0.1.dev1' # Módulos aceitos modules = 'wallet', 'blockchain', 'miner', 'transaction' # Métodos permitidos para cada módulo methods = { 'wallet': ('create',), 'b...
23.152941
104
0.489329
229
1,968
4.056769
0.362445
0.037675
0.048439
0.058127
0.187298
0.116254
0.116254
0.116254
0.116254
0.116254
0
0.038521
0.340447
1,968
84
105
23.428571
0.677196
0.025915
0
0.138462
0
0.030769
0.361547
0.014107
0
0
0
0.011905
0
1
0
false
0
0.092308
0
0.092308
0.092308
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
6ab38ad4ea4a076ccad33b8caa4647a11eb6a2ff
719
py
Python
Simulation/robot_arm_simulator_v3/src/arm_control_script.py
zestyoreo/ITSP-21
1f7cd88c62b585d04866db40beea811e23cdd732
[ "MIT" ]
null
null
null
Simulation/robot_arm_simulator_v3/src/arm_control_script.py
zestyoreo/ITSP-21
1f7cd88c62b585d04866db40beea811e23cdd732
[ "MIT" ]
null
null
null
Simulation/robot_arm_simulator_v3/src/arm_control_script.py
zestyoreo/ITSP-21
1f7cd88c62b585d04866db40beea811e23cdd732
[ "MIT" ]
null
null
null
#!/usr/bin/env python import rospy from std_msgs.msg import Int32 def sequence_initiator(): utensil_type = int(input("Enter the code of the sequence to be initiated (0,1,2). And enter 9 for shutdown.")) pub = rospy.Publisher('sequence_initiator', Int32, queue_size=10) rospy.init_node('sequence_initiator_pu...
34.238095
118
0.688456
101
719
4.693069
0.534653
0.14346
0.059072
0.080169
0.337553
0.337553
0.337553
0.337553
0.337553
0.337553
0
0.031524
0.205841
719
20
119
35.95
0.798599
0.034771
0
0.117647
0
0.117647
0.312139
0.040462
0
0
0
0
0
1
0.058824
false
0.058824
0.117647
0
0.176471
0.058824
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
6abb9df245c1da23c6e600bed5b3a568d0d325a5
1,216
py
Python
core/data_extractor.py
monstaHD/photo_organizer
1911e20a9d6e905f304565c1ae84e2f724e3d043
[ "MIT" ]
null
null
null
core/data_extractor.py
monstaHD/photo_organizer
1911e20a9d6e905f304565c1ae84e2f724e3d043
[ "MIT" ]
null
null
null
core/data_extractor.py
monstaHD/photo_organizer
1911e20a9d6e905f304565c1ae84e2f724e3d043
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import sys import plac import numpy as np import matplotlib.pyplot as plt import caffe import cv2 from repository import Repository def main(imgs_path, deploy_path, weights_path, blob_name="pool5/7x7_s1", shape=(3, 224, 224), mean_values=(104, 117, 123)): ch...
28.952381
124
0.698191
185
1,216
4.437838
0.47027
0.038977
0.058465
0.051157
0.058465
0
0
0
0
0
0
0.030918
0.148849
1,216
42
125
28.952381
0.762319
0.065789
0
0
0
0
0.041446
0
0
0
0
0
0
0
null
null
0
0.275862
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
6abe5f23671c33af54c161728522350801b262f7
3,479
py
Python
api/backoffice/resources.py
ideabosque/DataWald-AWS
3ea905a40526dad3cb0eff92167c1e4230aa4aa9
[ "MIT" ]
null
null
null
api/backoffice/resources.py
ideabosque/DataWald-AWS
3ea905a40526dad3cb0eff92167c1e4230aa4aa9
[ "MIT" ]
null
null
null
api/backoffice/resources.py
ideabosque/DataWald-AWS
3ea905a40526dad3cb0eff92167c1e4230aa4aa9
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import print_function __author__ = 'bibow' import json, os, traceback, sys import logging logger = logging.getLogger() logger.setLevel(eval(os.environ["LOGGINGLEVEL"])) from decimal import Decimal from models import OrdersModel, ItemReceiptsModel, CustomersMo...
49
86
0.643288
290
3,479
7.672414
0.293103
0.175281
0.072809
0.056629
0.497079
0.453034
0.414382
0.414382
0
0
0
0.002235
0.228227
3,479
70
87
49.7
0.826443
0.015234
0
0.238095
0
0
0.210634
0.092025
0
0
0
0.014286
0
1
0.015873
false
0
0.079365
0
0.253968
0.015873
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
6abe7924d9a532b5135d887f2800a4bdba20f8e0
2,887
py
Python
simple_cgi_python_server.py
DuCalixte/stock_scraper
037b4325931650af48a83e70b5866c5ea25da1c6
[ "MIT" ]
null
null
null
simple_cgi_python_server.py
DuCalixte/stock_scraper
037b4325931650af48a83e70b5866c5ea25da1c6
[ "MIT" ]
1
2015-02-07T22:35:16.000Z
2015-02-07T22:35:16.000Z
simple_cgi_python_server.py
DuCalixte/stock_scraper
037b4325931650af48a83e70b5866c5ea25da1c6
[ "MIT" ]
null
null
null
#!/usr/bin/python from BaseHTTPServer import BaseHTTPRequestHandler,HTTPServer from os import curdir, sep import sys, getopt import cgi class ServerHandler(BaseHTTPRequestHandler): # Handler for the GET requests def do_GET(self): if self.path=="/": self.path="/app/views/index.html" try: # Check the file ...
27.495238
83
0.663318
399
2,887
4.724311
0.370927
0.059416
0.05305
0.076393
0.229708
0.188329
0.043501
0.043501
0.043501
0.043501
0
0.009867
0.192587
2,887
104
84
27.759615
0.798799
0.139591
0
0.246914
0
0
0.200889
0.039208
0
0
0
0
0
0
null
null
0
0.049383
null
null
0.061728
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
6abf2680c937b416e753e479d872b4370c1e2b81
3,987
py
Python
bbg/utils/date.py
ychaim/bbg-1
c1bdc2e7cf01dd2b9a94fa1b3bffaa525be7eac3
[ "BSD-3-Clause" ]
1
2019-12-12T15:06:40.000Z
2019-12-12T15:06:40.000Z
bbg/utils/date.py
ychaim/bbg-1
c1bdc2e7cf01dd2b9a94fa1b3bffaa525be7eac3
[ "BSD-3-Clause" ]
null
null
null
bbg/utils/date.py
ychaim/bbg-1
c1bdc2e7cf01dd2b9a94fa1b3bffaa525be7eac3
[ "BSD-3-Clause" ]
1
2018-08-03T10:57:11.000Z
2018-08-03T10:57:11.000Z
# -*- coding: utf-8 -*- """ Created on Tue Jun 17 11:43:33 2014 @author: Brian """ import datetime as dt from dateutil.parser import parse _FORMAT_DTTM_TO_BBG = ur'%Y-%m-%dT%H:%M:%S' _FORMAT_DTTM_FROM_BBG = '%m/%d/%Y %H:%M:%S' _FORMAT_DT_TO_BBG = '%Y%m%d' _FORMAT_DT_FROM_BBG = '%m/%d/%Y' _FORMAT_DT_LG ...
31.393701
78
0.567595
516
3,987
4.089147
0.217054
0.066351
0.021327
0.032227
0.491943
0.429384
0.408531
0.386256
0.386256
0.386256
0
0.005593
0.327314
3,987
126
79
31.642857
0.781133
0.005267
0
0.352941
0
0
0.048268
0
0
0
0
0
0
0
null
null
0
0.023529
null
null
0.023529
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
6ac553f76c120c40bfd22118c52ed75f254fc087
2,803
py
Python
rtz/venv/insert-new-ids.py
RichardNilssonSMA/efficiensea2-final-conference-vts-srs-presentation
727c36767cc200ca4ed5fa299ca5e6e801d89747
[ "MIT" ]
null
null
null
rtz/venv/insert-new-ids.py
RichardNilssonSMA/efficiensea2-final-conference-vts-srs-presentation
727c36767cc200ca4ed5fa299ca5e6e801d89747
[ "MIT" ]
null
null
null
rtz/venv/insert-new-ids.py
RichardNilssonSMA/efficiensea2-final-conference-vts-srs-presentation
727c36767cc200ca4ed5fa299ca5e6e801d89747
[ "MIT" ]
null
null
null
# https://stackoverflow.com/questions/1883980/find-the-nth-occurrence-of-substring-in-a-string def find_nth(haystack, needle, n): start = haystack.find(needle) while start >= 0 and n > 1: start = haystack.find(needle, start+len(needle)) n -= 1 return start file_to_be_read = input("Which fil...
40.623188
227
0.441313
305
2,803
3.980328
0.295082
0.059308
0.06425
0.052718
0.415157
0.352554
0.352554
0.311367
0.24547
0.24547
0
0.052153
0.411702
2,803
68
228
41.220588
0.684051
0.097039
0
0.169811
0
0.018868
0.156374
0
0.037736
0
0
0
0
1
0.018868
false
0.056604
0
0
0.037736
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
6ad6396346674871a936d6520d2cb2572e393b68
17,358
py
Python
bootstrap.py
ritokun/MusicBot-1
c2b4c22805ebf86656a88fe675123014b6e3962a
[ "MIT" ]
null
null
null
bootstrap.py
ritokun/MusicBot-1
c2b4c22805ebf86656a88fe675123014b6e3962a
[ "MIT" ]
null
null
null
bootstrap.py
ritokun/MusicBot-1
c2b4c22805ebf86656a88fe675123014b6e3962a
[ "MIT" ]
null
null
null
''' If this is running then python is obviously installed, but we need to make sure that python3 is installed. What we need to do: 0. (optional) Check disk space 0.1: The same env checks in run.py? 1: Make sure this is python 3.5+ 1.1: If we installed python 3.5, restart using that 2. Check ...
28.455738
137
0.602662
2,137
17,358
4.768835
0.256902
0.026494
0.022373
0.010009
0.171426
0.115396
0.07801
0.07801
0.064861
0.042783
0
0.009171
0.277567
17,358
609
138
28.502463
0.803509
0.188559
0
0.373333
0
0.005333
0.168616
0.012222
0
0
0
0.003284
0
1
0.165333
false
0.061333
0.064
0.016
0.378667
0.034667
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
6ad89bd41b196eda2beb2498223a216ca1f14404
899
py
Python
EUR2CURR.py
datenteiler/LibreOfficeMakrosPython
3b7fdae9be2a3d98c1486a2ad313b16d0829a733
[ "MIT" ]
1
2020-10-05T11:57:54.000Z
2020-10-05T11:57:54.000Z
EUR2CURR.py
datenteiler/LibreOfficeMakrosPython
3b7fdae9be2a3d98c1486a2ad313b16d0829a733
[ "MIT" ]
null
null
null
EUR2CURR.py
datenteiler/LibreOfficeMakrosPython
3b7fdae9be2a3d98c1486a2ad313b16d0829a733
[ "MIT" ]
null
null
null
# coding: utf-8 from __future__ import unicode_literals import urllib.request, uno, json def EUR2CURR(currency): url = "https://api.exchangeratesapi.io/latest" request = urllib.request.urlopen(url) data = json.load(request) rate = data["rates"][currency] return rate def data2sheet(): deskt...
32.107143
54
0.701891
98
899
6.326531
0.561224
0.08871
0.187097
0
0
0
0
0
0
0
0
0.031873
0.162403
899
27
55
33.296296
0.791501
0.014461
0
0
0
0
0.084842
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6adfeaaa6f62e4914196e13722fa2f7681bc9168
3,256
py
Python
jane_street_market_prediction/notebooks/gym/callbacks/EvaluationCallback.py
pallogu/kaggle_competitions
4389e4cdfb1fb491f37852abff5bced371505d4a
[ "MIT" ]
null
null
null
jane_street_market_prediction/notebooks/gym/callbacks/EvaluationCallback.py
pallogu/kaggle_competitions
4389e4cdfb1fb491f37852abff5bced371505d4a
[ "MIT" ]
null
null
null
jane_street_market_prediction/notebooks/gym/callbacks/EvaluationCallback.py
pallogu/kaggle_competitions
4389e4cdfb1fb491f37852abff5bced371505d4a
[ "MIT" ]
null
null
null
from stable_baselines.common.callbacks import BaseCallback import mlflow import subprocess from .common import calculate_u_metric class EvaluationCallback(BaseCallback): def __init__(self, verbose=0, eval_df=None, train_df=None, log_interval=10000, save_best=True): super(EvaluationCallback, self).__init__...
35.78022
108
0.604423
419
3,256
4.491647
0.329356
0.021254
0.035069
0.020723
0.172157
0.095112
0.061105
0.03932
0
0
0
0.006195
0.305897
3,256
90
109
36.177778
0.826549
0.403256
0
0.078947
0
0
0.044886
0
0
0
0
0
0
1
0.157895
false
0.078947
0.105263
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
0
1
0
0
0
0
0
1
6ae13d6047775fbedb1f89d5bc764e2f5c0cd902
15,127
py
Python
examples/f16/components/fgintruder.py
yokian/csaf
a94f0943541a21a270b753577979989b98e84497
[ "BSD-3-Clause" ]
null
null
null
examples/f16/components/fgintruder.py
yokian/csaf
a94f0943541a21a270b753577979989b98e84497
[ "BSD-3-Clause" ]
null
null
null
examples/f16/components/fgintruder.py
yokian/csaf
a94f0943541a21a270b753577979989b98e84497
[ "BSD-3-Clause" ]
null
null
null
import typing import time import struct from datetime import datetime, timezone from fgbase import FlightGearBase, Dubins2DConverter class FGIntruder(FlightGearBase): """ Multiplayer airplane/object It can either `idle` and only stays alive, or actively update its position The multiplayer protocol i...
40.018519
122
0.565611
1,569
15,127
5.376673
0.318674
0.069701
0.085586
0.062589
0.15019
0.08606
0.045875
0.017781
0.001185
0
0
0.201783
0.339856
15,127
378
123
40.018519
0.643
0.667548
0
0.122449
0
0
0.009657
0
0
0
0.017789
0.002646
0
1
0.040816
false
0
0.05102
0
0.193878
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6ae693bb242cd519bcba261ccc7d81efc5560bab
13,920
py
Python
orchestra/contrib/mailboxes/tests/functional_tests/tests.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
null
null
null
orchestra/contrib/mailboxes/tests/functional_tests/tests.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
4
2021-01-30T14:26:46.000Z
2022-03-18T16:28:39.000Z
orchestra/contrib/mailboxes/tests/functional_tests/tests.py
RubenPX/django-orchestra
5ab4779e1ae12ec99569d682601b7810587ed381
[ "Unlicense" ]
3
2022-02-06T04:35:59.000Z
2022-03-17T00:40:17.000Z
import imaplib import os import poplib import smtplib import time import textwrap import unittest from email.mime.text import MIMEText from django.apps import apps from django.conf import settings as djsettings from django.contrib.contenttypes.models import ContentType from django.core.management.base import CommandEr...
36.535433
113
0.650718
1,600
13,920
5.4775
0.15
0.035144
0.020539
0.028868
0.521337
0.473984
0.447056
0.421611
0.373117
0.333067
0
0.010734
0.237069
13,920
380
114
36.631579
0.814501
0.021839
0
0.4377
0
0
0.082305
0.017784
0
0
0
0.002632
0.035144
1
0.118211
false
0.153355
0.063898
0
0.210863
0.003195
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
6ae9fe0d0482f6be527811ad02a8c1b945869af4
441
py
Python
project_template/wsgi.py
armstrong/armstrong.templates.tutorial
0ab6ded212653efe96359e8e47a40ad07c46417b
[ "Apache-2.0" ]
null
null
null
project_template/wsgi.py
armstrong/armstrong.templates.tutorial
0ab6ded212653efe96359e8e47a40ad07c46417b
[ "Apache-2.0" ]
null
null
null
project_template/wsgi.py
armstrong/armstrong.templates.tutorial
0ab6ded212653efe96359e8e47a40ad07c46417b
[ "Apache-2.0" ]
null
null
null
# Simple wsgi file for {{ project_name }} import os import sys # Change this to reflect the environment you're in os.environ['DJANGO_SETTINGS_MODULE'] = 'settings.development' # Make sure that this project directory is first in the sys.path, or at least # as close to first as can be reasonably assured in Python. sys....
31.5
77
0.77551
69
441
4.855072
0.695652
0.041791
0
0
0
0
0
0
0
0
0
0.002646
0.142857
441
13
78
33.923077
0.883598
0.503401
0
0
0
0
0.196262
0.102804
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
6aec2ecfe44254a2032500be37dcd45c2c6cc118
1,748
py
Python
ament_package/group_membership.py
Acidburn0zzz/ament_package
8746846857872e74e1174f610ea3aacb1198ce6e
[ "Apache-2.0" ]
1
2018-01-17T19:18:10.000Z
2018-01-17T19:18:10.000Z
ament_package/group_membership.py
Acidburn0zzz/ament_package
8746846857872e74e1174f610ea3aacb1198ce6e
[ "Apache-2.0" ]
null
null
null
ament_package/group_membership.py
Acidburn0zzz/ament_package
8746846857872e74e1174f610ea3aacb1198ce6e
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 Open Source Robotics Foundation, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law...
32.981132
79
0.684783
219
1,748
5.333333
0.520548
0.05137
0.056507
0.027397
0
0
0
0
0
0
0
0.006065
0.245423
1,748
52
80
33.615385
0.879454
0.516018
0
0
0
0
0.041558
0
0
0
0
0
0
1
0.190476
false
0
0.047619
0.047619
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
6aef0508ccc6865765533b729f06042ca1560096
776
py
Python
sql_server/pyodbc/management/commands/install_regex_clr.py
aceofwings/django-mssql-backend
182f998f5763cc9007d9c33ece630e7305a32240
[ "BSD-3-Clause" ]
155
2019-07-05T09:32:05.000Z
2022-02-24T19:06:20.000Z
sql_server/pyodbc/management/commands/install_regex_clr.py
aceofwings/django-mssql-backend
182f998f5763cc9007d9c33ece630e7305a32240
[ "BSD-3-Clause" ]
93
2019-10-21T12:58:47.000Z
2022-01-20T02:36:07.000Z
sql_server/pyodbc/management/commands/install_regex_clr.py
aceofwings/django-mssql-backend
182f998f5763cc9007d9c33ece630e7305a32240
[ "BSD-3-Clause" ]
62
2019-09-19T19:01:59.000Z
2022-03-11T13:56:31.000Z
# Add regex support in SQLServer # Code taken from django-mssql (see https://bitbucket.org/Manfre/django-mssql) from django.core.management.base import BaseCommand from django.db import connection class Command(BaseCommand): help = "Installs the regex_clr.dll assembly with the database" requires_model_valid...
29.846154
78
0.71134
98
776
5.44898
0.571429
0.157303
0.05618
0
0
0
0
0
0
0
0
0
0.199742
776
25
79
31.04
0.859903
0.137887
0
0
0
0
0.228228
0
0
0
0
0
0
1
0.133333
false
0
0.133333
0
0.6
0.133333
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
0a73385d3c7ddf9571e2d01ba19db30f67bfa3d0
2,604
py
Python
benchexec/tools/fairfuzz.py
carolemieux/benchexec
8e4b999150a6b0e686c1e9cc62d38a05aed6f875
[ "Apache-2.0" ]
null
null
null
benchexec/tools/fairfuzz.py
carolemieux/benchexec
8e4b999150a6b0e686c1e9cc62d38a05aed6f875
[ "Apache-2.0" ]
null
null
null
benchexec/tools/fairfuzz.py
carolemieux/benchexec
8e4b999150a6b0e686c1e9cc62d38a05aed6f875
[ "Apache-2.0" ]
null
null
null
""" BenchExec is a framework for reliable benchmarking. This file is part of BenchExec. Copyright (C) 2007-2015 Dirk Beyer 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 ht...
36.676056
89
0.68126
353
2,604
4.963173
0.492918
0.034247
0.027397
0.018265
0.052511
0.025114
0
0
0
0
0
0.006609
0.244624
2,604
70
90
37.2
0.884087
0.433564
0
0
0
0
0.155797
0.016667
0
0
0
0
0
1
0.147059
false
0
0.147059
0.088235
0.617647
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
0a7562cb44cf3635529a67110a6c72dcb64a4aa1
2,076
py
Python
src/network/receivequeuethread.py
Zxzerd/PyBitmessage
acea6831396271b1fb18c5c807bce1168c0ad2eb
[ "MIT", "BSD-2-Clause-FreeBSD" ]
1
2021-06-12T05:04:29.000Z
2021-06-12T05:04:29.000Z
src/network/receivequeuethread.py
GONQ/PyBitmessage
b2af007280a41c61498626077a08985d5d7df957
[ "MIT", "BSD-2-Clause-FreeBSD" ]
4
2019-11-30T14:01:12.000Z
2020-01-03T13:20:57.000Z
src/network/receivequeuethread.py
GONQ/PyBitmessage
b2af007280a41c61498626077a08985d5d7df957
[ "MIT", "BSD-2-Clause-FreeBSD" ]
1
2019-11-25T13:30:09.000Z
2019-11-25T13:30:09.000Z
import errno import Queue import socket import sys import threading import time import addresses from bmconfigparser import BMConfigParser from debug import logger from helper_threading import StoppableThread from inventory import Inventory from network.connectionpool import BMConnectionPool from network.bmproto impor...
33.483871
104
0.625723
220
2,076
5.822727
0.431818
0.025761
0.031226
0.032787
0.151444
0.113973
0.113973
0.113973
0.113973
0.113973
0
0.002797
0.311175
2,076
61
105
34.032787
0.893007
0.145954
0
0.145833
0
0
0.053794
0
0
0
0
0
0
1
0.041667
false
0.020833
0.354167
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0a75a6c3cd6201f112ca1d90140023188d2abb1d
645
py
Python
app_store_connect_client/config.py
sann05/app-store-connect-client
812cc7aad5b46523147138f38ebd1b4ee66aa98b
[ "MIT" ]
null
null
null
app_store_connect_client/config.py
sann05/app-store-connect-client
812cc7aad5b46523147138f38ebd1b4ee66aa98b
[ "MIT" ]
null
null
null
app_store_connect_client/config.py
sann05/app-store-connect-client
812cc7aad5b46523147138f38ebd1b4ee66aa98b
[ "MIT" ]
null
null
null
from .dataclass import frequency ANALYTICS_API_URL = "https://appstoreconnect.apple.com/analytics/api/v1" # TODO: use Config class Instead of config dict. class Config(): def __init__(self, app_id): self.startTime = None self.endTime = None self.adamId = [app_id] self.group = None...
22.241379
72
0.637209
75
645
5.24
0.493333
0.050891
0.091603
0.129771
0.198473
0.198473
0.198473
0
0
0
0
0.002083
0.255814
645
28
73
23.035714
0.816667
0.071318
0
0.166667
0
0
0.084034
0
0
0
0
0.035714
0
1
0.166667
false
0
0.055556
0
0.388889
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
0a771991777591e7334aae8924a46f3bf080836b
1,187
py
Python
deal/_decorators/ensure.py
toonarmycaptain/deal
9dff86e1dc5c8607f02ded34b6d64e770f1959fa
[ "MIT" ]
2
2021-01-11T12:01:24.000Z
2021-02-02T23:42:20.000Z
deal/_decorators/ensure.py
Zac-HD/deal
2e170e9c200aa248edc3cf173b556d86f158eb9b
[ "MIT" ]
null
null
null
deal/_decorators/ensure.py
Zac-HD/deal
2e170e9c200aa248edc3cf173b556d86f158eb9b
[ "MIT" ]
null
null
null
# built-in from typing import Callable, TypeVar # app from .._exceptions import PostContractError from .._types import ExceptionType from .base import Base _CallableType = TypeVar('_CallableType', bound=Callable) class Ensure(Base[_CallableType]): """ Check both arguments and result (validator) after funct...
27.604651
74
0.634372
123
1,187
6.04878
0.357724
0.080645
0.056452
0.072581
0.479839
0.479839
0.479839
0.479839
0.424731
0.424731
0
0.00339
0.254423
1,187
42
75
28.261905
0.837288
0.160067
0
0.263158
0
0
0.014891
0
0
0
0
0
0
1
0.105263
false
0
0.210526
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0a7af7bb2b0042898f21e37325309de9c939e563
3,411
py
Python
spira/log.py
cloudcalvin/spira
2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c
[ "MIT" ]
null
null
null
spira/log.py
cloudcalvin/spira
2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c
[ "MIT" ]
1
2021-10-17T10:18:04.000Z
2021-10-17T10:18:04.000Z
spira/log.py
cloudcalvin/spira
2dcaef188f2bc8c3839e1b5ff0be027e0cd4908c
[ "MIT" ]
null
null
null
import sys import gdspy import logging import logging import sys SPIRA_LOGGING_HANDLER = logging.StreamHandler(sys.stderr) SPIRA_LOG = logging.getLogger('SPiRA') SPIRA_LOG.setLevel(logging.ERROR) SPIRA_LOG.addHandler(SPIRA_LOGGING_HANDLER) from colorama import init, Fore, Back, Style init(autoreset=True) def prin...
20.303571
60
0.540018
402
3,411
4.475124
0.20398
0.124514
0.122846
0.088938
0.598666
0.548638
0.478043
0.435798
0.373541
0.373541
0
0.006135
0.235415
3,411
168
61
20.303571
0.683666
0.073879
0
0.621622
0
0
0.090096
0.0377
0
0
0
0
0
1
0.153153
false
0
0.054054
0
0.216216
0.657658
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
0a7f03396430b2e7bc4895a33e165e84d6c06d4d
21,065
py
Python
src/cowrie/output/mysql.py
MartinDrab/cowrie
afb5daf8bded1ffb17fb3cc7828d99723b650fbd
[ "BSD-3-Clause" ]
null
null
null
src/cowrie/output/mysql.py
MartinDrab/cowrie
afb5daf8bded1ffb17fb3cc7828d99723b650fbd
[ "BSD-3-Clause" ]
null
null
null
src/cowrie/output/mysql.py
MartinDrab/cowrie
afb5daf8bded1ffb17fb3cc7828d99723b650fbd
[ "BSD-3-Clause" ]
null
null
null
""" MySQL output connector. Writes audit logs to MySQL database """ from __future__ import absolute_import, division import MySQLdb import json import subprocess import os import sys import urllib import urllib2 import urlparse import hashlib import time import threading import sqlite3 import datetime from time impor...
41.630435
249
0.535628
2,189
21,065
5.09228
0.188214
0.007715
0.006459
0.027631
0.368799
0.312461
0.270387
0.242487
0.22607
0.205526
0
0.013484
0.306432
21,065
505
250
41.712871
0.749487
0
0
0.280612
0
0.015306
0.240965
0.014556
0
0
0
0
0
0
null
null
0.012755
0.061224
null
null
0.012755
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
0a7fabad507515aa1bf01f2ee33a063e09fca81d
14,802
py
Python
powerbot/models/own_order.py
rogerarmstrong/python-samples
df73b5dab70090f820fc47096b0ae5490c7779b6
[ "Apache-2.0" ]
null
null
null
powerbot/models/own_order.py
rogerarmstrong/python-samples
df73b5dab70090f820fc47096b0ae5490c7779b6
[ "Apache-2.0" ]
null
null
null
powerbot/models/own_order.py
rogerarmstrong/python-samples
df73b5dab70090f820fc47096b0ae5490c7779b6
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 """ Powerbot Server No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen) # noqa: E501 OpenAPI spec version: 1.0.5 Generated by: https://github.com/swagger-api/swagger-codegen.git """ import pprint import re # noqa: F401 import...
26.10582
323
0.571139
1,774
14,802
4.586246
0.0823
0.053097
0.123894
0.119469
0.530851
0.411504
0.381637
0.280973
0.179081
0.045969
0
0.019962
0.333266
14,802
566
324
26.151943
0.804438
0.332185
0
0.088
1
0
0.082969
0.007446
0
0
0
0
0
1
0.168
false
0
0.012
0
0.288
0.008
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
0a821cf95469c43ebd56d326221bc3d05d3411df
314
py
Python
ex33b.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
ex33b.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
ex33b.py
arunkumarang/python
1960e285dfe2ef54d2e3ab37584bfef8b24ecca9
[ "Apache-2.0" ]
null
null
null
def append_numbers(numbers, nCount): i = 0 while i < nCount: print "At the top i is %d" % i numbers.append(i) i = i + 1 print "Numbers now: ", numbers print "At the bottom i is %d" % i print "The numbers: " maxNum = 10 TotNum = [] append_numbers(TotNum, maxNum) for num in TotNum: print num
13.083333
36
0.633758
52
314
3.788462
0.423077
0.13198
0.101523
0.050761
0
0
0
0
0
0
0
0.017094
0.254777
314
23
37
13.652174
0.824786
0
0
0
0
0
0.208333
0
0
0
0
0
0
0
null
null
0
0
null
null
0.357143
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
0a82c666d278b0788c4abfbfa5e372e68a39742e
619
py
Python
server.py
farooqkz/talkingbot_api
07af223743f885372eea147b5db010b476ad1f2d
[ "MIT" ]
1
2020-10-17T13:58:29.000Z
2020-10-17T13:58:29.000Z
server.py
farooqkz/talkingbot_api
07af223743f885372eea147b5db010b476ad1f2d
[ "MIT" ]
null
null
null
server.py
farooqkz/talkingbot_api
07af223743f885372eea147b5db010b476ad1f2d
[ "MIT" ]
null
null
null
import cherrypy import chatterbot from chatterbot.conversation import Statement as St import os class TalkingKai: def __init__(self): self.chatbot = chatterbot.ChatBot("TalkingKai", read_only=True) def get_chatbot_response(self, text): return self.chatbot.get_response(St(text)).text @cher...
25.791667
71
0.654281
75
619
5.24
0.466667
0.015267
0.091603
0
0
0
0
0
0
0
0
0.008197
0.211632
619
23
72
26.913043
0.797131
0
0
0
0
0
0.103393
0
0
0
0
0
0
1
0.157895
false
0
0.210526
0.052632
0.578947
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
0a85d2447e460e310e065d865708107883199b97
509
py
Python
gemm_py/run_matrix.py
davidmallasen/gemm
2a09a4a993510e9aad4a2f81968cbdffb2697099
[ "MIT" ]
null
null
null
gemm_py/run_matrix.py
davidmallasen/gemm
2a09a4a993510e9aad4a2f81968cbdffb2697099
[ "MIT" ]
null
null
null
gemm_py/run_matrix.py
davidmallasen/gemm
2a09a4a993510e9aad4a2f81968cbdffb2697099
[ "MIT" ]
null
null
null
import numpy as np from matrix import gemm def main(): c = np.zeros((10, 10), np.int32) c_np = np.zeros((10, 10), np.int32) # 10x10 matrix -> assign random integers from 0 to 10 a = np.random.randint(0, 10, (10, 10), np.int32) b = np.random.randint(0, 10, (10, 10), np.int32) gemm(c, a, b...
18.851852
57
0.557957
82
509
3.329268
0.390244
0.087912
0.087912
0.161172
0.344322
0.344322
0.212454
0.212454
0.212454
0
0
0.100543
0.277014
509
26
58
19.576923
0.641304
0.123772
0
0
0
0
0.081448
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.2
0.133333
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
0a8716bca8f91622d8c03f0706b08293821f3c1e
433
py
Python
setup.py
LostRabbitLabs/DeathMetal
a5f06aae9028c09e55b193255d4f7a45aa471a46
[ "MIT" ]
6
2019-11-13T23:59:40.000Z
2020-01-22T22:53:53.000Z
setup.py
LostRabbitLabs/DeathMetal
a5f06aae9028c09e55b193255d4f7a45aa471a46
[ "MIT" ]
null
null
null
setup.py
LostRabbitLabs/DeathMetal
a5f06aae9028c09e55b193255d4f7a45aa471a46
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup setup(name="deathmetal", version='0.1', description='Intel AMT Pentest Toolkit', author='Victor Teissler', author_email='nope@nope.nope', url='zombo.com', packages=['charles'], scripts=['bin/dm_pickles', 'bin/...
24.055556
46
0.575058
48
433
5.0625
0.770833
0.082305
0
0
0
0
0
0
0
0
0
0.009524
0.272517
433
17
47
25.470588
0.761905
0.048499
0
0
0
0
0.343066
0
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
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
0a8c5e7a46c3067be9932740a718df6fdd09dda9
1,016
py
Python
api/staticdata/decisions/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
3
2019-05-15T09:30:39.000Z
2020-04-22T16:14:23.000Z
api/staticdata/decisions/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
85
2019-04-24T10:39:35.000Z
2022-03-21T14:52:12.000Z
api/staticdata/decisions/migrations/0001_initial.py
django-doctor/lite-api
1ba278ba22ebcbb977dd7c31dd3701151cd036bf
[ "MIT" ]
1
2021-01-17T11:12:19.000Z
2021-01-17T11:12:19.000Z
# Generated by Django 2.2.11 on 2020-03-16 10:41 from django.db import migrations, models import uuid class Migration(migrations.Migration): initial = True dependencies = [] operations = [ migrations.CreateModel( name="Decision", fields=[ ("id", models.U...
29.028571
112
0.415354
71
1,016
5.873239
0.704225
0.043165
0.081535
0
0
0
0
0
0
0
0
0.035581
0.474409
1,016
34
113
29.882353
0.745318
0.045276
0
0.185185
1
0
0.146694
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0a9340bc525d7d327bb4d87d21cb71c3719e4738
17,119
py
Python
wplsync/wplsync.py
mar10/wplsync
9d76115444bd1b081202dfbeb0b2b6ca95a0b59a
[ "MIT" ]
1
2020-02-04T03:13:55.000Z
2020-02-04T03:13:55.000Z
wplsync/wplsync.py
mar10/wplsync
9d76115444bd1b081202dfbeb0b2b6ca95a0b59a
[ "MIT" ]
null
null
null
wplsync/wplsync.py
mar10/wplsync
9d76115444bd1b081202dfbeb0b2b6ca95a0b59a
[ "MIT" ]
null
null
null
# (c) 2011 Martin Wendt; see http://wplsync.googlecode.com/ # Licensed under the MIT license: http://www.opensource.org/licenses/mit-license.php """ Synchronize Media Playlists with a target folder. - ... http://lifehacker.com/231476/alpha-geek-whip-your-mp3-library-into-shape-part-ii-+-album-art TODO: - check max p...
38.730769
112
0.585548
2,094
17,119
4.619866
0.203438
0.017986
0.020157
0.01013
0.201571
0.140273
0.078768
0.035869
0.02822
0.02822
0
0.00754
0.302763
17,119
441
113
38.818594
0.802949
0.191658
0
0.188356
0
0.003425
0.189971
0.007643
0
0
0
0.004535
0.044521
0
null
null
0.003425
0.030822
null
null
0.075342
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
0a9681e6b5c526d210f2cc9dcee556b18058b1e5
4,800
py
Python
model.py
sameer203/NNFS
fa1694c12c7b6e96d16c610eb8c8802dd3ae7ea0
[ "MIT" ]
null
null
null
model.py
sameer203/NNFS
fa1694c12c7b6e96d16c610eb8c8802dd3ae7ea0
[ "MIT" ]
null
null
null
model.py
sameer203/NNFS
fa1694c12c7b6e96d16c610eb8c8802dd3ae7ea0
[ "MIT" ]
null
null
null
import numpy as np import nnfs from nnfs.datasets import spiral_data class Model(): def __init__(self): self.layers = [] def add(self, layer): self.layers.append(layer) def set(self, *, loss, optimizer, accuracy): self.loss = loss self.optimizer = optimizer self....
36.641221
115
0.558125
551
4,800
4.709619
0.192378
0.080925
0.055106
0.018497
0.381888
0.360694
0.312524
0.312524
0.279769
0.279769
0
0.008317
0.34875
4,800
130
116
36.923077
0.821817
0.079792
0
0.191011
0
0
0.057422
0.008625
0
0
0
0
0
0
null
null
0
0.033708
null
null
0.05618
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
0a98b00b6bffecd6b2720eb1b319b11a4457b541
15,867
py
Python
test_step1.py
13551132330/Joint-Perception-Learning-and-Causal-Reasoning-for-Motivation-Understanding-in-Images
60559ca94434ee993bd8f994dea92e70da5d8cd4
[ "MIT" ]
null
null
null
test_step1.py
13551132330/Joint-Perception-Learning-and-Causal-Reasoning-for-Motivation-Understanding-in-Images
60559ca94434ee993bd8f994dea92e70da5d8cd4
[ "MIT" ]
null
null
null
test_step1.py
13551132330/Joint-Perception-Learning-and-Causal-Reasoning-for-Motivation-Understanding-in-Images
60559ca94434ee993bd8f994dea92e70da5d8cd4
[ "MIT" ]
null
null
null
import os import time import numpy from six.moves import xrange # pylint: disable=redefined-builtin from get_data_step1 import input_data import tensorflow as tf import model import math import numpy as np flags = tf.app.flags flags.DEFINE_integer('max_steps',421, 'Number of steps to run trainer.') flags.DEFINE_integ...
44.075
300
0.613159
2,027
15,867
4.437593
0.147509
0.034019
0.048027
0.061367
0.361757
0.312062
0.225459
0.225459
0.225459
0.174764
0
0.033145
0.27554
15,867
360
301
44.075
0.749369
0.046133
0
0.063973
0
0
0.062909
0.006086
0
0
0
0
0
0
null
null
0
0.030303
null
null
0.047138
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
0a993222fe537d73a0b3e75536f846c4a7fce2e3
420
py
Python
planet/settings.py
atcoco/Django
6fe0dd484e2e1ec7326054eabdfb562a0fceda28
[ "BSD-3-Clause" ]
83
2015-01-01T14:04:17.000Z
2022-02-04T11:55:41.000Z
planet/settings.py
atcoco/Django
6fe0dd484e2e1ec7326054eabdfb562a0fceda28
[ "BSD-3-Clause" ]
41
2015-04-18T01:21:09.000Z
2020-02-06T12:43:11.000Z
planet/settings.py
atcoco/Django
6fe0dd484e2e1ec7326054eabdfb562a0fceda28
[ "BSD-3-Clause" ]
37
2015-01-01T14:04:19.000Z
2021-12-01T00:17:45.000Z
# -*- coding: utf-8 -*- from django.conf import settings try: PROJECT_PLANET = settings.PLANET except AttributeError: PROJECT_PLANET = {} PLANET_CONFIG = { "TAG_CLOUD_MIN_COUNT": 5, "BLOG_TAG_CLOUD_MIN_COUNT": 3, "FEED_TAG_CLOUD_MIN_COUNT": 3, "AUTHOR_TAG_CLOUD_MIN_COUNT": 3, "RELATED_TAGS...
22.105263
43
0.72381
58
420
4.775862
0.551724
0.144404
0.158845
0.231047
0.184116
0
0
0
0
0
0
0.017143
0.166667
420
18
44
23.333333
0.774286
0.05
0
0
0
0
0.365239
0.31738
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
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
0a9d4b76a52b9803e03a3cc0f34e9cc0ac0de9ec
644
py
Python
demo/test_dir/test_fixture_demo.py
taylortaurus/seldom
6c23078ac41fb5aa3aa13c88245cdbd810488a3c
[ "Apache-2.0" ]
374
2019-11-28T06:46:07.000Z
2022-03-31T09:43:36.000Z
demo/test_dir/test_fixture_demo.py
taylortaurus/seldom
6c23078ac41fb5aa3aa13c88245cdbd810488a3c
[ "Apache-2.0" ]
74
2019-12-08T05:31:47.000Z
2022-03-31T03:00:12.000Z
demo/test_dir/test_fixture_demo.py
taylortaurus/seldom
6c23078ac41fb5aa3aa13c88245cdbd810488a3c
[ "Apache-2.0" ]
142
2019-12-02T09:00:57.000Z
2022-03-31T09:06:39.000Z
import seldom class BaiduTest(seldom.TestCase): """ * start_class/end_class * start/end """ def start_class(self): print("test class start") self.max_window() def end_class(self): print("test class end") def start(self): print("test case start") s...
18.941176
50
0.593168
84
644
4.321429
0.345238
0.099174
0.143251
0.099174
0.126722
0
0
0
0
0
0
0.004255
0.270186
644
33
51
19.515152
0.768085
0.054348
0
0
0
0
0.188455
0
0
0
0
0
0
1
0.315789
false
0
0.052632
0
0.421053
0.210526
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
0aa28dc613a9a89e68a43969435db61ded106f1c
4,795
py
Python
add.py
enterstudio/serapis
6f8214fb226337ef2fd6820b07f9976c5e18b79b
[ "MIT" ]
7
2016-05-31T17:50:26.000Z
2016-06-27T04:17:51.000Z
add.py
enterstudio/serapis
6f8214fb226337ef2fd6820b07f9976c5e18b79b
[ "MIT" ]
null
null
null
add.py
enterstudio/serapis
6f8214fb226337ef2fd6820b07f9976c5e18b79b
[ "MIT" ]
1
2016-03-21T23:04:03.000Z
2016-03-21T23:04:03.000Z
#!/usr/bin/env python2 # coding=utf-8 """ Word adder """ from __future__ import unicode_literals from __future__ import absolute_import __author__ = "Manuel Ebert" __copyright__ = "Copyright 2015, summer.ai" __date__ = "2015-11-09" __email__ = "manuel@summer.ai" import argparse import codecs from serapis.config impor...
36.884615
129
0.630865
656
4,795
4.492378
0.278963
0.033593
0.04038
0.02036
0.180183
0.145232
0.12623
0.116729
0.067866
0.067866
0
0.017396
0.208759
4,795
129
130
37.170543
0.759093
0.007091
0
0.072165
0
0.010309
0.16151
0
0
0
0
0
0
0
null
null
0
0.134021
null
null
0.123711
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
0aa293119e80ee9accc02e1e3e5f4380470470d9
8,883
py
Python
boot.py
spray4u/wio-tetris
940624e67f6e400a8c5a847aa72c372e578bd3e4
[ "MIT" ]
null
null
null
boot.py
spray4u/wio-tetris
940624e67f6e400a8c5a847aa72c372e578bd3e4
[ "MIT" ]
null
null
null
boot.py
spray4u/wio-tetris
940624e67f6e400a8c5a847aa72c372e578bd3e4
[ "MIT" ]
null
null
null
#by Lutz Herrmann, www.bitpilot.de, 19.2.2021 from machine import LCD from machine import Pin, Map, ADC import random from time import sleep BLACK = (0, 0, 0) WHITE = (255, 255, 255) GRAY = (128, 128, 128) colors = [ (0, 0, 0), (20, 255, 62), (255, 0, 0), (10, 48, 255), (10, 246, ...
28.840909
106
0.473264
1,158
8,883
3.588946
0.139033
0.060154
0.031761
0.021174
0.329885
0.286092
0.261309
0.261309
0.261309
0.261309
0
0.063291
0.395249
8,883
307
107
28.934853
0.71035
0.018462
0
0.419708
0
0
0.010238
0
0
0
0
0
0
1
0.054745
false
0.164234
0.014599
0.00365
0.131387
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
0ab62d351b787dbb662b9d59e250655c929b4e56
700
py
Python
pylutron/__init__.py
JayPalm/pylutron
ab7daa3dcd672c7573ff2cbd3b3a74ea9a652bb7
[ "MIT" ]
null
null
null
pylutron/__init__.py
JayPalm/pylutron
ab7daa3dcd672c7573ff2cbd3b3a74ea9a652bb7
[ "MIT" ]
null
null
null
pylutron/__init__.py
JayPalm/pylutron
ab7daa3dcd672c7573ff2cbd3b3a74ea9a652bb7
[ "MIT" ]
null
null
null
""" Lutron RadioRA 2 module for interacting with the Main Repeater. Basic operations for enumerating and controlling the loads are supported. """ __author__ = "Dima Zavin" __copyright__ = "Copyright 2016, Dima Zavin" # __all__ = ["lutron"] from pylutron.lutron import Lutron # import pylutron.entities # import py...
20.588235
80
0.757143
80
700
6.475
0.7625
0.081081
0
0
0
0
0
0
0
0
0
0.008696
0.178571
700
33
81
21.212121
0.892174
0.78
0
0
0
0
0.272727
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0abc761c4d0f1015b3d182238014d8363430208c
693
py
Python
old/baxter_test.py
YoshimitsuMatsutaIe/hoge_flow_test
22e2e2ce043a3107bd06449f6f9958641293e414
[ "MIT" ]
null
null
null
old/baxter_test.py
YoshimitsuMatsutaIe/hoge_flow_test
22e2e2ce043a3107bd06449f6f9958641293e414
[ "MIT" ]
null
null
null
old/baxter_test.py
YoshimitsuMatsutaIe/hoge_flow_test
22e2e2ce043a3107bd06449f6f9958641293e414
[ "MIT" ]
null
null
null
"""baxter関連をテストする""" import numpy as np from math import cos, sin, tan, pi #import itertools import csv import matplotlib.pyplot as plt import matplotlib.animation as anm from mpl_toolkits.mplot3d import Axes3D #import matplotlib.patches as patches #from matplotlib.font_manager import FontProperties #fp = FontPropert...
21
66
0.702742
108
693
4.425926
0.592593
0.09205
0.062762
0
0
0
0
0
0
0
0
0.105546
0.193362
693
32
67
21.65625
0.749553
0.343434
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0abd681a4336c4707107f32338d99367049084cd
3,338
py
Python
easy_pdf/views.py
8percent/django-easy-pdf
6372bd41a0524aa106a140a1cd5a0880d84b5ee3
[ "MIT" ]
null
null
null
easy_pdf/views.py
8percent/django-easy-pdf
6372bd41a0524aa106a140a1cd5a0880d84b5ee3
[ "MIT" ]
null
null
null
easy_pdf/views.py
8percent/django-easy-pdf
6372bd41a0524aa106a140a1cd5a0880d84b5ee3
[ "MIT" ]
null
null
null
# coding=utf-8 from __future__ import absolute_import, division, print_function, unicode_literals try: # noinspection PyUnresolvedReferences from typing import Any, Dict, Optional, Text, Type except ImportError: pass from django.http import HttpResponse, HttpRequest from django.views.generic.base import ...
32.72549
98
0.657879
379
3,338
5.630607
0.324538
0.041237
0.029991
0.020619
0.0806
0.056232
0.027179
0
0
0
0
0.000396
0.243859
3,338
101
99
33.049505
0.845087
0.437388
0
0
0
0
0.015142
0
0
0
0
0
0
1
0.157895
false
0.026316
0.157895
0.026316
0.631579
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0ac1c1eec3f8c34077572340185d8aae98933094
4,440
py
Python
onlinelinguisticdatabase/lib/resize.py
dativebase/old
bcfb856e8a8cccddcab4eaedc1aa107697ceee2f
[ "Apache-2.0" ]
2
2019-11-19T22:39:04.000Z
2019-11-20T16:13:43.000Z
onlinelinguisticdatabase/lib/resize.py
jrwdunham/old
bcfb856e8a8cccddcab4eaedc1aa107697ceee2f
[ "Apache-2.0" ]
51
2015-02-11T21:42:48.000Z
2016-08-16T18:52:44.000Z
onlinelinguisticdatabase/lib/resize.py
jrwdunham/old
bcfb856e8a8cccddcab4eaedc1aa107697ceee2f
[ "Apache-2.0" ]
1
2019-11-19T22:39:07.000Z
2019-11-19T22:39:07.000Z
# Copyright 2016 Joel Dunham # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writi...
41.111111
101
0.641667
601
4,440
4.602329
0.322795
0.048807
0.040492
0.025307
0.200289
0.147505
0.118944
0.118944
0.096168
0.096168
0
0.008888
0.214414
4,440
107
102
41.495327
0.784117
0.143468
0
0.381818
0
0
0.057384
0.026246
0
0
0
0
0
0
null
null
0.018182
0.163636
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
0ac4780c0d2a40c757cd017eb2067d6a0376990b
360
py
Python
py2asm/instructions/flow_control.py
malikshahzad228/py2asm
de80070a0a166bc752657040af928da0f3f8be5b
[ "MIT" ]
null
null
null
py2asm/instructions/flow_control.py
malikshahzad228/py2asm
de80070a0a166bc752657040af928da0f3f8be5b
[ "MIT" ]
1
2020-09-05T17:11:09.000Z
2020-09-06T11:24:05.000Z
py2asm/instructions/flow_control.py
malikshahzad228/py2asm
de80070a0a166bc752657040af928da0f3f8be5b
[ "MIT" ]
2
2020-09-02T08:05:20.000Z
2021-05-26T05:27:56.000Z
from py2asm.instructions.base import Instruction class Call(Instruction): name = 'CALL' def __init__(self, proc_name): super().__init__(proc_name) def render(self): return '{name:<8} {proc}'.format(name=self.name, proc=self.args[0]) class Ret(Instruction): name = 'RET' def __i...
18.947368
75
0.638889
45
360
4.711111
0.466667
0.141509
0.103774
0
0
0
0
0
0
0
0
0.010638
0.216667
360
18
76
20
0.741135
0
0
0
0
0
0.063889
0
0
0
0
0
0
1
0.272727
false
0
0.090909
0.090909
0.818182
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
0ac5842b04174d11fed4a0b2870c28b7a95888b4
3,962
py
Python
publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
publisher.py
cpgillem/markdown_publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
3
2015-04-11T08:16:56.000Z
2015-04-11T08:17:32.000Z
publisher.py
cpgillem/markdown-publisher
a8e6bacea95196b9a18ad8fa2f85822c5d9c4e74
[ "MIT" ]
null
null
null
#!/usr/bin/python ''' Computer Club of WMU Markdown Publishing System by cpg This is a module that can be used to process any computer club documentation from markdown to one of the following formats: - HTML with simple, built-in CSS - Plain HTML - PDF - PNG? This would be for a flat, poster-style graphic ''' impor...
35.375
122
0.689803
578
3,962
4.557093
0.287197
0.044419
0.018223
0.012528
0.145406
0.073652
0.057707
0.057707
0
0
0
0.000649
0.22211
3,962
111
123
35.693694
0.853991
0.122413
0
0.08
0
0
0.096247
0.043709
0
0
0
0
0
0
null
null
0
0.1
null
null
0.04
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
0ac6e3637e2e3533cdaaf179674cb761ac8044c1
6,992
py
Python
plotly/validators/layout/_shapes.py
faezs/plotly.py
6009b5b9c746e5d2a2849ad255a4eb234b551ed7
[ "MIT" ]
1
2018-07-16T01:51:47.000Z
2018-07-16T01:51:47.000Z
plotly/validators/layout/_shapes.py
faezs/plotly.py
6009b5b9c746e5d2a2849ad255a4eb234b551ed7
[ "MIT" ]
null
null
null
plotly/validators/layout/_shapes.py
faezs/plotly.py
6009b5b9c746e5d2a2849ad255a4eb234b551ed7
[ "MIT" ]
null
null
null
import _plotly_utils.basevalidators class ShapesValidator(_plotly_utils.basevalidators.CompoundArrayValidator): def __init__(self, plotly_name='shapes', parent_name='layout', **kwargs): super(ShapesValidator, self).__init__( plotly_name=plotly_name, parent_name=parent_name, ...
50.302158
77
0.531035
880
6,992
4.193182
0.285227
0.01897
0.015176
0.017615
0.461247
0.396748
0.370732
0.319241
0.256369
0.115447
0
0.01611
0.405177
6,992
138
78
50.666667
0.871123
0
0
0.074074
0
0.007407
0.94365
0.011585
0
0
0
0
0
1
0.007407
false
0
0.007407
0
0.022222
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
0aca7a0dcd6d649be08f221130834c34167b9ef7
12,562
py
Python
tools/perf_expectations/make_expectations.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
231
2015-01-08T09:04:44.000Z
2021-12-30T03:03:10.000Z
tools/perf_expectations/make_expectations.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2017-02-14T21:55:58.000Z
2017-02-14T21:55:58.000Z
tools/perf_expectations/make_expectations.py
kjthegod/chromium
cf940f7f418436b77e15b1ea23e6fa100ca1c91a
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
268
2015-01-21T05:53:28.000Z
2022-03-25T22:09:01.000Z
#!/usr/bin/env python # Copyright (c) 2012 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. # For instructions see: # http://www.chromium.org/developers/tree-sheriffs/perf-sheriffs import hashlib import math import optpars...
32.971129
80
0.635966
1,567
12,562
5.016592
0.236758
0.015138
0.012212
0.008141
0.127337
0.081287
0.05839
0.05839
0.045414
0.028877
0
0.006003
0.244149
12,562
380
81
33.057895
0.821906
0.170435
0
0.187726
0
0
0.130622
0.008702
0
0
0
0.002632
0.00722
0
null
null
0
0.043321
null
null
0.054152
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
0acb3c3183b46a3274fefab739df19c58ec5dac0
686
py
Python
tests/benchmarks.py
gchlebus/autoperiod
af63f394aee9986f9275ad345aeeb20fb27d64bc
[ "MIT" ]
8
2019-08-23T03:25:19.000Z
2021-07-31T01:24:41.000Z
tests/benchmarks.py
gchlebus/autoperiod
af63f394aee9986f9275ad345aeeb20fb27d64bc
[ "MIT" ]
2
2017-06-28T17:41:29.000Z
2017-07-07T17:57:34.000Z
tests/benchmarks.py
gchlebus/autoperiod
af63f394aee9986f9275ad345aeeb20fb27d64bc
[ "MIT" ]
8
2018-07-16T20:49:04.000Z
2021-11-30T11:31:08.000Z
from __future__ import absolute_import from autoperiod import Autoperiod from autoperiod.helpers import load_gpfs_csv from pytest import approx from tests.test_autoperiod import data _autoperiod = lambda t, v, m: Autoperiod(t, v, threshold_method=m).period def bench_gpfs_reads_mc(benchmark): times, values = loa...
32.666667
73
0.75656
100
686
4.97
0.38
0.088531
0.066398
0.096579
0.49497
0.49497
0.49497
0.382294
0.382294
0.382294
0
0.047218
0.135569
686
20
74
34.3
0.790894
0
0
0.285714
0
0
0.093431
0.084672
0
0
0
0
0.142857
1
0.142857
false
0
0.357143
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0acda876489c23dd30336b0c39c7b9fd095ad057
5,540
py
Python
prepare.py
snailbaron/poof
7d58b89e1f5fdf8c1abca462ea250df285433127
[ "MIT" ]
null
null
null
prepare.py
snailbaron/poof
7d58b89e1f5fdf8c1abca462ea250df285433127
[ "MIT" ]
null
null
null
prepare.py
snailbaron/poof
7d58b89e1f5fdf8c1abca462ea250df285433127
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os import shutil import glob import urllib import zipfile def remove_if_exists(path): """Remove a file or directory if it already exists.""" if os.path.exists(path): shutil.rmtree(path) def create_dir(path): """Create a directory if it does not yet exist. If th...
34.197531
86
0.61787
809
5,540
4.086527
0.15822
0.018149
0.047187
0.03539
0.42196
0.371143
0.332728
0.330611
0.330611
0.313975
0
0.053683
0.223285
5,540
161
87
34.409938
0.714618
0.00361
0
0.078431
0
0.029412
0.334039
0.263124
0
0
0
0
0
0
null
null
0
0.04902
null
null
0.019608
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
0ace12b6964c0cff7772ce959dc691b3831f56c7
706
py
Python
misc/seqan_instrumentation/py2exe/dist/classes/requests/__init__.py
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
15
2015-03-23T02:55:20.000Z
2021-01-12T12:42:30.000Z
misc/seqan_instrumentation/py2exe/dist/classes/requests/__init__.py
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
10
2015-03-02T16:45:39.000Z
2015-06-23T14:02:13.000Z
misc/seqan_instrumentation/py2exe/dist/classes/requests/__init__.py
weese/seqan
1acb1688969c7b61497f2328af54b4d11228a484
[ "BSD-3-Clause" ]
16
2015-02-18T21:43:31.000Z
2021-11-09T22:50:03.000Z
# -*- coding: utf-8 -*- # __ # /__) _ _ _ _ _/ _ # / ( (- (/ (/ (- _) / _) # / """ requests ~~~~~~~~ :copyright: (c) 2012 by Kenneth Reitz. :license: ISC, see LICENSE for more details. """ __title__ = 'requests' __version__ = '0.11.1' __build__ = 0x001101 __author__ = 'Kenneth Reitz' __li...
20.764706
70
0.660057
73
706
5.876712
0.671233
0.083916
0.088578
0.102564
0
0
0
0
0
0
0
0.035778
0.208215
706
33
71
21.393939
0.731664
0.280453
0
0
0
0
0.117172
0
0
0
0.016162
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0ad37bcb0fc99ba609f0ae01f30c16da5051f58d
16,116
py
Python
numba/minivect/llvm_codegen.py
aseyboldt/numba
0c0a8aa7a7cad8b5f0a5383101f5cca5a4a89df3
[ "BSD-2-Clause" ]
4
2015-10-02T18:25:24.000Z
2022-02-12T16:09:11.000Z
minivect/llvm_codegen.py
markflorisson/minivect
d9a3743bea078382e9b16f54933bef3ba3a9d03c
[ "BSD-2-Clause" ]
null
null
null
minivect/llvm_codegen.py
markflorisson/minivect
d9a3743bea078382e9b16f54933bef3ba3a9d03c
[ "BSD-2-Clause" ]
null
null
null
""" Generate LLVM code for a minivect AST. """ import sys try: import llvm.core import llvm.ee import llvm.passes except ImportError: llvm = None import codegen import minierror import minitypes import minivisitor import ctypes_conversion class LLVMCodeGen(codegen.CodeGen): """ Generate LLVM...
33.092402
87
0.593323
1,989
16,116
4.622926
0.164907
0.043067
0.033931
0.022839
0.278738
0.189995
0.110386
0.072322
0.049048
0.033605
0
0.000978
0.30206
16,116
486
88
33.160494
0.816501
0.084264
0
0.201705
1
0
0.042562
0
0
0
0
0.002058
0.005682
1
0.107955
false
0.022727
0.03125
0.011364
0.227273
0.002841
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
0ad40e2d79aa9b0154884dc36318133ac25ed206
17,943
py
Python
openmdao.util/src/openmdao/util/publickey.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
openmdao.util/src/openmdao/util/publickey.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
openmdao.util/src/openmdao/util/publickey.py
swryan/OpenMDAO-Framework
f50d60e1a8cadac7fe03d26ffad5fb660b2a15ec
[ "Apache-2.0" ]
null
null
null
""" Support for generation, use, and storage of public/private key pairs. The :func:`pk_encrypt`, :func:`pk_decrypt`, :func:`pk_sign`, and :func:`pk_verify` functions provide a thin interface over :class:`Crypto.PublicKey.RSA` methods for easier use and to work around some issues found with some keys read from ssh ``id...
33.475746
85
0.564064
2,108
17,943
4.701613
0.203985
0.016951
0.01574
0.012713
0.323782
0.278176
0.258097
0.22026
0.198466
0.171527
0
0.014341
0.347099
17,943
535
86
33.538318
0.831669
0.112077
0
0.363036
0
0
0.062207
0
0
0
0.000657
0.001869
0
0
null
null
0.006601
0.069307
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
0ad5a29c1fb8b836e4ba1f4f1eeb5dff280fb650
355
py
Python
psqltest.py
aharonrossano/psma-gnaf-loader-extended
008783fedd579ac4dfeeae605902ea047de66814
[ "Apache-2.0" ]
null
null
null
psqltest.py
aharonrossano/psma-gnaf-loader-extended
008783fedd579ac4dfeeae605902ea047de66814
[ "Apache-2.0" ]
null
null
null
psqltest.py
aharonrossano/psma-gnaf-loader-extended
008783fedd579ac4dfeeae605902ea047de66814
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python2.4 # # su - postgres # psql postgres # ALTER USER postgres PASSWORD 'postgres'; # CREATE DATABASE psma; # \l # \c psma; # CREATE EXTENSION postgis; # CREATE EXTENSION postgis_topology; import psycopg2 try: conn = psycopg2.connect(dbname="docker", user="docker", password="docker", host="local...
15.434783
96
0.695775
45
355
5.466667
0.688889
0.121951
0.178862
0
0
0
0
0
0
0
0
0.020202
0.16338
355
23
97
15.434783
0.808081
0.515493
0
0
0
0
0.165644
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.166667
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
0ad5c23acb68f261b11f5d998b5e2a0e9f6ceac7
4,151
py
Python
sdmetrics/single_table/privacy/numerical_sklearn.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
null
null
null
sdmetrics/single_table/privacy/numerical_sklearn.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
null
null
null
sdmetrics/single_table/privacy/numerical_sklearn.py
TanguyUrvoy/SDMetrics
eacec8a4cd9b9399e659d2b0716e0f723c5aa876
[ "MIT" ]
null
null
null
"""Numerical sklearn privacy metric modules and their attackers.""" import numpy as np from sklearn.linear_model import LinearRegression from sklearn.neural_network import MLPRegressor from sklearn.svm import SVR from sdmetrics.single_table.privacy.base import NumericalPrivacyMetric, PrivacyAttackerModel class Nume...
30.07971
98
0.656709
479
4,151
5.597077
0.277662
0.020888
0.02238
0.020888
0.238717
0.193957
0.193957
0.073853
0.073853
0.073853
0
0.00098
0.262587
4,151
137
99
30.29927
0.874877
0.449289
0
0.040816
0
0
0.048004
0
0
0
0
0
0
1
0.122449
false
0
0.102041
0
0.632653
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
0ad7912ed134c9a8f08d3f3d48488c487b255e08
1,672
py
Python
saleor/checkout/migrations/0018_auto_20190410_0132.py
dilipts4u/saleor
7ccbed478e663ed664eeee4682a682f99ed5c789
[ "CC-BY-4.0" ]
null
null
null
saleor/checkout/migrations/0018_auto_20190410_0132.py
dilipts4u/saleor
7ccbed478e663ed664eeee4682a682f99ed5c789
[ "CC-BY-4.0" ]
null
null
null
saleor/checkout/migrations/0018_auto_20190410_0132.py
dilipts4u/saleor
7ccbed478e663ed664eeee4682a682f99ed5c789
[ "CC-BY-4.0" ]
null
null
null
# Generated by Django 2.2 on 2019-04-12 09:14 import django.db.models.deletion from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("product", "0091_auto_20190402_0853"), ("payment", "0010_auto_20190220_2001"), ...
32.153846
78
0.580742
158
1,672
5.924051
0.468354
0.034188
0.044872
0.070513
0.309829
0.309829
0.222222
0.145299
0.145299
0.145299
0
0.070386
0.30323
1,672
51
79
32.784314
0.733047
0.025718
0
0.409091
1
0
0.184388
0.070682
0
0
0
0
0
1
0
false
0
0.068182
0
0.136364
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
0ade404d38647f2a6a6b0f1b1cdef6c2f4a764ff
2,342
py
Python
input/scrap_record.py
ibrahimberb/My-ELASPIC-Web-API
a22e68d790825ffa439476b7dac95901de07f0a4
[ "MIT" ]
null
null
null
input/scrap_record.py
ibrahimberb/My-ELASPIC-Web-API
a22e68d790825ffa439476b7dac95901de07f0a4
[ "MIT" ]
null
null
null
input/scrap_record.py
ibrahimberb/My-ELASPIC-Web-API
a22e68d790825ffa439476b7dac95901de07f0a4
[ "MIT" ]
null
null
null
from bs4 import BeautifulSoup as BS import re import logging logging.basicConfig(level=logging.INFO, format='%(message)s') def split_pair_occurrence(input_str): """ Q9HD36.A79T (x11) → (Q9HD36.A79T, 11) """ if '(x' not in input_str: return input_str, 1 pair, occurrence = [item.strip() fo...
28.91358
95
0.602904
299
2,342
4.561873
0.374582
0.080645
0.024194
0.030792
0.042522
0.042522
0.042522
0
0
0
0
0.031395
0.265585
2,342
80
96
29.275
0.759884
0.337319
0
0
0
0
0.07278
0
0
0
0
0.0125
0
1
0.125
false
0
0.09375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0ae14a97b81be610ca0effa6f7399ec040f9ca0e
1,627
py
Python
configuracion/migrations/0001_initial.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
null
null
null
configuracion/migrations/0001_initial.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
null
null
null
configuracion/migrations/0001_initial.py
shiminasai/cafodca
c7935a5daa3e0cff5a1de4b43ef24c227fbf7104
[ "MIT" ]
1
2018-08-30T15:17:52.000Z
2018-08-30T15:17:52.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.10 on 2018-10-19 05:23 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.Create...
33.895833
119
0.564843
151
1,627
5.940397
0.523179
0.061316
0.031215
0.049052
0.176143
0.176143
0.176143
0.176143
0.176143
0.176143
0
0.02039
0.306699
1,627
47
120
34.617021
0.774823
0.040565
0
0.333333
1
0
0.166239
0.019897
0
0
0
0
0
1
0
false
0
0.076923
0
0.179487
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
0ae4a7b41c989b00e750ca9619616142251d025b
2,453
py
Python
_zadania/type_float_h.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
_zadania/type_float_h.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
_zadania/type_float_h.py
DJG-coderslab/2021-12-elearning-pythonana
e072d6cbd231c4b858e92a59af768a069b74ba67
[ "MIT" ]
null
null
null
""" * Assignment: Type Float Gradient * Required: no * Complexity: hard * Lines of code: 7 lines * Time: 8 min English: 1. At what altitude above sea level, pressure is equal to partial pressure of Oxygen 2. Print result in meters rounding to two decimal places 3. To calculate partial pressure use r...
28.858824
76
0.660823
344
2,453
4.712209
0.482558
0.014806
0.022209
0.035163
0.144355
0.127082
0.110426
0.045651
0
0
0
0.086245
0.253159
2,453
84
77
29.202381
0.798581
0.898492
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
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0ae673180b85d4a7dd408dc96046faedba0bdfa3
3,113
py
Python
src/agents/gameai.py
GriffithGNeumark/Hex-Invasion
226e64686badae1cb4f290b6affa43d825ce43ed
[ "MIT" ]
null
null
null
src/agents/gameai.py
GriffithGNeumark/Hex-Invasion
226e64686badae1cb4f290b6affa43d825ce43ed
[ "MIT" ]
null
null
null
src/agents/gameai.py
GriffithGNeumark/Hex-Invasion
226e64686badae1cb4f290b6affa43d825ce43ed
[ "MIT" ]
null
null
null
""" Base class for Game AI. Defines various methods that are used by or implemented in the AI players. """ import os, sys cell_path = os.path.join(os.path.dirname(os.path.abspath(__file__)),os.pardir) if cell_path not in sys.path: sys.path.append( cell_path ) import game import map import game.movevector as move...
36.197674
106
0.62769
418
3,113
4.5
0.322967
0.047847
0.037214
0.021265
0.189261
0.189261
0.135035
0.065922
0.065922
0.065922
0
0.001391
0.30742
3,113
85
107
36.623529
0.871058
0.176036
0
0.138889
0
0
0.099942
0
0
0
0
0
0
1
0.111111
false
0.055556
0.111111
0
0.25
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
0ae96d7337524ddb0d36497f98fd728fd64de4a9
3,275
py
Python
src/robot/running/statusreporter.py
kyoujuro/robotframework
2a356d292c0df6503efcdb5a08920b4e7321db22
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/running/statusreporter.py
kyoujuro/robotframework
2a356d292c0df6503efcdb5a08920b4e7321db22
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
src/robot/running/statusreporter.py
kyoujuro/robotframework
2a356d292c0df6503efcdb5a08920b4e7321db22
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# Copyright 2008-2015 Nokia Networks # Copyright 2016- Robot Framework Foundation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 ...
38.988095
81
0.652824
399
3,275
5.14787
0.348371
0.031159
0.019474
0.015579
0.043817
0.043817
0.024343
0
0
0
0
0.007871
0.262901
3,275
83
82
39.457831
0.842999
0.187176
0
0
0
0
0.026455
0
0
0
0
0
0
1
0.1
false
0.1
0.033333
0
0.266667
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
0aeb61004820237eb0afe08b4471b1768dd32c67
4,544
py
Python
While Loop Example.py
matthew-e-brown/Grade-11-Python
d61eff592e39ee01d254c088dd1a47292bedb5f5
[ "MIT" ]
null
null
null
While Loop Example.py
matthew-e-brown/Grade-11-Python
d61eff592e39ee01d254c088dd1a47292bedb5f5
[ "MIT" ]
null
null
null
While Loop Example.py
matthew-e-brown/Grade-11-Python
d61eff592e39ee01d254c088dd1a47292bedb5f5
[ "MIT" ]
null
null
null
#While Loop Example #By Matthew Brown, Bayside Secondary School import sys #This is only used for the sys.exit() thing to end the program. import random #This is so we can use random number generation to get 3 diff. responses. from time import sleep #Used heavily for dramatic effec...
31.337931
125
0.612896
688
4,544
4.047965
0.361919
0.028007
0.012567
0.012208
0.070377
0.070377
0.070377
0.070377
0.048115
0.048115
0
0.011233
0.255502
4,544
144
126
31.555556
0.812001
0.421655
0
0.385417
0
0.010417
0.286521
0
0
0
0
0
0
1
0.052083
false
0.0625
0.03125
0
0.083333
0.364583
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
0aeba1308e332e2ff34ad035c2bbb77dcfb1e101
831
py
Python
urbanmediator/adminusers.py
rnd0101/urbanmediator
af3b19aefc09ebd1969cbb8f6ebfae0279183511
[ "BSD-3-Clause" ]
null
null
null
urbanmediator/adminusers.py
rnd0101/urbanmediator
af3b19aefc09ebd1969cbb8f6ebfae0279183511
[ "BSD-3-Clause" ]
null
null
null
urbanmediator/adminusers.py
rnd0101/urbanmediator
af3b19aefc09ebd1969cbb8f6ebfae0279183511
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ This file is part of Urban Mediator software. Copyright (c) 2008 University of Art and Design Helsinki See the file LICENSE.txt for copying permission. User management for internal admin users. However, interface sets example for any external identities """ import re...
26.806452
63
0.614922
90
831
5.644444
0.688889
0.062992
0
0
0
0
0
0
0
0
0
0.008651
0.304452
831
30
64
27.7
0.870242
0.362214
0
0
0
0
0.075848
0
0
0
0
0
0
1
0.071429
false
0.142857
0.214286
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
0
0
1
0
0
0
0
0
1
0aef05b49ce2f6c9bbbb88962e96574b0ac7dd9b
3,327
py
Python
tests/utils.py
nkoub/drifactorial
195783733c200379aa84679037059794a723a8fe
[ "MIT" ]
5
2022-01-11T09:04:38.000Z
2022-03-15T15:39:52.000Z
tests/utils.py
nkoub/drifactorial
195783733c200379aa84679037059794a723a8fe
[ "MIT" ]
null
null
null
tests/utils.py
nkoub/drifactorial
195783733c200379aa84679037059794a723a8fe
[ "MIT" ]
2
2022-02-22T12:45:19.000Z
2022-02-28T13:20:37.000Z
"""Utility functions for the testing module. Dribia 2021, Xavier Hoffmann <xrhoffmann@gmail.com> """ import random import string from datetime import date, datetime, time from typing import Any, Dict, Optional from drifactorial.schemas import Employee def random_lower_string(*, k: int = 32) -> str: """Generate...
27.270492
87
0.65284
474
3,327
4.360759
0.208861
0.060958
0.09434
0.037736
0.291243
0.234156
0.179971
0.143203
0.119981
0.089018
0
0.013328
0.2107
3,327
121
88
27.495868
0.7738
0.146378
0
0.136986
0
0
0.057184
0.035469
0
0
0
0
0
1
0.191781
false
0
0.068493
0
0.534247
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
0af2809e624ce3bcde4a0a2c947c3d93eaaa9cbc
7,229
py
Python
mininext/service.py
RS1999ent/miniNExT
1328ea38db507598a430e9f8b547dce06a4374bb
[ "MIT" ]
1
2017-07-17T18:56:22.000Z
2017-07-17T18:56:22.000Z
mininext/service.py
RS1999ent/miniNExT_evolvability
1328ea38db507598a430e9f8b547dce06a4374bb
[ "MIT" ]
null
null
null
mininext/service.py
RS1999ent/miniNExT_evolvability
1328ea38db507598a430e9f8b547dce06a4374bb
[ "MIT" ]
null
null
null
""" Service Helper for MiniNExT. """ import copy from mininext.mount import MountProperties from mininext.util import ParamContainer class Service(ParamContainer): "Basic service object that can be used by many nodes." def __init__(self, name, **kwargs): """Initializes a new service helper object ...
37.651042
77
0.623461
801
7,229
5.588015
0.284644
0.01966
0.031278
0.010724
0.118409
0.064343
0.042002
0.042002
0.042002
0.021448
0
0.0002
0.30682
7,229
191
78
37.848168
0.893035
0.148568
0
0.130841
0
0
0.189843
0.004123
0
0
0
0
0
0
null
null
0.018692
0.028037
null
null
0.009346
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
0af3acdb8fd08988f566d7a93ef7c84db5ed482d
498
py
Python
src/OpenSSL/__init__.py
alvistack/pyca-pyopenssl
2bd1c5104a7a55715db93157e4f6a657a4f2a154
[ "Apache-2.0" ]
1
2022-03-29T14:42:28.000Z
2022-03-29T14:42:28.000Z
src/OpenSSL/__init__.py
Engenere/pyopenssl
5a30471edc26efd38cb052d1ed923f2626e60c45
[ "Apache-2.0" ]
null
null
null
src/OpenSSL/__init__.py
Engenere/pyopenssl
5a30471edc26efd38cb052d1ed923f2626e60c45
[ "Apache-2.0" ]
null
null
null
# Copyright (C) AB Strakt # See LICENSE for details. """ pyOpenSSL - A simple wrapper around the OpenSSL library """ from OpenSSL import SSL, crypto from OpenSSL.version import ( __author__, __copyright__, __email__, __license__, __summary__, __title__, __uri__, __version__, ) __all_...
15.090909
55
0.626506
44
498
5.545455
0.613636
0.090164
0.163934
0.221311
0.401639
0.401639
0.401639
0.401639
0
0
0
0
0.259036
498
32
56
15.5625
0.661247
0.210843
0
0
0
0
0.234375
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
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
0af3ed0df0dcb00ca91f965bd32f00b7ef4d8c93
61,454
py
Python
qsimcirq_tests/qsimcirq_test.py
mtjrider/qsim
6443786bd1f283cbfa8d25151100a9ae640e3807
[ "Apache-2.0" ]
null
null
null
qsimcirq_tests/qsimcirq_test.py
mtjrider/qsim
6443786bd1f283cbfa8d25151100a9ae640e3807
[ "Apache-2.0" ]
null
null
null
qsimcirq_tests/qsimcirq_test.py
mtjrider/qsim
6443786bd1f283cbfa8d25151100a9ae640e3807
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 Google LLC. 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 # # https://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or ...
33.093161
88
0.609724
8,278
61,454
4.371346
0.072602
0.010501
0.009866
0.010059
0.765932
0.719671
0.668408
0.622478
0.571879
0.538744
0
0.038241
0.253637
61,454
1,856
89
33.110991
0.750692
0.091906
0
0.569425
0
0
0.019964
0.000899
0
0
0
0
0.060309
1
0.056101
false
0.000701
0.003506
0.011921
0.07784
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0af402f2ff05cc220323b6d8676d4bb7f64670f2
543
py
Python
src/txCascil/server/service.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
null
null
null
src/txCascil/server/service.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
null
null
null
src/txCascil/server/service.py
DanSeraf/spyd
af893b7f9c67785613b25754eb2cf150523a9fe4
[ "Zlib" ]
null
null
null
from twisted.application import service from twisted.internet import reactor class Service(service.Service): def __init__(self, interface, port, protocol_factory): self._interface = interface self._port = port self._protocol_factory = protocol_factory self._listener = None...
30.166667
118
0.71639
59
543
6.305085
0.372881
0.16129
0.091398
0
0
0
0
0
0
0
0
0
0.20442
543
17
119
31.941176
0.861111
0
0
0
0
0
0
0
0
0
0
0
0
1
0.25
false
0
0.166667
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
0af45c3ebc0025345eb01a82708b6fbb4256373f
1,920
py
Python
FirebaseFunctions.py
Roberto09/Signum-Backend
93d5efc8806b715e22d24a8c9f2fb552f4ef52eb
[ "BSD-3-Clause" ]
null
null
null
FirebaseFunctions.py
Roberto09/Signum-Backend
93d5efc8806b715e22d24a8c9f2fb552f4ef52eb
[ "BSD-3-Clause" ]
null
null
null
FirebaseFunctions.py
Roberto09/Signum-Backend
93d5efc8806b715e22d24a8c9f2fb552f4ef52eb
[ "BSD-3-Clause" ]
null
null
null
#library used for simple queries import base64 from firebase import firebase from flask import jsonify import FacebookFunctions systemKey = b"here-goes-the-key-you-want-to-use-for-encryption" fb = firebase.FirebaseApplication('here-goes-the-firebase-url', None) def getFirebaseInfo(uid): userInfoJson = fb.get("/Use...
66.206897
190
0.678646
227
1,920
5.678414
0.334802
0.049651
0.09232
0.130334
0.337471
0.337471
0.337471
0.337471
0.337471
0.30256
0
0.004162
0.123958
1,920
29
191
66.206897
0.762188
0.102083
0
0
0
0
0.359837
0.042948
0
0
0
0
0
1
0.08
false
0.24
0.16
0
0.28
0.24
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
0afa00f2467d8f6beec71d007c3bc610afa4401b
3,040
py
Python
pyspedas/rbsp/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
3
2018-10-22T20:15:39.000Z
2019-03-06T18:03:35.000Z
pyspedas/rbsp/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
null
null
null
pyspedas/rbsp/tests/tests.py
pulupa/pyspedas
7228199cf16eca2a27d130f1e4985ef1e69462ea
[ "MIT" ]
2
2019-01-25T20:03:33.000Z
2019-07-05T19:53:30.000Z
import os import unittest from pyspedas.utilities.data_exists import data_exists import pyspedas from pytplot import del_data class LoadTestCases(unittest.TestCase): def tearDown(self): del_data('*') def test_downloadonly(self): files = pyspedas.rbsp.efw(trange=['2015-11-3', '2015-11-4'], le...
42.816901
132
0.655263
403
3,040
4.774194
0.253102
0.174636
0.159044
0.212058
0.328482
0.278586
0.16684
0.16684
0.08264
0.08264
0
0.068054
0.178289
3,040
71
133
42.816901
0.702162
0.272368
0
0
0
0
0.141815
0
0
0
0
0
0.4
1
0.175
false
0
0.125
0
0.325
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
0afa6e92c784778137920f43a0e647066f520682
751
py
Python
website/custom_context_processors.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
null
null
null
website/custom_context_processors.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
7
2020-02-12T00:10:22.000Z
2022-01-13T00:43:13.000Z
website/custom_context_processors.py
CrowdcoinSA/crowdcoin-platform
72d48d4a7ac4abe7d02e3f369ca62a29c402c9d9
[ "MIT" ]
1
2020-10-05T12:20:19.000Z
2020-10-05T12:20:19.000Z
import feedparser from bs4 import BeautifulSoup import logging logger = logging.getLogger(__name__) def blog_posts(request): try: print 'called' url='http://blog.crowdcoin.co.za/feed' feed = feedparser.parse(url) items = feed['items'][:5] out_put = [] for item in ite...
31.291667
58
0.541944
86
751
4.616279
0.651163
0.04534
0
0
0
0
0
0
0
0
0
0.013592
0.314248
751
24
59
31.291667
0.757282
0
0
0
0
0
0.135638
0
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.043478
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0afbc2cf0cb6bca0763e40fe4d1f00fc0374fb3d
5,738
py
Python
yocto/poky/scripts/lib/wic/imager/baseimager.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
2
2019-03-27T08:11:14.000Z
2020-02-22T20:40:24.000Z
yocto/poky/scripts/lib/wic/imager/baseimager.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
39
2016-08-23T11:23:28.000Z
2017-04-07T08:00:52.000Z
yocto/poky/scripts/lib/wic/imager/baseimager.py
jxtxinbing/ops-build
9008de2d8e100f3f868c66765742bca9fa98f3f9
[ "Apache-2.0" ]
1
2021-09-10T18:44:30.000Z
2021-09-10T18:44:30.000Z
#!/usr/bin/env python -tt # # Copyright (c) 2007 Red Hat Inc. # Copyright (c) 2009, 2010, 2011 Intel, Inc. # # This program 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; version 2 of the License # # This pr...
29.57732
79
0.604392
708
5,738
4.816384
0.39548
0.010264
0.01173
0.016716
0.181818
0.174194
0.109091
0.109091
0.083871
0.056892
0
0.008159
0.316487
5,738
193
80
29.73057
0.861295
0.192576
0
0.128205
0
0
0.072217
0
0
0
0
0
0
0
null
null
0.025641
0.102564
null
null
0.012821
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