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
294ddecc4d289926d35a18bd81582fdedcf038ee
2,999
py
Python
optional-plugins/CSVPlugin/CSVContext.py
owlfish/pubtal
fb20a0acf2769b2c06012b65bd462f02da12bd1c
[ "BSD-3-Clause" ]
null
null
null
optional-plugins/CSVPlugin/CSVContext.py
owlfish/pubtal
fb20a0acf2769b2c06012b65bd462f02da12bd1c
[ "BSD-3-Clause" ]
null
null
null
optional-plugins/CSVPlugin/CSVContext.py
owlfish/pubtal
fb20a0acf2769b2c06012b65bd462f02da12bd1c
[ "BSD-3-Clause" ]
null
null
null
import ASV from simpletal import simpleTAL, simpleTALES try: import logging except: import InfoLogging as logging import codecs class ColumnSorter: def __init__ (self, columnList): self.columnList = columnList self.log = logging.getLogger ('ColumnSorter') def setup (self, fieldNames): mapList = [] fo...
26.307018
92
0.686896
370
2,999
5.518919
0.289189
0.020568
0.015671
0.023506
0.123408
0.096474
0.080313
0.080313
0.080313
0.080313
0
0.014614
0.2014
2,999
113
93
26.539823
0.837996
0
0
0.177083
0
0
0.066355
0.00967
0
0
0
0
0
0
null
null
0
0.052083
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
2954339ee63d8f3aeb46e217258769ecc01fa43c
1,444
py
Python
new_rdsmysql.py
AdminTurnedDevOps/AWS_Solutions_Architect_Python
5389f8c9dfbda7b0b49a94a93e9b070420ca9ece
[ "MIT" ]
30
2019-01-13T20:14:07.000Z
2022-02-06T15:08:01.000Z
new_rdsmysql.py
AdminTurnedDevOps/AWS_Solutions_Architect_Python
5389f8c9dfbda7b0b49a94a93e9b070420ca9ece
[ "MIT" ]
1
2019-01-13T23:52:39.000Z
2019-01-14T14:39:45.000Z
new_rdsmysql.py
AdminTurnedDevOps/AWS_Solutions_Architect_Python
5389f8c9dfbda7b0b49a94a93e9b070420ca9ece
[ "MIT" ]
26
2019-01-13T21:32:23.000Z
2022-03-20T05:19:03.000Z
import boto3 import sys import time import logging import getpass def new_rdsmysql(dbname, instanceID, storage, dbInstancetype, dbusername): masterPass = getpass.getpass('DBMasterPassword: ') if len(masterPass) < 10: logging.warning('Password is not at least 10 characters. Please try again') ...
27.769231
83
0.587258
134
1,444
6.268657
0.58209
0.041667
0.040476
0.064286
0.138095
0.138095
0.138095
0
0
0
0
0.01641
0.324792
1,444
52
84
27.769231
0.845128
0
0
0
0
0
0.09827
0.015225
0
0
0
0
0
1
0.022222
false
0.111111
0.111111
0
0.133333
0.044444
0
0
0
null
0
0
0
0
0
0
0
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
29560939d9082f0d01fcc95be50270dfe0f453ac
4,265
py
Python
tunobase/tagging/migrations/0001_initial.py
unomena/tunobase-core
fd24e378c87407131805fa56ade8669fceec8dfa
[ "BSD-3-Clause" ]
null
null
null
tunobase/tagging/migrations/0001_initial.py
unomena/tunobase-core
fd24e378c87407131805fa56ade8669fceec8dfa
[ "BSD-3-Clause" ]
null
null
null
tunobase/tagging/migrations/0001_initial.py
unomena/tunobase-core
fd24e378c87407131805fa56ade8669fceec8dfa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from south.utils import datetime_utils as datetime from south.db import db from south.v2 import SchemaMigration from django.db import models class Migration(SchemaMigration): def forwards(self, orm): # Adding model 'Tag' db.create_table(u'tagging_tag', ( (u'id'...
56.118421
182
0.597655
485
4,265
5.115464
0.164948
0.083837
0.141072
0.201532
0.660621
0.626763
0.566304
0.530028
0.464329
0.410318
0
0.005795
0.190856
4,265
76
183
56.118421
0.713127
0.058382
0
0.140351
0
0
0.499875
0.296333
0
0
0
0
0
1
0.035088
false
0
0.070175
0
0.157895
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2957082f2761f3302a5b658af0d68aab4daff24f
1,004
py
Python
recogym/envs/session.py
philomenec/reco-gym
f8553d197f42ec2f415aefce48525d0e9b10ddaa
[ "Apache-2.0" ]
413
2018-09-18T17:49:44.000Z
2022-03-23T12:25:41.000Z
recogym/envs/session.py
aliang-rec/reco-gym
f8553d197f42ec2f415aefce48525d0e9b10ddaa
[ "Apache-2.0" ]
15
2018-11-08T17:04:21.000Z
2021-11-30T19:20:27.000Z
recogym/envs/session.py
aliang-rec/reco-gym
f8553d197f42ec2f415aefce48525d0e9b10ddaa
[ "Apache-2.0" ]
81
2018-09-22T02:28:55.000Z
2022-03-30T14:03:01.000Z
class Session(list): """Abstract Session class""" def to_strings(self, user_id, session_id): """represent session as list of strings (one per event)""" user_id, session_id = str(user_id), str(session_id) session_type = self.get_type() strings = [] for event, product in s...
27.135135
78
0.548805
113
1,004
4.654867
0.389381
0.045627
0.074144
0.057034
0
0
0
0
0
0
0
0
0.330677
1,004
36
79
27.888889
0.782738
0.074701
0
0.074074
0
0
0.030501
0
0
0
0
0
0
1
0.222222
false
0
0
0.074074
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
295d64816bed48df8774a68b70c332508540215b
12,525
py
Python
ibis/bigquery/client.py
tswast/ibis
2f6d47e4c33cefd7ea1d679bb1d9253c2245993b
[ "Apache-2.0" ]
null
null
null
ibis/bigquery/client.py
tswast/ibis
2f6d47e4c33cefd7ea1d679bb1d9253c2245993b
[ "Apache-2.0" ]
null
null
null
ibis/bigquery/client.py
tswast/ibis
2f6d47e4c33cefd7ea1d679bb1d9253c2245993b
[ "Apache-2.0" ]
null
null
null
import regex as re import time import collections import datetime import six import pandas as pd import google.cloud.bigquery as bq from multipledispatch import Dispatcher import ibis import ibis.common as com import ibis.expr.operations as ops import ibis.expr.types as ir import ibis.expr.schema as sch import ibis...
28.020134
79
0.660918
1,599
12,525
4.954972
0.161351
0.032942
0.019437
0.022214
0.379149
0.297615
0.261896
0.241954
0.20207
0.20207
0
0.003755
0.234571
12,525
446
80
28.08296
0.822677
0.032176
0
0.291536
0
0
0.034124
0
0
0
0
0.004484
0.018809
0
null
null
0.015674
0.059561
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
295f637700f993cfd8e37b0ff39f106d2c2a6469
1,716
py
Python
{{cookiecutter.project_slug}}/api/__init__.py
Steamboat/cookiecutter-devops
6f07329c9e54b76e671a0308d343d2d9ebff5343
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/api/__init__.py
Steamboat/cookiecutter-devops
6f07329c9e54b76e671a0308d343d2d9ebff5343
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_slug}}/api/__init__.py
Steamboat/cookiecutter-devops
6f07329c9e54b76e671a0308d343d2d9ebff5343
[ "BSD-3-Clause" ]
null
null
null
import logging from flask import Flask from flask_sqlalchemy import SQLAlchemy as _BaseSQLAlchemy from flask_migrate import Migrate from flask_cors import CORS from flask_talisman import Talisman from flask_ipban import IpBan from config import Config, get_logger_handler # database class SQLAlchemy(_BaseSQLAlchemy):...
32.377358
106
0.740093
238
1,716
5.105042
0.39916
0.044444
0.041152
0.027984
0
0
0
0
0
0
0
0.007741
0.171911
1,716
52
107
33
0.847291
0.156177
0
0
0
0
0.058333
0
0
0
0
0.019231
0
1
0.078947
false
0
0.263158
0
0.394737
0.026316
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
2967592aac9355f4e077c19d82c1790326f4a71b
343
py
Python
src/view/services_update_page.py
nbilbo/services_manager
74e0471a1101305303a96d39963cc98fc0645a64
[ "MIT" ]
null
null
null
src/view/services_update_page.py
nbilbo/services_manager
74e0471a1101305303a96d39963cc98fc0645a64
[ "MIT" ]
null
null
null
src/view/services_update_page.py
nbilbo/services_manager
74e0471a1101305303a96d39963cc98fc0645a64
[ "MIT" ]
null
null
null
from src.view.services_page import ServicesPage from src.view.services_add_page import ServicesAddPage class ServicesUpdatePage(ServicesAddPage): def __init__(self, parent, *args, **kwargs): super().__init__(parent, *args, **kwargs) self.set_title("Update service") self.set_confirm_button_...
34.3
54
0.723032
40
343
5.825
0.625
0.060086
0.094421
0.16309
0
0
0
0
0
0
0
0
0.172012
343
10
55
34.3
0.820423
0
0
0
0
0
0.05814
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2967c010afb3c90f1b88a872839f1b992255abcc
272
py
Python
playground/sockets/server.py
tunki/lang-training
79b9f59a7187053f540f9057c585747762ca8890
[ "MIT" ]
null
null
null
playground/sockets/server.py
tunki/lang-training
79b9f59a7187053f540f9057c585747762ca8890
[ "MIT" ]
4
2020-03-10T19:20:21.000Z
2021-06-07T15:39:48.000Z
proglangs-learning/python/example_sockets/server.py
helq/old_code
a432faf1b340cb379190a2f2b11b997b02d1cd8d
[ "CC0-1.0" ]
null
null
null
import socket s = socket.socket() s.bind(("localhost", 9999)) s.listen(1) sc, addr = s.accept() while True: recibido = sc.recv(1024) if recibido == "quit": break print "Recibido:", recibido sc.send(recibido) print "adios" sc.close() s.close()
13.6
31
0.617647
38
272
4.421053
0.605263
0.083333
0
0
0
0
0
0
0
0
0
0.042254
0.216912
272
19
32
14.315789
0.746479
0
0
0
0
0
0.099265
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
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
1
0
0
0
0
0
0
0
0
1
296855e3082fc927d6f123b69b223d9a6934f75b
1,861
py
Python
Graphs/ConnectedComponents.py
PK-100/Competitive_Programming
d0863feaaa99462b2999e85dcf115f7a6c08bb8d
[ "MIT" ]
70
2018-06-25T21:20:15.000Z
2022-03-24T03:55:17.000Z
Graphs/ConnectedComponents.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
4
2018-09-04T13:12:20.000Z
2021-06-20T08:29:12.000Z
Graphs/ConnectedComponents.py
An3sha/Competitive_Programming
ee7eadf51939a360d0b004d787ebabda583e92f0
[ "MIT" ]
24
2018-12-26T05:15:32.000Z
2022-01-23T23:04:54.000Z
#!/bin/python3 import math import os import random import re import sys # # Complete the 'countGroups' function below. # # The function is expected to return an INTEGER. # The function accepts STRING_ARRAY related as parameter. # class Graph: def __init__(self, V): self.V = V self.adj = [[] for ...
22.695122
96
0.576034
242
1,861
4.338843
0.371901
0.033333
0.017143
0.020952
0
0
0
0
0
0
0
0.00156
0.311123
1,861
81
97
22.975309
0.817473
0.189146
0
0
0
0
0.015732
0
0
0
0
0.012346
0
1
0.122449
false
0
0.102041
0
0.326531
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
29699db1cd4c1b7712dc1f31ae88eb868493c3ed
1,597
py
Python
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
1
2021-11-19T05:33:39.000Z
2021-11-19T05:33:39.000Z
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
null
null
null
recognition/ml_model.py
hurschler/pig-face-recognition
5834f3c89448a645ee0eaf2bbdade064f0c4be93
[ "Apache-2.0" ]
1
2022-01-05T12:57:12.000Z
2022-01-05T12:57:12.000Z
import logging.config import util.logger_init import numpy as np import tensorflow as tf from sklearn.metrics import confusion_matrix from util.tensorboard_util import plot_confusion_matrix, plot_to_image from tensorflow.python.keras.callbacks_v1 import TensorBoard from keras import backend as K class MlModel: d...
31.313725
89
0.708203
229
1,597
4.69869
0.41048
0.111524
0.027881
0
0
0
0
0
0
0
0
0.007098
0.206011
1,597
50
90
31.94
0.841483
0.170319
0
0
0
0
0.013678
0
0
0
0
0
0
1
0.2
false
0
0.266667
0.066667
0.6
0.033333
0
0
0
null
0
0
0
0
0
0
0
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
2970d09ae49d5ea0ddb5185266b5f2bed4f79bf9
300
py
Python
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
hanibal/ans_escuela/tipo_colaborador.py
Christian-Castro/castro_odoo8
8247fdb20aa39e043b6fa0c4d0af509462ab3e00
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- from openerp.osv import fields, osv from openerp import models, fields, api, _ class Tipo_Colaborador(models.Model): _name = 'tipo.colaborador' _rec_name = 'name' name=fields.Char(string='Nombre') active=fields.Boolean(string='Activo',default=True)
25
55
0.683333
38
300
5.263158
0.631579
0.11
0
0
0
0
0
0
0
0
0
0.004065
0.18
300
12
55
25
0.808943
0.07
0
0
0
0
0.115108
0
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
0
1
0
0
1
2973ac2848fca5ea3493059da1e9b46b9746f3f2
17,005
py
Python
utils/data_processing.py
LisaAnne/LocalizingMoments
b6a555c8134581305d0ed4716fbc192860e0b88c
[ "BSD-2-Clause" ]
157
2017-08-04T21:56:46.000Z
2022-03-05T13:49:02.000Z
utils/data_processing.py
Naman-Bhalla/LocalizingMoments
618bebfe6c4b897e94770b8011d34aa45c941e62
[ "BSD-2-Clause" ]
19
2017-09-26T15:27:47.000Z
2022-02-27T23:21:00.000Z
utils/data_processing.py
Naman-Bhalla/LocalizingMoments
618bebfe6c4b897e94770b8011d34aa45c941e62
[ "BSD-2-Clause" ]
48
2017-08-08T11:18:39.000Z
2021-11-15T04:20:33.000Z
import numpy as np import sys import os sys.path.append('utils/') from config import * from utils import * sys.path.append(pycaffe_dir) import time import pdb import random import pickle as pkl import caffe from multiprocessing import Pool from threading import Thread import random import h5py import itertools import m...
32.267552
114
0.673625
2,388
17,005
4.536013
0.110134
0.045236
0.026403
0.017264
0.39014
0.334195
0.224612
0.181222
0.126569
0.098781
0
0.008882
0.205528
17,005
526
115
32.328897
0.792894
0.021641
0
0.238213
0
0
0.069793
0.009875
0
0
0
0
0.034739
0
null
null
0.007444
0.042184
null
null
0.014888
0
0
0
null
0
0
0
0
0
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
2976116c00e8fbc7eadad3295e61cb99c5280023
3,018
py
Python
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
hoogberta/encoder.py
KateSatida/HoogBERTa_SuperAI2
e903054bc752a50c391ab610507fdeccc4f5d482
[ "MIT" ]
null
null
null
from .trainer.models import MultiTaskTagger from .trainer.utils import load_dictionaries,Config from .trainer.tasks.multitask_tagging import MultiTaskTaggingModule from fairseq.data.data_utils import collate_tokens from attacut import tokenize class HoogBERTaEncoder(object): def __init__(self,layer=12,cuda=False...
38.202532
103
0.61829
348
3,018
5.146552
0.198276
0.060302
0.065327
0.063652
0.685092
0.648241
0.648241
0.627582
0.627582
0.627582
0
0.006702
0.258449
3,018
78
104
38.692308
0.793566
0.169317
0
0.372093
0
0
0.010835
0
0
0
0
0
0
1
0.139535
false
0
0.116279
0
0.395349
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2979426aee0cb9d3f7a35f048ea9d20f5f7f25ea
1,806
py
Python
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
conductor_calculator.py
aj83854/project-lightning-rod
77867d6c4ee30650023f3ec2a8318edd92530264
[ "MIT" ]
null
null
null
from pyconductor import load_test_values, calculate_conductance def conductance_calc(): preloaded_dict = load_test_values() while preloaded_dict: print( "[1] - Show currently available materials in Material Dictionary\n" "[2] - Add a material (will not be saved upon restart)\n"...
42
94
0.530454
202
1,806
4.589109
0.49505
0.075512
0.030205
0
0
0
0
0
0
0
0
0.00708
0.374308
1,806
42
95
43
0.813274
0.037099
0
0.128205
0
0
0.348877
0.021301
0
0
0
0.02381
0
1
0.025641
false
0.025641
0.025641
0
0.051282
0.128205
0
0
0
null
0
0
0
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
2980f0b218fed38559f7aa3fa0718ba902a95fb9
7,657
py
Python
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
285
2019-01-31T03:10:19.000Z
2022-03-31T10:38:37.000Z
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
426
2019-01-31T10:38:02.000Z
2022-03-28T15:58:13.000Z
hwilib/devices/keepkey.py
cjackie/HWI
8c1b50aaaac37714b5d61f720b4b06f8aa24c73a
[ "MIT" ]
128
2019-01-30T22:32:32.000Z
2022-03-28T19:23:46.000Z
""" Keepkey ******* """ from ..errors import ( DEVICE_NOT_INITIALIZED, DeviceNotReadyError, common_err_msgs, handle_errors, ) from .trezorlib import protobuf as p from .trezorlib.transport import ( hid, udp, webusb, ) from .trezor import TrezorClient, HID_IDS, WEBUSB_IDS from .trezorlib.mes...
37.534314
176
0.614601
863
7,657
5.225956
0.273465
0.019956
0.04612
0.030599
0.206874
0.092018
0.092018
0.077827
0.054989
0.045676
0
0.018095
0.263811
7,657
203
177
37.719212
0.781976
0.0653
0
0.189349
0
0
0.126143
0.021657
0
0
0.003375
0
0
1
0.047337
false
0.065089
0.04142
0.017751
0.136095
0.011834
0
0
0
null
0
0
0
0
0
0
0
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
2986e8913a7519f773b1d594848f51448026d50a
583
py
Python
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
utils/HTMLParser.py
onyb/janitor
a46f3bf23467a27c6f5891b64c797295e5cc47d0
[ "Apache-2.0" ]
null
null
null
from bs4 import BeautifulSoup from optimizers.AdvancedJSOptimizer import AdvancedJSOptimizer from optimizers.CSSOptimizer import CSSOptimizer class HTMLParser(object): def __init__(self, html): self.soup = BeautifulSoup(html, 'lxml') def js_parser(self): for script in self.soup.find_all('scri...
32.388889
62
0.680961
66
583
5.893939
0.424242
0.061697
0.066838
0.071979
0.087404
0
0
0
0
0
0
0.002217
0.226415
583
18
63
32.388889
0.86031
0
0
0
0
0
0.025685
0
0
0
0
0
0
1
0.214286
false
0
0.214286
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
1
0
0
0
0
0
0
0
1
461ea3bb055956b5f646cce50edcc52ff396af68
4,041
py
Python
pcg_gazebo/parsers/urdf/__init__.py
TForce1/pcg_gazebo
9ff88016b7b6903236484958ca7c6ed9f8ffb346
[ "ECL-2.0", "Apache-2.0" ]
40
2020-02-04T18:16:49.000Z
2022-02-22T11:36:34.000Z
pcg_gazebo/parsers/urdf/__init__.py
awesomebytes/pcg_gazebo
4f335dd460ef7c771f1df78b46a92fad4a62cedc
[ "ECL-2.0", "Apache-2.0" ]
75
2020-01-23T13:40:50.000Z
2022-02-09T07:26:01.000Z
pcg_gazebo/parsers/urdf/__init__.py
GimpelZhang/gazebo_world_generator
eb7215499d0ddc972d804c988fadab1969579b1b
[ "ECL-2.0", "Apache-2.0" ]
18
2020-09-10T06:35:41.000Z
2022-02-20T19:08:17.000Z
# Copyright (c) 2019 - The Procedural Generation for Gazebo authors # For information on the respective copyright owner see the NOTICE file # # 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 # #...
26.411765
74
0.675823
508
4,041
5.259843
0.293307
0.065868
0.022455
0.032934
0.259731
0.241766
0.241766
0.241766
0.225299
0.225299
0
0.002577
0.231873
4,041
152
75
26.585526
0.858247
0.286315
0
0.242718
0
0
0.111429
0.01
0
0
0
0
0
1
0.038835
false
0
0.38835
0
0.485437
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
4620f61e29c562c8eee22b703bf2ebfcf3321f30
1,482
py
Python
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
rnnparser/RecursiveNN/tests_npRNN/test_tree_utils.py
uphere-co/nlp-prototype
c4623927e5c5c5f9c3e702eb36497ea1d9fd1ff3
[ "BSD-3-Clause" ]
null
null
null
import pytest from npRNN.tree_utils import Node, NodeTree def test_merge_results(): #sentence='I know a name of the cat on a hat' sentence='a name of the cat on a hat' words=[Node(word) for word in sentence.split()] tree=NodeTree(words, [0, 5, 3, 1, 2, 0, 0]) assert tree.phrase.name =='(((a name) ...
38
83
0.632928
251
1,482
3.657371
0.211155
0.098039
0.045752
0.065359
0.529412
0.436819
0.436819
0.398693
0.377996
0.377996
0
0.04958
0.197031
1,482
38
84
39
0.721849
0.02969
0
0.193548
0
0
0.119694
0
0
0
0
0
0.354839
0
null
null
0
0.064516
null
null
0.064516
0
0
0
null
0
0
0
0
0
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
4621fb7b46924baa48b672c2c85f2d00296c68a8
1,267
py
Python
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
27
2017-03-29T09:12:43.000Z
2021-12-16T17:00:14.000Z
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
7
2017-04-02T22:10:22.000Z
2021-06-01T21:25:26.000Z
pyrefine/script.py
jezcope/pyrefine
44872592b1c0430d942d6901d7670e7b0ae77b11
[ "MIT" ]
2
2019-07-31T15:03:21.000Z
2021-12-20T12:12:15.000Z
"""A script is a series of operations.""" import json import os from .ops import create class Script(object): """A script is a series of operations.""" def __init__(self, s=None): """Parse a script from a JSON string.""" if s is not None: self.parsed_script = json.loads(s) ...
21.844828
72
0.566693
156
1,267
4.532051
0.391026
0.029703
0.02546
0.028289
0.079208
0.079208
0.079208
0
0
0
0
0
0.323599
1,267
57
73
22.22807
0.824971
0.40884
0
0
0
0
0
0
0
0
0
0
0
1
0.190476
false
0
0.142857
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
46220a2b446c7a9b49f727a4d45bc84e233eea22
571
py
Python
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
makeCourse/plastex/mhchem/__init__.py
dualspiral/makecourse
96c0d3137b00a400df082f160eabf8a925953067
[ "Apache-2.0" ]
null
null
null
from plasTeX import Command, Environment, sourceChildren from plasTeX.Base.LaTeX import Math from plasTeX.Base.TeX.Primitives import BoxCommand # mhchem package - mostly handled by mathjax # Overrive boxcommands inside MathJaX to avoid extra <script type="math/tex"> class MHBoxCommand(BoxCommand): class math(Math....
28.55
77
0.681261
66
571
5.893939
0.606061
0.084833
0.077121
0
0
0
0
0
0
0
0
0
0.224168
571
19
78
30.052632
0.878104
0.206655
0
0.142857
0
0
0.028889
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0
0.857143
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
4626daaa44d52cdbb1bec3a34b51700caf38c8dc
448
py
Python
tests/test_lamost_tools.py
igomezv/astroNN
50af116f9cbfc684b63e7ddcf8829343a455722b
[ "MIT" ]
156
2017-10-22T01:29:10.000Z
2022-03-14T10:28:09.000Z
tests/test_lamost_tools.py
AbdulfattahBaalawi/astroNN
0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643
[ "MIT" ]
16
2017-11-02T21:29:28.000Z
2022-03-14T08:40:41.000Z
tests/test_lamost_tools.py
AbdulfattahBaalawi/astroNN
0b970dd1a8d4d5e6d611ffa52cfd3c2ffdcb4643
[ "MIT" ]
46
2017-11-01T18:56:03.000Z
2022-03-07T06:44:22.000Z
import unittest import numpy as np from astroNN.lamost import wavelength_solution, pseudo_continuum class LamostToolsTestCase(unittest.TestCase): def test_wavelength_solution(self): wavelength_solution() wavelength_solution(dr=5) self.assertRaises(ValueError, wavelength_solution, dr=1) ...
23.578947
64
0.734375
53
448
5.886792
0.54717
0.288462
0.128205
0
0
0
0
0
0
0
0
0.0271
0.176339
448
18
65
24.888889
0.818428
0
0
0
0
0
0.017857
0
0
0
0
0
0.083333
1
0.166667
false
0
0.25
0
0.5
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
462c2089ebfd3afcf679c3d29b9f6e291acb4dc2
525
py
Python
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
src/solutions/01.py
NNRepos/AoC-2021-python-solutions
556ccc920b96cedbdc2f554a3bee28a793be4483
[ "MIT" ]
null
null
null
from utils.utils import * lines = get_input(__file__) lines_as_nums = lines_to_nums(lines) def part1(nums): incr = 0 cur = nums[0] for num in nums: if num > cur: incr += 1 cur = num return incr def part2(): nums = [] for i in range(len(lines_as_nums)): if...
19.444444
87
0.590476
82
525
3.52439
0.341463
0.16955
0.266436
0.124567
0
0
0
0
0
0
0
0.034392
0.28
525
26
88
20.192308
0.730159
0
0
0
0
0
0.022857
0
0
0
0
0
0
1
0.105263
false
0
0.052632
0
0.263158
0.105263
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
462c4f9e4def6f4455874dce4f3095e44613b4b1
1,372
py
Python
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
1
2019-12-21T03:31:33.000Z
2019-12-21T03:31:33.000Z
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
null
null
null
tensorforce/core/baselines/mlp_baseline.py
youlei202/tensorforce-lei
871ef7f5c41d496aa8ad674854792ebd52ce1546
[ "Apache-2.0" ]
1
2019-12-21T03:31:39.000Z
2019-12-21T03:31:39.000Z
# Copyright 2017 reinforce.io. 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...
33.463415
80
0.671283
168
1,372
5.321429
0.613095
0.067114
0.053691
0.035794
0
0
0
0
0
0
0
0.00724
0.194606
1,372
40
81
34.3
0.80181
0.585277
0
0
0
0
0.0499
0
0
0
0
0
0
1
0.1
false
0
0.4
0
0.6
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4637594ad65e429cbd0184284c782da6df047d1a
482
py
Python
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
null
null
null
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
2
2021-05-21T13:26:26.000Z
2022-02-10T10:04:55.000Z
notifai_recruitment/api.py
BudzynskiMaciej/notifai_recruitment
56860db3a2dad6115747a675895b8f7947e7e12e
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """API routes config for notifai_recruitment project. REST framework adds support for automatic URL routing to Django, and provides simple, quick and consistent way of wiring view logic to a set of URLs. For more information on this file, see https://www.django-rest-framework.org/api-guide/rou...
28.352941
106
0.778008
71
482
5.253521
0.746479
0.104558
0
0
0
0
0
0
0
0
0
0.002392
0.13278
482
16
107
30.125
0.889952
0.665975
0
0
0
0
0.03268
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
4643409696cd3d49a508459df5a413ef73fb761e
301
py
Python
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
19
2015-02-16T08:30:49.000Z
2020-05-01T06:06:33.000Z
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
5
2015-01-13T23:01:54.000Z
2016-11-30T15:23:43.000Z
src/kol/request/CampgroundRestRequest.py
danheath/temppykol
7f9621b44df9f9d2d9fc0a5b2a06db116b9ccfab
[ "BSD-3-Clause" ]
19
2015-05-28T09:36:19.000Z
2022-03-15T23:19:29.000Z
from kol.request.GenericRequest import GenericRequest class CampgroundRestRequest(GenericRequest): "Rests at the user's campground." def __init__(self, session): super(CampgroundRestRequest, self).__init__(session) self.url = session.serverURL + 'campground.php?action=rest'
33.444444
67
0.750831
32
301
6.8125
0.71875
0
0
0
0
0
0
0
0
0
0
0
0.156146
301
8
68
37.625
0.858268
0.10299
0
0
0
0
0.189369
0.086379
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4643c3f57a3b1cef340d6b9803b645c83275e77f
849
py
Python
pdlearn/adaptor/methods.py
richlewis42/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
1
2015-12-16T04:03:19.000Z
2015-12-16T04:03:19.000Z
pdlearn/adaptor/methods.py
lewisacidic/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
3
2015-12-10T02:05:13.000Z
2015-12-16T04:04:16.000Z
pdlearn/adaptor/methods.py
lewisacidic/pandas-learn
4330c642e4f62e8abc6dcd58ba33daf22519f41e
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # This file is part of pandas-learn # https://github.com/RichLewis42/pandas-learn # # Licensed under the MIT license: # http://www.opensource.org/licenses/MIT # Copyright (c) 2015, Rich Lewis <rl403@cam.ac.uk> """ pdlearn.adaptor.methods ~~~~~~~~~~~~~~~~~~~~~~~ Module ...
22.945946
79
0.628975
106
849
4.971698
0.707547
0.041746
0
0
0
0
0
0
0
0
0
0.027523
0.229682
849
36
80
23.583333
0.778287
0.540636
0
0
0
0
0.002801
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
464a949d4e46e87b22e002325b18acfc9b8c6a90
592
py
Python
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
207
2017-11-29T06:59:41.000Z
2022-03-31T10:00:53.000Z
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
4,061
2017-10-27T23:19:56.000Z
2022-03-31T23:18:30.000Z
src/storage-preview/azext_storage_preview/vendored_sdks/azure_storage/v2018_03_28/file/__init__.py
Mannan2812/azure-cli-extensions
e2b34efe23795f6db9c59100534a40f0813c3d95
[ "MIT" ]
802
2017-10-11T17:36:26.000Z
2022-03-31T22:24:32.000Z
# ------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. # -------------------------------------------------------------------------- from .file...
28.190476
76
0.540541
41
592
7.804878
0.853659
0
0
0
0
0
0
0
0
0
0
0
0.163851
592
20
77
29.6
0.646465
0.505068
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.133333
0
0.133333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
464bc6633efce25b9cc1abebeb497f50584d997d
1,424
py
Python
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
egs/cops/s5/local/text2json.py
Shuang777/kaldi-2016
5373fe4bd80857b53134db566cad48b8445cf3b9
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import sys import json def sec2str(seconds): sec_int = int(round(seconds)) hh = sec_int / 3600 mm = (sec_int - hh * 3600) / 60 ss = sec_int - hh * 3600 - mm * 60 return "%d:%02d:%02d" % (hh, mm, ss) if len(sys.argv) != 4: print "Usage:", __file__, "<segment> <text> <json>" print ...
21.907692
72
0.589888
197
1,424
4.126904
0.385787
0.02952
0.055351
0.02952
0
0
0
0
0
0
0
0.038246
0.247191
1,424
64
73
22.25
0.720149
0.014045
0
0
0
0
0.110478
0
0
0
0
0
0
0
null
null
0
0.04
null
null
0.04
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
46522be46094275849b7f3b3da9bf2d51591f8c8
10,754
py
Python
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
9
2021-09-28T05:20:22.000Z
2022-03-16T11:09:06.000Z
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
null
null
null
contrib/make_hdf.py
scopatz/PyTables
05a74def785688abd802224a5ba44393a701ebc7
[ "BSD-3-Clause" ]
9
2018-09-14T02:42:36.000Z
2021-07-12T02:37:45.000Z
#!/usr/bin/env python from __future__ import generators import tables, cPickle, time ################################################################################# def is_scalar(item): try: iter(item) #could be a string try: item[:0]+'' #check for string return...
30.292958
112
0.505951
1,324
10,754
3.888218
0.175227
0.023116
0.01554
0.021756
0.227661
0.177933
0.129759
0.113636
0.101204
0.096737
0
0.020655
0.369723
10,754
354
113
30.378531
0.738861
0.073368
0
0.284173
0
0
0.057696
0
0
0
0
0
0
0
null
null
0
0.007194
null
null
0.071942
0
0
0
null
0
0
0
0
0
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
465234088d4677a447f6bdb4657e058e1a45f5b8
2,234
py
Python
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
jinja2content.py
firemark/new-site
b7d54320f8e1cfae489108f87f64761ce2510676
[ "MIT" ]
null
null
null
""" jinja2content.py ---------------- DONT EDIT THIS FILE Pelican plugin that processes Markdown files as jinja templates. """ from jinja2 import Environment, FileSystemLoader, ChoiceLoader import os from pelican import signals from pelican.readers import MarkdownReader, HTMLReader, RstReader from pelican.utils imp...
31.027778
73
0.653984
238
2,234
5.987395
0.411765
0.050526
0.025263
0.019649
0.057544
0
0
0
0
0
0
0.003574
0.248433
2,234
71
74
31.464789
0.845146
0.108774
0
0.06383
0
0
0.063636
0.011616
0
0
0
0
0
1
0.085106
false
0.06383
0.12766
0
0.319149
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
4654149e1951b836beb90c90a51fb7d22a7e21c8
200
py
Python
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
1
2019-05-14T22:31:25.000Z
2019-05-14T22:31:25.000Z
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
null
null
null
Aulas/12aula(antigo)/readint.py
rafaelmcam/RTOs_ChibiOS
08d8e21f2c7185d2c47846f67cbfba70c706d689
[ "MIT" ]
null
null
null
import serial with serial.Serial("/dev/ttyUSB0", 115200) as ser: while 1: for i in range(5): n = ser.read()[0] print("{:x}".format(n)) print("--------")
18.181818
50
0.47
26
200
3.615385
0.807692
0
0
0
0
0
0
0
0
0
0
0.074074
0.325
200
10
51
20
0.622222
0
0
0
0
0
0.120603
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.285714
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
46548694a0ea521a51fee1aa569811ccc528f211
578
py
Python
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
25
2018-04-23T01:45:39.000Z
2021-12-10T06:01:23.000Z
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
53
2018-05-31T04:55:00.000Z
2021-10-07T21:41:32.000Z
packages/pyre/parsing/Parser.py
avalentino/pyre
7e1f0287eb7eba1c6d1ef385e5160079283ac363
[ "BSD-3-Clause" ]
12
2018-04-23T22:50:40.000Z
2022-02-20T17:27:23.000Z
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2021 all rights reserved # class Parser: """ The base class for parsers """ # types from .exceptions import ParsingError, SyntaxError, TokenizationError # meta methods def __init__(self, **kwds): # chain u...
16.514286
72
0.595156
64
578
5.25
0.78125
0.080357
0.077381
0
0
0
0
0
0
0
0
0.022388
0.304498
578
34
73
17
0.813433
0.420415
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4658a352b7ba7209186ef3d47f169f46b8660613
2,182
py
Python
src/visualization/visualize_dataset.py
ivangarrera/MachineLearning
c13584cdcb7c4df1ab2814cf42a3c2bd3c203e75
[ "MIT" ]
null
null
null
src/visualization/visualize_dataset.py
ivangarrera/MachineLearning
c13584cdcb7c4df1ab2814cf42a3c2bd3c203e75
[ "MIT" ]
null
null
null
src/visualization/visualize_dataset.py
ivangarrera/MachineLearning
c13584cdcb7c4df1ab2814cf42a3c2bd3c203e75
[ "MIT" ]
null
null
null
from common_clustering import CommonClustering #■clustering_features = CommonClustering(r'C:\Users\ivangarrera\Desktop\T2_cleaned.csv') clustering_features = CommonClustering('D:\Ing. Informatica\Cuarto\Machine Learning\T2_cleaned_gyroscope.csv') attr = list(clustering_features.data_set)[0][:list(clustering_features....
36.983051
110
0.779102
284
2,182
5.764085
0.369718
0.208919
0.134392
0.152718
0.327428
0.129505
0.092853
0.092853
0
0
0
0.012834
0.107241
2,182
58
111
37.62069
0.827002
0.219523
0
0.242424
0
0
0.103428
0.08156
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
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
4660b825bf1a5e031627c3620c78b68944deb5c7
652
py
Python
glue/core/tests/test_message.py
ejeschke/glue
21689e3474aeaeb70e258d76c60755596856976c
[ "BSD-3-Clause" ]
3
2015-09-10T22:23:55.000Z
2019-04-04T18:47:33.000Z
glue/core/tests/test_message.py
ejeschke/glue
21689e3474aeaeb70e258d76c60755596856976c
[ "BSD-3-Clause" ]
null
null
null
glue/core/tests/test_message.py
ejeschke/glue
21689e3474aeaeb70e258d76c60755596856976c
[ "BSD-3-Clause" ]
1
2019-08-04T14:10:12.000Z
2019-08-04T14:10:12.000Z
from __future__ import absolute_import, division, print_function import pytest from .. import message as msg def test_invalid_subset_msg(): with pytest.raises(TypeError) as exc: msg.SubsetMessage(None) assert exc.value.args[0].startswith('Sender must be a subset') def test_invalid_data_msg(): ...
27.166667
74
0.739264
91
652
5.120879
0.384615
0.045064
0.090129
0.122318
0.527897
0.527897
0.527897
0.527897
0.296137
0.296137
0
0.005525
0.167178
652
23
75
28.347826
0.85267
0
0
0.2
0
0
0.115031
0
0
0
0
0
0.2
1
0.2
true
0
0.2
0
0.4
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
1
0
0
0
0
0
0
1
4660df17d48e40efbff3c55617fa7393819b5977
1,358
py
Python
fabfile/config.py
kurochan/config-collector
656da97eb219eb5bcf913173dd7aa76d0cedd44c
[ "MIT" ]
1
2017-07-30T17:35:10.000Z
2017-07-30T17:35:10.000Z
fabfile/config.py
kurochan/config-collector
656da97eb219eb5bcf913173dd7aa76d0cedd44c
[ "MIT" ]
null
null
null
fabfile/config.py
kurochan/config-collector
656da97eb219eb5bcf913173dd7aa76d0cedd44c
[ "MIT" ]
1
2015-03-01T08:52:14.000Z
2015-03-01T08:52:14.000Z
# -*- coding: utf-8 -*- import os import util from fabric.api import * from fabric.state import output from fabric.colors import * from base import BaseTask from helper.print_helper import task_puts class CollectConfig(BaseTask): """ collect configuration """ name = "collect" def run_task(self, *args, **kwa...
33.121951
156
0.690722
194
1,358
4.634021
0.386598
0.077864
0.043382
0.046719
0.066741
0.066741
0.066741
0
0
0
0
0.011314
0.153903
1,358
40
157
33.95
0.771105
0.041973
0
0
0
0
0.125
0.018634
0
0
0
0
0
1
0.107143
false
0.107143
0.25
0
0.5
0.035714
0
0
0
null
0
0
0
0
0
0
0
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
4661333ffeca10b7026c68a47b44fc3be83ff093
2,334
py
Python
python/paddle/fluid/tests/unittests/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py
LWhite027/PaddleBox
b14bcdf285dd8829e11ab12cc815ac1b1ab62694
[ "Apache-2.0" ]
10
2021-05-12T07:20:32.000Z
2022-03-04T08:21:56.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
1
2020-09-10T09:05:52.000Z
2020-09-10T09:06:22.000Z
python/paddle/fluid/tests/unittests/ir/inference/test_trt_transpose_flatten_concat_fuse_pass.py
AFLee/Paddle
311b3b44fc7d51d4d66d90ab8a3fc0d42231afda
[ "Apache-2.0" ]
25
2019-12-07T02:14:14.000Z
2021-12-30T06:16:30.000Z
# Copyright (c) 2020 PaddlePaddle Authors. 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 appli...
40.947368
83
0.673522
303
2,334
5.072607
0.481848
0.039037
0.015615
0.02082
0.072869
0.072869
0.042941
0.042941
0
0
0
0.038462
0.231362
2,334
56
84
41.678571
0.818283
0.322622
0
0
0
0
0.035806
0
0
0
0
0
0
1
0.060606
false
0.090909
0.181818
0
0.272727
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4662eb3534b543f9d1857e55e3d0e8669cf078e7
9,315
py
Python
pddf_psuutil/main.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
null
null
null
pddf_psuutil/main.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
4
2020-04-17T06:53:05.000Z
2020-12-01T02:37:34.000Z
pddf_psuutil/main.py
deran1980/sonic-utilities
a6ae218238e7e552f49191f81451bd55ff56ba51
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # # main.py # # Command-line utility for interacting with PSU Controller in PDDF mode in SONiC # try: import sys import os import click from tabulate import tabulate from utilities_common.util_base import UtilHelper except ImportError as e: raise ImportError("%s - require...
31.05
117
0.646914
1,221
9,315
4.665029
0.143325
0.05618
0.041081
0.046699
0.541784
0.495611
0.481566
0.409586
0.347261
0.333567
0
0.0079
0.252603
9,315
299
118
31.153846
0.810256
0.089748
0
0.495536
0
0
0.097019
0
0
0
0
0
0
1
0.09375
false
0.0625
0.035714
0
0.245536
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
4669e171fec58193272f58bd7b305ba7d5f7aed0
78,232
py
Python
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/Cheetah/Compiler.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
83
2017-03-15T12:43:25.000Z
2022-03-31T12:38:44.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/Cheetah/Compiler.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
18
2017-03-20T14:12:58.000Z
2021-07-28T09:11:55.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/Cheetah/Compiler.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
25
2017-04-01T01:40:02.000Z
2022-02-20T11:08:12.000Z
#!/usr/bin/env python # $Id: Compiler.py,v 1.148 2006/06/22 00:18:22 tavis_rudd Exp $ """Compiler classes for Cheetah: ModuleCompiler aka 'Compiler' ClassCompiler MethodCompiler If you are trying to grok this code start with ModuleCompiler.__init__, ModuleCompiler.compile, and ModuleCompiler.__getattr__. Meta-Data ==...
39.631206
117
0.585323
7,017
78,232
6.403734
0.151917
0.03899
0.011617
0.008323
0.212462
0.170802
0.13297
0.110404
0.095249
0.081629
0
0.004518
0.301245
78,232
1,973
118
39.651292
0.817488
0.071723
0
0.248603
0
0.005587
0.170615
0.06223
0.000698
0
0
0
0.002793
0
null
null
0.010475
0.045391
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
466a34ecb0421da1e44f26b4a2ebb96b4fc1273b
1,267
py
Python
tests/simple_cmd_checks.py
Rhoynar/plmn-regression
fa58819a405b45430bbde28e52b356e04867aaa3
[ "MIT" ]
11
2019-02-07T16:13:59.000Z
2021-08-14T03:53:14.000Z
tests/simple_cmd_checks.py
Rhoynar/plmn-regression
fa58819a405b45430bbde28e52b356e04867aaa3
[ "MIT" ]
null
null
null
tests/simple_cmd_checks.py
Rhoynar/plmn-regression
fa58819a405b45430bbde28e52b356e04867aaa3
[ "MIT" ]
3
2019-02-07T16:14:09.000Z
2021-08-14T05:09:17.000Z
# -*- coding: utf-8 -*- import compat import unittest import sys from plmn.utils import * from plmn.results import * from plmn.modem_cmds import * from plmn.simple_cmds import * class SimpleCmdChecks(unittest.TestCase): def test_simple_status_cmd(self): SimpleCmds.simple_status_cmd() assert Resul...
31.675
89
0.750592
174
1,267
5.132184
0.316092
0.18813
0.156775
0.12766
0.353863
0.206047
0.087346
0
0
0
0
0.000953
0.17206
1,267
39
90
32.487179
0.850334
0.016575
0
0
0
0
0.119775
0
0
0
0
0
0.214286
1
0.214286
false
0
0.25
0
0.5
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
466ccc900104e36f636478253e917a965c1df4d3
371
py
Python
app/schemas/email.py
waynesun09/notify-service
768a0db264a9e57eecce283108878e24e8d3b740
[ "MIT" ]
5
2020-12-20T17:10:46.000Z
2021-08-20T05:00:58.000Z
app/schemas/email.py
RedHatQE/notify-service
579e995fae0c472f9fbd27471371a2c404d94f66
[ "MIT" ]
13
2021-01-07T14:17:14.000Z
2022-01-05T20:36:36.000Z
app/schemas/email.py
RedHatQE/notify-service
579e995fae0c472f9fbd27471371a2c404d94f66
[ "MIT" ]
1
2022-01-06T22:21:09.000Z
2022-01-06T22:21:09.000Z
from typing import Optional, List from pydantic import BaseModel, EmailStr from . import result class EmailBase(BaseModel): email: Optional[EmailStr] = None class EmailSend(EmailBase): msg: str class EmailResult(BaseModel): pre_header: Optional[str] = None begin: Optional[str] = None content:...
18.55
40
0.719677
45
371
5.911111
0.488889
0.12406
0.169173
0
0
0
0
0
0
0
0
0
0.191375
371
19
41
19.526316
0.886667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
466d4b83456bbb93d38bc63179c0f99d00a30a62
2,422
py
Python
DeployScript.py
junoteam/TelegramBot
3e679637a5918c4f9595beaa2f0f67c9e4467056
[ "Apache-2.0" ]
3
2015-04-08T18:41:02.000Z
2015-10-28T09:54:47.000Z
DeployScript.py
junoteam/TelegramBot
3e679637a5918c4f9595beaa2f0f67c9e4467056
[ "Apache-2.0" ]
null
null
null
DeployScript.py
junoteam/TelegramBot
3e679637a5918c4f9595beaa2f0f67c9e4467056
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # -*- author: Alex -*- from Centos6_Bit64 import * from SystemUtils import * # Checking version of OS should happened before menu appears # Check version of CentOS SystemUtils.check_centos_version() # Clear screen before to show menu os.system('clear') answer = True whi...
31.051282
77
0.604872
289
2,422
5
0.377163
0.069204
0.044983
0.049827
0.141869
0.040138
0.040138
0.040138
0
0
0
0.02905
0.260941
2,422
78
78
31.051282
0.778212
0.073906
0
0.261538
0
0
0.422699
0.022788
0
0
0
0
0
0
null
null
0
0.030769
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
466e8b57966faf4a0cc17febbe2a82c29fab5e61
802
py
Python
setup.py
greenaddress/txjsonrpc
272d44db43d36645ba981c6e7fa73e33c1fbb7d5
[ "MIT" ]
null
null
null
setup.py
greenaddress/txjsonrpc
272d44db43d36645ba981c6e7fa73e33c1fbb7d5
[ "MIT" ]
1
2019-10-16T14:00:25.000Z
2019-11-11T16:23:20.000Z
setup.py
greenaddress/txjsonrpc
272d44db43d36645ba981c6e7fa73e33c1fbb7d5
[ "MIT" ]
2
2017-05-15T06:03:27.000Z
2019-07-21T09:04:24.000Z
from __future__ import absolute_import from setuptools import setup from txjsonrpc import meta from txjsonrpc.util import dist setup( name=meta.display_name, version=meta.version, description=meta.description, author=meta.author, author_email=meta.author_email, url=meta.url, license=meta....
24.30303
50
0.63591
87
802
5.724138
0.551724
0.052209
0
0
0
0
0
0
0
0
0
0.001669
0.253117
802
32
51
25.0625
0.829716
0
0
0
0
0
0.229426
0.026185
0
0
0
0
0
1
0
true
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
1
0
0
0
0
0
0
1
466f047e17e0d6d7208910c763a4df77317279f9
4,596
py
Python
tt/satisfiability/picosat.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
233
2016-02-05T20:13:06.000Z
2022-03-26T13:01:10.000Z
tt/satisfiability/picosat.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
8
2017-12-20T17:07:58.000Z
2020-08-06T15:44:55.000Z
tt/satisfiability/picosat.py
fkromer/tt
b4dfc90f7d0f9b5794e1f5054b640e22f6f75bf7
[ "MIT" ]
15
2016-03-22T23:37:56.000Z
2022-02-27T17:51:08.000Z
"""Python wrapper around the _clibs PicoSAT extension.""" import os from tt.errors.arguments import ( InvalidArgumentTypeError, InvalidArgumentValueError) if os.environ.get('READTHEDOCS') != 'True': from tt._clibs import picosat as _c_picosat VERSION = _c_picosat.VERSION def sat_one(clauses, assump...
37.672131
79
0.650131
615
4,596
4.821138
0.239024
0.012816
0.014165
0.013491
0.715346
0.662057
0.662057
0.662057
0.649916
0.649916
0
0.020011
0.238903
4,596
121
80
37.983471
0.827616
0.766319
0
0.47619
0
0
0.019182
0
0
0
0
0
0
1
0.095238
false
0
0.142857
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4671817d5486f1ffa5048135771d27e1109e5cdd
12,349
py
Python
src/pyfmodex/sound.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
1
2017-02-21T16:46:21.000Z
2017-02-21T16:46:21.000Z
src/pyfmodex/sound.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
1
2017-02-21T17:57:05.000Z
2017-02-22T11:28:51.000Z
src/pyfmodex/sound.py
Loodoor/UnamedPy
7d154c3a652992b3c1f28050f0353451f57b2a2d
[ "MIT" ]
null
null
null
from .fmodobject import * from .fmodobject import _dll from .structures import TAG, VECTOR from .globalvars import get_class class ConeSettings(object): def __init__(self, sptr): self._sptr = sptr self._in = c_float() self._out = c_float() self._outvol = c_float() ckresult(...
31.745501
128
0.639809
1,617
12,349
4.611008
0.155844
0.054319
0.076449
0.101931
0.252548
0.195279
0.121647
0.078192
0.030848
0.020118
0
0.008162
0.246012
12,349
389
129
31.745501
0.792611
0.064297
0
0.206667
0
0
0.017398
0.011803
0
0
0
0
0
1
0.233333
false
0
0.013333
0.046667
0.386667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
46725864f7a8f29464ea63af729e3e78c2a1218d
370
py
Python
GreenMoon/forms.py
ma010/green-moon
25ed395f1e19c180995b22508143c8819bf40fae
[ "CNRI-Python" ]
null
null
null
GreenMoon/forms.py
ma010/green-moon
25ed395f1e19c180995b22508143c8819bf40fae
[ "CNRI-Python" ]
null
null
null
GreenMoon/forms.py
ma010/green-moon
25ed395f1e19c180995b22508143c8819bf40fae
[ "CNRI-Python" ]
null
null
null
""" Implement a class function for user to put in a zip-code and search relevant information about business entities in that zip-code area. """ from flask.ext.wtf import Form from wtforms import StringField, BooleanField from wtforms.validators import DataRequired class inputZipForm(Form): inputZip = Stri...
28.461538
78
0.77027
48
370
5.9375
0.6875
0.049123
0
0
0
0
0
0
0
0
0
0
0.156757
370
12
79
30.833333
0.913462
0.364865
0
0
0
0
0.036697
0
0
0
0
0
0
1
0
false
0
0.6
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
0
1
0
0
0
0
1
467742b9ee49da3193dfeffba9fb6976ebe7eb72
2,391
py
Python
nncf/experimental/onnx/algorithms/quantization/default_quantization.py
vuiseng9/nncf_pytorch
c2b1f069c867327203629201aecae3b7815e7895
[ "Apache-2.0" ]
136
2020-06-01T14:03:31.000Z
2020-10-28T06:10:50.000Z
nncf/experimental/onnx/algorithms/quantization/default_quantization.py
vuiseng9/nncf_pytorch
c2b1f069c867327203629201aecae3b7815e7895
[ "Apache-2.0" ]
133
2020-05-26T13:48:04.000Z
2020-10-28T05:25:55.000Z
nncf/experimental/onnx/algorithms/quantization/default_quantization.py
vuiseng9/nncf_pytorch
c2b1f069c867327203629201aecae3b7815e7895
[ "Apache-2.0" ]
36
2020-05-28T08:18:39.000Z
2020-10-27T14:46:58.000Z
""" Copyright (c) 2022 Intel Corporation Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writin...
49.8125
89
0.79632
261
2,391
7.199234
0.394636
0.059606
0.127728
0.153273
0.325705
0.325705
0.325705
0.325705
0.325705
0
0
0.003929
0.148473
2,391
47
90
50.87234
0.918959
0.233793
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.4375
0
0.4375
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
4677cd39827e65c98f0ade72fd58eb0f79b2c0cc
671
py
Python
packages/pyre/tracking/Chain.py
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
3
2019-08-02T21:02:47.000Z
2021-09-08T13:59:43.000Z
packages/pyre/tracking/Chain.py
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
null
null
null
packages/pyre/tracking/Chain.py
lijun99/pyre
004dfd4c06489b4ba5b32877338ca6440f2d523b
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # # michael a.g. aïvázis # orthologue # (c) 1998-2019 all rights reserved # # declaration class Chain: """ A locator that ties together two others in order to express that something in {next} caused {this} to be recorded """ # meta methods def __init__(self, this, nex...
18.638889
88
0.593145
88
671
4.386364
0.647727
0.041451
0.056995
0
0
0
0
0
0
0
0
0.025052
0.28614
671
35
89
19.171429
0.780793
0.47541
0
0
0
0
0.105919
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
46820f0e1937a8a50c1292d89054f263875a439f
686
py
Python
examples/convert/pipe2sparky_2d.py
thegooglecodearchive/nmrglue
34ffb5247f457c19b93c584e048df4042dea0482
[ "BSD-3-Clause" ]
1
2019-04-22T06:08:13.000Z
2019-04-22T06:08:13.000Z
examples/convert/pipe2sparky_2d.py
thegooglecodearchive/nmrglue
34ffb5247f457c19b93c584e048df4042dea0482
[ "BSD-3-Clause" ]
null
null
null
examples/convert/pipe2sparky_2d.py
thegooglecodearchive/nmrglue
34ffb5247f457c19b93c584e048df4042dea0482
[ "BSD-3-Clause" ]
null
null
null
#! /usr/bin/env python import nmrglue as ng # read in the varian data dic,data = ng.pipe.read("../common_data/2d_pipe/test.ft2") # Set the parameters u = ng.pipe.guess_udic(dic,data) # create the converter object and initilize with varian data C = ng.convert.converter() C.from_pipe(dic,data,u) # create pipe data ...
29.826087
67
0.759475
114
686
4.482456
0.526316
0.041096
0.054795
0.062622
0
0
0
0
0
0
0
0.01473
0.109329
686
22
68
31.181818
0.821604
0.291545
0
0
0
0
0.308333
0.135417
0
0
0
0
0
0
null
null
0
0.1
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
46830865694c3242ec731476bef2c0bab11ffa36
420
py
Python
ufdl-core-app/src/ufdl/core_app/exceptions/_BadSource.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
null
null
null
ufdl-core-app/src/ufdl/core_app/exceptions/_BadSource.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
85
2020-07-24T00:04:28.000Z
2022-02-10T10:35:15.000Z
ufdl-core-app/src/ufdl/core_app/exceptions/_BadSource.py
waikato-ufdl/ufdl-backend
776fc906c61eba6c2f2e6324758e7b8a323e30d7
[ "Apache-2.0" ]
null
null
null
from rest_framework import status from rest_framework.exceptions import APIException class BadSource(APIException): """ Exception for when a lazily-loaded data source can't be accessed for some reason """ status_code = status.HTTP_417_EXPECTATION_FAILED default_code = 'bad_source' def __i...
28
60
0.719048
54
420
5.296296
0.666667
0.055944
0.118881
0
0
0
0
0
0
0
0
0.008824
0.190476
420
14
61
30
0.832353
0.190476
0
0
0
0
0.128125
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.857143
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
4686dbf11ea2488f7a45d2ed0c1748432a5a0064
394
py
Python
profiles/migrations/0018_auto_20180514_2106.py
brentfraser/geotabloid
772106b2d39b5405045814b5f013ece5713469b1
[ "MIT" ]
2
2018-12-03T09:19:31.000Z
2020-02-11T15:32:12.000Z
{{cookiecutter.project_slug}}/profiles/migrations/0018_auto_20180514_2106.py
brentfraser/cookiecutter-geopaparazzi-server
f9cd705991879deac67365007e9589142afc09bf
[ "BSD-3-Clause" ]
2
2019-02-20T17:50:55.000Z
2019-02-21T15:19:51.000Z
profiles/migrations/0018_auto_20180514_2106.py
GeoAnalytic-code/geotabloid
af017d470ef4553d5fbd24d865cb22ca643fd999
[ "MIT" ]
2
2018-10-19T17:07:01.000Z
2021-01-13T06:54:55.000Z
# Generated by Django 2.0.3 on 2018-05-14 21:06 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0017_otherfiles_location'), ] operations = [ migrations.AlterField( model_name='project', name='url', ...
20.736842
58
0.598985
41
394
5.658537
0.853659
0
0
0
0
0
0
0
0
0
0
0.067138
0.281726
394
18
59
21.888889
0.75265
0.114213
0
0
1
0
0.146974
0.069164
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4688b12d1b22b922d562bb53aed309b70230470c
294
py
Python
hitchhikeproject/hitchhikeapp/migrations/0011_delete_dog.py
AlexW57/HitchHikeProject
54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89
[ "MIT" ]
null
null
null
hitchhikeproject/hitchhikeapp/migrations/0011_delete_dog.py
AlexW57/HitchHikeProject
54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89
[ "MIT" ]
null
null
null
hitchhikeproject/hitchhikeapp/migrations/0011_delete_dog.py
AlexW57/HitchHikeProject
54e02a82fb322cb7ea5d4fdc323e2e3c9d1e9b89
[ "MIT" ]
null
null
null
# Generated by Django 3.0.2 on 2020-03-29 19:11 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hitchhikeapp', '0010_userdata_userid'), ] operations = [ migrations.DeleteModel( name='Dog', ), ]
17.294118
49
0.602041
31
294
5.645161
0.870968
0
0
0
0
0
0
0
0
0
0
0.090476
0.285714
294
16
50
18.375
0.742857
0.153061
0
0
1
0
0.1417
0
0
0
0
0
0
1
0
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4689fd0a503a48da1fc4fb1000e346ebf2f7be93
605
py
Python
tests/port_tests/point_tests/test_bounding_box.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
7
2020-05-07T08:13:44.000Z
2021-12-17T07:33:51.000Z
tests/port_tests/point_tests/test_bounding_box.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
17
2019-11-29T23:17:26.000Z
2020-12-20T15:47:17.000Z
tests/port_tests/point_tests/test_bounding_box.py
skrat/martinez
86db48324cb50ecb52be8ab2e4278a6d5cdd562b
[ "MIT" ]
1
2020-12-17T22:44:21.000Z
2020-12-17T22:44:21.000Z
from hypothesis import given from tests.port_tests.hints import (PortedBoundingBox, PortedPoint) from tests.utils import equivalence from . import strategies @given(strategies.points) def test_basic(point: PortedPoint) -> None: assert isinstance(point.bounding_box, PortedBound...
31.842105
77
0.707438
64
605
6.5
0.390625
0.115385
0.115385
0.110577
0
0
0
0
0
0
0
0
0.219835
605
18
78
33.611111
0.881356
0
0
0
0
0
0
0
0
0
0
0
0.153846
1
0.153846
false
0
0.307692
0
0.461538
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
468d721e5802a550fe36c1b0efccab7310faf51c
697
py
Python
thgsp/sampling/__init__.py
qiuyy20/thgsp
2cd09ba09716cc716a3d4e125d2d0b20f5cc942d
[ "BSD-3-Clause" ]
null
null
null
thgsp/sampling/__init__.py
qiuyy20/thgsp
2cd09ba09716cc716a3d4e125d2d0b20f5cc942d
[ "BSD-3-Clause" ]
null
null
null
thgsp/sampling/__init__.py
qiuyy20/thgsp
2cd09ba09716cc716a3d4e125d2d0b20f5cc942d
[ "BSD-3-Clause" ]
null
null
null
from ._utils import construct_dia, construct_hth, construct_sampling_matrix from .bsgda import bsgda, computing_sets, recon_bsgda, solving_set_covering from .ess import ess, ess_sampling, recon_ess from .fastgsss import fastgsss, recon_fastssss from .rsbs import cheby_coeff4ideal_band_pass, estimate_lk, recon_rsbs, rsb...
25.814815
76
0.71736
82
697
5.646341
0.329268
0.051836
0.090713
0.103672
0.146868
0.146868
0
0
0
0
0
0.003515
0.183644
697
26
77
26.807692
0.810193
0.028694
0
0
0
0
0.295252
0.077151
0
0
0
0
0
1
0
false
0.086957
0.217391
0
0.217391
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
4690da1c3b97e01a8795122d75752b424704a346
1,706
py
Python
Replace Downloads/replace_downloads.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
null
null
null
Replace Downloads/replace_downloads.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
null
null
null
Replace Downloads/replace_downloads.py
crake7/Defensor-Fortis-
086b055a10b9ac55f444e8d13b4031f998415438
[ "MIT" ]
1
2021-12-20T11:44:51.000Z
2021-12-20T11:44:51.000Z
#!/usr/bin/env python import netfilterqueue import scapy.all as scapy ack_list = [] def set_load(packet, load): packet[scapy.Raw].load = load del packet[scapy.IP].len del packet[scapy.IP].chksum del packet[scapy.TCP].chksum return packet def process_packet(packet): """Modify downloads files...
37.086957
193
0.654162
246
1,706
4.439024
0.414634
0.120879
0.117216
0.086996
0.162088
0.100733
0.054945
0
0
0
0
0.032159
0.234467
1,706
45
194
37.911111
0.803982
0
0
0
0
0
0.058716
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
469393ea6c4b1c5c7b78ca579da1a18fef848cb3
625
py
Python
tests/test_env_helpers.py
Azraeht/py-ndebug
b7d13b39adc6c0ece6b0d527752869fd94eb9f8a
[ "MIT" ]
null
null
null
tests/test_env_helpers.py
Azraeht/py-ndebug
b7d13b39adc6c0ece6b0d527752869fd94eb9f8a
[ "MIT" ]
1
2020-03-24T17:29:40.000Z
2020-03-24T17:29:40.000Z
tests/test_env_helpers.py
Azraeht/py-ndebug
b7d13b39adc6c0ece6b0d527752869fd94eb9f8a
[ "MIT" ]
1
2020-03-24T16:41:31.000Z
2020-03-24T16:41:31.000Z
from ndebug import env_helpers def test_inspect_ops(mocker): mocker.patch.dict('os.environ', {'DEBUG_COLORS': 'no', 'DEBUG_DEPTH': '10', 'DEBUG_SHOW_HIDDEN': 'enabled', 'DEBUG_SOMETHING': 'null'}) ac...
31.25
91
0.5536
67
625
4.925373
0.507463
0.151515
0.193939
0.121212
0.193939
0.193939
0
0
0
0
0
0.009281
0.3104
625
19
92
32.894737
0.756381
0
0
0.142857
0
0
0.2064
0
0
0
0
0
0.214286
1
0.142857
false
0
0.071429
0
0.214286
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4694573c6edf0ff0ed4f4786ad3fb6ae431575db
29,122
py
Python
commands/__init__.py
CorneliaXaos/Command-Block-Assembly
6ed002c7df856d95d8cb2b8e5346c2bb807bf4bc
[ "MIT" ]
1
2020-06-13T13:57:11.000Z
2020-06-13T13:57:11.000Z
commands/__init__.py
CorneliaXaos/Command-Block-Assembly
6ed002c7df856d95d8cb2b8e5346c2bb807bf4bc
[ "MIT" ]
null
null
null
commands/__init__.py
CorneliaXaos/Command-Block-Assembly
6ed002c7df856d95d8cb2b8e5346c2bb807bf4bc
[ "MIT" ]
null
null
null
import abc class CommandBlock: def __init__(self, command, conditional=True, mode='CHAIN', auto=True, opposite=False, single_use=True): self.command = command self.cond = conditional self.mode = mode self.auto = auto self.opposite = opposite self.sin...
29.327291
86
0.588215
3,381
29,122
4.931381
0.097013
0.046063
0.039585
0.062676
0.325496
0.23571
0.177652
0.148384
0.113837
0.1046
0
0.002054
0.297816
29,122
992
87
29.356855
0.813292
0.003399
0
0.282086
0
0
0.03708
0.001482
0
0
0
0.001008
0.096257
1
0.219251
false
0.008021
0.002674
0.070856
0.513369
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
469862e42b088f23b41b49c8734db4c50395bddc
28,022
py
Python
agent/windows/agent.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
21
2019-10-24T04:59:52.000Z
2021-05-11T12:47:17.000Z
agent/windows/agent.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
null
null
null
agent/windows/agent.py
fortinet/ips-bph-framework
145e14cced2181f388ade07d78b4f0e9452143dd
[ "Apache-2.0" ]
9
2019-10-26T16:56:08.000Z
2021-03-15T14:10:21.000Z
import shutil import socket import subprocess import threading import json import pickle import tempfile import time import box import threading import os import base64 import getpass import urllib import requests import zipfile import sys import pprint import platform DEBUG = True BPH_TEMPLATE_...
40.552822
126
0.554386
2,993
28,022
4.972269
0.153024
0.03904
0.06612
0.009676
0.290149
0.211867
0.143395
0.120817
0.096761
0.06733
0
0.003707
0.355078
28,022
690
127
40.611594
0.819776
0.1006
0
0.217759
0
0
0.12152
0.010727
0
0
0
0
0
0
null
null
0.014799
0.046512
null
null
0.20296
0
0
0
null
0
0
0
0
0
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
469a1ea0ba86db2759c0a614f1ca8112b547ba08
277
py
Python
app/conftest.py
hbyyy/newsmailing
53f7bbff438a5dcd19708dc8738d4407d156dd7f
[ "MIT" ]
null
null
null
app/conftest.py
hbyyy/newsmailing
53f7bbff438a5dcd19708dc8738d4407d156dd7f
[ "MIT" ]
7
2020-06-19T15:32:07.000Z
2021-08-23T20:49:39.000Z
app/conftest.py
hbyyy/newsmailing
53f7bbff438a5dcd19708dc8738d4407d156dd7f
[ "MIT" ]
null
null
null
from datetime import timedelta import pytest from model_bakery import baker @pytest.fixture() def create_expire_user(): def make_user(**kwargs): user = baker.make('members.User') user.created -= timedelta(days=4) return user return make_user
19.785714
41
0.693141
36
277
5.194444
0.555556
0.085562
0
0
0
0
0
0
0
0
0
0.004608
0.216607
277
13
42
21.307692
0.857143
0
0
0
0
0
0.043321
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.7
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
469d18528989ab40a67eb477eeda37c2533ddfd8
5,448
py
Python
RecoEgamma/ElectronIdentification/python/Identification/mvaElectronID_Fall17_noIso_V1_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
852
2015-01-11T21:03:51.000Z
2022-03-25T21:14:00.000Z
RecoEgamma/ElectronIdentification/python/Identification/mvaElectronID_Fall17_noIso_V1_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
30,371
2015-01-02T00:14:40.000Z
2022-03-31T23:26:05.000Z
RecoEgamma/ElectronIdentification/python/Identification/mvaElectronID_Fall17_noIso_V1_cff.py
ckamtsikis/cmssw
ea19fe642bb7537cbf58451dcf73aa5fd1b66250
[ "Apache-2.0" ]
3,240
2015-01-02T05:53:18.000Z
2022-03-31T17:24:21.000Z
import FWCore.ParameterSet.Config as cms from RecoEgamma.ElectronIdentification.Identification.mvaElectronID_tools import * # Documentation of the MVA # https://twiki.cern.ch/twiki/bin/viewauth/CMS/MultivariateElectronIdentificationRun2 # https://rembserj.web.cern.ch/rembserj/notes/Electron_MVA_ID_2017_documentation ...
54.48
124
0.727423
693
5,448
5.611833
0.350649
0.015428
0.064798
0.023142
0.253793
0.195166
0.181281
0.157367
0.132168
0.132168
0
0.202083
0.171623
5,448
99
125
55.030303
0.65965
0.36362
0
0
0
0
0.498389
0.207735
0
0
0
0
0
1
0
false
0
0.036364
0
0.036364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
469d44404e5e5089163e7fb2cbe8fd08587f00ec
4,274
py
Python
tools/parallel_launcher/parallel_launcher.py
Gitman1989/chromium
2b1cceae1075ef012fb225deec8b4c8bbe4bc897
[ "BSD-3-Clause" ]
2
2017-09-02T19:08:28.000Z
2021-11-15T15:15:14.000Z
tools/parallel_launcher/parallel_launcher.py
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
null
null
null
tools/parallel_launcher/parallel_launcher.py
meego-tablet-ux/meego-app-browser
0f4ef17bd4b399c9c990a2f6ca939099495c2b9c
[ "BSD-3-Clause" ]
1
2020-11-04T07:22:28.000Z
2020-11-04T07:22:28.000Z
#!/usr/bin/python # Copyright (c) 2010 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ This tool launches several shards of a gtest-based binary in parallel on a local machine. Example usage: parallel_launcher.py pat...
27.574194
78
0.656996
569
4,274
4.746924
0.347979
0.023695
0.035542
0.021103
0.218808
0.139208
0.081451
0.057016
0.0311
0.0311
0
0.007754
0.245672
4,274
154
79
27.753247
0.830025
0.139916
0
0.247525
0
0
0.1141
0
0
0
0
0
0
0
null
null
0
0.069307
null
null
0.029703
0
0
0
null
0
0
0
0
0
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
46a4f53ed5b4a611b18a262f155eca68d71783fb
7,831
py
Python
test/python/test_elementwise_ops.py
avijit-chakroborty/ngraph-bridge
b691d57412a40582ea93c6e564d80c750b7f2e8e
[ "Apache-2.0" ]
142
2019-02-21T00:53:06.000Z
2022-03-11T07:46:28.000Z
test/python/test_elementwise_ops.py
tensorflow/ngraph
ea6422491ec75504e78a63db029e7f74ec3479a5
[ "Apache-2.0" ]
252
2019-03-11T19:27:59.000Z
2021-03-19T10:58:17.000Z
test/python/test_elementwise_ops.py
tensorflow/ngraph
ea6422491ec75504e78a63db029e7f74ec3479a5
[ "Apache-2.0" ]
65
2019-03-13T15:27:29.000Z
2021-07-16T07:09:16.000Z
# ============================================================================== # Copyright 2018-2020 Intel Corporation # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://ww...
47.75
80
0.477461
916
7,831
3.967249
0.146288
0.024216
0.079252
0.088057
0.724546
0.695377
0.690424
0.66896
0.623555
0.623555
0
0.06106
0.334951
7,831
163
81
48.042945
0.636713
0.099732
0
0.576
0
0
0.012806
0
0
0
0
0
0.128
1
0.064
false
0
0.056
0
0.128
0.008
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
46aa55bc676b909ffd23d501d1007af51f171f16
293
py
Python
mydict.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
mydict.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
mydict.py
zengboming/python
13018f476554adc3bff831af27c08f7c216d4b09
[ "Apache-2.0" ]
null
null
null
#unit #mydict.py class Dict(dict): def __init__(self,**kw): super(Dict,self).__init__(**kw) def __getattr__(self,key): try: return self[key] except KeyError: raise AttributeError(r"'Dict' object han no attribute'%s'" %key) def __setattr__(self,key,value): self[key]=value
19.533333
67
0.68942
43
293
4.325581
0.604651
0.150538
0.129032
0
0
0
0
0
0
0
0
0
0.153584
293
14
68
20.928571
0.75
0.044369
0
0
0
0
0.122302
0
0
0
0
0
0
1
0.3
false
0
0
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
46b1624f4a6a70026386fb13d4c9f4cd8b816721
492
py
Python
server/petsAPI/views.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
server/petsAPI/views.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
server/petsAPI/views.py
StoyanDimStoyanov/ReactDJango
8c30730fbd3af0064f97444a91e65a9029a1dc0f
[ "MIT" ]
null
null
null
from django.shortcuts import render from rest_framework import generics # Create your views here. from petsAPI.models import Pets from petsAPI.serializers import PetSerializer def index(req): return render(req, 'index.html') class PetsListApiView(generics.ListCreateAPIView): queryset = Pets.objects.all() ...
24.6
63
0.792683
54
492
7.166667
0.574074
0.056848
0.098191
0.113695
0.258398
0.258398
0.258398
0
0
0
0
0
0.138211
492
20
64
24.6
0.912736
0.046748
0
0.333333
0
0
0.021368
0
0
0
0
0
0
1
0.083333
false
0
0.333333
0.083333
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
0
1
0
0
0
0
1
46b37f4db1428d7e3e970e352faebde87a24d82f
7,329
py
Python
src/bbdata/endpoint/output/objects.py
big-building-data/bbdata-python
46335c9f8db9ceccbd795c4931db0e3041ba9a50
[ "MIT" ]
null
null
null
src/bbdata/endpoint/output/objects.py
big-building-data/bbdata-python
46335c9f8db9ceccbd795c4931db0e3041ba9a50
[ "MIT" ]
null
null
null
src/bbdata/endpoint/output/objects.py
big-building-data/bbdata-python
46335c9f8db9ceccbd795c4931db0e3041ba9a50
[ "MIT" ]
null
null
null
import requests from bbdata.config import output_api_url from bbdata.util import handle_response class Objects: base_path = "/objects" auth = None def __init__(self, auth): self.auth = auth def get_all(self, tags=None, search=None, page=None, per_page=None, writable=False): ...
33.619266
78
0.592714
894
7,329
4.661074
0.147651
0.046076
0.043197
0.063835
0.62395
0.594912
0.594912
0.542117
0.542117
0.513799
0
0.000386
0.292673
7,329
217
79
33.774194
0.803434
0.301132
0
0.5
0
0
0.039302
0
0
0
0
0.018433
0
1
0.147059
false
0
0.029412
0
0.343137
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
46b4aae481a7dcad8401c1fdb98aae95f3b590c6
2,207
py
Python
api/patients/urls.py
Wellheor1/l2
d980210921c545c68fe9d5522bb693d567995024
[ "MIT" ]
10
2018-03-14T06:17:06.000Z
2022-03-10T05:33:34.000Z
api/patients/urls.py
Wellheor1/l2
d980210921c545c68fe9d5522bb693d567995024
[ "MIT" ]
512
2018-09-10T07:37:34.000Z
2022-03-30T02:23:43.000Z
api/patients/urls.py
D00dleman/l2
0870144537ee340cd8db053a608d731e186f02fb
[ "MIT" ]
24
2018-07-31T05:52:12.000Z
2022-02-08T00:39:41.000Z
from django.urls import path from . import views urlpatterns = [ path('search-card', views.patients_search_card), path('search-individual', views.patients_search_individual), path('search-l2-card', views.patients_search_l2_card), path('create-l2-individual-from-card', views.create_l2_individual_from_ca...
53.829268
86
0.752152
284
2,207
5.623239
0.169014
0.234815
0.13087
0.046963
0.032561
0
0
0
0
0
0
0.00252
0.101042
2,207
40
87
55.175
0.802419
0
0
0
0
0
0.354327
0.275487
0
0
0
0
0
1
0
false
0
0.051282
0
0.051282
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
46b5e33d3c7311128739c73f9d648a67b6c52c18
1,139
py
Python
resolwe_bio/kb/migrations/0002_alter_field_max_length.py
JureZmrzlikar/resolwe-bio
54cde9b293abebad2db0564c9fefa33d6d2fe835
[ "Apache-2.0" ]
null
null
null
resolwe_bio/kb/migrations/0002_alter_field_max_length.py
JureZmrzlikar/resolwe-bio
54cde9b293abebad2db0564c9fefa33d6d2fe835
[ "Apache-2.0" ]
null
null
null
resolwe_bio/kb/migrations/0002_alter_field_max_length.py
JureZmrzlikar/resolwe-bio
54cde9b293abebad2db0564c9fefa33d6d2fe835
[ "Apache-2.0" ]
1
2021-09-03T08:50:54.000Z
2021-09-03T08:50:54.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-15 07:06 from __future__ import unicode_literals import django.contrib.postgres.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('resolwe_bio_kb', '0001_initial'), ] operation...
35.59375
302
0.604039
137
1,139
4.905109
0.489051
0.089286
0.111607
0.129464
0.264881
0.178571
0
0
0
0
0
0.034091
0.227392
1,139
31
303
36.741935
0.729545
0.059701
0
0.375
1
0
0.17603
0
0
0
0
0
0
1
0
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3b2063cf7dc483f806ac22531b14a9333116ffb
1,092
py
Python
radioepg/migrations/0001_initial.py
mervij/radiodns
01543cf1e4de8de335af0301616e089c35fc67f8
[ "Apache-2.0" ]
null
null
null
radioepg/migrations/0001_initial.py
mervij/radiodns
01543cf1e4de8de335af0301616e089c35fc67f8
[ "Apache-2.0" ]
8
2021-05-17T10:54:28.000Z
2021-06-08T12:02:37.000Z
radioepg/migrations/0001_initial.py
mervij/radiodns
01543cf1e4de8de335af0301616e089c35fc67f8
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-15 08:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Service', fields=[ ...
32.117647
115
0.571429
109
1,092
5.605505
0.504587
0.03928
0.08838
0.11784
0.350246
0.258592
0.258592
0.258592
0.258592
0.258592
0
0.027167
0.292125
1,092
33
116
33.090909
0.76326
0.041209
0
0.384615
1
0
0.083254
0
0
0
0
0
0
1
0
false
0
0.076923
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3b45e5164e572fbde2110d62cb448013353f1cd
1,593
py
Python
gandyndns.py
nim65s/scripts
2c61bd77bfca6ae6437654e43ad2bc95d611360a
[ "BSD-2-Clause" ]
1
2020-12-17T09:41:42.000Z
2020-12-17T09:41:42.000Z
gandyndns.py
nim65s/scripts
2c61bd77bfca6ae6437654e43ad2bc95d611360a
[ "BSD-2-Clause" ]
null
null
null
gandyndns.py
nim65s/scripts
2c61bd77bfca6ae6437654e43ad2bc95d611360a
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python '''update gandi DNS domain entry, with LiveDNS v5 Cf. https://doc.livedns.gandi.net/#work-with-domains ''' import argparse import ipaddress import json import os from subprocess import check_output import requests parser = argparse.ArgumentParser(description=__doc__) parser.add_argument('-v', '...
32.510204
112
0.696171
245
1,593
4.404082
0.395918
0.038925
0.078777
0.022243
0.105653
0.105653
0.105653
0.105653
0.105653
0.105653
0
0.007168
0.124294
1,593
48
113
33.1875
0.766308
0.07533
0
0.176471
0
0.058824
0.295362
0
0
0
0
0
0
1
0
false
0.058824
0.176471
0
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
d3b4eac02574fc5ff2fd374b340d31cb4dba25c1
3,750
py
Python
src/sentry/models/pluginhealth.py
ayesha-omarali/sentry
96f81a1805227c26234e6317771bc0dcb5c176ad
[ "BSD-3-Clause" ]
null
null
null
src/sentry/models/pluginhealth.py
ayesha-omarali/sentry
96f81a1805227c26234e6317771bc0dcb5c176ad
[ "BSD-3-Clause" ]
null
null
null
src/sentry/models/pluginhealth.py
ayesha-omarali/sentry
96f81a1805227c26234e6317771bc0dcb5c176ad
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from sentry.db.models import ( ArrayField, BoundedPositiveIntegerField, Model, FlexibleForeignKey, sane_repr ) from django.db import models from jsonfield import JSONField from django.utils import timezone from sentry.constants import ObjectStatus from django.utils.translatio...
32.327586
82
0.686133
427
3,750
5.686183
0.213115
0.103789
0.052718
0.057661
0.408979
0.380972
0.366145
0.313839
0.284185
0.284185
0
0.002102
0.238667
3,750
115
83
32.608696
0.848336
0
0
0.351064
0
0
0.078933
0.006133
0
0
0
0
0
1
0.095745
false
0
0.074468
0.010638
0.56383
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
d3b76c1c0fc989bb41ad8f58fabce2395587d211
1,615
py
Python
src/masonite/oauth/drivers/FacebookDriver.py
girardinsamuel/masonite-socialite
04110601b299d8505ec453b7743124cb88047d9d
[ "MIT" ]
1
2021-05-07T16:37:03.000Z
2021-05-07T16:37:03.000Z
src/masonite/oauth/drivers/FacebookDriver.py
girardinsamuel/masonite-socialite
04110601b299d8505ec453b7743124cb88047d9d
[ "MIT" ]
11
2021-05-17T06:45:48.000Z
2021-10-03T15:16:23.000Z
src/masonite/oauth/drivers/FacebookDriver.py
girardinsamuel/masonite-socialite
04110601b299d8505ec453b7743124cb88047d9d
[ "MIT" ]
null
null
null
from .BaseDriver import BaseDriver from ..OAuthUser import OAuthUser class FacebookDriver(BaseDriver): def get_default_scopes(self): return ["email"] def get_auth_url(self): return "https://www.facebook.com/dialog/oauth" def get_token_url(self): return "https://graph.facebook.com...
28.333333
90
0.479257
149
1,615
5
0.322148
0.128859
0.052349
0.072483
0.448322
0.448322
0.448322
0.357047
0.357047
0.357047
0
0
0.389474
1,615
56
91
28.839286
0.755578
0
0
0.416667
0
0
0.18452
0
0
0
0
0
0
1
0.145833
false
0
0.041667
0.104167
0.354167
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
d3ba25fae7aacb5e43b639c41eadbd3d14fb7a48
303
py
Python
ms_deisotope/qc/__init__.py
mstim/ms_deisotope
29f4f466e92e66b65a2d21eca714aa627caa21db
[ "Apache-2.0" ]
18
2017-09-01T12:26:12.000Z
2022-02-23T02:31:29.000Z
ms_deisotope/qc/__init__.py
mstim/ms_deisotope
29f4f466e92e66b65a2d21eca714aa627caa21db
[ "Apache-2.0" ]
19
2017-03-12T20:40:36.000Z
2022-03-31T22:50:47.000Z
ms_deisotope/qc/__init__.py
mstim/ms_deisotope
29f4f466e92e66b65a2d21eca714aa627caa21db
[ "Apache-2.0" ]
14
2016-05-06T02:25:30.000Z
2022-03-31T14:40:06.000Z
"""A collection of methods for determining whether a given spectrum is of high quality (likely to produce a high quality interpretation) """ from .heuristic import xrea from .isolation import CoIsolation, PrecursorPurityEstimator __all__ = [ "xrea", "CoIsolation", "PrecursorPurityEstimator" ]
27.545455
70
0.772277
34
303
6.764706
0.705882
0.095652
0
0
0
0
0
0
0
0
0
0
0.155116
303
10
71
30.3
0.898438
0.438944
0
0
0
0
0.239264
0.147239
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d3bbc84b4a938b83b84adeff2d313509849c11f6
3,855
py
Python
rpi_animations/message.py
Anski-D/rpi_animations_old
b019a301ba777d76e3cedc6b86359570e2c2f18b
[ "MIT" ]
null
null
null
rpi_animations/message.py
Anski-D/rpi_animations_old
b019a301ba777d76e3cedc6b86359570e2c2f18b
[ "MIT" ]
null
null
null
rpi_animations/message.py
Anski-D/rpi_animations_old
b019a301ba777d76e3cedc6b86359570e2c2f18b
[ "MIT" ]
null
null
null
from .item import Item class Message(Item): """ Message feature object in the rpi_animations package. """ def __init__(self, group, screen_animator) -> None: """ Initialise Message object with sprite group and screen object. Run initial setup methods. Args: group ...
27.147887
107
0.575357
450
3,855
4.682222
0.22
0.049359
0.068344
0.045088
0.298054
0.249644
0.224015
0.197437
0.197437
0.197437
0
0
0.332815
3,855
141
108
27.340426
0.819207
0.307912
0
0.170213
0
0
0.017809
0
0
0
0
0
0
1
0.212766
false
0
0.021277
0
0.340426
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d3bea2de7d4525c6881fb3abdb31815d971e7131
506
py
Python
tests/conftest.py
Beanxx/alonememo
aa90bcca6a5dcaa41305b162ac5d6dbe8d0d2562
[ "MIT" ]
null
null
null
tests/conftest.py
Beanxx/alonememo
aa90bcca6a5dcaa41305b162ac5d6dbe8d0d2562
[ "MIT" ]
null
null
null
tests/conftest.py
Beanxx/alonememo
aa90bcca6a5dcaa41305b162ac5d6dbe8d0d2562
[ "MIT" ]
null
null
null
import pytest from pymongo import MongoClient import app as flask_app test_database_name = 'spartatest' client = MongoClient('localhost', 27017) db = client.get_database(test_database_name) @pytest.fixture def app(): test_app = flask_app.create_app(test_database_name) # 제네레이터 문법(yield 구문까지만 실행하고 대기, #...
20.24
55
0.727273
78
506
4.525641
0.628205
0.135977
0.181303
0.107649
0
0
0
0
0
0
0
0.012346
0.199605
506
24
56
21.083333
0.859259
0.217391
0
0
0
0
0.079487
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.333333
0.083333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3c0c248eab748f6973cc1f7d32930648b9e6320
1,825
py
Python
challenges/challenge.py
Tech-With-Tim/models
221fce614776df01b151e73071c788c3ce57dc52
[ "MIT" ]
2
2021-07-09T18:53:15.000Z
2021-08-06T06:21:14.000Z
challenges/challenge.py
Tech-With-Tim/models
221fce614776df01b151e73071c788c3ce57dc52
[ "MIT" ]
8
2021-07-09T13:08:07.000Z
2021-09-12T20:25:08.000Z
challenges/challenge.py
Tech-With-Tim/models
221fce614776df01b151e73071c788c3ce57dc52
[ "MIT" ]
4
2021-07-09T12:32:20.000Z
2021-07-29T15:19:25.000Z
from postDB import Model, Column, types from datetime import datetime import utils class Challenge(Model): """ Challenge class to store the challenge details Database Attributes: Attributes stored in the `challenges` table. :param int id: The challenge Snowflake...
40.555556
101
0.633973
217
1,825
5.267281
0.37788
0.105862
0.03937
0.049869
0.094488
0
0
0
0
0
0
0
0.282192
1,825
44
102
41.477273
0.872519
0.525479
0
0
0
0
0.008783
0
0
0
0
0
0
1
0.052632
false
0
0.157895
0
0.842105
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
d3c2f371f8e9bd53dfa26410d72fcf0c4b952e00
1,004
py
Python
settings.py
embrace-inpe/cycle-slip-correction
c465dd4d45ea7df63a18749e26ba4bf0aa27eb59
[ "MIT" ]
6
2019-05-20T21:23:41.000Z
2021-06-23T15:00:30.000Z
settings.py
embrace-inpe/cycle-slip-correction
c465dd4d45ea7df63a18749e26ba4bf0aa27eb59
[ "MIT" ]
null
null
null
settings.py
embrace-inpe/cycle-slip-correction
c465dd4d45ea7df63a18749e26ba4bf0aa27eb59
[ "MIT" ]
5
2018-12-27T16:46:45.000Z
2020-09-14T13:44:00.000Z
""" Commom settings to all applications """ A = 40.3 TECU = 1.0e16 C = 299792458 F1 = 1.57542e9 F2 = 1.22760e9 factor_1 = (F1 - F2) / (F1 + F2) / C factor_2 = (F1 * F2) / (F2 - F1) / C DIFF_TEC_MAX = 0.05 LIMIT_STD = 7.5 plot_it = True REQUIRED_VERSION = 3.01 CONSTELLATIONS = ['G', 'R'] COLUMNS_IN_RINEX = {'3.03': ...
33.466667
100
0.351594
127
1,004
2.708661
0.433071
0.087209
0.122093
0.093023
0.380814
0.380814
0.380814
0.331395
0.27907
0.27907
0
0.18859
0.371514
1,004
29
101
34.62069
0.356577
0.034861
0
0.090909
0
0
0.168574
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3c3d276986b71cc9d8aae788f2dcd9c3f2eb96a
1,009
py
Python
tests/api/test_libcoap_api.py
ggravlingen/ikeatradfri
9eef5317ab770de874c407449489604b2fdf35f1
[ "MIT" ]
726
2017-04-12T22:55:39.000Z
2020-09-02T20:47:13.000Z
tests/api/test_libcoap_api.py
ggravlingen/ikeatradfri
9eef5317ab770de874c407449489604b2fdf35f1
[ "MIT" ]
248
2017-04-12T21:45:10.000Z
2020-09-03T08:48:37.000Z
tests/api/test_libcoap_api.py
ggravlingen/ikeatradfri
9eef5317ab770de874c407449489604b2fdf35f1
[ "MIT" ]
140
2017-04-12T20:02:57.000Z
2020-09-02T08:54:23.000Z
"""Test API utilities.""" import json from pytradfri.api.libcoap_api import APIFactory from pytradfri.gateway import Gateway def test_constructor_timeout_passed_to_subprocess(monkeypatch): """Test that original timeout is passed to subprocess.""" capture = {} def capture_args(*args, **kwargs): c...
28.027778
64
0.698712
119
1,009
5.764706
0.327731
0.046647
0.104956
0.072886
0.699708
0.699708
0.699708
0.475219
0.475219
0.475219
0
0.007186
0.172448
1,009
35
65
28.828571
0.814371
0.119921
0
0.47619
0
0
0.094037
0.052752
0
0
0
0
0.095238
1
0.190476
false
0.095238
0.142857
0
0.428571
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
d3c5d75262328f54482b5a9f8b47cfdc49c36760
445
py
Python
setup.py
korymath/JANN
98468a2e90a6b55ccb15e905ee10a1d1130cf5d8
[ "MIT" ]
39
2018-09-25T21:40:38.000Z
2022-01-19T23:26:51.000Z
setup.py
korymath/JANN
98468a2e90a6b55ccb15e905ee10a1d1130cf5d8
[ "MIT" ]
22
2018-09-25T21:36:46.000Z
2021-09-07T16:03:41.000Z
setup.py
korymath/JANN
98468a2e90a6b55ccb15e905ee10a1d1130cf5d8
[ "MIT" ]
9
2018-09-26T00:38:35.000Z
2020-02-27T05:59:03.000Z
from setuptools import setup from setuptools import find_packages setup( name="Jann", version="4.0.0", description="Jann is a Nearest Neighbour retrieval-based chatbot.", author="Kory Mathewson", author_email="korymath@gmail.com", license="MIT", url="https://github.com/korymath/jann", ...
20.227273
71
0.647191
51
445
5.54902
0.705882
0.09894
0.141343
0
0
0
0
0
0
0
0
0.008646
0.220225
445
21
72
21.190476
0.806916
0
0
0.111111
0
0
0.331081
0
0
0
0
0
0
1
0
true
0
0.111111
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
1
0
0
0
0
0
0
1
d3cb4fc2b23e4f4fb2c765f3d7673f2b43240708
19,911
py
Python
bert_multitask_learning/top.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
1
2021-07-11T14:07:59.000Z
2021-07-11T14:07:59.000Z
bert_multitask_learning/top.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
null
null
null
bert_multitask_learning/top.py
akashnd/bert-multitask-learning
aee5be006ef6a3feadf0c751a6f9b42c24c3fd21
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: source_nbs/12_top.ipynb (unless otherwise specified). __all__ = ['empty_tensor_handling_loss', 'nan_loss_handling', 'create_dummy_if_empty', 'BaseTop', 'SequenceLabel', 'Classification', 'PreTrain', 'Seq2Seq', 'MultiLabelClassification', 'MaskLM'] # Cell import l...
42.095137
138
0.638491
2,370
19,911
5.072996
0.117722
0.043916
0.03119
0.032521
0.650836
0.619313
0.570906
0.543625
0.513932
0.494968
0
0.004749
0.270303
19,911
472
139
42.184322
0.822768
0.135553
0
0.574018
1
0
0.033567
0.005487
0
0
0
0.002119
0
1
0.063444
false
0
0.033233
0.006042
0.178248
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
d3cc0271bb0d934fe7034974b1385e41735a694e
447
py
Python
strings/#387/strings.py
sharmarkei/DSA-Practice
c98e9f5ae1824d86f02d1002d908dc24c8be8812
[ "MIT" ]
null
null
null
strings/#387/strings.py
sharmarkei/DSA-Practice
c98e9f5ae1824d86f02d1002d908dc24c8be8812
[ "MIT" ]
null
null
null
strings/#387/strings.py
sharmarkei/DSA-Practice
c98e9f5ae1824d86f02d1002d908dc24c8be8812
[ "MIT" ]
null
null
null
class Solution(object): def firstUniqChar(self, s): """ :type s: str :rtype: int """ dict_1 = {} for i in s: if i not in dict_1: dict_1[i] = 1 else: dict_1[i] += 1 print(dict_1) ...
20.318182
37
0.364653
51
447
3.078431
0.470588
0.191083
0.101911
0.089172
0
0
0
0
0
0
0
0.04878
0.541387
447
22
38
20.318182
0.717073
0.053691
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.307692
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3d01a6d5b6d4e91e1847f49e77097d90f67ce9c
906
py
Python
pypy/module/cpyext/test/test_iterator.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
34
2015-07-09T04:53:27.000Z
2021-07-19T05:22:27.000Z
pypy/module/cpyext/test/test_iterator.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
6
2015-05-30T17:20:45.000Z
2017-06-12T14:29:23.000Z
pypy/module/cpyext/test/test_iterator.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
11
2015-09-07T14:26:08.000Z
2020-04-10T07:20:41.000Z
from pypy.module.cpyext.test.test_api import BaseApiTest class TestIterator(BaseApiTest): def test_check_iter(self, space, api): assert api.PyIter_Check(space.iter(space.wrap("a"))) assert api.PyIter_Check(space.iter(space.newlist([]))) assert not api.PyIter_Check(space.w_type) ass...
39.391304
62
0.684327
135
906
4.392593
0.281481
0.136594
0.109612
0.128162
0.482293
0.451939
0.291737
0.177066
0
0
0
0.009642
0.198676
906
22
63
41.181818
0.807163
0
0
0
0
0
0.001104
0
0
0
0
0
0.611111
1
0.166667
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
d3d41214e53cc3ba9f42c3c82841438366d8ce1d
2,812
py
Python
pylearn2/neuroimaging_utils/tutorials/nice/jobman/simple_train.py
rdevon/pylearn2
f7b9a6ea0e2498176b47202f5bb83aec4976e1dd
[ "BSD-3-Clause" ]
1
2017-10-29T06:18:35.000Z
2017-10-29T06:18:35.000Z
pylearn2/neuroimaging_utils/tutorials/nice/jobman/simple_train.py
rdevon/pylearn2
f7b9a6ea0e2498176b47202f5bb83aec4976e1dd
[ "BSD-3-Clause" ]
null
null
null
pylearn2/neuroimaging_utils/tutorials/nice/jobman/simple_train.py
rdevon/pylearn2
f7b9a6ea0e2498176b47202f5bb83aec4976e1dd
[ "BSD-3-Clause" ]
null
null
null
""" Module to train a simple MLP for demo. """ from jobman.tools import expand from jobman.tools import flatten import logging import nice_experiment import numpy as np from os import path from pylearn2.config import yaml_parse from pylearn2.neuroimaging_utils.datasets import MRI from pylearn2.neuroimaging_utils.data...
34.292683
91
0.629445
339
2,812
4.967552
0.353982
0.039192
0.035629
0.024941
0.023753
0
0
0
0
0
0
0.007703
0.26138
2,812
81
92
34.716049
0.803081
0
0
0
0
0
0.12256
0.039769
0
0
0
0
0
0
null
null
0
0.169231
null
null
0.015385
0
0
0
null
0
0
0
0
0
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
d3d9152a0002e3e05bd42184c7b5ca8570672123
1,046
py
Python
setup.py
digicert/digicert_express
292fb4e7f8a39e53c384a79c50a9488c51258f97
[ "MIT" ]
2
2017-03-03T20:37:29.000Z
2018-06-01T22:22:15.000Z
setup.py
digicert/digicert_express
292fb4e7f8a39e53c384a79c50a9488c51258f97
[ "MIT" ]
null
null
null
setup.py
digicert/digicert_express
292fb4e7f8a39e53c384a79c50a9488c51258f97
[ "MIT" ]
2
2018-01-26T07:11:42.000Z
2019-03-06T23:30:39.000Z
from setuptools import setup, find_packages def readme(): with open('README.rst') as f: return f.read() setup( name='digicert-express', version='1.1dev2', description='Express Install for DigiCert, Inc.', long_description=readme(), classifiers=[ 'Development Status :: 3 - Alpha...
29.885714
92
0.605163
113
1,046
5.522124
0.707965
0.048077
0.080128
0.083333
0
0
0
0
0
0
0
0.015075
0.239006
1,046
34
93
30.764706
0.768844
0.040153
0
0.0625
0
0
0.443114
0
0
0
0
0
0
1
0.03125
true
0
0.03125
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
1
0
0
0
0
0
0
1
d3da2efce64cb5f88a134e97d2a4092ee8ea80bb
5,777
py
Python
azure-mgmt/tests/test_mgmt_documentdb.py
v-Ajnava/azure-sdk-for-python
a1f6f80eb5869c5b710e8bfb66146546697e2a6f
[ "MIT" ]
4
2016-06-17T23:25:29.000Z
2022-03-30T22:37:45.000Z
azure-mgmt/tests/test_mgmt_documentdb.py
v-Ajnava/azure-sdk-for-python
a1f6f80eb5869c5b710e8bfb66146546697e2a6f
[ "MIT" ]
54
2016-03-25T17:25:01.000Z
2018-10-22T17:27:54.000Z
azure-mgmt/tests/test_mgmt_documentdb.py
v-Ajnava/azure-sdk-for-python
a1f6f80eb5869c5b710e8bfb66146546697e2a6f
[ "MIT" ]
3
2016-05-03T20:49:46.000Z
2017-10-05T21:05:27.000Z
# coding: utf-8 #------------------------------------------------------------------------- # Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. See License.txt in the project root for # license information. #---------------------------------------------------------------------...
37.512987
101
0.570885
581
5,777
5.435456
0.313253
0.066181
0.061748
0.098797
0.427169
0.394554
0.355288
0.286574
0.286574
0.286574
0
0.003047
0.318331
5,777
153
102
37.75817
0.798629
0.183313
0
0.390909
0
0
0.043636
0
0
0
0
0
0.136364
0
null
null
0
0.054545
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
d3da88558c778364e49a959d5f0d8f942db1cc43
3,758
py
Python
config.py
somritabanerjee/speedplusbaseline
5913c611d8c182ad8070abcf5f1baffc554dfd90
[ "MIT" ]
null
null
null
config.py
somritabanerjee/speedplusbaseline
5913c611d8c182ad8070abcf5f1baffc554dfd90
[ "MIT" ]
null
null
null
config.py
somritabanerjee/speedplusbaseline
5913c611d8c182ad8070abcf5f1baffc554dfd90
[ "MIT" ]
null
null
null
import argparse PROJROOTDIR = {'mac': '/Users/taehapark/SLAB/speedplusbaseline', 'linux': '/home/somrita/Documents/Satellite_Pose_Estimation/speedplusbaseline'} DATAROOTDIR = {'mac': '/Users/taehapark/SLAB/speedplus/data/datasets', 'linux': '/home/somrita/Documents/Satellite_Pose_Estim...
58.71875
104
0.631453
428
3,758
5.359813
0.313084
0.145161
0.274194
0.037053
0.268527
0.129904
0.129904
0.088056
0
0
0
0.013235
0.095263
3,758
64
105
58.71875
0.661471
0.161788
0
0
0
0
0.308992
0.091518
0
0
0
0
0
1
0
false
0
0.022727
0
0.022727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d3df3020e02d0033dd7ab9554f7528acd2742527
21,764
py
Python
spearmint/models/gp_classifier.py
jatinarora2409/Spearmint
a209eb8aa7d5d93f2fdca6cff50dc17a94d926ab
[ "RSA-MD" ]
null
null
null
spearmint/models/gp_classifier.py
jatinarora2409/Spearmint
a209eb8aa7d5d93f2fdca6cff50dc17a94d926ab
[ "RSA-MD" ]
null
null
null
spearmint/models/gp_classifier.py
jatinarora2409/Spearmint
a209eb8aa7d5d93f2fdca6cff50dc17a94d926ab
[ "RSA-MD" ]
null
null
null
# -*- coding: utf-8 -*- # Spearmint # # Academic and Non-Commercial Research Use Software License and Terms # of Use # # Spearmint is a software package to perform Bayesian optimization # according to specific algorithms (the “Software”). The Software is # designed to automatically run experiments (thus the code name ...
43.354582
142
0.684111
2,965
21,764
4.93086
0.245868
0.036115
0.022982
0.008755
0.160944
0.119562
0.065937
0.048564
0.024487
0.024487
0
0.00981
0.241224
21,764
501
143
43.441118
0.8755
0.53005
0
0.120603
0
0
0.044144
0
0
0
0
0
0
0
null
null
0
0.095477
null
null
0.005025
0
0
0
null
0
0
0
0
0
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
d3e28f994d4f8d390af434d713b2e934cf2435a9
1,050
py
Python
hknweb/exams/migrations/0019_auto_20200413_0212.py
AndrewKe/hknweb
8b0591625ffe0b2fa1f50fec453d674a03f52a2e
[ "MIT" ]
null
null
null
hknweb/exams/migrations/0019_auto_20200413_0212.py
AndrewKe/hknweb
8b0591625ffe0b2fa1f50fec453d674a03f52a2e
[ "MIT" ]
null
null
null
hknweb/exams/migrations/0019_auto_20200413_0212.py
AndrewKe/hknweb
8b0591625ffe0b2fa1f50fec453d674a03f52a2e
[ "MIT" ]
null
null
null
# Generated by Django 2.2.8 on 2020-04-13 09:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('exams', '0018_auto_20200412_1715'), ] operations = [ migrations.CreateModel( name='ExamChoice',...
30
114
0.590476
105
1,050
5.780952
0.533333
0.052718
0.069193
0.108731
0.336079
0.336079
0.214168
0.214168
0.214168
0.214168
0
0.043941
0.284762
1,050
34
115
30.882353
0.764314
0.042857
0
0.285714
1
0
0.125623
0.022931
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
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
d3e577b90c506a8bda99f5b1083dfe14aebd03c5
904
py
Python
social_redirects/models.py
JoshZero87/site
c8024b805ff5ff0e16f54dce7bf05097fd2f08e0
[ "MIT" ]
4
2017-01-29T00:38:41.000Z
2019-09-04T14:30:24.000Z
social_redirects/models.py
JoshZero87/site
c8024b805ff5ff0e16f54dce7bf05097fd2f08e0
[ "MIT" ]
74
2017-10-02T04:42:54.000Z
2022-01-13T00:44:16.000Z
social_redirects/models.py
JoshZero87/site
c8024b805ff5ff0e16f54dce7bf05097fd2f08e0
[ "MIT" ]
3
2017-03-24T23:26:46.000Z
2019-10-21T01:16:03.000Z
from django.contrib.sites.models import Site from django.db import models class Redirect(models.Model): title = models.CharField(max_length=200) description = models.CharField(max_length=1024, blank=True, null=True) social_image = models.ImageField(null=True, blank=True) old_path = models.CharField(m...
45.2
193
0.710177
128
904
4.851563
0.515625
0.096618
0.115942
0.154589
0.143317
0.099839
0
0
0
0
0
0.017128
0.160398
904
19
194
47.578947
0.801054
0
0
0
0
0
0.25
0
0
0
0
0
0
1
0.071429
false
0
0.142857
0.071429
0.857143
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
d3e9f7de3f63d7f3de57a5c2272c7c0ae564d742
932
py
Python
cloud/db/db.py
bother3000/Smart-IoT-Planting-System
7c33f150850fb8c9bc250fa02bf306f02f7cafb8
[ "MIT" ]
171
2017-09-22T08:25:18.000Z
2022-02-28T07:56:41.000Z
cloud/db/db.py
bother3000/Smart-IoT-Planting-System
7c33f150850fb8c9bc250fa02bf306f02f7cafb8
[ "MIT" ]
2
2018-06-28T02:33:04.000Z
2021-06-09T06:56:58.000Z
cloud/db/db.py
bother3000/Smart-IoT-Planting-System
7c33f150850fb8c9bc250fa02bf306f02f7cafb8
[ "MIT" ]
108
2017-10-03T20:11:52.000Z
2022-03-19T15:21:48.000Z
#!/usr/bin/env python import pymysql #Python3 db = pymysql.connect("localhost","sips","root","zaijian" ) cursor = db.cursor() cursor.execute("SELECT VERSION()") data = cursor.fetchone() print ("Database version : %s " % data) db.close() def create_table(): db = pymysql.connect("localhost","sips","root","zaijian"...
23.897436
60
0.610515
118
932
4.771186
0.466102
0.092362
0.085258
0.133215
0.333925
0.333925
0.333925
0.333925
0.333925
0.333925
0
0.016484
0.218884
932
38
61
24.526316
0.756868
0.02897
0
0.354839
0
0
0.460687
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.032258
0
0
0
null
0
0
0
0
0
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
d3ebad071ed8577b67556835d306ad97a7a130ad
217
py
Python
algoritmos/ajuste-curvas/caso-linear/Teste.py
mauriciomoccelin/metodos-numericos
67bdb305d4db8a59943a17128ba2c06fefcc4a36
[ "MIT" ]
3
2019-07-03T18:05:44.000Z
2020-02-04T16:37:21.000Z
algoritmos/ajuste-curvas/caso-linear/Teste.py
mauriciomoccelin/metodos-numericos
67bdb305d4db8a59943a17128ba2c06fefcc4a36
[ "MIT" ]
null
null
null
algoritmos/ajuste-curvas/caso-linear/Teste.py
mauriciomoccelin/metodos-numericos
67bdb305d4db8a59943a17128ba2c06fefcc4a36
[ "MIT" ]
null
null
null
from RegressaoLinear import RegressaoLinear planoCartesiano = { 0.5: 4.4, 2.8: 1.8, 4.2: 1.0, 6.7: 0.4, 8.3: 0.2 } regressaoLinear = RegressaoLinear(planoCartesiano) print(regressaoLinear.gerar_equacao())
16.692308
50
0.705069
32
217
4.75
0.5
0.394737
0
0
0
0
0
0
0
0
0
0.10929
0.156682
217
12
51
18.083333
0.721311
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0.1
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
d3f026b7191d98da19a4514bcacdc0c4c65fbbab
433
py
Python
UDEMY-Learn Python Programming Masterclass/Section 3-Stepping into the World of Python/exercise4.py
Sanjay9921/Python
05ac161dd46f9b4731a5c14ff5ef52adb705e8e6
[ "MIT" ]
null
null
null
UDEMY-Learn Python Programming Masterclass/Section 3-Stepping into the World of Python/exercise4.py
Sanjay9921/Python
05ac161dd46f9b4731a5c14ff5ef52adb705e8e6
[ "MIT" ]
null
null
null
UDEMY-Learn Python Programming Masterclass/Section 3-Stepping into the World of Python/exercise4.py
Sanjay9921/Python
05ac161dd46f9b4731a5c14ff5ef52adb705e8e6
[ "MIT" ]
null
null
null
#Integer division #You have a shop selling buns for $2.40 each. A customer comes in with $15, and would like to buy as many buns as possible. #Complete the code to calculate how many buns the customer can afford. #Note: Your customer won't be happy if you try to sell them part of a bun. #Print only the result, any o...
36.083333
124
0.745958
83
433
3.86747
0.698795
0.018692
0
0
0
0
0
0
0
0
0
0.028818
0.198614
433
12
125
36.083333
0.896254
0.840647
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
310233a1e9f02803dc17a9f40655a8b55df02a4a
1,657
py
Python
weeklypedia/publish.py
Nintendofan885/weeklypedia
512be3814a693d7ba3044bda7965e7a5d3d137fd
[ "Unlicense" ]
null
null
null
weeklypedia/publish.py
Nintendofan885/weeklypedia
512be3814a693d7ba3044bda7965e7a5d3d137fd
[ "Unlicense" ]
null
null
null
weeklypedia/publish.py
Nintendofan885/weeklypedia
512be3814a693d7ba3044bda7965e7a5d3d137fd
[ "Unlicense" ]
null
null
null
# -*- coding: utf-8 -*- import os import json from os.path import dirname from argparse import ArgumentParser from clastic.render import AshesRenderFactory from common import DEBUG, DEBUG_LIST_ID, SENDKEY from web import (comma_int, ISSUE_TEMPLATES_PATH) from bake import (Issue, b...
31.264151
86
0.674713
222
1,657
4.720721
0.355856
0.040076
0.042939
0.038168
0.097328
0.097328
0.097328
0.097328
0.097328
0.097328
0
0.000781
0.22752
1,657
52
87
31.865385
0.817969
0.012674
0
0
0
0
0.077723
0
0
0
0
0
0
0
null
null
0
0.195122
null
null
0.04878
0
0
0
null
0
0
0
0
0
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
310c8eff631db50cd8a05c87d1793446b7ad450c
4,065
py
Python
examples/fixed_play.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
6
2021-05-19T10:25:36.000Z
2021-12-27T03:30:33.000Z
examples/fixed_play.py
wwxFromTju/malib
7cd2a4af55cf1f56da8854e26ea7a4f3782ceea2
[ "MIT" ]
1
2021-05-29T04:51:37.000Z
2021-05-30T06:18:10.000Z
examples/fixed_play.py
ying-wen/malib_deprecated
875338b81c4d87064ad31201f461ef742db05f25
[ "MIT" ]
1
2021-05-31T16:16:12.000Z
2021-05-31T16:16:12.000Z
# Created by yingwen at 2019-03-16 from multiprocessing import Process from malib.agents.agent_factory import * from malib.environments import DifferentialGame from malib.logger.utils import set_logger from malib.samplers.sampler import MASampler from malib.trainers import MATrainer from malib.utils.random import set_...
28.229167
85
0.613284
484
4,065
4.75
0.241736
0.095694
0.139191
0.165289
0.408873
0.406699
0.406699
0.391475
0.391475
0.391475
0
0.014648
0.311439
4,065
143
86
28.426573
0.806717
0.023862
0
0.311475
0
0
0.040121
0.011607
0
0
0
0
0.008197
1
0.032787
false
0
0.057377
0
0.155738
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
310e8a0bf4712762b03a5c5b70b449b48e5c9b02
776
py
Python
hypha/apply/projects/templatetags/payment_request_tools.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
16
2020-01-24T11:52:46.000Z
2021-02-02T22:21:04.000Z
hypha/apply/projects/templatetags/payment_request_tools.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
538
2020-01-24T08:27:13.000Z
2021-04-05T07:15:01.000Z
hypha/apply/projects/templatetags/payment_request_tools.py
maxpearl/hypha
e181ebadfb744aab34617bb766e746368d6f2de0
[ "BSD-3-Clause" ]
17
2020-02-07T14:55:54.000Z
2021-04-04T19:32:38.000Z
import decimal from django import template register = template.Library() @register.simple_tag def can_change_status(payment_request, user): return payment_request.can_user_change_status(user) @register.simple_tag def can_delete(payment_request, user): return payment_request.can_user_delete(user) @regist...
20.972973
59
0.748711
103
776
5.38835
0.378641
0.151351
0.122523
0.144144
0.425225
0.340541
0.243243
0.243243
0
0
0
0.009331
0.171392
776
36
60
21.555556
0.85381
0.068299
0
0.181818
0
0
0.004161
0
0
0
0
0
0
1
0.181818
false
0
0.090909
0.136364
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
311249ddd416775b05d1978d206331804a252949
3,016
py
Python
arguments.py
nudles/a2c
6225845ab450b5ea03b6a066455b0446d3f92ed0
[ "MIT" ]
null
null
null
arguments.py
nudles/a2c
6225845ab450b5ea03b6a066455b0446d3f92ed0
[ "MIT" ]
4
2021-03-19T03:19:18.000Z
2022-01-13T01:35:04.000Z
arguments.py
nudles/a2c
6225845ab450b5ea03b6a066455b0446d3f92ed0
[ "MIT" ]
null
null
null
import argparse import torch def get_args(): parser = argparse.ArgumentParser(description='RL') parser.add_argument('--algo', default='a2c', help='algorithm to use: a2c | ppo ') parser.add_argument('--lr', type=float, default=7e-5, help='learning rate (defau...
52
94
0.590186
369
3,016
4.718157
0.365854
0.108558
0.205055
0.039058
0.163125
0.141298
0.048248
0
0
0
0
0.028131
0.269231
3,016
58
95
52
0.761797
0
0
0.038462
0
0
0.326483
0
0
0
0
0
0.019231
1
0.019231
false
0
0.038462
0
0.076923
0.019231
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3117a458a92a3f74cb40891238fd7657a360b0d8
207
py
Python
tests/test_backup.py
KonstantinPankratov/Backupy
bfbbc97242bbf3c16da5454b5ff8741bfafa74c0
[ "MIT" ]
1
2020-02-12T12:58:28.000Z
2020-02-12T12:58:28.000Z
tests/test_backup.py
KonstantinPankratov/Backupy
bfbbc97242bbf3c16da5454b5ff8741bfafa74c0
[ "MIT" ]
null
null
null
tests/test_backup.py
KonstantinPankratov/Backupy
bfbbc97242bbf3c16da5454b5ff8741bfafa74c0
[ "MIT" ]
null
null
null
import os from Backupy import Backupy def test_backup(): backup = Backupy() backup.add_directory('./') backup.start() assert os.path.exists(backup.filename) os.remove(backup.filename)
17.25
42
0.690821
26
207
5.423077
0.576923
0.198582
0
0
0
0
0
0
0
0
0
0
0.188406
207
11
43
18.818182
0.839286
0
0
0
0
0
0.009662
0
0
0
0
0
0.125
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
3129453a0038e24bbee80e8d29bce23d328268df
4,114
py
Python
quake_reporter/quake_datafeed.py
shandozer/quake_reporter
4e1eed5180b2f7dc3662b61ef32ef0b69c0fae01
[ "MIT" ]
null
null
null
quake_reporter/quake_datafeed.py
shandozer/quake_reporter
4e1eed5180b2f7dc3662b61ef32ef0b69c0fae01
[ "MIT" ]
null
null
null
quake_reporter/quake_datafeed.py
shandozer/quake_reporter
4e1eed5180b2f7dc3662b61ef32ef0b69c0fae01
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ __author__ = Shannon T. Buckley, 10/8/16 Python 2.7.x """ import json import urllib2 import datetime import argparse VERSION = '0.2.1' def get_parser(): parser = argparse.ArgumentParser() parser.add_argument('-m', '--magnitude', action="store", type=float, ...
25.395062
113
0.564657
518
4,114
4.337838
0.368726
0.032043
0.028482
0.012461
0.006231
0
0
0
0
0
0
0.021103
0.285853
4,114
161
114
25.552795
0.743703
0.025523
0
0.059524
0
0.02381
0.251521
0.009888
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.178571
0
0
0
null
0
0
0
0
0
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
312a5215e0e355ad2b4d5e01dca1809280fd23f6
647
py
Python
peframe/modules/apialert.py
ki1556ki/MJUOpenSource
4087db825bbc7c460f8275428703e5c7066a84ae
[ "MIT" ]
null
null
null
peframe/modules/apialert.py
ki1556ki/MJUOpenSource
4087db825bbc7c460f8275428703e5c7066a84ae
[ "MIT" ]
null
null
null
peframe/modules/apialert.py
ki1556ki/MJUOpenSource
4087db825bbc7c460f8275428703e5c7066a84ae
[ "MIT" ]
1
2020-07-14T03:39:06.000Z
2020-07-14T03:39:06.000Z
# -*- coding: utf-8 -*- # json 형식 사용을 위한 임폴트 import json # get함수, 각각의 반복문을 통해 apialert_found안에 문자열 삽입후 리스트형식으로 정렬하여 리턴값 반환. def get(pe, strings_match): alerts = strings_match['apialert'] apialert_found = [] # pe에 DIRECTORY_ENTRY_IMPORT라는 변수가 있는지 확인하여 있으면 참 없으면 거짓. if hasattr(pe, 'DIRECTORY_ENTRY_IMPORT'):...
32.35
75
0.693972
98
647
4.44898
0.663265
0.08945
0.073395
0.100917
0.114679
0
0
0
0
0
0
0.001965
0.213292
647
19
76
34.052632
0.854617
0.374034
0
0
0
0
0.079156
0.058047
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
312bfac4cf2875d133c13b3a00e0ae85f3c76c44
2,084
py
Python
tests/conftest.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
null
null
null
tests/conftest.py
Ninjagod1251/ape
9b40ef15f25362ddb83cb6d571d60cab041fce4a
[ "Apache-2.0" ]
null
null
null
import shutil from pathlib import Path from tempfile import mkdtemp import pytest from click.testing import CliRunner import ape # NOTE: Ensure that we don't use local paths for these ape.config.DATA_FOLDER = Path(mkdtemp()).resolve() ape.config.PROJECT_FOLDER = Path(mkdtemp()).resolve() @pytest.fixture(scope="ses...
21.265306
93
0.65739
217
2,084
6.253456
0.410138
0.114959
0.119381
0.165807
0.238025
0.081061
0
0
0
0
0
0.101778
0.21737
2,084
97
94
21.484536
0.730227
0.035509
0
0.181818
0
0
0.216741
0.133533
0
0
0
0
0
1
0.181818
false
0
0.090909
0.015152
0.287879
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
312c17d992442c57e3032d03093f0ff6832854f9
1,053
py
Python
recipes/Python/576543_Prime_Number_Generator_Checker/recipe-576543.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/576543_Prime_Number_Generator_Checker/recipe-576543.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/576543_Prime_Number_Generator_Checker/recipe-576543.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
# # prime number generator # This program gets two number as input # and prints # Prime numbers in the range # Actual number of primes in the range # and Estimation based on formula # n # pi(n)= ------- # log(n) # pi(n)=number of primes less than n...
30.970588
73
0.531814
165
1,053
3.345455
0.442424
0.043478
0.036232
0
0
0
0
0
0
0
0
0.020438
0.349478
1,053
33
74
31.909091
0.785401
0.474834
0
0
0
0
0.071295
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.071429
0
0
0
null
0
0
0
0
0
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
31305c3885e35daac8ecf91b5ede410dc7a3d63d
5,497
py
Python
my_modes/ChaseLoop.py
mjocean/T2Game
d85d1a9b9adb1e3836548ea60befac02b0907f6f
[ "MIT" ]
null
null
null
my_modes/ChaseLoop.py
mjocean/T2Game
d85d1a9b9adb1e3836548ea60befac02b0907f6f
[ "MIT" ]
null
null
null
my_modes/ChaseLoop.py
mjocean/T2Game
d85d1a9b9adb1e3836548ea60befac02b0907f6f
[ "MIT" ]
null
null
null
import procgame.game from procgame.game import AdvancedMode import logging class ChaseLoop(procgame.game.AdvancedMode): """ Example of T2 "Chase Loop" functionality (described in the rules PDF on page J) TODO: Sound effects, other visual feedback?? """ def __init__(self, game): super(...
36.646667
242
0.62525
721
5,497
4.603329
0.238558
0.043387
0.062669
0.040072
0.360651
0.288942
0.207894
0.180476
0.153058
0.137993
0
0.020398
0.259778
5,497
149
243
36.892617
0.795281
0.108059
0
0.201923
0
0
0.056775
0
0
0
0.004221
0.006711
0
0
null
null
0.019231
0.028846
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