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
6407bd6f40ff5063beaf9fb8d14cc3d2f6e85b8b
1,243
py
Python
downsampleScript.py
abhivsridhar9/annotationmodeling
6f8160581a28ba9fab68e7e89b0000551c836497
[ "BSD-3-Clause" ]
null
null
null
downsampleScript.py
abhivsridhar9/annotationmodeling
6f8160581a28ba9fab68e7e89b0000551c836497
[ "BSD-3-Clause" ]
null
null
null
downsampleScript.py
abhivsridhar9/annotationmodeling
6f8160581a28ba9fab68e7e89b0000551c836497
[ "BSD-3-Clause" ]
null
null
null
import csv import itertools import numpy import numpy as np import pandas as pd import sklearn from matplotlib import pyplot as plt from pandas import DataFrame import tsv import experiments import utils from granularity import * from sklearn.metrics import f1_score, accuracy_score input_df = pd.read_csv("data/answer...
18.552239
102
0.738536
184
1,243
4.788043
0.36413
0.108967
0.051078
0.054484
0.331442
0.297389
0.297389
0.297389
0.217934
0.217934
0
0.009302
0.135157
1,243
66
103
18.833333
0.810233
0
0
0.125
0
0
0.116926
0.067048
0
0
0
0
0
1
0
false
0
0.40625
0
0.40625
0.0625
0
0
0
null
0
0
0
0
0
0
0
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
6409930fd3c9fbdad67974407862cc1c6470f108
5,709
py
Python
awdphpspear/protect.py
hillmanyoung/AWD
6abe8f96c1b457a22f0bb15ca6ed901e922fc38c
[ "MIT" ]
146
2019-07-05T12:36:33.000Z
2021-12-05T18:20:26.000Z
awdphpspear/protect.py
ZacharyZcR/AWD-
6abe8f96c1b457a22f0bb15ca6ed901e922fc38c
[ "MIT" ]
null
null
null
awdphpspear/protect.py
ZacharyZcR/AWD-
6abe8f96c1b457a22f0bb15ca6ed901e922fc38c
[ "MIT" ]
36
2019-07-05T12:38:21.000Z
2021-05-26T11:44:13.000Z
# -*- coding:utf-8 -*- import os import hashlib import time import shutil def get_file_md5(filename): m = hashlib.md5() with open(filename,'rb') as fobj: while True: data = fobj.read(4096) if not data: break m.update(data) return m.hexdigest() def file_md5_build(startpath): global md5_list globa...
27.447115
98
0.566299
825
5,709
3.68
0.132121
0.089592
0.046113
0.028986
0.657773
0.617918
0.612978
0.589262
0.559289
0.559289
0
0.016506
0.182869
5,709
208
99
27.447115
0.634298
0.003503
0
0.666667
0
0
0.197082
0.091069
0
0
0
0
0
0
null
null
0
0.020513
null
null
0.184615
0
0
0
null
0
0
0
0
0
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
640b1a52a7313454198d157c537027b044652b91
1,057
py
Python
var/spack/repos/builtin/packages/tup/package.py
matzke1/spack
9af44814b12639744926c56cdf16ac9e95490011
[ "ECL-2.0", "Apache-2.0", "MIT" ]
2
2018-11-27T03:39:44.000Z
2021-09-06T15:50:35.000Z
var/spack/repos/builtin/packages/tup/package.py
matzke1/spack
9af44814b12639744926c56cdf16ac9e95490011
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
var/spack/repos/builtin/packages/tup/package.py
matzke1/spack
9af44814b12639744926c56cdf16ac9e95490011
[ "ECL-2.0", "Apache-2.0", "MIT" ]
null
null
null
# Copyright 2013-2018 Lawrence Livermore National Security, LLC and other # Spack Project Developers. See the top-level COPYRIGHT file for details. # # SPDX-License-Identifier: (Apache-2.0 OR MIT) from spack import * class Tup(Package): """Tup is a file-based build system.""" homepage = "http://gittup.org/t...
32.030303
95
0.596026
148
1,057
4.209459
0.635135
0.070626
0.028892
0
0
0
0
0
0
0
0
0.034826
0.239357
1,057
32
96
33.03125
0.74005
0.210974
0
0
0
0.05
0.612121
0.092121
0
0
0
0
0
1
0.05
false
0
0.1
0
0.3
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
640d7dda149456f354d9c408a5de1e4be9c909f6
430
py
Python
setup.py
go-tk/jroh
b91d69c2348b74cf5b6894040b9b2a451b7c72df
[ "MIT" ]
15
2021-08-09T04:24:03.000Z
2022-01-22T06:23:41.000Z
setup.py
go-tk/jroh
b91d69c2348b74cf5b6894040b9b2a451b7c72df
[ "MIT" ]
null
null
null
setup.py
go-tk/jroh
b91d69c2348b74cf5b6894040b9b2a451b7c72df
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name="jroh", version="0.10.2", description="JSON RPC over HTTP", packages=["jroh"], package_dir={"jroh": "src/jroh"}, python_requires=">=3.9", install_requires=[ "PyYAML==5.4.1", "Mako==1.1.4", "google-re2==0.2.20210901", ]...
20.47619
39
0.530233
51
430
4.372549
0.784314
0
0
0
0
0
0
0
0
0
0
0.074194
0.27907
430
20
40
21.5
0.645161
0
0
0.105263
0
0
0.316279
0.111628
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
6414737b3d6bc28ee6a0cd9e57326735d1b60e26
36,065
py
Python
functions.py
VulcanWM/huge-jasonism
373d18a4eb9b7c3c8df72a89f4a51d968a2ed3bf
[ "Apache-2.0" ]
2
2021-11-08T21:43:26.000Z
2021-11-27T19:21:04.000Z
functions.py
VulcanWM/jasonism
373d18a4eb9b7c3c8df72a89f4a51d968a2ed3bf
[ "Apache-2.0" ]
36
2021-11-02T11:30:50.000Z
2022-01-11T18:19:07.000Z
functions.py
VulcanWM/huge-jasonism
373d18a4eb9b7c3c8df72a89f4a51d968a2ed3bf
[ "Apache-2.0" ]
2
2021-11-28T21:01:59.000Z
2021-12-02T19:48:18.000Z
from flask import session import os import datetime import random import requests from string import printable from werkzeug.security import generate_password_hash, check_password_hash import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart import ssl import pymongo import smt...
34.380362
211
0.653431
4,726
36,065
4.975667
0.09945
0.005869
0.003827
0.014459
0.63602
0.5835
0.548458
0.511971
0.491686
0.450351
0
0.025301
0.197782
36,065
1,049
212
34.380362
0.786257
0.015999
0
0.552361
1
0.016427
0.259239
0.008344
0
0
0
0
0
1
0.058522
false
0.039014
0.020534
0
0.222793
0.005133
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
6415a2ba4ed687082f6723a67a9a13773d8f9bca
446
py
Python
tests/__main__.py
wielkiborsuk/slownie
7e0f7197d61c35a841f714c2b0f891ecb9e3132b
[ "Zlib" ]
null
null
null
tests/__main__.py
wielkiborsuk/slownie
7e0f7197d61c35a841f714c2b0f891ecb9e3132b
[ "Zlib" ]
null
null
null
tests/__main__.py
wielkiborsuk/slownie
7e0f7197d61c35a841f714c2b0f891ecb9e3132b
[ "Zlib" ]
null
null
null
# Copyright (c) 2016-2018 Adam Karpierz # Licensed under the zlib/libpng License # http://opensource.org/licenses/zlib from __future__ import absolute_import import unittest, sys from . import test_dir, top_dir tests = unittest.defaultTestLoader.discover(start_dir=test_dir, ...
34.307692
66
0.726457
59
446
5.288136
0.677966
0.057692
0.064103
0
0
0
0
0
0
0
0
0.030387
0.188341
446
12
67
37.166667
0.831492
0.251121
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
641a06084657e58d00325763ca922533c2fff341
1,159
py
Python
rplugin/python3/denite/filter/matcher/regexp.py
Bakudankun/denite.nvim
35ceadf33e1248caead987fc83f01336b81d98fb
[ "MIT" ]
null
null
null
rplugin/python3/denite/filter/matcher/regexp.py
Bakudankun/denite.nvim
35ceadf33e1248caead987fc83f01336b81d98fb
[ "MIT" ]
null
null
null
rplugin/python3/denite/filter/matcher/regexp.py
Bakudankun/denite.nvim
35ceadf33e1248caead987fc83f01336b81d98fb
[ "MIT" ]
1
2019-12-08T10:03:14.000Z
2019-12-08T10:03:14.000Z
# ============================================================================ # FILE: matcher/regexp.py # AUTHOR: Shougo Matsushita <Shougo.Matsu at gmail.com> # License: MIT license # ============================================================================ import re from denite.base.filter import Base from deni...
33.114286
78
0.544435
114
1,159
5.421053
0.491228
0.042071
0.064725
0
0
0
0
0
0
0
0
0.003356
0.228645
1,159
34
79
34.088235
0.687919
0.239862
0
0
0
0
0.082474
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0.047619
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
64202a0d98627c95dcb1e7c54a7c70c996c95f58
3,649
py
Python
main/views.py
BirnadinErick/Django-Flashcards
d08bb06bdc5260f70bfc824eb23c7dff6ce8cf0e
[ "MIT" ]
1
2020-12-01T23:32:57.000Z
2020-12-01T23:32:57.000Z
main/views.py
BirnadinErick/Django-Flashcards
d08bb06bdc5260f70bfc824eb23c7dff6ce8cf0e
[ "MIT" ]
15
2020-12-19T01:19:23.000Z
2021-06-10T20:27:22.000Z
main/views.py
BirnadinErick/Django-Flashcards
d08bb06bdc5260f70bfc824eb23c7dff6ce8cf0e
[ "MIT" ]
2
2020-12-02T13:15:46.000Z
2020-12-26T12:13:00.000Z
import requests from django.shortcuts import get_object_or_404 from django.views.generic import ListView, DetailView from main.models import * from flashcards.credits import API_KEY class SubjectView(ListView): """ Subject View Inherits ListView from Django Generic Views :param subject_sl...
32.292035
214
0.661825
422
3,649
5.542654
0.246446
0.034203
0.051304
0.043608
0.399316
0.399316
0.353142
0.281317
0.239419
0.239419
0
0.00897
0.236229
3,649
112
215
32.580357
0.830283
0.194848
0
0.25
0
0.016667
0.175153
0.007945
0
0
0
0
0
1
0.133333
false
0
0.083333
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
642680eb13d32f8be32e6e98b1d72553bb25e2b4
143
py
Python
example/validators/with_python/development_settings.py
rroden12/dynaconf
9495fdd2145dfc93a9af700c104f7841e52221b2
[ "MIT" ]
2,293
2015-08-14T22:39:31.000Z
2022-03-31T12:44:49.000Z
example/validators/with_python/development_settings.py
rroden12/dynaconf
9495fdd2145dfc93a9af700c104f7841e52221b2
[ "MIT" ]
676
2015-08-20T19:29:56.000Z
2022-03-31T13:45:51.000Z
example/validators/with_python/development_settings.py
rroden12/dynaconf
9495fdd2145dfc93a9af700c104f7841e52221b2
[ "MIT" ]
255
2015-12-02T21:16:33.000Z
2022-03-20T22:03:46.000Z
EXAMPLE = True MYSQL_HOST = "development.com" VERSION = 1 AGE = 15 NAME = "MIKE" IMAGE_1 = "aaa" IMAGE_2 = "bbb" IMAGE_4 = "a" IMAGE_5 = "b"
11.916667
30
0.643357
24
143
3.625
0.833333
0
0
0
0
0
0
0
0
0
0
0.061404
0.202797
143
11
31
13
0.701754
0
0
0
0
0
0.188811
0
0
0
0
0
0
1
0
false
0
0
0
0
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
6430db7d510dca5dd5bcc0e3f57b51999143ff14
583
py
Python
setup.py
yordanglez/redis-sort-queue
ac824fd24959bc17d752b9e4165624fecbd59f80
[ "BSD-3-Clause" ]
2
2020-11-27T02:18:09.000Z
2021-07-04T07:49:56.000Z
setup.py
yordanglez/redis-sort-queue
ac824fd24959bc17d752b9e4165624fecbd59f80
[ "BSD-3-Clause" ]
1
2019-06-22T09:12:45.000Z
2019-06-22T09:12:45.000Z
setup.py
yordanglez/redis-sort-queue
ac824fd24959bc17d752b9e4165624fecbd59f80
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python from setuptools import setup, find_packages from redis_sort_queue import VERSION setup( name='redis-sort-queue', version=VERSION, url='https://github.com/yordanglez/redis-sort-queue', description=( "ordered queue for redis"), long_description=open('README.rst').read()...
26.5
57
0.684391
68
583
5.735294
0.661765
0.069231
0.107692
0
0
0
0
0
0
0
0
0.012552
0.180103
583
22
58
26.5
0.803347
0.034305
0
0
0
0
0.319716
0.0373
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
643d489957a48d5d11652847c12658470d2c7c45
396
py
Python
rel-eng/lib/osbsbuilder.py
SalatskySal/atomic-reactor
7143d2dadf6bf3eaec0eafa9cc9f3eb2ff44eafb
[ "BSD-3-Clause" ]
113
2015-07-23T21:37:07.000Z
2019-05-28T18:58:26.000Z
rel-eng/lib/osbsbuilder.py
SalatskySal/atomic-reactor
7143d2dadf6bf3eaec0eafa9cc9f3eb2ff44eafb
[ "BSD-3-Clause" ]
921
2015-07-13T14:25:48.000Z
2019-05-31T14:57:39.000Z
rel-eng/lib/osbsbuilder.py
SalatskySal/atomic-reactor
7143d2dadf6bf3eaec0eafa9cc9f3eb2ff44eafb
[ "BSD-3-Clause" ]
42
2015-07-17T12:48:25.000Z
2019-03-29T07:48:57.000Z
from tito.builder import Builder class AtomicReactorBuilder(Builder): def __init__(self, **kwargs): super(AtomicReactorBuilder, self).__init__(**kwargs) # tarball has to represent Source0 # but internal structure should remain same # i.e. {name}-{version} otherwise %setup -q ...
30.461538
60
0.666667
45
396
5.644444
0.8
0
0
0
0
0
0
0
0
0
0
0.0033
0.234848
396
12
61
33
0.834984
0.318182
0
0
0
0
0.026415
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
64409231d7eb31d081f968388eff261d393f7c6f
1,271
py
Python
trys3mock.py
nicholasjgreen/using-docker-s3mock
44adffcb1839bc39b5cfa0bc8e372881ba9aa172
[ "Apache-2.0" ]
null
null
null
trys3mock.py
nicholasjgreen/using-docker-s3mock
44adffcb1839bc39b5cfa0bc8e372881ba9aa172
[ "Apache-2.0" ]
null
null
null
trys3mock.py
nicholasjgreen/using-docker-s3mock
44adffcb1839bc39b5cfa0bc8e372881ba9aa172
[ "Apache-2.0" ]
null
null
null
import boto3 # Create an S3 client pointed at the localhost. The credentials are totally made up session = boto3.session.Session() endpointurl = "http://localhost:4572" s3_client = session.client(service_name = "s3", aws_access_key_id="a", aws_secret_access_key="b", endpoint_url=endpointurl) # List the buckets print(...
30.261905
123
0.721479
176
1,271
5.090909
0.431818
0.071429
0.046875
0.060268
0.125
0.125
0.084821
0
0
0
0
0.024043
0.116444
1,271
41
124
31
0.77382
0.08812
0
0.125
0
0
0.234632
0
0
0
0
0
0
1
0
false
0
0.03125
0
0.03125
0.46875
0
0
0
null
0
0
0
0
0
0
0
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
6442ee9a166a4a8bd9506c3aae5102ebc82817bc
540
py
Python
setup.py
u8sand/jsonlddb
e7a4fdc13e988d6b9f0ec10d1a51fa470e6d02e4
[ "MIT" ]
null
null
null
setup.py
u8sand/jsonlddb
e7a4fdc13e988d6b9f0ec10d1a51fa470e6d02e4
[ "MIT" ]
null
null
null
setup.py
u8sand/jsonlddb
e7a4fdc13e988d6b9f0ec10d1a51fa470e6d02e4
[ "MIT" ]
null
null
null
from setuptools import setup, find_packages setup( name='jsonlddb', version='1.1.1', description='A jsonld in-memory database for fast framing', url='https://github.com/u8sand/jsonlddb', author='Daniel J. B. Clarke', author_email='u8sand@gmail.com', license='MIT', packages=find_packages(exclude=['test_...
25.714286
61
0.674074
67
540
5.313433
0.791045
0.067416
0
0
0
0
0
0
0
0
0
0.010684
0.133333
540
20
62
27
0.75
0
0
0
0
0
0.368519
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
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
ff25fcaa3576e7f8f58d045526cb30b0f8962bb6
951
py
Python
pg2l/lsys/grammar.py
csantran/g2l
64bfdb75847018db57fab7ba9902dbf3d09b3aaa
[ "BSD-3-Clause" ]
null
null
null
pg2l/lsys/grammar.py
csantran/g2l
64bfdb75847018db57fab7ba9902dbf3d09b3aaa
[ "BSD-3-Clause" ]
null
null
null
pg2l/lsys/grammar.py
csantran/g2l
64bfdb75847018db57fab7ba9902dbf3d09b3aaa
[ "BSD-3-Clause" ]
null
null
null
# -*- coding : utf-8 -*- # Copyright (C) 2018 by # Cédric Santran <santrancedric@gmail.com> # All rights reserved. # BSD license. # # Authors: # Cédric Santran <santrancedric@gmail.com> from pg2l.meta.parser.parser import Parser import networkx as nx class Grammar(nx.DiGraph): @staticmethod de...
23.775
57
0.568875
99
951
5.353535
0.545455
0.084906
0.107547
0.116981
0.128302
0
0
0
0
0
0
0.017081
0.322818
951
39
58
24.384615
0.805901
0.193481
0
0.391304
0
0
0.042216
0
0
0
0
0
0
1
0.130435
false
0.086957
0.086957
0
0.26087
0.086957
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ff2b671a198cd8f8f17a9336d3647f1b1203157c
4,835
py
Python
Test/test_Statistics.py
hkstone14/StatisticsCalculator
58eb3da5592aee947878a1c822ec302821f50965
[ "MIT" ]
7
2020-10-31T19:28:36.000Z
2020-11-06T03:27:43.000Z
Test/test_Statistics.py
hkstone14/StatisticsCalculator
58eb3da5592aee947878a1c822ec302821f50965
[ "MIT" ]
null
null
null
Test/test_Statistics.py
hkstone14/StatisticsCalculator
58eb3da5592aee947878a1c822ec302821f50965
[ "MIT" ]
null
null
null
import unittest from pprint import pprint from Statistics.Statistics import Statistics from CSVReader.CSVReader import CsvReader class MyTestCase(unittest.TestCase): test_result = CsvReader("Test/Data/result.csv").data def setUp(self) -> None: self.statistics = Statistics() def test_instantiate...
45.186916
101
0.696794
616
4,835
5.24513
0.102273
0.103993
0.129372
0.197462
0.5961
0.473228
0.278861
0.223151
0.2052
0.2052
0
0.002566
0.194002
4,835
106
102
45.613208
0.826533
0
0
0.170455
0
0
0.093899
0.045088
0
0
0
0
0.261364
1
0.147727
false
0
0.045455
0
0.215909
0.011364
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
ff31c6d55bd8a062df78444b1517b5d351f49440
2,612
py
Python
applications/users/migrations/0001_initial.py
diegovasconcelo/FusionAI
7dbd1c7c0465e742ed1d4a2604244abbfccbea59
[ "MIT" ]
null
null
null
applications/users/migrations/0001_initial.py
diegovasconcelo/FusionAI
7dbd1c7c0465e742ed1d4a2604244abbfccbea59
[ "MIT" ]
null
null
null
applications/users/migrations/0001_initial.py
diegovasconcelo/FusionAI
7dbd1c7c0465e742ed1d4a2604244abbfccbea59
[ "MIT" ]
null
null
null
# Generated by Django 3.2 on 2021-06-11 19:51 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ('auth', '0012_alter_user_first_name_max_length'), ] operations = [ migrations.CreateModel( name='User', ...
63.707317
266
0.638591
300
2,612
5.383333
0.446667
0.122601
0.06192
0.074303
0.255108
0.255108
0.167183
0.167183
0.112694
0.054489
0
0.018005
0.213247
2,612
40
267
65.3
0.76691
0.016462
0
0
1
0
0.273471
0.014414
0
0
0
0
0
1
0
false
0.030303
0.030303
0
0.151515
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
ff33f9bde6a360842d855b88398be4f77c4f70d5
1,599
py
Python
lintcode/86.1.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:49.000Z
2021-01-08T06:57:49.000Z
lintcode/86.1.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
null
null
null
lintcode/86.1.py
jianershi/algorithm
c3c38723b9c5f1cc745550d89e228f92fd4abfb2
[ "MIT" ]
1
2021-01-08T06:57:52.000Z
2021-01-08T06:57:52.000Z
""" 86. Binary Search Tree Iterator https://www.lintcode.com/problem/binary-search-tree-iterator/description """ """ Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None Example of iterate a tree: iterator = BSTIterator(root) while itera...
24.227273
72
0.567855
198
1,599
4.525253
0.308081
0.090402
0.03683
0.053571
0.502232
0.455357
0.401786
0.401786
0.401786
0.401786
0
0.004625
0.323952
1,599
66
73
24.227273
0.824237
0.135084
0
0.095238
0
0
0
0
0
0
0
0.030303
0
1
0.142857
false
0
0
0.047619
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
1
0
0
0
0
0
0
0
0
0
0
1
ff34dbcfd53e7fc9fb819fc95f0de619a724b61c
595
py
Python
array/swapsequences.py
mengyangbai/leetcode
e7a6906ecc5bce665dec5d0f057b302a64d50f40
[ "MIT" ]
null
null
null
array/swapsequences.py
mengyangbai/leetcode
e7a6906ecc5bce665dec5d0f057b302a64d50f40
[ "MIT" ]
null
null
null
array/swapsequences.py
mengyangbai/leetcode
e7a6906ecc5bce665dec5d0f057b302a64d50f40
[ "MIT" ]
null
null
null
class Solution: def minSwap(self, A: [int], B: [int]) -> int: swap, keep = 1, 0 for i in range(1, len(A)): if A[i] <= A[i - 1] or B[i] <= B[i - 1]: # swap nswap = keep + 1 nkeep = swap elif A[i] > B[i - 1] and B[i] > A[i - 1]: ...
33.055556
53
0.364706
76
595
2.855263
0.342105
0.036866
0.02765
0.036866
0
0
0
0
0
0
0
0.034483
0.512605
595
18
54
33.055556
0.713793
0.036975
0
0
0
0
0
0
0
0
0
0
0
1
0.066667
false
0
0
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff3a4a8b30572f342b62b9df72bb18bb615125da
604
py
Python
code-slicer/joern/python/joern-tools/joern/shelltool/TraversalTool.py
bstee615/ReVeal
fc22d0d54a3a23d4e0bc45a249b7eea22749685e
[ "MIT" ]
63
2020-09-24T07:51:45.000Z
2022-03-24T03:34:43.000Z
code-slicer/joern/python/joern-tools/joern/shelltool/TraversalTool.py
smartcontract-detect-yzu/ReVeal
ca31b783384b4cdb09b69950e48f79fa0748ef1d
[ "MIT" ]
16
2020-08-04T16:26:46.000Z
2022-03-08T03:13:33.000Z
code-slicer/joern/python/joern-tools/joern/shelltool/TraversalTool.py
smartcontract-detect-yzu/ReVeal
ca31b783384b4cdb09b69950e48f79fa0748ef1d
[ "MIT" ]
29
2020-09-08T17:27:07.000Z
2022-03-31T22:32:39.000Z
from joern.shelltool.JoernTool import JoernTool class TraversalTool(JoernTool): def __init__(self, DESCRIPTION): JoernTool.__init__(self, DESCRIPTION) # @Override def processLine(self, line): query = self.queryFromLine(line) y = self._runGremlinQuery(query) self.outputRes...
23.230769
47
0.596026
63
604
5.571429
0.47619
0.045584
0.108262
0
0
0
0
0
0
0
0
0
0.289735
604
25
48
24.16
0.818182
0.031457
0
0
0
0
0.006873
0
0
0
0
0
0
1
0.25
false
0
0.0625
0.0625
0.4375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ff469cd807f98c3b66d8c6fc7324060548f20778
681
py
Python
flask_for_startups/utils/validators.py
nuvic/flask_for_startups
0a04172a43b2ca0e0d4131b49ebcf4ca808912bb
[ "MIT" ]
52
2021-07-02T11:48:18.000Z
2022-03-31T23:28:53.000Z
flask_for_startups/utils/validators.py
nuvic/flask_for_startups
0a04172a43b2ca0e0d4131b49ebcf4ca808912bb
[ "MIT" ]
null
null
null
flask_for_startups/utils/validators.py
nuvic/flask_for_startups
0a04172a43b2ca0e0d4131b49ebcf4ca808912bb
[ "MIT" ]
2
2021-07-03T06:04:02.000Z
2021-07-07T22:04:35.000Z
# Standard Library imports # Core Flask imports # Third-party imports from marshmallow import Schema, fields, validate # App imports class AccountValidator(Schema): username = fields.Str(required=True, load_only=True, validate=[ validate.Length(1, 15, error="Usernames must be less than or equal to ...
32.428571
102
0.669604
86
681
5.255814
0.593023
0.079646
0.106195
0.132743
0.230089
0.176991
0.176991
0.176991
0
0
0
0.013109
0.215859
681
21
103
32.428571
0.833333
0.110132
0
0.181818
0
0
0.270764
0.038206
0
0
0
0
0
1
0
false
0
0.090909
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ff4d7cc7497671df13f00c5496d32748983f34df
327
py
Python
Samples/RTPDemo/script/constants.py
song0827/samples
dcaf7158168804922f9cbfdab5d1e8386001d3db
[ "BSD-3-Clause" ]
23
2019-07-29T02:15:20.000Z
2020-01-09T02:20:32.000Z
Samples/RTPDemo/script/constants.py
song0827/samples
dcaf7158168804922f9cbfdab5d1e8386001d3db
[ "BSD-3-Clause" ]
4
2019-09-26T07:50:26.000Z
2019-11-29T06:01:29.000Z
Samples/RTPDemo/script/constants.py
song0827/samples
dcaf7158168804922f9cbfdab5d1e8386001d3db
[ "BSD-3-Clause" ]
14
2019-08-14T07:54:55.000Z
2020-01-14T08:09:21.000Z
# encoding: utf-8 HTTP = 'http://' '''配置文件名称''' CONFIG_FILENAME = 'config.ini' '''视频编码值''' H264_PAYLOAD = '96' H265_PAYLOAD = '98' '''接口ID''' TASK_ID_GET_IPCINFO = 1 TASK_ID_GET_STREAMQUERY = 2 TASK_ID_GET_MTSPULLINFO = 3 TASK_ID_GET_STREAMSTART = 4 TASK_ID_GET_OPENVIDEO = 5 TASK_ID_GET_STREAMSTATU...
17.210526
31
0.691131
48
327
4.270833
0.625
0.17561
0.263415
0
0
0
0
0
0
0
0
0.063197
0.17737
327
18
32
18.166667
0.698885
0.045872
0
0
0
0
0.081081
0
0
0
0
0
0
1
0
false
0
0
0
0
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
ff4db548e6b422b521d067d452c614726c2e5629
839
py
Python
twitter_bot/twitter_data/migrations/0003_webhook.py
HectorPulido/Awesome-twitter-bot
483d26b62b46816b741f99c7641beb5cc8f000a0
[ "MIT" ]
13
2021-04-05T20:25:09.000Z
2022-01-14T17:03:04.000Z
twitter_bot/twitter_data/migrations/0003_webhook.py
HectorPulido/twitter_bot
483d26b62b46816b741f99c7641beb5cc8f000a0
[ "MIT" ]
null
null
null
twitter_bot/twitter_data/migrations/0003_webhook.py
HectorPulido/twitter_bot
483d26b62b46816b741f99c7641beb5cc8f000a0
[ "MIT" ]
2
2021-04-28T04:32:05.000Z
2021-11-03T23:04:30.000Z
# Generated by Django 3.1.1 on 2021-09-06 05:25 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("twitter_data", "0002_user_priority"), ] operations = [ migrations.CreateModel( name="Webhook", fields=[ ...
27.064516
87
0.457688
68
839
5.514706
0.735294
0
0
0
0
0
0
0
0
0
0
0.046316
0.43385
839
30
88
27.966667
0.743158
0.053635
0
0.125
1
0
0.079545
0
0
0
0
0
0
1
0
false
0
0.041667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff5b7fd53560fdcf9e006994551125e3471f1ef4
3,210
py
Python
build.py
tinetti/project_cars_leaderboard_server_angular
2b19a90431bbaedb5f21529ce3c54e0973a5acf7
[ "MIT" ]
null
null
null
build.py
tinetti/project_cars_leaderboard_server_angular
2b19a90431bbaedb5f21529ce3c54e0973a5acf7
[ "MIT" ]
null
null
null
build.py
tinetti/project_cars_leaderboard_server_angular
2b19a90431bbaedb5f21529ce3c54e0973a5acf7
[ "MIT" ]
null
null
null
#!/usr/bin/env python import argparse import collections import json import os import re import subprocess import sys PACKAGE_JSON_FILE = 'package.json' def echo(message): print '%s: %s' % (os.path.basename(__file__), message) def check_call(command): echo(' '.join(command)) return subprocess.check_ca...
27.913043
101
0.677259
438
3,210
4.730594
0.237443
0.079633
0.046332
0.045849
0.254344
0.127413
0.041506
0
0
0
0
0.004203
0.184735
3,210
114
102
28.157895
0.787543
0.006231
0
0.051282
0
0
0.163688
0.012857
0
0
0
0
0
0
null
null
0
0.089744
null
null
0.012821
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ff5f6ae11ba71dca60168d5f1ca17dc2aebd28b6
4,314
py
Python
{{cookiecutter.project_name}}/{{cookiecutter.package_name}}/cli.py
patdaburu/cookiecutter-flask-restplus
17434ba8d4e30c39e06662d387aaaacfbeff9fd9
[ "MIT" ]
1
2020-02-13T18:52:17.000Z
2020-02-13T18:52:17.000Z
{{cookiecutter.project_name}}/{{cookiecutter.package_name}}/cli.py
patdaburu/cookiecutter-flask-restplus
17434ba8d4e30c39e06662d387aaaacfbeff9fd9
[ "MIT" ]
null
null
null
{{cookiecutter.project_name}}/{{cookiecutter.package_name}}/cli.py
patdaburu/cookiecutter-flask-restplus
17434ba8d4e30c39e06662d387aaaacfbeff9fd9
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ This is the entry point for the command-line interface (CLI) application. It can be used as a handy facility for running the task from a command line. .. currentmodule:: {{cookiecutter.package_name}} .. moduleauthor:: {{cookiecutter.author_name}} <{{cookiecutter.auth...
25.081395
78
0.605702
532
4,314
4.819549
0.415414
0.030031
0.026911
0.022231
0.039782
0.024181
0.024181
0
0
0
0
0.007659
0.243394
4,314
171
79
25.22807
0.77788
0.180343
0
0.121495
0
0
0.2473
0.03203
0
0
0
0
0
0
null
null
0.028037
0.056075
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
ff5ff31434ab8408e7ba1fa4bd4020fafeb33f39
459
py
Python
create_flask_app/app/config.py
drizzleco/create-flask-app
6a4c23b0bdac5b4b80b4cfdffd9838f99af0c97e
[ "MIT" ]
1
2020-12-30T02:17:14.000Z
2020-12-30T02:17:14.000Z
create_flask_app/app/config.py
drizzleco/create-flask-app
6a4c23b0bdac5b4b80b4cfdffd9838f99af0c97e
[ "MIT" ]
2
2020-08-19T01:28:44.000Z
2020-09-09T20:24:27.000Z
create_flask_app/app/config.py
drizzleco/create-flask-app
6a4c23b0bdac5b4b80b4cfdffd9838f99af0c97e
[ "MIT" ]
null
null
null
import os import random class Config: {% if extras_includes('sqlite') -%} SQLALCHEMY_DATABASE_URI = os.getenv("DATABASE_URL") or "sqlite:///db.sqlite" SQLALCHEMY_TRACK_MODIFICATIONS = False {% elif extras_includes('mongodb') %} MONGO_URI = os.getenv("MONGO_URI") or "mongodb://localhost:27017/myData...
32.785714
80
0.664488
58
459
5.051724
0.637931
0.081911
0.075085
0
0
0
0
0
0
0
0
0.029255
0.180828
459
13
81
35.307692
0.75
0
0
0
0
0
0.215686
0.078431
0
0
0
0
0
0
null
null
0
0.166667
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
ff65be1c8406eb08923780cad9acc6513b6b6f03
2,496
py
Python
MENU and SUBMENU .py
HorridHanu/python-calculator
916aada5c16c72644035249c42c03012ed69aa70
[ "MIT" ]
1
2021-06-28T09:23:55.000Z
2021-06-28T09:23:55.000Z
MENU and SUBMENU .py
HorridHanu/python-calculator
916aada5c16c72644035249c42c03012ed69aa70
[ "MIT" ]
null
null
null
MENU and SUBMENU .py
HorridHanu/python-calculator
916aada5c16c72644035249c42c03012ed69aa70
[ "MIT" ]
null
null
null
######################################################################################## ######################################################################################## ## # CODE LANGUAGE IS PYHTON! ## ## ## ## # DATE: 1-JULY-2021 ## ## ...
39.619048
88
0.466346
246
2,496
4.634146
0.260163
0.175439
0.263158
0.149123
0.652632
0.592982
0.231579
0
0
0
0
0.018278
0.167067
2,496
63
89
39.619048
0.530063
0.198718
0
0
0
0
0.133132
0
0
0
0
0
0
1
0.027778
false
0
0.027778
0
0.055556
0.083333
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff67d13ab9ffe490e9b541719b25a2d7e4bb7929
650
py
Python
outils.py
chris63300/OC-p6_Automatisation-tache-cisco
e70b94959fb731b22990c7fbef5a48e95438881f
[ "MIT" ]
2
2021-04-01T10:39:45.000Z
2021-08-06T08:26:31.000Z
outils.py
chris63300/OC-p6_Automatisation-tache-cisco
e70b94959fb731b22990c7fbef5a48e95438881f
[ "MIT" ]
null
null
null
outils.py
chris63300/OC-p6_Automatisation-tache-cisco
e70b94959fb731b22990c7fbef5a48e95438881f
[ "MIT" ]
1
2021-08-06T08:26:32.000Z
2021-08-06T08:26:32.000Z
from getpass import getpass # Connection sur le prompt des appareils def get_input(prompt=''): try: line = raw_input(prompt) except NameError: line = input(prompt) return line def get_credentials(): #Invite, et retourne, un nom d'utilisateur et un mot de passe. username = get_input('...
27.083333
65
0.652308
81
650
5.160494
0.530864
0.078947
0.07177
0.057416
0
0
0
0
0
0
0
0
0.267692
650
23
66
28.26087
0.878151
0.152308
0
0.117647
0
0
0.149635
0
0
0
0
0
0
1
0.117647
false
0.529412
0.058824
0
0.294118
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ff68920190a5005457f2676b8db4bf2c9b10e2b0
268
py
Python
examples/examples.py
pgronkievitz/optymalizacja-dyskretna
bb526954fb1ed9e126baab2c2670fc902177a1a5
[ "MIT" ]
1
2021-07-24T19:23:30.000Z
2021-07-24T19:23:30.000Z
examples/examples.py
pgronkievitz/optymalizacja-dyskretna
bb526954fb1ed9e126baab2c2670fc902177a1a5
[ "MIT" ]
null
null
null
examples/examples.py
pgronkievitz/optymalizacja-dyskretna
bb526954fb1ed9e126baab2c2670fc902177a1a5
[ "MIT" ]
null
null
null
import numpy as np from src.lomnicki import lomnicki # Zadanie przykładowe dane = np.array([ [4, 8, 1], [2, 3, 7], [6, 2, 5] ]) print(dane) print(lomnicki(dane)) # Zadanie duże dane = np.random.randint(1, 15, size=(10, 5)) print(dane) print(lomnicki(dane))
15.764706
45
0.649254
44
268
3.954545
0.590909
0.068966
0.114943
0.172414
0.310345
0.310345
0
0
0
0
0
0.068182
0.179104
268
16
46
16.75
0.722727
0.119403
0
0.333333
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0.333333
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
ff6c50950f0dcf26cd582197fc61767fce6a2ca9
6,599
py
Python
libs/yowsup/yowsup/yowsup/layers/protocol_media/.~c9_invoke_Samean.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
null
null
null
libs/yowsup/yowsup/yowsup/layers/protocol_media/.~c9_invoke_Samean.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
null
null
null
libs/yowsup/yowsup/yowsup/layers/protocol_media/.~c9_invoke_Samean.py
akshitpradhan/TomHack
837226e7b38de1140c19bc2d478eeb9e379ed1fd
[ "MIT" ]
null
null
null
from yowsup.common.http.warequest import WARequest from yowsup.common.http.waresponseparser import JSONResponseParser import socket, ssl, os, hashlib, sys from time import sleep import threading import logging from yowsup.common.tools import MimeTools import base64 import hmac import binascii, requests from Crypto.Ciph...
29.199115
158
0.578724
684
6,599
5.538012
0.323099
0.007392
0.016631
0.008448
0.155755
0.151003
0.11774
0.11774
0.11774
0.074974
0
0.021134
0.297318
6,599
225
159
29.328889
0.795773
0.033641
0
0.075188
0
0
0.10981
0.025158
0.015038
0
0
0
0
0
null
null
0
0.112782
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
ff7243838f17ec3c32d0cf5e5ad0ca656d34645d
2,374
py
Python
tdRoller_scripts/20150715_lag_testing.py
jiawu/Roller
a70e350905a59c2254dcefda7ab23c6417cf8f7d
[ "MIT" ]
null
null
null
tdRoller_scripts/20150715_lag_testing.py
jiawu/Roller
a70e350905a59c2254dcefda7ab23c6417cf8f7d
[ "MIT" ]
2
2015-07-13T18:51:22.000Z
2015-07-16T15:35:24.000Z
tdRoller_scripts/20150715_lag_testing.py
jiawu/Roller
a70e350905a59c2254dcefda7ab23c6417cf8f7d
[ "MIT" ]
null
null
null
__author__ = 'Justin Finkle' __email__ = 'jfinkle@u.northwestern.edu' from Swing_old.tdSwing import tdSwing from Swing_old.util.Evaluator import Evaluator import numpy as np import matplotlib.pyplot as plt import pandas as pd # Loop through all 5 in silico networks for ii in range(1,6): print ii print...
43.163636
99
0.618366
324
2,374
4.228395
0.410494
0.035037
0.024088
0.032847
0.10146
0.076642
0.076642
0.032847
0
0
0
0.017401
0.225358
2,374
55
100
43.163636
0.727569
0.042965
0
0
0
0
0.129515
0.064758
0
0
0
0
0
0
null
null
0
0.102041
null
null
0.040816
0
0
0
null
0
0
0
0
0
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
ff77c2f0a32851c19910badb8d9cce4f6aa93e0a
475
py
Python
cisco/netmiko/show_version.py
muhammadhanif/network-programmability-and-automation
1f98025eec83b75e067d976573f96ecaa867212a
[ "MIT" ]
1
2018-05-28T14:21:55.000Z
2018-05-28T14:21:55.000Z
cisco/netmiko/show_version.py
muhammadhanif/network-programmability-and-automation
1f98025eec83b75e067d976573f96ecaa867212a
[ "MIT" ]
null
null
null
cisco/netmiko/show_version.py
muhammadhanif/network-programmability-and-automation
1f98025eec83b75e067d976573f96ecaa867212a
[ "MIT" ]
null
null
null
""" Correct Me If I am Wrong MUHAMMAD HANIF Website : http://hanifmu.com Email : moehammadhanif[@]gmail.com Telegram : https://t.me/muhammad_hanif """ from netmiko import ConnectHandler device = { 'device_type': 'cisco_ios', 'ip': '10.10.1.1', 'username': 'hanif', 'password': 'hanif', 'secret...
18.269231
55
0.688421
60
475
5.3
0.666667
0.09434
0.08805
0.132075
0
0
0
0
0
0
0
0.015
0.157895
475
25
56
19
0.78
0.309474
0
0
0
0
0.25
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ff884a7589aa628796af0322bfd899b92a78c30e
1,481
py
Python
orchestration/dap_orchestration/repositories/local_repositories.py
DataBiosphere/dog-aging-ingest
aecff27728f911a802edec56169681d8764daf83
[ "BSD-3-Clause" ]
null
null
null
orchestration/dap_orchestration/repositories/local_repositories.py
DataBiosphere/dog-aging-ingest
aecff27728f911a802edec56169681d8764daf83
[ "BSD-3-Clause" ]
180
2020-05-11T19:05:06.000Z
2022-01-19T21:45:42.000Z
orchestration/dap_orchestration/repositories/local_repositories.py
DataBiosphere/dog-aging-ingest
aecff27728f911a802edec56169681d8764daf83
[ "BSD-3-Clause" ]
null
null
null
from dagster import repository, PipelineDefinition, fs_io_manager, in_process_executor from dagster_utils.resources.beam.dataflow_beam_runner import dataflow_beam_runner from dagster_utils.resources.google_storage import google_storage_client from dagster_utils.resources.slack import console_slack_client from dap_orch...
43.558824
107
0.758947
171
1,481
6.093567
0.333333
0.057582
0.069098
0.071977
0.181382
0.080614
0.080614
0.080614
0
0
0
0
0.180284
1,481
33
108
44.878788
0.85832
0
0
0
0
0
0.076975
0.01418
0
0
0
0
0
1
0.033333
true
0
0.266667
0.033333
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
1
0
0
0
0
0
0
1
ff8da1ccea85c754bbd91af33a7855f7898c0fd7
1,509
py
Python
web/declarations/admin.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
web/declarations/admin.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
web/declarations/admin.py
un-project/un-project.org
c885e4b622043ec4748b817db604bec846a98ea3
[ "MIT" ]
null
null
null
from django.contrib import admin from django.db import models from django.db.models import Count from django.forms import Textarea from declarations.models import Resolution, Declaration, Report class ReportAdmin(admin.ModelAdmin): list_display = ("reporter", "declaration", "resolution") class DeclarationInlin...
27.944444
77
0.693174
160
1,509
6.35
0.46875
0.03937
0.056102
0.076772
0
0
0
0
0
0
0
0.005677
0.182903
1,509
53
78
28.471698
0.818329
0
0
0
0
0
0.172962
0
0
0
0
0
0
1
0.05
false
0
0.125
0.05
0.725
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
ff90f161ec049a7584a094cf84c6f6fdd678b90d
7,868
py
Python
src/indoor_localization/error_estimation_node.py
inomuh/indoor_localization
8d8769659fac91d049d98bc8a8a3acd420412e0f
[ "Apache-2.0" ]
44
2019-01-06T18:42:24.000Z
2022-03-06T19:51:10.000Z
src/indoor_localization/error_estimation_node.py
elcinerdogan/indoor_localization
8d670f21ac606dbca11ee40d51d24c3ff96f873a
[ "Apache-2.0" ]
3
2019-10-11T23:37:15.000Z
2021-02-23T07:45:59.000Z
src/indoor_localization/error_estimation_node.py
elcinerdogan/indoor_localization
8d670f21ac606dbca11ee40d51d24c3ff96f873a
[ "Apache-2.0" ]
15
2019-02-12T06:01:08.000Z
2021-06-24T04:13:05.000Z
#!/usr/bin/env python # -- coding: utf-8 -- # license removed for brevity from math import sqrt import rospy import numpy as np from numpy import linalg as LA from numpy.linalg import matrix_rank from indoor_localization.msg import AnchorSelected from indoor_localization.msg import PositionInfo from indoor_localizati...
30.378378
87
0.541179
1,115
7,868
3.543498
0.174888
0.057707
0.036446
0.025816
0.298912
0.260187
0.129587
0.108833
0.089598
0.089598
0
0.044753
0.332613
7,868
258
88
30.496124
0.707675
0.174759
0
0.136054
0
0
0.027419
0.012097
0
0
0
0
0
0
null
null
0.006803
0.061224
null
null
0.013605
0
0
0
null
0
0
0
0
0
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
ff9461abbda0a8eeb9f1a7bd027c805fb4df39af
466
py
Python
app/buildhistory/migrations/0005_builder_natural_name.py
Dhruv-Sachdev1313/macports-webapp
ed3d8efceac4cfb694a51241cf81023ed10aade6
[ "BSD-2-Clause" ]
39
2018-05-09T02:14:52.000Z
2022-03-07T20:31:44.000Z
app/buildhistory/migrations/0005_builder_natural_name.py
Dhruv-Sachdev1313/macports-webapp
ed3d8efceac4cfb694a51241cf81023ed10aade6
[ "BSD-2-Clause" ]
337
2018-05-07T20:09:07.000Z
2022-03-31T14:16:01.000Z
app/buildhistory/migrations/0005_builder_natural_name.py
Dhruv-Sachdev1313/macports-webapp
ed3d8efceac4cfb694a51241cf81023ed10aade6
[ "BSD-2-Clause" ]
28
2018-05-09T18:03:07.000Z
2022-03-30T02:21:56.000Z
# Generated by Django 2.2.10 on 2020-06-10 10:34 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('buildhistory', '0004_auto_20200605_0819'), ] operations = [ migrations.AddField( model_name='builder', name='natura...
24.526316
119
0.626609
54
466
5.277778
0.777778
0
0
0
0
0
0
0
0
0
0
0.097983
0.255365
466
18
120
25.888889
0.723343
0.098712
0
0
1
0
0.22488
0.055024
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff94a34a8f4ec29b9ff84491153415878f72794c
1,524
py
Python
util/losser.py
OlehOnyshchak/w2vv
c02c21ceb948b7c618e1eb37f56631afbc90b1d0
[ "MIT" ]
74
2018-05-08T06:38:04.000Z
2021-12-30T03:57:28.000Z
util/losser.py
OlehOnyshchak/w2vv
c02c21ceb948b7c618e1eb37f56631afbc90b1d0
[ "MIT" ]
13
2018-06-08T07:19:20.000Z
2020-11-29T08:17:21.000Z
util/losser.py
OlehOnyshchak/w2vv
c02c21ceb948b7c618e1eb37f56631afbc90b1d0
[ "MIT" ]
13
2018-08-29T07:02:00.000Z
2021-01-31T09:38:41.000Z
import numpy as np from scipy.spatial import distance def l2_norm(a): return a / np.linalg.norm(a, ord=2, axis=1).reshape(-1,1) def order_violations(s, im): """ Computes the order violations (Equation 2 in the paper) """ return np.power(np.linalg.norm(np.maximum(0, s - im)),2) class CosineLosser_bat...
33.130435
105
0.667979
233
1,524
4.201717
0.321888
0.028601
0.061287
0.091931
0.263534
0.236977
0.236977
0.236977
0.236977
0.236977
0
0.021277
0.198163
1,524
46
106
33.130435
0.779869
0.105643
0
0.137931
0
0
0.026873
0
0
0
0
0
0
0
null
null
0
0.068966
null
null
0.068966
0
0
0
null
0
0
0
0
0
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
ff9528ba4813524d759a5270f6018bc18959c0d4
936
py
Python
helloExcel/oracle2Excel.py
a18792721831/StudyPython
2e266f49534017cc1097382b93a9f25e62a4af19
[ "Apache-2.0" ]
2
2019-05-07T00:30:10.000Z
2019-05-07T00:30:13.000Z
helloExcel/oracle2Excel.py
a18792721831/StudyPython
2e266f49534017cc1097382b93a9f25e62a4af19
[ "Apache-2.0" ]
null
null
null
helloExcel/oracle2Excel.py
a18792721831/StudyPython
2e266f49534017cc1097382b93a9f25e62a4af19
[ "Apache-2.0" ]
1
2021-01-26T11:29:17.000Z
2021-01-26T11:29:17.000Z
import cx_Oracle import openpyxl # 用户名 username = 'tj_20160217' # 密码 password = 'tj_20160217' # IP ip = '10.0.250.19' # 端口 port = '1521' # 数据库实例名 servername = 'starbass' # 获取连接 xlsxPath = 'E:\\sysconfigen.xlsx' sheetName = 'sysconfigen' wb = openpyxl.Workbook() ws = wb.active ws.title = sheetName with cx_Oracle.connec...
23.4
99
0.564103
118
936
4.389831
0.508475
0.054054
0.052124
0.086873
0.11583
0
0
0
0
0
0
0.055215
0.303419
936
40
100
23.4
0.739264
0.036325
0
0.193548
0
0
0.121924
0
0
0
0
0
0
1
0
false
0.064516
0.064516
0
0.064516
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
ff957fe515d94466d4ea218277159d49bddd42f0
397
py
Python
scraper/smwbot/items.py
nmacri/twitter-bots-smw-2016
35f366c17ace37ea9c56ff7d573097ed2815c790
[ "MIT" ]
3
2016-02-22T16:06:34.000Z
2016-03-02T16:31:46.000Z
scraper/smwbot/items.py
nmacri/twitter-bots-smw-2016
35f366c17ace37ea9c56ff7d573097ed2815c790
[ "MIT" ]
null
null
null
scraper/smwbot/items.py
nmacri/twitter-bots-smw-2016
35f366c17ace37ea9c56ff7d573097ed2815c790
[ "MIT" ]
null
null
null
from scrapy.item import Item, Field class Event(Item): """ Loose subset of https://schema.org/Event """ name = Field() description = Field() url = Field() performer = Field() broadcastOfEvent = Field() startDate = Field() def __dict__(self): return {'name': self.name, 'description': self.description, ...
19.85
41
0.65995
45
397
5.733333
0.511111
0
0
0
0
0
0
0
0
0
0
0
0.186398
397
19
42
20.894737
0.798762
0.100756
0
0
0
0
0.103746
0
0
0
0
0
0
1
0.071429
false
0
0.071429
0.071429
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ff98cb382dfdd075df8c4bb33577dc7c9609781b
1,557
py
Python
src/the_tale/the_tale/clans/forms.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
85
2017-11-21T12:22:02.000Z
2022-03-27T23:07:17.000Z
src/the_tale/the_tale/clans/forms.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
545
2017-11-04T14:15:04.000Z
2022-03-27T14:19:27.000Z
src/the_tale/the_tale/clans/forms.py
al-arz/the-tale
542770257eb6ebd56a5ac44ea1ef93ff4ab19eb5
[ "BSD-3-Clause" ]
45
2017-11-11T12:36:30.000Z
2022-02-25T06:10:44.000Z
import smart_imports smart_imports.all() class ClanForm(utils_forms.Form): name = utils_fields.CharField(label='Название', max_length=models.Clan.MAX_NAME_LENGTH, min_length=models.Clan.MIN_NAME_LENGTH) abbr = utils_fields.CharField(label='Аббревиатура (до %d символов)' % models.Clan.MAX_ABBR_LENGTH, max_l...
48.65625
182
0.707771
187
1,557
5.57754
0.433155
0.080537
0.092042
0.072867
0.16395
0.053691
0
0
0
0
0
0
0.193963
1,557
31
183
50.225806
0.831076
0
0
0
0
0
0.1009
0
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.736842
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
ff9b5880d40277ab4d1925244ea4fe55a46d72f1
1,030
py
Python
tests/ut/cpp/python_input/gtest_input/optimizer/clean_test.py
GuoSuiming/mindspore
48afc4cfa53d970c0b20eedfb46e039db2a133d5
[ "Apache-2.0" ]
3,200
2020-02-17T12:45:41.000Z
2022-03-31T20:21:16.000Z
tests/ut/cpp/python_input/gtest_input/optimizer/clean_test.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
176
2020-02-12T02:52:11.000Z
2022-03-28T22:15:55.000Z
tests/ut/cpp/python_input/gtest_input/optimizer/clean_test.py
zimo-geek/mindspore
665ec683d4af85c71b2a1f0d6829356f2bc0e1ff
[ "Apache-2.0" ]
621
2020-03-09T01:31:41.000Z
2022-03-30T03:43:19.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # 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...
27.837838
78
0.669903
149
1,030
4.577181
0.644295
0.087977
0.038123
0.046921
0
0
0
0
0
0
0
0.01898
0.181553
1,030
36
79
28.611111
0.790036
0.754369
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.1
0.1
0.8
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
ff9d68164d8cc4450eed22c996f8ff9da8bc1369
379
py
Python
RestBlog/apps/article/migrations/0003_auto_20200710_1341.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
null
null
null
RestBlog/apps/article/migrations/0003_auto_20200710_1341.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
54
2020-06-24T07:12:19.000Z
2022-03-12T00:43:57.000Z
RestBlog/apps/article/migrations/0003_auto_20200710_1341.py
xeroCBW/testmodel
6000d79f91d11bcf6ba76befb3a94a007231ecdc
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2020-07-10 13:41 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('article', '0002_category_is_nav'), ] operations = [ migrations.AlterField( model_name='tag', name='name', ...
19.947368
51
0.591029
42
379
5.214286
0.809524
0
0
0
0
0
0
0
0
0
0
0.08209
0.292876
379
18
52
21.055556
0.735075
0.118734
0
0
1
0
0.10241
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ff9df6f6ca626c4cc6db1cd3da966c911b32118f
4,614
py
Python
scripts/download_times.py
mari-linhares/maratona-sbc-analise
2d8653c36ce6e9ec4d3f65925b6ded1ec65e6a9f
[ "Apache-2.0" ]
1
2018-01-24T22:15:13.000Z
2018-01-24T22:15:13.000Z
scripts/download_times.py
mari-linhares/maratona-sbc-analise
2d8653c36ce6e9ec4d3f65925b6ded1ec65e6a9f
[ "Apache-2.0" ]
11
2018-01-27T18:00:43.000Z
2018-02-04T17:16:41.000Z
scripts/download_times.py
mari-linhares/maratona-sbc-analise
2d8653c36ce6e9ec4d3f65925b6ded1ec65e6a9f
[ "Apache-2.0" ]
null
null
null
"""Download competitions info and save as data/competidores.csv and data/coaches.csv. """ import utils import pandas as pd # csv manipulation import os import argparse # use arguments import re from bs4 import BeautifulSoup # -------------- Arguments ------------- parser = argparse.ArgumentParser() URL_2017 =...
34.954545
99
0.632206
566
4,614
4.95053
0.280919
0.057102
0.042827
0.047109
0.200214
0.143112
0.112777
0.089222
0.042827
0.042827
0
0.006021
0.24404
4,614
131
100
35.221374
0.797305
0.086042
0
0.068182
0
0
0.140997
0.018282
0
0
0
0
0
0
null
null
0
0.068182
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ffafcbc8afe70c7a9ca85985264bd439d71cce30
11,673
py
Python
auth-api/migrations/versions/08e1d49dfa1a_business_type_and_size.py
thorwolpert/sbc-auth
5da50cde2e5625d1b0ceea090c3656ee374c9b71
[ "Apache-2.0" ]
11
2019-09-26T06:58:25.000Z
2022-01-26T06:19:39.000Z
auth-api/migrations/versions/08e1d49dfa1a_business_type_and_size.py
thorwolpert/sbc-auth
5da50cde2e5625d1b0ceea090c3656ee374c9b71
[ "Apache-2.0" ]
1,622
2019-05-07T21:08:38.000Z
2022-03-28T17:07:15.000Z
auth-api/migrations/versions/08e1d49dfa1a_business_type_and_size.py
thorwolpert/sbc-auth
5da50cde2e5625d1b0ceea090c3656ee374c9b71
[ "Apache-2.0" ]
98
2019-03-01T21:36:15.000Z
2021-12-01T22:11:25.000Z
"""business_type_and_size Revision ID: 08e1d49dfa1a Revises: 9b04140db7d3 Create Date: 2021-06-08 12:04:16.210558 """ import sqlalchemy as sa from alembic import op # revision identifiers, used by Alembic. revision = '08e1d49dfa1a' down_revision = '9b04140db7d3' branch_labels = None depends_on = None def upgrade(...
31.720109
117
0.396299
795
11,673
5.713208
0.299371
0.153236
0.19727
0.021136
0.297666
0.242845
0.183179
0.141788
0.117569
0.098635
0
0.016163
0.475285
11,673
367
118
31.80654
0.725388
0.026043
0
0.207493
0
0
0.283798
0.008119
0
0
0
0
0
1
0.005764
false
0
0.005764
0
0.011527
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
ffb679028f99080151581cf287b39dc604290978
495
py
Python
gittra/utilities/translator.py
saksham1991999/GitTra
bfce7e989b5613a411db3d4f7c93790dab25a7e6
[ "MIT" ]
2
2021-02-26T19:19:16.000Z
2021-11-05T06:23:31.000Z
gittra/utilities/translator.py
saksham1991999/MLH-Hackathon-1
bfce7e989b5613a411db3d4f7c93790dab25a7e6
[ "MIT" ]
15
2021-02-12T18:56:26.000Z
2021-02-25T00:09:57.000Z
gittra/utilities/translator.py
saksham1991999/MLH-Hackathon-1
bfce7e989b5613a411db3d4f7c93790dab25a7e6
[ "MIT" ]
1
2021-03-22T16:48:44.000Z
2021-03-22T16:48:44.000Z
from google_trans_new import google_translator from googletrans import Translator, LANGUAGES translator = Translator() languages = LANGUAGES #function to call the translate API #args: comment string and destination language def translate_comment(comment, dest): translator = google_translator() translate_text ...
29.117647
64
0.808081
61
495
6.409836
0.459016
0.081841
0
0
0
0
0
0
0
0
0
0
0.133333
495
16
65
30.9375
0.911422
0.216162
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ffb76806bab0919f116c3002347dd40c945160cd
13,635
py
Python
restshop/migrations/0001_initial.py
tjwalch/django-restshop
569b57a5694e76a365556d7c4c9a97dd293d96c6
[ "MIT" ]
null
null
null
restshop/migrations/0001_initial.py
tjwalch/django-restshop
569b57a5694e76a365556d7c4c9a97dd293d96c6
[ "MIT" ]
null
null
null
restshop/migrations/0001_initial.py
tjwalch/django-restshop
569b57a5694e76a365556d7c4c9a97dd293d96c6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.1 on 2016-01-20 22:32 from __future__ import unicode_literals import datetime from decimal import Decimal from django.conf import settings import django.contrib.postgres.fields import django.contrib.postgres.fields.hstore import django.contrib.postgres.fields.jsonb imp...
65.239234
307
0.632343
1,443
13,635
5.824671
0.175329
0.077216
0.039976
0.037121
0.606782
0.544081
0.506484
0.491255
0.439619
0.413563
0
0.008945
0.221122
13,635
208
308
65.552885
0.782486
0.004914
0
0.435
1
0
0.168006
0.001843
0
0
0
0
0
1
0
false
0
0.085
0
0.105
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
ffb96fdd68e74586e19e242414df76ebee4e96ae
2,588
py
Python
predicu/__main__.py
rth/predicu
7b1afc89ac42f7ecc8b5eca07435cfd2a8cd46a7
[ "MIT" ]
2
2020-05-04T09:32:02.000Z
2020-05-04T14:58:29.000Z
predicu/__main__.py
rth/predicu
7b1afc89ac42f7ecc8b5eca07435cfd2a8cd46a7
[ "MIT" ]
null
null
null
predicu/__main__.py
rth/predicu
7b1afc89ac42f7ecc8b5eca07435cfd2a8cd46a7
[ "MIT" ]
1
2020-05-04T12:20:39.000Z
2020-05-04T12:20:39.000Z
import datetime import logging import os import click from predicu.data import load_bedcounts from predicu.plot import generate_plots from predicu.preprocessing import preprocess_bedcounts @click.group() def cli(): pass @cli.command(name="export") @click.option("--output-dir", "-o", default="/tmp", type=str) ...
26.680412
79
0.680835
353
2,588
4.827195
0.33711
0.068662
0.030516
0.053991
0.286385
0.286385
0.286385
0.257042
0.217723
0.173122
0
0.004161
0.164219
2,588
96
80
26.958333
0.783634
0
0
0.26506
1
0
0.254637
0.023184
0
0
0
0
0
1
0.048193
false
0.012048
0.096386
0
0.144578
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
80fe4dd21cc2b35e7e9db4c73fe0e957a4b869f5
1,797
py
Python
storage/fase2/team05/Criptografia.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
storage/fase2/team05/Criptografia.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
storage/fase2/team05/Criptografia.py
Josue-Zea/tytus
f9e4be9a8c03eb698fade7a748972e4f52d46685
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
import base64 try: import cryptography from cryptography.fernet import Fernet, InvalidToken from cryptography.hazmat.backends import default_backend from cryptography.hazmat.primitives import hashes from cryptography.hazmat.primitives.kdf.pbkdf2 import PBKDF2HMAC HAS_CRYPTO = True except: HA...
32.672727
70
0.618809
174
1,797
6.362069
0.465517
0.057814
0.059621
0.057814
0
0
0
0
0
0
0
0.034295
0.286032
1,797
54
71
33.277778
0.828527
0
0
0.23913
0
0.021739
0.031008
0.029219
0
0
0
0
0
1
0.065217
false
0.173913
0.130435
0
0.347826
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
80fec00c95def180b8d17e844b677afcc883b329
1,088
py
Python
tests/test_bb_lmfit.py
hessammehr/agpy
a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db
[ "MIT" ]
16
2015-05-08T11:14:26.000Z
2021-11-19T19:05:16.000Z
tests/test_bb_lmfit.py
hessammehr/agpy
a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db
[ "MIT" ]
3
2016-05-12T16:27:14.000Z
2020-12-27T01:14:24.000Z
tests/test_bb_lmfit.py
hessammehr/agpy
a9436f8e5b9210ef8a86d03d0fd94f2d4e6212db
[ "MIT" ]
19
2015-03-30T22:34:14.000Z
2020-11-25T23:29:53.000Z
import agpy from agpy.blackbody import * import numpy as np wavelength = np.array([20,70,160,250,350,500,850,1100]) flux = modified_blackbody_wavelength(wavelength, 15, beta=1.75, wavelength_units='microns', normalize=False, logN=22, logscale=16) err = 0.1 * flux flux += np.random.randn(len(wavelength...
37.517241
87
0.661765
145
1,088
4.862069
0.475862
0.07234
0.114894
0.017021
0.382979
0.382979
0.283688
0.283688
0.283688
0.283688
0
0.058275
0.211397
1,088
28
88
38.857143
0.763403
0.05239
0
0.363636
0
0
0.030156
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
441384da75cdaa38fcaa353aa4a458a9e107c55e
691
py
Python
tests/test_ops/test_helpers/test_report.py
gsganden/wildebeest
241c58fcea8c5848a276c6100a8f9c283fc2daa1
[ "BSD-3-Clause" ]
83
2020-07-31T00:33:17.000Z
2022-02-12T03:06:34.000Z
tests/test_ops/test_helpers/test_report.py
gsganden/wildebeest
241c58fcea8c5848a276c6100a8f9c283fc2daa1
[ "BSD-3-Clause" ]
30
2020-07-28T15:36:29.000Z
2022-03-23T21:13:32.000Z
tests/test_ops/test_helpers/test_report.py
gsganden/wildebeest
241c58fcea8c5848a276c6100a8f9c283fc2daa1
[ "BSD-3-Clause" ]
6
2020-08-08T14:01:14.000Z
2022-03-05T00:19:18.000Z
from collections import defaultdict from wildebeest.ops import get_report_output_decorator, report_output def test_report_output(): log_dict = defaultdict(dict) result = report_output( func=lambda x: x + 1, func_input=1, key='plus1', inpath='fake', log_dict=log_dict, ...
23.827586
69
0.659913
92
691
4.684783
0.304348
0.12993
0.104408
0.167053
0.278422
0.278422
0.278422
0.278422
0.278422
0.278422
0
0.026316
0.230101
691
28
70
24.678571
0.783835
0
0
0.285714
0
0
0.052098
0
0
0
0
0
0.190476
1
0.142857
false
0
0.095238
0.047619
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
4424da24e1e227bdb7a2488c3c7bd52e506c7b62
9,889
py
Python
Analysis/Analysis_practice.py
JinSungYoon/Graduate_work
bed5d9944ae96bc8b98f0457627e802c49957239
[ "MIT" ]
1
2019-01-30T08:45:19.000Z
2019-01-30T08:45:19.000Z
Analysis/Analysis_practice.py
JinSungYoon/Graduate_work
bed5d9944ae96bc8b98f0457627e802c49957239
[ "MIT" ]
2
2018-07-09T21:33:14.000Z
2019-01-19T09:16:22.000Z
Analysis/Analysis_practice.py
JinSungYoon/sports_analysis_graduate_work
bed5d9944ae96bc8b98f0457627e802c49957239
[ "MIT" ]
null
null
null
import matplotlib as mpl import matplotlib.pylab as plt import numpy as np import pandas as pd import math from collections import Counter from collections import defaultdict from functools import partial import random # 한글 폰트 안 깨지게하기위한 import import matplotlib.font_manager as fm # 가져올 폰트 지정 font_location='E:/글꼴/H2GT...
33.982818
1,230
0.637982
1,867
9,889
3.282807
0.25549
0.006853
0.00979
0.0124
0.129385
0.076685
0.066569
0.059716
0.044379
0.031653
0
0.159736
0.158661
9,889
291
1,231
33.982818
0.576923
0.286986
0
0.08
0
0
0.03566
0
0
0
0
0
0
1
0.136
false
0
0.104
0.064
0.392
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
442db62e39c3c8ed0387ae6f55e847ab0b705402
2,712
py
Python
Data-Pipeline-Capstone-Project-master/init_create_redshift/delete_redshift_cluster.py
jrderek/Build-AWS-Data-Lake-and-Data-Pipeline-to-Elasticsearch-and-Redshift-with-Apache-Airflow-and-Spark
c050b5d85def97034effe5f64bb0ad11231e475c
[ "MIT" ]
null
null
null
Data-Pipeline-Capstone-Project-master/init_create_redshift/delete_redshift_cluster.py
jrderek/Build-AWS-Data-Lake-and-Data-Pipeline-to-Elasticsearch-and-Redshift-with-Apache-Airflow-and-Spark
c050b5d85def97034effe5f64bb0ad11231e475c
[ "MIT" ]
null
null
null
Data-Pipeline-Capstone-Project-master/init_create_redshift/delete_redshift_cluster.py
jrderek/Build-AWS-Data-Lake-and-Data-Pipeline-to-Elasticsearch-and-Redshift-with-Apache-Airflow-and-Spark
c050b5d85def97034effe5f64bb0ad11231e475c
[ "MIT" ]
null
null
null
import pandas as pd import boto3 import json import configparser config = configparser.ConfigParser() config.read_file(open('../redshift.cfg')) KEY = config.get('AWS', 'KEY') SECRET = config.get('AWS', 'SECRET') DWH_CLUSTER_TYPE = config.get("DWH", "DWH_CLUSTER_TYPE") DWH_NUM_NODES = config.get("DWH", "DWH_NUM_NODES...
36.16
95
0.710177
350
2,712
5.171429
0.268571
0.059669
0.066298
0.082873
0.516575
0.425967
0.359116
0.359116
0.308287
0.308287
0
0.004355
0.153392
2,712
74
96
36.648649
0.783972
0.067478
0
0.163265
0
0
0.228481
0.0357
0
0
0
0
0
1
0.020408
false
0.061224
0.081633
0
0.122449
0.040816
0
0
0
null
0
0
0
0
0
0
0
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
44342e1d85b5101920bd6b7700504ec2bfd4f5d9
2,631
py
Python
catalyst/callbacks/criterion.py
ifixdocs/catalyst
c6dbddeacb915cfeed7622a5ef00fd817cb07a40
[ "Apache-2.0" ]
null
null
null
catalyst/callbacks/criterion.py
ifixdocs/catalyst
c6dbddeacb915cfeed7622a5ef00fd817cb07a40
[ "Apache-2.0" ]
null
null
null
catalyst/callbacks/criterion.py
ifixdocs/catalyst
c6dbddeacb915cfeed7622a5ef00fd817cb07a40
[ "Apache-2.0" ]
null
null
null
import torch from catalyst.core.callback import Callback, CallbackNode, CallbackOrder from catalyst.core.runner import IRunner from catalyst.metrics._additive import AdditiveValueMetric from catalyst.utils.misc import get_attr class ICriterionCallback(Callback): """Criterion callback interface, abstraction over ...
34.168831
90
0.662866
315
2,631
5.361905
0.355556
0.0373
0.030787
0.033156
0.039076
0.039076
0
0
0
0
0
0
0.232611
2,631
76
91
34.618421
0.836553
0.253516
0
0
0
0
0.051955
0.011248
0
0
0
0.013158
0.027027
1
0.135135
false
0.027027
0.135135
0
0.324324
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
4435c06a85b8252aa0d675e188bc79acbf3a13dc
3,142
py
Python
os3_rll/discord/utils.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/discord/utils.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
os3_rll/discord/utils.py
Erik-Lamers1/OS3-RRL-Python
c1fbc1f2279f1b43290582ee39ed226d8173a101
[ "MIT" ]
null
null
null
import discord import re import random from logging import getLogger from os3_rll.conf import settings logger = getLogger(__name__) discord_regex = re.compile("^.{2,32}#[0-9]{4}$") def get_intents(): # Fix the Intents the Bot needs access to # https://discordpy.readthedocs.io/en/latest/intents.html inte...
34.911111
123
0.643221
420
3,142
4.747619
0.433333
0.02006
0.01655
0.027081
0.051153
0.051153
0.051153
0
0
0
0
0.014462
0.25175
3,142
89
124
35.303371
0.833688
0.224698
0
0.160714
0
0.017857
0.234428
0.021465
0
0
0
0.011236
0
1
0.089286
false
0
0.107143
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
1
0
0
0
0
0
0
0
0
0
0
1
443611a51055b651813ec0d1463ad25622a1345e
546
py
Python
napalm_example/napalm_get.py
scottm121171/pynet-ons-dec21
dad9490caac2c18430fa53019a61784e5ae7f497
[ "Apache-2.0" ]
1
2021-12-21T04:57:32.000Z
2021-12-21T04:57:32.000Z
napalm_example/napalm_get.py
scottm121171/pynet-ons-dec21
dad9490caac2c18430fa53019a61784e5ae7f497
[ "Apache-2.0" ]
null
null
null
napalm_example/napalm_get.py
scottm121171/pynet-ons-dec21
dad9490caac2c18430fa53019a61784e5ae7f497
[ "Apache-2.0" ]
11
2021-12-07T16:04:22.000Z
2022-02-09T12:20:05.000Z
#!/usr/bin/env python from getpass import getpass from rich import print from napalm import get_network_driver device = { "hostname": "arista4.lasthop.io", "username": "pyclass", "password": getpass(), "optional_args": {}, } driver = get_network_driver("eos") device = driver(**device) print() print("...
18.827586
38
0.701465
71
546
5.225352
0.507042
0.12938
0.161725
0
0
0
0
0
0
0
0
0.002132
0.141026
546
28
39
19.5
0.788913
0.228938
0
0.157895
0
0
0.211031
0
0
0
0
0
0
1
0
false
0.105263
0.157895
0
0.157895
0.315789
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
44475a8c371f4ff723a7293b34f7e48b388a4e6b
202
py
Python
python/utils/tolower.py
leakycup/misc
5cce8cbd7057bf2598c8076ffc257606edb7141e
[ "Apache-2.0" ]
null
null
null
python/utils/tolower.py
leakycup/misc
5cce8cbd7057bf2598c8076ffc257606edb7141e
[ "Apache-2.0" ]
null
null
null
python/utils/tolower.py
leakycup/misc
5cce8cbd7057bf2598c8076ffc257606edb7141e
[ "Apache-2.0" ]
null
null
null
import codecs import sys filename = sys.argv[1] f = codecs.open(filename, "r", "utf-8") UTF8Writer = codecs.getwriter('utf8') sys.stdout = UTF8Writer(sys.stdout) for line in f: print line.lower(),
16.833333
39
0.70297
31
202
4.580645
0.645161
0.126761
0
0
0
0
0
0
0
0
0
0.028902
0.143564
202
11
40
18.363636
0.791908
0
0
0
0
0
0.049505
0
0
0
0
0
0
0
null
null
0
0.25
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4448e9e1de8e262777804ff10203e7a9e544f4eb
657
py
Python
Ex0079.py
PHRMarques/Curso_PythonEx
5cb05f555007a4cb79504244b61ee5d381a4e81f
[ "MIT" ]
null
null
null
Ex0079.py
PHRMarques/Curso_PythonEx
5cb05f555007a4cb79504244b61ee5d381a4e81f
[ "MIT" ]
null
null
null
Ex0079.py
PHRMarques/Curso_PythonEx
5cb05f555007a4cb79504244b61ee5d381a4e81f
[ "MIT" ]
null
null
null
""" Crie um programa onde o usuário possa digitar vários valores numéricos e cadastre-os em uma lista. Caso o número já exista lá dentro, ele não será adicionado. No final, serão exibidos todos os valores únicos digitados em ordem crescente.""" numeros = [] while True: n = int(input('Digite um valor: ')) if n n...
36.5
93
0.666667
100
657
4.38
0.7
0.041096
0
0
0
0
0
0
0
0
0
0.034816
0.21309
657
17
94
38.647059
0.812379
0.360731
0
0
0
0
0.418886
0.058111
0
0
0
0.058824
0
1
0
false
0
0
0
0
0.285714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
444de47d92e0424db43a38915b26861a415a8aae
222
py
Python
databases/car/carCleaner.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
databases/car/carCleaner.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
databases/car/carCleaner.py
Geo3ngel/CSCI-447-PROJECT-3
651221aad14088fff827bf1465ee7971e9b63cdb
[ "MIT" ]
null
null
null
import re fileboi = open('./car/car.data','r') newCar = open('./car/newCarBoi.data','w+') for line in fileboi: copy = line copy = re.sub(r'5more',"5",copy) copy = re.sub(r'more',"5",copy) newCar.write(copy)
27.75
42
0.608108
37
222
3.648649
0.513514
0.103704
0.133333
0.148148
0
0
0
0
0
0
0
0.016216
0.166667
222
8
43
27.75
0.713514
0
0
0
0
0
0.215247
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
44538e0a2f7da895c07bd8f0fe4b1710bd75a016
11,625
py
Python
src/beanmachine/ppl/compiler/tests/tutorial_GMM_with_1_dimensions_and_4_components_test.py
feynmanliang/beanmachine
5dea2b9f6387f2f7fd1e53b0915a1b8405f2b46b
[ "MIT" ]
177
2021-12-12T14:19:05.000Z
2022-03-24T05:48:10.000Z
src/beanmachine/ppl/compiler/tests/tutorial_GMM_with_1_dimensions_and_4_components_test.py
feynmanliang/beanmachine
5dea2b9f6387f2f7fd1e53b0915a1b8405f2b46b
[ "MIT" ]
171
2021-12-11T06:12:05.000Z
2022-03-31T20:26:29.000Z
src/beanmachine/ppl/compiler/tests/tutorial_GMM_with_1_dimensions_and_4_components_test.py
facebookresearch/beanmachine
225114d9964b90c3a49adddc4387b4a47d1b4262
[ "MIT" ]
31
2021-12-11T06:27:19.000Z
2022-03-25T13:31:56.000Z
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. """End-to-end test for 1D GMM with K > 2 number of components""" import logging import unittest # Comments after imports suggest alternati...
25.053879
96
0.632258
1,680
11,625
4.316667
0.167857
0.025924
0.077082
0.077358
0.410645
0.343767
0.328599
0.328599
0.320601
0.274269
0
0.107842
0.187183
11,625
463
97
25.107991
0.659647
0.067527
0
0.12201
0
0
0.774304
0.266673
0
0
0
0
0.007177
1
0.019139
false
0
0.016746
0.007177
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
44618aeaa03de9ada3e88d9330917b166581f461
184
py
Python
Store/demo-code/Python code/pir.py
Quanta-Robotics/Robot-Blueberry
7b7e77e09ac5e9ec5afd947e0db1ecc8773e56da
[ "MIT" ]
25
2021-06-08T07:09:30.000Z
2021-12-30T06:28:35.000Z
Store/demo-code/Python code/pir.py
ICT-CoU/Robot-Blueberry
d19fd1be037df9d67de64df57a87006d74cd6c43
[ "MIT" ]
2
2021-05-23T12:54:51.000Z
2021-06-07T17:47:56.000Z
Store/demo-code/Python code/pir.py
ICT-CoU/Robot-Blueberry
d19fd1be037df9d67de64df57a87006d74cd6c43
[ "MIT" ]
14
2021-06-08T13:02:28.000Z
2021-12-30T20:07:18.000Z
import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) GPIO.setup(18, GPIO.IN) while True: state = GPIO.input(18) if state = True: print("Motion detected") time.sleep(1)
13.142857
26
0.701087
31
184
4.16129
0.645161
0
0
0
0
0
0
0
0
0
0
0.03268
0.168478
184
13
27
14.153846
0.810458
0
0
0
0
0
0.082418
0
0
0
0
0
0
0
null
null
0
0.222222
null
null
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
44618c4e44fa51d5e62005b784b88a31ad89d378
4,764
py
Python
tool/DBDS/bp_sched.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
16
2022-01-14T12:05:49.000Z
2022-03-10T07:57:26.000Z
tool/DBDS/bp_sched.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
1
2022-03-08T13:19:07.000Z
2022-03-09T06:39:43.000Z
tool/DBDS/bp_sched.py
SZU-SE/PERIOD
7636dc7cd8c97ea2fb7c13d6d068efc3872b9d03
[ "MIT" ]
2
2022-01-16T16:55:40.000Z
2022-03-07T10:20:55.000Z
''' This module represents the Bounded-Periods scheduling method. By using this method, every generated scheduling has exictly the specified number of periods. Within each period, key points from different threads may be executed in parallel, while a sequential order is enforced for key points from different perio...
30.343949
80
0.488455
585
4,764
3.762393
0.184615
0.046343
0.036347
0.029078
0.127669
0.073603
0.035438
0.035438
0.035438
0.035438
0
0.015703
0.411839
4,764
156
81
30.538462
0.769807
0.082494
0
0.247934
1
0
0.024263
0
0
0
0
0
0
1
0.082645
false
0.008264
0.016529
0.008264
0.247934
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
44633a70205de092a098031dc8f3d9185356ab1a
2,160
py
Python
app_pypeach_django/test/test_scrapy.py
pypeach/pypeach_django
2bd3fdecfa7e1e3d8e70cdb443e65c43431d0429
[ "MIT" ]
null
null
null
app_pypeach_django/test/test_scrapy.py
pypeach/pypeach_django
2bd3fdecfa7e1e3d8e70cdb443e65c43431d0429
[ "MIT" ]
3
2019-05-31T08:44:31.000Z
2019-10-22T08:45:28.000Z
app_pypeach_django/test/test_scrapy.py
pypeach/pypeach_django
2bd3fdecfa7e1e3d8e70cdb443e65c43431d0429
[ "MIT" ]
1
2021-04-03T07:33:07.000Z
2021-04-03T07:33:07.000Z
from app_pypeach_django.application.helper.scrapy import ScrapyHelper, HttpErrorException, ScrapyIllegalException from app_pypeach_django.test.test_base import UnitTestBase """ scrapyのテストです """ __author__ = "t.ebinuma" __version__ = "1.0" __date__ = "31 January 2019" class TestScrapyHelper(UnitTestBase): def te...
37.894737
117
0.686111
234
2,160
6.089744
0.32906
0.094737
0.132632
0.080702
0.567018
0.536842
0.507368
0.437193
0.345965
0.286316
0
0.031268
0.185648
2,160
56
118
38.571429
0.778852
0.061111
0
0.172414
0
0
0.184431
0.025601
0
0
0
0
0.448276
1
0.137931
false
0
0.068966
0
0.241379
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
4463a8720554cfac2304c0667bc574d650b627fc
373
py
Python
management/migrations/0005_auto_20171212_1646.py
Voleking/Library-Management-System
89aece574247588788a2180b755b7e8124bbd6f2
[ "MIT" ]
null
null
null
management/migrations/0005_auto_20171212_1646.py
Voleking/Library-Management-System
89aece574247588788a2180b755b7e8124bbd6f2
[ "MIT" ]
null
null
null
management/migrations/0005_auto_20171212_1646.py
Voleking/Library-Management-System
89aece574247588788a2180b755b7e8124bbd6f2
[ "MIT" ]
null
null
null
# Generated by Django 2.0 on 2017-12-12 08:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('management', '0004_auto_20171212_1640'), ] operations = [ migrations.AlterField( model_name='book', name='date_in', ...
19.631579
50
0.589812
39
373
5.512821
0.820513
0
0
0
0
0
0
0
0
0
0
0.114504
0.297587
373
18
51
20.722222
0.706107
0.115282
0
0
1
0
0.134146
0.070122
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
446670e90aeeca884899130186bb55a215331b88
3,946
py
Python
test_nltk.py
jdwinkler/trumpbot
aaf5e6bba4327f5d5ce0981582a2d0f7ae6a1100
[ "MIT" ]
null
null
null
test_nltk.py
jdwinkler/trumpbot
aaf5e6bba4327f5d5ce0981582a2d0f7ae6a1100
[ "MIT" ]
null
null
null
test_nltk.py
jdwinkler/trumpbot
aaf5e6bba4327f5d5ce0981582a2d0f7ae6a1100
[ "MIT" ]
null
null
null
import nltk.classify.util from nltk.classify import NaiveBayesClassifier from nltk.stem import PorterStemmer from nltk.corpus import stopwords from nltk.corpus import opinion_lexicon from nltk.tokenize import TweetTokenizer import os stemmer = PorterStemmer() positive_adj = set([stemmer.stem(w).upper() for w in opini...
29.447761
117
0.580335
421
3,946
5.247031
0.273159
0.050702
0.012223
0.013581
0.207334
0.182888
0.10593
0.10593
0.10593
0.038932
0
0.006494
0.297516
3,946
134
118
29.447761
0.790404
0.029397
0
0.076923
0
0
0.068164
0.007574
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.010989
0
0
0
null
0
0
0
0
0
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
446b8d014c787f641cd8ae82549c3e2565b73b5b
299
py
Python
asitiger/secure.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
2
2021-09-06T18:56:11.000Z
2021-12-15T21:00:07.000Z
asitiger/secure.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
null
null
null
asitiger/secure.py
System1Bio/asitiger
e69b88e07783bb6774dd0b65b91b9a2b38c6af63
[ "MIT" ]
1
2022-02-15T02:18:40.000Z
2022-02-15T02:18:40.000Z
from enum import Enum from typing import Union class SecurePosition(Enum): LOCKED = 0 UNLOCKED = 1 @classmethod def resolve_value(cls, position: Union["SecurePosition", int, float]): if isinstance(position, cls): return position.value return position
19.933333
74
0.665552
34
299
5.823529
0.647059
0.141414
0
0
0
0
0
0
0
0
0
0.00905
0.26087
299
14
75
21.357143
0.886878
0
0
0
0
0
0.046823
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.8
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
4470d83b9d098751ca25092d5e7409c1e6f2771f
2,046
py
Python
hooks/post_gen_project.py
niccolomineo/django-continuous-delivery
9853a274ad841b2809530e4e847d142ba12f74ef
[ "MIT" ]
10
2020-03-20T23:19:58.000Z
2022-02-27T09:27:56.000Z
hooks/post_gen_project.py
niccolomineo/django-continuous-delivery
9853a274ad841b2809530e4e847d142ba12f74ef
[ "MIT" ]
118
2020-02-14T11:55:31.000Z
2022-03-31T12:57:20.000Z
hooks/post_gen_project.py
niccolomineo/django-continuous-delivery
9853a274ad841b2809530e4e847d142ba12f74ef
[ "MIT" ]
7
2020-10-20T08:01:36.000Z
2021-12-23T15:20:56.000Z
#!/usr/bin/env python """Define hooks to be run after project generation.""" import secrets import shutil import subprocess import venv from pathlib import Path VENV = ".venv" def create_env_file(): """Create env file from the template.""" env_text = Path(".env_template").read_text() env_text = env_text...
26.230769
79
0.673998
251
2,046
5.247012
0.314741
0.069096
0.029613
0.028853
0.077449
0.045558
0
0
0
0
0
0.001762
0.167644
2,046
77
80
26.571429
0.77158
0.180841
0
0
0
0
0.193846
0.029538
0
0
0
0
0
1
0.204545
false
0
0.113636
0
0.318182
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4470f1a2d1c2f52f10bcf02f23d57872e51c463d
703
py
Python
swine/window/mainloop.py
DeflatedPickle/swine
28b40fff605f7ed9c006e032c11a5ff9c552ebac
[ "MIT" ]
4
2019-07-14T13:39:43.000Z
2021-11-08T15:57:17.000Z
swine/window/mainloop.py
SwineEngine/swine
28b40fff605f7ed9c006e032c11a5ff9c552ebac
[ "MIT" ]
1
2018-01-09T14:33:54.000Z
2018-01-09T14:34:34.000Z
swine/window/mainloop.py
SwineProject/swine
28b40fff605f7ed9c006e032c11a5ff9c552ebac
[ "MIT" ]
1
2018-07-22T20:53:10.000Z
2018-07-22T20:53:10.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import pyglet from pyglet.app.base import EventLoop class Mainloop(EventLoop): def __init__(self): EventLoop.__init__(self) def idle(self): dt = self.clock.update_time() self.clock.call_scheduled_functions(dt) try: for...
23.433333
52
0.540541
72
703
5.041667
0.652778
0.07438
0
0
0
0
0
0
0
0
0
0.002262
0.371266
703
29
53
24.241379
0.819005
0.059744
0
0.2
0
0
0.010622
0
0
0
0
0
0
1
0.1
false
0.1
0.1
0
0.3
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
447141056d9c01c646b19c48e62c1bbecd7f06d5
494
py
Python
tworaven_apps/configurations/migrations/0025_d3mconfiguration_is_selectable_dataset.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
20
2017-12-11T07:26:06.000Z
2021-11-22T16:16:20.000Z
tworaven_apps/configurations/migrations/0025_d3mconfiguration_is_selectable_dataset.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
849
2017-10-20T18:21:18.000Z
2022-02-18T02:45:44.000Z
tworaven_apps/configurations/migrations/0025_d3mconfiguration_is_selectable_dataset.py
TwoRavens/TwoRavens
e5f820557d6646df525ceed15e17d79f4159cf0a
[ "Apache-2.0" ]
1
2020-05-18T06:02:13.000Z
2020-05-18T06:02:13.000Z
# Generated by Django 2.1.11 on 2019-11-13 22:40 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('configurations', '0024_remove_d3mconfiguration_problem_root'), ] operations = [ migrations.AddField( model_name='d3mconfigurati...
26
109
0.659919
55
494
5.781818
0.836364
0
0
0
0
0
0
0
0
0
0
0.058824
0.242915
494
18
110
27.444444
0.791444
0.093117
0
0
1
0
0.302691
0.139013
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
44795db60d7ccf7893064880747dcb38885dd529
380
py
Python
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotLoadCommonAttributes_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
182
2017-06-27T02:26:15.000Z
2022-03-30T18:53:43.000Z
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotLoadCommonAttributes_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
28
2017-06-27T13:38:23.000Z
2022-03-15T11:19:44.000Z
release/stubs.min/Tekla/Structures/ModelInternal_parts/dotLoadCommonAttributes_t.py
htlcnn/ironpython-stubs
780d829e2104b2789d5f4d6f32b0ec9f2930ca03
[ "MIT" ]
67
2017-06-28T09:43:59.000Z
2022-03-20T21:17:10.000Z
class dotLoadCommonAttributes_t(object): # no doc aPartFilter=None AutomaticPrimaryAxisWeight=None BoundingBoxDx=None BoundingBoxDy=None BoundingBoxDz=None CreateFixedSupportConditionsAutomatically=None FatherId=None LoadAttachment=None LoadDispersionAngle=None LoadGroupId=None ModelObject=None PartNames=N...
20
47
0.852632
36
380
8.972222
0.611111
0
0
0
0
0
0
0
0
0
0
0
0.097368
380
18
48
21.111111
0.941691
0.015789
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
447c34247e9e82a8ebb64f386f5a48122745f1eb
2,004
py
Python
object_detection/model.py
WillBrennan/ObjectDetection
caeca2a0e6104077c642829415b4502b3bea2759
[ "MIT" ]
11
2020-06-29T20:06:54.000Z
2021-09-29T16:07:19.000Z
object_detection/model.py
WillBrennan/ObjectDetection
caeca2a0e6104077c642829415b4502b3bea2759
[ "MIT" ]
null
null
null
object_detection/model.py
WillBrennan/ObjectDetection
caeca2a0e6104077c642829415b4502b3bea2759
[ "MIT" ]
2
2020-12-29T13:58:14.000Z
2022-01-05T08:17:02.000Z
import logging import torch from torch import nn from torchvision.models import detection class MaskRCNN(nn.Module): @staticmethod def load(state_dict): # todo(will.brennan) - improve this... might want to save a categories file with this instead category_prefix = '_categories.' categ...
35.785714
113
0.699102
256
2,004
5.257813
0.375
0.040119
0.035661
0.05052
0.156018
0.156018
0.057949
0.057949
0
0
0
0.005006
0.202595
2,004
56
114
35.785714
0.837297
0.087325
0
0
0
0
0.085386
0
0
0
0
0.017857
0
1
0.135135
false
0
0.108108
0.054054
0.378378
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
449155b14e254739932eab997c99f8ddc41e7dff
2,884
py
Python
restalchemy/tests/functional/restapi/sa_based/microservice/controllers.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
1
2019-07-05T09:01:00.000Z
2019-07-05T09:01:00.000Z
restalchemy/tests/functional/restapi/sa_based/microservice/controllers.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
2
2019-02-06T13:59:05.000Z
2019-12-24T16:50:50.000Z
restalchemy/tests/functional/restapi/sa_based/microservice/controllers.py
phantomii/restalchemy
8f52ccdd354e781ff02ad43a592ef6bcad7e4468
[ "Apache-2.0" ]
null
null
null
# vim: tabstop=4 shiftwidth=4 softtabstop=4 # # Copyright 2016 Eugene Frolov <eugene@frolov.net.ru> # # 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 # # ...
29.731959
78
0.657767
388
2,884
4.832474
0.32732
0.042667
0.029867
0.0336
0.362133
0.324267
0.261867
0.261867
0.2128
0.189333
0
0.040268
0.225035
2,884
96
79
30.041667
0.798658
0.363384
0
0.470588
0
0
0.005615
0
0
0
0
0
0
1
0.196078
false
0
0.078431
0.039216
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
4496fe17f42d1b09a87d1a47f882441f320a9aca
619
py
Python
src/spaceone/inventory/model/disk.py
spaceone-dev/plugin-aws-ec2-inven-collector
eb269806996c300ef32ee7000d14c12b05bf7cc2
[ "Apache-2.0" ]
3
2020-06-22T01:47:57.000Z
2020-08-24T00:51:02.000Z
src/spaceone/inventory/model/disk.py
spaceone-dev/plugin-aws-ec2
7b07563dd439da5c6e70740c79d1413ef7c9b984
[ "Apache-2.0" ]
3
2020-07-15T01:15:27.000Z
2020-07-21T05:03:41.000Z
src/spaceone/inventory/model/disk.py
spaceone-dev/plugin-aws-ec2-inven-collector
eb269806996c300ef32ee7000d14c12b05bf7cc2
[ "Apache-2.0" ]
7
2020-06-22T09:49:04.000Z
2020-09-17T08:36:51.000Z
from schematics import Model from schematics.types import StringType, IntType, BooleanType, ModelType, FloatType class DiskTags(Model): volume_id = StringType(serialize_when_none=False) volume_type = StringType(choices=('standard', 'io1', 'gp2', 'gp3', 'sc1', 'st1'), serialize_whe...
32.578947
85
0.694669
68
619
6.147059
0.514706
0.124402
0.162679
0.210526
0
0
0
0
0
0
0
0.01
0.192246
619
18
86
34.388889
0.826
0
0
0
0
0
0.042003
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.928571
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
4497e9cb30750b3752e3ec38ca2132f244141d16
581
py
Python
tdb/securitycamera/main.py
troy-black/SecurityCamera
cb180cd0ba36e39c36324f0b52601526985b670e
[ "MIT" ]
null
null
null
tdb/securitycamera/main.py
troy-black/SecurityCamera
cb180cd0ba36e39c36324f0b52601526985b670e
[ "MIT" ]
null
null
null
tdb/securitycamera/main.py
troy-black/SecurityCamera
cb180cd0ba36e39c36324f0b52601526985b670e
[ "MIT" ]
null
null
null
from uvicorn import Config as UvicornConfig from uvicorn import Server from tdb.securitycamera import config from tdb.securitycamera import logger def main(): # TODO - pass cmd args here... config.Config.load() uvicorn_config = UvicornConfig( 'tdb.securitycamera.app:app', host='0.0.0.0',...
20.75
56
0.690189
74
581
5.22973
0.486486
0.131783
0.087855
0.139535
0
0
0
0
0
0
0
0.008734
0.211704
581
27
57
21.518519
0.836245
0.123924
0
0
0
0
0.081028
0.051383
0
0
0
0.037037
0
1
0.0625
false
0
0.25
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
449a14904aa04094168a44bd8e04543228a61e4b
3,172
py
Python
CTCI/Algorithms/recursion.py
Wmeng98/Leetcode
5c4d0ab211e637801f3ae11154850a476de2ca41
[ "MIT" ]
4
2020-09-13T23:41:32.000Z
2022-01-08T21:27:58.000Z
CTCI/Algorithms/recursion.py
Wmeng98/Leetcode
5c4d0ab211e637801f3ae11154850a476de2ca41
[ "MIT" ]
null
null
null
CTCI/Algorithms/recursion.py
Wmeng98/Leetcode
5c4d0ab211e637801f3ae11154850a476de2ca41
[ "MIT" ]
null
null
null
''' Recursion * "Design an algorithm to compute the nth" * "Write code to list the first n..." * "Implement a method to compute all..." How To Approach * recursive solutions built off of solutions to subproblems 1. to compute f(n), add/remove/changing the solution to f(n-1) 2. solve problem for first hal...
32.040404
152
0.678436
545
3,172
3.948624
0.376147
0.009294
0.005576
0.00697
0.032528
0.032528
0.032528
0.024164
0.024164
0.024164
0
0.016495
0.235498
3,172
99
153
32.040404
0.870515
0.429382
0
null
0
null
0
0
null
0
0
0
null
1
null
true
0
0
null
null
null
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
92205ad976d99404932a7ba4e713a11b8ae00c8b
740
py
Python
UserActions/urls.py
Paarzivall/SerwisSpolecznosciowy
ee68538b1954a44984c78645d54faac80609f9fa
[ "MIT" ]
null
null
null
UserActions/urls.py
Paarzivall/SerwisSpolecznosciowy
ee68538b1954a44984c78645d54faac80609f9fa
[ "MIT" ]
null
null
null
UserActions/urls.py
Paarzivall/SerwisSpolecznosciowy
ee68538b1954a44984c78645d54faac80609f9fa
[ "MIT" ]
null
null
null
from django.conf.urls import url from django.contrib import admin from django.contrib.auth import views as auth_views from django.views.generic.base import TemplateView import UserActions.views as my_views app_name = "user" urlpatterns = [ url(r'^$', TemplateView.as_view(template_name='index.html'), name='home'),...
38.947368
96
0.701351
118
740
4.211864
0.364407
0.04829
0.126761
0.036217
0.028169
0
0
0
0
0
0
0.021472
0.118919
740
19
97
38.947368
0.740798
0
0
0
0
0.0625
0.278003
0.176788
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
922882515a6426f99b9e7108924d43c78415773d
1,048
py
Python
ex47_tests.py
HninYamoneNwae/python-exercises
2cd797746f4ee6b3c5d10e2579cc4840c4645f7e
[ "MIT" ]
null
null
null
ex47_tests.py
HninYamoneNwae/python-exercises
2cd797746f4ee6b3c5d10e2579cc4840c4645f7e
[ "MIT" ]
null
null
null
ex47_tests.py
HninYamoneNwae/python-exercises
2cd797746f4ee6b3c5d10e2579cc4840c4645f7e
[ "MIT" ]
null
null
null
from nose.tools import * from game import Room def test_room(): gold = Room("GoldRoom", """This room has gold in it you can grab.There's a door to the north.""") asserts_equal(gold.name,"goldRoom") asserts_equal(gold.paths,{}) def test_room_paths(): center = Room("center","Test room in ...
33.806452
88
0.645992
162
1,048
4.08642
0.290123
0.060423
0.045317
0.058912
0.108761
0
0
0
0
0
0
0.001161
0.178435
1,048
30
89
34.933333
0.767712
0
0
0
0
0
0.282787
0
0
0
0
0
0.291667
0
null
null
0
0.083333
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
922e5ba9e9248dc7b01317bdb6816b1c68bac7df
559
py
Python
python3/k-diff_pairs_in_an_array.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
1
2020-10-08T09:17:40.000Z
2020-10-08T09:17:40.000Z
python3/k-diff_pairs_in_an_array.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
python3/k-diff_pairs_in_an_array.py
joshiaj7/CodingChallenges
f95dd79132f07c296e074d675819031912f6a943
[ "MIT" ]
null
null
null
""" space : O(n) time : O(n) """ class Solution: def findPairs(self, nums: List[int], k: int) -> int: if k < 0: return 0 ans = 0 hashmap = {} for i in nums: if i not in hashmap: hashmap[i] = 1 else: hashmap[...
18.633333
56
0.359571
65
559
3.092308
0.4
0.134328
0.039801
0
0
0
0
0
0
0
0
0.034749
0.536673
559
29
57
19.275862
0.741313
0.051878
0
0.210526
0
0
0
0
0
0
0
0
0
1
0.052632
false
0
0
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9230c56618c9161b1a00b65ccca3a482c47f8c3f
1,865
py
Python
{{cookiecutter.package}}/setup.py
konstantint/cookiecutter-flask-boilerplate
6022a0e333df81da158128b812bf21a857c38589
[ "MIT" ]
19
2015-12-24T16:23:59.000Z
2021-11-29T11:32:41.000Z
{{cookiecutter.package}}/setup.py
konstantint/cookiecutter-flask-boilerplate
6022a0e333df81da158128b812bf21a857c38589
[ "MIT" ]
null
null
null
{{cookiecutter.package}}/setup.py
konstantint/cookiecutter-flask-boilerplate
6022a0e333df81da158128b812bf21a857c38589
[ "MIT" ]
2
2017-06-07T09:24:46.000Z
2017-08-05T20:28:41.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ {{cookiecutter.project}}: setup script Copyright {{cookiecutter.year}}, {{cookiecutter.author}} License: {{cookiecutter.license}} """ import sys import {{cookiecutter.package}} from setuptools import setup, find_packages from setuptools.command.test import test as Test...
33.909091
102
0.673458
209
1,865
5.889952
0.550239
0.092608
0.042242
0
0
0
0
0
0
0
0
0.001929
0.16622
1,865
54
103
34.537037
0.789711
0.145308
0
0.051282
0
0
0.344828
0.157241
0
0
0
0
0
0
null
null
0
0.128205
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
923691c56ff61e2f80ce3a5be07e0de6c443d3d8
6,241
py
Python
学生成绩可视化/Ui_general.py
yxg995995/yxg-code
7dd23f3dfb13d68ebc44bf7d5a344fb661c33136
[ "MIT" ]
1
2021-03-15T02:07:50.000Z
2021-03-15T02:07:50.000Z
学生成绩可视化/Ui_general.py
yxg995995/yxg-code
7dd23f3dfb13d68ebc44bf7d5a344fb661c33136
[ "MIT" ]
null
null
null
学生成绩可视化/Ui_general.py
yxg995995/yxg-code
7dd23f3dfb13d68ebc44bf7d5a344fb661c33136
[ "MIT" ]
1
2021-03-15T02:07:55.000Z
2021-03-15T02:07:55.000Z
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'General.ui' # # Created by: PyQt5 UI code generator 5.12 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_General(object): def setupUi(self, General): General.setObje...
48.007692
96
0.688031
682
6,241
6.221408
0.165689
0.063634
0.070469
0.076361
0.205044
0.056564
0
0
0
0
0
0.018965
0.188912
6,241
129
97
48.379845
0.819241
0.028681
0
0
1
0
0.058629
0
0
0
0
0
0
1
0.017391
false
0
0.017391
0
0.043478
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
923ac92873ae0b99d79727ff8741d22b42e66691
1,971
py
Python
conjur/logic/hostfactory_logic.py
mbjahnoon/conjur-api-python3
ec1f62bb1baf2bdcd34d2fb92c97db724f761020
[ "Apache-2.0" ]
16
2019-05-17T15:34:59.000Z
2021-11-08T10:30:21.000Z
conjur/logic/hostfactory_logic.py
mbjahnoon/conjur-api-python3
ec1f62bb1baf2bdcd34d2fb92c97db724f761020
[ "Apache-2.0" ]
301
2019-05-07T18:27:10.000Z
2022-01-26T13:03:49.000Z
conjur/logic/hostfactory_logic.py
mbjahnoon/conjur-api-python3
ec1f62bb1baf2bdcd34d2fb92c97db724f761020
[ "Apache-2.0" ]
10
2019-07-30T17:00:13.000Z
2022-01-20T17:00:34.000Z
# -*- coding: utf-8 -*- """ HostFactoryLogic This module holds the business logic for executing and manipulating returned data """ # Builtins import json # Internals from conjur.data_object.create_token_data import CreateTokenData from conjur.data_object.create_host_data import CreateHostData from conjur.errors impo...
31.285714
94
0.709285
221
1,971
6.171946
0.316742
0.064516
0.065982
0.068182
0.645894
0.607771
0.607771
0.516129
0.516129
0.516129
0
0.001944
0.217149
1,971
62
95
31.790323
0.882048
0.34348
0
0.238095
0
0
0.069113
0
0
0
0
0
0
1
0.190476
false
0
0.190476
0
0.571429
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
923be663aee63183659c4442ba2661d006821e8a
673
py
Python
gestao/financeiro/models/cliente/ClienteContaDeBanco.py
Smartboxweb98/gestao_empresarial
ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195
[ "CC0-1.0" ]
3
2015-05-19T17:20:52.000Z
2017-10-28T02:48:29.000Z
gestao/financeiro/models/cliente/ClienteContaDeBanco.py
Smartboxweb98/gestao_empresarial
ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195
[ "CC0-1.0" ]
null
null
null
gestao/financeiro/models/cliente/ClienteContaDeBanco.py
Smartboxweb98/gestao_empresarial
ff41ccfc3c8bd2fc4b87dea5b2a48fa82f8e7195
[ "CC0-1.0" ]
3
2015-06-20T05:05:22.000Z
2018-09-20T12:02:32.000Z
# -*- coding: utf-8 -*- from django.db import models from gestao.financeiro.models.basico.ContaDeBanco import ContaDeBanco from gestao.financeiro.models.cliente.Cliente import Cliente class ClienteContaDeBanco(models.Model): cliente = models.ForeignKey(Cliente, verbose_name="Cliente") dados_bancarios = models...
33.65
86
0.682021
75
673
5.96
0.493333
0.098434
0.089485
0.116331
0
0
0
0
0
0
0
0.001908
0.221397
673
20
87
33.65
0.851145
0.031204
0
0
0
0
0.129032
0
0
0
0
0
0
1
0.083333
false
0
0.25
0.083333
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
92421d7687d13e98559e66bcd91e7b79c604dfb7
2,496
py
Python
cly/exceptions.py
redislabsdev/cly
748f1477ca4d7fa54669d6f85a7baf1b9056f0f0
[ "BSD-3-Clause" ]
2
2015-02-26T00:27:34.000Z
2018-01-11T07:35:56.000Z
cly/exceptions.py
redislabsdev/cly
748f1477ca4d7fa54669d6f85a7baf1b9056f0f0
[ "BSD-3-Clause" ]
null
null
null
cly/exceptions.py
redislabsdev/cly
748f1477ca4d7fa54669d6f85a7baf1b9056f0f0
[ "BSD-3-Clause" ]
3
2020-06-03T03:36:19.000Z
2020-10-18T15:43:56.000Z
# -*- coding: utf-8 -*- # # Copyright (C) 2006-2007 Alec Thomas <alec@swapoff.org> # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. # """CLY exception hierarchy.""" import string __all__ = ['Error', 'InvalidHelp', 'InvalidNodePath', 'Inv...
29.714286
96
0.687099
308
2,496
5.487013
0.480519
0.014201
0.035503
0.024852
0
0
0
0
0
0
0
0.007634
0.21274
2,496
83
97
30.072289
0.852417
0.50641
0
0
0
0
0.211368
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.592593
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
9246288f1f19b479ac0c161b481b0d58bca8ca7d
8,002
py
Python
proto/hello_pb2.py
kyeett/restful-diff-detector
a8e1d93274078b42e369734817908d4bdd283419
[ "MIT" ]
null
null
null
proto/hello_pb2.py
kyeett/restful-diff-detector
a8e1d93274078b42e369734817908d4bdd283419
[ "MIT" ]
null
null
null
proto/hello_pb2.py
kyeett/restful-diff-detector
a8e1d93274078b42e369734817908d4bdd283419
[ "MIT" ]
null
null
null
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: hello.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflect...
30.776923
766
0.745314
933
8,002
6.123258
0.193998
0.030807
0.034133
0.016804
0.451427
0.407492
0.407492
0.40014
0.393489
0.340277
0
0.034877
0.125719
8,002
259
767
30.895753
0.781732
0.047488
0
0.608108
1
0.004505
0.203205
0.140549
0
0
0
0
0
1
0
false
0
0.027027
0
0.027027
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
924687b52462c5f6d54004a470391303e915f401
364
py
Python
appengine/findit/dto/float_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
2
2021-04-13T21:22:18.000Z
2021-09-07T02:11:57.000Z
appengine/findit/dto/float_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
21
2020-09-06T02:41:05.000Z
2022-03-02T04:40:01.000Z
appengine/findit/dto/float_range.py
allaparthi/monorail
e18645fc1b952a5a6ff5f06e0c740d75f1904473
[ "BSD-3-Clause" ]
null
null
null
# Copyright 2018 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. from libs.structured_object import StructuredObject class FloatRange(StructuredObject): """Represents a generic floating point range of an upper and lowe...
30.333333
78
0.771978
53
364
5.283019
0.849057
0
0
0
0
0
0
0
0
0
0
0.013289
0.173077
364
11
79
33.090909
0.916944
0.623626
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
924d6d49a5e3d57e320c425ec95d1813bc224232
2,301
py
Python
src/Python/multiplyy.py
NataliaEwa/AppliedMathematics
3667d6d4bfe857053538495a027682f912994232
[ "MIT" ]
null
null
null
src/Python/multiplyy.py
NataliaEwa/AppliedMathematics
3667d6d4bfe857053538495a027682f912994232
[ "MIT" ]
null
null
null
src/Python/multiplyy.py
NataliaEwa/AppliedMathematics
3667d6d4bfe857053538495a027682f912994232
[ "MIT" ]
null
null
null
import pytest import numpy as np class MatrixOperations: def Multiply(self, matrixA, matrixB): if len(matrixA[0]) != len(matrixB): return 'Wrong input types' result = [[0 for i in range(len(matrixB[0]))] for j in range(len(matrixA))] for i in range(len(matrix...
29.883117
111
0.612342
267
2,301
5.262172
0.303371
0.008541
0.035587
0.036299
0.23274
0.199288
0.169395
0.169395
0.169395
0.169395
0
0.040586
0.229031
2,301
77
112
29.883117
0.751409
0
0
0.084746
0
0
0.107732
0
0
0
0
0
0.016949
1
0.067797
false
0.050847
0.033898
0.016949
0.169492
0.169492
0
0
0
null
0
0
0
0
0
0
0
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
92511d97ac500d696f86f59debfb5734da9c18f1
692
py
Python
src/masonite/providers/WhitenoiseProvider.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
1,816
2018-02-14T01:59:51.000Z
2022-03-31T17:09:20.000Z
src/masonite/providers/WhitenoiseProvider.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
340
2018-02-11T00:27:26.000Z
2022-03-21T12:00:24.000Z
src/masonite/providers/WhitenoiseProvider.py
cercos/masonite
f7f220efa7fae833683e9f07ce13c3795a87d3b8
[ "MIT" ]
144
2018-03-18T00:08:16.000Z
2022-02-26T01:51:58.000Z
from .Provider import Provider from whitenoise import WhiteNoise import os class WhitenoiseProvider(Provider): def __init__(self, application): self.application = application def register(self): response_handler = WhiteNoise( self.application.get_response_handler(), r...
25.62963
81
0.66474
70
692
6.328571
0.485714
0.20316
0.081264
0
0
0
0
0
0
0
0
0
0.25289
692
26
82
26.615385
0.856867
0
0
0
0
0
0.021676
0
0
0
0
0
0
1
0.157895
false
0
0.157895
0.052632
0.421053
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
92656ad1023e3f0ac22b596568a9f1e35d654c4a
2,551
py
Python
Day 18/FindMiddleOfLinkedList.py
manvi0308/IIEC-Rise
d2eb68ef60d95b2c1f5e6eb12d623a1fc20c1c99
[ "MIT" ]
34
2020-09-06T11:04:29.000Z
2021-11-26T18:25:21.000Z
Day 18/FindMiddleOfLinkedList.py
mehul523/100DaysOfAlgo
d0cbab7ac513010dcf9bf6045304b559669e713f
[ "MIT" ]
null
null
null
Day 18/FindMiddleOfLinkedList.py
mehul523/100DaysOfAlgo
d0cbab7ac513010dcf9bf6045304b559669e713f
[ "MIT" ]
10
2020-09-08T05:26:42.000Z
2022-03-06T08:33:39.000Z
'''Problem Statement : Write a program to find the middle element of linked list Approach used: Maintain two pointers, initially they both point to head of linked list, make one of them move by 2 places in one step and other one by 1 place.When the fast pointer reaches end slow pointer will reach middle of the ...
31.109756
118
0.622893
342
2,551
4.517544
0.312866
0.056958
0.031068
0.036246
0.159223
0.143042
0.099676
0.06343
0
0
0
0.006307
0.316347
2,551
81
119
31.493827
0.879587
0.186593
0
0.208333
0
0
0.054245
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9267237fca9ff415608d5f3560cf84d5a9ae8791
960
py
Python
callable.py
bilaleluneis/LearningPython
f0e567c7b0f9ad289108dbfc844208c642d499f5
[ "MIT" ]
null
null
null
callable.py
bilaleluneis/LearningPython
f0e567c7b0f9ad289108dbfc844208c642d499f5
[ "MIT" ]
null
null
null
callable.py
bilaleluneis/LearningPython
f0e567c7b0f9ad289108dbfc844208c642d499f5
[ "MIT" ]
null
null
null
__author__ = "Bilal El Uneis" __since__ = "April 2020" __email__ = "bilaleluneis@gmail.com" from typing import Tuple from unittest import TestCase, main class Function: def __init__(self, x: int, y: int, z: int) -> None: self.__x: int = x self.__y: int = y self.__z: int = z def __ca...
21.818182
82
0.571875
138
960
3.630435
0.333333
0.01996
0.023952
0.047904
0.105788
0.071856
0
0
0
0
0
0.039074
0.280208
960
43
83
22.325581
0.685962
0
0
0
0
0
0.05625
0.022917
0
0
0
0
0.137931
1
0.206897
false
0
0.068966
0.068966
0.413793
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
926dfaa07f4df4a01b6a41420c0df33058e8df2e
426
py
Python
Mechinmind/Article/migrations/0004_article_uploaddate.py
ayanshaikh18/MechInMind
69d272073d24407bfa97b99949e7c2b1c2dc28e8
[ "MIT" ]
null
null
null
Mechinmind/Article/migrations/0004_article_uploaddate.py
ayanshaikh18/MechInMind
69d272073d24407bfa97b99949e7c2b1c2dc28e8
[ "MIT" ]
null
null
null
Mechinmind/Article/migrations/0004_article_uploaddate.py
ayanshaikh18/MechInMind
69d272073d24407bfa97b99949e7c2b1c2dc28e8
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-03-15 09:06 import datetime from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Article', '0003_auto_20210315_1347'), ] operations = [ migrations.AddField( model_name='article', na...
21.3
71
0.615023
47
426
5.489362
0.744681
0
0
0
0
0
0
0
0
0
0
0.122187
0.269953
426
19
72
22.421053
0.707396
0.105634
0
0
1
0
0.124011
0.060686
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
926ffa8440c18b019ae0393c1f79fdb6b11014e2
2,637
py
Python
Lesson4/subway_data_visulization2.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
1
2015-09-17T18:49:09.000Z
2015-09-17T18:49:09.000Z
Lesson4/subway_data_visulization2.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
null
null
null
Lesson4/subway_data_visulization2.py
rmhyman/DataScience
c839c97c76f104ab298563a5c8b48f6d90be5f60
[ "MIT" ]
null
null
null
from pandas import * from ggplot import * def unit_to_int(unit): unit = int(unit[1:4]) return unit def plot_weather_data(turnstile_weather): ''' plot_weather_data is passed a dataframe called turnstile_weather. Use turnstile_weather along with ggplot to make another data visualization ...
51.705882
162
0.713311
389
2,637
4.74036
0.431877
0.130152
0.041215
0.056399
0.096529
0.032538
0
0
0
0
0
0.005789
0.213879
2,637
50
163
52.74
0.883743
0.179371
0
0
0
0
0.083516
0
0
0
0
0
0
0
null
null
0
0.181818
null
null
0.090909
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
92749a337755d9aba4ea54fb0adb8d43f4258c03
351
py
Python
librarian/migrations/0009_auto_20181113_1930.py
HemanthJella/ewallet
cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a
[ "Apache-2.0" ]
null
null
null
librarian/migrations/0009_auto_20181113_1930.py
HemanthJella/ewallet
cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a
[ "Apache-2.0" ]
null
null
null
librarian/migrations/0009_auto_20181113_1930.py
HemanthJella/ewallet
cc7f9b5abb7aa552b8769b9324c3d79630e5ea6a
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.1.2 on 2018-11-13 14:00 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('librarian', '0008_auto_20181113_1927'), ] operations = [ migrations.RenameModel( old_name='dblib', new_name='l...
19.5
50
0.569801
36
351
5.416667
0.805556
0
0
0
0
0
0
0
0
0
0
0.130802
0.324786
351
17
51
20.647059
0.691983
0.128205
0
0
1
0
0.160279
0.080139
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
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
927c2298b1c29e838e694da3ab8ab96dfbd87cae
6,744
py
Python
ocrd_models/ocrd_page_user_methods.py
JBBalling/core
b9977a28118d33e40656f5ea95e819d8cc496f32
[ "Apache-2.0" ]
null
null
null
ocrd_models/ocrd_page_user_methods.py
JBBalling/core
b9977a28118d33e40656f5ea95e819d8cc496f32
[ "Apache-2.0" ]
null
null
null
ocrd_models/ocrd_page_user_methods.py
JBBalling/core
b9977a28118d33e40656f5ea95e819d8cc496f32
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # source: https://bitbucket.org/dkuhlman/generateds/src/default/gends_user_methods.py import re # # You must include the following class definition at the top of # your method specification file. # class MethodSpec(): def __init__(self, name='', source='', class_names='', clas...
36.652174
224
0.666518
781
6,744
5.554417
0.239437
0.087598
0.062241
0.040572
0.190871
0.110189
0.040572
0.019825
0
0
0
0.001754
0.239027
6,744
183
225
36.852459
0.843531
0.247479
0
0.157895
1
0.035088
0.537536
0.208078
0
0
0
0
0
1
0.122807
false
0
0.008772
0.035088
0.236842
0.087719
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
927c4ccda0c9c78f2570b5307d174209a72d4e85
3,297
py
Python
apaProject_2.py
Feawel/MachineLearningProject
11acd7709d83667886cd57fa6f894831a561c3c7
[ "MIT" ]
1
2021-08-16T23:23:54.000Z
2021-08-16T23:23:54.000Z
apaProject_2.py
Feawel/MachineLearningProject
11acd7709d83667886cd57fa6f894831a561c3c7
[ "MIT" ]
null
null
null
apaProject_2.py
Feawel/MachineLearningProject
11acd7709d83667886cd57fa6f894831a561c3c7
[ "MIT" ]
null
null
null
import nltk.classify.util import csv from nltk.classify import NaiveBayesClassifier from nltk.tokenize import RegexpTokenizer from nltk.corpus import movie_reviews import random def word_feats(words): return dict([(word, True) for word in words]) class PipeDialect(csv.Dialect): delimiter = "|" quotechar ...
30.813084
149
0.719745
413
3,297
5.719128
0.273608
0.016935
0.025402
0.046571
0.195174
0.195174
0.182472
0.092295
0.092295
0.092295
0
0.017888
0.135274
3,297
106
150
31.103774
0.810593
0
0
0
0
0
0.039126
0
0
0
0
0
0
0
null
null
0
0.073171
null
null
0.02439
0
0
0
null
0
0
0
0
0
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
92807a5b882a4ad731b50da0f6ed83e864003211
927
py
Python
setup.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
366
2015-01-02T06:20:07.000Z
2022-01-10T01:57:10.000Z
setup.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
2
2016-07-08T09:28:44.000Z
2017-10-05T04:47:12.000Z
setup.py
adamserafini/pyxl
8278d222317e1ef2796899506ba37e357dff7c3c
[ "Apache-2.0" ]
27
2015-01-10T00:32:05.000Z
2021-06-05T05:38:23.000Z
#!/usr/bin/env python import distutils.core import sys version = "1.0" distutils.core.setup( name="pyxl", version=version, packages = ["pyxl", "pyxl.codec", "pyxl.scripts", "pyxl.examples"], author="Akhil Wable", author_email="akhil.wable@gmail.com", url="http://github.com/awable/pyxl", d...
37.08
99
0.700108
129
927
5.015504
0.713178
0.040185
0.040185
0.049459
0
0
0
0
0
0
0
0.005326
0.18986
927
24
100
38.625
0.856192
0.021575
0
0
0
0
0.714128
0.023179
0
0
0
0
0
1
0
false
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9281438726763d9980c55938a9107f697bcc988a
175
py
Python
main.py
ORMmaster/n-inputs
674eb7ad3146ab7b7160921d91d80c312300e279
[ "CC0-1.0" ]
null
null
null
main.py
ORMmaster/n-inputs
674eb7ad3146ab7b7160921d91d80c312300e279
[ "CC0-1.0" ]
null
null
null
main.py
ORMmaster/n-inputs
674eb7ad3146ab7b7160921d91d80c312300e279
[ "CC0-1.0" ]
null
null
null
#for defining n inputs from the user print('enter 0 to stop.\n') def enter(x): while x: x=input() x=input() enter(x) #------------------ done ---------------------------
15.909091
52
0.48
25
175
3.36
0.68
0.142857
0
0
0
0
0
0
0
0
0
0.006711
0.148571
175
10
53
17.5
0.557047
0.491429
0
0.333333
0
0
0.209302
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
0.166667
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
92820e3728e61841840ccc2be201c25381412da2
644
py
Python
setup.py
rkanniah/airbnb-py-spark
6c4a581d48dd02aaedc9b74c0cb7826b9bd47d56
[ "Apache-2.0" ]
null
null
null
setup.py
rkanniah/airbnb-py-spark
6c4a581d48dd02aaedc9b74c0cb7826b9bd47d56
[ "Apache-2.0" ]
null
null
null
setup.py
rkanniah/airbnb-py-spark
6c4a581d48dd02aaedc9b74c0cb7826b9bd47d56
[ "Apache-2.0" ]
1
2020-08-20T17:47:35.000Z
2020-08-20T17:47:35.000Z
from setuptools import setup, find_packages setup( name="airbnb", version="0.0.1", description="Python Spark csv file processor", url="https://github.com/rkanniah/airbnb-py-spark", test_suite = "tests", packages=["airbnb_py_spark"], entry_points={"console_scripts": ["airbnb=airbnb_py_spark....
29.272727
81
0.628882
72
644
5.458333
0.722222
0.061069
0.099237
0
0
0
0
0
0
0
0
0.015842
0.215839
644
22
82
29.272727
0.762376
0
0
0.095238
0
0
0.463566
0.058915
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
928386f5103a876bd90bb7476b8b4df950ffece5
214
py
Python
PythonCode/MicroBit/Examples/Motors.py
CarterWS/Summer2020
120f8ed5e225dcbf9f469daf17a787e3f0b93417
[ "MIT" ]
null
null
null
PythonCode/MicroBit/Examples/Motors.py
CarterWS/Summer2020
120f8ed5e225dcbf9f469daf17a787e3f0b93417
[ "MIT" ]
null
null
null
PythonCode/MicroBit/Examples/Motors.py
CarterWS/Summer2020
120f8ed5e225dcbf9f469daf17a787e3f0b93417
[ "MIT" ]
11
2020-06-03T10:12:28.000Z
2020-06-05T16:02:40.000Z
import machine, utime from microbit import * for fred in range(5): pin1.write_digital(0) pin15.write_analog(512) pin8.write_digital(0) pin16.write_analog(512) utime.sleep_ms(500)
15.285714
28
0.668224
31
214
4.451613
0.709677
0.173913
0.188406
0
0
0
0
0
0
0
0
0.110429
0.238318
214
13
29
16.461538
0.736196
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.25
0
0.25
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
9284eed9c276d2ace0b19881a9298edac9204d6c
2,878
py
Python
tests/test_discover.py
jonhadfield/fval
c6945f6e9542a8a9faf1dda62e6b70c7df32c0e6
[ "MIT" ]
null
null
null
tests/test_discover.py
jonhadfield/fval
c6945f6e9542a8a9faf1dda62e6b70c7df32c0e6
[ "MIT" ]
null
null
null
tests/test_discover.py
jonhadfield/fval
c6945f6e9542a8a9faf1dda62e6b70c7df32c0e6
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import (absolute_import, unicode_literals) import argparse from functools import wraps import os from fval import load_config from fval.discover import (walk_path, discover) def test_walk_path_one_level(): results = list() for current_path, dirs, file_list in walk_pat...
32.337079
111
0.712648
408
2,878
4.737745
0.220588
0.115882
0.105535
0.058976
0.731505
0.684946
0.684946
0.684946
0.675634
0.675634
0
0.008179
0.192842
2,878
88
112
32.704545
0.823935
0.084434
0
0.550725
0
0
0.112548
0.078327
0
0
0
0
0.115942
1
0.101449
false
0
0.086957
0.014493
0.217391
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
92a544b326c0fc10efacb88c697825cf99ee112f
4,432
py
Python
boinc_new/sched_old/pymw_assimilator.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
boinc_new/sched_old/pymw_assimilator.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
4
2020-09-07T15:54:45.000Z
2020-09-27T16:47:16.000Z
boinc_new/sched_old/pymw_assimilator.py
tomasbrod/tbboinc
c125cc355b2dc9a1e536b5e5ded028d4e7f4613a
[ "MIT" ]
null
null
null
#!/usr/bin/env python import boinc_path_config from assimilator import * import os, sys, shutil class PymwAssimilator(Assimilator): """ PyMW Assimilator. Copies workunit results to a predefined output directory. """ def __init__(self): Assimilator.__init__(self) self.pymwDir = No...
36.933333
93
0.534522
491
4,432
4.710794
0.338086
0.038046
0.024211
0.022482
0.143104
0.139213
0.139213
0.139213
0.086468
0.038911
0
0.002866
0.370262
4,432
119
94
37.243697
0.825869
0.101986
0
0.230769
0
0
0.177808
0.020274
0
0
0
0
0
0
null
null
0.012821
0.038462
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
92a91d6c3bf3b9d092bf870c76eb146bcf996b57
717
py
Python
plotting/data_extractor/analysis_types/scatter_stats.py
eric-erki/GISportal
407764334b3ba50da4429fc170b98e20468ff8a0
[ "Apache-2.0" ]
55
2015-03-20T23:54:17.000Z
2022-01-22T04:33:06.000Z
plotting/data_extractor/analysis_types/scatter_stats.py
eric-erki/GISportal
407764334b3ba50da4429fc170b98e20468ff8a0
[ "Apache-2.0" ]
27
2016-03-14T15:44:05.000Z
2021-09-03T10:23:06.000Z
plotting/data_extractor/analysis_types/scatter_stats.py
eric-erki/GISportal
407764334b3ba50da4429fc170b98e20468ff8a0
[ "Apache-2.0" ]
24
2015-03-11T14:59:24.000Z
2022-03-31T10:47:17.000Z
import netCDF4 as netCDF from extraction_utils import basic_scatter import json class ScatterStats(object): """docstring for BasicStats""" def __init__(self, filenames): super(ScatterStats, self).__init__() self.variable1, self.variable2 = filenames.keys() self.filename1 = filenames[self.variable1] sel...
23.9
94
0.750349
88
717
5.920455
0.454545
0.074856
0.065259
0
0
0
0
0
0
0
0
0.027508
0.138075
717
30
95
23.9
0.815534
0.054393
0
0
0
0
0.057099
0
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
92a9c843e4159822153f1fabab2786aa2f09bc0d
7,392
py
Python
zerorpc_server.py
zboody/chloride
065d2d00995dae950eda7900805467d4bbae3ec2
[ "MIT" ]
null
null
null
zerorpc_server.py
zboody/chloride
065d2d00995dae950eda7900805467d4bbae3ec2
[ "MIT" ]
null
null
null
zerorpc_server.py
zboody/chloride
065d2d00995dae950eda7900805467d4bbae3ec2
[ "MIT" ]
null
null
null
from gevent.monkey import patch_all patch_all() from gevent import Greenlet, sleep from gevent.queue import Queue as GQueue from multiprocessing import Process, Queue from multiprocessing.queues import Empty import os import zerorpc import json import logging from copy import deepcopy from salt.client.api import APICli...
29.450199
100
0.560471
820
7,392
4.865854
0.230488
0.010025
0.02807
0.034085
0.298496
0.263158
0.246115
0.246115
0.229073
0.190977
0
0.002615
0.327516
7,392
250
101
29.568
0.80004
0.008117
0
0.318841
0
0
0.063064
0
0
0
0
0
0
0
null
null
0.014493
0.135266
null
null
0.009662
0
0
0
null
0
0
0
0
0
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