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
69e2602b5cd8be3a468dc528c8589456edad7b08
10,224
py
Python
changelog_control.py
jag-k/alfred-appstorrent
c4f20fd2defa973559530f42fff1073574b17124
[ "MIT" ]
7
2020-06-20T19:59:13.000Z
2021-08-06T18:39:57.000Z
changelog_control.py
jag-k/alfred-appstorrent
c4f20fd2defa973559530f42fff1073574b17124
[ "MIT" ]
6
2020-09-29T18:09:06.000Z
2020-10-08T11:31:26.000Z
changelog_control.py
jag-k/alfred-appstorrent
c4f20fd2defa973559530f42fff1073574b17124
[ "MIT" ]
null
null
null
# coding=utf-8 from __future__ import unicode_literals import subprocess import sys import re from io import open from os import getenv from urllib import urlopen from json import loads import datetime # ==== CONSTANTS ==== Str = str or unicode CHANGELOG_FILENAME = "CHANGELOG.md" UNRELEASED_WORD = "Unreleased" ADD...
29.463977
110
0.536287
1,170
10,224
4.561538
0.217094
0.019487
0.013116
0.010305
0.100993
0.076822
0.066329
0.045719
0.045719
0.032228
0
0.006025
0.301937
10,224
346
111
29.549133
0.741768
0.09732
0
0.10757
0
0.015936
0.177821
0.027098
0
0
0
0
0
0
null
null
0
0.035857
null
null
0.011952
0
0
0
null
0
0
0
0
0
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
69f6ba3283d024df738a50930502566347b9538f
169
py
Python
chat/smessage/forms.py
SaileshShahri/messaging-app
eecaf44d2ee4a439000af2f33a1c95d056f79edd
[ "MIT" ]
null
null
null
chat/smessage/forms.py
SaileshShahri/messaging-app
eecaf44d2ee4a439000af2f33a1c95d056f79edd
[ "MIT" ]
null
null
null
chat/smessage/forms.py
SaileshShahri/messaging-app
eecaf44d2ee4a439000af2f33a1c95d056f79edd
[ "MIT" ]
null
null
null
from django import forms from .models import Message class MessageForm(forms.ModelForm): class Meta: model = Message fields = [ 'message', ]
13
36
0.639053
18
169
6
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.284024
169
12
37
14.083333
0.892562
0
0
0
0
0
0.044586
0
0
0
0
0
0
1
0
false
0
0.25
0
0.5
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
69fd743d1cdd206d1b6cc6026c4ccc4ad68aa350
3,612
py
Python
metrics.py
jcchuks/siamese-triplet
2a534cce6ec38113ea46aab02fb27b4402e14755
[ "BSD-3-Clause" ]
null
null
null
metrics.py
jcchuks/siamese-triplet
2a534cce6ec38113ea46aab02fb27b4402e14755
[ "BSD-3-Clause" ]
null
null
null
metrics.py
jcchuks/siamese-triplet
2a534cce6ec38113ea46aab02fb27b4402e14755
[ "BSD-3-Clause" ]
null
null
null
import numpy as np class Metric: def __init__(self): self._metric_name = "" pass def __call__(self, outputs, target, loss): raise NotImplementedError def reset(self): raise NotImplementedError def value(self): raise NotImplementedError def name(self): ...
27.363636
101
0.602713
415
3,612
5.139759
0.236145
0.059072
0.033755
0.028129
0.227379
0.182372
0.144398
0.098453
0.071261
0.071261
0
0.015855
0.284053
3,612
131
102
27.572519
0.808971
0.131506
0
0.518519
0
0
0.047367
0
0
0
0
0
0.012346
1
0.271605
false
0.012346
0.012346
0.074074
0.45679
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
69fee72991b44cb6ea8f9fe9a226849224f161fe
2,172
py
Python
tensorflow_transform/beam/vocabulary_integration_v2_test.py
Mikehem/tfx
e803ea6778d8550ec77dcc92bc8172f1a3a90f38
[ "Apache-2.0" ]
1
2021-05-10T10:52:06.000Z
2021-05-10T10:52:06.000Z
tensorflow_transform/beam/vocabulary_integration_v2_test.py
Mikehem/tfx
e803ea6778d8550ec77dcc92bc8172f1a3a90f38
[ "Apache-2.0" ]
null
null
null
tensorflow_transform/beam/vocabulary_integration_v2_test.py
Mikehem/tfx
e803ea6778d8550ec77dcc92bc8172f1a3a90f38
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
39.490909
90
0.774401
288
2,172
5.586806
0.454861
0.039776
0.04972
0.065258
0.295214
0.221255
0.188937
0.188937
0.188937
0.188937
0
0.017915
0.151934
2,172
54
91
40.222222
0.855592
0.414365
0
0.153846
0
0
0.071257
0
0
0
0
0.018519
0.153846
1
0.115385
false
0
0.269231
0
0.5
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
0e015f9d259d3f653b6072bbaa828dd32683db9a
784
py
Python
api/app/route/base.py
hexa4313/velov-companion-server
570c246029002d83d7d7a6a729f29dab9dfa9909
[ "MIT" ]
null
null
null
api/app/route/base.py
hexa4313/velov-companion-server
570c246029002d83d7d7a6a729f29dab9dfa9909
[ "MIT" ]
null
null
null
api/app/route/base.py
hexa4313/velov-companion-server
570c246029002d83d7d7a6a729f29dab9dfa9909
[ "MIT" ]
null
null
null
import datetime import logging from flask import Blueprint, abort from flask.ext.restful import reqparse from sqlalchemy import func, and_ from flask.ext import restful from model.token import Token blueprint = Blueprint('velov-companion-api', __name__) api = restful.Api(blueprint, prefix="/api") def verify_auth():...
24.5
70
0.709184
100
784
5.39
0.51
0.044527
0.044527
0
0
0
0
0
0
0
0
0.004666
0.179847
784
31
71
25.290323
0.833593
0
0
0
0
0
0.072704
0
0
0
0
0
0
1
0.045455
false
0
0.318182
0
0.409091
0.136364
0
0
0
null
0
0
0
0
0
0
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
0e0548a8d3a92b5b995758fe728c69dd18131df3
1,724
py
Python
api/migrations/0009_auto_20180606_1031.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
1
2019-05-11T14:45:47.000Z
2019-05-11T14:45:47.000Z
api/migrations/0009_auto_20180606_1031.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
6
2021-03-18T20:45:02.000Z
2021-09-22T17:41:38.000Z
api/migrations/0009_auto_20180606_1031.py
jcasmer/grow_control_backend-
6a18a137e0a16138607413925727d7e5f8486777
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.0.5 on 2018-06-06 10:31 import django.core.validators from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('api', '0008_auto_20180527_2054'), ] operations = [ ...
36.680851
244
0.631671
169
1,724
6.337278
0.449704
0.056022
0.112045
0.093371
0.353875
0.353875
0.204482
0.204482
0.149393
0.149393
0
0.030581
0.241299
1,724
46
245
37.478261
0.788226
0.026102
0
0.425
1
0
0.129994
0.013715
0
0
0
0
0
1
0
false
0
0.1
0
0.175
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
0e07691e0362915802340622d1448390e3941f77
9,658
py
Python
tests/test_bus.py
MaLiN2223/py_proj_transport
4e0ee156ef4b42ddb5e0971ca0603b39b0796785
[ "MIT" ]
null
null
null
tests/test_bus.py
MaLiN2223/py_proj_transport
4e0ee156ef4b42ddb5e0971ca0603b39b0796785
[ "MIT" ]
null
null
null
tests/test_bus.py
MaLiN2223/py_proj_transport
4e0ee156ef4b42ddb5e0971ca0603b39b0796785
[ "MIT" ]
null
null
null
""" This file contains test for Bus class """ import sys import pytest from simulation import Bus from simulation.line import Line, LineStop from simulation.passenger_group import PassengersGroup from utils.TestsBase import TestBase from utils.helpers import get_full_class_name if sys.version_info[0] >= 3: impor...
37.003831
117
0.593601
1,231
9,658
4.454915
0.120227
0.071116
0.043399
0.040117
0.619438
0.587163
0.520058
0.486506
0.478483
0.45733
0
0.027628
0.291675
9,658
260
118
37.146154
0.77401
0.095672
0
0.483146
0
0
0.025699
0
0
0
0
0
0.308989
1
0.067416
false
0.196629
0.061798
0
0.151685
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
0e0be5076122f19fd5801f7d2148d5a033f67ca3
1,014
py
Python
mmdet/datasets/text_dataset.py
adolf69/mmdetection
e47c0759b2bbf57bc604338aa389e22e2247f76c
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/text_dataset.py
adolf69/mmdetection
e47c0759b2bbf57bc604338aa389e22e2247f76c
[ "Apache-2.0" ]
null
null
null
mmdet/datasets/text_dataset.py
adolf69/mmdetection
e47c0759b2bbf57bc604338aa389e22e2247f76c
[ "Apache-2.0" ]
null
null
null
# -*- coding:utf-8 -*- # @author :adolf import json from mmdet.datasets.builder import DATASETS from mmdet.datasets.custom import CustomDataset @DATASETS.register_module() class OcrTextDataset(CustomDataset): CLASSES = ('text',) def load_annotations(self, ann_file): data_infos = list() with ...
28.971429
65
0.556213
115
1,014
4.695652
0.504348
0.090741
0.061111
0.055556
0.096296
0.096296
0
0
0
0
0
0.00885
0.331361
1,014
34
66
29.823529
0.787611
0.293886
0
0
0
0
0.01138
0
0
0
0
0
0
1
0.125
false
0
0.1875
0.0625
0.5625
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
0e0c114968e6ac483c8db3398aa16cc1642c759b
25,531
py
Python
detect_rap.py
drsaunders/RapDetector
330142bfcbb01493b257a671e5cbe00f8863b980
[ "MIT" ]
null
null
null
detect_rap.py
drsaunders/RapDetector
330142bfcbb01493b257a671e5cbe00f8863b980
[ "MIT" ]
null
null
null
detect_rap.py
drsaunders/RapDetector
330142bfcbb01493b257a671e5cbe00f8863b980
[ "MIT" ]
null
null
null
# coding: utf-8 # In[7]: get_ipython().magic(u'matplotlib inline') get_ipython().magic(u"config InlineBackend.figure_formats = {'svg',}") import numpy as np import pandas as pd from IPython.display import display from sklearn.metrics import confusion_matrix from sklearn import metrics from sklearn import cross_vali...
49.768031
931
0.752693
4,096
25,531
4.59082
0.226074
0.022974
0.00819
0.015422
0.201021
0.137683
0.093757
0.072963
0.072963
0.070198
0
0.035633
0.153617
25,531
512
932
49.865234
0.83456
0.604324
0
0.181319
0
0
0.083746
0.012657
0
0
0
0
0
0
null
null
0
0.126374
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
3852b4d26378a4638d112236c2283169e3b99de6
2,018
py
Python
rocketbear/arc.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
1
2015-04-13T09:59:21.000Z
2015-04-13T09:59:21.000Z
rocketbear/arc.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
null
null
null
rocketbear/arc.py
wallarelvo/rocketbear
905c24e4243f178a50907ae965de68dc119de25d
[ "Apache-2.0" ]
null
null
null
class Arc(object): """ Python representation of a constraint arc """ def __init__(self, left, right): """ Since the arc is a directed edge, the left and right components of the arc are initalized where the arc travels from left to right. """ self.left = left ...
28.422535
77
0.575322
252
2,018
4.527778
0.31746
0.03681
0.021034
0.021034
0.038563
0.038563
0
0
0
0
0
0.000769
0.355798
2,018
70
78
28.828571
0.876923
0.35332
0
0.129032
0
0
0
0
0
0
0
0
0
1
0.225806
false
0
0
0
0.516129
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
38543b2a768ab51f369264304ce2a740dcbb41e9
1,307
py
Python
ping.py
me450722457/UsefulScripts
5feab8fe39d3e55d13c0435f52e612975d35ae82
[ "Unlicense" ]
null
null
null
ping.py
me450722457/UsefulScripts
5feab8fe39d3e55d13c0435f52e612975d35ae82
[ "Unlicense" ]
null
null
null
ping.py
me450722457/UsefulScripts
5feab8fe39d3e55d13c0435f52e612975d35ae82
[ "Unlicense" ]
null
null
null
import threading import os import sys import time from netaddr import IPNetwork, core from functools import wraps ip_list = [] class MyPing(threading.Thread): def __init__(self, func, args, name=''): super(MyPing, self).__init__() self.name = name self.func = func self.args = args...
20.107692
60
0.581484
183
1,307
3.978142
0.398907
0.043956
0.032967
0.032967
0.046703
0.046703
0
0
0
0
0
0.005394
0.290742
1,307
64
61
20.421875
0.779935
0.011477
0
0.040816
0
0
0.075194
0
0
0
0
0.015625
0
1
0.142857
false
0
0.122449
0
0.306122
0.061224
0
0
0
null
0
0
0
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
38557fcf7501cdafab71dce206c46a282fd16e1c
12,286
py
Python
client.py
SamJakob/PythonTCPSocketsExample
c0cf9f150bbcc6c285fc7ff16d4e1c171fdaf974
[ "MIT" ]
null
null
null
client.py
SamJakob/PythonTCPSocketsExample
c0cf9f150bbcc6c285fc7ff16d4e1c171fdaf974
[ "MIT" ]
null
null
null
client.py
SamJakob/PythonTCPSocketsExample
c0cf9f150bbcc6c285fc7ff16d4e1c171fdaf974
[ "MIT" ]
null
null
null
import sys from multiprocessing import Process from typing import Optional from socket import socket, MSG_PEEK, AF_INET, SOCK_STREAM # Import Queue from our utilities package. # This should probably only be necessary on macOS, but is probably worth keeping for # cross-compatability. from utils import Queue # Import ...
44.839416
107
0.601253
1,617
12,286
4.522573
0.263451
0.015042
0.014221
0.013127
0.057979
0.033639
0.007384
0
0
0
0
0.003461
0.341446
12,286
273
108
45.003663
0.900012
0.568859
0
0.070423
0
0
0.046862
0
0
0
0
0.010989
0
1
0.098592
false
0.014085
0.084507
0
0.239437
0.070423
0
0
0
null
0
0
0
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
3859e5e0bb37161acf82a138feb19a1623acebf0
5,307
py
Python
pysnmp/ONEACCESS-DOT11-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/ONEACCESS-DOT11-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/ONEACCESS-DOT11-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module ONEACCESS-DOT11-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/ONEACCESS-DOT11-MIB # Produced by pysmi-0.3.4 at Mon Apr 29 20:25:00 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default...
108.306122
749
0.778406
536
5,307
7.703358
0.268657
0.006781
0.009445
0.012594
0.275854
0.174619
0.174619
0.171954
0.168806
0.168806
0
0.101294
0.082909
5,307
48
750
110.5625
0.747072
0.062559
0
0.051282
0
0
0.195328
0.029199
0
0
0
0
0
1
0
false
0
0.205128
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
385c3826467b6c84d167d77e57a296cc50ae0df4
7,067
py
Python
control4/misc/control_sphinx_ext.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
control4/misc/control_sphinx_ext.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
control4/misc/control_sphinx_ext.py
sfpd/rlreloaded
650c64ec22ad45996c8c577d85b1a4f20aa1c692
[ "MIT" ]
null
null
null
from docutils import nodes from docutils.parsers.rst import Directive, directives import os.path as osp import sys,traceback from StringIO import StringIO import codecs NAMESPACE = {} def eval_role(name, rawtext, text, lineno, inliner, options={}, content=[]): """ :param name: The role name used in the documen...
38.407609
178
0.590916
787
7,067
5.25413
0.311309
0.039903
0.033857
0.056106
0.046433
0.046433
0.046433
0.046433
0.046433
0.046433
0
0.0051
0.306353
7,067
183
179
38.617486
0.838433
0.038772
0
0.165468
0
0
0.106835
0
0
0
0
0
0
0
null
null
0
0.05036
null
null
0.007194
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
386842476a1daa56e0fda5ade01bafa8edb0e255
1,329
py
Python
Decipher.py
Aadit-Bhojgi/PyPher
473d61aa0b12f308686668bd401a314bdf5c4c53
[ "Apache-2.0" ]
null
null
null
Decipher.py
Aadit-Bhojgi/PyPher
473d61aa0b12f308686668bd401a314bdf5c4c53
[ "Apache-2.0" ]
null
null
null
Decipher.py
Aadit-Bhojgi/PyPher
473d61aa0b12f308686668bd401a314bdf5c4c53
[ "Apache-2.0" ]
null
null
null
class Decipher: def __init__(self, data='', password=''): self.data = data self.password = password self.result = False def decipher_password(self): # For authentication(Deciphering your password).. helper = self.data.split('*/*/') count, separator, compare, help...
29.533333
62
0.498871
132
1,329
4.848485
0.287879
0.09375
0.0375
0.05625
0.234375
0.234375
0.234375
0.1375
0.1375
0.1375
0
0.0086
0.387509
1,329
44
63
30.204545
0.777641
0.054176
0
0.210526
0
0
0.013557
0
0
0
0
0
0
1
0.078947
false
0.131579
0
0
0.157895
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3873d3442eb7e09f07796379e1457836b3f28bcb
675
py
Python
tests/unit/telegramaccountingbot/bot/test_text_generator.py
ilyasku/TelegramAccountingBot
49a12ace7018b386df1d3764bc63befe46c8c9dd
[ "MIT" ]
null
null
null
tests/unit/telegramaccountingbot/bot/test_text_generator.py
ilyasku/TelegramAccountingBot
49a12ace7018b386df1d3764bc63befe46c8c9dd
[ "MIT" ]
null
null
null
tests/unit/telegramaccountingbot/bot/test_text_generator.py
ilyasku/TelegramAccountingBot
49a12ace7018b386df1d3764bc63befe46c8c9dd
[ "MIT" ]
null
null
null
import unittest from telegramaccountingbot.bot.text_generator import balance_dict_to_message class TestDictToMessage(unittest.TestCase): def test_dict_to_message(self): dict_id_to_name = {"0": "Hugo", "1": "Ilyas"} balance_dict = {"1": 1280, "0"...
33.75
76
0.567407
76
675
4.802632
0.526316
0.120548
0.106849
0.221918
0
0
0
0
0
0
0
0.064795
0.314074
675
19
77
35.526316
0.723542
0
0
0
0
0
0.115727
0
0
0
0
0
0.214286
1
0.071429
false
0
0.142857
0
0.285714
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
38784a35317635abc80a8ab9611def85751977d0
950
py
Python
ietf/secr/telechat/tests.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2015-09-02T19:53:12.000Z
2015-09-02T19:53:12.000Z
ietf/secr/telechat/tests.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
ietf/secr/telechat/tests.py
wpjesus/codematch
eee7405259cce9239ea0545a2a1300ee1accfe94
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
import datetime from django.core.urlresolvers import reverse from ietf.utils.test_utils import TestCase from ietf.iesg.models import TelechatDate SECR_USER='secretary' def augment_data(): TelechatDate.objects.create(date=datetime.datetime.today()) class MainTestCase(TestCase): def test_main(self): ...
28.787879
78
0.672632
113
950
5.566372
0.433628
0.063593
0.047695
0.073132
0.372019
0.372019
0.372019
0.372019
0.372019
0.372019
0
0.009247
0.203158
950
32
79
29.6875
0.821664
0.02
0
0.333333
0
0
0.119073
0
0
0
0
0
0.083333
1
0.125
false
0.083333
0.166667
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
3879d53e173ff4567205a0bbb3f6fa648895cd6e
10,853
py
Python
gengeocoinkey.py
f1l1b0x/geokeytool
d8aa76dd1e2bfc31f846c805b071cf597938121d
[ "MIT" ]
null
null
null
gengeocoinkey.py
f1l1b0x/geokeytool
d8aa76dd1e2bfc31f846c805b071cf597938121d
[ "MIT" ]
null
null
null
gengeocoinkey.py
f1l1b0x/geokeytool
d8aa76dd1e2bfc31f846c805b071cf597938121d
[ "MIT" ]
null
null
null
# https://github.com/zeltsi/Bitpy/blob/master/Utils/keyUtils/keys.py # Copyright (C) Philipp Andreas Angele - All Rights Reserved # Unauthorized copying of this file, via any medium is strictly prohibited # Proprietary and confidential # Written by Philipp Andreas Angele <philipp_angele@gmx.de>, June 2019 import...
32.887879
149
0.547406
1,138
10,853
5.093146
0.262742
0.031056
0.020704
0.044859
0.195825
0.189268
0.116632
0.077985
0.070221
0.040718
0
0.053038
0.308578
10,853
330
150
32.887879
0.71935
0.280015
0
0.103659
0
0
0.060262
0
0.054878
0
0
0
0
1
0.054878
false
0.054878
0.073171
0.012195
0.195122
0.030488
0
0
0
null
0
0
0
0
0
0
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
387b1619e6fcab078fdb99db3c0237363dfbb1ac
3,473
py
Python
advertising/models.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
124
2015-08-17T19:41:16.000Z
2022-01-12T00:25:52.000Z
advertising/models.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
62
2015-08-17T02:13:20.000Z
2020-04-17T19:07:40.000Z
advertising/models.py
PURNA-ROCK/pythondigest
ba21758a25a47de19800b208c420f16d6688a16b
[ "MIT" ]
73
2015-08-18T13:50:47.000Z
2021-09-27T14:09:47.000Z
# -*- encoding: utf-8 -*- import datetime from django.core.exceptions import ValidationError from django.core.urlresolvers import reverse, NoReverseMatch from django.db import models from django.utils.translation import ugettext_lazy as _ class AdType(models.Model): title = models.CharField(max_length=255, verbo...
31.288288
75
0.627699
400
3,473
5.1825
0.285
0.132658
0.086831
0.115774
0.324168
0.263386
0.251327
0.149059
0.108538
0.085384
0
0.012461
0.260582
3,473
110
76
31.572727
0.794782
0.01958
0
0.204819
0
0
0.067607
0
0
0
0
0
0
1
0.096386
false
0
0.060241
0.060241
0.542169
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
388193f12f835ae71d50ad1f01b8615df9d08641
19,113
py
Python
preprocess_h5.py
lnsndn/neural-word-search
cae82593a546590ff272b6062004d66dd2497337
[ "MIT" ]
5
2018-12-15T00:02:05.000Z
2021-07-06T14:40:32.000Z
preprocess_h5.py
lnsndn/neural-word-search
cae82593a546590ff272b6062004d66dd2497337
[ "MIT" ]
4
2019-07-31T15:43:41.000Z
2022-03-09T09:57:48.000Z
preprocess_h5.py
lnsndn/neural-word-search
cae82593a546590ff272b6062004d66dd2497337
[ "MIT" ]
7
2019-01-04T10:50:20.000Z
2022-01-18T18:03:01.000Z
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ Created on Thu Sep 29 14:47:42 2016 @author: tomas """ import string import os import argparse import copy import json from Queue import Queue from threading import Thread, Lock import h5py import torch import numpy as np from skimage.io import imread, imsave from sk...
35.658582
136
0.580861
2,531
19,113
4.203082
0.152904
0.026885
0.018425
0.011844
0.364166
0.301748
0.245723
0.218274
0.187065
0.178981
0
0.020093
0.299534
19,113
535
137
35.725234
0.7745
0.061424
0
0.24878
0
0.002439
0.078242
0.002877
0
0
0
0
0.002439
0
null
null
0
0.046341
null
null
0.012195
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3898d2b33f20c0408217004ca6b429584f948edc
147
py
Python
dictionary-comprehension-DEMO.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
dictionary-comprehension-DEMO.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
dictionary-comprehension-DEMO.py
robertbyers1111/python
e87558f2432f0a4a86f17c47c6b19e1345625b83
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # Demo of a dictionary comprehension d={i:chr(i) for i in range(ord('a'),ord('z')+1)} for k,v in d.items(): print(k,':',v)
16.333333
48
0.605442
30
147
2.966667
0.7
0.044944
0
0
0
0
0
0
0
0
0
0.016
0.14966
147
8
49
18.375
0.696
0.353742
0
0
0
0
0.032258
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
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
389a4d83e340938865bdfeecc63c957a0a08b6fc
297
py
Python
Aniyom Ebenezer/Phase 2/DICTIONARY/Day_48_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
6
2020-05-23T19:53:25.000Z
2021-05-08T20:21:30.000Z
Aniyom Ebenezer/Phase 2/DICTIONARY/Day_48_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
8
2020-05-14T18:53:12.000Z
2020-07-03T00:06:20.000Z
Aniyom Ebenezer/Phase 2/DICTIONARY/Day_48_Challenge_Solution/Question 6 Solution.py
CodedLadiesInnovateTech/-python-challenge-solutions
430cd3eb84a2905a286819eef384ee484d8eb9e7
[ "MIT" ]
39
2020-05-10T20:55:02.000Z
2020-09-12T17:40:59.000Z
""" Write a Python script to generate and print a dictionary that contains a number (between 1 and n) in the form (x, x*x). Sample Dictionary ( n = 5) : Expected Output : {1: 1, 2: 4, 3: 9, 4: 16, 5: 25} """ n=int(input("Input a number ")) d = dict() for x in range(1,n+1): d[x]=x*x print(d)
24.75
119
0.619529
61
297
3.016393
0.57377
0.043478
0.032609
0
0
0
0
0
0
0
0
0.068376
0.212121
297
12
120
24.75
0.717949
0.670034
0
0
1
0
0.164835
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
389e4fc008f6a5042544ea4e1a7384b477656522
1,082
py
Python
blog/migrations/0006_auto_20200120_0108.py
SyahmiAmin/belikilo
0a26dadb514683456ea0dbdcbcfcbf65e09d5dbb
[ "bzip2-1.0.6" ]
null
null
null
blog/migrations/0006_auto_20200120_0108.py
SyahmiAmin/belikilo
0a26dadb514683456ea0dbdcbcfcbf65e09d5dbb
[ "bzip2-1.0.6" ]
null
null
null
blog/migrations/0006_auto_20200120_0108.py
SyahmiAmin/belikilo
0a26dadb514683456ea0dbdcbcfcbf65e09d5dbb
[ "bzip2-1.0.6" ]
null
null
null
# Generated by Django 2.2.9 on 2020-01-19 17:08 from django.db import migrations, models import django.db.models.deletion import modelcluster.fields class Migration(migrations.Migration): dependencies = [ ('wagtailimages', '0001_squashed_0021'), ('blog', '0005_blogtagindexpage'), ] oper...
32.787879
157
0.603512
106
1,082
6.037736
0.603774
0.0375
0.04375
0.06875
0
0
0
0
0
0
0
0.037831
0.267098
1,082
32
158
33.8125
0.769231
0.04159
0
0.076923
1
0
0.163285
0.02029
0
0
0
0
0
1
0
false
0
0.115385
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
38a0a7688b2191f450c5e27186aeb4555cc215eb
430
py
Python
setup.py
abhaykhurana1999/interceptor
fa56b26cfd2e1cdd463386dc47af834fdc5e4c49
[ "MIT" ]
null
null
null
setup.py
abhaykhurana1999/interceptor
fa56b26cfd2e1cdd463386dc47af834fdc5e4c49
[ "MIT" ]
null
null
null
setup.py
abhaykhurana1999/interceptor
fa56b26cfd2e1cdd463386dc47af834fdc5e4c49
[ "MIT" ]
null
null
null
import os from os import system import sys import time def has_root(): return os.geteuid() == 0 if not has_root(): print("[-] Please run as Root... Quitting!!") sys.exit(1) else: print("[+] Running as Root") print("[+] Installing Dependencies....") time.sleep(2) system("apt-get update") system("apt...
21.5
77
0.681395
62
430
4.693548
0.645161
0.04811
0.082474
0
0
0
0
0
0
0
0
0.01108
0.160465
430
19
78
22.631579
0.795014
0
0
0
0
0
0.45814
0.051163
0
0
0
0
0
1
0.0625
true
0
0.25
0.0625
0.375
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
38a3e29666798637c619314e3ced02029c75c00f
2,023
py
Python
src/main.py
ffmmjj/analise_anac
e09657dec00be37a80017b4ba91b00e513ab38bf
[ "Apache-2.0" ]
2
2018-09-20T19:11:26.000Z
2020-01-13T18:54:20.000Z
src/main.py
ffmmjj/analise_anac
e09657dec00be37a80017b4ba91b00e513ab38bf
[ "Apache-2.0" ]
null
null
null
src/main.py
ffmmjj/analise_anac
e09657dec00be37a80017b4ba91b00e513ab38bf
[ "Apache-2.0" ]
null
null
null
import sys import numpy as np import pandas as pd import dataset import inflacao import reports def median_pivot_table_by_dttm(df): return pd.pivot_table(df, index=['DTTM'], values=['TARIFA'], aggfunc=np.median) def adjust_for_inflation(df, df_inflacao): df['TARIFA_CORRIGIDA'] = df['TARIFA'] / df_inflacao[...
37.462963
115
0.767177
276
2,023
5.206522
0.318841
0.094642
0.039666
0.029228
0.178845
0.144746
0.111343
0.111343
0.06263
0
0
0.008508
0.128522
2,023
53
116
38.169811
0.80658
0.012852
0
0
0
0
0.126881
0.060181
0
0
0
0.018868
0
1
0.114286
false
0
0.171429
0.028571
0.371429
0.028571
0
0
0
null
0
0
0
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
38a7377c6d0c9852ca8fe0bf5799ca8d95a0353f
1,766
py
Python
server/src/testing/__init__.py
dashhudson/go-links
b0bff29be1d438db6fbbba527959f65a9382fa54
[ "Apache-2.0" ]
176
2019-07-20T00:16:40.000Z
2022-03-29T08:44:11.000Z
server/src/testing/__init__.py
dashhudson/go-links
b0bff29be1d438db6fbbba527959f65a9382fa54
[ "Apache-2.0" ]
45
2019-08-18T17:03:57.000Z
2022-03-21T14:47:43.000Z
server/src/testing/__init__.py
dashhudson/go-links
b0bff29be1d438db6fbbba527959f65a9382fa54
[ "Apache-2.0" ]
44
2019-07-22T07:26:55.000Z
2022-03-30T19:55:39.000Z
import base64 import importlib import multiprocessing import os import subprocess import unittest import requests import webtest import yaml import main LIVE_APP_HOST = 'http://localhost:5010' class TrottoTestCase(unittest.TestCase): def setUp(self): main.db.close_all_sessions() main.db.engine.dispose(...
26.757576
105
0.665345
213
1,766
5.323944
0.460094
0.074074
0.059965
0.055556
0.164903
0.111111
0.05291
0
0
0
0
0.013899
0.225934
1,766
65
106
27.169231
0.815655
0.034541
0
0.045455
0
0
0.121622
0.044066
0
0
0
0.015385
0
1
0.068182
false
0.022727
0.25
0
0.340909
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
38aa262f589865b36bfbe451e7426eb20faa4886
17,909
py
Python
graph_parser/graphml_parser/image_format_checker.py
AxisCommunications/openvx-graph-parser
ee94bae40c80817ff848cc1d76a1e2dc6a9fb348
[ "MIT" ]
11
2019-05-17T17:07:57.000Z
2021-11-30T03:03:04.000Z
graph_parser/graphml_parser/image_format_checker.py
AxisCommunications/openvx-graph-parser
ee94bae40c80817ff848cc1d76a1e2dc6a9fb348
[ "MIT" ]
null
null
null
graph_parser/graphml_parser/image_format_checker.py
AxisCommunications/openvx-graph-parser
ee94bae40c80817ff848cc1d76a1e2dc6a9fb348
[ "MIT" ]
3
2019-07-12T12:10:30.000Z
2021-03-17T15:25:00.000Z
"""Image Format Checker Class """ import re #Module for regexp expressions import parse_common class ImageNodeFormatChecker: """Class that...""" def __init__(self, debug_mode): self.debug_mode = debug_mode #Processed image node lists for id and format #Will be populated after check_gra...
54.43465
205
0.666927
2,327
17,909
4.837989
0.130211
0.079144
0.033221
0.027714
0.425653
0.319328
0.246669
0.199058
0.166815
0.13466
0
0.001595
0.264839
17,909
328
206
54.60061
0.853486
0.056173
0
0.251282
0
0
0.083347
0.012446
0
0
0
0.009146
0
0
null
null
0
0.010256
null
null
0.107692
0
0
0
null
0
0
0
0
0
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
38af9769fc7088ffcdb391160ce66430480f48af
332
py
Python
mysite/mysite/local_settings.py
maryletteroa/practice-space
611b0ac1061f3673048ef16b4d8b1b94111f3ee1
[ "CC-BY-4.0" ]
null
null
null
mysite/mysite/local_settings.py
maryletteroa/practice-space
611b0ac1061f3673048ef16b4d8b1b94111f3ee1
[ "CC-BY-4.0" ]
null
null
null
mysite/mysite/local_settings.py
maryletteroa/practice-space
611b0ac1061f3673048ef16b4d8b1b94111f3ee1
[ "CC-BY-4.0" ]
null
null
null
import os from .settings import * BASE_DIR = os.path.dirname(os.path.dirname(__file__)) DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), } } AUTH_PASSWORD_VALIDATORS = [] #can use simple passwords. do not carry over production ...
20.75
55
0.668675
43
332
4.976744
0.744186
0.084112
0.121495
0
0
0
0
0
0
0
0
0.007463
0.192771
332
16
56
20.75
0.791045
0.162651
0
0
0
0
0.190647
0.093525
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
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
38b221af19ddb3dc91d923613985cf44646b9d5a
5,309
py
Python
fmcheck/ovs.py
vsk2015/fmtool
c7c9c786e258294f65883c45d14cdcb263be35d2
[ "MIT" ]
null
null
null
fmcheck/ovs.py
vsk2015/fmtool
c7c9c786e258294f65883c45d14cdcb263be35d2
[ "MIT" ]
null
null
null
fmcheck/ovs.py
vsk2015/fmtool
c7c9c786e258294f65883c45d14cdcb263be35d2
[ "MIT" ]
null
null
null
import time import re import subprocess import logging from fmcheck.switch import Switch from fmcheck.ssh import SSH class OVS(Switch): """ Inherits from Switch and Implements Open vSwitch specific methods """ def __init__(self, props, expected=False): Switch.__init__(self, props, expected...
37.387324
119
0.578452
632
5,309
4.762658
0.234177
0.051163
0.065781
0.07309
0.3701
0.351495
0.284718
0.262791
0.249169
0.191362
0
0.008604
0.299491
5,309
141
120
37.652482
0.800753
0.191562
0
0.202247
0
0.022472
0.166826
0.058795
0
0
0
0
0
0
null
null
0.011236
0.067416
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
38b24024b5b0fa2de61055bce840dd93e35f4f80
2,398
py
Python
07_introNormal.py
renexdev/Modulo-Estadistica-CRUB-2015
b73b8f0cc483f23855d19cdb4480d640611d4fa5
[ "MIT" ]
null
null
null
07_introNormal.py
renexdev/Modulo-Estadistica-CRUB-2015
b73b8f0cc483f23855d19cdb4480d640611d4fa5
[ "MIT" ]
null
null
null
07_introNormal.py
renexdev/Modulo-Estadistica-CRUB-2015
b73b8f0cc483f23855d19cdb4480d640611d4fa5
[ "MIT" ]
null
null
null
#!/usr/bin/env python ########################################################################################################## # Modulo Bioestadistica - 2015 de la Universidad del Comahue. Centro Regional Bariloche #http://crubweb.uncoma.edu.ar/ # Dr. Rene Cejas Bolecek # email: reneczechdev@gmail.com # licence: MIT...
26.94382
106
0.642202
350
2,398
4.397143
0.451429
0.02729
0.022742
0.035737
0.061079
0.061079
0.061079
0.061079
0.038986
0
0
0.027424
0.148457
2,398
88
107
27.25
0.726249
0.30025
0
0
0
0.022222
0.117892
0
0
0
0
0
0
0
null
null
0
0.133333
null
null
0.222222
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
38b4bdf971967a2445a31d1013827ce2e9070c4b
575
py
Python
remediations/kill_process.py
coxley/GOAR
10073e022b1ebe398543f39f8ba1c786abd00854
[ "BSD-3-Clause" ]
31
2018-10-11T10:50:04.000Z
2020-02-28T19:58:21.000Z
remediations/kill_process.py
coxley/GOAR
10073e022b1ebe398543f39f8ba1c786abd00854
[ "BSD-3-Clause" ]
3
2018-10-09T16:06:06.000Z
2018-10-25T15:20:17.000Z
remediations/kill_process.py
coxley/GOAR
10073e022b1ebe398543f39f8ba1c786abd00854
[ "BSD-3-Clause" ]
7
2018-10-09T16:04:40.000Z
2019-07-23T07:18:19.000Z
#!/usr/bin/env python3 # Copyright (c) Facebook, Inc. and its affiliates. # All rights reserved. # This source code is licensed under the BSD-style license found in the # LICENSE file in the root directory of this source tree. import sys import json import logging def kill_process(): result = { "succe...
22.115385
71
0.674783
78
575
4.833333
0.730769
0.087533
0
0
0
0
0
0
0
0
0
0.002232
0.22087
575
26
72
22.115385
0.839286
0.377391
0
0
0
0
0.268362
0
0
0
0
0
0
1
0.071429
false
0.071429
0.214286
0
0.285714
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
0
0
0
1
0
0
0
0
0
1
38ba8fff1e9de1f038ca5ad2defc6c6e46c92ac2
1,462
py
Python
testcompose/models/config/config_services.py
rugging24/docker-python
ffbaa694e37ac0e478fb9ab9f1748f08088d3ed4
[ "Apache-2.0" ]
1
2021-12-28T11:22:58.000Z
2021-12-28T11:22:58.000Z
testcompose/models/config/config_services.py
rugging24/python-testcompose
ffbaa694e37ac0e478fb9ab9f1748f08088d3ed4
[ "Apache-2.0" ]
null
null
null
testcompose/models/config/config_services.py
rugging24/python-testcompose
ffbaa694e37ac0e478fb9ab9f1748f08088d3ed4
[ "Apache-2.0" ]
null
null
null
from typing import Any, List, Optional, Dict from pydantic import BaseModel, validator from .container_log_wait_parameters import LogWaitParameter from .volume import VolumeMapping from .container_http_wait_parameter import HttpWaitParameter class Service(BaseModel): name: str image: str exposed_ports: Li...
26.581818
81
0.690834
170
1,462
5.829412
0.4
0.056509
0.066599
0.078708
0.187689
0.058527
0.058527
0
0
0
0
0
0.225718
1,462
54
82
27.074074
0.875442
0.155951
0
0.129032
0
0
0.053254
0
0
0
0
0
0
1
0.064516
false
0
0.16129
0
0.806452
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
38be623ad1f49be7ce6e56fb2a36af993f07c091
479
py
Python
chanim/chem_anims.py
Ashvin-Ranjan/chanim
146968362625f079aa6c1c07f1004003eb2b8f84
[ "MIT" ]
63
2020-01-04T09:55:55.000Z
2022-03-21T09:19:06.000Z
chanim/chem_anims.py
Ashvin-Ranjan/chanim
146968362625f079aa6c1c07f1004003eb2b8f84
[ "MIT" ]
15
2020-01-05T18:27:01.000Z
2022-03-24T14:06:13.000Z
chanim/chem_anims.py
Ashvin-Ranjan/chanim
146968362625f079aa6c1c07f1004003eb2b8f84
[ "MIT" ]
9
2020-01-06T02:09:37.000Z
2022-03-06T02:23:15.000Z
from manim.animation.transform import Transform, ReplacementTransform class BondToElectronPair(Transform): def __init__(self,mob,bond_pos): bond_with_atoms = mob[0][bond_pos-2:band_pos+1] atom_2 = mob[0][bond_pos-1] atom_1 = mob[0][bond_pos-2] # e_pair = self.get_pair_as_p...
31.933333
69
0.680585
69
479
4.289855
0.42029
0.094595
0.081081
0.111486
0.263514
0.182432
0
0
0
0
0
0.024
0.217119
479
15
70
31.933333
0.765333
0.10856
0
0
0
0
0.016432
0
0
0
0
0
0
1
0.2
false
0.1
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
38bfc6e85fc5a1914e64ca388ea988aa885b211b
2,168
py
Python
tests/conftest.py
Nexmo/python-nexmo
c8a99a748d4778f7d93ba9976b2cd5d88d8eee88
[ "Apache-2.0" ]
1
2016-04-14T22:30:21.000Z
2016-04-14T22:30:21.000Z
tests/conftest.py
Nexmo/python-nexmo
c8a99a748d4778f7d93ba9976b2cd5d88d8eee88
[ "Apache-2.0" ]
1
2016-04-14T01:41:55.000Z
2016-04-14T01:41:55.000Z
tests/conftest.py
Nexmo/python-nexmo
c8a99a748d4778f7d93ba9976b2cd5d88d8eee88
[ "Apache-2.0" ]
null
null
null
import os import os.path import platform import pytest # Ensure our client isn't being configured with real values! os.environ.clear() def read_file(path): with open(os.path.join(os.path.dirname(__file__), path)) as input_file: return input_file.read() class DummyData(object): def __init__(self):...
20.45283
98
0.704336
285
2,168
5.207018
0.270175
0.088949
0.107817
0.161725
0.303235
0.104447
0
0
0
0
0
0
0.201568
2,168
106
99
20.45283
0.857308
0.101015
0
0.308824
0
0
0.101285
0.034961
0
0
0
0
0
1
0.191176
false
0
0.220588
0.014706
0.602941
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
38c0037c584ecdd67d8ed991df3cb18289000b42
393
py
Python
dinamicos-bworld/runme_bubble2.py
ochoadavid/SciPyLA2016-VisPy
1bcd965e9706bbf48a0aedb1ad200db7edc90ba2
[ "MIT" ]
1
2016-05-16T16:51:18.000Z
2016-05-16T16:51:18.000Z
dinamicos-bworld/runme_bubble2.py
ochoadavid/SciPyLA2016-VisPy
1bcd965e9706bbf48a0aedb1ad200db7edc90ba2
[ "MIT" ]
null
null
null
dinamicos-bworld/runme_bubble2.py
ochoadavid/SciPyLA2016-VisPy
1bcd965e9706bbf48a0aedb1ad200db7edc90ba2
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # -*- coding: utf-8 -*- ## Autor: David Ochoa import numpy as np from bubble2 import Bubble2 from bworld import Bworld n = 1000 bubbles = [] bubbles.append(Bubble2(np.random.rand(n, 3) * 10, np.zeros((n, 3)), radius = (np.random.rand(n) / 6), color = (0.5, 0.8, 1.0, 0.8))) testworl...
26.2
80
0.608142
64
393
3.734375
0.546875
0.066946
0.100418
0.108787
0
0
0
0
0
0
0
0.097179
0.188295
393
14
81
28.071429
0.652038
0.147583
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
38c6e2ff30c2c389d635099fd0080b2a7bbe7641
1,789
py
Python
Agents/STDCThermoAgent/stdc/utils/nasafitter.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
21
2021-03-08T01:58:25.000Z
2022-03-09T15:46:16.000Z
Agents/STDCThermoAgent/stdc/utils/nasafitter.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
63
2021-05-04T15:05:30.000Z
2022-03-23T14:32:29.000Z
Agents/STDCThermoAgent/stdc/utils/nasafitter.py
cambridge-cares/TheWorldAvatar
baf08ddc090414c6d01e48c74b408f2192461e9e
[ "MIT" ]
15
2021-03-08T07:52:03.000Z
2022-03-29T04:46:20.000Z
import numpy as np import lmfit as lmf import stdc.utils.params as p def _nasaResidualFunc(params,x,y): a=[] a.append(params['a0']) a.append(params['a1']) a.append(params['a2']) a.append(params['a3']) a.append(params['a4']) a.append(params['a5']) a.append(params['a6']) Cp_eq = a[0...
35.078431
96
0.549469
336
1,789
2.904762
0.205357
0.043033
0.040984
0.043033
0.29918
0.048156
0.035861
0.035861
0.035861
0.035861
0
0.101124
0.204025
1,789
51
97
35.078431
0.583567
0.037451
0
0
0
0
0.024404
0
0
0
0
0
0
0
null
null
0
0.065217
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
38c8d5d68463a4faf372de2dd5419f72536b9d31
1,861
py
Python
xarray/calc_speed.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
32
2015-01-07T01:48:05.000Z
2022-03-02T07:07:42.000Z
xarray/calc_speed.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
1
2015-04-13T21:00:18.000Z
2015-04-13T21:00:18.000Z
xarray/calc_speed.py
petercunning/notebook
5b26f2dc96bcb36434542b397de6ca5fa3b61a0a
[ "MIT" ]
30
2015-01-28T09:31:29.000Z
2022-03-07T03:08:28.000Z
# -*- coding: utf-8 -*- # <nbformat>3.0</nbformat> # <markdowncell> # #Calculate speed and write to NetCDF using Xray and Iris # <codecell> url = 'http://geoport.whoi.edu/thredds/dodsC/usgs/data2/emontgomery/stellwagen/CF-1.6/RCNWR/9541aqd-cal.nc' # <codecell> def calc_speed(u, v): """Calculate the speed""" ...
15.905983
117
0.699624
280
1,861
4.482143
0.35
0.038247
0.050996
0.026295
0.173705
0.138645
0.031873
0
0
0
0
0.011335
0.146695
1,861
116
118
16.043103
0.778967
0.317571
0
0
0
0.032258
0.25
0.091362
0
0
0
0
0
0
null
null
0
0.064516
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
38d56befc4244e429e5ceb408e1a5c95bb8e8bae
2,273
py
Python
scripts/run_stats_sensors.py
kingjr/decod_unseen_maintenance
5f4188934af775a10ec2c7ba8b4bbf47d5143086
[ "BSD-3-Clause" ]
10
2017-01-03T09:47:50.000Z
2019-06-24T09:27:34.000Z
scripts/run_stats_sensors.py
kingjr/Paris_orientation-decoding
5f4188934af775a10ec2c7ba8b4bbf47d5143086
[ "BSD-3-Clause" ]
null
null
null
scripts/run_stats_sensors.py
kingjr/Paris_orientation-decoding
5f4188934af775a10ec2c7ba8b4bbf47d5143086
[ "BSD-3-Clause" ]
7
2017-04-18T19:31:36.000Z
2020-01-14T16:12:55.000Z
# Author: Jean-Remi King <jeanremi.king@gmail.com> # # Licence: BSD 3-clause """Performs statistics across subjects at the sensor level""" import numpy as np from jr.stats import robust_mean import mne from mne.epochs import EpochsArray from mne.stats import spatio_temporal_cluster_1samp_test as stats from mne.channel...
35.515625
70
0.608447
294
2,273
4.591837
0.408163
0.041481
0.026667
0.04
0.13037
0.13037
0.112593
0.112593
0.112593
0.112593
0
0.017741
0.256049
2,273
63
71
36.079365
0.780603
0.109107
0
0.133333
0
0
0.034306
0
0
0
0
0
0
0
null
null
0
0.177778
null
null
0.022222
0
0
0
null
0
0
0
0
0
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
38dd04f6439b0d5f0a7a68805e4561f4ae184b3c
3,298
py
Python
authentication/models.py
RKatana/inventory-app-django
a31614237daa5a2d62e30e51b9e573968ef3f0c0
[ "Apache-2.0" ]
null
null
null
authentication/models.py
RKatana/inventory-app-django
a31614237daa5a2d62e30e51b9e573968ef3f0c0
[ "Apache-2.0" ]
null
null
null
authentication/models.py
RKatana/inventory-app-django
a31614237daa5a2d62e30e51b9e573968ef3f0c0
[ "Apache-2.0" ]
null
null
null
from django.conf import settings from django.contrib.auth import get_user_model from django.db import models from django.contrib.auth.models import PermissionsMixin from django.contrib.auth.base_user import AbstractBaseUser from django.utils import timezone from cloudinary.models import CloudinaryField from django.disp...
31.711538
151
0.70285
410
3,298
5.52439
0.290244
0.04415
0.034437
0.045033
0.259603
0.221634
0.166887
0.135982
0.103311
0.103311
0
0.010131
0.191935
3,298
103
152
32.019417
0.839775
0.049424
0
0.291667
0
0.013889
0.054987
0.03101
0
0
0
0
0
1
0.097222
false
0.027778
0.194444
0.041667
0.722222
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
38dfeacdcb953c8d72fd5f9cfb388171a18a7eda
315
py
Python
beam_analysis/utils.py
XDwightsBeetsX/beam-analysis
714b90cdc6b77d6da6d2182b66efead17db2617d
[ "MIT" ]
1
2021-08-13T08:08:36.000Z
2021-08-13T08:08:36.000Z
beam_analysis/utils.py
XDwightsBeetsX/beam-analysis
714b90cdc6b77d6da6d2182b66efead17db2617d
[ "MIT" ]
10
2021-02-23T06:47:48.000Z
2022-01-01T19:27:36.000Z
beam_analysis/utils.py
XDwightsBeetsX/beam_analysis
714b90cdc6b77d6da6d2182b66efead17db2617d
[ "MIT" ]
null
null
null
def getAbsMax(list, roundTo=None): """ `list` - the list/array to find the absolute maximum `roundTo` - the number of digits to round the result to. returns the absolute maximum of a list. """ x = max(max(list), abs(min(list))) if roundTo: x = round(x, roundTo) return x
21
60
0.609524
46
315
4.173913
0.521739
0.114583
0.1875
0
0
0
0
0
0
0
0
0
0.279365
315
14
61
22.5
0.845815
0.479365
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
0
0.4
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
38e18fb6ea682e04cd0e2919cddf37cbc8bb3dfa
3,113
py
Python
stats.py
manuvazquez/utils
2f756ba7a33ae70cef3019aa858417c44761a5c8
[ "Apache-2.0" ]
1
2020-10-12T22:10:03.000Z
2020-10-12T22:10:03.000Z
stats.py
manuvazquez/utils
2f756ba7a33ae70cef3019aa858417c44761a5c8
[ "Apache-2.0" ]
null
null
null
stats.py
manuvazquez/utils
2f756ba7a33ae70cef3019aa858417c44761a5c8
[ "Apache-2.0" ]
null
null
null
from typing import Tuple, Optional import numpy as np import scipy.stats import matplotlib.pyplot as plt def beta_a_b_from_mode_concentration(mode: float, concentration: float) -> Tuple[float, float]: """ Computes the shape parameters, alpha and beta, of a beta distribution given its mode and concentration. Para...
20.480263
118
0.670093
472
3,113
4.358051
0.173729
0.048614
0.048614
0.029169
0.343704
0.208556
0.178415
0.100146
0.02528
0
0
0.019246
0.182139
3,113
151
119
20.615894
0.788688
0.417282
0
0.085714
0
0
0.055678
0
0
0
0
0
0.028571
1
0.171429
false
0.057143
0.114286
0
0.371429
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
38e1aafa5cd266a243e56a7deafceaf4a5371222
1,577
py
Python
tests/formatters/syslog.py
berggren/plaso
2658c80c5076f97a9a27272e73997bde8c39e875
[ "Apache-2.0" ]
27
2019-04-05T12:01:49.000Z
2022-02-08T02:26:25.000Z
tests/formatters/syslog.py
berggren/plaso
2658c80c5076f97a9a27272e73997bde8c39e875
[ "Apache-2.0" ]
null
null
null
tests/formatters/syslog.py
berggren/plaso
2658c80c5076f97a9a27272e73997bde8c39e875
[ "Apache-2.0" ]
8
2019-11-28T08:06:34.000Z
2020-08-29T13:53:30.000Z
#!/usr/bin/env python3 # -*- coding: utf-8 -*- """Tests for the syslog file event formatter.""" from __future__ import unicode_literals import unittest from plaso.formatters import syslog from tests.formatters import test_lib class SyslogLineFormatterTest(test_lib.EventFormatterTestCase): """Tests for the syslo...
26.283333
66
0.741281
145
1,577
7.827586
0.365517
0.123348
0.042291
0.044934
0.630837
0.630837
0.630837
0.54978
0.54978
0.54978
0
0.001519
0.16487
1,577
59
67
26.728814
0.860289
0.244134
0
0.5
0
0
0.030356
0
0
0
0
0.016949
0.071429
1
0.142857
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
38e5142a0e015295b897f705f5b522fd98fa964d
2,834
py
Python
Boot2Root/hackthebox/Falafet/wget-exploit/wget-exploit.py
Kan1shka9/CTFs
33ab33e094ea8b52714d5dad020c25730e91c0b0
[ "MIT" ]
21
2016-02-06T14:30:01.000Z
2020-09-11T05:39:17.000Z
Boot2Root/hackthebox/Falafet/wget-exploit/wget-exploit.py
Kan1shka9/CTFs
33ab33e094ea8b52714d5dad020c25730e91c0b0
[ "MIT" ]
null
null
null
Boot2Root/hackthebox/Falafet/wget-exploit/wget-exploit.py
Kan1shka9/CTFs
33ab33e094ea8b52714d5dad020c25730e91c0b0
[ "MIT" ]
7
2017-02-02T16:27:02.000Z
2021-04-30T17:14:53.000Z
#!/usr/bin/env python # # Wget 1.18 < Arbitrary File Upload Exploit # Dawid Golunski # dawid( at )legalhackers.com # # http://legalhackers.com/advisories/Wget-Arbitrary-File-Upload-Vulnerability-Exploit.txt # # CVE-2016-4971 # import SimpleHTTPServer import SocketServer import socket; class wgetExploit(SimpleHTTPSer...
32.953488
145
0.661609
426
2,834
4.300469
0.394366
0.026201
0.034935
0.027838
0.231987
0.201965
0.186681
0.186681
0.186681
0.141921
0
0.020517
0.208892
2,834
85
146
33.341176
0.79661
0.108327
0
0.301887
0
0.075472
0.389574
0.039793
0
0
0
0
0
0
null
null
0
0.056604
null
null
0.264151
0
0
0
null
0
0
0
0
0
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
38e66dfecb7fcb4ea1ee784d5be9c3bbbbf342b0
627
py
Python
shipmanage/migrations/0015_auto_20181228_0022.py
slen99/LogisticsIS
6a70662fe4fa2f6217a7348ee99fd5e4a2e9f746
[ "BSD-2-Clause" ]
3
2018-10-28T07:53:43.000Z
2019-04-15T05:15:45.000Z
shipmanage/migrations/0015_auto_20181228_0022.py
slen99/LogisticsIS
6a70662fe4fa2f6217a7348ee99fd5e4a2e9f746
[ "BSD-2-Clause" ]
null
null
null
shipmanage/migrations/0015_auto_20181228_0022.py
slen99/LogisticsIS
6a70662fe4fa2f6217a7348ee99fd5e4a2e9f746
[ "BSD-2-Clause" ]
1
2019-04-26T01:43:45.000Z
2019-04-26T01:43:45.000Z
# Generated by Django 2.0.2 on 2018-12-27 16:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('shipmanage', '0014_auto_20181228_0018'), ] operations = [ migrations.AddField( model_name='ship', name='ship_capacit...
26.125
131
0.610845
65
627
5.753846
0.738462
0.048128
0
0
0
0
0
0
0
0
0
0.116484
0.274322
627
23
132
27.26087
0.705495
0.07177
0
0.117647
1
0
0.139655
0.039655
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
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
c7fa1e5fd562adc57bab70df37bb4d519cf085f6
995
py
Python
nlp_toolkit/__init__.py
stevewyl/nlp_toolkit
257dabd300b29957a0be38e7a8049a54f2095ccc
[ "MIT" ]
37
2018-11-10T13:40:28.000Z
2021-08-09T02:29:42.000Z
nlp_toolkit/__init__.py
stevewyl/nlp_toolkit
257dabd300b29957a0be38e7a8049a54f2095ccc
[ "MIT" ]
1
2019-01-04T10:46:21.000Z
2019-03-20T16:05:52.000Z
nlp_toolkit/__init__.py
stevewyl/nlp_toolkit
257dabd300b29957a0be38e7a8049a54f2095ccc
[ "MIT" ]
5
2018-11-23T09:30:24.000Z
2020-04-18T15:40:48.000Z
import gc import os import logging import numpy as np import tensorflow as tf from nlp_toolkit.classifier import Classifier from nlp_toolkit.labeler import Labeler from nlp_toolkit.data import Dataset from nlp_toolkit.config import YParams logging.basicConfig(level=logging.INFO) try: import GPUtil from keras....
28.428571
91
0.744724
147
995
4.85034
0.530612
0.039271
0.078541
0
0
0
0
0
0
0
0
0.002421
0.169849
995
34
92
29.264706
0.860775
0
0
0
0
0
0.18593
0
0
0
0
0
0
1
0
false
0
0.407407
0
0.407407
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2a0c18597544ce6b731386853f4be78b2a592e8c
1,212
py
Python
mmdet/models/utils/__init__.py
hmtrii/mmdetection
a998e0ac45118482b4a1fa320c2f0611f35fb0d1
[ "Apache-2.0" ]
null
null
null
mmdet/models/utils/__init__.py
hmtrii/mmdetection
a998e0ac45118482b4a1fa320c2f0611f35fb0d1
[ "Apache-2.0" ]
null
null
null
mmdet/models/utils/__init__.py
hmtrii/mmdetection
a998e0ac45118482b4a1fa320c2f0611f35fb0d1
[ "Apache-2.0" ]
null
null
null
# Copyright (c) OpenMMLab. All rights reserved. from .builder import build_linear_layer, build_transformer from .conv_upsample import ConvUpsample from .csp_layer import CSPLayer from .gaussian_target import gaussian_radius, gen_gaussian_target from .inverted_residual import InvertedResidual from .make_divisible ...
48.48
79
0.763201
108
1,212
8.296296
0.425926
0.03683
0.035714
0.055804
0.069196
0
0
0
0
0
0
0.001969
0.161716
1,212
24
80
50.5
0.879921
0.037129
0
0
0
0
0.271692
0.084137
0
0
0
0
0
1
0
false
0
0.545455
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
1
0
0
0
0
1
2a112ba75610e050c98f671d50616480d224dd48
743
py
Python
LeetCode/daily/1404.将二进制表示减到 1 的步骤数.py
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
1
2020-03-26T13:40:52.000Z
2020-03-26T13:40:52.000Z
LeetCode/daily/1404.将二进制表示减到 1 的步骤数.py
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
LeetCode/daily/1404.将二进制表示减到 1 的步骤数.py
xmmmmmovo/MyAlgorithmSolutions
f5198d438f36f41cc4f72d53bb71d474365fa80d
[ "MIT" ]
null
null
null
class Solution: def numSteps(self, s: str) -> int: i = int(s, 2) st = 0 while i != 1: if i % 2 == 0: i = i//2 else: i += 1 st += 1 return st class Solution2: def numSteps(self, s: str) -> int: """ ...
21.852941
49
0.419919
100
743
3.04
0.35
0.026316
0.226974
0.105263
0.144737
0.144737
0
0
0
0
0
0.083333
0.434724
743
33
50
22.515152
0.640476
0.036339
0
0.090909
0
0
0.025148
0
0
0
0
0
0.136364
1
0.090909
false
0
0
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a11fa7e8ad828d79cb5c6450c46ec03ef8cdbad
294
py
Python
webapp/api/urls.py
nickp60/genvis_lite
7ff9f66b3c1f6fb5cb445141685fe6dc1e9a9258
[ "MIT" ]
null
null
null
webapp/api/urls.py
nickp60/genvis_lite
7ff9f66b3c1f6fb5cb445141685fe6dc1e9a9258
[ "MIT" ]
null
null
null
webapp/api/urls.py
nickp60/genvis_lite
7ff9f66b3c1f6fb5cb445141685fe6dc1e9a9258
[ "MIT" ]
null
null
null
from django.conf.urls import url import api.views urlpatterns = [ url(r'^series/detail', api.views.series_detail, name="api_series_detail"), url(r'^series/find', api.views.series_find, name="api_series_find"), url(r'^timeseries', api.views.time_series, name="api_time_series"), ]
29.4
78
0.727891
45
294
4.555556
0.355556
0.156098
0.097561
0
0
0
0
0
0
0
0
0
0.112245
294
9
79
32.666667
0.785441
0
0
0
0
0
0.285714
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
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
2a1b79981c242af6ad899e095ad473ed922124c2
564
py
Python
solutions/635_design_log_storage_system.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/635_design_log_storage_system.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
solutions/635_design_log_storage_system.py
YiqunPeng/leetcode_pro
7e6376984f9baec49a5e827d98330fe3d1b656f0
[ "MIT" ]
null
null
null
class LogSystem: def __init__(self): """Design. """ self.d = {} self.g = {'Year': 4, 'Month': 7, 'Day': 10, 'Hour': 13, 'Minute': 16, 'Second': 19} def put(self, id: int, timestamp: str) -> None: self.d[timestamp] = id def retrieve(self, start: str, end: s...
26.857143
91
0.464539
73
564
3.534247
0.589041
0.05814
0
0
0
0
0
0
0
0
0
0.027548
0.356383
564
20
92
28.2
0.683196
0.012411
0
0
0
0
0.051661
0
0
0
0
0
0
1
0.214286
false
0
0
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2a223aa60796fc80b66f4b52199c6b225f33d906
1,365
py
Python
car_deal/inquiry/migrations/0001_initial.py
nuruddinsayeed/car_deal_project
b05cadb0d613bdd5c3b81c9deb6f5f86924ecef7
[ "Apache-2.0" ]
null
null
null
car_deal/inquiry/migrations/0001_initial.py
nuruddinsayeed/car_deal_project
b05cadb0d613bdd5c3b81c9deb6f5f86924ecef7
[ "Apache-2.0" ]
null
null
null
car_deal/inquiry/migrations/0001_initial.py
nuruddinsayeed/car_deal_project
b05cadb0d613bdd5c3b81c9deb6f5f86924ecef7
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2.6 on 2021-08-14 00:36 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('cars...
39
142
0.610989
151
1,365
5.384106
0.476821
0.066421
0.088561
0.118081
0.140221
0.073801
0
0
0
0
0
0.035156
0.249817
1,365
34
143
40.147059
0.758789
0.032967
0
0
1
0
0.072838
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a25d13b1e5f97c21991112d3829d9afa8af2c96
4,198
py
Python
scripts/obix/get_obix_history_config.py
cloudcomputingabc/volttron
6495e26e3185a7af8d0d79ad2586bdf8ea83992d
[ "Apache-2.0", "BSD-2-Clause" ]
406
2015-01-20T03:08:53.000Z
2022-03-31T20:59:07.000Z
scripts/obix/get_obix_history_config.py
cloudcomputingabc/volttron
6495e26e3185a7af8d0d79ad2586bdf8ea83992d
[ "Apache-2.0", "BSD-2-Clause" ]
2,031
2015-01-05T21:35:45.000Z
2022-03-29T21:44:36.000Z
scripts/obix/get_obix_history_config.py
cloudcomputingabc/volttron
6495e26e3185a7af8d0d79ad2586bdf8ea83992d
[ "Apache-2.0", "BSD-2-Clause" ]
219
2015-01-20T14:53:57.000Z
2022-03-06T00:37:41.000Z
# -*- coding: utf-8 -*- {{{ # vim: set fenc=utf-8 ft=python sw=4 ts=4 sts=4 et: # # Copyright 2020, Battelle Memorial Institute. # # 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...
35.277311
91
0.719152
564
4,198
5.315603
0.448582
0.026684
0.03002
0.033356
0.119079
0.109406
0.087392
0.068045
0.03936
0.03936
0
0.008123
0.178895
4,198
118
92
35.576271
0.861619
0.482373
0
0
0
0
0.246595
0.009864
0
0
0
0
0
1
0.018868
false
0.150943
0.09434
0
0.132075
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
2a29a90ffe51670eb0a8fe5ae425465de6383555
1,626
py
Python
setup.py
A-Farhan/cova
789bc196a66fa5a16daf89f562b3e8e90107f288
[ "MIT" ]
3
2020-12-22T13:45:15.000Z
2021-10-04T00:04:16.000Z
setup.py
A-Farhan/cova
789bc196a66fa5a16daf89f562b3e8e90107f288
[ "MIT" ]
null
null
null
setup.py
A-Farhan/cova
789bc196a66fa5a16daf89f562b3e8e90107f288
[ "MIT" ]
null
null
null
import setuptools def readme(): with open('README.rst') as f: return f.read() setuptools.setup(name='cova', version='0.3', license='MIT License', author='Farhan Ali', author_email='afarhan@ncbs.res.in', description='coronavirus variant analysis (simplified)', ...
31.882353
88
0.558426
164
1,626
5.365854
0.652439
0.031818
0
0
0
0
0
0
0
0
0
0.021796
0.294588
1,626
50
89
32.52
0.745423
0
0
0.0625
0
0
0.415744
0.132226
0
0
0
0
0
1
0.020833
true
0
0.020833
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2a2b91b7651c47503d0816fab7c1cc648cd00e6b
360
py
Python
vampire/__main__.py
honzasp/vampire
752b9dea10626fd3f85d9139aff846e00ce7108c
[ "Unlicense" ]
null
null
null
vampire/__main__.py
honzasp/vampire
752b9dea10626fd3f85d9139aff846e00ce7108c
[ "Unlicense" ]
1
2021-12-13T20:35:12.000Z
2021-12-13T20:35:12.000Z
vampire/__main__.py
honzasp/vampire
752b9dea10626fd3f85d9139aff846e00ce7108c
[ "Unlicense" ]
null
null
null
import csv import sys from . import scrape_sites from .data import BLOOD_TYPES, SITE_STATUS_FIELDS, site_status_to_fields if __name__ == "__main__": site_statuses = scrape_sites() writer = csv.DictWriter(sys.stdout, fieldnames=SITE_STATUS_FIELDS) writer.writeheader() for s in site_statuses: wr...
27.692308
72
0.763889
50
360
5.04
0.52
0.15873
0.126984
0.142857
0
0
0
0
0
0
0
0
0.158333
360
12
73
30
0.831683
0
0
0
0
0
0.022222
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2a3f1fdab51c764617d933a51497a5dbcabf0cec
282
py
Python
weather/migrations/0002_delete_city.py
rakshaa2000/Weather-App
9fedb062937735e85e4e2babdc22ab4b0e9c41ee
[ "MIT" ]
null
null
null
weather/migrations/0002_delete_city.py
rakshaa2000/Weather-App
9fedb062937735e85e4e2babdc22ab4b0e9c41ee
[ "MIT" ]
null
null
null
weather/migrations/0002_delete_city.py
rakshaa2000/Weather-App
9fedb062937735e85e4e2babdc22ab4b0e9c41ee
[ "MIT" ]
null
null
null
# Generated by Django 3.1.3 on 2020-11-06 11:20 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('weather', '0001_initial'), ] operations = [ migrations.DeleteModel( name='City', ), ]
16.588235
47
0.585106
30
282
5.466667
0.8
0
0
0
0
0
0
0
0
0
0
0.09596
0.297872
282
16
48
17.625
0.732323
0.159574
0
0
1
0
0.097872
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
2a458840e980cf3f38c84b4f0e8e6c1354021ea2
713
py
Python
tests/unit/test_sections.py
hroncok/specfile
8596dc6b275a9a4d22eb6135e19163c24d85e5ad
[ "MIT" ]
null
null
null
tests/unit/test_sections.py
hroncok/specfile
8596dc6b275a9a4d22eb6135e19163c24d85e5ad
[ "MIT" ]
null
null
null
tests/unit/test_sections.py
hroncok/specfile
8596dc6b275a9a4d22eb6135e19163c24d85e5ad
[ "MIT" ]
null
null
null
# Copyright Contributors to the Packit project. # SPDX-License-Identifier: MIT import pytest from specfile.sections import Section, Sections def test_find(): sections = Sections([Section("package"), Section("prep"), Section("changelog")]) assert sections.find("prep") == 1 with pytest.raises(ValueError):...
27.423077
84
0.649369
95
713
4.852632
0.421053
0.182213
0.099783
0.08243
0
0
0
0
0
0
0
0.027586
0.186536
713
25
85
28.52
0.767241
0.103787
0
0
0
0.058824
0.180818
0.048742
0
0
0
0
0.411765
1
0.117647
false
0
0.117647
0
0.235294
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
2a566fb08bbb44b71fbcbd6df03062365691ca67
266
py
Python
build/toolchain/cp.py
puyoai/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
115
2015-02-21T15:08:26.000Z
2022-02-05T01:38:10.000Z
build/toolchain/cp.py
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
214
2015-01-16T04:53:35.000Z
2019-03-23T11:39:59.000Z
build/toolchain/cp.py
haripo/puyoai
575068dffab021cd42b0178699d480a743ca4e1f
[ "CC-BY-4.0" ]
56
2015-01-16T05:14:13.000Z
2020-09-22T07:22:49.000Z
#!/usr/bin/env python import os import shutil import sys src, dst = sys.argv[1:] if os.path.exists(dst): if os.path.isdir(dst): shutil.rmtree(dst) else: os.remove(dst) if os.path.isdir(src): shutil.copytree(src, dst) else: shutil.copy2(src, dst)
14
27
0.669173
46
266
3.869565
0.456522
0.101124
0.134831
0.123596
0.179775
0
0
0
0
0
0
0.009091
0.172932
266
18
28
14.777778
0.8
0.075188
0
0.153846
0
0
0
0
0
0
0
0
0
1
0
true
0
0.230769
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
2a57c4a5d240c48763259f6f2628619a10fc05dc
3,379
py
Python
train.py
unademo/UNet_Nested4Tiny_Objects_Keypoints
cdf1b499c526949ca2ae927b70a217cefc18dd08
[ "MIT" ]
6
2019-10-29T13:05:59.000Z
2020-03-13T00:47:46.000Z
train.py
unademo/UNet_Nested4Tiny_Objects_Keypoints
cdf1b499c526949ca2ae927b70a217cefc18dd08
[ "MIT" ]
1
2021-07-07T12:51:05.000Z
2021-07-07T12:51:05.000Z
train.py
unanan/UNet_Nested4Tiny_Objects_Keypoints
cdf1b499c526949ca2ae927b70a217cefc18dd08
[ "MIT" ]
null
null
null
# * train.py: # main file of the program, concludes "__main__" entry. # * Config the arguments and run this file. # # * Test Status: Not tested # #-*- coding: utf-8 -* from trainer.trainer import Trainer import argparse import os def parse_args(): ''' - To parse arguments - Used in __main__ :return...
45.053333
135
0.660846
441
3,379
4.959184
0.344671
0.098765
0.186557
0.065844
0.05487
0.040238
0.029264
0.029264
0
0
0
0.015407
0.193252
3,379
74
136
45.662162
0.786867
0.173128
0
0
0
0
0.354288
0
0
0
0
0
0
1
0.028571
false
0
0.085714
0
0.142857
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
2a7005545491d18469ec0e3258832438d11591f2
629
py
Python
setup.py
mmyros/clusterquality
1d44c08460d387a6c4b3fdf867b695e3984fcb03
[ "MIT" ]
1
2021-01-17T22:37:54.000Z
2021-01-17T22:37:54.000Z
setup.py
mmyros/clusterquality
1d44c08460d387a6c4b3fdf867b695e3984fcb03
[ "MIT" ]
null
null
null
setup.py
mmyros/clusterquality
1d44c08460d387a6c4b3fdf867b695e3984fcb03
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='cluster_quality', version='0.0.1', install_requires=[ 'xarray', 'click', 'numpy', 'scipy', 'scikit-learn', 'pandas', 'joblib' ], packages=find_packages(), include_package_data=True, ...
21.689655
63
0.616852
63
629
5.936508
0.761905
0.187166
0.112299
0
0
0
0
0
0
0
0
0.006342
0.248013
629
28
64
22.464286
0.784355
0
0
0
0
0
0.384738
0.0938
0
0
0
0
0
1
0
true
0
0.038462
0
0.038462
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
2a7a036779fc3807e45f4ef0afe270817bef79b5
523
bzl
Python
taskflow/repository.bzl
dldt/third_party.bzl
8c5431c3c48ad4c8761f0daee004d94d1f165eb2
[ "MIT" ]
1
2021-12-27T05:40:05.000Z
2021-12-27T05:40:05.000Z
taskflow/repository.bzl
tarcila/third_party.bzl
8c5431c3c48ad4c8761f0daee004d94d1f165eb2
[ "MIT" ]
null
null
null
taskflow/repository.bzl
tarcila/third_party.bzl
8c5431c3c48ad4c8761f0daee004d94d1f165eb2
[ "MIT" ]
1
2021-07-22T07:16:50.000Z
2021-07-22T07:16:50.000Z
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") def taskflow_repository(): maybe( http_archive, name = "taskflow", urls = [ "https://github.com/taskflow/taskflow/archive/refs/tags/v3.2.0.zip", ...
34.866667
84
0.652008
57
523
5.807018
0.596491
0.054381
0.084592
0.114804
0.193353
0.193353
0.193353
0
0
0
0
0.107143
0.196941
523
14
85
37.357143
0.680952
0
0
0
0
0.076923
0.562141
0.361377
0
0
0
0
0
1
0.076923
true
0
0
0
0.076923
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
2a819f6a2be4a7a36b5e6b1e6115d7c152d86c5f
301
py
Python
algoexpert/easy/Node depths.py
DmitriyL02/Algo
d03f812d18764a4883002678cbf1bc466665427b
[ "BSD-3-Clause" ]
null
null
null
algoexpert/easy/Node depths.py
DmitriyL02/Algo
d03f812d18764a4883002678cbf1bc466665427b
[ "BSD-3-Clause" ]
null
null
null
algoexpert/easy/Node depths.py
DmitriyL02/Algo
d03f812d18764a4883002678cbf1bc466665427b
[ "BSD-3-Clause" ]
null
null
null
class BinaryTree: def __init__(self, value): self.value = value self.left = None self.right = None def nodeDepths(root, depth=0): if root is None: return 0 return (depth + nodeDepths(root.left, depth + 1) + nodeDepths(root.right, depth + 1))
21.5
52
0.584718
38
301
4.526316
0.447368
0.244186
0
0
0
0
0
0
0
0
0
0.019324
0.312292
301
13
53
23.153846
0.811594
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0
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
2a82cc8e5744ce431027188fad3a3c00bdfea1ed
162
py
Python
pythonnetworklearn/sqrl.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
1
2017-12-27T09:05:23.000Z
2017-12-27T09:05:23.000Z
pythonnetworklearn/sqrl.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
pythonnetworklearn/sqrl.py
1067511899/tornado-learn
497cc8f7816f15e2eab834a758f192d50704fe05
[ "Apache-2.0" ]
null
null
null
def sqrt(x): y = 1.0 while abs(y*y - x) > 1e-6 : print(y) y=(y+x/y)/2 return y if __name__=='__main__': print(sqrt(99))
14.727273
31
0.444444
28
162
2.285714
0.607143
0.09375
0.09375
0
0
0
0
0
0
0
0
0.069307
0.376543
162
10
32
16.2
0.564356
0
0
0
0
0
0.049383
0
0
0
0
0
0
1
0.125
false
0
0
0
0.25
0.25
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
2a84057bc0b26bb13b38fbaa7330a4449fedfa5d
4,451
py
Python
DeepFlow_release2.0/deepflow2.py
kylebmeredith/artistic-videos
482283ac31d4e4c1cba54ab9118ce85a5f0c64ac
[ "BSD-3-Clause" ]
null
null
null
DeepFlow_release2.0/deepflow2.py
kylebmeredith/artistic-videos
482283ac31d4e4c1cba54ab9118ce85a5f0c64ac
[ "BSD-3-Clause" ]
null
null
null
DeepFlow_release2.0/deepflow2.py
kylebmeredith/artistic-videos
482283ac31d4e4c1cba54ab9118ce85a5f0c64ac
[ "BSD-3-Clause" ]
null
null
null
# This file was automatically generated by SWIG (http://www.swig.org). # Version 3.0.7 # # Do not make changes to this file unless you know what you are doing--modify # the SWIG interface file instead. """ Module to compute DeepFlow """ from sys import version_info if version_info >= (2, 6, 0): def swig_impor...
31.34507
134
0.651314
590
4,451
4.710169
0.305085
0.025909
0.028068
0.036704
0.187837
0.151853
0.151853
0.124505
0.06837
0
0
0.030383
0.238373
4,451
141
135
31.567376
0.789381
0.194563
0
0.234694
1
0
0.049774
0
0
0
0
0
0.030612
1
0.091837
false
0.020408
0.102041
0.040816
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2a86b1fad4887b8b04c482cd1e573ff103dcd93b
345
py
Python
exerciciios/ex025.py
uneves/exercicios-cursoemvideo-python-01
562a7954f33bb7ede090421fb60ce8f2cda8b941
[ "MIT" ]
null
null
null
exerciciios/ex025.py
uneves/exercicios-cursoemvideo-python-01
562a7954f33bb7ede090421fb60ce8f2cda8b941
[ "MIT" ]
null
null
null
exerciciios/ex025.py
uneves/exercicios-cursoemvideo-python-01
562a7954f33bb7ede090421fb60ce8f2cda8b941
[ "MIT" ]
null
null
null
a1 = str(input('Digite o nome completo de uma pessoa : ')) a3 = a1.strip().lower().find('silva') if a3 < 0: print('O nome {} nao possui a palavra Silva'.format(a1)) else: print('O nome {} possui a palavra Silva'.format(a1)) # ou nom = str(input('digite o nome : ')).strip() print('seu nome tem silva? {}'.format(...
34.5
62
0.634783
57
345
3.842105
0.508772
0.091324
0.127854
0.136986
0.420091
0.246575
0
0
0
0
0
0.02439
0.168116
345
9
63
38.333333
0.738676
0.005797
0
0
0
0
0.454545
0
0
0
0
0
0
1
0
false
0
0
0
0
0.375
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
2a8dc6e34ff3ce3b6a275254bfcf7424c8be035d
401
py
Python
examples/lab_tests.py
ericmc21/python-api
eacc3c7f2e14103ff4d2138b85905cefdb6946c6
[ "Apache-2.0" ]
null
null
null
examples/lab_tests.py
ericmc21/python-api
eacc3c7f2e14103ff4d2138b85905cefdb6946c6
[ "Apache-2.0" ]
null
null
null
examples/lab_tests.py
ericmc21/python-api
eacc3c7f2e14103ff4d2138b85905cefdb6946c6
[ "Apache-2.0" ]
null
null
null
import config config.setup_examples() import infermedica_api if __name__ == '__main__': api = infermedica_api.get_api() print('Laboratory tests list:') print(api.lab_tests_list(), end="\n\n") print('\n\nLaboratory test details:') print(api.lab_test_details('lt_81'), end="\n\n") print('Non-...
22.277778
52
0.695761
56
401
4.625
0.446429
0.169884
0.127413
0.07722
0.254826
0.254826
0.254826
0
0
0
0
0.005882
0.15212
401
17
53
23.588235
0.755882
0
0
0
0
0
0.291771
0
0
0
0
0
0
1
0
false
0
0.181818
0
0.181818
0.545455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2a91ae0c472d43f51771e647b9cca2070267d75d
1,529
py
Python
run.py
awebsters/nqueens
3180bf695daa8db8688354362416a444bb0ed1a2
[ "MIT" ]
null
null
null
run.py
awebsters/nqueens
3180bf695daa8db8688354362416a444bb0ed1a2
[ "MIT" ]
null
null
null
run.py
awebsters/nqueens
3180bf695daa8db8688354362416a444bb0ed1a2
[ "MIT" ]
null
null
null
################################# # # NOTE: Do not edit this file. # import sys from nqueens import solve import time if len(sys.argv) != 2: print("\n\tUsage: python3 run.py <test-file>\n") exit(1) in_file = sys.argv[1] problems = [] with open(in_file) as f: problems = map(int, f.readlines()) def p...
21.535211
63
0.602354
209
1,529
4.263158
0.354067
0.078563
0.044893
0.03367
0.166106
0.13468
0
0
0
0
0
0.026224
0.251799
1,529
70
64
21.842857
0.752622
0.064094
0
0
1
0
0.04755
0
0
0
0
0
0
1
0.097561
false
0
0.073171
0
0.268293
0.146341
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
2a975cbe2e06f260aa94faa197ee6446ca844a03
14,983
py
Python
sqlalchemy_ocientdb/base.py
HankCalzaretta/sqlalchemy-ocientdb
a05a1454d7f2abc90af30d4668eba974ad9b2534
[ "MIT" ]
null
null
null
sqlalchemy_ocientdb/base.py
HankCalzaretta/sqlalchemy-ocientdb
a05a1454d7f2abc90af30d4668eba974ad9b2534
[ "MIT" ]
null
null
null
sqlalchemy_ocientdb/base.py
HankCalzaretta/sqlalchemy-ocientdb
a05a1454d7f2abc90af30d4668eba974ad9b2534
[ "MIT" ]
null
null
null
# ocient/base.py # Copyright (C) 2007-2012 the SQLAlchemy authors and contributors <see AUTHORS file> # Copyright (C) 2007 Paul Johnston, paj@pajhome.org.uk # Portions derived from jet2sql.py by Matt Keranen, mksql@yahoo.com # # This module is part of SQLAlchemy and is released under # the MIT License: http://www.opens...
31.743644
98
0.603551
1,633
14,983
5.290876
0.197795
0.021065
0.020833
0.027778
0.199769
0.162963
0.122685
0.114583
0.114583
0.105556
0
0.010715
0.283655
14,983
471
99
31.81104
0.794279
0.039712
0
0.147139
0
0
0.047512
0
0
0
0
0
0
0
null
null
0.008174
0.024523
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
aa49b2955c8db3867eec60d6dfc06dd5509b25fd
901
py
Python
DIE/Lib/FunctionParsers/GenFuncParser.py
requizm/DIE
35e57245dbb0c4631f150c5922a4ac9db0350a0f
[ "MIT" ]
496
2015-06-20T15:48:13.000Z
2022-03-30T03:40:21.000Z
DIE/Lib/FunctionParsers/GenFuncParser.py
yodamaster/DIE
bb37eb936eea90dbc971f4ffebf0c635039594fd
[ "MIT" ]
23
2015-06-20T17:26:13.000Z
2022-03-09T18:29:59.000Z
DIE/Lib/FunctionParsers/GenFuncParser.py
yodamaster/DIE
bb37eb936eea90dbc971f4ffebf0c635039594fd
[ "MIT" ]
109
2015-06-20T16:03:19.000Z
2022-03-02T19:13:08.000Z
import logging from FunctionParserBase import FunctionParserBase class GenericFunctionParser(FunctionParserBase): """ A generic function parser. This parser parses arguments by their index order. """ def __init__(self, function): """ @param function: A Function instance "...
24.351351
80
0.643729
97
901
5.783505
0.587629
0.039216
0.057041
0
0
0
0
0
0
0
0
0.001543
0.280799
901
36
81
25.027778
0.864198
0.26859
0
0
0
0
0.055363
0
0
0
0
0
0
1
0.153846
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa51607e094226708f34010f4e101a1a8da6ce59
9,800
py
Python
src/scs_core/aqcsv/specification/method.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
3
2019-03-12T01:59:58.000Z
2020-09-12T07:27:42.000Z
src/scs_core/aqcsv/specification/method.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
1
2018-04-20T07:58:38.000Z
2021-03-27T08:52:45.000Z
src/scs_core/aqcsv/specification/method.py
south-coast-science/scs_core
81ad4010abb37ca935f3a31ac805639ef53b1bcf
[ "MIT" ]
4
2017-09-29T13:08:43.000Z
2019-10-09T09:13:58.000Z
""" Created on 6 Mar 2019 @author: Bruno Beloff (bruno.beloff@southcoastscience.com) AQCSV: Methods NB: initialisation is performed at the foot of this class example: {"Parameter": "Oxides of nitrogen (NOx)", "Parameter Code": 42603, "Method Code": 31, "Recording Mode": "Continuous", "Collection Description": "INST...
35.379061
120
0.552551
926
9,800
5.557235
0.158747
0.050525
0.043529
0.020404
0.169258
0.132141
0.120093
0.120093
0.120093
0.104159
0
0.008453
0.251531
9,800
276
121
35.507246
0.693115
0.217245
0
0.167742
0
0
0.093026
0.018816
0
0
0
0
0
1
0.154839
false
0
0.032258
0.116129
0.348387
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
aa686fd02d5f2103f050797dfa4b5ff3e4fefb7d
8,371
py
Python
pysnmp-with-texts/CISCO-VLAN-BRIDGING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CISCO-VLAN-BRIDGING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CISCO-VLAN-BRIDGING-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CISCO-VLAN-BRIDGING-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CISCO-VLAN-BRIDGING-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:18:48 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 ...
135.016129
828
0.787958
1,012
8,371
6.51581
0.258893
0.030937
0.05414
0.008493
0.473764
0.377464
0.358659
0.358659
0.354261
0.352745
0
0.053643
0.104766
8,371
61
829
137.229508
0.826261
0.040616
0
0.098039
0
0.117647
0.417228
0.031414
0
0
0
0
0
1
0
false
0
0.176471
0
0.176471
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa705fd89cbe4d727c623522ed40f3ca4d61cd7b
1,521
py
Python
utils/nn.py
ersilia-os/osm-series4-predictive-model
163c98c7a365d64d99f0f2d027c3b4b095bc0b98
[ "MIT" ]
57
2018-01-30T20:04:33.000Z
2022-03-29T11:30:56.000Z
utils/nn.py
ersilia-os/osm-series4-predictive-model
163c98c7a365d64d99f0f2d027c3b4b095bc0b98
[ "MIT" ]
12
2018-02-05T16:49:44.000Z
2021-01-20T14:51:03.000Z
utils/nn.py
ersilia-os/osm-series4-predictive-model
163c98c7a365d64d99f0f2d027c3b4b095bc0b98
[ "MIT" ]
29
2018-01-30T22:15:28.000Z
2022-03-09T20:03:43.000Z
import numpy as np import tensorflow as tf import math def linear(input_, output_size, scope, reuse=False, init_bias=0.0): shape = input_.get_shape().as_list() stddev = min(1.0 / math.sqrt(shape[-1]), 0.1) with tf.variable_scope(scope, reuse=reuse): W = tf.get_variable("Matrix", [shape[-1], output_...
44.735294
120
0.673241
234
1,521
4.17094
0.226496
0.081967
0.057377
0.077869
0.747951
0.67418
0.633197
0.633197
0.633197
0.633197
0
0.02
0.178172
1,521
33
121
46.090909
0.7608
0
0
0.451613
0
0
0.013149
0
0
0
0
0
0
1
0.064516
false
0
0.096774
0
0.258065
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
aa7683e8e4ebaee4c5aebbb8d6a7b0fd51bc2dce
2,791
py
Python
scripts/goose_security_checker.py
cutaway-security/goosestalker
c68185dc6a9e4c9e28b6e14b499b1c2c251c5e49
[ "MIT" ]
16
2021-04-11T00:23:22.000Z
2022-03-31T15:19:37.000Z
scripts/goose_security_checker.py
cutaway-security/goosestalker
c68185dc6a9e4c9e28b6e14b499b1c2c251c5e49
[ "MIT" ]
null
null
null
scripts/goose_security_checker.py
cutaway-security/goosestalker
c68185dc6a9e4c9e28b6e14b499b1c2c251c5e49
[ "MIT" ]
1
2021-11-18T13:42:04.000Z
2021-11-18T13:42:04.000Z
############################### # Import Python modules ############################### import os, sys, datetime, inspect ############################### # Import Scapy and Goose Modules ############################### # We have to tell script where to find the Goose module in parent directory currentdir = os.path.dir...
33.22619
107
0.595844
344
2,791
4.784884
0.406977
0.032807
0.051033
0.041312
0.113001
0
0
0
0
0
0
0.014985
0.18703
2,791
83
108
33.626506
0.710445
0.363311
0
0
0
0
0.054545
0
0
0
0.009091
0.012048
0
1
0.026316
false
0
0.289474
0
0.342105
0.078947
0
0
0
null
0
0
0
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
aa7a4dd311c4d9b84e3b4e45c74a0fba1c1b6eff
873
py
Python
Client/App/Core/DataManagers/FileManager.py
Dragon-KK/ComputerProject2021
669431f3f2d41bda822931e6fffe661c99736dfe
[ "MIT" ]
null
null
null
Client/App/Core/DataManagers/FileManager.py
Dragon-KK/ComputerProject2021
669431f3f2d41bda822931e6fffe661c99736dfe
[ "MIT" ]
null
null
null
Client/App/Core/DataManagers/FileManager.py
Dragon-KK/ComputerProject2021
669431f3f2d41bda822931e6fffe661c99736dfe
[ "MIT" ]
null
null
null
import json from pathlib import Path class FileManager: MediaPath = Path(__file__).parent.parent.parent.joinpath("Media") @staticmethod def ReadJson(file): '''Reads a file as json with a path relative to App/Media''' if FileManager.MediaPath.joinpath(file).is_file(): parsedJson ...
34.92
70
0.601375
105
873
4.952381
0.47619
0.153846
0.161538
0.184615
0.153846
0.153846
0
0
0
0
0
0
0.30126
873
25
71
34.92
0.852459
0.127148
0
0.095238
0
0
0.049202
0
0
0
0
0
0
1
0.095238
false
0
0.095238
0
0.428571
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
aa7b0d72fb44f9fd47df742005563297340fb860
5,659
py
Python
commonl/keys.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
1
2018-08-31T06:48:14.000Z
2018-08-31T06:48:14.000Z
commonl/keys.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
null
null
null
commonl/keys.py
inakypg/tcf
569e21b25c8ee72ebad0c80d0a7de0714411185f
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python3 # # Copyright (c) 2022 Intel Corporation # # SPDX-License-Identifier: Apache-2.0 # import logging import os import subprocess import keyring import keyring.backend import keyring.errors log = logging.getLogger("keyring_keyctl") class keyring_keyctl_c(keyring.backend.KeyringBackend): """ ...
35.36875
141
0.595688
634
5,659
5.182965
0.310726
0.100426
0.017042
0.036519
0.358795
0.332623
0.313755
0.298844
0.276628
0.193548
0
0.03518
0.291748
5,659
159
142
35.591195
0.784681
0.190493
0
0.18
0
0.01
0.174048
0.034765
0
0
0.034544
0
0.03
1
0.06
false
0.21
0.08
0.01
0.19
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
aa81695c292590da1827bd89ad2e17c23542e7ae
4,894
py
Python
batchflow/research/named_expr.py
bestetc/batchflow
d2a843640383fbe860654236881483f755227e06
[ "Apache-2.0" ]
null
null
null
batchflow/research/named_expr.py
bestetc/batchflow
d2a843640383fbe860654236881483f755227e06
[ "Apache-2.0" ]
null
null
null
batchflow/research/named_expr.py
bestetc/batchflow
d2a843640383fbe860654236881483f755227e06
[ "Apache-2.0" ]
null
null
null
""" Contains named expression classes for Research """ import os from .results import Results from ..named_expr import NamedExpression, eval_expr class ResearchNamedExpression(NamedExpression): """ NamedExpression base class for Research objects """ def _get(self, **kwargs): name = self._get_name(**k...
34.957143
97
0.624234
550
4,894
5.418182
0.198182
0.057047
0.050336
0.080537
0.249329
0.201342
0.178523
0.13557
0.111409
0.111409
0
0.001373
0.256028
4,894
139
98
35.208633
0.817083
0.22027
0
0.357895
0
0
0.037561
0
0
0
0
0
0
1
0.2
false
0
0.031579
0
0.526316
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aa8af50ad2862f90d4593d021a76cec69bebaa30
1,000
py
Python
bricklayer/tests/doctor/metrics_test.py
cbrentharris/bricklayer
c3f7ac408c50b97329438b77c617f09a91fca767
[ "MIT" ]
null
null
null
bricklayer/tests/doctor/metrics_test.py
cbrentharris/bricklayer
c3f7ac408c50b97329438b77c617f09a91fca767
[ "MIT" ]
null
null
null
bricklayer/tests/doctor/metrics_test.py
cbrentharris/bricklayer
c3f7ac408c50b97329438b77c617f09a91fca767
[ "MIT" ]
null
null
null
from unittest import TestCase from bricklayer.doctor.metrics import Metrics import os class MetricsTest(TestCase): def setUp(self): self.metrics = Metrics() filename = os.path.dirname(os.path.realpath(__file__)) + '/simple_module.py' self.metrics.collect_metrics(filename) def test_it_...
32.258065
119
0.743
131
1,000
5.351145
0.335878
0.125535
0.077033
0.145506
0.46933
0.128388
0.128388
0.128388
0.128388
0.128388
0
0.005952
0.16
1,000
30
120
33.333333
0.828571
0
0
0
0
0
0.034068
0
0
0
0
0
0.3
1
0.35
false
0
0.15
0
0.55
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
aa8bcb3aaeb00fc7d62461aecc21755480b95eb9
3,181
py
Python
sdk/python/pulumi_aws_native/codebuild/get_source_credential.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
29
2021-09-30T19:32:07.000Z
2022-03-22T21:06:08.000Z
sdk/python/pulumi_aws_native/codebuild/get_source_credential.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
232
2021-09-30T19:26:26.000Z
2022-03-31T23:22:06.000Z
sdk/python/pulumi_aws_native/codebuild/get_source_credential.py
pulumi/pulumi-aws-native
1ae4a4d9c2256b2a79ca536f8d8497b28d10e4c3
[ "Apache-2.0" ]
4
2021-11-10T19:42:01.000Z
2022-02-05T10:15:49.000Z
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from .. import _utilities __a...
33.840426
137
0.666771
356
3,181
5.691011
0.280899
0.047384
0.04689
0.049358
0.267522
0.202369
0.202369
0
0
0
0
0.000408
0.228859
3,181
93
138
34.204301
0.82552
0.101226
0
0.101449
1
0
0.126726
0.052389
0
0
0
0
0
1
0.115942
false
0
0.072464
0.057971
0.304348
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
aa8fc66143651fad2afa51271ae4c5dea7e67566
5,857
py
Python
services/auto/src/services/control.py
maxkferg/safe-neural-control
5ff4bf0100e18a778cbf3cdaa5487e12a4575a4d
[ "MIT" ]
1
2022-01-27T15:59:59.000Z
2022-01-27T15:59:59.000Z
services/auto/src/services/control.py
maxkferg/safe-neural-control
5ff4bf0100e18a778cbf3cdaa5487e12a4575a4d
[ "MIT" ]
10
2021-03-01T22:34:42.000Z
2022-03-08T22:42:46.000Z
services/auto/src/services/control.py
maxkferg/safe-neural-control
5ff4bf0100e18a778cbf3cdaa5487e12a4575a4d
[ "MIT" ]
1
2022-03-21T22:26:26.000Z
2022-03-21T22:26:26.000Z
""" Control Generator Generate control actions for any observation on the stream - Subscribes to robot.events.observation to track robot positions - Publishes observations to robot.commands.velocity_pred """ import os import ray import math import time import yaml import json import urllib import shutil im...
32.904494
104
0.613454
673
5,857
5.153046
0.326895
0.023356
0.022491
0.014418
0.037486
0.037486
0.037486
0.037486
0.037486
0.037486
0
0.002892
0.291617
5,857
177
105
33.090395
0.832972
0.144272
0
0.033613
1
0
0.120363
0.015458
0
0
0
0
0
1
0.05042
false
0
0.168067
0.008403
0.243697
0.033613
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
aa94d764ff352fffed4acba7d9ce1def1cbc04e9
549
py
Python
cdchanger/models.py
mnosinov/cdchanger
7dc4db3849e135c813d4a46287bdb7cb8b1547d6
[ "MIT" ]
null
null
null
cdchanger/models.py
mnosinov/cdchanger
7dc4db3849e135c813d4a46287bdb7cb8b1547d6
[ "MIT" ]
null
null
null
cdchanger/models.py
mnosinov/cdchanger
7dc4db3849e135c813d4a46287bdb7cb8b1547d6
[ "MIT" ]
null
null
null
from django.db import models from django.core.validators import MinValueValidator class Cdchanger(models.Model): name = models.CharField(max_length=50) capacity = models.IntegerField(validators=[MinValueValidator(1)]) class Disk(models.Model): cdchanger = models.ForeignKey(Cdchanger, on_delete=models.CA...
28.894737
70
0.772313
68
549
6.161765
0.455882
0.078759
0.128878
0.171838
0.133652
0
0
0
0
0
0
0.014523
0.12204
549
18
71
30.5
0.854772
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
1
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa95b201eba354ef5ffc808995d36f3cc5ef8e98
1,153
py
Python
selfcare/ecommerce/functions/auth.py
Edmar-Sousa/selfcare
86982a055089840c2d39b3acab6869cf682b147c
[ "MIT" ]
null
null
null
selfcare/ecommerce/functions/auth.py
Edmar-Sousa/selfcare
86982a055089840c2d39b3acab6869cf682b147c
[ "MIT" ]
null
null
null
selfcare/ecommerce/functions/auth.py
Edmar-Sousa/selfcare
86982a055089840c2d39b3acab6869cf682b147c
[ "MIT" ]
null
null
null
from django.contrib.auth import login as auth_login, authenticate from django.shortcuts import redirect from ecommerce.form import FormLogin, RegisterUser from ecommerce.functions.user import registerLocalizationInModel, registerUserInModel, registerUserInUserDjangoModel def validateFormLoginAndLoginUser(req...
29.564103
116
0.708586
104
1,153
7.817308
0.365385
0.054121
0.01968
0.03198
0
0
0
0
0
0
0
0
0.212489
1,153
39
117
29.564103
0.895374
0
0
0.269231
0
0
0.039861
0
0
0
0
0
0
1
0.076923
false
0.076923
0.153846
0
0.346154
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
aa9998d6e7327a168a2f3d6205079378e654c5f3
549
py
Python
yoti_python_sdk/doc_scan/session/create/filter/__init__.py
getyoti/python
3df169145d5c818d0e79743768dde78e482eec9b
[ "MIT" ]
9
2017-11-12T05:38:58.000Z
2021-08-04T16:33:26.000Z
yoti_python_sdk/doc_scan/session/create/filter/__init__.py
getyoti/python
3df169145d5c818d0e79743768dde78e482eec9b
[ "MIT" ]
237
2017-04-26T09:40:44.000Z
2022-02-24T10:29:43.000Z
yoti_python_sdk/doc_scan/session/create/filter/__init__.py
getyoti/python
3df169145d5c818d0e79743768dde78e482eec9b
[ "MIT" ]
9
2017-05-02T11:41:44.000Z
2021-04-28T13:49:20.000Z
from .document_restrictions_filter import ( DocumentRestrictionBuilder, DocumentRestrictionsFilterBuilder, ) from .orthogonal_restrictions_filter import OrthogonalRestrictionsFilterBuilder from .required_id_document import RequiredIdDocumentBuilder from .required_supplementary_document import RequiredSupplement...
34.3125
81
0.848816
31
549
14.645161
0.483871
0.079295
0.105727
0
0
0
0
0
0
0
0
0
0.103825
549
15
82
36.6
0.922764
0
0
0
0
0
0.282332
0.282332
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa9b713c1daa77851821578586f688251dc59320
4,460
py
Python
wos2vivo/query.py
lawlesst/wos2vivo
e0258aa5ccb3acb0924a61bf225f2e6aa439876e
[ "MIT" ]
6
2018-04-06T00:06:27.000Z
2019-11-06T20:54:09.000Z
wos2vivo/query.py
rpritchett/wos2vivo
e0258aa5ccb3acb0924a61bf225f2e6aa439876e
[ "MIT" ]
5
2018-02-23T15:27:29.000Z
2019-10-30T00:19:32.000Z
wos2vivo/query.py
rpritchett/wos2vivo
e0258aa5ccb3acb0924a61bf225f2e6aa439876e
[ "MIT" ]
null
null
null
""" Build query documents for the WoS Lite API. """ import xml.etree.ElementTree as ET from xml.dom import minidom ns = { "soapenv": "http://schemas.xmlsoap.org/soap/envelope/", "woksearchlite": "http://woksearchlite.v3.wokmws.thomsonreuters.com", } ET.register_namespace("soapenv", ns["soapenv"]) ET.register...
28.961039
127
0.608744
520
4,460
5.138462
0.286538
0.02994
0.022455
0.023578
0.181512
0.148578
0.100299
0.029192
0.029192
0
0
0.015092
0.257175
4,460
154
128
28.961039
0.791428
0.024215
0
0.089286
0
0
0.322731
0.041595
0
0
0
0
0
0
null
null
0.017857
0.017857
null
null
0.008929
0
0
0
null
0
0
0
0
0
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
aa9bf8f486c26db6f53c32a676c4a1e967c1917b
1,664
py
Python
Time Examples/Time Practice.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
Time Examples/Time Practice.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
Time Examples/Time Practice.py
Wadden12/Semester1
a13c4486848daec3b5865e8a2a778689c81528fe
[ "Apache-2.0" ]
null
null
null
#Time Practice import datetime # Define the current date and print with different formats CurDate = datetime.datetime.now() print() print("Current date based on the system date") print("Note how it prints the date and time") print(CurDate) print() print("Different formats when printing out a date") print(CurDate....
26.83871
75
0.746394
250
1,664
4.968
0.316
0.064412
0.064412
0.050725
0.141707
0.080515
0.080515
0.080515
0.080515
0
0
0.018815
0.13762
1,664
62
76
26.83871
0.84669
0.201322
0
0.190476
0
0
0.366591
0
0
0
0
0
0
1
0
false
0
0.02381
0
0.02381
0.714286
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
aa9dbe0cd6b800a756d49d818a0f03cde6be40e6
1,199
py
Python
src/apps/trainings/migrations/0010_auto_20201012_2028.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
27
2020-05-03T11:01:27.000Z
2022-03-17T05:33:10.000Z
src/apps/trainings/migrations/0010_auto_20201012_2028.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
54
2020-05-09T01:18:41.000Z
2022-01-22T10:31:15.000Z
src/apps/trainings/migrations/0010_auto_20201012_2028.py
sanderland/katago-server
6414fab080d007c05068a06ff4f25907b92848bd
[ "MIT" ]
9
2020-09-29T11:31:32.000Z
2022-03-09T01:37:50.000Z
# Generated by Django 3.0.6 on 2020-10-12 20:28 from django.db import migrations, models import src.apps.trainings.models.network import src.contrib.validators class Migration(migrations.Migration): dependencies = [ ('trainings', '0009_auto_20200921_0314'), ] operations = [ migrations.A...
46.115385
359
0.713928
150
1,199
5.54
0.42
0.043321
0.057762
0.079422
0.586041
0.551143
0.551143
0.44284
0.44284
0.279182
0
0.058291
0.170142
1,199
25
360
47.96
0.776884
0.037531
0
0.315789
1
0
0.207465
0.019965
0
0
0
0
0
1
0
false
0
0.157895
0
0.315789
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aa9eb5eb71d3e280b819b753395a1d435fda9fa0
1,169
py
Python
src/augraphy/augmentations/subtlenoise.py
azf99/augraphy
5266c60606f47ea5b25b4be254c46d5561883431
[ "MIT" ]
null
null
null
src/augraphy/augmentations/subtlenoise.py
azf99/augraphy
5266c60606f47ea5b25b4be254c46d5561883431
[ "MIT" ]
null
null
null
src/augraphy/augmentations/subtlenoise.py
azf99/augraphy
5266c60606f47ea5b25b4be254c46d5561883431
[ "MIT" ]
null
null
null
import numpy as np import random from augraphy.base.augmentation import Augmentation from augraphy.base.augmentationresult import AugmentationResult class SubtleNoiseAugmentation(Augmentation): """Emulates the imperfections in scanning solid colors due to subtle lighting differences. :param range: The p...
34.382353
87
0.688623
148
1,169
5.297297
0.533784
0.057398
0.040816
0.045918
0
0
0
0
0
0
0
0.009793
0.213858
1,169
33
88
35.424242
0.843308
0.318221
0
0
0
0
0.082353
0.056209
0
0
0
0
0
1
0.176471
false
0
0.235294
0.058824
0.529412
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
aaa0fb8370f99109d6bb55044d015a9b61705053
3,975
py
Python
src/gtfspy/transit_data_utils.py
Lenka42/gtfs.py
7938fca5232e9344d38def5c3d2ef622b78d3813
[ "Apache-2.0" ]
2
2021-07-05T19:32:46.000Z
2021-07-06T19:55:48.000Z
src/gtfspy/transit_data_utils.py
Lenka42/gtfs.py
7938fca5232e9344d38def5c3d2ef622b78d3813
[ "Apache-2.0" ]
null
null
null
src/gtfspy/transit_data_utils.py
Lenka42/gtfs.py
7938fca5232e9344d38def5c3d2ef622b78d3813
[ "Apache-2.0" ]
1
2021-04-27T08:47:45.000Z
2021-04-27T08:47:45.000Z
from io import StringIO from .data_objects import UnknownFile from .transit_data_object import TransitData def clone_transit_data(transit_data): """ :rtype: TransitData :type transit_data: TransitData """ new_transit_data = TransitData() for service in transit_data.calendar: new_tran...
40.979381
96
0.685283
538
3,975
4.737918
0.141264
0.202825
0.137309
0.031385
0.61122
0.561789
0.47705
0.41428
0.356218
0.325618
0
0
0.240252
3,975
96
97
41.40625
0.84404
0.072704
0
0.338462
0
0
0
0
0
0
0
0
0
1
0.046154
false
0
0.046154
0
0.138462
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
aaa3c2a74d7477d2f67dc904b0f72b16b4b1b35a
2,153
py
Python
webapp/order_server/authenticate/views.py
hscspring/Python-for-Freshman
cafcf17a1dced6a1f685dd4c9a7959b91bdfd6f1
[ "MIT" ]
null
null
null
webapp/order_server/authenticate/views.py
hscspring/Python-for-Freshman
cafcf17a1dced6a1f685dd4c9a7959b91bdfd6f1
[ "MIT" ]
6
2021-03-19T02:15:45.000Z
2022-02-10T08:47:29.000Z
webapp/order_server/authenticate/views.py
hscspring/Python-for-Freshman
cafcf17a1dced6a1f685dd4c9a7959b91bdfd6f1
[ "MIT" ]
null
null
null
import json from rest_framework import generics from rest_framework_simplejwt.views import TokenObtainPairView from django.views import View from django.http import JsonResponse, HttpResponse from django.contrib.auth.hashers import make_password from django.contrib.auth.models import User from rest_framework.respon...
29.493151
65
0.653507
218
2,153
6.394495
0.394495
0.028694
0.036585
0.030129
0.153515
0.153515
0.153515
0.153515
0.153515
0.153515
0
0.006936
0.263353
2,153
72
66
29.902778
0.872005
0.069206
0
0.083333
0
0
0.061328
0
0
0
0
0
0
1
0.041667
false
0.0625
0.229167
0.020833
0.5625
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
aaa4714e94e8f4e195be0e4038cf8cf6466bc17b
991
py
Python
Analytics/manage.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
4
2018-11-21T14:42:18.000Z
2020-05-11T10:52:59.000Z
Analytics/manage.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
60
2018-11-21T15:11:59.000Z
2019-12-02T10:46:44.000Z
Analytics/manage.py
thanosbnt/SharingCitiesDashboard
5d123691d1f25d0b85e20e4e8293266bf23c9f8a
[ "Apache-2.0" ]
7
2018-11-21T14:42:44.000Z
2019-11-28T16:24:14.000Z
import os import sys sys.path.append(os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))) from gunicornserver import GunicornServer from flask_script import Manager, Server from flask_migrate import MigrateCommand from app import create_app from drop_datasource import DropDatasource from add_datasource imp...
30.030303
79
0.81332
125
991
6.16
0.416
0.077922
0.132468
0.051948
0
0
0
0
0
0
0
0
0.088799
991
32
80
30.96875
0.852713
0
0
0
0
0
0.077699
0
0
0
0
0
0
1
0
false
0
0.423077
0
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
aaa64dd6fae694cda990bb6463446c7e60286a07
406
py
Python
aomswork/urls.py
anditakaesar/aoms
9cf83bd496178e857da6cd6444b523fcfa8fbf8b
[ "MIT" ]
null
null
null
aomswork/urls.py
anditakaesar/aoms
9cf83bd496178e857da6cd6444b523fcfa8fbf8b
[ "MIT" ]
null
null
null
aomswork/urls.py
anditakaesar/aoms
9cf83bd496178e857da6cd6444b523fcfa8fbf8b
[ "MIT" ]
null
null
null
from django.conf.urls import url, include from aomswork import views from rest_framework.routers import DefaultRouter router = DefaultRouter() router.register(r'products', views.ProductViewSet) router.register(r'colors', views.ColorViewSet) router.register(r'productcolor', views.ProductColorViewSet) router.register(r...
27.066667
59
0.79064
49
406
6.530612
0.510204
0.175
0.1875
0
0
0
0
0
0
0
0
0
0.091133
406
14
60
29
0.867209
0
0
0
0
0
0.081281
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aab6af6668667d86526532da4c1302a27be8ce4c
858
py
Python
torchsparse/nn/functional/voxelize.py
ashawkey/torchsparse
775120df77e8daea2011ff16580cbaa2c103540b
[ "MIT" ]
1
2021-11-01T16:57:22.000Z
2021-11-01T16:57:22.000Z
torchsparse/nn/functional/voxelize.py
ashawkey/torchsparse
775120df77e8daea2011ff16580cbaa2c103540b
[ "MIT" ]
null
null
null
torchsparse/nn/functional/voxelize.py
ashawkey/torchsparse
775120df77e8daea2011ff16580cbaa2c103540b
[ "MIT" ]
null
null
null
from torch.autograd import Function import torchsparse_cuda from torchsparse.nn.functional.hash import * __all__ = ['spvoxelize'] # avg voxelization. # feat: [N, c], idx: [N], cnt: [N1] # return [N1, c] class VoxelizeGPU(Function): @staticmethod def forward(ctx, feat, idx, cnt): out = to...
28.6
104
0.66317
107
858
5.158879
0.411215
0.054348
0.054348
0.068841
0
0
0
0
0
0
0
0.004438
0.212121
858
29
105
29.586207
0.81213
0.076923
0
0.111111
0
0
0.013175
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0.055556
0.555556
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
aabb3a12f75cd29b328be894d2e20c8eb97c69fc
958
py
Python
setup.py
jon85p/pyENL
f9b9a47d08076e89182b0a257b96b52efafff383
[ "MIT" ]
24
2016-04-06T23:36:07.000Z
2021-12-07T06:11:42.000Z
setup.py
jon85p/pyENL
f9b9a47d08076e89182b0a257b96b52efafff383
[ "MIT" ]
34
2016-10-17T05:22:31.000Z
2021-02-22T00:05:18.000Z
setup.py
jon85p/pyENL
f9b9a47d08076e89182b0a257b96b52efafff383
[ "MIT" ]
6
2016-10-19T13:49:33.000Z
2021-05-12T06:45:04.000Z
#!/usr/bin/env python3 from setuptools import setup from pip.req import parse_requirements from distutils.core import Extension # requirements = parse_requirements('requirements.txt', session=False) # # requires = [] # for item in requirements: # # we want to handle package names and also repo urls # if geta...
30.903226
70
0.65762
119
958
5.243697
0.630252
0.043269
0.0625
0.057692
0
0
0
0
0
0
0
0.01054
0.207724
958
30
71
31.933333
0.811594
0.473904
0
0
0
0
0.366803
0.096311
0
0
0
0
0
1
0
true
0
0.230769
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
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
aabd14b87b78eb515ce5a8c38ab618a9f8511224
2,638
py
Python
telebot/plugins/__init__.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
telebot/plugins/__init__.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
telebot/plugins/__init__.py
olegvg/telebot
e37bce862518a1addaf1db4624a62eaf9dfc4afa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- import abc import logging from telebot import config text_plugin_blueprints = {} logger = logging.getLogger('plugins') class TextPluginMixin(object): __metaclass__ = abc.ABCMeta __help_string__ = u'No help string. Please add it.' __help_enabled__ = True # noinspection PyMet...
34.710526
100
0.679303
304
2,638
5.694079
0.378289
0.034662
0.036973
0.03004
0.48238
0.42461
0.42461
0.42461
0.367418
0.367418
0
0.000996
0.238817
2,638
75
101
35.173333
0.861056
0.399545
0
0.108108
0
0
0.118021
0
0
0
0
0
0
1
0.135135
false
0.054054
0.108108
0
0.405405
0.081081
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
aac32e4f01feacf5aa540add750b111d1c7ac4f7
361
py
Python
src/settings/__init__.py
arnulfojr/simple-pos
119c4c52bf62f52004f4b2b031098ed71890d250
[ "MIT" ]
1
2018-09-11T19:32:25.000Z
2018-09-11T19:32:25.000Z
src/settings/__init__.py
arnulfojr/simple-pos
119c4c52bf62f52004f4b2b031098ed71890d250
[ "MIT" ]
null
null
null
src/settings/__init__.py
arnulfojr/simple-pos
119c4c52bf62f52004f4b2b031098ed71890d250
[ "MIT" ]
null
null
null
import os from db import DB_USER, DB_PASSWORD, DB_HOST, DB_PORT, DB_NAME, DB_ECHO, DB_URI PORT = os.getenv('PORT', 5000) HOSTNAME = os.getenv('HOST', '0.0.0.0') IS_DEV = os.getenv('IS_DEV', 'True') == 'True' USE_RELOADER = IS_DEV and (os.getenv('USE_RELOADER', 'True') == 'True') USE_DEBUGGER = IS_DEV and (os.ge...
21.235294
79
0.67036
62
361
3.66129
0.354839
0.176211
0.026432
0.088106
0.167401
0.167401
0
0
0
0
0
0.025806
0.141274
361
16
80
22.5625
0.706452
0
0
0
0
0
0.192201
0
0
0
0
0
0
1
0
false
0.142857
0.285714
0
0.285714
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
aac4ef1b9f535a86e5af7382c92082db7d7646c9
6,433
py
Python
py/csv2pg.py
FredHutch/sc-scripts
3ce9e79e541aa0e85a00ef6226af1e188b9d461d
[ "MIT" ]
null
null
null
py/csv2pg.py
FredHutch/sc-scripts
3ce9e79e541aa0e85a00ef6226af1e188b9d461d
[ "MIT" ]
null
null
null
py/csv2pg.py
FredHutch/sc-scripts
3ce9e79e541aa0e85a00ef6226af1e188b9d461d
[ "MIT" ]
null
null
null
#! /usr/bin/env python3 import os, sys, psycopg2, argparse, csv, itertools, operator from messytables import CSVTableSet, type_guess, \ types_processor, headers_guess, headers_processor, \ offset_processor, any_tableset # takes type samples in these rows and returns the most common typeset rowstocheck = [3, 8, 12...
36.971264
99
0.579978
767
6,433
4.778357
0.370274
0.009823
0.027831
0.029468
0.122237
0.122237
0.097135
0.097135
0.097135
0.097135
0
0.010237
0.286336
6,433
173
100
37.184971
0.788064
0.095601
0
0.186567
0
0.007463
0.221244
0.030915
0
0
0
0
0
1
0.029851
false
0.052239
0.022388
0
0.089552
0.097015
0
0
0
null
0
0
0
0
0
0
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
aad013dfbcf2d179bf30040138305442d2b56871
597
py
Python
devday/twitterfeed/migrations/0002_auto_20170118_2023.py
jenslauterbach/devday_website
a827c9237e656842542eff07ec9fa7b39716a0ee
[ "CC-BY-4.0", "BSD-3-Clause" ]
6
2018-09-30T20:18:01.000Z
2020-03-12T09:03:38.000Z
devday/twitterfeed/migrations/0002_auto_20170118_2023.py
jenslauterbach/devday_website
a827c9237e656842542eff07ec9fa7b39716a0ee
[ "CC-BY-4.0", "BSD-3-Clause" ]
260
2018-09-30T14:17:57.000Z
2022-03-04T13:48:34.000Z
devday/twitterfeed/migrations/0002_auto_20170118_2023.py
jenslauterbach/devday_website
a827c9237e656842542eff07ec9fa7b39716a0ee
[ "CC-BY-4.0", "BSD-3-Clause" ]
9
2018-09-30T13:17:21.000Z
2020-10-03T12:55:05.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.8 on 2017-01-18 19:23 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('twitterfeed', '0001_initial'), ] operations = [ migrations.RemoveField( ...
22.961538
65
0.586265
61
597
5.557377
0.737705
0.053097
0.082596
0.106195
0
0
0
0
0
0
0
0.050119
0.298157
597
25
66
23.88
0.75895
0.112228
0
0.222222
1
0
0.092979
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aad0259544031b974c7665ac187f46d600b5f9ae
5,163
py
Python
RL/jax_rl/datasets/equivariant_standardization.py
mfinzi/residual-pathway-priors
f1b1910bd9cb69f3d6121fdb9b68e82d55db9983
[ "BSD-2-Clause" ]
9
2021-11-23T18:21:57.000Z
2022-02-10T06:29:21.000Z
RL/jax_rl/datasets/equivariant_standardization.py
mfinzi/residual-pathway-priors
f1b1910bd9cb69f3d6121fdb9b68e82d55db9983
[ "BSD-2-Clause" ]
null
null
null
RL/jax_rl/datasets/equivariant_standardization.py
mfinzi/residual-pathway-priors
f1b1910bd9cb69f3d6121fdb9b68e82d55db9983
[ "BSD-2-Clause" ]
null
null
null
import torch import torch.nn as nn import copy import numpy as np import objax.nn as nn import jax from jax import jit import jax.numpy as jnp from emlp.reps import Scalar from emlp.reps.product_sum_reps import SumRep import logging import objax.functional as F from functools import partial import objax from functools ...
37.143885
148
0.635483
767
5,163
4.157758
0.200782
0.028536
0.020069
0.010034
0.399498
0.319536
0.253057
0.215114
0.179367
0.151772
0
0.010296
0.228743
5,163
139
149
37.143885
0.790558
0.22545
0
0.207921
0
0
0.011923
0
0
0
0
0.021583
0.009901
1
0.089109
false
0
0.148515
0.009901
0.316832
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
aad4683ac8983be7910a5591817c061e91423d24
358
py
Python
ubfcart/tasks.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
ubfcart/tasks.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
ubfcart/tasks.py
himasnhu1/example
27db7941c5f7bd16ffb407654818012e43d82f7e
[ "MIT" ]
null
null
null
from celery.decorators import periodic_task from celery import shared_task from .models import * import datetime @shared_task def promocodechecker(): codes = Promocode.objects.filter(active=True) for code in codes: if (code.validity - datetime.date.today()).days <0: code.active = False ...
18.842105
59
0.659218
43
358
5.418605
0.651163
0.085837
0
0
0
0
0
0
0
0
0
0.003759
0.256983
358
18
60
19.888889
0.87218
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0.363636
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
aad9dfe2b37229011e0cdf71599c0775eff065b4
7,034
py
Python
Project/src/Modules/Computer/Web/web_server.py
DBrianKimmel/PyHouse
a100fc67761a22ae47ed6f21f3c9464e2de5d54f
[ "MIT" ]
3
2016-11-16T00:37:58.000Z
2019-11-10T13:10:19.000Z
Project/src/Modules/Computer/Web/web_server.py
DBrianKimmel/PyHouse
a100fc67761a22ae47ed6f21f3c9464e2de5d54f
[ "MIT" ]
null
null
null
Project/src/Modules/Computer/Web/web_server.py
DBrianKimmel/PyHouse
a100fc67761a22ae47ed6f21f3c9464e2de5d54f
[ "MIT" ]
1
2020-07-19T22:06:52.000Z
2020-07-19T22:06:52.000Z
""" @name: Modules/Web/web_server.py @author: D. Brian Kimmel @contact: D.BrianKimmel@gmail.com @copyright: 2012-2020 by D. Brian Kimmel @note: Created on Apr 3, 2012 @license: MIT License @summary: This module provides the web server(s) service of PyHouse. This is a Main Module - always present. O...
37.817204
194
0.688797
961
7,034
4.87513
0.341311
0.042689
0.042263
0.026894
0.151761
0.111419
0.054216
0.028602
0.028602
0.028602
0
0.016211
0.219505
7,034
185
195
38.021622
0.837158
0.510236
0
0.084507
0
0
0.070891
0
0
0
0
0
0
1
0.183099
false
0.056338
0.098592
0.014085
0.352113
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
aad9f0b81b50d455faecb447ca745fad6d22eece
1,345
py
Python
demo/demo/models.py
idlesign/django-siteforms
86661d6f899e842c32802511ac0a13db1eed671d
[ "BSD-3-Clause" ]
16
2020-06-23T19:41:35.000Z
2020-08-15T14:34:21.000Z
demo/demo/models.py
idlesign/django-siteforms
86661d6f899e842c32802511ac0a13db1eed671d
[ "BSD-3-Clause" ]
null
null
null
demo/demo/models.py
idlesign/django-siteforms
86661d6f899e842c32802511ac0a13db1eed671d
[ "BSD-3-Clause" ]
null
null
null
from django.db import models class Author(models.Model): name = models.CharField('Name', max_length=100) def __str__(self): return f'{self.name} ({self.id})' class Article(models.Model): date_created = models.DateTimeField('Created', auto_now_add=True, blank=True) author = models.Foreign...
36.351351
116
0.698141
177
1,345
5.169492
0.480226
0.069945
0.02623
0
0
0
0
0
0
0
0
0.014938
0.153903
1,345
36
117
37.361111
0.789104
0
0
0
0
0
0.232714
0
0
0
0
0
0
1
0.05
false
0
0.05
0.05
0.85
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
aadba78cd5dcf2acfc9123302348c25d99a779da
1,355
py
Python
setup.py
Himydata/target-himydata
e23432736c3ab143559644dfa6078edc092355ea
[ "Apache-2.0" ]
null
null
null
setup.py
Himydata/target-himydata
e23432736c3ab143559644dfa6078edc092355ea
[ "Apache-2.0" ]
null
null
null
setup.py
Himydata/target-himydata
e23432736c3ab143559644dfa6078edc092355ea
[ "Apache-2.0" ]
null
null
null
# target-himydata # Copyright 2018 Himydata, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the # License. # # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agr...
32.261905
69
0.662731
182
1,355
4.895604
0.587912
0.094276
0.029181
0.035915
0
0
0
0
0
0
0
0.033613
0.209594
1,355
41
70
33.04878
0.798319
0.476753
0
0
0
0
0.513043
0.153623
0
0
0
0
0
1
0
true
0
0.047619
0
0.047619
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
2aa4270663bd3d43010c4e55d54b0bd6c791fe01
1,063
py
Python
setup.py
zkytony/ai2thor-web
2f18cbcfc11e2e40086a50abac938d9639055c62
[ "Apache-2.0" ]
null
null
null
setup.py
zkytony/ai2thor-web
2f18cbcfc11e2e40086a50abac938d9639055c62
[ "Apache-2.0" ]
null
null
null
setup.py
zkytony/ai2thor-web
2f18cbcfc11e2e40086a50abac938d9639055c62
[ "Apache-2.0" ]
null
null
null
# Copyright 2022 Kaiyu Zheng # # 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...
31.264706
74
0.659454
131
1,063
5.320611
0.664122
0.086083
0.037303
0.045911
0
0
0
0
0
0
0
0.017413
0.24365
1,063
33
75
32.212121
0.849502
0.518344
0
0
0
0
0.257028
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