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
5ea007a2b53efa3763616ae1425044471321276f
983
py
Python
python/aliApi/containerRegistry/main.py
GordonChen13/learn-examples
d04ba39edc7fcc5a5f546ba72764df6ce2f9ee2b
[ "MIT" ]
2
2018-05-14T02:16:36.000Z
2019-07-15T03:16:02.000Z
python/aliApi/containerRegistry/main.py
GordonChen13/learn-examples
d04ba39edc7fcc5a5f546ba72764df6ce2f9ee2b
[ "MIT" ]
1
2018-04-08T09:32:53.000Z
2018-04-10T08:14:31.000Z
python/aliApi/containerRegistry/main.py
GordonChen13/learn-examples
d04ba39edc7fcc5a5f546ba72764df6ce2f9ee2b
[ "MIT" ]
2
2017-11-27T05:34:34.000Z
2018-09-25T05:06:53.000Z
#!/usr/bin/env python # coding=utf-8 from aliyunsdkcore.acs_exception.exceptions import ClientException from aliyunsdkcore.acs_exception.exceptions import ServerException from aliyunsdkcore.client import AcsClient # from aliyunsdkcr.request.v20160607 import GetImageLayerRequest from aliyunsdkcr.request.v20160607 import...
35.107143
84
0.811801
112
983
7.044643
0.535714
0.050697
0.050697
0.073511
0.207858
0.114068
0
0
0
0
0
0.019101
0.094608
983
28
85
35.107143
0.867416
0.299084
0
0.125
0
0
0.141593
0.039823
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ea16b9669c920b19a570aba76fefeba84415d6c
1,564
py
Python
run.py
jasonmar/wp2s3.py
7ff00eb12409923978a4e07230b7259ecfe25ddc
[ "Apache-2.0" ]
1
2018-11-09T19:50:13.000Z
2018-11-09T19:50:13.000Z
run.py
jasonmar/wp2s3.py
7ff00eb12409923978a4e07230b7259ecfe25ddc
[ "Apache-2.0" ]
null
null
null
run.py
jasonmar/wp2s3.py
7ff00eb12409923978a4e07230b7259ecfe25ddc
[ "Apache-2.0" ]
null
null
null
# # Copyright (C) 2015 Jason Mar # # 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...
36.372093
116
0.704604
229
1,564
4.724891
0.567686
0.055453
0.02403
0.029575
0
0
0
0
0
0
0
0.017419
0.192455
1,564
43
117
36.372093
0.839272
0.590793
0
0
0
0
0.450567
0.08752
0
0
0
0
0
1
0
false
0.05
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ea1798f91ee38f995fef76c2802897a9c6e8ae0
2,212
py
Python
related_entropy.py
9b/malpdfobj
91e1b4537dda61a6c20f8186b13fe87a0a37ecb5
[ "MIT" ]
29
2015-02-16T08:22:14.000Z
2022-02-01T09:33:35.000Z
related_entropy.py
9b/malpdfobj
91e1b4537dda61a6c20f8186b13fe87a0a37ecb5
[ "MIT" ]
null
null
null
related_entropy.py
9b/malpdfobj
91e1b4537dda61a6c20f8186b13fe87a0a37ecb5
[ "MIT" ]
8
2016-02-09T16:21:55.000Z
2020-11-18T09:08:32.000Z
import math import json import os import optparse def H(data): entropy = 0 for x in range(256): p_x = float(data.count(chr(x)))/len(data) if p_x > 0: entropy += - p_x*math.log(p_x, 2) return entropy def bytes_from_file(filename, chunksize...
27.308642
92
0.417722
235
2,212
3.829787
0.340426
0.008889
0.028889
0.028889
0.077778
0.077778
0.077778
0.077778
0.077778
0.077778
0
0.024957
0.474684
2,212
80
93
27.65
0.74957
0
0
0.176471
0
0
0.020344
0.011302
0
0
0
0
0
0
null
null
0
0.058824
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
5ea31af3452ac5977baccd33685b8b5716d9de5e
11,654
py
Python
tests/test_state.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
null
null
null
tests/test_state.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
10
2021-05-05T14:51:04.000Z
2022-03-03T19:42:37.000Z
tests/test_state.py
simonsobs/nextline
94741b85002008cd84b7094a622ff03d18ecef5c
[ "MIT" ]
null
null
null
import time from abc import ABC, abstractmethod import pytest from unittest.mock import Mock from nextline.registry import PdbCIRegistry from nextline.utils import Registry from nextline.state import ( Initialized, Running, Exited, Finished, Closed, StateObsoleteError, StateMethodError ) ...
27.813842
101
0.659259
1,286
11,654
5.606532
0.096423
0.051318
0.047157
0.061026
0.687517
0.613454
0.593343
0.539945
0.506103
0.476283
0
0.001136
0.244551
11,654
418
102
27.880383
0.81781
0.044105
0
0.612179
0
0
0.034517
0.002067
0
0
0
0
0.169872
1
0.048077
false
0.00641
0.025641
0
0.128205
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ea45dff1c1b5a7b9a7139fec69340289fa5afd9
89
py
Python
problem_1_min.py
kaubu/project-euler
8d4a1f1a6abf24a0c5491731cbdb074d89145061
[ "MIT" ]
null
null
null
problem_1_min.py
kaubu/project-euler
8d4a1f1a6abf24a0c5491731cbdb074d89145061
[ "MIT" ]
null
null
null
problem_1_min.py
kaubu/project-euler
8d4a1f1a6abf24a0c5491731cbdb074d89145061
[ "MIT" ]
null
null
null
n_sum = 0 for n in range(1000): n_sum += n if not n % 3 or not n % 5 else 0 print(n_sum)
22.25
65
0.629213
24
89
2.208333
0.583333
0.226415
0
0
0
0
0
0
0
0
0
0.121212
0.258427
89
3
66
29.666667
0.681818
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
5ea4ab72c6095ad5621af4df3773f6f0b18d8cda
783
py
Python
160-intersection-of-two-linked-lists/160-intersection-of-two-linked-lists.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
1
2022-02-14T08:03:32.000Z
2022-02-14T08:03:32.000Z
160-intersection-of-two-linked-lists/160-intersection-of-two-linked-lists.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
null
null
null
160-intersection-of-two-linked-lists/160-intersection-of-two-linked-lists.py
tlylt/LeetCodeAnki
9f69504c3762f7895d95c2a592f18ad395199ff4
[ "MIT" ]
null
null
null
# Definition for singly-linked list. # class ListNode: # def __init__(self, x): # self.val = x # self.next = None class Solution: def getIntersectionNode(self, headA: ListNode, headB: ListNode) -> ListNode: l_a = self.findLength(headA) l_b = self.findLength(headB) while ...
27
80
0.494253
90
783
4.166667
0.333333
0.021333
0.074667
0
0
0
0
0
0
0
0
0.00885
0.422733
783
29
81
27
0.820796
0.157088
0
0.173913
0
0
0
0
0
0
0
0
0
1
0.086957
false
0
0
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ea50b0a6baa34ab53b43f4b399dabbba9754ddb
12,968
py
Python
User/user.py
17kisern/-GVSU-CIS457-Project2
a2438e2c165a4e5b1381c332f2879122e081ff2d
[ "MIT" ]
null
null
null
User/user.py
17kisern/-GVSU-CIS457-Project2
a2438e2c165a4e5b1381c332f2879122e081ff2d
[ "MIT" ]
null
null
null
User/user.py
17kisern/-GVSU-CIS457-Project2
a2438e2c165a4e5b1381c332f2879122e081ff2d
[ "MIT" ]
null
null
null
import os from os import path import socket # Import socket module import asyncio import sys """ Notes ============== socket.gethostname() gets the current machines hostname, for example "DESKTOP-1337PBJ" string.encode('UTF-8') encodes the given string into a 'bytes' liter...
33.859008
140
0.589297
1,279
12,968
5.971853
0.246286
0.039146
0.020031
0.029851
0.298246
0.249673
0.20686
0.191673
0.191673
0.140875
0
0.012017
0.319787
12,968
383
141
33.859008
0.853871
0.154688
0
0.526316
0
0
0.127529
0.003273
0
0
0
0
0
1
0.045113
false
0
0.018797
0
0.105263
0.116541
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ea5b896308612a702c41a31972ca1127a9b11ad
923
py
Python
docs/jnpr_healthbot_swagger/swagger_client/api/__init__.py
minefuto/healthbot-py-client
bb81452c974456af44299aebf32a73abeda8a943
[ "Apache-2.0" ]
null
null
null
docs/jnpr_healthbot_swagger/swagger_client/api/__init__.py
minefuto/healthbot-py-client
bb81452c974456af44299aebf32a73abeda8a943
[ "Apache-2.0" ]
null
null
null
docs/jnpr_healthbot_swagger/swagger_client/api/__init__.py
minefuto/healthbot-py-client
bb81452c974456af44299aebf32a73abeda8a943
[ "Apache-2.0" ]
null
null
null
from __future__ import absolute_import # flake8: noqa # import apis into api package from swagger_client.api.administration_api import AdministrationApi from swagger_client.api.authentication_api import AuthenticationApi from swagger_client.api.configuration_api import ConfigurationApi from swagger_client.api.data_so...
46.15
83
0.889491
128
923
6.125
0.335938
0.196429
0.303571
0.357143
0.061224
0
0
0
0
0
0
0.001174
0.076923
923
19
84
48.578947
0.919014
0.04442
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
0
0
0
null
0
1
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
5
5ea974a5486e0838fd0233122ecdd398fad7f25f
928
py
Python
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/site_configuration/migrations/0004_add_site_values_field.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
3
2021-12-15T04:58:18.000Z
2022-02-06T12:15:37.000Z
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/site_configuration/migrations/0004_add_site_values_field.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
null
null
null
Part-03-Understanding-Software-Crafting-Your-Own-Tools/models/edx-platform/openedx/core/djangoapps/site_configuration/migrations/0004_add_site_values_field.py
osoco/better-ways-of-thinking-about-software
83e70d23c873509e22362a09a10d3510e10f6992
[ "MIT" ]
1
2019-01-02T14:38:50.000Z
2019-01-02T14:38:50.000Z
# Generated by Django 1.11.28 on 2020-02-19 16:50 import collections import jsonfield.fields from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('site_configuration', '0003_auto_20200217_1058'), ] operations = [ migrations.AddField( mo...
33.142857
209
0.661638
92
928
6.5
0.554348
0.075251
0.076923
0.090301
0.498328
0.498328
0.498328
0.498328
0.498328
0.324415
0
0.044595
0.202586
928
27
210
34.37037
0.763514
0.050647
0
0.315789
1
0
0.191126
0.05347
0
0
0
0
0
1
0
false
0
0.157895
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5eaa3697b5bd970332387efa36b0b10e0887039a
2,767
py
Python
app-tasks/rf/src/rf/ingest/models/layer.py
radiantearth/raster-foundry
834dc0a1cd4247ffa065ea16fa92760df908760e
[ "Apache-2.0" ]
null
null
null
app-tasks/rf/src/rf/ingest/models/layer.py
radiantearth/raster-foundry
834dc0a1cd4247ffa065ea16fa92760df908760e
[ "Apache-2.0" ]
1
2017-08-23T17:10:19.000Z
2017-08-23T21:57:17.000Z
app-tasks/rf/src/rf/ingest/models/layer.py
radiantearth/raster-foundry
834dc0a1cd4247ffa065ea16fa92760df908760e
[ "Apache-2.0" ]
3
2020-02-05T13:26:31.000Z
2021-07-24T15:02:02.000Z
""" Python class to represent a layer within an ingest """ class Layer(object): """Construct layer to ingest""" def __init__(self, id, output_uri, sources, cell_size, crs="epsg:3857", pyramid=True, native=False, cell_type="uint16raw", histogram_buckets=512, tile_size=256, re...
42.569231
104
0.597398
310
2,767
5.106452
0.309677
0.094757
0.04422
0.018951
0.078332
0
0
0
0
0
0
0.006455
0.328153
2,767
64
105
43.234375
0.845078
0.331767
0
0
0
0
0.096118
0
0
0
0
0
0
1
0.055556
false
0
0
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5eaa41b5ba5c1b8a725e3ec84cce0eac16b60635
7,603
py
Python
diagnostics/diagnostic_common_diagnostics/src/diagnostic_common_diagnostics/ntp_monitor.py
zhj-buffer/ROS2-driver-for-Realsense
936cf27be4e7dc3d699ff99499e72ea8638cc622
[ "Apache-2.0" ]
2
2021-07-14T12:33:55.000Z
2021-11-21T07:14:13.000Z
melodic/src/diagnostics/diagnostic_common_diagnostics/src/diagnostic_common_diagnostics/ntp_monitor.py
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
1
2021-07-08T10:26:06.000Z
2021-07-08T10:31:11.000Z
melodic/src/diagnostics/diagnostic_common_diagnostics/src/diagnostic_common_diagnostics/ntp_monitor.py
disorn-inc/ROS-melodic-python3-Opencv-4.1.1-CUDA
3d265bb64712e3cd7dfa0ad56d78fcdebafdb4b0
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # Software License Agreement (BSD License) # # Copyright (c) 2008, Willow Garage, Inc. # All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions # are met: # # * Redist...
38.790816
93
0.639484
945
7,603
5.02328
0.310053
0.032442
0.017695
0.022751
0.259322
0.211923
0.155888
0.107858
0.107858
0.08932
0
0.008892
0.260424
7,603
195
94
38.989744
0.835319
0.21531
0
0.161538
0
0
0.138931
0.012814
0
0
0
0
0
0
null
null
0.015385
0.084615
null
null
0.007692
0
0
0
null
0
0
0
0
0
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
5eaa5b05829f7dff5f8b3654295d561566cbd3dd
861
py
Python
Jaccorot/0014/0014.py
saurabh896/python-1
f8d3aedf4c0fe6e24dfa3269ea7e642c9f7dd9b7
[ "MIT" ]
3,976
2015-01-01T15:49:39.000Z
2022-03-31T03:47:56.000Z
Jaccorot/0014/0014.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
97
2015-01-11T02:59:46.000Z
2022-03-16T14:01:56.000Z
Jaccorot/0014/0014.py
dwh65416396/python
1a7e3edd1cd3422cc0eaa55471a0b42e004a9a1a
[ "MIT" ]
3,533
2015-01-01T06:19:30.000Z
2022-03-28T13:14:54.000Z
#!/usr/bin/python # coding=utf-8 """ 第 0014 题: 纯文本文件 student.txt为学生信息, 里面的内容(包括花括号)如下所示, 请将上述内容写到 student.xls 文件中,如下图所示: """ import os import json import xlwt def read_txt(path): with open(path, 'r') as f: text = f.read().decode('utf-8') text_json = json.loads(text) return text_json def sav...
20.023256
84
0.610918
135
861
3.681481
0.525926
0.016097
0.052314
0.052314
0
0
0
0
0
0
0
0.020031
0.246225
861
42
85
20.5
0.745763
0.131243
0
0.083333
0
0
0.058345
0
0
0
0
0
0
1
0.083333
false
0
0.125
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
0
0
0
0
0
1
0
5eaa87d463aba065e90433c5bc1e27fa235627ad
1,135
py
Python
dataprocess.py
gushu333/DA4NMT
dba52a3d3784cd795b6f9aaf655b63475a848798
[ "Apache-2.0" ]
1
2018-08-25T13:35:02.000Z
2018-08-25T13:35:02.000Z
dataprocess.py
gushu333/DA4NMT
dba52a3d3784cd795b6f9aaf655b63475a848798
[ "Apache-2.0" ]
null
null
null
dataprocess.py
gushu333/DA4NMT
dba52a3d3784cd795b6f9aaf655b63475a848798
[ "Apache-2.0" ]
null
null
null
import argparse as ap parser = ap.ArgumentParser(description='delete the blank line and keep sequence length less than 50') parser.add_argument('--input1', type=str) parser.add_argument('--input2', type=str) #parser.add_argument('--output', type=str, default=str + ".less50") parser.add_argument('--encoding',...
35.46875
108
0.663436
165
1,135
4.533333
0.345455
0.080214
0.090909
0.042781
0.342246
0.21123
0.128342
0.128342
0.128342
0.128342
0
0.067992
0.157709
1,135
31
109
36.612903
0.714435
0.05815
0
0.153846
0
0
0.123433
0
0
0
0
0
0
0
null
null
0
0.115385
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
5eac70af14d5975d4ffe25c63c27d1c08dbcf096
8,247
py
Python
test/utils/gtclang-tester/gtclang_tester/utility.py
mroethlin/gtclang
248b3637e3a438adc3bed3a684cee94798afff0b
[ "MIT" ]
6
2017-10-10T18:56:54.000Z
2020-05-28T15:29:19.000Z
test/utils/gtclang-tester/gtclang_tester/utility.py
twicki/gtclang
e87a7aa8612aad0df8c24117b9bbff6f8153a7fd
[ "MIT" ]
125
2017-10-18T14:33:57.000Z
2019-10-18T10:45:17.000Z
test/utils/gtclang-tester/gtclang_tester/utility.py
twicki/gtclang
e87a7aa8612aad0df8c24117b9bbff6f8153a7fd
[ "MIT" ]
9
2017-09-20T12:57:49.000Z
2019-08-26T09:32:20.000Z
#!/usr/bin/python3 # -*- coding: utf-8 -*- ##===-----------------------------------------------------------------------------*- Python -*-===## ## _ _ ## | | | | ## __ _| |_ ___| | __ _ _ __ __ _ ## ...
33.388664
100
0.532921
877
8,247
4.90992
0.334094
0.015327
0.009289
0.018114
0.111937
0.081746
0.081746
0.081746
0.071064
0.052485
0
0.008723
0.332727
8,247
246
101
33.52439
0.77376
0.337456
0
0.174825
0
0
0.029186
0
0
0
0
0.004065
0.027972
1
0.076923
false
0.013986
0.048951
0.006993
0.251748
0.013986
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5eacd7132e9640d00adac17dd7d9eef7046e867a
4,248
py
Python
User/migrations/0001_initial.py
orik3ll0/generate_Csv
49902b1ddbe341e8c65fc453bfb0b5d807de1563
[ "MIT" ]
null
null
null
User/migrations/0001_initial.py
orik3ll0/generate_Csv
49902b1ddbe341e8c65fc453bfb0b5d807de1563
[ "MIT" ]
null
null
null
User/migrations/0001_initial.py
orik3ll0/generate_Csv
49902b1ddbe341e8c65fc453bfb0b5d807de1563
[ "MIT" ]
null
null
null
# Generated by Django 3.2.5 on 2021-07-15 15:17 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='InputType', fields=[ ...
48.272727
127
0.57839
413
4,248
5.782082
0.181598
0.087521
0.105946
0.119765
0.748325
0.714824
0.700168
0.668342
0.649916
0.649916
0
0.01369
0.277778
4,248
87
128
48.827586
0.764668
0.010593
0
0.6375
1
0
0.110212
0
0
0
0
0
0
1
0
false
0
0.025
0
0.075
0
0
0
0
null
0
0
0
0
1
1
0
0
1
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
5ead1fa1ac98ccb096f19b374bfc58038b3838ec
20,969
py
Python
src/genie/libs/parser/iosxe/show_ppp.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/show_ppp.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
src/genie/libs/parser/iosxe/show_ppp.py
nielsvanhooy/genieparser
9a1955749697a6777ca614f0af4d5f3a2c254ccd
[ "Apache-2.0" ]
null
null
null
"""show_PPP.py IOSXE parsers for the following show commands: * 'show ppp statistics' """ # Python import re # Metaparser from genie.metaparser import MetaParser from genie.metaparser.util.schemaengine import Schema, Optional # import parser utils from genie.libs.parser.utils.common import Common class ShowPppSt...
38.264599
84
0.409414
1,989
20,969
4.191051
0.089995
0.077735
0.028791
0.03167
0.790907
0.752279
0.607126
0.508997
0.401512
0.265955
0
0.025806
0.460394
20,969
547
85
38.334552
0.710915
0.163003
0
0.604706
0
0
0.230394
0.05595
0
0
0
0
0
1
0.002353
false
0
0.009412
0
0.023529
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
5ead8537ec1d2acc961e3c05d30fb2a7ac76c394
479
py
Python
tests/conftest.py
espdev/scikit-mpe
c35a298e996eec8638c302c18b988bf56deb6770
[ "MIT" ]
7
2020-05-08T16:54:37.000Z
2022-03-20T08:47:02.000Z
tests/conftest.py
espdev/scikit-mpe
c35a298e996eec8638c302c18b988bf56deb6770
[ "MIT" ]
5
2020-02-05T15:50:42.000Z
2021-05-23T20:23:18.000Z
tests/conftest.py
espdev/scikit-mpe
c35a298e996eec8638c302c18b988bf56deb6770
[ "MIT" ]
1
2021-07-02T12:23:52.000Z
2021-07-02T12:23:52.000Z
# -*- coding: utf-8 -*- import warnings import pytest from skimage.data import retina from skimage.color import rgb2gray from skimage.transform import rescale from skimage.filters import sato @pytest.fixture(scope='session') def retina_speed_image(): with warnings.catch_warnings(): warnings.simplefilter...
25.210526
71
0.732777
62
479
5.548387
0.548387
0.127907
0
0
0
0
0
0
0
0
0
0.042394
0.162839
479
18
72
26.611111
0.815461
0.043841
0
0
0
0
0.028509
0
0
0
0
0
0
1
0.076923
false
0
0.461538
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
1
0
0
2
5eae6de4f3755423f0ab73b4087cbfc0386ab861
1,046
py
Python
figS3/plot.py
andim/paper-bayesimmune
d8e394d0beb1f15c5f488a79a46e77143d2e017e
[ "MIT" ]
null
null
null
figS3/plot.py
andim/paper-bayesimmune
d8e394d0beb1f15c5f488a79a46e77143d2e017e
[ "MIT" ]
null
null
null
figS3/plot.py
andim/paper-bayesimmune
d8e394d0beb1f15c5f488a79a46e77143d2e017e
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import scipy.special import matplotlib.pyplot as plt import matplotlib.gridspec as gridspec plt.style.use(['../optdynim.mplstyle']) import palettable import sys sys.path.append('../lib') import optdynlib import plotting import misc df = misc.loadnpz('data/data.npz') df['tauc']...
27.526316
117
0.673996
182
1,046
3.813187
0.521978
0.028818
0.020173
0.0317
0.04611
0.04611
0
0
0
0
0
0.037118
0.124283
1,046
37
118
28.27027
0.720524
0
0
0.0625
0
0
0.16348
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
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
5eaf2f860b2a78625d7dbcd11d01486b20f6661e
1,864
py
Python
application/modules/registration.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
application/modules/registration.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
application/modules/registration.py
BaggerFast/Simple_votings
843769fa6fd2c04feb542e6b301b7b4810260d4e
[ "MIT" ]
null
null
null
from django.contrib import messages from django.contrib.auth import login from django.contrib.auth.models import User from django.shortcuts import render, redirect from django.urls import reverse from django.views import View from application.forms import RegistrationForm from application.views import get_navbar, Page ...
42.363636
105
0.612124
199
1,864
5.628141
0.351759
0.06875
0.045536
0.0375
0.230357
0.230357
0.230357
0.078571
0
0
0
0
0.282725
1,864
43
106
43.348837
0.837696
0
0
0.153846
0
0
0.125536
0
0
0
0
0
0
1
0.076923
false
0.076923
0.205128
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5eb21f50c3a708d9eb64cb1111bacf94011dc947
554
py
Python
src/meshcat/tests/test_start_server.py
Arpafaucon/meshcat-python
c3a9ceaa2b82ba1146b174d901a63269a9b5432f
[ "MIT" ]
150
2018-02-25T23:38:05.000Z
2022-03-11T11:56:20.000Z
src/meshcat/tests/test_start_server.py
Arpafaucon/meshcat-python
c3a9ceaa2b82ba1146b174d901a63269a9b5432f
[ "MIT" ]
104
2018-02-23T22:16:24.000Z
2022-03-23T13:22:26.000Z
src/meshcat/tests/test_start_server.py
Arpafaucon/meshcat-python
c3a9ceaa2b82ba1146b174d901a63269a9b5432f
[ "MIT" ]
45
2018-03-15T20:13:28.000Z
2022-02-15T09:12:44.000Z
import unittest from meshcat.servers.zmqserver import start_zmq_server_as_subprocess class TestStartZmqServer(unittest.TestCase): """ Test the StartZmqServerAsSubprocess method. """ def test_default_args(self): proc, zmq_url, web_url = start_zmq_server_as_subprocess() self.assertIn("1...
30.777778
101
0.720217
74
554
5.054054
0.459459
0.080214
0.112299
0.128342
0.379679
0.31016
0.245989
0.245989
0.245989
0.245989
0
0.026316
0.176895
554
17
102
32.588235
0.79386
0.077617
0
0
0
0
0.074747
0
0
0
0
0
0.3
1
0.2
false
0
0.2
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
0
0
0
0
1
0
5eb5b78acddacd990b0f73d93c0c7e56b2e47350
2,558
py
Python
cirq-core/cirq/interop/quirk/cells/all_cells.py
Saibaba-Alapati/Cirq
782efcd04c3bbf73a0d630306a3d1cfd9966521d
[ "Apache-2.0" ]
3,326
2018-07-18T23:17:21.000Z
2022-03-29T22:28:24.000Z
cirq-core/cirq/interop/quirk/cells/all_cells.py
resduo/Cirq
680f897345eb1c71c9242515edda8f04b8594319
[ "Apache-2.0" ]
3,443
2018-07-18T21:07:28.000Z
2022-03-31T20:23:21.000Z
cirq-core/cirq/interop/quirk/cells/all_cells.py
resduo/Cirq
680f897345eb1c71c9242515edda8f04b8594319
[ "Apache-2.0" ]
865
2018-07-18T23:30:24.000Z
2022-03-30T11:43:23.000Z
# Copyright 2019 The Cirq Developers # # 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 ...
52.204082
99
0.839328
376
2,558
5.37234
0.257979
0.136139
0.096535
0.128713
0.610396
0.444554
0.297525
0.082178
0
0
0
0.003503
0.107115
2,558
48
100
53.291667
0.880911
0.242768
0
0
0
0
0
0
0
0
0
0
0
1
0.032258
true
0
0.451613
0
0.483871
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
2
5eb5b8ff8b16c931358c38d5d6013b24e219911a
985
py
Python
falmer/featured/mutations.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
2
2017-04-27T19:35:59.000Z
2017-06-13T16:19:33.000Z
falmer/featured/mutations.py
sussexstudent/falmer
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
975
2017-04-13T11:31:07.000Z
2022-02-10T07:46:18.000Z
falmer/featured/mutations.py
sussexstudent/services-api
ae735bd9d6177002c3d986e5c19a78102233308f
[ "MIT" ]
3
2018-05-09T06:42:25.000Z
2020-12-10T18:29:30.000Z
import graphene from . import types from . import models from graphene.types.generic import GenericScalar class SlateInput(graphene.InputObjectType): data = GenericScalar(required=True) class UpdateSlate(graphene.Mutation): class Arguments: slate_id = graphene.Int(required=True) data = Slate...
25.921053
67
0.651777
111
985
5.72973
0.486486
0.056604
0.059748
0
0
0
0
0
0
0
0
0
0.252792
985
37
68
26.621622
0.86413
0
0
0
0
0
0.029442
0.02132
0
0
0
0
0
1
0.038462
false
0
0.153846
0
0.576923
0.038462
0
0
0
null
0
0
0
0
0
0
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
5eb5d321fb0acf65b8501d4d01b3e4fdc85f9f98
140
py
Python
src/pycus/__main__.py
moshez/pycus
d1615b1cf73b376d80c148a53be938eb11b81541
[ "MIT" ]
null
null
null
src/pycus/__main__.py
moshez/pycus
d1615b1cf73b376d80c148a53be938eb11b81541
[ "MIT" ]
12
2020-08-02T04:37:36.000Z
2022-01-30T02:08:05.000Z
src/pycus/__main__.py
moshez/pycus
d1615b1cf73b376d80c148a53be938eb11b81541
[ "MIT" ]
null
null
null
from . import commands if __name__ != "__main__": raise ImportError("This module should not be imported") commands.main_command.run()
20
59
0.742857
18
140
5.277778
0.888889
0
0
0
0
0
0
0
0
0
0
0
0.157143
140
6
60
23.333333
0.805085
0
0
0
0
0
0.3
0
0
0
0
0
0
1
0
true
0
0.5
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
4
5eb5ea4f079264cee855d8779563ead4bcecdf9b
702
py
Python
sandbox/play_options.py
MiroK/mbed
d4c47151131c9e3502bec344218c7fd112044dce
[ "MIT" ]
2
2017-07-07T11:13:11.000Z
2019-01-03T17:58:28.000Z
sandbox/play_options.py
MiroK/Mbed
d4c47151131c9e3502bec344218c7fd112044dce
[ "MIT" ]
null
null
null
sandbox/play_options.py
MiroK/Mbed
d4c47151131c9e3502bec344218c7fd112044dce
[ "MIT" ]
null
null
null
from mbed.generation import make_line_mesh from mbed.meshing import embed_mesh1d import numpy as np import sys coords = np.array([[0, 0], [1, 0], [1, 1], [0, 1.]]) mesh1d = make_line_mesh(coords, close_path=True) embed_mesh1d(mesh1d, bounding_shape=0.1, how='as_lines', gmsh_arg...
24.206897
52
0.57265
91
702
4.153846
0.428571
0.026455
0.063492
0.132275
0.402116
0.402116
0.402116
0.402116
0.402116
0.206349
0
0.039337
0.311966
702
28
53
25.071429
0.743271
0
0
0.454545
0
0
0.097004
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5eb7fbf95fc89c585b7a5a754022701d49577a00
7,235
py
Python
zarp/config/models.py
zavolanlab/zarp-cli
61711139e55dba16151d0d624f2a4b93c44b0e0a
[ "Apache-2.0" ]
4
2021-02-26T10:25:18.000Z
2021-07-06T09:42:00.000Z
zarp/config/models.py
zavolanlab/zarp-cli
61711139e55dba16151d0d624f2a4b93c44b0e0a
[ "Apache-2.0" ]
23
2021-03-01T22:44:10.000Z
2022-03-29T18:50:29.000Z
zarp/config/models.py
zavolanlab/zarp-cli
61711139e55dba16151d0d624f2a4b93c44b0e0a
[ "Apache-2.0" ]
null
null
null
"""Models and enumerators.""" from enum import Enum from typing import (Optional, List, Tuple) from pydantic import BaseModel # pylint: disable=no-name-in-module # pylint: disable=too-few-public-methods # Sample-specific enumerators and models class SampleIds(BaseModel): """Sample identifiers and aliases. ...
31.320346
79
0.673531
833
7,235
5.803121
0.236495
0.023169
0.043442
0.029789
0.482623
0.462143
0.438146
0.419942
0.407944
0.38312
0
0.001678
0.258466
7,235
230
80
31.456522
0.899348
0.668694
0
0
0
0
0.040512
0
0
0
0
0
0
1
0
false
0
0.053571
0
0.928571
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
5ebc0ca49c97237dbab2d1b22dcc83509de9b98d
1,394
py
Python
src/client.py
sbarbett/ssp-sdk-python
03677bcd32f268f84b1e490a7d6c687ee33762e9
[ "Apache-2.0" ]
null
null
null
src/client.py
sbarbett/ssp-sdk-python
03677bcd32f268f84b1e490a7d6c687ee33762e9
[ "Apache-2.0" ]
null
null
null
src/client.py
sbarbett/ssp-sdk-python
03677bcd32f268f84b1e490a7d6c687ee33762e9
[ "Apache-2.0" ]
null
null
null
# Copyright 2017 NeuStar, Inc.All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
34
75
0.761119
189
1,394
5.582011
0.529101
0.056872
0.024645
0.030332
0
0
0
0
0
0
0
0.00682
0.158537
1,394
41
76
34
0.892583
0.645624
0
0
0
0
0.035556
0
0
0
0
0
0
1
0.272727
false
0.181818
0.272727
0
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
1
0
0
1
0
0
3
5ebfafba8e3e89bfdb938a860d40d86b69ddf3cf
4,267
py
Python
stable_nalu/functional/regualizer.py
bmistry4/nalm-benchmark
273c95cc75241f56e48bcd0b18b043969ef82004
[ "MIT" ]
null
null
null
stable_nalu/functional/regualizer.py
bmistry4/nalm-benchmark
273c95cc75241f56e48bcd0b18b043969ef82004
[ "MIT" ]
null
null
null
stable_nalu/functional/regualizer.py
bmistry4/nalm-benchmark
273c95cc75241f56e48bcd0b18b043969ef82004
[ "MIT" ]
null
null
null
import math import torch def l1(params): # calc L1 error over all params in the network l1 = 0 for param in params: l1 += torch.norm(param, 1) return l1 def lp_norm(params, p): # calc Lp error over all params in the network loss = 0 for param in params: loss += torch.nor...
31.843284
120
0.586595
644
4,267
3.725155
0.253106
0.037516
0.055023
0.053356
0.290121
0.22301
0.211755
0.173822
0.147145
0.108378
0
0.0286
0.287087
4,267
133
121
32.082707
0.760026
0.203422
0
0.204301
0
0
0.004441
0
0
0
0
0
0
1
0.247312
false
0
0.021505
0.150538
0.526882
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ebffca8cd6561908205fab492db5573c047430d
10,298
py
Python
sdk/python/pulumi_alicloud/vpc/get_router_interfaces.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
42
2019-03-18T06:34:37.000Z
2022-03-24T07:08:57.000Z
sdk/python/pulumi_alicloud/vpc/get_router_interfaces.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
152
2019-04-15T21:03:44.000Z
2022-03-29T18:00:57.000Z
sdk/python/pulumi_alicloud/vpc/get_router_interfaces.py
pulumi/pulumi-alicloud
9c34d84b4588a7c885c6bec1f03b5016e5a41683
[ "ECL-2.0", "Apache-2.0" ]
3
2020-08-26T17:30:07.000Z
2021-07-05T01:37:45.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import...
40.703557
250
0.655176
1,185
10,298
5.421097
0.156962
0.07939
0.044365
0.05604
0.302304
0.200809
0.134184
0.077366
0.03736
0.025841
0
0.002443
0.244902
10,298
252
251
40.865079
0.823688
0.220237
0
0.121951
1
0
0.153254
0.048259
0
0
0
0
0
1
0.097561
false
0
0.036585
0.012195
0.237805
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
5ec010616918b5f9eb7a19f2b69feb4ddf284575
59
py
Python
sklearn_gbm_ots/__init__.py
aradnaev/sklearn_gbm_ots
ed5d2afc02d8d3e8335c891770eb73b09b49c0ce
[ "MIT", "BSD-3-Clause" ]
null
null
null
sklearn_gbm_ots/__init__.py
aradnaev/sklearn_gbm_ots
ed5d2afc02d8d3e8335c891770eb73b09b49c0ce
[ "MIT", "BSD-3-Clause" ]
null
null
null
sklearn_gbm_ots/__init__.py
aradnaev/sklearn_gbm_ots
ed5d2afc02d8d3e8335c891770eb73b09b49c0ce
[ "MIT", "BSD-3-Clause" ]
null
null
null
from sklearn_gbm_ots.sklearn_gbm_wrapper import GBMwrapper
29.5
58
0.915254
9
59
5.555556
0.777778
0.4
0
0
0
0
0
0
0
0
0
0
0.067797
59
1
59
59
0.909091
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
1
0
0
6
5ec075408ba7dc145746d172546ed75b28e26a20
1,015
py
Python
policy_loader.py
donghun2018/adclick-simulator
2fc8a939a1d44865cf5a391a3d672ca47e45a058
[ "MIT" ]
2
2020-11-18T03:37:27.000Z
2021-06-19T03:51:56.000Z
policy_loader.py
donghun2018/adclick-simulator
2fc8a939a1d44865cf5a391a3d672ca47e45a058
[ "MIT" ]
null
null
null
policy_loader.py
donghun2018/adclick-simulator
2fc8a939a1d44865cf5a391a3d672ca47e45a058
[ "MIT" ]
null
null
null
""" Loads policies by 1. load the list of PUID from "puid_list.csv" 2. load "Policy_<PUID>" class that is defined in ./Policies/<PUID>.py by Donghun Lee 2018 """ import csv from importlib import import_module def get_pols(): puids = get_puids() mod_names = ["Policies" + "." + puid for puid in puids] pol...
26.710526
70
0.637438
154
1,015
4.019481
0.428571
0.033926
0.035541
0.042003
0.058158
0
0
0
0
0
0
0.009103
0.242365
1,015
37
71
27.432432
0.795839
0.248276
0
0
0
0
0.111406
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.333333
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ec5e51de1caabf24e1ac5fd5fb9e8661dce9f2e
20,378
py
Python
openmixup/models/backbones/resnext.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
10
2021-12-30T10:22:27.000Z
2022-03-30T02:31:38.000Z
openmixup/models/backbones/resnext.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
3
2022-01-20T21:02:48.000Z
2022-03-19T13:49:45.000Z
openmixup/models/backbones/resnext.py
Westlake-AI/openmixup
ea81250819e740dd823e30cb7ce382d14a3c1b91
[ "Apache-2.0" ]
null
null
null
# reference: https://github.com/open-mmlab/mmclassification/tree/master/mmcls/models/backbones # modified from mmclassification resnext.py import random import torch.nn as nn from mmcv.cnn import build_conv_layer, build_norm_layer from ..registry import BACKBONES from .resnet_mmcls import Bottleneck as _Bottleneck fro...
41.758197
97
0.587644
2,699
20,378
4.250093
0.119674
0.019528
0.031732
0.014907
0.835062
0.817627
0.79932
0.780577
0.772121
0.763839
0
0.024125
0.314506
20,378
487
98
41.843943
0.797051
0.400334
0
0.801471
0
0
0.014484
0
0
0
0
0
0.047794
1
0.055147
false
0
0.025735
0.007353
0.150735
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
5ec654e8773eaea1ffae8ab9316677812ce2b191
11,998
py
Python
cid-minting/tests/test_oclc_lookup.py
cdlib/zephir-services
87597190302114aea7d3ae694181eeaffa9d63fc
[ "BSD-3-Clause" ]
1
2018-11-15T21:33:32.000Z
2018-11-15T21:33:32.000Z
cid-minting/tests/test_oclc_lookup.py
cdlib/zephir-services
87597190302114aea7d3ae694181eeaffa9d63fc
[ "BSD-3-Clause" ]
17
2018-11-30T19:43:56.000Z
2021-12-08T00:45:18.000Z
cid-minting/tests/test_oclc_lookup.py
cdlib/zephir-services
87597190302114aea7d3ae694181eeaffa9d63fc
[ "BSD-3-Clause" ]
2
2018-11-30T19:29:48.000Z
2019-01-29T23:24:23.000Z
import os import msgpack import pytest import plyvel from click.testing import CliRunner from oclc_lookup import get_primary_ocn from oclc_lookup import get_ocns_cluster_by_primary_ocn from oclc_lookup import get_ocns_cluster_by_ocn from oclc_lookup import get_clusters_by_ocns from oclc_lookup import convert_set_to_l...
34.877907
144
0.657443
1,554
11,998
4.710425
0.104247
0.064754
0.06571
0.054098
0.692213
0.587568
0.545765
0.510246
0.480191
0.441393
0
0.126434
0.230038
11,998
343
145
34.979592
0.665945
0.087431
0
0.328063
0
0.003953
0.187183
0.082988
0
0
0
0
0.094862
1
0.071146
false
0
0.047431
0.007905
0.13834
0.003953
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ec7930b8c6c3894092804aae53648cb722fdd7b
751
py
Python
optimal_transport_morphometry/core/admin/preprocess.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
null
null
null
optimal_transport_morphometry/core/admin/preprocess.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
5
2022-03-10T19:39:22.000Z
2022-03-17T21:05:10.000Z
optimal_transport_morphometry/core/admin/preprocess.py
girder/otm-server
7abfe9c2d659c962784e28058d8f9a8ffc1f4991
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from optimal_transport_morphometry.core.models import ( FeatureImage, JacobianImage, RegisteredImage, SegmentedImage, ) class CommonAdmin(admin.ModelAdmin): list_display = ['id', 'atlas', 'blob', 'source_image'] list_display_links = ['id'] @admin.register(Ja...
22.088235
67
0.768309
72
751
7.847222
0.486111
0.116814
0.116814
0.092035
0.116814
0
0
0
0
0
0
0
0.131824
751
33
68
22.757576
0.866564
0
0
0.090909
0
0
0.078562
0
0
0
0
0
0
1
0
false
0.090909
0.090909
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
5ec961b19adfa565a12853c2adc2c965a0227de8
675
py
Python
commons/templatetags/i18n_utils.py
jaboutboul/almalinux.org
1dda8faff0e84e650fc9a90e9a104d387b4dd038
[ "MIT" ]
null
null
null
commons/templatetags/i18n_utils.py
jaboutboul/almalinux.org
1dda8faff0e84e650fc9a90e9a104d387b4dd038
[ "MIT" ]
null
null
null
commons/templatetags/i18n_utils.py
jaboutboul/almalinux.org
1dda8faff0e84e650fc9a90e9a104d387b4dd038
[ "MIT" ]
null
null
null
from typing import Dict from django import template from django.urls import resolve, reverse from django.urls.exceptions import Resolver404 from django.utils import translation register = template.Library() @register.simple_tag(takes_context=True) def current_path_for_language_code(context: Dict, code: str) -> str:...
25
72
0.724444
82
675
5.841463
0.47561
0.083507
0.058455
0
0
0
0
0
0
0
0
0.010929
0.186667
675
26
73
25.961538
0.861566
0
0
0.105263
0
0
0.011852
0
0
0
0
0
0
1
0.052632
false
0
0.263158
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5eca5d623cda5a3b20dea4d0ab793ea0d10b5c10
2,113
py
Python
weather_forecast.py
pub12/weather-forecast
20eefaa3a290af659fe3cc69c67858891d449fba
[ "MIT" ]
1
2021-09-04T12:06:31.000Z
2021-09-04T12:06:31.000Z
weather_forecast.py
pub12/weather-forecast
20eefaa3a290af659fe3cc69c67858891d449fba
[ "MIT" ]
null
null
null
weather_forecast.py
pub12/weather-forecast
20eefaa3a290af659fe3cc69c67858891d449fba
[ "MIT" ]
null
null
null
import requests import datetime, pytz from quickchart import QuickChart OPEN_WEATHER_MAP_APIKEY = '16786afe8ea0f6b683ab9298e52ac247' def get_weather_data_by_location( lat, long): url = f'https://api.openweathermap.org/data/2.5/onecall?lat={lat}&lon={long}&appid={OPEN_WEATHER_MAP_APIKEY}&units=metric' print(f"Getti...
29.760563
123
0.568859
236
2,113
4.915254
0.550847
0.034483
0.024138
0.034483
0.077586
0
0
0
0
0
0
0.0538
0.296261
2,113
70
124
30.185714
0.726295
0.044487
0
0.070175
0
0.017544
0.537736
0.015889
0
0
0
0
0
1
0.035088
false
0
0.052632
0
0.140351
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5eca95466b6c45dbaa04be04c01346c77b736894
2,269
py
Python
hack/graph.py
dofinn/cincinnati
9a55fde2c8a7746d1b8e99d72e3ce5daa7aba837
[ "Apache-2.0" ]
null
null
null
hack/graph.py
dofinn/cincinnati
9a55fde2c8a7746d1b8e99d72e3ce5daa7aba837
[ "Apache-2.0" ]
25
2021-09-15T04:27:06.000Z
2022-03-08T20:27:49.000Z
hack/graph.py
dofinn/cincinnati
9a55fde2c8a7746d1b8e99d72e3ce5daa7aba837
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import argparse import sys import json from typing import Dict, List def run(): parser = argparse.ArgumentParser(description=f'Output digraph data for Cincinnati json', usage="curl -sH 'Accept:application/json' 'https://api.openshift.com/api/upgrades_in...
36.015873
210
0.631556
301
2,269
4.644518
0.421927
0.031474
0.027897
0.030043
0.11731
0.054363
0.054363
0
0
0
0
0.005848
0.246364
2,269
62
211
36.596774
0.811696
0.144998
0
0.044444
0
0.022222
0.211588
0.012933
0
0
0
0
0
1
0.022222
false
0
0.088889
0
0.111111
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
0
0
1
0
5ecb818dfb22cd3164c6594184c3fa42e6bdc1d1
543
py
Python
third_party/manipulate_images.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
29
2019-03-25T09:35:12.000Z
2022-01-08T22:09:03.000Z
third_party/manipulate_images.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
null
null
null
third_party/manipulate_images.py
DahlitzFlorian/python-snippets
212f63f820b6f5842f74913ed08da18d41dfe7a4
[ "MIT" ]
4
2020-05-19T21:18:12.000Z
2021-05-18T12:49:21.000Z
import imageio import numpy as np import scipy.ndimage start_img = imageio.imread( "http://static.cricinfo.com/db/PICTURES/CMS/263600/263697.20.jpg" ) gray_inv_img = 255 - np.dot(start_img[..., :3], [0.299, 0.587, 0.114]) blur_img = scipy.ndimage.filters.gaussian_filter(gray_inv_img, sigma=5) def dodge(front, b...
25.857143
71
0.707182
87
543
4.252874
0.551724
0.056757
0.081081
0
0
0
0
0
0
0
0
0.100642
0.139963
543
20
72
27.15
0.691649
0
0
0
0
0.071429
0.141805
0
0
0
0
0
0
1
0.071429
false
0
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
0
0
0
0
0
1
0
5ecbaa5972609aea0a8fb3c3542ad5f8dcd731c5
30
py
Python
jk.py
validio-web/JavaPrograms
ff05e10135e5d5a527f70f67af683f5f99cd7bd6
[ "MIT" ]
null
null
null
jk.py
validio-web/JavaPrograms
ff05e10135e5d5a527f70f67af683f5f99cd7bd6
[ "MIT" ]
null
null
null
jk.py
validio-web/JavaPrograms
ff05e10135e5d5a527f70f67af683f5f99cd7bd6
[ "MIT" ]
null
null
null
print "welcome to the jungle"
15
29
0.766667
5
30
4.6
1
0
0
0
0
0
0
0
0
0
0
0
0.166667
30
1
30
30
0.92
0
0
0
0
0
0.7
0
0
0
0
0
0
0
null
null
0
0
null
null
1
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
1
0
0
0
0
0
0
1
0
6
5ecdc8b1a11d72a44089a8ee90fca21bec3ec6e2
935
py
Python
dedupe/convenience.py
BrianSipple/dedupe
d276da675e319d5cc6e7cafd4963deebde0d485d
[ "MIT" ]
1
2015-11-06T01:33:04.000Z
2015-11-06T01:33:04.000Z
dedupe/convenience.py
BrianSipple/dedupe
d276da675e319d5cc6e7cafd4963deebde0d485d
[ "MIT" ]
null
null
null
dedupe/convenience.py
BrianSipple/dedupe
d276da675e319d5cc6e7cafd4963deebde0d485d
[ "MIT" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- """ Convenience functions for in memory deduplication """ import collections import dedupe.core def dataSample(data, sample_size): '''Randomly sample pairs of records from a data dictionary''' data_list = data.values() random_pairs = dedupe.core.randomPair...
23.375
75
0.682353
117
935
5.299145
0.444444
0.051613
0.096774
0.15
0
0
0
0
0
0
0
0.00664
0.194652
935
39
76
23.974359
0.816733
0.154011
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ece0c2516a45ad3f70b047cfd0764e7f4392af9
2,459
py
Python
buildimages.py
scripsi/douglasreed.uk
be36e28f59f5542963b4cd36ed044ed07de7ebd8
[ "MIT" ]
null
null
null
buildimages.py
scripsi/douglasreed.uk
be36e28f59f5542963b4cd36ed044ed07de7ebd8
[ "MIT" ]
null
null
null
buildimages.py
scripsi/douglasreed.uk
be36e28f59f5542963b4cd36ed044ed07de7ebd8
[ "MIT" ]
null
null
null
import os from PIL import Image, ImageOps artwork_dir = "./docs/artworks" artwork_filename = "/artwork.jpg" thumbnail_filename = "/thumbnail.jpg" image_width_large = 2000 image_width_medium = 1000 image_width_small = 500 image_width_thumbnail = 300 save_as_jpg = True save_as_webp = False def save_image(output_image, ...
40.983333
132
0.708825
322
2,459
5.149068
0.232919
0.072376
0.060314
0.026538
0.422195
0.422195
0.392039
0.392039
0.392039
0.288902
0
0.014035
0.188695
2,459
59
133
41.677966
0.817043
0
0
0.339286
0
0
0.089061
0
0
0
0
0
0
1
0.017857
false
0.071429
0.035714
0
0.071429
0.089286
0
0
0
null
0
0
0
0
0
0
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
5ece7144c7b2ec17653f0f9dba2cd6ae36bf25de
11,099
py
Python
bin/xpc_gsd_exp.py
gengala/Random-Probabilistic-Circuits
8871a9f1e6ace9d8ea7604b69abcc270c7792620
[ "Apache-2.0" ]
5
2021-05-20T10:39:47.000Z
2022-01-23T09:37:38.000Z
bin/xpc_gsd_exp.py
gengala/Random-Probabilistic-Circuits
8871a9f1e6ace9d8ea7604b69abcc270c7792620
[ "Apache-2.0" ]
null
null
null
bin/xpc_gsd_exp.py
gengala/Random-Probabilistic-Circuits
8871a9f1e6ace9d8ea7604b69abcc270c7792620
[ "Apache-2.0" ]
null
null
null
import argparse try: from time import perf_counter except: from time import time perf_counter = time import dataset import numpy as np import datetime import os import logging from src.inference import log_likelihood from src.xpc import create_xpc, SD_LEVEL_2 from src.cltree import create_cltree fr...
40.655678
111
0.441211
1,101
11,099
4.176203
0.196185
0.022184
0.021531
0.014354
0.173119
0.141148
0.11853
0.089169
0.07264
0.053067
0
0.005465
0.472475
11,099
272
112
40.805147
0.779846
0.035949
0
0.065574
0
0.005464
0.0912
0.024094
0
0
0
0
0
1
0.005464
false
0
0.071038
0
0.081967
0.021858
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed107e056877071199b1d13982f8ef865125b31
376
py
Python
banzai/utils/array_utils.py
gmbrandt/banzai
af6ddb529e8c35eaa87abf67372160f2dd99050b
[ "BSD-3-Clause" ]
null
null
null
banzai/utils/array_utils.py
gmbrandt/banzai
af6ddb529e8c35eaa87abf67372160f2dd99050b
[ "BSD-3-Clause" ]
null
null
null
banzai/utils/array_utils.py
gmbrandt/banzai
af6ddb529e8c35eaa87abf67372160f2dd99050b
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import, division, print_function, unicode_literals import numpy as np def array_indices_to_slices(a): return tuple(slice(0, x, 1) for x in a.shape) def prune_nans_from_table(table): nan_in_row = np.zeros(len(table), dtype=bool) for col in table.colnames: nan_in_ro...
26.857143
82
0.734043
63
376
4.079365
0.619048
0.058366
0.093385
0.101167
0
0
0
0
0
0
0
0.00641
0.170213
376
13
83
28.923077
0.817308
0
0
0
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0.222222
0.111111
0.666667
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
1
1
0
0
3
5ed1a2ebe6b18d55c5ac39c8d12715c6e6c4aa9a
8,202
py
Python
src/mycocoparser.py
partham16/ev_objdet_pc
2ab64c94a9d7693f92bb3e4466014260f77072bb
[ "MIT" ]
null
null
null
src/mycocoparser.py
partham16/ev_objdet_pc
2ab64c94a9d7693f92bb3e4466014260f77072bb
[ "MIT" ]
null
null
null
src/mycocoparser.py
partham16/ev_objdet_pc
2ab64c94a9d7693f92bb3e4466014260f77072bb
[ "MIT" ]
null
null
null
# Motivation for replacing the default `coco` parser # See Issue : https://github.com/airctic/icevision/issues/467 import json import os import pickle from collections import defaultdict from pathlib import Path from typing import Dict, Hashable, List, Tuple, Union import numpy as np from icevision import ClassMap f...
31.068182
88
0.547427
1,071
8,202
4.011204
0.222222
0.019786
0.005587
0.007449
0.092877
0.059125
0.05121
0.05121
0.05121
0.02933
0
0.018536
0.348817
8,202
263
89
31.186312
0.785808
0.125213
0
0.075676
0
0
0.045692
0.007615
0
0
0
0
0
1
0.075676
false
0
0.07027
0.048649
0.232432
0.016216
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed1fec47cb6b45bc795bc57689543768e765fc5
370
py
Python
python/qidoc/test/projects/prebuild/tools/gen_rst.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
python/qidoc/test/projects/prebuild/tools/gen_rst.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
python/qidoc/test/projects/prebuild/tools/gen_rst.py
vbarbaresi/qibuild
eab6b815fe0af49ea5c41ccddcd0dff2363410e1
[ "BSD-3-Clause" ]
null
null
null
# Copyright (c) 2012-2018 SoftBank Robotics. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the COPYING file. " Generate source/generated.rst " def main(): with open("source/generated.rst", "w") as fp: fp.write("""\ Generated section ==============...
20.555556
72
0.640541
51
370
4.490196
0.843137
0.131004
0.157205
0
0
0
0
0
0
0
0
0.026846
0.194595
370
17
73
21.764706
0.741611
0.521622
0
0
1
0
0.482927
0
0
0
0
0
0
1
0.111111
true
0
0
0
0.111111
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
1
0
0
0
0
0
0
2
5ed3804f209192e36d60aa99aa13e5c562c0312b
3,386
py
Python
test/test_manual_input.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
219
2017-12-12T09:42:46.000Z
2022-03-13T08:25:13.000Z
test/test_manual_input.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
11
2017-12-14T08:14:51.000Z
2021-08-09T18:37:45.000Z
test/test_manual_input.py
UAEKondaya1/expressvpn_leak_testing
9e4cee899ac04f7820ac351fa55efdc0c01370ba
[ "MIT" ]
45
2017-12-14T07:26:36.000Z
2022-03-11T09:36:56.000Z
import os import sys import unittest from multiprocessing import Process, Queue import mock from xv_leak_tools.log import L from xv_leak_tools.manual_input import allow_manual_input, disallow_manual_input from xv_leak_tools.manual_input import message_and_await_string from xv_leak_tools.manual_input import message_a...
33.86
99
0.633786
417
3,386
4.803357
0.251799
0.074888
0.112332
0.056915
0.54668
0.484274
0.427359
0.389416
0.389416
0.271593
0
0.000807
0.268458
3,386
99
100
34.20202
0.807832
0.232428
0
0.229508
0
0
0.055383
0
0
0
0
0
0.04918
1
0.180328
false
0
0.147541
0.04918
0.47541
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed4015a6c4a19ef552f600253d6f3d0dfc05c83
904
py
Python
setup.py
guillermo-carrasco/pytravis
da09d9f64d81b0db3ab8fa070d473f54cda1303a
[ "MIT" ]
3
2015-01-27T09:07:48.000Z
2021-01-09T17:45:44.000Z
setup.py
guillermo-carrasco/pytravis
da09d9f64d81b0db3ab8fa070d473f54cda1303a
[ "MIT" ]
null
null
null
setup.py
guillermo-carrasco/pytravis
da09d9f64d81b0db3ab8fa070d473f54cda1303a
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages import sys, os version = '0.3' setup(name='pytravis', version=version, description="Python wrapper for Travis-CI API", long_description="""\ Python wrapper for Travis-CI API. Set of scripts to get information from travis.""", classifiers=[], # Get st...
34.769231
95
0.668142
103
904
5.757282
0.660194
0.040472
0.080944
0.091062
0.128162
0.128162
0.128162
0
0
0
0
0.00551
0.196903
904
25
96
36.16
0.811295
0.07854
0
0
0
0
0.403129
0.066185
0
0
0
0
0
1
0
false
0
0.086957
0
0.086957
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed4893aa3d82971eb07e8a3cc9763f23cff15b4
30
py
Python
bibserver/auth/__init__.py
jgoldfar/bibserver
ccf0e60f1983bb5db4c2594bbd8187139556be90
[ "MIT" ]
47
2015-01-07T06:53:22.000Z
2021-02-27T08:48:43.000Z
bibserver/auth/__init__.py
dartar/bibserver
0640592200476bd97dfe9678173d30759bdbce30
[ "OML" ]
10
2015-02-08T12:48:27.000Z
2018-11-08T02:47:19.000Z
bibserver/auth/__init__.py
dartar/bibserver
0640592200476bd97dfe9678173d30759bdbce30
[ "OML" ]
21
2015-01-16T06:31:43.000Z
2021-02-27T08:49:18.000Z
import collection import user
10
17
0.866667
4
30
6.5
0.75
0
0
0
0
0
0
0
0
0
0
0
0.133333
30
2
18
15
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
1
0
1
0
1
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
1
0
0
0
0
5
5ed60a3c5caf9c5dba8bc4729025fb3ca0156ca4
7,057
py
Python
Main.py
ShihaoWang/Contact-Transition-Tree
cf53aaea8a3a61d3eb92b96a6ca16a3b0c791afc
[ "MIT" ]
2
2019-02-19T19:05:15.000Z
2019-05-05T20:07:16.000Z
Main.py
ShihaoWang/Contact-Transition-Tree
cf53aaea8a3a61d3eb92b96a6ca16a3b0c791afc
[ "MIT" ]
null
null
null
Main.py
ShihaoWang/Contact-Transition-Tree
cf53aaea8a3a61d3eb92b96a6ca16a3b0c791afc
[ "MIT" ]
null
null
null
#!/usr/bin/python # import osqp import sys, os from klampt import * from klampt import vis from klampt.vis.glrobotprogram import GLSimulationPlugin import numpy as np import string import scipy as sp import scipy.sparse as sparse from klampt.model.trajectory import Trajectory import time import math sys.path.insert(0...
50.769784
176
0.700298
934
7,057
4.992505
0.259101
0.037744
0.040532
0.037744
0.28887
0.198156
0.187862
0.173708
0.138537
0.105083
0
0.002416
0.237495
7,057
138
177
51.137681
0.864152
0.313731
0
0.054054
0
0
0.071429
0.005249
0
0
0
0
0
0
null
null
0
0.283784
null
null
0.027027
0
0
0
null
0
0
0
0
0
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
5ed71fb1c4d7c7ac8578c5f7266cc08abffb712a
2,524
py
Python
exp/motivation/variable_throughput/nginx/analysis.py
sarsanaee/Backdraft
5c60bdb17901d402ebc6feea2d43f26e56d66668
[ "MIT" ]
null
null
null
exp/motivation/variable_throughput/nginx/analysis.py
sarsanaee/Backdraft
5c60bdb17901d402ebc6feea2d43f26e56d66668
[ "MIT" ]
null
null
null
exp/motivation/variable_throughput/nginx/analysis.py
sarsanaee/Backdraft
5c60bdb17901d402ebc6feea2d43f26e56d66668
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import numpy as np import sys if len(sys.argv) < 3: print("Error: Invalid parameters: Path to trace not existed") print("usage: ./program window [<path_to_trace>]") exit(0) # data = np.loadtxt("1M_Req_1_Concurrency.txt") # data = np.loadtxt("/tmp/ab_stats_7.txt") ts_data = [] try: ...
23.155963
104
0.614501
439
2,524
3.225513
0.207289
0.127119
0.088983
0.079096
0.42726
0.375706
0.307203
0.268362
0.234463
0.179379
0
0.036326
0.236529
2,524
108
105
23.37037
0.698495
0.41878
0
0.08
0
0
0.086653
0
0
0
0
0
0
1
0
false
0
0.04
0
0.04
0.14
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed80b7eb69a728a482933d1c1030be79406a25c
4,090
py
Python
examples/adafruit_io_mqtt/adafruit_io_groups.py
ryanplusplus/Adafruit_CircuitPython_AdafruitIO
5efcef473a7223e537c1910179da7fffd90a9185
[ "Unlicense", "MIT-0", "MIT" ]
47
2021-02-15T23:02:36.000Z
2022-03-04T21:30:03.000Z
examples/adafruit_io_mqtt/adafruit_io_groups.py
ryanplusplus/Adafruit_CircuitPython_AdafruitIO
5efcef473a7223e537c1910179da7fffd90a9185
[ "Unlicense", "MIT-0", "MIT" ]
43
2019-02-22T03:20:22.000Z
2022-01-14T15:44:19.000Z
examples/adafruit_io_mqtt/adafruit_io_groups.py
ryanplusplus/Adafruit_CircuitPython_AdafruitIO
5efcef473a7223e537c1910179da7fffd90a9185
[ "Unlicense", "MIT-0", "MIT" ]
28
2019-02-19T21:35:20.000Z
2022-03-27T17:43:31.000Z
# SPDX-FileCopyrightText: 2021 ladyada for Adafruit Industries # SPDX-License-Identifier: MIT # Subscribing to an Adafruit IO Group # and Publishing to the feeds in the group import time from random import randint import board import busio from digitalio import DigitalInOut from adafruit_esp32spi import adafruit_esp3...
31.705426
88
0.763081
587
4,090
5.194208
0.315162
0.036077
0.019679
0.02099
0.135126
0.083306
0.055756
0.03411
0.03411
0.03411
0
0.023926
0.151834
4,090
128
89
31.953125
0.855001
0.424939
0
0
0
0
0.190072
0.021914
0
0
0
0
0
1
0.05
false
0.016667
0.216667
0
0.266667
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed8398d08d23ce47895ea9d5f261522c86dd1a4
1,082
py
Python
setup.py
duanyytop/ckb-sdk-python
4c7b1676fbb130abfe795290ebba32c1d6d97a08
[ "MIT" ]
1
2021-09-17T06:05:20.000Z
2021-09-17T06:05:20.000Z
setup.py
duanyytop/ckb-sdk-python
4c7b1676fbb130abfe795290ebba32c1d6d97a08
[ "MIT" ]
null
null
null
setup.py
duanyytop/ckb-sdk-python
4c7b1676fbb130abfe795290ebba32c1d6d97a08
[ "MIT" ]
null
null
null
import os import io from setuptools import setup, find_packages HERE = os.path.dirname(os.path.realpath(__file__)) README = os.path.join(HERE, 'README.md') with io.open(README, encoding='utf-8') as f: long_description = f.read() VERSION = os.path.join(HERE, 'ckb_toolkit', 'version.py') with io.open(VERSION, enco...
29.243243
60
0.641405
127
1,082
5.322835
0.566929
0.035503
0.029586
0.04142
0.044379
0
0
0
0
0
0
0.003529
0.214418
1,082
36
61
30.055556
0.791765
0
0
0
0
0
0.245841
0.021257
0
0
0
0
0
1
0
false
0
0.09375
0
0.09375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
5ed86b6aaa7016a6e2d535463b8dced4480c51e4
4,672
py
Python
ocbot/web/routes_slack.py
OperationCode/operationcode_pyback
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
16
2018-04-03T17:19:51.000Z
2020-09-12T16:00:43.000Z
ocbot/web/routes_slack.py
OperationCode/operation_code_pybot
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
34
2017-10-31T15:53:15.000Z
2018-03-02T17:24:13.000Z
ocbot/web/routes_slack.py
OperationCode/operationcode_pyback
c4b8d466baaef16f005c35b290cb48e597a65a32
[ "MIT" ]
10
2018-03-24T01:58:06.000Z
2021-01-21T06:50:54.000Z
import logging import threading from flask import request, make_response, json, redirect, url_for from config.configs import configs from ocbot import app from ocbot.pipeline.routing import RoutingHandler from ocbot.pipeline.slash_command_handlers.log_handlers import can_view_logs, get_temporary_url, handle_log_view ...
34.607407
112
0.704623
611
4,672
5.206219
0.252046
0.033952
0.045269
0.05187
0.388871
0.361836
0.310594
0.253694
0.253694
0.198994
0
0.006968
0.170591
4,672
134
113
34.865672
0.813935
0.175086
0
0.186667
0
0
0.23883
0.021933
0
0
0
0
0
1
0.106667
false
0
0.133333
0
0.373333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d57ec22c55b9fe1a9b170349aaaf1d68422b908
2,936
py
Python
searchconsole/account.py
symbiotech/google-searchconsole
0f3a18c58fc74b91c6ad9e08b442ba80f0c2502e
[ "MIT" ]
null
null
null
searchconsole/account.py
symbiotech/google-searchconsole
0f3a18c58fc74b91c6ad9e08b442ba80f0c2502e
[ "MIT" ]
null
null
null
searchconsole/account.py
symbiotech/google-searchconsole
0f3a18c58fc74b91c6ad9e08b442ba80f0c2502e
[ "MIT" ]
null
null
null
# encoding: utf-8 from . import query class Account: """ An account can be associated with a number of web properties. You should navigate to a web property to run queries. Usage: >>> import searchconsole >>> account = searchconsole.authenticate( ... client_config='auth/client_s...
29.959184
79
0.61921
320
2,936
5.5
0.378125
0.04375
0.070455
0.077273
0.039773
0
0
0
0
0
0
0.00414
0.259537
2,936
97
80
30.268041
0.805428
0.371935
0
0.090909
0
0
0.12515
0.052695
0
0
0
0
0
1
0.159091
false
0
0.022727
0.022727
0.386364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5856d272a973791b102401657f1a1822f8c781
145,280
py
Python
sdk/python/pulumi_opsgenie/outputs.py
pulumi/pulumi-opsgenie
4bc7d0cbb5b0437c59422a5977a61468baa2c4a7
[ "ECL-2.0", "Apache-2.0" ]
1
2021-12-01T20:57:42.000Z
2021-12-01T20:57:42.000Z
sdk/python/pulumi_opsgenie/outputs.py
pulumi/pulumi-opsgenie
4bc7d0cbb5b0437c59422a5977a61468baa2c4a7
[ "ECL-2.0", "Apache-2.0" ]
34
2021-02-03T20:15:32.000Z
2022-03-25T19:57:20.000Z
sdk/python/pulumi_opsgenie/outputs.py
pulumi/pulumi-opsgenie
4bc7d0cbb5b0437c59422a5977a61468baa2c4a7
[ "ECL-2.0", "Apache-2.0" ]
2
2021-07-08T15:16:09.000Z
2021-07-20T11:12:44.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from . import ...
37.327852
291
0.620643
15,925
145,280
5.474662
0.032402
0.023204
0.038619
0.056444
0.839592
0.82132
0.804161
0.77185
0.760105
0.735078
0
0.001531
0.267036
145,280
3,891
292
37.337445
0.817214
0.276122
0
0.805892
1
0.012107
0.155938
0.069909
0
0
0
0
0
1
0.168281
false
0
0.002421
0.029863
0.326877
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
8
0d5944cf18ff876b7a19f160fdee473e30de7ffb
2,546
py
Python
src/pytorch_adapt/frameworks/lightning/lightning.py
MarkusSagen/pytorch-adapt
947b9f1b748d2078cecbf4a00c34f73108d9ecde
[ "MIT" ]
1
2021-12-15T19:36:01.000Z
2021-12-15T19:36:01.000Z
src/pytorch_adapt/frameworks/lightning/lightning.py
MarkusSagen/pytorch-adapt
947b9f1b748d2078cecbf4a00c34f73108d9ecde
[ "MIT" ]
null
null
null
src/pytorch_adapt/frameworks/lightning/lightning.py
MarkusSagen/pytorch-adapt
947b9f1b748d2078cecbf4a00c34f73108d9ecde
[ "MIT" ]
null
null
null
from collections import defaultdict import pytorch_lightning as pl import torch from ...containers import Optimizers from .. import utils as f_utils def set_adapter_optimizers_to_pl(adapter, pl_optimizers): if isinstance(adapter.optimizers, Optimizers): keys = adapter.optimizers.keys() adapter.o...
34.405405
79
0.66143
317
2,546
5.097792
0.271293
0.009901
0.01547
0.021658
0.075495
0.014851
0.014851
0
0
0
0
0.001553
0.241163
2,546
73
80
34.876712
0.834886
0
0
0
0
0
0.023174
0
0
0
0
0
0
1
0.155172
false
0
0.086207
0.051724
0.344828
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5a9be19d355c1b2904b2d86faf394e45e5df77
5,740
py
Python
libvvtest/outpututils.py
rrdrake/vvtest
875aaa81d2fac5986554b7b4fbeb2aebb3b57ac6
[ "Unlicense" ]
7
2021-03-26T21:33:09.000Z
2022-03-01T17:06:55.000Z
libvvtest/outpututils.py
rrdrake/vvtest
875aaa81d2fac5986554b7b4fbeb2aebb3b57ac6
[ "Unlicense" ]
null
null
null
libvvtest/outpututils.py
rrdrake/vvtest
875aaa81d2fac5986554b7b4fbeb2aebb3b57ac6
[ "Unlicense" ]
null
null
null
#!/usr/bin/env python # Copyright 2018 National Technology & Engineering Solutions of Sandia, LLC # (NTESS). Under the terms of Contract DE-NA0003525 with NTESS, the U.S. # Government retains certain rights in this software. import os, sys from os.path import join as pjoin import time import traceback from . import ...
26.451613
79
0.566551
702
5,740
4.537037
0.347578
0.026374
0.015699
0.017896
0.101413
0.018838
0.018838
0.018838
0.018838
0
0
0.018182
0.300523
5,740
216
80
26.574074
0.775093
0.106446
0
0.201342
0
0
0.074336
0
0
0
0
0
0
1
0.100671
false
0.020134
0.033557
0
0.248322
0.006711
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5baa45120b260610692f203c5d97f0a7321995
13,956
py
Python
bay/plugins/build.py
eventbrite/bay
3a157457a55713067213aeafe385a1cc49aa2698
[ "Apache-2.0" ]
22
2017-03-01T19:52:30.000Z
2020-09-09T16:27:21.000Z
bay/plugins/build.py
eventbrite/bay
3a157457a55713067213aeafe385a1cc49aa2698
[ "Apache-2.0" ]
25
2017-02-23T23:08:56.000Z
2019-10-09T00:02:52.000Z
bay/plugins/build.py
eventbrite/bay
3a157457a55713067213aeafe385a1cc49aa2698
[ "Apache-2.0" ]
4
2017-03-12T03:51:17.000Z
2021-09-08T11:36:36.000Z
import attr import click import datetime import sys from docker.errors import NotFound from .base import BasePlugin from ..cli.colors import CYAN, GREEN, RED, remove_ansi from ..cli.argument_types import ContainerType, HostType from ..cli.tasks import Task from ..constants import PluginHook from ..docker.build import ...
42.036145
116
0.622743
1,609
13,956
5.234307
0.222498
0.016623
0.024697
0.012467
0.181192
0.153289
0.125505
0.106626
0.074092
0.04512
0
0.001428
0.297363
13,956
331
117
42.163142
0.857434
0.193537
0
0.197425
0
0
0.054451
0
0
0
0
0.006042
0
1
0.034335
false
0.004292
0.06867
0
0.133047
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5c97ac015a15044eb61b7046d8427fedd68fcd
889
py
Python
nablapps/interactive/models/games.py
NablaWebkom/nablaweb
9247c5e3f7b5d965d9437c74530638f925d0e9c6
[ "MIT" ]
1
2019-10-07T13:59:19.000Z
2019-10-07T13:59:19.000Z
nablapps/interactive/models/games.py
NablaWebkom/nablaweb
9247c5e3f7b5d965d9437c74530638f925d0e9c6
[ "MIT" ]
2
2019-10-07T14:47:37.000Z
2019-10-07T14:49:49.000Z
nablapps/interactive/models/games.py
NablaWebkom/nablaweb
9247c5e3f7b5d965d9437c74530638f925d0e9c6
[ "MIT" ]
null
null
null
# Models for game_list from django import template from django.db import models register = template.Library() class Game(models.Model): class Meta: ordering = ["index"] index = models.IntegerField(help_text="Bruk helst 10, 20, 30 osv.") title = models.TextField() url = models.TextField( ...
32.925926
290
0.673791
121
889
4.859504
0.68595
0.040816
0.061224
0.068027
0
0
0
0
0
0
0
0.017291
0.219348
889
26
291
34.192308
0.829971
0.022497
0
0
0
0.05
0.438293
0.024221
0
0
0
0
0
1
0.05
false
0
0.1
0.05
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5d476ef8064a1f801bca06d8f771721e4ae33b
288
py
Python
solution/practice/data-structures/linked-list/print-the-elements-of-a-linked-list/solution.py
satyam857/HackerRank
b6c0c199a5e320b1b59fdedafda2630258314b76
[ "MIT" ]
null
null
null
solution/practice/data-structures/linked-list/print-the-elements-of-a-linked-list/solution.py
satyam857/HackerRank
b6c0c199a5e320b1b59fdedafda2630258314b76
[ "MIT" ]
null
null
null
solution/practice/data-structures/linked-list/print-the-elements-of-a-linked-list/solution.py
satyam857/HackerRank
b6c0c199a5e320b1b59fdedafda2630258314b76
[ "MIT" ]
1
2018-10-22T10:42:45.000Z
2018-10-22T10:42:45.000Z
# Complete the printLinkedList function below. # # For your reference: # # SinglyLinkedListNode: # int data # SinglyLinkedListNode next # # def printLinkedList(head): if head == None: return; n = head while(n != None): print(n.data) n = n.next
16.941176
46
0.607639
31
288
5.645161
0.645161
0
0
0
0
0
0
0
0
0
0
0
0.288194
288
17
47
16.941176
0.853659
0.447917
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.142857
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5d5fe08b68a42bbf47cdd1e53e137159c13499
1,877
py
Python
python/section12-2.py
loveactualry/fluffy-octo-disco
e111282895350e348c660d31c83c3133fcd57ada
[ "Apache-2.0" ]
null
null
null
python/section12-2.py
loveactualry/fluffy-octo-disco
e111282895350e348c660d31c83c3133fcd57ada
[ "Apache-2.0" ]
null
null
null
python/section12-2.py
loveactualry/fluffy-octo-disco
e111282895350e348c660d31c83c3133fcd57ada
[ "Apache-2.0" ]
null
null
null
# Section12-2 # 파이썬 데이터베이스 연동(SQLite) import sqlite3 # DB 파일 조회(없으면 새로 생성) conn = sqlite3.connect('C:/pythonbasic/resource/database.db') # 본인 db 경로 # 커서 바인딩 c = conn.cursor() # 데이터 조회(전체) #c.execute("SELECT * FROM users") # 커서 위치가 변경 # 1개 로우 선택 #print('One -> \n', c.fetchone()) # 지정 로우 선택 #pr...
22.082353
78
0.598295
289
1,877
3.885813
0.359862
0.072128
0.099733
0.128228
0.342832
0.257346
0.257346
0.15049
0.0935
0.0935
0
0.031886
0.214704
1,877
85
79
22.082353
0.729986
0.39105
0
0.142857
0
0
0.36239
0.065622
0
0
0
0
0
1
0
false
0
0.035714
0
0.035714
0.428571
0
0
0
null
0
0
0
0
0
0
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
0d5ee9999bbcd7a4fe2453d542df290189163476
3,182
py
Python
pyapprox/models/test_datafunction_model.py
ConnectedSystems/pyapprox
4f405654c707cba83d211f327c0f0fdbc95efa29
[ "MIT" ]
26
2019-12-16T02:21:15.000Z
2022-03-17T09:59:18.000Z
pyapprox/models/test_datafunction_model.py
ConnectedSystems/pyapprox
4f405654c707cba83d211f327c0f0fdbc95efa29
[ "MIT" ]
9
2020-03-03T03:04:55.000Z
2021-08-19T22:50:42.000Z
pyapprox/models/test_datafunction_model.py
ConnectedSystems/pyapprox
4f405654c707cba83d211f327c0f0fdbc95efa29
[ "MIT" ]
7
2020-03-02T03:49:17.000Z
2021-02-17T02:07:53.000Z
import unittest import numpy as np from pyapprox.models.wrappers import DataFunctionModel class ModelWithCounter(object): def __init__(self): self.counter=0 def __call__(self,samples): self.counter+=samples.shape[1] return np.sum(samples**2,axis=0)[:,np.newaxis] class TestDataFunc...
34.967033
79
0.655248
377
3,182
5.32626
0.172414
0.114542
0.071713
0.065737
0.774402
0.729084
0.709661
0.709661
0.674303
0.650398
0
0.016313
0.229415
3,182
90
80
35.355556
0.80261
0.011628
0
0.666667
0
0
0.002546
0
0
0
0
0
0.173913
1
0.072464
false
0
0.043478
0
0.15942
0
0
0
0
null
0
0
0
0
1
1
1
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
4
0d5f794c240a2713b4e7ab394e05f2c97c787a51
4,945
py
Python
video/segment.py
ArseniKavalchuk/ffmpeg-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
1
2020-10-23T15:56:31.000Z
2020-10-23T15:56:31.000Z
video/segment.py
ArseniKavalchuk/ffmpeg-rtsp-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
null
null
null
video/segment.py
ArseniKavalchuk/ffmpeg-rtsp-hls-view
943e8eb5de7357c720d332a3ef13be98fd1efdf5
[ "Apache-2.0" ]
null
null
null
import ffmpeg import os import logging import glob logger = logging.getLogger('segmenter') class BaseSegmenter: def __init__(self, in_src, out_dir, channel_id): if not channel_id or channel_id <= 0: raise ValueError("channel_id must be a positive integer") if not in_src or not out_dir...
35.833333
99
0.558342
574
4,945
4.5
0.24216
0.060395
0.042586
0.061943
0.624855
0.583043
0.583043
0.546651
0.546651
0.546651
0
0.030267
0.325177
4,945
138
100
35.833333
0.743782
0.025076
0
0.534483
0
0
0.127545
0.021811
0
0
0
0
0
1
0.060345
false
0
0.034483
0
0.155172
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d5fae65bcad708f5d5bd66201a606879164f0e1
23,753
py
Python
npl_portfolio/property_collateral.py
open-risk/openNPL
fff1d219b5180305fd8b9e742e0e26dc0306f45d
[ "MIT" ]
16
2020-07-03T09:10:46.000Z
2021-06-28T09:31:37.000Z
npl_portfolio/property_collateral.py
open-risk/openNPL
fff1d219b5180305fd8b9e742e0e26dc0306f45d
[ "MIT" ]
2
2021-03-12T18:59:17.000Z
2021-03-30T23:10:26.000Z
npl_portfolio/property_collateral.py
open-risk/openNPL
fff1d219b5180305fd8b9e742e0e26dc0306f45d
[ "MIT" ]
7
2020-07-11T18:09:50.000Z
2021-09-20T07:47:02.000Z
# Copyright (c) 2020 - 2021 Open Risk (https://www.openriskmanagement.com) # # 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 ...
98.970833
437
0.69667
3,009
23,753
5.3001
0.135261
0.072235
0.08139
0.092488
0.652809
0.591297
0.577314
0.562641
0.539817
0.500125
0
0.00363
0.2113
23,753
239
438
99.384937
0.847657
0.057635
0
0
0
0.42963
0.578733
0.186747
0
0
0
0
0
1
0.014815
false
0.014815
0.02963
0.014815
0.525926
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
2
0d61c4eb539721622e0afd3f029768d48f3848b5
1,396
py
Python
src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py
ahmetcagriakca/pythondataintegrator
079b968d6c893008f02c88dbe34909a228ac1c7b
[ "MIT" ]
1
2020-12-18T21:37:28.000Z
2020-12-18T21:37:28.000Z
src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py
ahmetcagriakca/pythondataintegrator
079b968d6c893008f02c88dbe34909a228ac1c7b
[ "MIT" ]
null
null
null
src/api/pdi/application/dashboard/GetDataOperationJobExecutionWidget/GetDataOperationJobExecutionWidgetQueryHandler.py
ahmetcagriakca/pythondataintegrator
079b968d6c893008f02c88dbe34909a228ac1c7b
[ "MIT" ]
1
2020-12-18T21:37:31.000Z
2020-12-18T21:37:31.000Z
from injector import inject from pdip.cqrs import IQueryHandler from pdip.dependency import IScoped from pdi.application.dashboard.GetDataOperationJobExecutionWidget.GetDataOperationJobExecutionWidgetMapping import \ GetDataOperationJobExecutionWidgetMapping from pdi.application.dashboard.GetDataOperationJobExecut...
53.692308
123
0.852436
84
1,396
14.083333
0.369048
0.023669
0.060862
0.091293
0.206255
0
0
0
0
0
0
0
0.106734
1,396
25
124
55.84
0.948677
0
0
0
0
0
0
0
0
0
0
0
0
1
0.095238
false
0
0.333333
0
0.52381
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
2
0d632ebfcf390e585a2cf63ec0c29c0477321357
1,947
py
Python
gecosistema_win_service/example.py
valluzzi/gecosistema_win_service
5bfd2e6e85eddb750bfb7715930ef5612c71a4e1
[ "MIT" ]
null
null
null
gecosistema_win_service/example.py
valluzzi/gecosistema_win_service
5bfd2e6e85eddb750bfb7715930ef5612c71a4e1
[ "MIT" ]
null
null
null
gecosistema_win_service/example.py
valluzzi/gecosistema_win_service
5bfd2e6e85eddb750bfb7715930ef5612c71a4e1
[ "MIT" ]
null
null
null
# ------------------------------------------------------------------------------- # Licence: # Copyright (c) 2012-2020 Luzzi Valerio # # The above copyright notice and this permission notice shall be # included in all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANT...
27.041667
100
0.639445
239
1,947
5.108787
0.569038
0.053235
0.061425
0.037674
0.067158
0.067158
0.067158
0.067158
0
0
0
0.019834
0.197227
1,947
71
101
27.422535
0.761356
0.609656
0
0
0
0
0.142857
0
0
0
0
0
0
1
0.05
false
0
0.15
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d63537c7a3acbbe4a440b749ad98860f8d066ce
6,309
py
Python
scripts/nagios/check_jmxproxy.py
mk23/jmxproxy-test
d5b8145eef2b05560a3e2879cb5f15cbf491e4a7
[ "MIT" ]
1
2016-08-24T07:57:30.000Z
2016-08-24T07:57:30.000Z
scripts/nagios/check_jmxproxy.py
mk23/jmxproxy-test
d5b8145eef2b05560a3e2879cb5f15cbf491e4a7
[ "MIT" ]
null
null
null
scripts/nagios/check_jmxproxy.py
mk23/jmxproxy-test
d5b8145eef2b05560a3e2879cb5f15cbf491e4a7
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 import argparse import json import re import sys import traceback import urllib import urllib2 SUCCESS, WARNING, CRITICAL, UNKNOWN = range(4) ERRORS = dict((v, k) for k, v in vars(sys.modules[__name__]).items() if type(v) == int) def lookup_val(host, port, expr, auth=None, proxy='http://loca...
45.388489
189
0.570772
768
6,309
4.630208
0.22526
0.02784
0.047807
0.045276
0.421822
0.341395
0.265748
0.249719
0.241845
0.241845
0
0.011928
0.282454
6,309
138
190
45.717391
0.773581
0.003646
0
0.069565
0
0
0.179634
0
0
0
0
0
0
0
null
null
0.017391
0.06087
null
null
0.052174
0
0
0
null
0
0
0
0
0
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
0d64a2a47538f87f2ae8c4d52adea915c9e65edb
14,042
py
Python
feature_mining/em_vector.py
nfreundlich/CS410_CourseProject
c50d0ff04472e48b0b59abe4467dc17d7c2cfab8
[ "MIT" ]
null
null
null
feature_mining/em_vector.py
nfreundlich/CS410_CourseProject
c50d0ff04472e48b0b59abe4467dc17d7c2cfab8
[ "MIT" ]
18
2018-10-24T01:35:45.000Z
2018-12-17T03:57:36.000Z
feature_mining/em_vector.py
nfreundlich/CS410_CourseProject
c50d0ff04472e48b0b59abe4467dc17d7c2cfab8
[ "MIT" ]
null
null
null
import numpy as np from scipy.sparse import csr_matrix from feature_mining.em_base import ExpectationMaximization class ExpectationMaximizationVector(ExpectationMaximization): """ Vectorized implementation of EM algorithm. """ def __init__(self, dump_path="../tests/data/em_01/"): print(type(s...
43.07362
127
0.543441
1,594
14,042
4.603513
0.151192
0.008449
0.007359
0.004906
0.274598
0.175116
0.119515
0.102071
0.085991
0.085991
0
0.016144
0.325096
14,042
326
128
43.07362
0.758151
0.22746
0
0.145985
0
0
0.038684
0.007119
0
0
0
0.021472
0
1
0.051095
false
0
0.058394
0
0.124088
0.072993
0
0
0
null
0
0
0
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
0d652795dab14c8112782292c58dcb2c2d1a4e6f
521
py
Python
api/migrations/0009_contributor_unique contributor.py
josayko/SoftDeskAPI
a168abb09b09c5cb5f8f4957d028ebde02f3d128
[ "MIT" ]
null
null
null
api/migrations/0009_contributor_unique contributor.py
josayko/SoftDeskAPI
a168abb09b09c5cb5f8f4957d028ebde02f3d128
[ "MIT" ]
null
null
null
api/migrations/0009_contributor_unique contributor.py
josayko/SoftDeskAPI
a168abb09b09c5cb5f8f4957d028ebde02f3d128
[ "MIT" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-23 14:48 from django.db import migrations, models import django.db.models.expressions class Migration(migrations.Migration): dependencies = [ ('api', '0008_alter_contributor_unique_together'), ] operations = [ migrations.AddConstraint( ...
27.421053
157
0.681382
58
521
6.034483
0.62069
0.091429
0.12
0.214286
0.148571
0
0
0
0
0
0
0.045455
0.197697
521
18
158
28.944444
0.791866
0.086372
0
0
1
0
0.170886
0.080169
0
0
0
0
0
1
0
false
0
0.166667
0
0.416667
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0d65822e35959222811499bf6a00a06314dc624b
2,706
py
Python
bib2reSTcitation.py
marvinbernhardt/bib2reSTcitation
b200412f3dccfee5718feb80b48c5cc5c61d884c
[ "MIT" ]
null
null
null
bib2reSTcitation.py
marvinbernhardt/bib2reSTcitation
b200412f3dccfee5718feb80b48c5cc5c61d884c
[ "MIT" ]
null
null
null
bib2reSTcitation.py
marvinbernhardt/bib2reSTcitation
b200412f3dccfee5718feb80b48c5cc5c61d884c
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import sys import re def displaymatch(match): if match is None: return None return '<Match: %r, groups=%r>' % (match.group(), match.groups()) def bib2rest(input_bibfile, output_txtfile): fields = ('author', 'title', 'journal', 'year', 'doi') patterns =...
41
146
0.518108
310
2,706
4.319355
0.329032
0.041822
0.022405
0.041075
0.130695
0.040329
0.040329
0
0
0
0
0.005028
0.338507
2,706
65
147
41.630769
0.743017
0.013304
0
0.160714
0
0
0.161544
0.031859
0
0
0
0
0
1
0.035714
false
0.035714
0.053571
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d686dc9ef7836d9dcd1a98c972cedbc4f4e6b66
161
py
Python
command_handler/stats.py
felippemr/simple_kv
3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf
[ "BSD-3-Clause" ]
16
2015-12-04T18:36:16.000Z
2022-03-29T21:52:31.000Z
command_handler/stats.py
felippemr/simple_kv
3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf
[ "BSD-3-Clause" ]
null
null
null
command_handler/stats.py
felippemr/simple_kv
3be53ce328d5749ffa0a3c2ccb2f2be60201e6cf
[ "BSD-3-Clause" ]
null
null
null
from settings import STATS_DICT def handle_stats(): """Return a tuple containing True and the contents of the STATS dict.""" return (True, STATS_DICT)
23
76
0.726708
24
161
4.75
0.666667
0.236842
0
0
0
0
0
0
0
0
0
0
0.192547
161
6
77
26.833333
0.876923
0.409938
0
0
0
0
0
0
0
0
0
0
0
1
0.333333
true
0
0.333333
0
1
0
1
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
1
0
1
0
1
0
0
7
0d68fdce50c6e1052d14d5b7d0245789b81e2d22
276
py
Python
python/Data Structures/Arrays/replaceGreatestRight.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
python/Data Structures/Arrays/replaceGreatestRight.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
python/Data Structures/Arrays/replaceGreatestRight.py
sinderpl/CodingExamples
9bc59a0345589bf51fc74fe9ad527e9498b9b5c9
[ "MIT" ]
null
null
null
class Solution: def replaceElements(self, arr: List[int]) -> List[int]: curr = -1 for idx in range(len(arr) -1, -1, -1): temp = arr[idx] arr[idx] = curr if temp > curr: curr = temp return arr
27.6
59
0.456522
34
276
3.705882
0.529412
0.111111
0
0
0
0
0
0
0
0
0
0.025157
0.423913
276
10
60
27.6
0.767296
0
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
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
0
0
0
0
1
0
0d69318abc11696433e4f1924cacaff09033b82a
658
py
Python
src/config.py
blockshift/hyperledger-cello-master
9e8dabe1606f277e327165b866cc70a0d569f3b4
[ "Apache-2.0" ]
null
null
null
src/config.py
blockshift/hyperledger-cello-master
9e8dabe1606f277e327165b866cc70a0d569f3b4
[ "Apache-2.0" ]
null
null
null
src/config.py
blockshift/hyperledger-cello-master
9e8dabe1606f277e327165b866cc70a0d569f3b4
[ "Apache-2.0" ]
null
null
null
# Copyright IBM Corp, All Rights Reserved. # # SPDX-License-Identifier: Apache-2.0 # import os import bcrypt class Config(object): DEBUG = False SECRET_KEY = '?\xbf,\xb4\x8d\xa3"<\x9c\xb0@\x0f5\xab,w\xee\x8d$0\x13\x8b83' class ProductionConfig(Config): DEBUG = False class DevelopmentConfig(Config): ...
24.37037
79
0.696049
85
658
5.258824
0.611765
0.089485
0.167785
0
0
0
0
0
0
0
0
0.052347
0.158055
658
26
80
25.307692
0.754513
0.115502
0
0.133333
0
0.066667
0.293403
0.154514
0
0
0
0
0
1
0
false
0.066667
0.133333
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
2
0d69578c10d2634307c060bc1241b6dc2f5a2d74
556
py
Python
geneal/applications/tsp/examples/world_capitals/_world_capitals.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
47
2020-07-10T14:28:52.000Z
2022-03-25T17:20:52.000Z
geneal/applications/tsp/examples/world_capitals/_world_capitals.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
10
2020-08-08T16:35:40.000Z
2022-03-08T00:07:19.000Z
geneal/applications/tsp/examples/world_capitals/_world_capitals.py
NeveIsa/geneal
064b0409912088886bf56fe9a729d74dac92a235
[ "MIT" ]
14
2020-08-07T20:49:18.000Z
2022-03-31T17:55:47.000Z
import os import pandas as pd try: module_path = os.path.abspath(os.path.join(".")) world_capitals = pd.read_csv(os.path.join(module_path, "data/world_capitals.csv")) except FileNotFoundError: module_path = os.path.abspath(os.path.join("..")) world_capitals = pd.read_csv(os.path.join(module_path, "da...
27.8
86
0.751799
83
556
4.819277
0.373494
0.2925
0.1
0.08
0.475
0.475
0.475
0.475
0.475
0.475
0
0.004008
0.102518
556
19
87
29.263158
0.797595
0
0
0.166667
0
0
0.116906
0.082734
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
0d6b5bc99fe656be916957a3fe9bf8ca0a97853c
3,166
py
Python
singleImageHSV.py
josephwccheng/InvisibleCloakOpenCV
b3abb5a95b8f050e74ee97b701e0ecc51046d66e
[ "MIT" ]
null
null
null
singleImageHSV.py
josephwccheng/InvisibleCloakOpenCV
b3abb5a95b8f050e74ee97b701e0ecc51046d66e
[ "MIT" ]
null
null
null
singleImageHSV.py
josephwccheng/InvisibleCloakOpenCV
b3abb5a95b8f050e74ee97b701e0ecc51046d66e
[ "MIT" ]
null
null
null
import cv2 import numpy as np import time import matplotlib.pyplot as plt ##################################################### # # Author: Joseph Cheng # HSV: Hue Saturation Value # Hue is the color # Saturation is the greyness # Value is the brightness of the pixel # # ############################...
32.639175
104
0.679406
439
3,166
4.826879
0.403189
0.016517
0.030203
0.021708
0.100991
0.08117
0.058518
0
0
0
0
0.03308
0.169299
3,166
97
105
32.639175
0.772624
0.562539
0
0.137931
0
0
0.042594
0
0
0
0
0
0
1
0
false
0
0.137931
0
0.137931
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d6ba03cf017f1a2f946aece4eb5018d6320c47a
5,371
py
Python
netharn/layers/perceptron.py
VIAME/netharn
c9491d655c5d91cb0ee6055f30e68282108e6b67
[ "Apache-2.0" ]
null
null
null
netharn/layers/perceptron.py
VIAME/netharn
c9491d655c5d91cb0ee6055f30e68282108e6b67
[ "Apache-2.0" ]
null
null
null
netharn/layers/perceptron.py
VIAME/netharn
c9491d655c5d91cb0ee6055f30e68282108e6b67
[ "Apache-2.0" ]
null
null
null
from netharn.layers import common from netharn.layers import rectify from netharn.layers import conv_norm import numpy as np class MultiLayerPerceptronNd(common.Module): """ A multi-layer perceptron network for n dimensional data Choose the number and size of the hidden layers, number of output channels,...
40.383459
100
0.582945
642
5,371
4.742991
0.228972
0.05977
0.033498
0.02266
0.160263
0.145484
0.145484
0.145484
0.145484
0.145484
0
0.031341
0.293055
5,371
132
101
40.689394
0.770608
0.501024
0
0.12963
0
0
0.022615
0
0
0
0
0
0
1
0.074074
false
0
0.111111
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d6c6a31ee2dcded3d58deceaa07ea08c9e07ee6
11,116
py
Python
finicityapi/controllers/consumer_controller.py
monarchmoney/finicity-python
b2ab1ded435db75c78d42261f5e4acd2a3061487
[ "MIT" ]
null
null
null
finicityapi/controllers/consumer_controller.py
monarchmoney/finicity-python
b2ab1ded435db75c78d42261f5e4acd2a3061487
[ "MIT" ]
null
null
null
finicityapi/controllers/consumer_controller.py
monarchmoney/finicity-python
b2ab1ded435db75c78d42261f5e4acd2a3061487
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from finicityapi.api_helper import APIHelper from finicityapi.configuration import Configuration from finicityapi.controllers.base_controller import BaseController from finicityapi.http.auth.custom_header_auth import CustomHeaderAuth from finicityapi.models.consumer import Consumer from ...
41.17037
114
0.611011
1,159
11,116
5.659189
0.163934
0.04025
0.031102
0.025614
0.778015
0.770544
0.754688
0.734563
0.724806
0.71886
0
0.007377
0.329255
11,116
269
115
41.32342
0.872318
0.392497
0
0.834783
0
0
0.066838
0.029135
0
0
0
0.003717
0
1
0.034783
false
0
0.06087
0
0.130435
0
0
0
0
null
0
0
0
0
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
6
0d6e573aac9be9a3ddc8cd881787cdec4d5f95b8
2,199
py
Python
tests/event_broker/test_multi_subscribe.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
5
2019-07-22T06:04:07.000Z
2021-07-23T06:01:51.000Z
tests/event_broker/test_multi_subscribe.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
15
2020-07-28T17:33:40.000Z
2021-08-23T17:30:05.000Z
tests/event_broker/test_multi_subscribe.py
filfreire/questions-three
1d1d621d5647407bf2d1b271e0b9c7c9f1afc5c8
[ "MIT" ]
4
2019-08-25T22:41:59.000Z
2020-10-21T14:28:15.000Z
from functools import partial from unittest import TestCase, main from expects import expect, be_empty, equal from twin_sister.expects_matchers import complain from twin_sister.fakes import FunctionSpy from questions_three.constants import TestEvent from questions_three.event_broker import EventBroker class TestMul...
33.830769
93
0.673488
261
2,199
5.425287
0.283525
0.108051
0.036723
0.048023
0.543785
0.491525
0.456215
0.456215
0.456215
0.398305
0
0.00939
0.225102
2,199
64
94
34.359375
0.821596
0
0
0.346154
0
0
0.005912
0
0
0
0
0
0.038462
1
0.134615
false
0
0.134615
0
0.288462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d6e9a3e1c2529b39e7ddfcb30d0694645fa2929
5,075
py
Python
opto/opto/classes/Optimizer.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
5
2019-03-25T17:52:28.000Z
2022-03-19T06:20:41.000Z
opto/opto/classes/Optimizer.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
null
null
null
opto/opto/classes/Optimizer.py
tholiao/opto
370a016a1ccef462b185b0f9538fb33aab81d566
[ "MIT" ]
6
2018-02-19T05:33:40.000Z
2019-11-21T04:17:22.000Z
# Compatibility Python 2/3 from __future__ import division, print_function, absolute_import from builtins import range # ---------------------------------------------------------------------------------------------------------------------- import numpy as np from dotmap import DotMap from .Logs import Logs fro...
39.038462
155
0.568079
581
5,075
4.817556
0.280551
0.042872
0.027867
0.025723
0.174705
0.143265
0.143265
0.121829
0.121829
0.0786
0
0.006532
0.306207
5,075
129
156
39.341085
0.788412
0.314483
0
0.149254
0
0
0.0816
0
0
0
0
0.007752
0
1
0.089552
false
0.014925
0.104478
0
0.283582
0.014925
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d704f2f7940709c3bf91f303ecaf73f3e4a2d3f
1,359
py
Python
tests/bugs/core_3675_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2022-02-05T11:37:13.000Z
2022-02-05T11:37:13.000Z
tests/bugs/core_3675_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-09-03T11:47:00.000Z
2021-09-03T12:42:10.000Z
tests/bugs/core_3675_test.py
FirebirdSQL/firebird-qa
96af2def7f905a06f178e2a80a2c8be4a4b44782
[ "MIT" ]
1
2021-06-30T14:14:16.000Z
2021-06-30T14:14:16.000Z
#coding:utf-8 # # id: bugs.core_3675 # title: CREATE INDEX considers NULL and empty string being the same in compound indices # decription: # tracker_id: CORE-3675 # min_versions: ['2.5.2'] # versions: 2.5.2 # qmid: None import pytest from firebird.qa import db_factory, isql_act, Acti...
24.267857
95
0.552612
189
1,359
3.783069
0.396825
0.078322
0.083916
0.08951
0.064336
0.064336
0
0
0
0
0
0.06413
0.323032
1,359
55
96
24.709091
0.713043
0.197204
0
0.117647
0
0
0.554217
0
0
0
0
0
0.029412
1
0.029412
false
0
0.058824
0
0.088235
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d707813321db46119d80b8013c2b030f2c67f56
1,278
py
Python
tests/test_response_mockups.py
Shin--/django-sofortueberweisung
b410c358cbb3e3a3d047eedcff0a4046c493a7c7
[ "MIT" ]
3
2016-09-02T13:54:17.000Z
2017-06-21T22:42:03.000Z
tests/test_response_mockups.py
Shin--/django-sofortueberweisung
b410c358cbb3e3a3d047eedcff0a4046c493a7c7
[ "MIT" ]
4
2017-01-19T10:09:15.000Z
2019-10-28T10:39:40.000Z
tests/test_response_mockups.py
Shin--/django-sofortueberweisung
b410c358cbb3e3a3d047eedcff0a4046c493a7c7
[ "MIT" ]
3
2017-11-07T10:05:14.000Z
2019-02-06T10:01:52.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from django.template.loader import render_to_string from django.utils import timezone def get_refund_transaction_valid(transaction_id): return render_to_string(template_name='tests/transaction_refund.xml', context={'transaction': transactio...
51.12
173
0.676839
147
1,278
5.62585
0.346939
0.123337
0.084643
0.106409
0.481258
0.481258
0.481258
0.481258
0.481258
0.481258
0
0.027698
0.180751
1,278
24
174
53.25
0.762178
0.032864
0
0.125
0
0
0.328201
0.137763
0
0
0
0
0
1
0.125
false
0
0.125
0.125
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
0d73a3c5a76c4a1ecfc8ba69c9bdec3726bf3080
7,724
py
Python
analysisCodes/hotrgTc.py
brucelyu/tensorRGflow
e70edb2da11f0be4db2882ddd7a07a8a6e0d4f06
[ "MIT" ]
12
2021-03-06T10:06:54.000Z
2022-01-31T14:20:28.000Z
analysisCodes/hotrgTc.py
brucelyu/tensorRGflow
e70edb2da11f0be4db2882ddd7a07a8a6e0d4f06
[ "MIT" ]
null
null
null
analysisCodes/hotrgTc.py
brucelyu/tensorRGflow
e70edb2da11f0be4db2882ddd7a07a8a6e0d4f06
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # File : hotrgTc.py # Author : Xinliang(Bruce) Lyu <lyu@issp.u-tokyo.ac.jp> # Date : 22.02.2021 # Last Modified Date: 22.02.2021 # Last Modified By : Xinliang(Bruce) Lyu <lyu@issp.u-tokyo.ac.jp> # -*- coding: utf-8 -*- """ Created on S...
37.862745
89
0.576256
966
7,724
4.567288
0.308489
0.028558
0.053944
0.00884
0.236174
0.191296
0.151405
0.137806
0.12466
0.109701
0
0.024066
0.289876
7,724
203
90
38.049261
0.78031
0.204687
0
0.176471
0
0
0.217391
0.003774
0
0
0
0
0
1
0
false
0
0.051471
0
0.051471
0.022059
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d7412d1cd28b6de9850ed3634e8ab4057bb4f22
32,442
py
Python
src/modeling.py
gengjia0214/jai
865ec9fdf432288ecab806cd1ecb8a4c747ee689
[ "BSD-3-Clause" ]
9
2020-02-20T23:14:55.000Z
2020-07-09T03:28:04.000Z
src/modeling.py
gengjia0214/jai
865ec9fdf432288ecab806cd1ecb8a4c747ee689
[ "BSD-3-Clause" ]
null
null
null
src/modeling.py
gengjia0214/jai
865ec9fdf432288ecab806cd1ecb8a4c747ee689
[ "BSD-3-Clause" ]
null
null
null
""" Modeling Pipeline Author: Jia Geng Email: gjia0214@gmail.com | jxg570@miami.edu """ import gc import os import random import copy import torch import torch.nn as nn from sklearn import metrics from torch.optim.lr_scheduler import * from torch.optim.optimizer import Optimizer from datautils.datahandler import Dat...
41.699229
145
0.607885
3,887
32,442
4.904039
0.125804
0.019043
0.007082
0.008394
0.332809
0.259154
0.208005
0.190903
0.164778
0.137236
0
0.003223
0.301893
32,442
777
146
41.752896
0.83844
0.268078
0
0.160221
0
0.002762
0.086806
0.00508
0
0
0
0.005148
0.019337
1
0.080111
false
0.002762
0.046961
0
0.168508
0.041436
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d743fc5ff11340168a1f5be064069815e115ae3
5,805
py
Python
cogs/Competitive.py
DevvyDont/CraneDuels
a6c8ed9f2fd5dbc01cc3419856fae3d4a587bdc4
[ "MIT" ]
null
null
null
cogs/Competitive.py
DevvyDont/CraneDuels
a6c8ed9f2fd5dbc01cc3419856fae3d4a587bdc4
[ "MIT" ]
null
null
null
cogs/Competitive.py
DevvyDont/CraneDuels
a6c8ed9f2fd5dbc01cc3419856fae3d4a587bdc4
[ "MIT" ]
null
null
null
from discord import Embed from discord.errors import InvalidArgument from discord.ext import commands import json import os.path from discord.ext.commands.core import command DEBUG = True """ Example of the structure of the json file for storing elos If we ever want to add a new mode we can just add a new enum to ...
30.552632
143
0.57261
801
5,805
4.002497
0.270911
0.027449
0.03743
0.014972
0.097629
0.091703
0.019339
0.019339
0.019339
0.019339
0
0.024762
0.311283
5,805
189
144
30.714286
0.777139
0.115245
0
0.083333
0
0.008333
0.139569
0.025923
0
0
0
0
0
1
0.075
false
0
0.05
0
0.183333
0.016667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d7476879775d1d52aa3bcee7ee0cad81c8e65bd
653
py
Python
tests/sharepoint/test_client_side_component.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
544
2016-08-04T17:10:16.000Z
2022-03-31T07:17:20.000Z
tests/sharepoint/test_client_side_component.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
438
2016-10-11T12:24:22.000Z
2022-03-31T19:30:35.000Z
tests/sharepoint/test_client_side_component.py
rikeshtailor/Office365-REST-Python-Client
ca7bfa1b22212137bb4e984c0457632163e89a43
[ "MIT" ]
202
2016-08-22T19:29:40.000Z
2022-03-30T20:26:15.000Z
from tests.sharepoint.sharepoint_case import SPTestCase from office365.sharepoint.webs.web import Web class TestClientSideComponent(SPTestCase): target_web = None # type: Web @classmethod def setUpClass(cls): super(TestClientSideComponent, cls).setUpClass() def test1_get_all_client_side_co...
31.095238
81
0.744257
78
653
5.948718
0.423077
0.086207
0.051724
0.068966
0.491379
0.385776
0
0
0
0
0
0.009191
0.166922
653
20
82
32.65
0.84375
0.269525
0
0
0
0
0
0
0
0
0
0
0.1
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0d7812855fb69eaa94b6d295abeec4a4d24cc06e
4,203
py
Python
discord-bot/music.py
rdebek/discord-bot
2da5e4f776bb72cf08b7e9cdf0fa99bd62ddd299
[ "MIT" ]
null
null
null
discord-bot/music.py
rdebek/discord-bot
2da5e4f776bb72cf08b7e9cdf0fa99bd62ddd299
[ "MIT" ]
null
null
null
discord-bot/music.py
rdebek/discord-bot
2da5e4f776bb72cf08b7e9cdf0fa99bd62ddd299
[ "MIT" ]
null
null
null
from discord.ext import commands from player import Player FFMPEG_OPTIONS = {'before_options': '-reconnect 1 -reconnect_streamed 1 -reconnect_delay_max 5', 'options': '-vn'} class Music(commands.Cog): def __init__(self, bot, color_theme): self.players = [] self.bot = bot ...
34.735537
98
0.630502
552
4,203
4.663043
0.208333
0.059052
0.103341
0.097902
0.458819
0.432401
0.372183
0.325175
0.307692
0.25136
0
0.000943
0.243398
4,203
121
99
34.735537
0.808491
0
0
0.22449
0
0
0.113226
0
0
0
0
0
0
1
0.010204
false
0
0.020408
0
0.112245
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d7937c2b3a48324e9a6ff27ade9cf323de26ee1
3,895
py
Python
TSP/TSPA.py
hiiroo/ModernHeuristics
2c02a76a571c1608a2096fed7491f60e0d3f9bde
[ "MIT" ]
null
null
null
TSP/TSPA.py
hiiroo/ModernHeuristics
2c02a76a571c1608a2096fed7491f60e0d3f9bde
[ "MIT" ]
null
null
null
TSP/TSPA.py
hiiroo/ModernHeuristics
2c02a76a571c1608a2096fed7491f60e0d3f9bde
[ "MIT" ]
null
null
null
""" MIT License Copyright (c) 2019 Ali Mert Ceylan, Adopted from original resources provided by Korhan Karabulut for COMP 5658 Modern Heuristics Course 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 Soft...
35.733945
95
0.576637
427
3,895
5.208431
0.409836
0.039568
0.021583
0.007194
0.029676
0.029676
0
0
0
0
0
0.015625
0.342747
3,895
108
96
36.064815
0.853125
0.673684
0
0.057143
0
0
0.03115
0
0
0
0
0
0
1
0.028571
false
0
0.142857
0
0.2
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d799e5e74e58842353f606554f65d80dd705533
19,817
py
Python
template_container_human/labels/slice_16.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_16.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
template_container_human/labels/slice_16.py
lkondratova/Brainplot
3c8a88c1995dedeaa5cbd88ee71499c7cf9c571d
[ "MIT" ]
null
null
null
coordinates_E0E1E1 = ((127, 144), (127, 146), (128, 108), (128, 110), (128, 111), (128, 112), (128, 113), (128, 114), (128, 115), (128, 116), (128, 118), (129, 102), (129, 103), (129, 106), (129, 107), (129, 108), (129, 109), (129, 110), (129, 111), (129, 112), (129, 113), (129, 114), (129, 115), (129, 118), (129, 12...
396.34
865
0.492759
3,324
19,817
2.93231
0.030084
0.001847
0.001847
0
0
0
0
0
0
0
0
0.578896
0.17268
19,817
49
866
404.428571
0.015615
0
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
1
0
0
0
0
1
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
3
0d79f0e4cbdb7d5315b91cbc4c77238af366e46c
5,024
py
Python
theforce/deprecated/regression/kernels.py
changwmyung/AutoForce
c8a429b05685841e1f17e8655b981753e1d086be
[ "MIT" ]
19
2019-10-21T06:56:22.000Z
2022-03-14T06:43:42.000Z
theforce/deprecated/regression/kernels.py
17DongGeonKim/AutoForce
c8a429b05685841e1f17e8655b981753e1d086be
[ "MIT" ]
8
2019-10-23T07:48:49.000Z
2022-03-23T03:47:44.000Z
theforce/deprecated/regression/kernels.py
17DongGeonKim/AutoForce
c8a429b05685841e1f17e8655b981753e1d086be
[ "MIT" ]
4
2021-09-25T11:28:44.000Z
2022-02-25T06:50:48.000Z
import torch from torch.nn import Module, Parameter from theforce.regression.algebra import positive, free_form import warnings class RBF(Module): """ Parameters: scale, variance """ def __init__(self, scale, variance): super(RBF, self).__init__() self._scale = Parameter(free_form(sc...
32.205128
103
0.540406
697
5,024
3.733142
0.195122
0.016141
0.017294
0.006149
0.39854
0.351268
0.32475
0.32475
0.29362
0.29362
0
0.019828
0.307325
5,024
155
104
32.412903
0.727874
0.113654
0
0.371429
0
0
0.034999
0
0
0
0
0
0.009524
1
0.095238
false
0
0.047619
0.019048
0.219048
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d7c091967c9affc83a4f4c6f7107024f844a0d2
229
py
Python
tests/files/autotest/tests_module/mixed.py
ishikawa/modipyd
30bd7df9e9babb29b848dac6a46b1c909ab1e180
[ "MIT" ]
1
2016-05-08T13:21:04.000Z
2016-05-08T13:21:04.000Z
tests/files/autotest/tests_module/mixed.py
ishikawa/modipyd
30bd7df9e9babb29b848dac6a46b1c909ab1e180
[ "MIT" ]
null
null
null
tests/files/autotest/tests_module/mixed.py
ishikawa/modipyd
30bd7df9e9babb29b848dac6a46b1c909ab1e180
[ "MIT" ]
null
null
null
import tests_module import other_module class RegularObject(object): pass class RegularObject2(other_module.RegularObjectInOtherModule): pass class TestMixed(tests_module.TestCase): def test_it(self): pass
17.615385
62
0.772926
26
229
6.615385
0.615385
0.127907
0
0
0
0
0
0
0
0
0
0.005236
0.165939
229
12
63
19.083333
0.895288
0
0
0.333333
0
0
0
0
0
0
0
0
0
1
0.111111
false
0.333333
0.222222
0
0.666667
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
1
0
0
3
0d7dd31165140749f8c07152e6e2e3b6c074eab6
223
py
Python
openscreenlapser/main.py
tybantarnusa/openscreenlapser
686c731bd1c50c1f3e400ada6fe629b7debc6a9a
[ "Apache-2.0" ]
1
2017-11-20T08:35:01.000Z
2017-11-20T08:35:01.000Z
openscreenlapser/main.py
tybantarnusa/openscreenlapser
686c731bd1c50c1f3e400ada6fe629b7debc6a9a
[ "Apache-2.0" ]
null
null
null
openscreenlapser/main.py
tybantarnusa/openscreenlapser
686c731bd1c50c1f3e400ada6fe629b7debc6a9a
[ "Apache-2.0" ]
null
null
null
from aesthetic import main_window from logic import capture def main(): app = main_window.MainWindow() app.after(1000, capture.instance.logicLoop, app) app.mainloop() if __name__ == '__main__': main()
20.272727
52
0.695067
28
223
5.178571
0.607143
0.137931
0
0
0
0
0
0
0
0
0
0.022346
0.197309
223
11
53
20.272727
0.78771
0
0
0
0
0
0.035714
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.375
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0d7eec1b47b1552221bc328ab841825e0535255e
66
py
Python
mmaction/models/backbones/__init__.py
sail-sg/dualformer
de0cdf858ca71a388ea006034cabcfa2e30fa33a
[ "Apache-2.0" ]
10
2021-12-13T05:57:24.000Z
2022-03-29T14:56:02.000Z
mmaction/models/backbones/__init__.py
sail-sg/dualformer
de0cdf858ca71a388ea006034cabcfa2e30fa33a
[ "Apache-2.0" ]
null
null
null
mmaction/models/backbones/__init__.py
sail-sg/dualformer
de0cdf858ca71a388ea006034cabcfa2e30fa33a
[ "Apache-2.0" ]
null
null
null
from .dualformer import DualFormer __all__ = [ 'DualFormer' ]
9.428571
34
0.712121
6
66
7.166667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.19697
66
6
35
11
0.811321
0
0
0
0
0
0.151515
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0d7f4790c6df62a6fbce782e191af0e7f88e6ecd
21,431
py
Python
RLBotPack/Kamael/Kamael.py
robbai/RLBotPack
33afb2e28ff76e6c5774c03be20bdcdd356fb9d0
[ "MIT" ]
null
null
null
RLBotPack/Kamael/Kamael.py
robbai/RLBotPack
33afb2e28ff76e6c5774c03be20bdcdd356fb9d0
[ "MIT" ]
null
null
null
RLBotPack/Kamael/Kamael.py
robbai/RLBotPack
33afb2e28ff76e6c5774c03be20bdcdd356fb9d0
[ "MIT" ]
null
null
null
import math from rlbot.agents.base_agent import BaseAgent, SimpleControllerState from rlbot.utils.structures.game_data_struct import GameTickPacket from rlbot.utils.game_state_util import GameState, BallState, CarState, Physics, Vector3 as vector3, Rotator from Utilities import * from States import * import cProfile, p...
40.057944
210
0.604825
2,248
21,431
5.70774
0.18194
0.017302
0.002572
0.005611
0.237472
0.167095
0.148936
0.117995
0.110669
0.0929
0
0.025418
0.285894
21,431
534
211
40.132959
0.81299
0.131958
0
0.164975
0
0.002538
0.010092
0.003724
0
0
0
0
0
1
0.053299
false
0
0.022843
0.002538
0.124365
0.010152
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d7fc6eb608bab4d322cdbf0abb9ca8e6b3bc5ff
1,048
py
Python
examples/pydoop_script/grep.py
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
1
2017-11-16T02:13:15.000Z
2017-11-16T02:13:15.000Z
examples/pydoop_script/grep.py
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
examples/pydoop_script/grep.py
ZEMUSHKA/pydoop
e3d3378ae9921561f6c600c79364c2ad42ec206d
[ "Apache-2.0" ]
null
null
null
# BEGIN_COPYRIGHT # # Copyright 2009-2014 CRS4. # # 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 a...
32.75
77
0.745229
158
1,048
4.924051
0.639241
0.077121
0.033419
0.041131
0
0
0
0
0
0
0
0.017182
0.166985
1,048
31
78
33.806452
0.873998
0.855916
0
0
0
0
0.11811
0
0
0
0
0
0
1
0.333333
false
0
0
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
1
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
2
0d800898fe94588ed0a05be9c9de20e364588e5b
17,707
py
Python
Game Palace/rps.py
BirdLQ/Game-Arcade
f61081250a617d33dccd4dc81fd469bfcbe0afe3
[ "MIT" ]
1
2021-01-08T01:44:23.000Z
2021-01-08T01:44:23.000Z
Game Palace/rps.py
BirdLQ/Game-Arcade
f61081250a617d33dccd4dc81fd469bfcbe0afe3
[ "MIT" ]
null
null
null
Game Palace/rps.py
BirdLQ/Game-Arcade
f61081250a617d33dccd4dc81fd469bfcbe0afe3
[ "MIT" ]
null
null
null
import random, sys, curses, threading, time import main_menu import leaderboard from methods.menus import * scissors=[" ▓▓▓▓▓▓ ", " ▓▓▓▓░░░░▓▓ ", " ...
42.770531
102
0.273112
1,330
17,707
5.047368
0.154887
0.009534
0.012513
0.014896
0.362878
0.346939
0.305825
0.261284
0.193505
0.179651
0
0.054479
0.50449
17,707
414
103
42.770531
0.478573
0.010843
0
0.445428
0
0
0.345015
0.082378
0
0
0
0
0
1
0.026549
false
0
0.011799
0.00295
0.067847
0.017699
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
2
0d819bb7b839df183b133e4bb76bc64531f90d4a
1,901
py
Python
idconn/connectivity/estimateThresh.py
NBCLab/IDConn
0677e372c02fe35be28f70567e71e040e1d2a023
[ "MIT" ]
1
2021-06-24T19:37:46.000Z
2021-06-24T19:37:46.000Z
idconn/connectivity/estimateThresh.py
NBCLab/IDConn
0677e372c02fe35be28f70567e71e040e1d2a023
[ "MIT" ]
3
2020-10-01T19:57:26.000Z
2020-10-01T20:01:41.000Z
idconn/connectivity/estimateThresh.py
NBCLab/IDConn
0677e372c02fe35be28f70567e71e040e1d2a023
[ "MIT" ]
null
null
null
import numpy as np import networkx as nx import pandas as pd import bct task_networks(dset_dir, subject, session, task, event_related, conditions, runs, connectivity_metric, space, atlas, confounds) for subject in subjects: print(subject) try: for i in np.arange(0,len(sessions)): print i ...
45.261905
126
0.4808
196
1,901
4.581633
0.459184
0.013363
0.020045
0.024499
0.327394
0.296214
0.218263
0.218263
0.218263
0.091314
0
0.015152
0.444503
1,901
42
127
45.261905
0.835227
0.120463
0
0.060606
0
0
0.019796
0
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.121212
0
0
0
null
0
0
0
0
0
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
0d821dc5c2dd6c4807f6af2be0673c13c7e4abd0
7,775
py
Python
HighLevelPythonInterface/examples/benchmarks/2D/02_run_dtmm_benchmarks.py
warthan07/Nemaktis
54b1e64c1d40668e6dc22b11eac5487a09b58478
[ "MIT" ]
2
2020-02-25T08:13:32.000Z
2022-02-18T12:12:34.000Z
HighLevelPythonInterface/examples/benchmarks/2D/02_run_dtmm_benchmarks.py
warthan07/Nemaktis
54b1e64c1d40668e6dc22b11eac5487a09b58478
[ "MIT" ]
null
null
null
HighLevelPythonInterface/examples/benchmarks/2D/02_run_dtmm_benchmarks.py
warthan07/Nemaktis
54b1e64c1d40668e6dc22b11eac5487a09b58478
[ "MIT" ]
1
2022-02-18T12:13:40.000Z
2022-02-18T12:13:40.000Z
import time import os import json import dtmm dtmm.conf.set_fftlib("mkl_fft") import numpy as np import nemaktis as nm import matplotlib.pyplot as plt from copy import deepcopy from propagate_fields import * ######################## # Simulation constants # ######################## ne = 1.75 no = 1.5 wavelength ...
36.502347
113
0.567846
1,133
7,775
3.68932
0.19947
0.025837
0.030144
0.025837
0.304306
0.252153
0.183971
0.119856
0.069378
0.069378
0
0.026316
0.222894
7,775
212
114
36.674528
0.665508
0.065595
0
0.125874
0
0.006993
0.0953
0.05546
0
0
0
0
0
1
0.034965
false
0
0.076923
0.027972
0.146853
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d82b90cc315f19b41cd80b23354708ab0229874
6,240
py
Python
perms.py
dudkin-2005/PilotTelegramBot
3f92599de011aa63dc739712972637b781b5c4ae
[ "Apache-2.0" ]
null
null
null
perms.py
dudkin-2005/PilotTelegramBot
3f92599de011aa63dc739712972637b781b5c4ae
[ "Apache-2.0" ]
null
null
null
perms.py
dudkin-2005/PilotTelegramBot
3f92599de011aa63dc739712972637b781b5c4ae
[ "Apache-2.0" ]
null
null
null
import telebot bot = telebot.TeleBot('1073948237:AAGKs3HzRBZwBZGkoQ5moJIakWQn39nQtX4') def restrict(message): try: member = bot.get_chat_member(chat_id=message.chat.id, user_id=message.from_user.id) if member.status == 'creator' or member.status == 'administrat...
48.75
103
0.511218
639
6,240
4.70266
0.131455
0.063894
0.090849
0.090516
0.81198
0.784692
0.784692
0.784692
0.784692
0.784692
0
0.004925
0.414263
6,240
127
104
49.133858
0.817237
0.004968
0
0.728972
0
0
0.108605
0.007412
0
0
0
0
0
1
0.046729
false
0
0.009346
0
0.056075
0
0
0
0
null
0
0
0
1
1
1
1
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
7
0d8349d4843939ae8db4d9bf00c2b6b4cf0f9c16
978
py
Python
parsec/commands/jobs/get_jobs.py
simonbray/parsec
c0e123cbf7cb1289ec722357a6262f716575e4d9
[ "Apache-2.0" ]
null
null
null
parsec/commands/jobs/get_jobs.py
simonbray/parsec
c0e123cbf7cb1289ec722357a6262f716575e4d9
[ "Apache-2.0" ]
null
null
null
parsec/commands/jobs/get_jobs.py
simonbray/parsec
c0e123cbf7cb1289ec722357a6262f716575e4d9
[ "Apache-2.0" ]
null
null
null
import click from parsec.cli import pass_context, json_loads from parsec.decorators import custom_exception, list_output @click.command('get_jobs') @pass_context @custom_exception @list_output def cli(ctx): """Get the list of jobs of the current user. Output: list of dictionaries containing summary job info...
28.764706
60
0.56135
114
978
4.649123
0.535088
0.060377
0.075472
0.113208
0.271698
0.098113
0.098113
0
0
0
0
0.144315
0.298569
978
33
61
29.636364
0.62828
0.735174
0
0
0
0
0.032258
0
0
0
0
0
0
1
0.111111
false
0.222222
0.333333
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
1
0
0
0
0
2
0d83510c9b2aea13524aba6e26c438bd0f24e73f
1,208
py
Python
tests/test_serializers.py
Alzpeta/oarepo-validate
c3d917a833354bbbf569f2956424a27831e64de5
[ "MIT" ]
null
null
null
tests/test_serializers.py
Alzpeta/oarepo-validate
c3d917a833354bbbf569f2956424a27831e64de5
[ "MIT" ]
3
2020-11-05T16:58:38.000Z
2021-11-16T08:40:46.000Z
tests/test_serializers.py
Alzpeta/oarepo-validate
c3d917a833354bbbf569f2956424a27831e64de5
[ "MIT" ]
1
2021-09-22T11:59:47.000Z
2021-09-22T11:59:47.000Z
import uuid from invenio_pidstore.minters import recid_minter from invenio_records import Record from oarepo_validate import JSONSerializer def test_serializer(app, db): data = {'test': 'blah'} record_uuid = uuid.uuid4() pid = recid_minter(record_uuid, data) rec = Record.create(data, id_=record_uuid...
31.789474
117
0.647351
138
1,208
5.463768
0.376812
0.079576
0.039788
0.050398
0.61008
0.469496
0.469496
0.469496
0.469496
0.469496
0
0.023566
0.192053
1,208
37
118
32.648649
0.748975
0
0
0.466667
0
0
0.191225
0.044702
0
0
0
0
0.066667
1
0.066667
false
0
0.133333
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0d83672a14d9bf74f5a3f7e74ed8fe2bf08bf3a4
3,741
py
Python
objects/CSCG/_3d/mesh/elements/element/main.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
1
2020-10-14T12:48:35.000Z
2020-10-14T12:48:35.000Z
objects/CSCG/_3d/mesh/elements/element/main.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
null
null
null
objects/CSCG/_3d/mesh/elements/element/main.py
mathischeap/mifem
3242e253fb01ca205a76568eaac7bbdb99e3f059
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """""" import sys if './' not in sys.path: sys.path.append('./') from screws.freeze.main import FrozenOnly from objects.CSCG._3d.mesh.elements.element.sub_geometry.sub_geometry import ElementSubGeometry import numpy as np from objects.CSCG._3d.mesh.elements.element.sides.main import _3dCSCG_Mes...
32.25
105
0.65544
482
3,741
4.719917
0.197095
0.042198
0.04
0.044835
0.141538
0.141538
0.106374
0
0
0
0
0.013158
0.248329
3,741
116
106
32.25
0.795875
0.139535
0
0.121951
0
0
0.005696
0
0
0
0
0
0
1
0.134146
false
0
0.109756
0
0.378049
0.012195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
1
0