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
30a52bd054c066ee1f547b1ab3ba59ca998eb737
1,298
py
Python
pakdump/utils/ap.py
haste/pakdump
f2c4d699282af6065488a0492d2b89b5c746b46f
[ "MIT" ]
null
null
null
pakdump/utils/ap.py
haste/pakdump
f2c4d699282af6065488a0492d2b89b5c746b46f
[ "MIT" ]
1
2021-05-13T16:43:09.000Z
2021-05-13T16:43:09.000Z
pakdump/utils/ap.py
haste/pakdump
f2c4d699282af6065488a0492d2b89b5c746b46f
[ "MIT" ]
2
2021-05-13T12:44:57.000Z
2021-06-09T09:42:20.000Z
import argparse from pathlib import Path from typing import Any, Optional, Sequence, Union class FullDirPath(argparse.Action): """ argparse.Action subclass to resolve a path and make sure it's a directory """ def __call__( self, parse: argparse.ArgumentParser, namespace: argpa...
28.844444
80
0.617874
155
1,298
5.064516
0.380645
0.061147
0.056051
0.071338
0.677707
0.644586
0.49172
0.49172
0.49172
0.364331
0
0
0.27812
1,298
44
81
29.5
0.83778
0.189522
0
0.72
0
0
0.032058
0
0
0
0
0
0
1
0.08
false
0
0.12
0
0.28
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30a83292a79a53c6bbc867a73efcb55e01c52bb7
2,085
py
Python
proma/config/migrations/0001_initial.py
erickgnavar/Proma
159051f4247700166f063075b3819ae426f6d337
[ "MIT" ]
3
2018-01-22T08:50:38.000Z
2021-07-16T04:08:28.000Z
proma/config/migrations/0001_initial.py
erickgnavar/Proma
159051f4247700166f063075b3819ae426f6d337
[ "MIT" ]
13
2019-05-27T03:08:29.000Z
2020-01-03T03:36:04.000Z
proma/config/migrations/0001_initial.py
erickgnavar/Proma
159051f4247700166f063075b3819ae426f6d337
[ "MIT" ]
1
2019-10-03T17:52:29.000Z
2019-10-03T17:52:29.000Z
# Generated by Django 2.0.1 on 2018-03-22 20:14 from django.db import migrations, models import django.utils.timezone import model_utils.fields class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Configuration', ...
54.868421
173
0.652758
239
2,085
5.523013
0.334728
0.108333
0.081818
0.122727
0.425758
0.425758
0.400758
0.400758
0.400758
0.290152
0
0.027289
0.209113
2,085
37
174
56.351351
0.773196
0.021583
0
0
1
0
0.157017
0.021099
0
0
0
0
0
1
0
false
0
0.1
0
0.233333
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
30ac5dd2c99fef56d1106ec0fbe04df7c5617bcf
629
py
Python
tests/classes/cbm_article.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
null
null
null
tests/classes/cbm_article.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
null
null
null
tests/classes/cbm_article.py
Jesse-Yung/jsonclasses
d40c52aec42bcb978a80ceb98b93ab38134dc790
[ "MIT" ]
null
null
null
from __future__ import annotations from jsonclasses import jsonclass, types def create_first_revision(article: CBMArticle) -> None: CBMRevision(name='First').article = article def force_content(article: CBMArticle) -> None: article.content = 'UPDATED' @jsonclass class CBMRevision: name: str articl...
25.16
72
0.704293
65
629
6.646154
0.461538
0.118056
0.087963
0
0
0
0
0
0
0
0
0
0.197138
629
24
73
26.208333
0.855446
0
0
0.125
0
0
0.063593
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.6875
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
30ad70fd60611774556842dc567d16f04bdbc4f6
1,532
py
Python
python/highcard.py
jrduncans/highcard
cdaf31e0a6549e572d68fd1587b5106ce4e27a0d
[ "MIT" ]
null
null
null
python/highcard.py
jrduncans/highcard
cdaf31e0a6549e572d68fd1587b5106ce4e27a0d
[ "MIT" ]
null
null
null
python/highcard.py
jrduncans/highcard
cdaf31e0a6549e572d68fd1587b5106ce4e27a0d
[ "MIT" ]
null
null
null
#!/bin/env python # Copyright 2006 Stephen Duncan Jr # # 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 ...
23.569231
74
0.694517
207
1,532
5.096618
0.555556
0.056872
0.024645
0.030332
0
0
0
0
0
0
0
0.009868
0.206266
1,532
65
75
23.569231
0.85773
0.372063
0
0.052632
0
0
0.166316
0
0
0
0
0
0
0
null
null
0.026316
0.026316
null
null
0.289474
0
0
0
null
0
0
0
0
0
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
30b24e25b90003380e9eb8c52fa4b7c221389079
7,743
py
Python
burputils.py
parsiya/burputils
c3c80c80f56e8aaecc252b922ee1c1adf20cbe67
[ "MIT" ]
3
2019-07-09T04:10:58.000Z
2020-10-18T21:11:36.000Z
burputils.py
parsiya/burputils
c3c80c80f56e8aaecc252b922ee1c1adf20cbe67
[ "MIT" ]
11
2019-04-17T02:13:26.000Z
2019-12-16T04:11:42.000Z
burputils.py
parsiya/burputils
c3c80c80f56e8aaecc252b922ee1c1adf20cbe67
[ "MIT" ]
5
2019-07-09T04:10:38.000Z
2021-05-24T01:59:09.000Z
""" Burp utility module for Python Burp extensions. Author: Parsia Hakimian License: MIT # Usage 1. Add it as a Python Burp module and use `from burputils import BurpUtils`. For more info see: https://parsiya.net/blog/2018-12-19-python-utility-modules-for-burp-extensions/ 2....
36.013953
94
0.606354
820
7,743
5.720732
0.282927
0.021104
0.032616
0.025581
0.274568
0.207205
0.166276
0.148369
0.148369
0.130036
0
0.002651
0.317835
7,743
214
95
36.182243
0.88546
0.524732
0
0.126984
0
0
0.015815
0
0
0
0
0
0
1
0.190476
false
0
0.063492
0
0.52381
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
30b6c0ce93374aadca28f5849816e36faacb8f46
348
py
Python
way/python/exercises/checkio/checkio005.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/exercises/checkio/checkio005.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
way/python/exercises/checkio/checkio005.py
only-romano/junkyard
b60a25b2643f429cdafee438d20f9966178d6f36
[ "MIT" ]
null
null
null
def best_stock(data): max, best = 0, '' for k, v in data.items(): if v > max: max = v best = k else: pass return best if __name__ == '__main__': print("Example:") print(best_stock({ 'CAC': 10.0, 'ATX': 390.2, ...
16.571429
30
0.393678
41
348
3.097561
0.634146
0.141732
0
0
0
0
0
0
0
0
0
0.054054
0.468391
348
20
31
17.4
0.632432
0
0
0
0
0
0.076687
0
0
0
0
0
0
1
0.0625
false
0.0625
0
0
0.125
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
0
0
0
1
0
0
0
0
0
1
30b766c001c58d402d5d56414be66aef6f042ef4
409
py
Python
profiles/migrations/0002_profile_active.py
edgarceron/agent_console
a75501957722a349c7276e4d199425897f351bc0
[ "BSD-3-Clause" ]
null
null
null
profiles/migrations/0002_profile_active.py
edgarceron/agent_console
a75501957722a349c7276e4d199425897f351bc0
[ "BSD-3-Clause" ]
3
2021-03-30T13:46:24.000Z
2021-09-22T19:18:18.000Z
profiles/migrations/0002_profile_active.py
edgarceron/agent_console
a75501957722a349c7276e4d199425897f351bc0
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.4 on 2020-04-13 21:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('profiles', '0001_initial'), ] operations = [ migrations.AddField( model_name='profile', name='active', f...
21.526316
84
0.606357
43
409
5.697674
0.837209
0
0
0
0
0
0
0
0
0
0
0.063973
0.273839
409
18
85
22.722222
0.760943
0.110024
0
0
1
0
0.132597
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
30b864e0f5203a18948385995c35998ba8a12fc0
183
py
Python
0004.Median of Two Sorted Arrays/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
0004.Median of Two Sorted Arrays/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
0004.Median of Two Sorted Arrays/test.py
zhlinh/leetcode
6dfa0a4df9ec07b2c746a13c8257780880ea04af
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from solution import Solution nums1 = [1] nums2 = [2] sol = Solution() result = sol.findMedianSortedArrays(nums1, nums2) print(result)
16.636364
49
0.688525
24
183
5.25
0.75
0
0
0
0
0
0
0
0
0
0
0.044872
0.147541
183
10
50
18.3
0.762821
0.229508
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.166667
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
30b96e32b5314fb2ff0752d530f3087f920210bc
9,375
py
Python
examples/withRaycing/11_Waves/coherentModePropagation.py
kklmn/xrt
fe0f17fe712a84bc7dbbf5d807969630c9bddbde
[ "MIT" ]
71
2016-07-04T06:40:52.000Z
2022-03-31T10:03:07.000Z
examples/withRaycing/11_Waves/coherentModePropagation.py
kklmn/xrt
fe0f17fe712a84bc7dbbf5d807969630c9bddbde
[ "MIT" ]
99
2016-07-10T16:39:05.000Z
2022-03-28T07:50:10.000Z
examples/withRaycing/11_Waves/coherentModePropagation.py
kklmn/xrt
fe0f17fe712a84bc7dbbf5d807969630c9bddbde
[ "MIT" ]
30
2016-07-08T17:12:30.000Z
2022-03-30T06:54:21.000Z
# -*- coding: utf-8 -*- __author__ = "Konstantin Klementiev" __date__ = "8 Dec 2021" # import matplotlib as mpl # mpl.use('agg') import os, sys; sys.path.append(os.path.join('..', '..', '..')) # analysis:ignore import numpy as np import xrt.plotter as xrtp import xrt.runner as xrtr import xrt.backends.raycing as ra...
32.106164
82
0.616
1,235
9,375
4.621053
0.2583
0.021027
0.02383
0.033643
0.334677
0.298756
0.241808
0.217627
0.18784
0.175924
0
0.039698
0.236907
9,375
291
83
32.216495
0.757898
0.043307
0
0.226087
0
0
0.059922
0.002571
0
0
0
0
0
0
null
null
0
0.052174
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
30c0648993fb5c20ce674df6f8965ae906ada6e3
1,135
py
Python
osrefl/loaders/reduction/examples/e3a12/__init__.py
reflectometry/osrefl
ddf55d542f2eab2a29fd6ffc862379820a06d5c7
[ "BSD-3-Clause" ]
2
2015-05-21T15:16:46.000Z
2015-10-23T17:47:36.000Z
osrefl/loaders/reduction/examples/e3a12/__init__.py
reflectometry/osrefl
ddf55d542f2eab2a29fd6ffc862379820a06d5c7
[ "BSD-3-Clause" ]
null
null
null
osrefl/loaders/reduction/examples/e3a12/__init__.py
reflectometry/osrefl
ddf55d542f2eab2a29fd6ffc862379820a06d5c7
[ "BSD-3-Clause" ]
null
null
null
""" Sample data from NG-1: e3a12 rem (71g) cofe2o4,cofe(10nm),ta """ import numpy, os from osrefl.loaders.reduction.data import Data,PolarizedData PATH = os.path.dirname(os.path.realpath(__file__)) def loadABCD(file): data = PolarizedData(xlabel="Qz",xunits="invA",vlabel="counts") for ext,d in [('A',dat...
29.868421
78
0.58326
190
1,135
3.421053
0.321053
0.036923
0.069231
0.083077
0.587692
0.587692
0.587692
0.587692
0.587692
0.587692
0
0.040297
0.169163
1,135
37
79
30.675676
0.648993
0
0
0.458333
0
0
0.090395
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
0.041667
0
0
0
null
0
0
0
0
0
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
30c464c6df9ba629b7def7262a09ca2b99fdd8f5
771
py
Python
hw-code/HW4_7-1a.py
elsdrium/1022-Algorithm
8fe160432339225a25cf93dc978da0786aff1560
[ "MIT" ]
null
null
null
hw-code/HW4_7-1a.py
elsdrium/1022-Algorithm
8fe160432339225a25cf93dc978da0786aff1560
[ "MIT" ]
null
null
null
hw-code/HW4_7-1a.py
elsdrium/1022-Algorithm
8fe160432339225a25cf93dc978da0786aff1560
[ "MIT" ]
null
null
null
def HoarePartition(A, p, r): x = A[p] i = p - 1 j = r + 1 counter=0 while True: counter += 1 print( 'Iteration ' + str(counter) + ':' ) while True: j -= 1 if A[j] <= x: break while True: i += 1 if A[...
22.028571
50
0.361868
105
771
2.657143
0.361905
0.028674
0.028674
0.071685
0
0
0
0
0
0
0
0.060976
0.468223
771
34
51
22.676471
0.619512
0
0
0.241379
0
0
0.107652
0
0
0
0
0
0
0
null
null
0
0
null
null
0.275862
0
0
0
null
0
0
0
0
0
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
30c9ab6426263548c409e3a03a18a91ae1328d69
1,191
py
Python
todolist_app/migrations/0001_initial.py
Russel777/todolist
479142a750cdcc724308018617eec8eeac5876c6
[ "MIT" ]
null
null
null
todolist_app/migrations/0001_initial.py
Russel777/todolist
479142a750cdcc724308018617eec8eeac5876c6
[ "MIT" ]
null
null
null
todolist_app/migrations/0001_initial.py
Russel777/todolist
479142a750cdcc724308018617eec8eeac5876c6
[ "MIT" ]
null
null
null
# Generated by Django 2.1.2 on 2018-11-04 17:24 from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUT...
38.419355
128
0.625525
128
1,191
5.726563
0.578125
0.032742
0.038199
0.060027
0
0
0
0
0
0
0
0.028261
0.22754
1,191
30
129
39.7
0.768478
0.037783
0
0
1
0
0.083916
0
0
0
0
0
0
1
0
false
0
0.173913
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30cf1b9a2cf67761c58bd7d9f73363e7407496a1
632
py
Python
polling_stations/apps/data_collection/management/commands/import_west_dorset.py
chris48s/UK-Polling-Stations
4742b527dae94f0276d35c80460837be743b7d17
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_west_dorset.py
chris48s/UK-Polling-Stations
4742b527dae94f0276d35c80460837be743b7d17
[ "BSD-3-Clause" ]
null
null
null
polling_stations/apps/data_collection/management/commands/import_west_dorset.py
chris48s/UK-Polling-Stations
4742b527dae94f0276d35c80460837be743b7d17
[ "BSD-3-Clause" ]
null
null
null
from data_collection.management.commands import BaseXpressDCCsvInconsistentPostcodesImporter class Command(BaseXpressDCCsvInconsistentPostcodesImporter): council_id = 'E07000052' addresses_name = 'parl.2017-06-08/Version 1/Democracy_Club__08June2017WDDC.TSV' stations_name = 'parl.2017-06-08/Version 1/Democ...
37.176471
92
0.75
68
632
6.558824
0.573529
0.134529
0.170404
0.080717
0.242152
0.242152
0.242152
0.242152
0.242152
0.242152
0
0.09434
0.161392
632
16
93
39.5
0.74717
0
0
0
0
0
0.411392
0.367089
0
0
0
0
0
1
0
false
0
0.142857
0
0.642857
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
30d2fceae20fe6bd3f36f9a148337bf7a6c2337b
459
py
Python
滤波器.py
990676/990676
59a4b4f275c2093ca91b5bb23cda9b64b6b15d2b
[ "MIT" ]
null
null
null
滤波器.py
990676/990676
59a4b4f275c2093ca91b5bb23cda9b64b6b15d2b
[ "MIT" ]
null
null
null
滤波器.py
990676/990676
59a4b4f275c2093ca91b5bb23cda9b64b6b15d2b
[ "MIT" ]
null
null
null
>>> from scipy import signal >>> import matplotlib.pyplot as plt >>> b, a = signal.butter(4, 100, 'low', analog=True) >>> w, h = signal.freqs(b, a) >>> plt.semilogx(w, 20 * np.log10(abs(h))) >>> plt.title('Butterworth filter frequency response') >>> plt.xlabel('Frequency [radians / second]') >>> plt.ylabel('Amplitude [...
38.25
54
0.640523
67
459
4.38806
0.701493
0.013605
0
0
0
0
0
0
0
0
0
0.034653
0.119826
459
12
55
38.25
0.693069
0.034858
0
0
0
0
0.214932
0
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
30d92a2b11e3800ae08a5b6b0eb975b810edea1c
614
py
Python
jquery_widgets/fields.py
fu2re/django-jquery-widgets
da03a7ff990228a6338c1f12d8ded2cd2f614831
[ "MIT" ]
1
2015-11-08T01:26:10.000Z
2015-11-08T01:26:10.000Z
jquery_widgets/fields.py
smyrman/django-jquery-widgets
fb41582badb28ff357e07adbae126d404b4153e9
[ "MIT" ]
null
null
null
jquery_widgets/fields.py
smyrman/django-jquery-widgets
fb41582badb28ff357e07adbae126d404b4153e9
[ "MIT" ]
4
2015-10-07T18:05:34.000Z
2020-10-01T09:22:23.000Z
# -*- coding: utf-8 -*- from django import forms from .widgets import JQWSlider class ForeignKeySearchField(forms.fields.ChoiceField): """Form field to select a model for a ForeignKey db field""" pass # Fix this field later class JQWSliderField(forms.IntegerField): def __init__(self, min_value, max_value, ste...
25.583333
70
0.71987
83
614
5.120482
0.493976
0.075294
0.056471
0.070588
0.094118
0
0
0
0
0
0
0.003831
0.149837
614
24
71
25.583333
0.810345
0.159609
0
0
0
0
0.054902
0
0
0
0
0
0
1
0.133333
false
0.066667
0.133333
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30db6a7fd63c37c2b548acbd03248e547b61d3da
379
py
Python
data-structures/python/fibo2.py
zubinshah/algorithms
292cd1ac0ddd84b8c3933b0c2404d1c4b316be9d
[ "Apache-2.0" ]
null
null
null
data-structures/python/fibo2.py
zubinshah/algorithms
292cd1ac0ddd84b8c3933b0c2404d1c4b316be9d
[ "Apache-2.0" ]
null
null
null
data-structures/python/fibo2.py
zubinshah/algorithms
292cd1ac0ddd84b8c3933b0c2404d1c4b316be9d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys #This python program implements fibonacci series of a given function. def fibo(n): #print fibo series upto n """Print fibonacci series up to n numbers. """ a, b = 0, 1 fibSeq = [] while a < n: fibSeq.append(a) a , b = b, a+b print fibSeq if len(sys....
18.047619
70
0.593668
61
379
3.688525
0.557377
0.026667
0.071111
0
0
0
0
0
0
0
0
0.029197
0.277045
379
20
71
18.95
0.791971
0.287599
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.083333
null
null
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
1
0
0
0
0
0
0
0
0
1
30e1d7b28a7a89c1ca405fa34d469047eb7fc777
2,161
py
Python
blog/app/crud/user_crud.py
evi1ghost/blog_on_fast_api
04be8c1591b37d3d3e26a6e2f921acea7c99b693
[ "MIT" ]
1
2021-07-12T08:18:03.000Z
2021-07-12T08:18:03.000Z
blog/app/crud/user_crud.py
evi1ghost/blog_on_fast_api
04be8c1591b37d3d3e26a6e2f921acea7c99b693
[ "MIT" ]
null
null
null
blog/app/crud/user_crud.py
evi1ghost/blog_on_fast_api
04be8c1591b37d3d3e26a6e2f921acea7c99b693
[ "MIT" ]
null
null
null
from sqlalchemy.orm import Session from fastapi import Depends, HTTPException, status from jose import JWTError, jwt from ..auth import ( verify_password, get_password_hash, oauth2_scheme, SECRET_KEY, ALGORITHM ) from ..database import get_db from ..models import user_models as models from ..schemas import us...
29.202703
74
0.715872
280
2,161
5.317857
0.275
0.030222
0.026192
0.034251
0.177972
0.094023
0.094023
0.052384
0
0
0
0.004616
0.198056
2,161
73
75
29.60274
0.854587
0
0
0.152542
0
0
0.031467
0
0
0
0
0
0
1
0.067797
false
0.084746
0.135593
0.033898
0.338983
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
30e352f59c9d8fe26982e81b74ee1b9472e1bc25
846
py
Python
act/cli.py
attakei/act
ad1f0ac8263094a270ba1a544cc696f8955c2dd6
[ "MIT" ]
1
2018-01-09T04:39:30.000Z
2018-01-09T04:39:30.000Z
act/cli.py
attakei/act
ad1f0ac8263094a270ba1a544cc696f8955c2dd6
[ "MIT" ]
null
null
null
act/cli.py
attakei/act
ad1f0ac8263094a270ba1a544cc696f8955c2dd6
[ "MIT" ]
null
null
null
# -*- coding:utf-8 -*- from pathlib import Path import logging import subprocess import click Logger = logging.getLogger(__name__) ROOT = Path(__file__).resolve().parents[1] # type: Path @click.group() def act(): pass @act.command() def upgrade(): """Upgrade act """ repo_dir = Path(__file__).par...
17.625
56
0.582742
98
846
4.877551
0.571429
0.043933
0.041841
0
0
0
0
0
0
0
0
0.005
0.29078
846
47
57
18
0.791667
0.185579
0
0
0
0
0.023774
0
0
0
0
0.021277
0
1
0.1
false
0.033333
0.2
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
1
0
0
0
0
0
0
0
0
0
0
1
30e9e31db3cf4158e38c3c397c98a9a6f7c1f478
4,944
py
Python
week8/predict-sub2.py
rve/DM-Lab
694ffe47221a85f40e0375649d27ed006383211b
[ "MIT" ]
2
2017-11-28T14:31:19.000Z
2020-03-24T10:58:35.000Z
week8/predict-sub2.py
rve/DM-Lab
694ffe47221a85f40e0375649d27ed006383211b
[ "MIT" ]
1
2021-06-01T22:05:57.000Z
2021-06-01T22:05:57.000Z
week8/predict-sub2.py
rve/DM-Lab
694ffe47221a85f40e0375649d27ed006383211b
[ "MIT" ]
null
null
null
# coding: utf-8 # In[102]: #visualization part #import matplotlib.pyplot as plt #import seaborn as sns #basic libs import pandas as pd import numpy as np import random as rnd from sklearn.model_selection import cross_val_score # machine learning from sklearn.linear_model import LogisticRegression from sklearn.sv...
24.597015
107
0.737864
708
4,944
4.937853
0.279661
0.036041
0.02603
0.044622
0.252002
0.199085
0.172197
0.136156
0.136156
0.09611
0
0.03352
0.131068
4,944
200
108
24.72
0.780261
0.193568
0
0.087912
0
0
0.120904
0.016256
0
0
0
0
0
0
null
null
0
0.186813
null
null
0.10989
0
0
0
null
0
0
0
0
0
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
30f113cbbb8424be6b0290c64b6a0f8ec1ba66b3
7,307
py
Python
jtalkpy/__init__.py
yhay81/jtalkpy
27f5cc24d502016c434444cb5768f72be19d59de
[ "MIT" ]
1
2020-06-22T12:55:43.000Z
2020-06-22T12:55:43.000Z
jtalkpy/__init__.py
yhay81/jtalkpy
27f5cc24d502016c434444cb5768f72be19d59de
[ "MIT" ]
null
null
null
jtalkpy/__init__.py
yhay81/jtalkpy
27f5cc24d502016c434444cb5768f72be19d59de
[ "MIT" ]
null
null
null
import subprocess from typing import Union class Jtalk: def __init__(self, dict_dir, voice_file, output_file='/dev/null', trace_file='/dev/null', sampling='auto', frame_period='auto', all_pass='a...
37.471795
119
0.479403
775
7,307
4.277419
0.156129
0.050679
0.027451
0.040121
0.45641
0.41267
0.352338
0.334842
0.334842
0.334842
0
0.019415
0.429041
7,307
194
120
37.664948
0.775168
0.246476
0
0.5
0
0
0.021698
0
0
0
0
0
0
1
0.108974
false
0.051282
0.012821
0.089744
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30f4c364d239c92dad7ebff226ac6b3961010b30
404
py
Python
tests/test_main_router.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
2
2022-03-05T18:54:15.000Z
2022-03-24T12:19:22.000Z
tests/test_main_router.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
null
null
null
tests/test_main_router.py
lokaimoma/Flask-QR-Code-Web-APP
5789753757aa1939119a799cbc6bda023ea75bbc
[ "MIT" ]
null
null
null
# Created by Kelvin_Clark on 3/10/22, 2:45 PM from flask import url_for import pytest @pytest.mark.parametrize(argnames='path', argvalues=["/app/", "/app/generateQrCode/"]) def test_login_required(test_client, path): with test_client: response = test_client.get(path) assert response.status_code ==...
33.666667
86
0.720297
58
404
4.844828
0.706897
0.106762
0
0
0
0
0
0
0
0
0
0.032258
0.155941
404
11
87
36.727273
0.791789
0.106436
0
0
1
0
0.147632
0
0
0
0
0
0.25
1
0.125
false
0
0.25
0
0.375
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
30f52f3a28f1290b78645729228f096c535a30b8
1,150
py
Python
pydemic/memories.py
Catastropha/pydemic
b5d984d8b500586f6ea13e5435c8904b9d1b57a4
[ "MIT" ]
3
2019-10-12T12:04:09.000Z
2021-01-24T06:21:54.000Z
pydemic/memories.py
Catastropha/pydemic
b5d984d8b500586f6ea13e5435c8904b9d1b57a4
[ "MIT" ]
null
null
null
pydemic/memories.py
Catastropha/pydemic
b5d984d8b500586f6ea13e5435c8904b9d1b57a4
[ "MIT" ]
3
2021-02-19T10:21:45.000Z
2022-03-18T05:47:43.000Z
class Memory: """Fixed-size buffer to store (score, object) tuples""" def __init__(self, memory_size: int = 1, ): """Initialize a MemoryBuffer object""" self.memory_size = memory_size self.memory = [] def add(self, score: float, ...
25
59
0.438261
131
1,150
3.770992
0.351145
0.242915
0.11336
0.080972
0.234818
0.161943
0.161943
0.161943
0.161943
0.161943
0
0.012384
0.438261
1,150
45
60
25.555556
0.752322
0.133043
0
0.181818
0
0
0
0
0
0
0
0
0
1
0.151515
false
0
0
0
0.242424
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
30f5a14964bad3d3aa6eb68ce670513680c3c3b3
353
py
Python
demos/ch4_files/basic_text_file.py
mikeckennedy/python_workshop_demos_april_2018
bf477ff056b8d62a80dbe6fd2510072f61fa9ffc
[ "MIT" ]
1
2020-12-19T08:07:42.000Z
2020-12-19T08:07:42.000Z
demos/ch4_files/basic_text_file.py
mikeckennedy/python_workshop_demos_april_2018
bf477ff056b8d62a80dbe6fd2510072f61fa9ffc
[ "MIT" ]
null
null
null
demos/ch4_files/basic_text_file.py
mikeckennedy/python_workshop_demos_april_2018
bf477ff056b8d62a80dbe6fd2510072f61fa9ffc
[ "MIT" ]
1
2020-12-19T08:07:39.000Z
2020-12-19T08:07:39.000Z
from models import Notebook, TextNote, VideoNote bio = Notebook("Bio 201 Notes") bio.notes.append(TextNote("This is the first day of Bio 201")) bio.notes.append(TextNote("Final exam is 95%.")) bio.notes.append(VideoNote("https://www.youtube.com/watch?v=PKffm2uI4dk")) bio.display() bio.save("bio201.txt") bio.load("bi...
25.214286
74
0.736544
56
353
4.625
0.607143
0.092664
0.162162
0.169884
0
0
0
0
0
0
0
0.049844
0.090652
353
13
75
27.153846
0.757009
0
0
0
0
0
0.356941
0
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.111111
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
30f715133e5500e1f71ef8914d81dfda73542dd8
518
py
Python
src/__init__.py
molsonkiko/json_tabularize
71ad5c47605c123bce27d2263d9975fcc1f378c4
[ "MIT" ]
null
null
null
src/__init__.py
molsonkiko/json_tabularize
71ad5c47605c123bce27d2263d9975fcc1f378c4
[ "MIT" ]
null
null
null
src/__init__.py
molsonkiko/json_tabularize
71ad5c47605c123bce27d2263d9975fcc1f378c4
[ "MIT" ]
null
null
null
''' An unusually powerful algorithm for converting JSON into a tabular format, which is defined as an array of flat (all scalar values) objects. Every algorithm I've seen for making JSON into a table can't fully normalize very deeply nested JSON, but instead produces partially normalized JSON where some rows in the re...
51.8
221
0.781853
80
518
4.9125
0.7875
0.040712
0.045802
0.137405
0.152672
0
0
0
0
0
0
0.006803
0.148649
518
10
222
51.8
0.884354
0.700772
0
0
0
0
0.277027
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
30fe5895a425b2e143ec70f08979e5f064f35103
800
py
Python
calibration-tools/wiringpi_setpwm.py
mrwunderbar666/rpi-vumonitor-python
47e80b2811e513b9011b9ba8d0f1b1ab2c87c915
[ "MIT" ]
2
2017-10-15T23:21:48.000Z
2020-02-17T07:09:37.000Z
calibration-tools/wiringpi_setpwm.py
mrwunderbar666/rpi-vumonitor-python
47e80b2811e513b9011b9ba8d0f1b1ab2c87c915
[ "MIT" ]
null
null
null
calibration-tools/wiringpi_setpwm.py
mrwunderbar666/rpi-vumonitor-python
47e80b2811e513b9011b9ba8d0f1b1ab2c87c915
[ "MIT" ]
2
2020-02-17T07:09:40.000Z
2021-05-17T19:32:07.000Z
#!/usr/bin/python """ == VU Meter Calibration Toolkit == ==== Pulse Width Modulation and WiringPi GPIO Library ==== Hardware PWM Manually set the PWM Value and calibrate your output! Requires: - Wiring Pi MIT License """ from __future__ import division import wiringpi import time """ Configure your pin here ...
17.391304
70
0.71375
112
800
4.928571
0.580357
0.054348
0.086957
0.11413
0.217391
0.09058
0
0
0
0
0
0.012346
0.19
800
45
71
17.777778
0.839506
0.35375
0
0.117647
0
0
0.084211
0
0
0
0
0
0
1
0
false
0.058824
0.176471
0
0.176471
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
30ff539fec39670288649350e3a57021509a0160
435
py
Python
src/openprocurement/tender/openeu/procedure/models/document.py
ProzorroUKR/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
10
2020-02-18T01:56:21.000Z
2022-03-28T00:32:57.000Z
src/openprocurement/tender/openeu/procedure/models/document.py
quintagroup/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
26
2018-07-16T09:30:44.000Z
2021-02-02T17:51:30.000Z
src/openprocurement/tender/openeu/procedure/models/document.py
ProzorroUKR/openprocurement.api
2855a99aa8738fb832ee0dbad4e9590bd3643511
[ "Apache-2.0" ]
15
2019-08-08T10:50:47.000Z
2022-02-05T14:13:36.000Z
from openprocurement.tender.openua.procedure.models.document import ( PostDocument as BasePostDocument, PatchDocument as BasePatchDocument, Document as BaseDocument, ) from schematics.types import StringType class PostDocument(BasePostDocument): language = StringType(required=True, choices=["uk", "en"...
22.894737
82
0.763218
43
435
7.72093
0.627907
0
0
0
0
0
0
0
0
0
0
0
0.144828
435
18
83
24.166667
0.892473
0
0
0.166667
0
0
0.018391
0
0
0
0
0
0
1
0
false
0.166667
0.166667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a500e17f2a0d34915ae6b22ae03f8cee04c92e9a
968
py
Python
covid-survive-master/player.py
brunouni/HealthPub
0da1ff714474023247bdcc8f36d3a7bc64b432b2
[ "MIT" ]
null
null
null
covid-survive-master/player.py
brunouni/HealthPub
0da1ff714474023247bdcc8f36d3a7bc64b432b2
[ "MIT" ]
null
null
null
covid-survive-master/player.py
brunouni/HealthPub
0da1ff714474023247bdcc8f36d3a7bc64b432b2
[ "MIT" ]
null
null
null
import pygame class Player(pygame.sprite.Sprite): def __init__(self, *groups): super().__init__(*groups) self.image = pygame.image.load("img/baixo1.png") self.image = pygame.transform.scale(self.image, [45, 45]) self.rect = pygame.Rect(540, 360, 45, 45) self.spee...
29.333333
66
0.530992
127
968
3.944882
0.362205
0.207585
0.087824
0.101796
0.233533
0.179641
0.131737
0.131737
0.131737
0
0
0.062992
0.344008
968
32
67
30.25
0.725984
0
0
0
0
0
0.014957
0
0
0
0
0
0
1
0.076923
false
0
0.038462
0
0.153846
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
a5040ff71b8852b52dbd7d0fd000965fb12fc278
631
py
Python
src/pyf/aggregator/plugins/version.py
collective/pyf.aggregator
f64b06e5f10dc7aa097317c63c510148b0c0705c
[ "Apache-2.0" ]
null
null
null
src/pyf/aggregator/plugins/version.py
collective/pyf.aggregator
f64b06e5f10dc7aa097317c63c510148b0c0705c
[ "Apache-2.0" ]
null
null
null
src/pyf/aggregator/plugins/version.py
collective/pyf.aggregator
f64b06e5f10dc7aa097317c63c510148b0c0705c
[ "Apache-2.0" ]
null
null
null
from pkg_resources import parse_version def process_version(identifier, data): # parse version to test against: data["version_raw"] = data["version"] try: version = parse_version(data["version"]) except TypeError: return try: parts = version.base_version.split(".") ...
26.291667
48
0.619651
74
631
5.121622
0.472973
0.203166
0
0
0
0
0
0
0
0
0
0.012658
0.248811
631
23
49
27.434783
0.78692
0.047544
0
0.222222
0
0
0.136895
0
0
0
0
0
0
1
0.111111
false
0
0.055556
0.055556
0.333333
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
a50ab39700a18fed3878122338490852a0dd3175
161
py
Python
backend/animal_config.py
PH-P-H/flask-object-detection
c659cd7b17457ed27e835c56d6000a6e61eded64
[ "MIT" ]
null
null
null
backend/animal_config.py
PH-P-H/flask-object-detection
c659cd7b17457ed27e835c56d6000a6e61eded64
[ "MIT" ]
null
null
null
backend/animal_config.py
PH-P-H/flask-object-detection
c659cd7b17457ed27e835c56d6000a6e61eded64
[ "MIT" ]
null
null
null
category_index = {1: 'brown_bear', 2: 'cattle', 3: 'deer', 4: 'dog', 5: 'horse', 6: 'lynx', 7: 'mule', 8: 'pig', 9:'raccoon', 10: 'sheep', 11: 'tiger'}
14.636364
35
0.515528
25
161
3.24
1
0
0
0
0
0
0
0
0
0
0
0.100775
0.198758
161
11
36
14.636364
0.527132
0
0
0
0
0
0.345679
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
a50e1edbc2bc90e18db557406eff05e25331cefe
2,634
py
Python
deploy-kanboard.py
r4jeshwar/python-kanboard-deploy
125bde2f815eeb40f9620d4fb0ad9a4c61f0cc46
[ "MIT" ]
null
null
null
deploy-kanboard.py
r4jeshwar/python-kanboard-deploy
125bde2f815eeb40f9620d4fb0ad9a4c61f0cc46
[ "MIT" ]
null
null
null
deploy-kanboard.py
r4jeshwar/python-kanboard-deploy
125bde2f815eeb40f9620d4fb0ad9a4c61f0cc46
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import subprocess as sp def system_update(): sp.call(["sudo", "apt-get","update"]) sp.call(["sudo", "apt", "upgrade", "-y"]) def install_apache_php(): sp.call(["sudo", "apt", "install", "-y", "apache2", "libapache2-mod-php", "php-cli", "php-mbstring", "php-sqlite3", "php-opcache",...
39.909091
206
0.6082
353
2,634
4.447592
0.351275
0.09172
0.089172
0.06879
0.36051
0.249682
0.187261
0.153503
0.066242
0.066242
0
0.004827
0.134776
2,634
65
207
40.523077
0.684072
0.007973
0
0
0
0.022222
0.500192
0.140176
0
0
0
0
0
1
0.133333
false
0.088889
0.022222
0
0.155556
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
a5102c7052774abb3a9414df49e3a142d5e0f49a
1,321
py
Python
last_seen/migrations/0001_initial.py
Jafte/jasn.ru
09d2945825c5bbfa2896c4acfc30acb6138c9ac9
[ "MIT" ]
null
null
null
last_seen/migrations/0001_initial.py
Jafte/jasn.ru
09d2945825c5bbfa2896c4acfc30acb6138c9ac9
[ "MIT" ]
4
2021-06-04T21:30:01.000Z
2021-09-22T17:39:12.000Z
last_seen/migrations/0001_initial.py
Jafte/jasn.ru
09d2945825c5bbfa2896c4acfc30acb6138c9ac9
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.2 on 2016-10-13 00:15 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django.utils.timezone class Migration(migrations.Migration): initial = True depe...
33.871795
118
0.614686
138
1,321
5.724638
0.550725
0.040506
0.053165
0.083544
0.139241
0.139241
0.139241
0.139241
0.139241
0.139241
0
0.023232
0.250568
1,321
38
119
34.763158
0.774747
0.051476
0
0.066667
1
0
0.0968
0.0192
0
0
0
0
0
1
0
false
0
0.166667
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
a511e4f73ea7790ceb31933b5ebf61cc5f804db2
705
py
Python
stackable/contrib/config/conf_model_l10n.py
productaize/stackable
1172d255bfbf79a65a9509c04f470f1049d748bf
[ "MIT" ]
1
2017-10-19T09:21:54.000Z
2017-10-19T09:21:54.000Z
stackable/contrib/config/conf_model_l10n.py
productaize/stackable
1172d255bfbf79a65a9509c04f470f1049d748bf
[ "MIT" ]
1
2017-10-28T17:51:36.000Z
2017-10-28T17:51:36.000Z
stackable/contrib/config/conf_model_l10n.py
miraculixx/stackable
e21787077e004879a0a1f6fe46be61289794d8db
[ "MIT" ]
null
null
null
''' Created on Jan 13, 2015 @author: patrick ''' from stackable.stackable import StackableSettings class Config_ModelTranslation(object): # http://django-modeltranslation.readthedocs.org/en/latest/installation.html#setup USE_I18N = True MODELTRANSLATION_DEFAULT_LANGUAGE = 'en' _apps_ = ( 'mod...
30.652174
105
0.692199
72
705
6.541667
0.75
0
0
0
0
0
0
0
0
0
0
0.017825
0.204255
705
22
106
32.045455
0.821747
0.394326
0
0
0
0
0.091346
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eb4958e803a36a1d67ad1d4aa84bd7f05d88dad9
932
py
Python
stationery/migrations/0005_auto_20210713_1022.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
1
2022-02-17T19:13:40.000Z
2022-02-17T19:13:40.000Z
stationery/migrations/0005_auto_20210713_1022.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
stationery/migrations/0005_auto_20210713_1022.py
shaxpakistan/e-stationery
00c7027f74e9f0e90247e44d9dbd86203cd9dbb4
[ "CC0-1.0" ]
null
null
null
# Generated by Django 3.1.4 on 2021-07-13 07:22 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('stationery', '0004_auto_20210710_0307'), ] operations = [ migrations.DeleteModel( name='Document', ), migrations...
26.628571
74
0.570815
88
932
5.886364
0.556818
0.104247
0.133205
0.156371
0.393822
0.393822
0.235521
0.235521
0.235521
0.235521
0
0.063091
0.319742
932
34
75
27.411765
0.753943
0.048283
0
0.464286
1
0
0.118644
0.025989
0
0
0
0
0
1
0
false
0
0.035714
0
0.142857
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
eb499a4872c9e5dc1337a58322f0988f8aea83ed
583
py
Python
raiutils/raiutils/models/model_utils.py
imatiach-msft/responsible-ai-toolbox
aa62536afa295c1883c7d4b016ba00ab93f33e63
[ "MIT" ]
null
null
null
raiutils/raiutils/models/model_utils.py
imatiach-msft/responsible-ai-toolbox
aa62536afa295c1883c7d4b016ba00ab93f33e63
[ "MIT" ]
null
null
null
raiutils/raiutils/models/model_utils.py
imatiach-msft/responsible-ai-toolbox
aa62536afa295c1883c7d4b016ba00ab93f33e63
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation # Licensed under the MIT License. class SKLearn(object): """Provide scikit-learn related constants.""" EXAMPLES = 'examples' LABELS = 'labels' PREDICT = 'predict' PREDICTIONS = 'predictions' PREDICT_PROBA = 'predict_proba' def is_classifier(model): ...
24.291667
64
0.665523
70
583
5.471429
0.557143
0.125326
0.052219
0.062663
0.120104
0.120104
0
0
0
0
0
0
0.241852
583
23
65
25.347826
0.866516
0.375643
0
0
0
0
0.132743
0
0
0
0
0
0
1
0.1
false
0
0
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
eb4c4a235ffeae48e229093bd942b77def3f0afe
1,701
py
Python
models/gitm/python/plot_data_2d.py
hkershaw-brown/feature-preprocess
fe2bd77b38c63fa0566c83ebc4d2fac1623aef66
[ "Apache-2.0" ]
65
2019-10-16T13:31:06.000Z
2022-03-14T11:52:58.000Z
models/gitm/python/plot_data_2d.py
hkershaw-brown/feature-preprocess
fe2bd77b38c63fa0566c83ebc4d2fac1623aef66
[ "Apache-2.0" ]
283
2019-09-23T15:48:34.000Z
2022-03-31T21:44:41.000Z
models/gitm/python/plot_data_2d.py
hkershaw-brown/feature-preprocess
fe2bd77b38c63fa0566c83ebc4d2fac1623aef66
[ "Apache-2.0" ]
67
2019-09-19T22:13:24.000Z
2022-03-20T15:58:26.000Z
#plot difference al = 0.5 #transparency #vi,va = 0,max(VtecED[:,:,-1].flatten()) #specify zlim and colorlimits vi, va = 0., 20. #levels = np.arange(vi,va) f = open('map.txt', 'r'); elev = np.array(map(int, f.read().split())).reshape((360, 180)).T; f.close() #load the Earth map for ti in range(len(tcommon)): #sorted(tco...
34.714286
122
0.633745
286
1,701
3.72028
0.573427
0.037594
0.042293
0
0
0
0
0
0
0
0
0.051994
0.174603
1,701
48
123
35.4375
0.70584
0.27866
0
0
0
0
0.082363
0
0
0
0
0
0
0
null
null
0
0
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
eb525499caa358dc3980d3d11fa2c47124722c0d
1,228
py
Python
src/apps/authentication/backends.py
snicoper/snicoper.com
22c17b5ead6096227a3415770c0cbd2923f2f14a
[ "MIT" ]
2
2017-04-22T11:35:21.000Z
2017-09-01T19:49:59.000Z
src/apps/authentication/backends.py
snicoper/snicoper.com
22c17b5ead6096227a3415770c0cbd2923f2f14a
[ "MIT" ]
null
null
null
src/apps/authentication/backends.py
snicoper/snicoper.com
22c17b5ead6096227a3415770c0cbd2923f2f14a
[ "MIT" ]
null
null
null
from django.contrib.auth import get_user_model from django.contrib.auth.backends import ModelBackend from django.db.models import Q from . import settings as auth_settings UserModel = get_user_model() class EmailOrUsernameModelBackend(ModelBackend): def authenticate(self, request, username=None, password=None,...
33.189189
85
0.624593
133
1,228
5.631579
0.428571
0.053405
0.045394
0.056075
0
0
0
0
0
0
0
0
0.29886
1,228
36
86
34.111111
0.869919
0.200326
0
0
0
0
0.013058
0
0
0
0
0
0
1
0.047619
false
0.142857
0.190476
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eb559df539ca2ebf02b69f4caf0d5fc6cb9b3398
277
py
Python
apps/account/migrations/0008_merge_20211016_0545.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
1
2021-11-13T10:52:08.000Z
2021-11-13T10:52:08.000Z
apps/account/migrations/0008_merge_20211016_0545.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
1
2021-11-13T04:25:00.000Z
2021-11-13T04:25:00.000Z
apps/account/migrations/0008_merge_20211016_0545.py
mobius-labs/app
bdf8226d8b16cea609a7af01be51c9bd4b867ab3
[ "MIT" ]
null
null
null
# Generated by Django 3.2.6 on 2021-10-16 05:45 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('account', '0006_user_business_card_theme'), ('account', '0007_alter_user_email'), ] operations = [ ]
18.466667
53
0.65343
34
277
5.117647
0.852941
0
0
0
0
0
0
0
0
0
0
0.107477
0.227437
277
14
54
19.785714
0.705607
0.162455
0
0
1
0
0.278261
0.217391
0
0
0
0
0
1
0
false
0
0.125
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb5b36bff77fae3a37d1c5b9d725c8df72c99288
1,001
py
Python
GetInfo.py
XarisA/nethack
b5622286679cc0d337270b3c7fcb9f36885ed80f
[ "MIT" ]
null
null
null
GetInfo.py
XarisA/nethack
b5622286679cc0d337270b3c7fcb9f36885ed80f
[ "MIT" ]
null
null
null
GetInfo.py
XarisA/nethack
b5622286679cc0d337270b3c7fcb9f36885ed80f
[ "MIT" ]
null
null
null
#!/usr/bin/env python import os from socket import * import dns.resolver import dns.reversename # TODO Pass arguments from terminal def reach_host(hostname,arguments='-c 1'): # Pinging the host print ('[+] Pinging ' + hostname) if os.system("ping " + arguments + ' '+ hostname) == 0: print ("Host ...
25.025
74
0.66034
129
1,001
5.023256
0.527132
0.055556
0.052469
0
0
0
0
0
0
0
0
0.005076
0.212787
1,001
39
75
25.666667
0.817259
0.106893
0
0
0
0
0.224719
0
0
0
0
0.025641
0
1
0.153846
false
0
0.153846
0
0.307692
0.307692
0
0
0
null
0
0
0
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
eb5e7d3d4a728b9a361f920aac6388720ab2f87f
1,321
py
Python
moona/http/request_headers.py
katunilya/mona
8f44a9e06910466afbc9b2bcfb42144dcd25ed5a
[ "MIT" ]
2
2022-03-26T15:27:31.000Z
2022-03-28T22:00:32.000Z
moona/http/request_headers.py
katunilya/mona
8f44a9e06910466afbc9b2bcfb42144dcd25ed5a
[ "MIT" ]
null
null
null
moona/http/request_headers.py
katunilya/mona
8f44a9e06910466afbc9b2bcfb42144dcd25ed5a
[ "MIT" ]
null
null
null
from logging.handlers import HTTPHandler from pymon import Future from moona.http.context import HTTPContext from moona.http.handlers import HTTPFunc, handler, skip def has_header(name: str) -> HTTPHandler: """Processes next `HTTPFunc` only when request has passed header. Args: name (str): to check...
27.520833
82
0.623013
162
1,321
4.987654
0.339506
0.034653
0.037129
0.066832
0.485149
0.440594
0.440594
0.376238
0.376238
0.24505
0
0.003138
0.276306
1,321
47
83
28.106383
0.84205
0.222559
0
0.48
0
0
0.015275
0
0
0
0
0
0
1
0.16
false
0
0.16
0
0.56
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
eb5f5f503f31d62bf8ad61d312ba78e4cab65b57
3,993
py
Python
tests/unit/logs/metadata_engine/entity_id/test_me_id.py
dt-be/dynatrace-aws-log-forwarder
36cc193fc5caccb1966785a4d6756e12d0b08e23
[ "Apache-2.0" ]
null
null
null
tests/unit/logs/metadata_engine/entity_id/test_me_id.py
dt-be/dynatrace-aws-log-forwarder
36cc193fc5caccb1966785a4d6756e12d0b08e23
[ "Apache-2.0" ]
null
null
null
tests/unit/logs/metadata_engine/entity_id/test_me_id.py
dt-be/dynatrace-aws-log-forwarder
36cc193fc5caccb1966785a4d6756e12d0b08e23
[ "Apache-2.0" ]
null
null
null
# Copyright 2021 Dynatrace LLC # # 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 t...
48.108434
165
0.755823
530
3,993
5.367925
0.283019
0.018278
0.037961
0.048506
0.43761
0.405624
0.355009
0.335325
0.301582
0.224253
0
0.085856
0.139494
3,993
82
166
48.695122
0.742142
0.142249
0
0.115385
0
0.019231
0.267234
0.141097
0
0
0.005867
0
0.461538
1
0.076923
false
0
0.038462
0
0.115385
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
eb6409b333eaaf55d7d79385111ec2794aa2df9d
978
py
Python
setup.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
7
2020-03-31T02:55:05.000Z
2022-03-25T21:51:05.000Z
setup.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
65
2020-03-30T19:40:43.000Z
2022-03-18T20:21:38.000Z
setup.py
Flowdalic/nattka
0f85e8f9a7b3cd1481f14d8257a07dc5ee9e4f8a
[ "BSD-2-Clause" ]
4
2020-04-25T03:19:24.000Z
2022-02-28T18:10:41.000Z
#!/usr/bin/env python # (c) 2020 Michał Górny # 2-clause BSD license from setuptools import setup from nattka import __version__ setup( name='nattka', version=__version__, description='A New Arch Tester Toolkit (open source replacement ' 'for stable-bot)', author='Michał Górny', ...
25.076923
69
0.607362
98
978
5.897959
0.72449
0.038062
0
0
0
0
0
0
0
0
0
0.009682
0.260736
978
38
70
25.736842
0.789765
0.064417
0
0
0
0
0.532895
0.041667
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
eb6daa9e3a87e3bc39cec544c58286cfaaff2190
1,406
py
Python
optimum/onnxruntime/preprocessors/passes/fully_connected.py
techthiyanes/optimum
50cf2468903596f580102a484e50ce87b74fe4a5
[ "Apache-2.0" ]
414
2021-09-14T11:39:36.000Z
2022-03-31T19:10:45.000Z
optimum/onnxruntime/preprocessors/passes/fully_connected.py
techthiyanes/optimum
50cf2468903596f580102a484e50ce87b74fe4a5
[ "Apache-2.0" ]
49
2021-09-14T11:29:52.000Z
2022-03-31T14:02:34.000Z
optimum/onnxruntime/preprocessors/passes/fully_connected.py
techthiyanes/optimum
50cf2468903596f580102a484e50ce87b74fe4a5
[ "Apache-2.0" ]
29
2021-09-15T01:51:54.000Z
2022-03-23T08:20:17.000Z
# Copyright 2022 The HuggingFace Team. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by app...
41.352941
89
0.721906
192
1,406
5.125
0.5625
0.060976
0.026423
0.03252
0
0
0
0
0
0
0
0.008029
0.202703
1,406
33
90
42.606061
0.869759
0.418208
0
0
0
0
0.011208
0
0
0
0
0
0
1
0.125
false
0.125
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eb728b429413db5cdfa9a805dd264088190ac854
743
py
Python
exam/migrations/0005_alter_marks_marks_mx_alter_marks_marks_ob.py
HarshNarayanJha/School-Management-Project
7a3f8c195d44241cd77ef6b4774afbdd5aae7943
[ "MIT" ]
2
2022-03-10T09:40:00.000Z
2022-03-15T12:43:58.000Z
exam/migrations/0005_alter_marks_marks_mx_alter_marks_marks_ob.py
HarshNarayanJha/School-Management-Project
7a3f8c195d44241cd77ef6b4774afbdd5aae7943
[ "MIT" ]
1
2022-01-31T04:07:16.000Z
2022-01-31T04:07:16.000Z
exam/migrations/0005_alter_marks_marks_mx_alter_marks_marks_ob.py
HarshNarayanJha/School-Management-Project
7a3f8c195d44241cd77ef6b4774afbdd5aae7943
[ "MIT" ]
1
2022-01-30T12:49:26.000Z
2022-01-30T12:49:26.000Z
# Generated by Django 4.0.1 on 2022-03-15 04:15 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('exam', '0004_remove_exam_name_exam_exam_name_alter_exam_cls_and_more'), ] operations = [ migrations.AlterField( model_name='mark...
30.958333
135
0.641992
89
743
5.146067
0.516854
0.098253
0.10917
0.126638
0.497817
0.497817
0.497817
0
0
0
0
0.033989
0.247645
743
23
136
32.304348
0.785331
0.060565
0
0.352941
1
0
0.25
0.086207
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb736ac49eb7f8597fed2bcfbab8b1f810d3b7b3
823
py
Python
test/unit/test_xlwtwrapper.py
muchu1983/104_mops
9530fee6999b7536cb5550d7be4c94baf186b19b
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_xlwtwrapper.py
muchu1983/104_mops
9530fee6999b7536cb5550d7be4c94baf186b19b
[ "BSD-3-Clause" ]
null
null
null
test/unit/test_xlwtwrapper.py
muchu1983/104_mops
9530fee6999b7536cb5550d7be4c94baf186b19b
[ "BSD-3-Clause" ]
null
null
null
""" Copyright (C) 2015, MuChu Hsu Contributed by Muchu Hsu (muchu1983@gmail.com) This file is part of BSD license <https://opensource.org/licenses/BSD-3-Clause> """ import unittest import logging import time from mops.xlwtwrapper import XlwtWrapper """ 測試 excel 寫入 """ class XlwtWrapperTest(unittest.TestCase): #...
20.073171
98
0.639125
97
823
5.319588
0.71134
0.031008
0
0
0
0
0
0
0
0
0
0.047393
0.230863
823
40
99
20.575
0.767773
0.210207
0
0.111111
0
0
0.11165
0.050162
0
0
0
0
0
1
0.166667
false
0.111111
0.222222
0
0.444444
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
eb7428721c6e606a2781dd8fbed7532dcc0b1130
2,230
py
Python
v1/music/views/album.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
null
null
null
v1/music/views/album.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
3
2020-06-05T21:24:34.000Z
2022-03-11T23:50:26.000Z
v1/music/views/album.py
lawiz22/PLOUC-Backend-master
b93fa2fea8d45df9f19c3c58037e59dad4981921
[ "MIT" ]
null
null
null
from django.shortcuts import get_object_or_404 from rest_framework import status from rest_framework.response import Response from rest_framework.views import APIView from v1.filters.albums.album import album_filter from v1.music.models.album import Album from v1.music.serializers.album import AlbumSerializer, AlbumSer...
30.135135
121
0.671749
241
2,230
6.053942
0.286307
0.076765
0.054832
0.038382
0.357779
0.27279
0.223441
0.223441
0.159013
0.159013
0
0.017626
0.236771
2,230
73
122
30.547945
0.8396
0.043946
0
0.333333
0
0
0.006948
0
0
0
0
0
0
1
0.119048
false
0
0.166667
0
0.547619
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
eb7f951eb5d9ee95d609937c971a80810f39a295
4,272
py
Python
tests/unit/metrics_tests/test_object_keypoint_similarity.py
Joeper214/blueoil
5aeb6634770011753b8d5ae283b91b7a0050101e
[ "Apache-2.0" ]
248
2018-10-19T01:48:42.000Z
2022-01-31T02:34:24.000Z
tests/unit/metrics_tests/test_object_keypoint_similarity.py
Joeper214/blueoil
5aeb6634770011753b8d5ae283b91b7a0050101e
[ "Apache-2.0" ]
1,102
2018-10-19T04:50:34.000Z
2021-08-02T04:22:10.000Z
tests/unit/metrics_tests/test_object_keypoint_similarity.py
Joeper214/blueoil
5aeb6634770011753b8d5ae283b91b7a0050101e
[ "Apache-2.0" ]
110
2018-10-19T01:49:02.000Z
2022-01-31T02:34:26.000Z
# -*- coding: utf-8 -*- # Copyright 2018 The Blueoil Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unles...
23.60221
103
0.622659
680
4,272
3.701471
0.183824
0.147
0.060787
0.043703
0.632896
0.562972
0.555026
0.541915
0.541915
0.541915
0
0.115314
0.238764
4,272
180
104
23.733333
0.658672
0.183755
0
0.705882
0
0
0.008083
0
0
0
0
0
0.04902
1
0.019608
false
0.009804
0.029412
0
0.04902
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb857bce5813a000390b4c7a5b5e442f508a747a
2,833
py
Python
Project Code 1.0/Power of soldiers/power_of_soldiers.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
2
2020-06-25T21:10:32.000Z
2020-12-10T06:53:45.000Z
Project Code 1.0/Power of soldiers/power_of_soldiers.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
null
null
null
Project Code 1.0/Power of soldiers/power_of_soldiers.py
mishrakeshav/Competitive-Programming
b25dcfeec0fb9a9c71bf3a05644b619f4ca83dd2
[ "MIT" ]
3
2020-05-15T14:17:09.000Z
2021-07-25T13:18:20.000Z
import math from collections import deque class Vertex: def __init__(self, val): self.val = val self.connections = dict() self.visited = False self.previous = None def setVisited(self, visited): self.visited = visited def setPrevious(self, val): self.previ...
22.846774
45
0.544299
345
2,833
4.35942
0.226087
0.043218
0.023936
0.053191
0.253324
0.253324
0.176197
0.176197
0.176197
0.148271
0
0.001631
0.350865
2,833
123
46
23.03252
0.816204
0
0
0.255319
0
0
0.004589
0
0
0
0
0
0
1
0.212766
false
0
0.021277
0.085106
0.404255
0.031915
0
0
0
null
0
0
0
0
0
0
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
eb90e87319b470b65e3b7872c799238eb09b5c84
6,898
py
Python
lambo/acquisitions/monte_carlo.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
10
2022-03-25T09:05:33.000Z
2022-03-29T17:02:03.000Z
lambo/acquisitions/monte_carlo.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
null
null
null
lambo/acquisitions/monte_carlo.py
samuelstanton/lambo
7b67684b884f75f7007501978c5299514d0efb75
[ "Apache-2.0" ]
1
2022-03-26T16:38:44.000Z
2022-03-26T16:38:44.000Z
from numpy import array, copy, concatenate from torch import Tensor from botorch.acquisition.multi_objective.monte_carlo import ( qExpectedHypervolumeImprovement, qNoisyExpectedHypervolumeImprovement ) from botorch.posteriors import GPyTorchPosterior, Posterior, DeterministicPosterior from gpytorch.distributions im...
41.554217
115
0.608437
772
6,898
5.207254
0.274611
0.049254
0.031343
0.019403
0.15597
0.106468
0.059701
0.059701
0
0
0
0.006128
0.314004
6,898
165
116
41.806061
0.843407
0.204552
0
0.091667
0
0
0.002957
0
0
0
0
0.012121
0
1
0.05
false
0
0.058333
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
eb90fbcdc2b906b181e93fd40bf6011e5a15e176
11,432
py
Python
tessia/server/auth/ldap.py
tessia-project/tessia
b9ded8dc7f0b9a7a0ea00d95b5ccc4af4d2e7540
[ "Apache-2.0" ]
5
2020-06-04T10:20:33.000Z
2020-10-26T15:09:19.000Z
tessia/server/auth/ldap.py
tessia-project/tessia
b9ded8dc7f0b9a7a0ea00d95b5ccc4af4d2e7540
[ "Apache-2.0" ]
null
null
null
tessia/server/auth/ldap.py
tessia-project/tessia
b9ded8dc7f0b9a7a0ea00d95b5ccc4af4d2e7540
[ "Apache-2.0" ]
null
null
null
# Copyright 2016, 2017 IBM Corp. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writin...
31.320548
79
0.563768
1,241
11,432
5.042707
0.208703
0.053691
0.021093
0.028124
0.175775
0.121285
0.044423
0.034835
0.019815
0.019815
0
0.004342
0.335199
11,432
364
80
31.406593
0.819079
0.297761
0
0.204545
0
0
0.206233
0.022764
0
0
0
0.002747
0
1
0.039773
false
0.0625
0.028409
0
0.136364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
eb92fd534adecd9c29e1f0c8ba973f8f763dde0a
683
py
Python
set4/ctr_bitflipping.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
set4/ctr_bitflipping.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
set4/ctr_bitflipping.py
adbforlife/cryptopals
18bbc39e73f6a76725e792ec74b29cbcc8868409
[ "MIT" ]
null
null
null
import sys sys.path.append('/Users/ADB/Desktop/ /cryptopals') from cryptotools import * key = generate_key() def enc_oracle(m): m = b''.join(m.split(b';')) m = b''.join(m.split(b'=')) prefix = b'comment1=cooking%20MCs;userdata=' suffix = b';comment2=%20like%20a%20pound%20of%20bacon' plaintext = prefix + m + suff...
24.392857
55
0.660322
110
683
3.909091
0.509091
0.027907
0.027907
0.032558
0.060465
0.060465
0
0
0
0
0
0.039249
0.142021
683
27
56
25.296296
0.694539
0
0
0
1
0
0.208211
0.108504
0
0
0
0
0
1
0.090909
false
0
0.090909
0
0.272727
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eb9ee0ec0a63e564ccbf51a09e97c550222ed1a5
1,292
py
Python
wpoke/fingers/theme/models.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
4
2019-08-19T12:32:40.000Z
2019-10-25T20:57:29.000Z
wpoke/fingers/theme/models.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
15
2019-07-15T18:30:43.000Z
2020-09-25T08:10:05.000Z
wpoke/fingers/theme/models.py
sonirico/wpoke
be193a41159dabf912d793eb5a6ebf2f0e9440bb
[ "MIT" ]
null
null
null
from dataclasses import dataclass from typing import List, AnyStr @dataclass class WPThemeModelDisplay: theme_name: AnyStr = "Theme Name" theme_uri: AnyStr = "Theme URI" description: AnyStr = "Description" author: AnyStr = "Author" author_uri: AnyStr = "Author URI" version: AnyStr = "Version" ...
26.916667
59
0.664861
154
1,292
5.38961
0.279221
0.168675
0.046988
0
0
0
0
0
0
0
0
0
0.245356
1,292
47
60
27.489362
0.851282
0
0
0.05
0
0
0.093653
0
0
0
0
0
0
1
0.075
false
0
0.05
0
0.85
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
eb9ff8f661b3a51466c5fa67b1f50f290615f16f
9,789
py
Python
utils.py
cartologic/cartoview_story_map
c3a01599b8c6ed42ee0e153db9e5388d8b208007
[ "BSD-2-Clause" ]
1
2017-12-04T12:01:04.000Z
2017-12-04T12:01:04.000Z
utils.py
cartologic/cartoview_story_map
c3a01599b8c6ed42ee0e153db9e5388d8b208007
[ "BSD-2-Clause" ]
53
2017-11-12T10:16:12.000Z
2018-07-11T10:33:45.000Z
utils.py
cartologic/cartoview_story_map
c3a01599b8c6ed42ee0e153db9e5388d8b208007
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- ######################################################################### # # Copyright (C) 2017 OSGeo # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 ...
35.726277
310
0.628461
1,176
9,789
5.106293
0.27551
0.015987
0.022648
0.018984
0.168193
0.125229
0.09259
0.068276
0.032306
0
0
0.009816
0.24027
9,789
273
311
35.857143
0.797633
0.13413
0
0.093168
0
0.006211
0.215489
0.06571
0
0
0
0.007326
0.006211
0
null
null
0.031056
0.080745
null
null
0.055901
0
0
0
null
0
0
0
0
0
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
eba28617119480990abf2246c703cf38ac8f4d74
2,783
py
Python
test/test_crypto.py
eXhumer/aws-crt-python
2a8070fa6c7a8ac81d4262d550689d94f35098f8
[ "Apache-2.0" ]
48
2018-12-07T21:47:25.000Z
2022-03-20T05:49:57.000Z
test/test_crypto.py
eXhumer/aws-crt-python
2a8070fa6c7a8ac81d4262d550689d94f35098f8
[ "Apache-2.0" ]
99
2018-12-11T19:03:30.000Z
2022-03-27T07:03:32.000Z
test/test_crypto.py
eXhumer/aws-crt-python
2a8070fa6c7a8ac81d4262d550689d94f35098f8
[ "Apache-2.0" ]
27
2019-05-20T18:46:11.000Z
2022-03-24T07:53:55.000Z
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. # SPDX-License-Identifier: Apache-2.0. from test import NativeResourceTest from awscrt.crypto import Hash import unittest class TestCredentials(NativeResourceTest): def test_sha256_empty(self): h = Hash.sha256_new() digest = h...
34.358025
150
0.623069
440
2,783
3.854545
0.354545
0.049528
0.047759
0.111439
0.722877
0.68691
0.642689
0.508255
0.508255
0.485259
0
0.138215
0.214876
2,783
80
151
34.7875
0.637986
0.03701
0
0.714286
0
0.142857
0.314531
0.304819
0
0
0
0
0.142857
1
0.142857
false
0
0.047619
0
0.206349
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
eba76c22292a1fc47eb7324c4300630b8a6eb41c
1,540
py
Python
Dodgeball/Dodgeball2.py
Software-Cat/Python-Mini-Projects
3e8a150758eddfc2b21a5e8c665fd6eca850e55d
[ "MIT" ]
null
null
null
Dodgeball/Dodgeball2.py
Software-Cat/Python-Mini-Projects
3e8a150758eddfc2b21a5e8c665fd6eca850e55d
[ "MIT" ]
null
null
null
Dodgeball/Dodgeball2.py
Software-Cat/Python-Mini-Projects
3e8a150758eddfc2b21a5e8c665fd6eca850e55d
[ "MIT" ]
null
null
null
import pygame import sys def vertical_dashed_line(screen, color, startPos, length, width, dashLength): segments = [] dashes = int(length/dashLength) startY = startPos[1] for i in range(dashes): if i%2 == 0: segments.append([[startPos[0], startY+i*dashLength], [startPos[0], startY+(...
25.245902
105
0.597403
238
1,540
3.827731
0.306723
0.032931
0.026345
0.059276
0.184413
0.184413
0.155873
0.043908
0.043908
0
0
0.149791
0.224026
1,540
60
106
25.666667
0.612552
0.107143
0
0.058824
0
0
0
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0
0.176471
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
eba902dff20d63919c1d11db8eb8bb42a9e1047f
2,082
py
Python
ckanext-hdx_theme/ckanext/hdx_theme/tests/test_actions/test_api_token_create.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
58
2015-01-11T09:05:15.000Z
2022-03-17T23:44:07.000Z
ckanext-hdx_theme/ckanext/hdx_theme/tests/test_actions/test_api_token_create.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
1,467
2015-01-01T16:47:44.000Z
2022-02-28T16:51:20.000Z
ckanext-hdx_theme/ckanext/hdx_theme/tests/test_actions/test_api_token_create.py
OCHA-DAP/hdx-ckan
202e0c44adc4ea8d0b90141e69365b65cce68672
[ "Apache-2.0" ]
17
2015-05-06T14:04:21.000Z
2021-11-11T19:58:16.000Z
import pytest from builtins import str import ckan.model as model import ckan.plugins.toolkit as tk import ckan.tests.factories as factories import ckan.tests.helpers as helpers @pytest.fixture(scope='module') def keep_db_tables_on_clean(): model.repo.tables_created_and_initialised = True @pytest.mark.usefixt...
39.283019
105
0.62488
274
2,082
4.609489
0.277372
0.038005
0.042755
0.061758
0.74426
0.6635
0.61441
0.61441
0.61441
0.61441
0
0.020476
0.272815
2,082
52
106
40.038462
0.813738
0.158501
0
0.388889
0
0
0.11512
0.013173
0
0
0
0
0
1
0.083333
false
0
0.166667
0
0.305556
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
ebad42e054c3e165c7b105e481cb0f55d04a71dc
4,171
py
Python
SPP-loopback.py
mwswartwout/Edison_Android_Communications
496be0a97e1cc1a91eaff45ff7da8749989d4c58
[ "MIT" ]
null
null
null
SPP-loopback.py
mwswartwout/Edison_Android_Communications
496be0a97e1cc1a91eaff45ff7da8749989d4c58
[ "MIT" ]
1
2015-11-04T20:12:36.000Z
2015-11-11T18:24:28.000Z
SPP-loopback.py
mwswartwout/Edison_Android_Communications
496be0a97e1cc1a91eaff45ff7da8749989d4c58
[ "MIT" ]
null
null
null
#!/usr/bin/python from __future__ import absolute_import, print_function, unicode_literals from optparse import OptionParser, make_option import os import sys import socket import uuid import dbus import dbus.service import dbus.mainloop.glib import mraa pinSound = 0 pinMoisture = 1 pinLight = 2 pin...
26.232704
99
0.593383
483
4,171
5.028986
0.335404
0.041169
0.034582
0.032935
0.084809
0.084809
0.084809
0.084809
0.04858
0.04858
0
0.010221
0.272836
4,171
158
100
26.398734
0.790636
0.052026
0
0.089286
0
0
0.137084
0.012942
0
0
0
0
0
0
null
null
0.008929
0.116071
null
null
0.098214
0
0
0
null
0
0
0
0
0
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
ebb009720bf42d61430d7e6e3f583ff53ea49729
352
py
Python
tests/test_map.py
xealits/symbolic-lisp
49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8
[ "MIT" ]
null
null
null
tests/test_map.py
xealits/symbolic-lisp
49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8
[ "MIT" ]
null
null
null
tests/test_map.py
xealits/symbolic-lisp
49ba0fe15c7cfc9f637b7c927232cbd8915d9dd8
[ "MIT" ]
null
null
null
import pytest from sym_lis3 import GlobalEnv def test_map_basic(): g = GlobalEnv() assert list(g.eval_str('(map (lambda (x) (* 2 x)) (list 1 2 3))')) == [2, 4, 6] def test_map_curry(): g = GlobalEnv() g.eval_str('(define "foo" (lambda (x y) (* x y)))') assert list(g.eval_str('(map (curry foo 2...
22
83
0.576705
62
352
3.145161
0.419355
0.076923
0.123077
0.153846
0.317949
0.317949
0.102564
0
0
0
0
0.054745
0.221591
352
15
84
23.466667
0.656934
0
0
0.222222
0
0
0.306818
0
0
0
0
0
0.222222
1
0.222222
false
0
0.222222
0
0.444444
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
ebb0e82e136cc48684247c882b626327822a5fb4
1,597
py
Python
hostel/vlans/migrations/0001_initial.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
null
null
null
hostel/vlans/migrations/0001_initial.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
null
null
null
hostel/vlans/migrations/0001_initial.py
phylocko/hostel
ff9fb7eb2d38e8cbe4feb096a07f0c5cea1a5365
[ "Apache-2.0" ]
1
2020-10-31T17:33:52.000Z
2020-10-31T17:33:52.000Z
# Generated by Django 2.1.5 on 2020-10-17 21:32 from django.db import migrations, models import django.db.models.deletion import hostel.service.variables class Migration(migrations.Migration): initial = True dependencies = [ ('common', '0001_initial'), ] operations = [ migrations.C...
40.948718
146
0.599875
164
1,597
5.719512
0.47561
0.063966
0.070362
0.046908
0.328358
0.185501
0.115139
0.115139
0
0
0
0.024514
0.259236
1,597
38
147
42.026316
0.768385
0.028178
0
0
1
0
0.099355
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.225806
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
ebb2d973e2a7037ff0dcd4950217360446d119da
1,986
py
Python
fastapi_iam/fixtures.py
jordic/fastapi_iam
aab1815dcb8b93f303fd9a83d85660ac3f92b7af
[ "MIT" ]
1
2021-03-18T22:11:52.000Z
2021-03-18T22:11:52.000Z
fastapi_iam/fixtures.py
jordic/fastapi_iam
aab1815dcb8b93f303fd9a83d85660ac3f92b7af
[ "MIT" ]
null
null
null
fastapi_iam/fixtures.py
jordic/fastapi_iam
aab1815dcb8b93f303fd9a83d85660ac3f92b7af
[ "MIT" ]
null
null
null
from . import models from .initialize import initialize_db from async_asgi_testclient import TestClient from fastapi.applications import FastAPI from fastapi_asyncpg import configure_asyncpg from fastapi_asyncpg import create_pool_test from fastapi_iam import configure_iam from pathlib import Path from pytest_docker_fi...
21.586957
68
0.63998
249
1,986
4.939759
0.329317
0.03252
0.058537
0.068293
0.069919
0.069919
0.04878
0.04878
0
0
0
0.003322
0.242195
1,986
91
69
21.824176
0.813953
0.008056
0
0.152778
0
0
0.136179
0.02185
0
0
0
0
0
1
0
false
0.055556
0.152778
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ebc38bdf88a5a380109d370626d60d90883c5a01
9,109
py
Python
python-client/swagger_client/models/vehicle.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
python-client/swagger_client/models/vehicle.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
python-client/swagger_client/models/vehicle.py
hallelulius/VastHinken
fbe9eedec6d38347c49e67611cb76ea0cba60675
[ "MIT" ]
null
null
null
# coding: utf-8 """ Reseplaneraren Provides access to Västtrafik journey planner OpenAPI spec version: 1.10.1 Generated by: https://github.com/swagger-api/swagger-codegen.git """ from pprint import pformat from six import iteritems import re class Vehicle(object): """ NOTE: This clas...
24.956164
131
0.531782
1,076
9,109
4.415428
0.144052
0.045464
0.098506
0.05683
0.503262
0.437171
0.385814
0.220585
0.186066
0.186066
0
0.00912
0.374026
9,109
364
132
25.024725
0.824097
0.306071
0
0.071895
1
0
0.133532
0
0
0
0
0
0
1
0.156863
false
0
0.019608
0
0.294118
0.006536
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
ebcea07d23ca4235dcb658b7f33111b8e3b37e7f
1,878
py
Python
cocrawler/webserver.py
joye1503/cocrawler
39b543320e91477412ab8bfc8402c88c3304c553
[ "Apache-2.0" ]
166
2016-07-18T19:37:34.000Z
2022-03-06T18:26:50.000Z
cocrawler/webserver.py
joye1503/cocrawler
39b543320e91477412ab8bfc8402c88c3304c553
[ "Apache-2.0" ]
9
2016-10-22T18:20:56.000Z
2021-04-06T05:28:04.000Z
cocrawler/webserver.py
joye1503/cocrawler
39b543320e91477412ab8bfc8402c88c3304c553
[ "Apache-2.0" ]
25
2017-02-28T19:41:41.000Z
2021-07-10T11:20:33.000Z
import logging import asyncio from aiohttp import web from . import config LOGGER = logging.getLogger(__name__) def make_app(): loop = asyncio.get_event_loop() # TODO switch this to socket.getaddrinfo() -- see https://docs.python.org/3/library/socket.html serverip = config.read('REST', 'ServerIP') i...
26.450704
99
0.634718
237
1,878
4.919831
0.468354
0.024014
0.041166
0.068611
0.078902
0
0
0
0
0
0
0.004249
0.248136
1,878
70
100
26.828571
0.82153
0.124068
0
0.040816
0
0
0.090854
0
0
0
0
0.014286
0
1
0.040816
false
0
0.081633
0
0.22449
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
ccdeb8cfc99cf1e3c36e87b3f6a41ad5207015c6
263
py
Python
try_local.py
Fredy/GCP_Things
db1841dfd3da59aeaeb7a3f42ed0ecdc3e423c1a
[ "MIT" ]
null
null
null
try_local.py
Fredy/GCP_Things
db1841dfd3da59aeaeb7a3f42ed0ecdc3e423c1a
[ "MIT" ]
null
null
null
try_local.py
Fredy/GCP_Things
db1841dfd3da59aeaeb7a3f42ed0ecdc3e423c1a
[ "MIT" ]
null
null
null
#!/usr/bin/env python from flask import Flask, request from main import image_borders if __name__ == "__main__": app = Flask(__name__) @app.route('/') def index(): return image_borders(request) app.run('127.0.0.1', 8002, debug=True)
16.4375
42
0.646388
37
263
4.216216
0.675676
0.153846
0
0
0
0
0
0
0
0
0
0.048309
0.212928
263
15
43
17.533333
0.705314
0.076046
0
0
0
0
0.07438
0
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
cceb6a57799a6691f6345dfe2123a27670a956db
726
py
Python
2020/day02.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
2020/day02.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
2020/day02.py
kyz/adventofcode
b3dd544624a8fc313ca1fad0d2f02f53bd79ce3d
[ "MIT" ]
null
null
null
import re, collections def count_valid(passwords, valid): count = 0 m = re.compile(r"(\d+)-(\d+) (.): (.+)") for p in passwords: n1, n2, c, password = m.match(p).groups() if valid(int(n1), int(n2), c, password): count += 1 return count def policy1(lo, hi, c, password): ...
31.565217
69
0.600551
107
726
4.046729
0.448598
0.103926
0.13164
0.064665
0.083141
0
0
0
0
0
0
0.056838
0.224518
726
22
70
33
0.712256
0
0
0
0
0
0.103306
0
0
0
0
0
0
1
0.166667
false
0.611111
0.055556
0.055556
0.388889
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ccf437992999b1e6e24bc2bd4023a310d7223c3b
4,702
py
Python
envdsys/envcontacts/models.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
1
2021-11-06T19:22:53.000Z
2021-11-06T19:22:53.000Z
envdsys/envcontacts/models.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
25
2019-06-18T20:40:36.000Z
2021-07-23T20:56:48.000Z
envdsys/envcontacts/models.py
NOAA-PMEL/envDataSystem
4db4a3569d2329658799a3eef06ce36dd5c0597d
[ "Unlicense" ]
null
null
null
from django.db import models # Create your models here. class Contact(models.Model): street_address = models.CharField( max_length=100, null=True, blank=True ) city = models.CharField( max_length=30, null=True, blank=True ) state = models.CharField(...
22.936585
71
0.573373
527
4,702
4.944972
0.193548
0.070606
0.114735
0.150038
0.73561
0.732157
0.592863
0.556408
0.556408
0.430545
0
0.015678
0.308167
4,702
204
72
23.04902
0.785429
0.25755
0
0.492063
0
0
0.048175
0.007007
0
0
0
0
0
1
0.015873
false
0
0.007937
0
0.357143
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ccf43e8f1586d6c4fdc39fd72e14c1d7f3099b8f
797
py
Python
cats/v2/config.py
AdamBrianBright/cats-python
163cbde06c0d56520c217c0d66ddca34c7e0f63b
[ "MIT" ]
2
2021-10-04T05:39:03.000Z
2021-10-07T06:44:19.000Z
cats/v2/config.py
AdamBrianBright/cats-python
163cbde06c0d56520c217c0d66ddca34c7e0f63b
[ "MIT" ]
7
2021-08-17T17:50:23.000Z
2021-08-31T08:44:13.000Z
cats/v2/config.py
AdamBrianBright/cats-python
163cbde06c0d56520c217c0d66ddca34c7e0f63b
[ "MIT" ]
2
2021-10-01T20:58:25.000Z
2021-10-04T05:40:35.000Z
import asyncio from dataclasses import dataclass from typing import Type from tornado.iostream import StreamClosedError from cats.errors import CatsError from cats.v2.handshake import Handshake __all__ = [ 'Config', ] @dataclass class Config: idle_timeout: float | int = 120.0 input_timeout: float | int...
23.441176
63
0.681305
86
797
6.174419
0.511628
0.097928
0.056497
0.067797
0.229755
0.229755
0
0
0
0
0
0.032949
0.238394
797
33
64
24.151515
0.841845
0
0
0
0
0
0.007528
0
0
0
0
0
0
1
0
false
0
0.214286
0
0.535714
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
ccfe2f38abd5c7d7757d9c2ecb4616a476d9826f
1,233
py
Python
twemoji/parse_list/mk_seqjson.py
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
twemoji/parse_list/mk_seqjson.py
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
twemoji/parse_list/mk_seqjson.py
ericosur/myqt
e96f77f99442c44e51a1dbe1ee93edfa09b3db0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # coding: utf-8 ''' sanilize list.txt and generate seq.json ''' import re import json def main(): ''' main ''' fn = 'list.txt' arr = [] with open(fn, 'rt', encoding='UTF-8') as fh: arr = fh.readlines() p = re.compile(r'([0-9a-f]+)') cp_dict = {} cnt = 0 ...
22.418182
64
0.510138
185
1,233
3.248649
0.416216
0.129784
0.034942
0.046589
0
0
0
0
0
0
0
0.023502
0.309813
1,233
54
65
22.833333
0.682726
0.167883
0
0
1
0
0.139165
0
0
0
0
0
0
1
0.028571
false
0
0.057143
0
0.085714
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6906087f99f901505b784da00fe8c86303f2fc8f
1,083
py
Python
175 _labs/lab4_q1.py
lzeeorno/Python-practice175
e2998830114b304f9857b8f7d89dafec7ae02080
[ "Apache-2.0" ]
null
null
null
175 _labs/lab4_q1.py
lzeeorno/Python-practice175
e2998830114b304f9857b8f7d89dafec7ae02080
[ "Apache-2.0" ]
null
null
null
175 _labs/lab4_q1.py
lzeeorno/Python-practice175
e2998830114b304f9857b8f7d89dafec7ae02080
[ "Apache-2.0" ]
1
2019-03-09T07:41:12.000Z
2019-03-09T07:41:12.000Z
from lab4_input_Stack import Stack # assign forwardStack = Stack() backwardStack = Stack() current_page = "www.cs.ualberta.ca" print(current_page) while(True): user_command = input() if(user_command == '>'): # forward if (forwardStack.is_empty()): print("Error command") ...
26.414634
55
0.597415
107
1,083
5.859813
0.336449
0.210526
0.057416
0.105263
0.429027
0.328549
0.102073
0
0
0
0
0.001318
0.299169
1,083
40
56
27.075
0.824769
0.054478
0
0.366667
0
0
0.086614
0
0
0
0
0
0
1
0
false
0
0.033333
0
0.033333
0.233333
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
6908c7e52cf16b6675c11bc8996cfafdf5bdac1d
393
py
Python
arcade_solutions/the_core/timed_reading.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
arcade_solutions/the_core/timed_reading.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
arcade_solutions/the_core/timed_reading.py
nickaigi/automatic-dollop
eb8222475c7871c1d5710242c5aed8c70ea0d2c8
[ "Unlicense" ]
null
null
null
import string def timed_reading(max_length, text): count = 0 text = text.translate(str.maketrans('', '', string.punctuation)) for w in text.split(' '): if w and len(w) <= max_length: count += 1 return count if __name__ == '__main__': max_length = 4 text = "The Fox asked t...
23.117647
68
0.615776
55
393
4.145455
0.618182
0.157895
0.131579
0.184211
0.219298
0
0
0
0
0
0
0.010274
0.256997
393
16
69
24.5625
0.770548
0
0
0
0
0
0.132316
0
0
0
0
0
0
1
0.083333
false
0
0.083333
0
0.25
0.083333
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
690a030c2af6d6f7c6b72cd19fececc4241dbd0d
4,315
py
Python
tests/test_which_cam.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
1
2019-05-06T21:48:54.000Z
2019-05-06T21:48:54.000Z
tests/test_which_cam.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
null
null
null
tests/test_which_cam.py
waider/gopro-py-api
b18b5458f5bbe689f468842d6888104317786de8
[ "MIT" ]
null
null
null
import http from socket import timeout from goprocam import GoProCamera from .conftest import GoProCameraTest class WhichCamTest(GoProCameraTest): def setUp(self): super().setUp() # disable this so we can test it separately self.monkeypatch.setattr(GoProCamera.GoPro, '_prepare_gpcontrol'...
41.095238
78
0.622943
476
4,315
5.483193
0.207983
0.105747
0.082759
0.11954
0.786973
0.771648
0.697318
0.647893
0.59387
0.563218
0
0.010846
0.252144
4,315
104
79
41.490385
0.797955
0.092236
0
0.632911
0
0
0.116458
0
0
0
0
0
0.177215
1
0.189873
false
0
0.050633
0
0.253165
0.050633
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
691b5ce15fb00eeeed07278bbbcc1d14df89f602
485
py
Python
products/migrations/0009_alter_product_image.py
susovangarai/SRshoper
a3e35ce99bf2ed68019ddcb880c4bc08f3782035
[ "Apache-2.0" ]
null
null
null
products/migrations/0009_alter_product_image.py
susovangarai/SRshoper
a3e35ce99bf2ed68019ddcb880c4bc08f3782035
[ "Apache-2.0" ]
null
null
null
products/migrations/0009_alter_product_image.py
susovangarai/SRshoper
a3e35ce99bf2ed68019ddcb880c4bc08f3782035
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.2 on 2021-04-16 05:40 from django.db import migrations, models import products.models class Migration(migrations.Migration): dependencies = [ ('products', '0008_alter_shippingaddress_order'), ] operations = [ migrations.AlterField( model_name='product...
24.25
118
0.653608
54
485
5.740741
0.740741
0.090323
0
0
0
0
0
0
0
0
0
0.04878
0.239175
485
19
119
25.526316
0.791328
0.08866
0
0
1
0
0.118182
0.072727
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
691fcd150248d163a2eace0cddfe334d3a289559
6,112
py
Python
python/qicycling/trend.py
zimult/web_md
851eb325260ba7e43e069906680ba68558bf6c47
[ "Apache-2.0" ]
null
null
null
python/qicycling/trend.py
zimult/web_md
851eb325260ba7e43e069906680ba68558bf6c47
[ "Apache-2.0" ]
null
null
null
python/qicycling/trend.py
zimult/web_md
851eb325260ba7e43e069906680ba68558bf6c47
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python # encoding:utf-8 import requests import json import time import config import db import os import datetime import sys import traceback from fn import log, db_app, db_wp from urllib import quote from urllib import unquote reload(sys) sys.setdefaultencoding('utf8') ''' Google Trend 热词 热词的访问次数是有限制的,...
25.898305
117
0.54663
774
6,112
4.155039
0.360465
0.033582
0.020522
0.034826
0.247823
0.222015
0.180037
0.131841
0.116915
0.060323
0
0.02145
0.27536
6,112
235
118
26.008511
0.704674
0.103076
0
0.091429
0
0.005714
0.195563
0.014922
0
0
0
0
0
0
null
null
0
0.074286
null
null
0.045714
0
0
0
null
0
0
0
0
0
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
692eff06acb2bfb6085fb9a078061cb018592977
1,555
py
Python
app/SellerReviews.py
leahokamura/RetailTherapy
18e1070369beecdf69c1c4b4707286acc3f9b163
[ "MIT" ]
null
null
null
app/SellerReviews.py
leahokamura/RetailTherapy
18e1070369beecdf69c1c4b4707286acc3f9b163
[ "MIT" ]
null
null
null
app/SellerReviews.py
leahokamura/RetailTherapy
18e1070369beecdf69c1c4b4707286acc3f9b163
[ "MIT" ]
null
null
null
# from __future__ import print_function # In python 2.7 from flask import render_template from flask_login import current_user import datetime #import forms from flask_wtf import FlaskForm from wtforms import StringField, PasswordField, BooleanField, SubmitField, IntegerField from wtforms.validators import Val...
43.194444
90
0.704823
177
1,555
5.892655
0.40678
0.053691
0.043145
0.042186
0.057526
0.057526
0
0
0
0
0
0.001678
0.233441
1,555
36
91
43.194444
0.873322
0.075884
0
0
0
0
0.057981
0.03078
0
0
0
0
0
1
0.037037
false
0.037037
0.37037
0
0.444444
0.074074
0
0
0
null
0
0
0
0
0
0
0
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
6935dd6305aa5a270451b439b9bad111b5c961d8
1,235
py
Python
robosuite/models/grippers/gripper_factory.py
StanfordVL/Lasersuite
8b78c3d202f2a4b8712c5f228feaf5fae61f16e9
[ "MIT" ]
5
2020-08-09T16:47:38.000Z
2021-05-06T05:43:12.000Z
robosuite/models/grippers/gripper_factory.py
StanfordVL/Lasersuite
8b78c3d202f2a4b8712c5f228feaf5fae61f16e9
[ "MIT" ]
1
2020-11-06T06:31:08.000Z
2020-11-06T06:31:08.000Z
robosuite/models/grippers/gripper_factory.py
StanfordVL/Lasersuite
8b78c3d202f2a4b8712c5f228feaf5fae61f16e9
[ "MIT" ]
null
null
null
""" Defines a string based method of initializing grippers """ from .panda_gripper import PandaGripper from .wiping_gripper import WipingGripper from .pr2_gripper import PR2Gripper from .rethink_gripper import RethinkGripper from .robotiq_gripper import RobotiqGripper from .robotiq_three_finger_gripper import RobotiqTh...
33.378378
106
0.71336
137
1,235
6.364964
0.423358
0.048165
0.045872
0.068807
0
0
0
0
0
0
0
0.005128
0.210526
1,235
36
107
34.305556
0.889231
0.293117
0
0
0
0
0.136919
0.030562
0
0
0
0
0
1
0.05
false
0
0.3
0
0.65
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
693aa26d97dd7ea5e92eb3b2c94a4d7c5d2316f1
941
py
Python
slayer/io/screenshot.py
ajduberstein/slayer
e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea
[ "MIT" ]
2
2019-02-26T23:55:06.000Z
2019-02-26T23:56:09.000Z
slayer/io/screenshot.py
ajduberstein/slayer
e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea
[ "MIT" ]
1
2019-02-10T07:00:39.000Z
2019-02-10T07:00:39.000Z
slayer/io/screenshot.py
ajduberstein/slayer
e4f2b6e0277ac38fe71ec99eaf3ee4769057b0ea
[ "MIT" ]
null
null
null
""" The goal of this module is to ease the creation of static maps from this package. Ideally, this is done headlessly (i.e., no running browser) and quickly. Given that deck.gl requires WebGL, there aren't lot of alternatives to using a browser. Not yet implemented. """ from selenium import webdriver # from selenium...
26.885714
76
0.755579
129
941
5.457364
0.666667
0.034091
0
0
0
0
0
0
0
0
0
0.010114
0.159405
941
34
77
27.676471
0.879899
0.496281
0
0
0
0
0.294372
0.127706
0
0
0
0.029412
0
1
0.076923
false
0
0.076923
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
693dae57e6d334ee74cd7047d3b75a64011dfae8
1,053
py
Python
simALModulesWrappers/ALPosture.py
Snoke13/NaoqibulletWrapper
65bd106e1ce22aae558740bd3f3beee802cc3e86
[ "Apache-2.0" ]
1
2020-04-15T00:25:39.000Z
2020-04-15T00:25:39.000Z
simALModulesWrappers/ALPosture.py
Snoke13/NaoqibulletWrapper
65bd106e1ce22aae558740bd3f3beee802cc3e86
[ "Apache-2.0" ]
null
null
null
simALModulesWrappers/ALPosture.py
Snoke13/NaoqibulletWrapper
65bd106e1ce22aae558740bd3f3beee802cc3e86
[ "Apache-2.0" ]
1
2020-05-06T09:30:44.000Z
2020-05-06T09:30:44.000Z
#!/usr/bin/env python __author__ = 'Raphael LEBER' __copyright__ = """ Copyright 2019, CPE Lyon, Raphael LEBER 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:/...
29.25
76
0.710351
139
1,053
5.151079
0.611511
0.083799
0.036313
0.044693
0
0
0
0
0
0
0
0.012225
0.223172
1,053
35
77
30.085714
0.863081
0.018993
0
0
0
0
0.646945
0
0
0
0
0
0
1
0.1
false
0
0
0
0.15
0.05
0
0
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
69428ff9431c36fe17595daba561951db1056b0d
315
py
Python
src/ds_algs/sorting_algs/bubble_sort.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
src/ds_algs/sorting_algs/bubble_sort.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
src/ds_algs/sorting_algs/bubble_sort.py
E1mir/PySandbox
44b39b98a41add433f0815cd3cde4d7554629eea
[ "MIT" ]
null
null
null
def bubble_sort(arr): for n in range(len(arr) - 1, 0, -1): for k in range(n): if arr[k] > arr[k + 1]: arr[k], arr[k + 1] = arr[k + 1], arr[k] if __name__ == '__main__': array = [2, 6, 7, 4, 1, 8, 5, 9, 3, 10, 15, 12, 13, 11, 14] bubble_sort(array) print(array)
26.25
63
0.469841
58
315
2.37931
0.534483
0.173913
0.108696
0.173913
0.195652
0.15942
0.15942
0
0
0
0
0.129187
0.336508
315
11
64
28.636364
0.5311
0
0
0
0
0
0.025397
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.111111
0.111111
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
6942908bc0a5f73ca4bfad896bfc89d2fac4e294
460
py
Python
api/models.py
DarkbordermanTemplate/fastapi-sqlalchemy
e4f31243a0d6aa27229671cd14276d5827ed3346
[ "MIT" ]
3
2021-02-08T06:14:46.000Z
2021-12-01T22:50:11.000Z
api/models.py
DarkbordermanTemplate/fastapi-sqlalchemy
e4f31243a0d6aa27229671cd14276d5827ed3346
[ "MIT" ]
null
null
null
api/models.py
DarkbordermanTemplate/fastapi-sqlalchemy
e4f31243a0d6aa27229671cd14276d5827ed3346
[ "MIT" ]
3
2021-05-06T04:28:55.000Z
2022-01-31T07:14:42.000Z
from db import SESSION from sqlalchemy import INT, VARCHAR, Column from sqlalchemy.ext.declarative import declarative_base BASE = declarative_base() class Fruit(BASE): __tablename__ = "fruit" name = Column(VARCHAR, primary_key=True) count = Column(INT, nullable=False) def dumps(self): retu...
20.909091
57
0.684783
58
460
5.293103
0.517241
0.091205
0
0
0
0
0
0
0
0
0
0.00266
0.182609
460
21
58
21.904762
0.81383
0
0
0
0
0
0.06087
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0.076923
0.769231
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
6944d0f975ec58ecce7712013e1af058a37bbdb1
459
py
Python
Desafios/Desafio 90.py
blopah/python3-curso-em-video-gustavo-guanabara-exercicios
d86c613ea8bb335c4dd888a34bda456055e4d82e
[ "MIT" ]
2
2021-02-06T04:35:44.000Z
2021-02-08T02:37:33.000Z
Desafios/Desafio 90.py
blopah/python3-curso-em-video-gustavo-guanabara-exercicios
d86c613ea8bb335c4dd888a34bda456055e4d82e
[ "MIT" ]
null
null
null
Desafios/Desafio 90.py
blopah/python3-curso-em-video-gustavo-guanabara-exercicios
d86c613ea8bb335c4dd888a34bda456055e4d82e
[ "MIT" ]
null
null
null
print('''Faça um programa que leia nome e média de um aluno, guardando também a situação em um dicionário. No final, mostre o conteúdo da estrutura na tela.''') aluno = dict() aluno['nome'] = str(input('Insira o nome: ')) aluno['nota'] = float(input('Insira a nota: ')) if aluno['nota'] < 7: aluno['nota'] = 'repro...
41.727273
107
0.653595
70
459
4.285714
0.585714
0.12
0
0
0
0
0
0
0
0
0
0.002584
0.156863
459
11
108
41.727273
0.77261
0
0
0
0
0.1
0.645652
0
0
0
0
0
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
694f3f3c2d892bda5ffed7c9426d4d2cfc3bb972
1,385
py
Python
app/migrations/0005_alter_business_options_alter_neighbourhood_options_and_more.py
james-muriithi/neighbourhood
e76d343d9e1f5392c9ba2483ffa31ce9689e79b6
[ "Unlicense" ]
null
null
null
app/migrations/0005_alter_business_options_alter_neighbourhood_options_and_more.py
james-muriithi/neighbourhood
e76d343d9e1f5392c9ba2483ffa31ce9689e79b6
[ "Unlicense" ]
null
null
null
app/migrations/0005_alter_business_options_alter_neighbourhood_options_and_more.py
james-muriithi/neighbourhood
e76d343d9e1f5392c9ba2483ffa31ce9689e79b6
[ "Unlicense" ]
null
null
null
# Generated by Django 4.0.3 on 2022-03-20 10:33 import cloudinary.models from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('app', '0004_post_slug'), ] operations = [ migrati...
31.477273
137
0.602166
136
1,385
6
0.433824
0.039216
0.051471
0.080882
0.421569
0.323529
0.323529
0.188725
0.188725
0.188725
0
0.021782
0.270758
1,385
43
138
32.209302
0.786139
0.032491
0
0.486486
1
0
0.113602
0
0
0
0
0
0
1
0
false
0
0.108108
0
0.189189
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
6952c55eab27a48ef653c4e5bb2c9d93f71e8451
1,020
py
Python
tests/http/test_todo.py
fumiya-kubota/sanic-gino-boilerplate
a2c17bdf6f733b0241f8de79c89aaf676e22e831
[ "Apache-2.0" ]
2
2020-04-01T16:13:58.000Z
2020-06-05T01:41:08.000Z
tests/http/test_todo.py
fumiya-kubota/sanic-gino-boilerplate
a2c17bdf6f733b0241f8de79c89aaf676e22e831
[ "Apache-2.0" ]
null
null
null
tests/http/test_todo.py
fumiya-kubota/sanic-gino-boilerplate
a2c17bdf6f733b0241f8de79c89aaf676e22e831
[ "Apache-2.0" ]
null
null
null
import pytest import json @pytest.mark.usefixtures('cleanup_db') async def test_todo_api(app, test_cli): """ testing todo api """ # GET resp = await test_cli.get('/api/todo') assert resp.status == 200 resp_json = await resp.json() assert len(resp_json['todo_list']) == 0 # POST ...
22.666667
58
0.586275
137
1,020
4.20438
0.262774
0.138889
0.112847
0.138889
0.522569
0.493056
0.493056
0.493056
0.493056
0.493056
0
0.026631
0.263725
1,020
44
59
23.181818
0.740346
0.022549
0
0.413793
0
0
0.151199
0
0
0
0
0.022727
0.310345
1
0
false
0
0.068966
0
0.068966
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
695438bb6da1232ffbf4b98a1a491d3c644cb4d9
6,484
py
Python
common/OpTestQemu.py
vaibhav92/op-test-framework
792fa18d3f09fd8c28073074815ff96d373ab96d
[ "Apache-2.0" ]
null
null
null
common/OpTestQemu.py
vaibhav92/op-test-framework
792fa18d3f09fd8c28073074815ff96d373ab96d
[ "Apache-2.0" ]
null
null
null
common/OpTestQemu.py
vaibhav92/op-test-framework
792fa18d3f09fd8c28073074815ff96d373ab96d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python2 # # OpenPOWER Automated Test Project # # Contributors Listed Below - COPYRIGHT 2015,2017 # [+] International Business Machines Corp. # # # 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 ...
30.87619
134
0.603331
769
6,484
4.984395
0.321196
0.018784
0.049309
0.051657
0.240543
0.208192
0.132272
0.099139
0.099139
0.06731
0
0.010117
0.298735
6,484
209
135
31.023923
0.832857
0.115515
0
0.191489
0
0.007092
0.077215
0.013091
0
0
0
0
0
0
null
null
0.014184
0.056738
null
null
0.035461
0
0
0
null
0
0
0
0
0
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
695abbbe56e222037fcd46494d454b68e5e4d631
556
py
Python
lib/python/modules/dxxtools/setup.py
tetsuzawa/spatial-research
45b4332fdea2d18414a0dd643b8015c7b7699fde
[ "MIT" ]
null
null
null
lib/python/modules/dxxtools/setup.py
tetsuzawa/spatial-research
45b4332fdea2d18414a0dd643b8015c7b7699fde
[ "MIT" ]
6
2020-09-14T06:03:08.000Z
2022-01-13T03:43:46.000Z
lib/python/modules/dxxtools/setup.py
tetsuzawa/spatial-research
45b4332fdea2d18414a0dd643b8015c7b7699fde
[ "MIT" ]
null
null
null
from setuptools import setup setup( name="dxxtools", version="0.1.4", description="dxxtools is a package of useful tools for .DXX", packages=["dxxtools"], install_requires=["dxx", "numpy", "matplotlib"], entry_points={ "console_scripts": [ "vs_plot_dxx = dxxtools.vs_plot:mai...
29.263158
84
0.645683
64
556
5.484375
0.75
0.034188
0
0
0
0
0
0
0
0
0
0.006834
0.210432
556
18
85
30.888889
0.792711
0
0
0
0
0
0.514388
0.120504
0
0
0
0
0
1
0
true
0
0.058824
0
0.058824
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
695addcee5b9eaceb3130be3d5b5773a164b846d
629
py
Python
estore_project/users/migrations/0003_auto_20210504_1555.py
Jawayria/estore_project
ad0c2f30b9a4d8a02b37ea29dfb2259635c55517
[ "MIT" ]
null
null
null
estore_project/users/migrations/0003_auto_20210504_1555.py
Jawayria/estore_project
ad0c2f30b9a4d8a02b37ea29dfb2259635c55517
[ "MIT" ]
1
2021-05-19T06:41:50.000Z
2021-05-19T06:41:50.000Z
estore_project/users/migrations/0003_auto_20210504_1555.py
Jawayria/estore_project
ad0c2f30b9a4d8a02b37ea29dfb2259635c55517
[ "MIT" ]
null
null
null
# Generated by Django 3.1.8 on 2021-05-04 15:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('users', '0002_auto_20210504_1433'), ] operations = [ migrations.RemoveField( model_name='user', name='first_name', ...
23.296296
92
0.559618
65
629
5.261538
0.646154
0.078947
0.114035
0.149123
0.222222
0.222222
0
0
0
0
0
0.079812
0.322735
629
26
93
24.192308
0.723005
0.071542
0
0.4
1
0
0.128866
0.039519
0
0
0
0
0
1
0
false
0
0.05
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
69609aa24cbe0ad13dd0fbf2b47f0fee08fe2144
1,574
py
Python
services/real-time-voice-cloning/test_service.py
arturgontijo/dnn-model-services
b5b1453a1e933bdc79451f172873f31fb7fd9842
[ "MIT" ]
26
2018-12-14T20:02:07.000Z
2021-10-07T19:39:16.000Z
services/real-time-voice-cloning/test_service.py
arturgontijo/dnn-model-services
b5b1453a1e933bdc79451f172873f31fb7fd9842
[ "MIT" ]
73
2018-08-09T17:13:21.000Z
2022-03-12T00:03:16.000Z
services/real-time-voice-cloning/test_service.py
arturgontijo/dnn-model-services
b5b1453a1e933bdc79451f172873f31fb7fd9842
[ "MIT" ]
33
2018-10-24T10:45:48.000Z
2022-03-19T05:39:48.000Z
import sys import grpc # import the generated classes import service.service_spec.voice_cloning_pb2_grpc as grpc_bt_grpc import service.service_spec.voice_cloning_pb2 as grpc_bt_pb2 from service import registry TEST_URL = "https://raw.githubusercontent.com/singnet/dnn-model-services/master/" \ "docs/asset...
35.772727
108
0.650572
201
1,574
4.875622
0.452736
0.040816
0.027551
0.039796
0.25
0.232653
0.189796
0.110204
0
0
0
0.01086
0.239517
1,574
43
109
36.604651
0.807853
0.030496
0
0.0625
1
0
0.263953
0.055154
0
0
0
0
0
1
0
false
0
0.15625
0
0.15625
0.09375
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
696366aefd5b9c2c8ac87b4133dd9398628a5aff
354
py
Python
notebooks/classic/solution/matplotlib-subplots.py
kmunve/ml-workshop
96a42e663bb656e97231eff17ef4ca21e2a14b0e
[ "MIT" ]
3
2020-02-17T13:35:56.000Z
2020-10-22T13:15:28.000Z
notebooks/classic/solution/matplotlib-subplots.py
kmunve/ml-workshop
96a42e663bb656e97231eff17ef4ca21e2a14b0e
[ "MIT" ]
7
2020-02-09T17:52:44.000Z
2020-02-09T17:52:53.000Z
notebooks/classic/solution/matplotlib-subplots.py
kmunve/ml-workshop
96a42e663bb656e97231eff17ef4ca21e2a14b0e
[ "MIT" ]
4
2019-07-22T17:05:52.000Z
2020-01-23T12:17:59.000Z
fig, ax = plt.subplots(2, sharex='all', figsize=(10, 5)) ax[0].plot(t, s) ax[0].set_ylabel('voltage (mV)') ax[0].set_title('Linear') ax[0].grid(True) ax[0].set_yscale('linear') ax[1].plot(t, s) ax[1].set_xlabel('time (s)') ax[1].set_ylabel('voltage (mV)') ax[1].set_title('Log') ax[1].grid(True) ax[1].set_yscale('log'...
22.125
56
0.649718
71
354
3.140845
0.422535
0.080717
0.107623
0.071749
0.179372
0
0
0
0
0
0
0.045732
0.073446
354
16
57
22.125
0.634146
0
0
0
0
0
0.194366
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
6965c76b54e2be02f9b71c007c1091cf1737495a
1,850
py
Python
recipe_scrapers/cookingcircle.py
gloriousDan/recipe-scrapers
4e11b04db92abe11b75d373a147cc566629f265b
[ "MIT" ]
null
null
null
recipe_scrapers/cookingcircle.py
gloriousDan/recipe-scrapers
4e11b04db92abe11b75d373a147cc566629f265b
[ "MIT" ]
null
null
null
recipe_scrapers/cookingcircle.py
gloriousDan/recipe-scrapers
4e11b04db92abe11b75d373a147cc566629f265b
[ "MIT" ]
null
null
null
import re from ._abstract import AbstractScraper from ._utils import get_minutes class CookingCircle(AbstractScraper): @classmethod def host(cls): return "cookingcircle.com" def author(self): return ( self.soup.find("div", {"class": "recipe-author"}) .findChild("s...
27.205882
87
0.543243
194
1,850
5.07732
0.345361
0.050761
0.071066
0.081218
0.123858
0.062944
0.062944
0
0
0
0
0.002338
0.306486
1,850
67
88
27.61194
0.765394
0
0
0.038462
0
0
0.13027
0.053514
0
0
0
0
0
1
0.173077
false
0
0.057692
0.115385
0.423077
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
69682f3c106410189a8a369cce45c6409dde4eba
707
py
Python
aioscrapy/middleware/middleware_Itempipeline.py
conlin-huang/aio-scrapy
954878b6fc7ffffc53209ea31ae02ed7c027a790
[ "MIT" ]
13
2021-10-14T10:04:54.000Z
2022-01-21T02:09:27.000Z
aioscrapy/middleware/middleware_Itempipeline.py
dqsdatalabs/aio-scrapy
f8f282af3839caf34d57f4ab31b1e27b4b615fc9
[ "MIT" ]
null
null
null
aioscrapy/middleware/middleware_Itempipeline.py
dqsdatalabs/aio-scrapy
f8f282af3839caf34d57f4ab31b1e27b4b615fc9
[ "MIT" ]
2
2022-01-20T03:11:09.000Z
2022-01-27T10:06:14.000Z
import logging from scrapy.utils.conf import build_component_list from .middleware import MiddlewareManager logger = logging.getLogger(__name__) class ItemPipelineManager(MiddlewareManager): component_name = 'item pipeline' @classmethod def _get_mwlist_from_settings(cls, settings): ...
28.28
76
0.7157
79
707
6.088608
0.506329
0.114345
0.074844
0
0
0
0
0
0
0
0
0
0.19802
707
24
77
29.458333
0.848325
0
0
0
0
0
0.09224
0
0
0
0
0
0
1
0.133333
false
0
0.2
0.066667
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
696985a2021014d158e298adee8f37e42561a52d
2,261
py
Python
modules/module1/Week1/5_fofin_interactive.py
tetov/ITA19
1af68a8885caf83acd98f4136d0286539ccbe63b
[ "MIT" ]
7
2019-11-13T20:29:54.000Z
2020-02-26T14:30:54.000Z
modules/module1/Week1/5_fofin_interactive.py
GeneKao/ITA19
c4b10dc183599eed4ed60d922b6ef5922d173bdb
[ "MIT" ]
4
2019-11-07T20:57:51.000Z
2020-03-04T11:43:18.000Z
modules/module1/Week1/5_fofin_interactive.py
GeneKao/ITA19
c4b10dc183599eed4ed60d922b6ef5922d173bdb
[ "MIT" ]
6
2019-10-30T13:25:54.000Z
2020-02-14T14:06:09.000Z
from __future__ import print_function from __future__ import absolute_import from __future__ import division import os import compas_rhino from compas.utilities import geometric_key from fofin.shell import Shell from fofin.shellartist import ShellArtist from compas_rhino.selectors import VertexSelector from compas_...
29.75
80
0.440513
171
2,261
5.584795
0.368421
0.094241
0.062827
0.06911
0.310995
0.18534
0.18534
0.18534
0.18534
0.18534
0
0.002428
0.089341
2,261
75
81
30.146667
0.461389
0.454666
0
0.275
0
0
0.014827
0
0
0
0
0
0
1
0.025
false
0
0.3
0
0.325
0.025
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
697279e83acb002ee82d2ce64c8841833aacdc26
4,801
py
Python
truth.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
truth.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
truth.py
kirichoi/NSSR
d5ff39b4ca4be48f8bfe0a811c25c5e4afde135d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # COPYRIGHT 2017 Kiri Choi # Truth network model analysis from __future__ import print_function import numpy as np import tellurium as te import antimony import generate import util import clustering def classify(setup, s_arr, c_arr): """ Ground truth classification. Returns initial ...
31.379085
80
0.644449
698
4,801
4.194842
0.239255
0.043033
0.021516
0.016393
0.228142
0.181694
0.128415
0.115437
0.10041
0.080601
0
0.008171
0.260779
4,801
152
81
31.585526
0.81685
0.563633
0
0.145833
1
0
0.003136
0
0
0
0
0.006579
0
1
0.0625
false
0
0.145833
0
0.270833
0.020833
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
15c2c610fef6dbd9409f362d40483ebfd6c04f09
609
py
Python
coding_intereview/merge_interval.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
2
2020-10-03T16:38:10.000Z
2021-06-03T11:01:59.000Z
coding_intereview/merge_interval.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
null
null
null
coding_intereview/merge_interval.py
purusharthmalik/Python-Bootcamp
2ed1cf886d1081de200b0fdd4cb4e28008c7e3d1
[ "MIT" ]
1
2020-10-03T16:38:02.000Z
2020-10-03T16:38:02.000Z
def insert(intervals, new_interval): n = len(intervals) start, end = 0, 0 while end < n: if new_interval[0] <= intervals[end][1]: if new_interval[1] < intervals[end][0]: break new_interval[0] = min(new_interval[0], intervals[end][0]) new_interval[...
30.45
69
0.582923
80
609
4.2875
0.3125
0.3207
0.139942
0.151604
0.279883
0
0
0
0
0
0
0.047404
0.272578
609
20
70
30.45
0.726862
0
0
0
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
0.058824
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
15cdca5cf5ec03521b2a6f4a91b3b7931dff6b42
1,145
py
Python
leetcode-python/num056.py
shuaizi/leetcode
c943410575f380a00335bf5ac8d361af53a92d78
[ "Apache-2.0" ]
null
null
null
leetcode-python/num056.py
shuaizi/leetcode
c943410575f380a00335bf5ac8d361af53a92d78
[ "Apache-2.0" ]
null
null
null
leetcode-python/num056.py
shuaizi/leetcode
c943410575f380a00335bf5ac8d361af53a92d78
[ "Apache-2.0" ]
null
null
null
__author__ = 'shuai' # Definition for an interval. class Interval(object): def __init__(self, s=0, e=0): self.start = s self.end = e def __str__(self): return str(self.start) + "-" + str(self.end) class Solution(object): def merge(self, intervals): """ :type interv...
26.022727
52
0.50917
144
1,145
3.951389
0.326389
0.070299
0.079086
0.084359
0.165202
0
0
0
0
0
0
0.013755
0.365066
1,145
43
53
26.627907
0.768913
0.023581
0
0
0
0
0.005825
0
0
0
0
0
0
0
null
null
0
0
null
null
0.029412
0
0
0
null
0
0
0
0
0
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
15d0e70de09b6599484e76f3e639ed4d7b7e383e
422
py
Python
projects/fred-snyder-examples/send-emails-csv-with-smtp/test-smtp-server.py
fred-snyder/notes-on-python
1837a8999ea0d736ff3804417524b8d8cb1955e6
[ "MIT" ]
1
2022-03-15T22:03:45.000Z
2022-03-15T22:03:45.000Z
projects/fred-snyder-examples/send-emails-csv-with-smtp/test-smtp-server.py
fred-snyder/notes-on-python
1837a8999ea0d736ff3804417524b8d8cb1955e6
[ "MIT" ]
null
null
null
projects/fred-snyder-examples/send-emails-csv-with-smtp/test-smtp-server.py
fred-snyder/notes-on-python
1837a8999ea0d736ff3804417524b8d8cb1955e6
[ "MIT" ]
null
null
null
import smtplib, ssl # import smtp_server, port, login, password import production_config # Create SSL context context = ssl.create_default_context() # test the smtp server try: server = smtplib.SMTP(smtp_server,port) server.ehlo() server.starttls(context=context) server.ehlo() server.login(login,...
20.095238
43
0.720379
55
422
5.436364
0.490909
0.100334
0.093645
0
0
0
0
0
0
0
0
0
0.187204
422
20
44
21.1
0.87172
0.241706
0
0.153846
0
0
0
0
0
0
0
0
0
1
0
false
0.076923
0.153846
0
0.153846
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
15d7e114709f284cf3e27c081b12f4e82ba8a0c1
1,395
py
Python
pycaw/api/mmdeviceapi/depend/structures.py
Jan-Zeiseweis/pycaw
3d8af59bcb5a34ed84d623405192b3bf38a926e6
[ "MIT" ]
234
2016-06-12T23:40:07.000Z
2022-03-30T23:34:17.000Z
pycaw/api/mmdeviceapi/depend/structures.py
Jan-Zeiseweis/pycaw
3d8af59bcb5a34ed84d623405192b3bf38a926e6
[ "MIT" ]
55
2016-09-25T17:39:32.000Z
2022-03-18T07:34:52.000Z
pycaw/api/mmdeviceapi/depend/structures.py
Jan-Zeiseweis/pycaw
3d8af59bcb5a34ed84d623405192b3bf38a926e6
[ "MIT" ]
62
2017-05-28T22:10:29.000Z
2022-03-11T21:55:14.000Z
from ctypes import Structure, Union from ctypes.wintypes import ( DWORD, LONG, LPWSTR, ULARGE_INTEGER, VARIANT_BOOL, WORD) from comtypes import GUID from comtypes.automation import VARTYPE, VT_BOOL, VT_CLSID, VT_LPWSTR, VT_UI4 from future.utils import python_2_unicode_compatible class PROPVARIANT_UNION(Union): ...
25.363636
77
0.578495
150
1,395
5.18
0.373333
0.020592
0.057915
0.061776
0.074646
0
0
0
0
0
0
0.008197
0.300358
1,395
54
78
25.833333
0.78791
0.080287
0
0.071429
0
0
0.061767
0
0
0
0
0.018519
0
1
0.047619
false
0
0.119048
0.02381
0.452381
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
15db23510390b0ebd4c6b2a0e5989c0a06b8ea2b
1,208
py
Python
CSV_build_GUI.py
sassystacks/Brisco_Devel
4543ac2f6fda3f2cefdfd56709b9c897edf03a97
[ "MIT" ]
null
null
null
CSV_build_GUI.py
sassystacks/Brisco_Devel
4543ac2f6fda3f2cefdfd56709b9c897edf03a97
[ "MIT" ]
null
null
null
CSV_build_GUI.py
sassystacks/Brisco_Devel
4543ac2f6fda3f2cefdfd56709b9c897edf03a97
[ "MIT" ]
null
null
null
from Tkinter import * class Application(Frame): def Build_CSV(self): dt_selected = self.var1.get() print(dt_selected) try: indx_date = self.lst1.index(dt_selected)+1 print(indx_date) except: print"Please Select a date" def createWidgets(self)...
25.702128
69
0.553808
147
1,208
4.421769
0.435374
0.073846
0.073846
0.049231
0
0
0
0
0
0
0
0.014857
0.275662
1,208
46
70
26.26087
0.728
0
0
0
0
0
0.104305
0
0
0
0
0
0
0
null
null
0
0.028571
null
null
0.085714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
15e23938093e32e1741c79a350d7b1de9d41585e
1,526
py
Python
setup.py
PythonCHB/NumpyExtras
2af13223a249086502fc92311a5647cb65489fa8
[ "BSD-2-Clause" ]
null
null
null
setup.py
PythonCHB/NumpyExtras
2af13223a249086502fc92311a5647cb65489fa8
[ "BSD-2-Clause" ]
null
null
null
setup.py
PythonCHB/NumpyExtras
2af13223a249086502fc92311a5647cb65489fa8
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python try: from setuptools import setup, Extension except ImportError: print "You need setuptools to build this module" from Cython.Build import cythonize import numpy as np #for the include dirs... #import os, sys include_dirs = [np.get_include()] ext_modules = cythonize(Extension("numpy_e...
34.681818
80
0.551114
146
1,526
5.678082
0.60274
0.053076
0.053076
0
0
0
0
0
0
0
0
0.004965
0.340105
1,526
43
81
35.488372
0.818272
0.072739
0
0
0
0
0.403546
0.067376
0
0
0
0
0
0
null
null
0
0.121212
null
null
0.030303
0
0
0
null
0
0
0
0
0
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
15e3668104c81ea4e8ee40a59c73ff9e05955e47
4,680
py
Python
app/manager.py
actini/storage-manager
0f6995fe65e2ed8dd862ffd03b52c3808c0ff873
[ "MIT" ]
null
null
null
app/manager.py
actini/storage-manager
0f6995fe65e2ed8dd862ffd03b52c3808c0ff873
[ "MIT" ]
null
null
null
app/manager.py
actini/storage-manager
0f6995fe65e2ed8dd862ffd03b52c3808c0ff873
[ "MIT" ]
null
null
null
from flask import Flask, request, jsonify from services import MongoDBService app = Flask(__name__) @app.route("/") def root(): return "Welcome to Storage Manager!" @app.route("/health") def health(): return "ok" @app.route("/databases", methods=["GET"]) def all_databases(): databases = MongoDBService(...
24.248705
91
0.520085
449
4,680
5.365256
0.140312
0.089664
0.084682
0.119552
0.704442
0.667497
0.64259
0.625986
0.616023
0.593607
0
0.011666
0.340598
4,680
192
92
24.375
0.768957
0
0
0.625
0
0
0.210684
0.004487
0
0
0
0
0
1
0.05
false
0.075
0.0125
0.0125
0.19375
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
15e7e2c216325c48e99d6b18ef3f9910bccfdda7
3,795
py
Python
buildmenuviews/login_menu.py
acadianshadow237/BA_MDI1
73e0e87c15ff083ce860f7a09fa2de3a3c71c215
[ "MIT" ]
null
null
null
buildmenuviews/login_menu.py
acadianshadow237/BA_MDI1
73e0e87c15ff083ce860f7a09fa2de3a3c71c215
[ "MIT" ]
null
null
null
buildmenuviews/login_menu.py
acadianshadow237/BA_MDI1
73e0e87c15ff083ce860f7a09fa2de3a3c71c215
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- ################################################################################ ## Form generated from reading UI file 'login.ui' ## ## Created by: Qt User Interface Compiler version 6.1.2 ## ## WARNING! All changes made in this file will be lost when recompiling UI file! #####################...
45.178571
96
0.676943
371
3,795
6.911051
0.299191
0.060062
0.136505
0.140406
0.25195
0.082683
0
0
0
0
0
0.006997
0.171542
3,795
83
97
45.722892
0.808524
0.094862
0
0
1
0
0.082078
0
0
0
0
0
0
1
0.033333
false
0
0.05
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
15e9336cc19ea8b2cc2fff7a856823ca4f297a93
908
py
Python
161019/test/8-tests.py
yeputons/fall-2016-paradigms
346ccda2ffe03ff7ba50fbf5534cbc468319ef49
[ "MIT" ]
1
2017-09-13T12:44:07.000Z
2017-09-13T12:44:07.000Z
161019/test/8-tests.py
yeputons/fall-2016-paradigms
346ccda2ffe03ff7ba50fbf5534cbc468319ef49
[ "MIT" ]
1
2016-11-08T00:26:18.000Z
2016-11-08T16:53:57.000Z
161019/test/8-tests.py
yeputons/fall-2016-paradigms
346ccda2ffe03ff7ba50fbf5534cbc468319ef49
[ "MIT" ]
null
null
null
tests = [] inout = ( ("\n", ""), ("set 123\n0\n", ["lock guard", "get flag", "set flag 1", "set result 123", "unlock guard"], ["lock guard", "get flag", "set result 123", "set flag 1", "unlock guard"] ), ("set 123\n1\n", ["lock guard", "get flag", "unlock guard"]), ("get\n0\n", [...
25.942857
86
0.511013
129
908
3.596899
0.310078
0.12069
0.155172
0.206897
0.30819
0.230603
0.12069
0
0
0
0
0.050228
0.276432
908
34
87
26.705882
0.656012
0
0
0.068966
0
0
0.35793
0
0
0
0
0
0
1
0.137931
false
0
0
0.068966
0.275862
0.034483
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
c617d6dbeba3014f3450b02e08c7e71af2a23380
2,433
py
Python
tests/CSIRO_wire_break_validation.py
BillMills/AutoQC
cb56fa5bb2115170ec204edd84e2d69ce84be820
[ "MIT" ]
17
2015-01-31T00:35:58.000Z
2020-10-26T19:01:46.000Z
tests/CSIRO_wire_break_validation.py
castelao/AutoQC
eb85422c1a6a5ff965a1ef96b3cb29240a66b506
[ "MIT" ]
163
2015-01-21T03:44:42.000Z
2022-01-09T22:03:12.000Z
tests/CSIRO_wire_break_validation.py
BillMills/AutoQC
cb56fa5bb2115170ec204edd84e2d69ce84be820
[ "MIT" ]
11
2015-06-04T14:32:22.000Z
2021-04-11T05:18:09.000Z
import qctests.CSIRO_wire_break import util.testingProfile import numpy ##### CSIRO_wire_break_test --------------------------------------------------- def test_CSIRO_wire_break(): ''' Spot-check the nominal behavior of the CSIRO wire break test. ''' # too cold at the bottom of xbt profile p = ut...
42.684211
103
0.673654
386
2,433
4.15285
0.207254
0.061759
0.09607
0.101061
0.785402
0.756082
0.626326
0.626326
0.538366
0.489707
0
0.061531
0.178381
2,433
56
104
43.446429
0.74037
0.132347
0
0.405405
0
0
0.159233
0
0
0
0
0
0.189189
1
0.027027
false
0
0.081081
0
0.108108
0.054054
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c6183a35309f020cbdf0e397ad80516ee7066961
1,495
py
Python
arekit/contrib/experiment_rusentrel/entities/factory.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
18
2019-12-14T18:43:11.000Z
2022-03-21T05:55:36.000Z
arekit/contrib/experiment_rusentrel/entities/factory.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
284
2020-08-08T20:52:44.000Z
2022-03-31T05:26:20.000Z
arekit/contrib/experiment_rusentrel/entities/factory.py
nicolay-r/AREk
19c39ec0dc9a17464cade03b9c4da0c6d1d21191
[ "MIT" ]
1
2021-08-07T13:17:43.000Z
2021-08-07T13:17:43.000Z
from arekit.contrib.experiment_rusentrel.entities.str_rus_cased_fmt import RussianEntitiesCasedFormatter from arekit.contrib.experiment_rusentrel.entities.str_rus_nocased_fmt import RussianEntitiesFormatter from arekit.contrib.experiment_rusentrel.entities.str_simple_fmt import StringEntitiesSimpleFormatter from arekit...
55.37037
113
0.840803
149
1,495
8.127517
0.348993
0.040462
0.084228
0.133774
0.336086
0.250206
0.213873
0.213873
0
0
0
0
0.106355
1,495
26
114
57.5
0.906437
0.038127
0
0
0
0
0
0
0
0
0
0
0.1
1
0.05
false
0
0.3
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