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
63afd675fdaedba92629d872a113698738fcc4bb
205
py
Python
algorithm/combinations.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
null
null
null
algorithm/combinations.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
null
null
null
algorithm/combinations.py
rishabhiitbhu/hackerrank
acc300851c81a29472177f15fd8b56ebebe853ea
[ "MIT" ]
1
2020-01-30T06:47:09.000Z
2020-01-30T06:47:09.000Z
l = [1,2,3,4] def printCombo(l): for j in range(1, len(l)+1): for i in range(len(l)-1): l[i],l[i+1]=l[i+1],l[i] print(l) for i in range(len(l)): printCombo(l[i:])
18.636364
35
0.463415
44
205
2.159091
0.318182
0.105263
0.094737
0.231579
0.4
0.315789
0
0
0
0
0
0.06338
0.307317
205
10
36
20.5
0.605634
0
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.375
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
63b06b27f246501565922d8ab5df757599fc1060
1,799
py
Python
list1/task1/main.py
ErykKrupa/metaheuristic-algorithms
cdeb283b4bb052328fd1d06e0da398a2932a7602
[ "MIT" ]
null
null
null
list1/task1/main.py
ErykKrupa/metaheuristic-algorithms
cdeb283b4bb052328fd1d06e0da398a2932a7602
[ "MIT" ]
null
null
null
list1/task1/main.py
ErykKrupa/metaheuristic-algorithms
cdeb283b4bb052328fd1d06e0da398a2932a7602
[ "MIT" ]
null
null
null
from time import time import numpy as np def local_search(function, neighbour_function, max_execution_time): end_time = time() + max_execution_time best_solution = _get_naive_solution() while time() < end_time: result = function(best_solution) neighbourhood = neighbour_function(best_soluti...
32.709091
106
0.63035
247
1,799
4.299595
0.279352
0.067797
0.042373
0.031073
0.124294
0.109228
0.045198
0
0
0
0
0.032114
0.255698
1,799
54
107
33.314815
0.761016
0
0
0.054054
0
0.027027
0.053949
0
0
0
0
0
0
1
0.189189
false
0
0.054054
0.135135
0.459459
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
63bc7d51083fa5d89a06e111b92aac80cc80fe15
4,982
py
Python
usher/tcp_server.py
lukecampbell/usher
f939c6ba3ccfdd265306cbf4752a890021473c0e
[ "Apache-2.0" ]
1
2019-07-24T21:20:48.000Z
2019-07-24T21:20:48.000Z
usher/tcp_server.py
lukecampbell/usher
f939c6ba3ccfdd265306cbf4752a890021473c0e
[ "Apache-2.0" ]
null
null
null
usher/tcp_server.py
lukecampbell/usher
f939c6ba3ccfdd265306cbf4752a890021473c0e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python import gevent.monkey gevent.monkey.patch_all() from gevent.server import StreamServer from usher.server import UsherServer from usher.log import log, DEBUG from struct import pack, unpack ''' NOP Message 0x00 Acquire Message ''' class MessageParser: NOP_MESSAGE = 0x00 ACQUIRE_...
28.306818
99
0.551987
585
4,982
4.581197
0.17094
0.059701
0.032836
0.024627
0.349254
0.275746
0.265299
0.222388
0.19403
0.130597
0
0.020299
0.327579
4,982
175
100
28.468571
0.779701
0.004014
0
0.377778
0
0
0.036804
0
0
0
0.00244
0
0
0
null
null
0
0.037037
null
null
0.007407
0
0
0
null
0
0
0
0
0
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
63bcf5dc68fd1480f45fb8cf9bc20f1041170d63
7,989
py
Python
hard-gists/6094977/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/6094977/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/6094977/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
import smbus import getopt import sys from time import * from time import gmtime, strftime # TODO: Factor out all device_write calls to some PCF8574 specific module ... # will be different with another io expander # communication from expander to display: high nibble first, then low nibble # communication via ...
31.085603
112
0.58931
987
7,989
4.62614
0.308004
0.093517
0.04205
0.04205
0.193605
0.140166
0.079063
0.049496
0.049496
0.014455
0
0.061814
0.315559
7,989
256
113
31.207031
0.773226
0.179622
0
0.097403
0
0
0.044638
0
0
0
0.02685
0.007813
0
0
null
null
0.006494
0.032468
null
null
0.019481
0
0
0
null
0
0
0
0
0
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
63c2025b1d0dc0a038b7409d76d5e740045da880
2,053
py
Python
tools/libs/utils.py
gurka/OldSchoolTibia
19e3619a4e17e6cc39aa06c7058eb5a57a286c14
[ "MIT" ]
3
2020-06-25T18:21:47.000Z
2022-01-19T16:25:55.000Z
tools/libs/utils.py
gurka/OldSchoolTibia
19e3619a4e17e6cc39aa06c7058eb5a57a286c14
[ "MIT" ]
null
null
null
tools/libs/utils.py
gurka/OldSchoolTibia
19e3619a4e17e6cc39aa06c7058eb5a57a286c14
[ "MIT" ]
null
null
null
def read_u8(f): """Reads an unsigned byte from the file object f. """ temp = f.read(1) if not temp: raise EOFError("EOF") return int.from_bytes(temp, byteorder='little', signed=False) def read_u16(f): """Reads a two byte unsigned value from the file object f. """ temp = f.read...
24.73494
87
0.566975
310
2,053
3.687097
0.254839
0.036745
0.068241
0.073491
0.673666
0.634296
0.570429
0.510061
0.451444
0.451444
0
0.026444
0.300049
2,053
82
88
25.036585
0.768963
0.28641
0
0.289474
0
0
0.044975
0
0
0
0
0
0
1
0.210526
false
0
0
0
0.289474
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
63c254ae57bcb2df4192eb1dce5e2f31fa0a5a06
11,915
py
Python
generator.py
kimvc7/DataSetGenerator
3c3d2fd5f6c603914281864dfeb63484fcde08c4
[ "MIT" ]
null
null
null
generator.py
kimvc7/DataSetGenerator
3c3d2fd5f6c603914281864dfeb63484fcde08c4
[ "MIT" ]
null
null
null
generator.py
kimvc7/DataSetGenerator
3c3d2fd5f6c603914281864dfeb63484fcde08c4
[ "MIT" ]
null
null
null
from random import randint from matplotlib import pyplot as plt import matplotlib import argparse import numpy as np import scipy.ndimage import json import copy import operator VECTORS={0:(0,-1), 1:(1,-1),2:(1,0),3:(1,1),4:(0,1),5:(-1,1),6:(-1,0),7:(-1,-1)} INV_VECTORS={(0,-1):0, (1,-1):1,(1,0):2,(1,1):3,(0,1):4,(-1...
42.553571
153
0.598405
1,747
11,915
3.965655
0.133944
0.016166
0.017321
0.022517
0.328089
0.277714
0.250433
0.212904
0.19414
0.177973
0
0.027397
0.283172
11,915
279
154
42.706093
0.783749
0.154511
0
0.242009
0
0
0.000499
0
0
0
0
0
0
0
null
null
0
0.041096
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
63c737ce07dba39e50b8301d436c71fbb91a945e
5,016
py
Python
smc-monitoring/smc_monitoring/monitors/connections.py
kobaan/fp-NGFW-SMC-python
7be57bdde954e4115a887c0140054c87cc0b53a0
[ "Apache-2.0" ]
17
2019-11-19T07:25:09.000Z
2022-02-16T16:43:51.000Z
smc-monitoring/smc_monitoring/monitors/connections.py
kobaan/fp-NGFW-SMC-python
7be57bdde954e4115a887c0140054c87cc0b53a0
[ "Apache-2.0" ]
25
2020-05-20T12:27:35.000Z
2022-02-21T05:27:10.000Z
smc-monitoring/smc_monitoring/monitors/connections.py
kobaan/fp-NGFW-SMC-python
7be57bdde954e4115a887c0140054c87cc0b53a0
[ "Apache-2.0" ]
7
2020-02-04T12:16:50.000Z
2022-02-18T14:01:04.000Z
""" A connection query returns all currently connected sessions on the given target. Create a query to obtain all connections for a given engine:: query = ConnectionQuery('sg_vm') Add a timezone to the query:: query.format.timezone('CST') Add a filter to only get connections if the source address is 172.18...
24.831683
92
0.603469
595
5,016
4.978151
0.272269
0.023633
0.030385
0.0395
0.188386
0.180959
0.13842
0.13842
0.126604
0.088116
0
0.007011
0.289075
5,016
201
93
24.955224
0.823612
0.449163
0
0.130435
0
0
0.047105
0.031547
0
0
0
0
0
1
0.202899
false
0
0.028986
0.028986
0.449275
0
0
0
0
null
0
0
0
0
0
0
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
63c7c1d41d9c5c82bdd0e954968eb297971dcc08
1,437
py
Python
netket/utils/types.py
pesvut/netket
7f19574ddc567748344bb75a4ddd507578d94b0d
[ "Apache-2.0" ]
null
null
null
netket/utils/types.py
pesvut/netket
7f19574ddc567748344bb75a4ddd507578d94b0d
[ "Apache-2.0" ]
26
2021-08-06T15:27:57.000Z
2022-03-30T16:55:18.000Z
netket/utils/types.py
pesvut/netket
7f19574ddc567748344bb75a4ddd507578d94b0d
[ "Apache-2.0" ]
1
2020-01-14T11:39:00.000Z
2020-01-14T11:39:00.000Z
# Copyright 2021 The NetKet Authors - All rights reserved. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable l...
31.23913
84
0.760612
218
1,437
4.958716
0.600917
0.055504
0.024052
0.029602
0
0
0
0
0
0
0
0.015913
0.169102
1,437
45
85
31.933333
0.889447
0.639527
0
0
0
0
0
0
0
0
0
0.022222
0
1
0
false
0
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
63d13af6318aa562b8f0ddb2ae5b7f27c7cbf02c
1,934
py
Python
test/remoting/webview-localfile/test.py
namaljayathunga/nw.js
a229a67b06e70b3d174bd213a45c8e26d1e52f9c
[ "MIT" ]
27
2015-03-11T10:04:08.000Z
2017-12-09T18:34:11.000Z
test/remoting/webview-localfile/test.py
namaljayathunga/nw.js
a229a67b06e70b3d174bd213a45c8e26d1e52f9c
[ "MIT" ]
null
null
null
test/remoting/webview-localfile/test.py
namaljayathunga/nw.js
a229a67b06e70b3d174bd213a45c8e26d1e52f9c
[ "MIT" ]
7
2015-08-12T05:15:39.000Z
2016-12-15T04:11:03.000Z
import time import os import urlparse, urllib import sys sys.path.append(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))) from nw_util import * def path2url(path): return urlparse.urljoin( 'file:', urllib.pathname2url(path)) from selenium import webdriver from selenium.webdriver....
34.535714
181
0.74302
254
1,934
5.480315
0.452756
0.025862
0.028017
0.032328
0.155891
0.099138
0.099138
0
0
0
0
0.009362
0.116339
1,934
55
182
35.163636
0.805149
0.011892
0
0
0
0.042553
0.215296
0.10791
0
0
0
0
0.06383
0
null
null
0
0.148936
null
null
0.106383
0
0
0
null
0
0
0
0
0
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
63d3c5070e9604302510012d46bccd5b6df6d0dc
4,868
py
Python
bleet/views.py
ntoll/facebaaak
9a1a555f36bfa358d83ceebfd10da8e0146f3f2f
[ "MIT" ]
null
null
null
bleet/views.py
ntoll/facebaaak
9a1a555f36bfa358d83ceebfd10da8e0146f3f2f
[ "MIT" ]
null
null
null
bleet/views.py
ntoll/facebaaak
9a1a555f36bfa358d83ceebfd10da8e0146f3f2f
[ "MIT" ]
null
null
null
import sys from django.shortcuts import render, get_object_or_404 from bleet.models import Bleet from users.models import Follow, Profile from django.contrib.auth.models import User from django.views.generic import ( ListView, DetailView, CreateView, UpdateView, DeleteView, ) from django.contrib.aut...
28.97619
80
0.64811
571
4,868
5.339755
0.224168
0.043293
0.036733
0.037389
0.399475
0.329944
0.288619
0.277796
0.265005
0.223352
0
0.004658
0.250205
4,868
167
81
29.149701
0.830685
0.032662
0
0.355372
0
0
0.066324
0.009414
0
0
0
0
0
1
0.123967
false
0.016529
0.082645
0.033058
0.595041
0
0
0
0
null
0
0
0
0
0
0
0
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
89277fede1528945721628874de28385be9a7f9a
5,881
py
Python
model.py
rethinkdb/rethinkdb-example-webpy-blog
d37d41377bfc55b648a50e9bef852afda3500d4a
[ "MIT" ]
16
2015-04-17T16:53:23.000Z
2021-01-14T20:43:19.000Z
model.py
rethinkdb/rethinkdb-example-webpy-blog
d37d41377bfc55b648a50e9bef852afda3500d4a
[ "MIT" ]
1
2015-04-15T12:48:27.000Z
2015-04-16T01:38:26.000Z
model.py
rethinkdb/rethinkdb-example-webpy-blog
d37d41377bfc55b648a50e9bef852afda3500d4a
[ "MIT" ]
9
2015-06-20T14:52:50.000Z
2019-11-05T14:47:06.000Z
# The [web.py](http://webpy.org/) (really basic) [blog example](http://webpy.org/src/blog/0.3) # using **RethinkDB as the backend for web.py applications**. # # For details about the complete stack, installation, and running the app see # the [README](https://github.com/rethinkdb/rethinkdb-example-webpy-blog). import ...
32.491713
98
0.681687
842
5,881
4.706651
0.311164
0.031794
0.044411
0.052738
0.213222
0.20212
0.156699
0.12869
0.108504
0.108504
0
0.009917
0.177011
5,881
180
99
32.672222
0.808884
0.612821
0
0.089286
0
0
0.165647
0
0
0
0
0
0
0
null
null
0
0.089286
null
null
0.035714
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
892c407fee983941af0936fc41107fa815f32465
1,236
py
Python
ds/beis_indicators/travel/make_travel_work.py
nestauk/beis-indicators
d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c
[ "MIT" ]
4
2020-04-09T20:16:38.000Z
2022-03-25T11:36:30.000Z
ds/beis_indicators/travel/make_travel_work.py
nestauk/beis-indicators
d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c
[ "MIT" ]
353
2019-11-06T11:26:51.000Z
2021-12-08T09:13:53.000Z
ds/beis_indicators/travel/make_travel_work.py
nestauk/beis-indicators
d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c
[ "MIT" ]
1
2020-08-03T12:42:31.000Z
2020-08-03T12:42:31.000Z
import logging import numpy as np import glob from beis_indicators import project_dir from beis_indicators.geo import NutsCoder, LepCoder from beis_indicators.indicators import points_to_indicator, save_indicator from beis_indicators.travel.travel_work_processing import get_travel_work_data import pandas a...
33.405405
136
0.696602
169
1,236
4.775148
0.43787
0.069393
0.089219
0.042131
0.2057
0.2057
0.146221
0.146221
0.146221
0.146221
0
0.007913
0.182039
1,236
36
137
34.333333
0.790307
0.018608
0
0
0
0
0.142979
0.046809
0
0
0
0
0
1
0
false
0
0.32
0
0.32
0
0
0
0
null
0
0
0
0
0
0
0
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
893396580618fe46a8f03c5bdc216e31931bfcc5
995
py
Python
core/migrations/0005_sitecontacted.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
core/migrations/0005_sitecontacted.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
core/migrations/0005_sitecontacted.py
andrsko/convabout-server-v1
480554375908c923e7a210af1747096654459930
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-26 09:42 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sessions', '0001_initial'), ('core', '0004_auto_20200603_1414'), ] operations = [ migrations.Create...
36.851852
136
0.61407
110
995
5.418182
0.572727
0.040268
0.04698
0.073826
0.097315
0.097315
0.097315
0
0
0
0
0.058433
0.243216
995
26
137
38.269231
0.733068
0.045226
0
0
1
0
0.124473
0.024262
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
893a961510b9b2debe3a56fae0c48c8fcc83e81e
14,993
py
Python
python/isarnproject/sketches/spark/tdigest.py
SemanticBeeng/isarn-sketches-spark
2da0648c22e79e63173c4dbe68a6d906f5f57977
[ "Apache-2.0" ]
26
2017-07-02T19:11:58.000Z
2022-03-06T23:53:05.000Z
python/isarnproject/sketches/spark/tdigest.py
erikerlandson/isarn-sketches-spark
5754ee635a58380bab21050842378b384cd4947f
[ "Apache-2.0" ]
19
2017-07-19T02:00:23.000Z
2021-01-29T17:40:07.000Z
python/isarnproject/sketches/spark/tdigest.py
erikerlandson/isarn-sketches-spark
5754ee635a58380bab21050842378b384cd4947f
[ "Apache-2.0" ]
9
2017-06-29T23:08:56.000Z
2022-03-06T23:53:34.000Z
import sys import random import itertools as it from bisect import bisect_left, bisect_right from pyspark.sql.types import UserDefinedType, StructField, StructType, \ ArrayType, DoubleType, IntegerType from pyspark.sql.column import Column, _to_java_column, _to_seq from pyspark.context import SparkContext __all__...
39.875
106
0.661976
1,922
14,993
5.066597
0.129553
0.004929
0.01602
0.019717
0.634319
0.609468
0.607312
0.607312
0.607312
0.607312
0
0.018939
0.235777
14,993
375
107
39.981333
0.830948
0.341093
0
0.384211
0
0
0.054139
0.01427
0
0
0
0
0.036842
1
0.184211
false
0
0.036842
0.042105
0.421053
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
89548619a6e6c858792f9e25654ec96a73ef0223
330
py
Python
users/migrations/0008_remove_user_is_superuser.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
null
null
null
users/migrations/0008_remove_user_is_superuser.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
7
2021-03-19T03:09:53.000Z
2022-01-13T02:48:44.000Z
users/migrations/0008_remove_user_is_superuser.py
amado-developer/ReadHub-RestfulAPI
8d8b445c4a84810d52bbf78a2593e0b48351590c
[ "MIT" ]
null
null
null
# Generated by Django 3.0.6 on 2020-06-05 02:49 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('users', '0007_auto_20200605_0245'), ] operations = [ migrations.RemoveField( model_name='user', name='is_superuser', ...
18.333333
47
0.593939
36
330
5.305556
0.861111
0
0
0
0
0
0
0
0
0
0
0.133047
0.293939
330
17
48
19.411765
0.686695
0.136364
0
0
1
0
0.155477
0.081272
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
895b86cb5154a090bf0dd6a3981ae30fbddf56c8
689
py
Python
mundo-2/condicoes/ex039.py
fln99/curso-python
23176a65cec6d2e1e114ac7ff500d6b0dac95630
[ "MIT" ]
null
null
null
mundo-2/condicoes/ex039.py
fln99/curso-python
23176a65cec6d2e1e114ac7ff500d6b0dac95630
[ "MIT" ]
null
null
null
mundo-2/condicoes/ex039.py
fln99/curso-python
23176a65cec6d2e1e114ac7ff500d6b0dac95630
[ "MIT" ]
null
null
null
from datetime import date ano_atual = date.today().year print('-+-' * 14) print('{:^40}'.format('Exército do Python')) print('Consulte a situação de teu alistamento!') print('-+-' * 14) ano_nasc = int(input('Ano de seu nascimento: ')) idade_usuario = ano_atual - ano_nasc if idade_usuario > 18: print('Você se a...
31.318182
101
0.696662
105
689
4.47619
0.552381
0.153191
0.119149
0.121277
0.16383
0.114894
0
0
0
0
0
0.027682
0.161103
689
22
102
31.318182
0.785467
0
0
0.125
0
0
0.449275
0
0
0
0
0
0
1
0
false
0
0.0625
0
0.0625
0.5625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
897b6ab713e3ef8477971133cdf2c9447f748b4c
2,391
py
Python
doc/examples/2_seismics/plot_04_koenigsee.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
null
null
null
doc/examples/2_seismics/plot_04_koenigsee.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
null
null
null
doc/examples/2_seismics/plot_04_koenigsee.py
baender/gimli
eb9a2204669cf11209b9577472f61ac70217a191
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ .. _ex:koenigsee: Field data inversion ("Koenigsee") ================================== This minimalistic example shows how the Refraction Manager can be used to invert a field data set. Here, we consider the Koenigsee data set, which represents classical refraction s...
41.224138
83
0.56629
270
2,391
4.996296
0.566667
0.020756
0.044477
0
0
0
0
0
0
0
0
0.009018
0.118779
2,391
57
84
41.947368
0.631229
0.566708
0
0
0
0
0.055432
0.053215
0
0
0
0.017544
0
1
0
false
0
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
897e639a8cb849744fb5b0089ab57c6158187aa6
2,075
py
Python
tests/test_ytu.py
yaph/ytu
912325a035833af208149000cc2c0224e2695751
[ "MIT" ]
null
null
null
tests/test_ytu.py
yaph/ytu
912325a035833af208149000cc2c0224e2695751
[ "MIT" ]
null
null
null
tests/test_ytu.py
yaph/ytu
912325a035833af208149000cc2c0224e2695751
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import ytu def test_is_youtube(): tests = [ ('http://youtu.be/zoLVUxKCWhY', True), ('http://www.youtube.com/watch?v=VvRC0wxM-yM', True), ('http://wwwwwwyoutube.com/watch?v=VvRC0wxM-yM', False), ('http://example.com/zoLVUxKCWhY', False) ...
51.875
175
0.658795
286
2,075
4.72028
0.377622
0.118519
0.154074
0.12
0.377037
0.272593
0.099259
0.048889
0
0
0
0.054464
0.141687
2,075
39
176
53.205128
0.703537
0.060241
0
0.133333
0
0.2
0.696814
0
0
0
0
0
0.066667
1
0.066667
false
0
0.033333
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
897ff16d025822ade59c143d970935e978bb1209
2,156
py
Python
layerserver/migrations/0019_geojsonlayer_permissions.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
5
2018-06-07T12:54:35.000Z
2022-01-14T10:38:38.000Z
layerserver/migrations/0019_geojsonlayer_permissions.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
140
2018-06-18T10:27:28.000Z
2022-03-23T09:53:15.000Z
layerserver/migrations/0019_geojsonlayer_permissions.py
aroiginfraplan/giscube-admin
b7f3131b0186f847f3902df97f982cb288b16a49
[ "BSD-3-Clause" ]
1
2021-04-13T11:20:54.000Z
2021-04-13T11:20:54.000Z
# Generated by Django 2.2.11 on 2020-05-06 05:08 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('auth', '0011_update_pro...
43.12
155
0.614564
213
2,156
6.028169
0.338028
0.094237
0.054517
0.08567
0.400312
0.400312
0.400312
0.400312
0.400312
0.400312
0
0.024876
0.254174
2,156
49
156
44
0.773632
0.021336
0
0.348837
1
0
0.20019
0.072581
0
0
0
0
0
1
0
false
0
0.069767
0
0.139535
0
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
8987b01a71b7aa17160b10a7fcaa4a26cc41c7de
19,726
py
Python
sieve_common/k8s_event.py
OmerKahani/sieve
494d180c7e46a4fb7e84fd6274ac0432d63dacdc
[ "BSD-2-Clause" ]
null
null
null
sieve_common/k8s_event.py
OmerKahani/sieve
494d180c7e46a4fb7e84fd6274ac0432d63dacdc
[ "BSD-2-Clause" ]
null
null
null
sieve_common/k8s_event.py
OmerKahani/sieve
494d180c7e46a4fb7e84fd6274ac0432d63dacdc
[ "BSD-2-Clause" ]
null
null
null
import json from typing import Dict, List, Optional, Set, Tuple, Union from sieve_common.event_delta import diff_event, conflicting_event_payload from sieve_common.default_config import sieve_config from controllers import deployment_name HEAR_READ_FILTER_FLAG = True ERROR_MSG_FILTER_FLAG = True # flags for time tra...
28.18
109
0.667444
2,486
19,726
4.921158
0.087289
0.050351
0.064084
0.019127
0.589832
0.533268
0.461337
0.443682
0.431748
0.404365
0
0.003878
0.241813
19,726
699
110
28.220315
0.814121
0.028186
0
0.506446
0
0
0.035442
0.002453
0
0
0
0.001431
0.031308
1
0.187845
false
0
0.009208
0.106814
0.39779
0
0
0
0
null
0
0
0
0
0
0
0
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
898955a4b7946fcab73483133047c7e56d102db2
627
py
Python
example/example/schema.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
7
2020-08-28T16:17:02.000Z
2021-11-11T18:01:20.000Z
example/example/schema.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
null
null
null
example/example/schema.py
andrenerd/django-multiform-authentication
4a8b94ebd660cc7afc7dcdedcc12344ef85e6615
[ "MIT" ]
2
2021-01-06T04:11:28.000Z
2021-05-19T14:43:52.000Z
from rest_framework import permissions from drf_yasg.views import get_schema_view from drf_yasg import openapi ShemaView = get_schema_view( openapi.Info( title='Multauth Example API', default_version='v1', description='Authentication flow: email, password and passcode (using Google Authenticator...
31.35
114
0.722488
75
627
5.893333
0.733333
0.031674
0.049774
0
0
0
0
0
0
0
0
0.001894
0.157895
627
19
115
33
0.835227
0.298246
0
0
0
0
0.264368
0
0
0
0
0
0
1
0
false
0.083333
0.25
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
898e0721c04e8b634de76e473138c9647f936805
2,045
py
Python
backend/reports/migrations/0001_initial.py
nikhilkutinha/athena
dd46eac06ed3bf2d24e4c0882c1a79adca8025b5
[ "MIT" ]
1
2021-02-12T10:25:03.000Z
2021-02-12T10:25:03.000Z
backend/reports/migrations/0001_initial.py
nikhilkutinha/athena
dd46eac06ed3bf2d24e4c0882c1a79adca8025b5
[ "MIT" ]
null
null
null
backend/reports/migrations/0001_initial.py
nikhilkutinha/athena
dd46eac06ed3bf2d24e4c0882c1a79adca8025b5
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-12 07:40 import django.core.validators from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Region',...
47.55814
138
0.608802
210
2,045
5.847619
0.409524
0.065961
0.063518
0.083062
0.461726
0.461726
0.286645
0.226384
0.226384
0.226384
0
0.016699
0.238631
2,045
42
139
48.690476
0.771997
0.022005
0
0.285714
1
0
0.087588
0
0
0
0
0
0
1
0
false
0
0.085714
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
899b022c144fa84a068760a6003f5488952bfa8a
885
py
Python
scripts/generate_submit_set.py
imos/icfpc2021
208322b65100f1a8b38831335330c96cb750d4fe
[ "MIT" ]
4
2021-07-12T12:22:39.000Z
2022-03-08T01:43:32.000Z
scripts/generate_submit_set.py
imos/icfpc2021
208322b65100f1a8b38831335330c96cb750d4fe
[ "MIT" ]
null
null
null
scripts/generate_submit_set.py
imos/icfpc2021
208322b65100f1a8b38831335330c96cb750d4fe
[ "MIT" ]
null
null
null
import subprocess import json def main(set_path): for (problem_id, line) in enumerate(open(set_path).readlines()): if line.strip() == "": continue problem_id = problem_id + 1 submission_id, globalist_source_problem = line.split(' ') globalist_source_problem = int(globa...
26.818182
84
0.59435
106
885
4.679245
0.443396
0.181452
0.266129
0.108871
0.137097
0
0
0
0
0
0
0.006279
0.280226
885
32
85
27.65625
0.77237
0
0
0
0
0
0.144633
0
0
0
0
0
0
1
0.041667
false
0
0.125
0
0.166667
0.041667
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
899ca1bfbde1fde5ae98fb6cc2431d8af159547b
1,323
py
Python
scatterauth/forms.py
caniko2/django-scatter-auth
962b352f4deaf91de7daa8a85b8ee82852962032
[ "MIT" ]
null
null
null
scatterauth/forms.py
caniko2/django-scatter-auth
962b352f4deaf91de7daa8a85b8ee82852962032
[ "MIT" ]
null
null
null
scatterauth/forms.py
caniko2/django-scatter-auth
962b352f4deaf91de7daa8a85b8ee82852962032
[ "MIT" ]
null
null
null
from scatterauth.settings import app_settings from django import forms from django.contrib.auth import authenticate, get_user_model from django.utils.translation import ugettext_lazy as _ class LoginForm(forms.Form): nonce = forms.CharField(widget=forms.HiddenInput, max_length=12) public_key = forms.CharFiel...
36.75
117
0.763416
171
1,323
5.643275
0.421053
0.068394
0.11399
0.134715
0.334715
0.334715
0.296373
0.107772
0.107772
0
0
0.008945
0.154951
1,323
35
118
37.8
0.854204
0.292517
0
0
0
0
0.006472
0
0
0
0
0
0
1
0.0625
false
0
0.25
0.0625
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
899f4088f81cd801d0a257477eec24ff1e6b9fed
502
py
Python
tests/factories/input/definitions/integer_input_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
1
2020-12-30T12:43:34.000Z
2020-12-30T12:43:34.000Z
tests/factories/input/definitions/integer_input_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
59
2019-12-25T13:14:56.000Z
2021-07-22T12:24:46.000Z
tests/factories/input/definitions/integer_input_definition.py
TheLabbingProject/django_analyses
08cac40a32754a265b37524f08ec6160c69ebea8
[ "Apache-2.0" ]
2
2020-05-24T06:44:27.000Z
2020-07-09T15:47:31.000Z
from factory import Faker from factory.django import DjangoModelFactory class IntegerInputDefinitionFactory(DjangoModelFactory): key = Faker("pystr", min_chars=3, max_chars=50) required = Faker("pybool") description = Faker("sentence") min_value = Faker("pyint", min_value=-20, max_value=-10) max_v...
33.466667
60
0.7251
62
502
5.693548
0.467742
0.090652
0.110482
0.152975
0.186969
0.186969
0.186969
0.186969
0
0
0
0.035545
0.159363
502
14
61
35.857143
0.800948
0
0
0
0
0
0.143426
0.075697
0
0
0
0
0
1
0
false
0
0.181818
0
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
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
89a121f9b5bfb609437f988b7215fb90af0fe375
5,333
py
Python
pysnmp/Juniper-MPLS-CONF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
11
2021-02-02T16:27:16.000Z
2021-08-31T06:22:49.000Z
pysnmp/Juniper-MPLS-CONF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
75
2021-02-24T17:30:31.000Z
2021-12-08T00:01:18.000Z
pysnmp/Juniper-MPLS-CONF.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module Juniper-MPLS-CONF (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/Juniper-MPLS-CONF # Produced by pysmi-0.3.4 at Mon Apr 29 19:52:41 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, Ma...
106.66
477
0.738421
659
5,333
5.972686
0.230653
0.012195
0.057927
0.079268
0.587907
0.537602
0.537602
0.537602
0.537602
0.537602
0
0.078964
0.130883
5,333
49
478
108.836735
0.770227
0.061504
0
0.285714
0
0.142857
0.386509
0.008807
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89a320188ec4e3f9d2d2478fd61eb127089a68c7
2,514
py
Python
tests/test_version.py
goalsgame/ueimporter
027165b455d7f6d16537f9f360d2ddb8a7420964
[ "Apache-2.0", "MIT" ]
null
null
null
tests/test_version.py
goalsgame/ueimporter
027165b455d7f6d16537f9f360d2ddb8a7420964
[ "Apache-2.0", "MIT" ]
null
null
null
tests/test_version.py
goalsgame/ueimporter
027165b455d7f6d16537f9f360d2ddb8a7420964
[ "Apache-2.0", "MIT" ]
null
null
null
import json import ueimporter.version as version def test_ueimporter_json_with_tag_will_succeed(): version_dict = { 'GitReleaseTag': '4.27.1-release' } assert version.UEImporterJson( version_dict).git_release_tag == '4.27.1-release' def test_ueimporter_json_without_key_will_yield_empty_...
28.247191
76
0.684964
330
2,514
4.845455
0.151515
0.031895
0.097561
0.061914
0.761726
0.672295
0.612883
0.580988
0.405253
0.357724
0
0.044444
0.176611
2,514
88
77
28.568182
0.728019
0
0
0.357143
0
0
0.167155
0.009636
0
0
0
0
0.25
1
0.178571
false
0
0.303571
0
0.482143
0
0
0
0
null
0
0
0
0
0
0
0
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
89a3806eff5d1b64cd68a43274f21baafb70d4ce
2,970
py
Python
Q/questionnaire/tests/tests_unit/tests_views/test_views_legacy.py
ES-DOC/esdoc-questionnaire
9301eda375c4046323265b37ba96d94c94bf8b11
[ "MIT" ]
null
null
null
Q/questionnaire/tests/tests_unit/tests_views/test_views_legacy.py
ES-DOC/esdoc-questionnaire
9301eda375c4046323265b37ba96d94c94bf8b11
[ "MIT" ]
477
2015-01-07T18:22:27.000Z
2017-07-17T15:05:48.000Z
Q/questionnaire/tests/tests_unit/tests_views/test_views_legacy.py
ES-DOC/esdoc-questionnaire
9301eda375c4046323265b37ba96d94c94bf8b11
[ "MIT" ]
null
null
null
#################### # ES-DOC CIM Questionnaire # Copyright (c) 2015 ES-DOC. All rights reserved. # # University of Colorado, Boulder # http://cires.colorado.edu/ # # This project is distributed according to the terms of the MIT license [http://www.opensource.org/licenses/MIT]. #################### __author_...
34.534884
146
0.645455
371
2,970
4.986523
0.41779
0.032432
0.035676
0.029189
0.192432
0.155676
0.155676
0.103784
0.063784
0.063784
0
0.008834
0.23771
2,970
85
147
34.941176
0.808304
0.304377
0
0.095238
0
0
0.077251
0
0
0
0
0.011765
0.095238
1
0.071429
false
0
0.119048
0
0.214286
0
0
0
0
null
0
0
0
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
89a61e573294f45388e0fdd14e4ad999d7414372
539
py
Python
ejercicio1/reducer.py
josefigueirasm/MUEI-ICS-MAP-REDUCE
5fd3596c3680d97aba478514ce3b64edec20a725
[ "MIT" ]
null
null
null
ejercicio1/reducer.py
josefigueirasm/MUEI-ICS-MAP-REDUCE
5fd3596c3680d97aba478514ce3b64edec20a725
[ "MIT" ]
null
null
null
ejercicio1/reducer.py
josefigueirasm/MUEI-ICS-MAP-REDUCE
5fd3596c3680d97aba478514ce3b64edec20a725
[ "MIT" ]
null
null
null
#!/usr/bin/env python import sys NULL = "-9999.0" minCheck = 0 for line in sys.stdin: # remove leading and trailing whitespace clean_line = line.strip() # parse the input we got from mapper.py temp, city = clean_line.split() # Check if the value is valid and it's the first time it enters if te...
26.95
79
0.669759
88
539
4.034091
0.590909
0.101408
0.033803
0
0
0
0
0
0
0
0
0.02005
0.25974
539
19
80
28.368421
0.869674
0.461967
0
0
0
0
0.024648
0
0
0
0
0
0
0
null
null
0
0.090909
null
null
0.181818
0
0
0
null
0
0
0
0
0
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
89a7412b3a7e700a90b12ef96d20163621fdffad
3,992
py
Python
scratch/normalize.py
bemineni/USCIS
ab04329f5a5c00bb43181244235ca62ff2b00cf4
[ "MIT" ]
null
null
null
scratch/normalize.py
bemineni/USCIS
ab04329f5a5c00bb43181244235ca62ff2b00cf4
[ "MIT" ]
null
null
null
scratch/normalize.py
bemineni/USCIS
ab04329f5a5c00bb43181244235ca62ff2b00cf4
[ "MIT" ]
null
null
null
import argparse import csv def findCategory(status): # Received state if "Fingerprint Fee Was Received" in status: return 1 elif "Expedite Request Denied" in status: return 1 elif "Case Was Received" in status: return 1 elif "Case Was Reopened" in status: return 1 ...
30.945736
106
0.645541
526
3,992
4.876426
0.309886
0.127875
0.223782
0.064327
0.350877
0.249123
0.198051
0.069396
0.069396
0.038207
0
0.029893
0.296092
3,992
128
107
31.1875
0.882918
0.037325
0
0.40404
0
0
0.37389
0
0
0
0
0
0
1
0.010101
false
0
0.020202
0
0.454545
0.020202
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89af7857d52d134c3d20d0951b295718d43b372c
9,056
py
Python
flatisfy/cmds.py
guix77/Flatisfy
822daed43ebd5169bbaa38e76a8380213ff7b472
[ "MIT" ]
null
null
null
flatisfy/cmds.py
guix77/Flatisfy
822daed43ebd5169bbaa38e76a8380213ff7b472
[ "MIT" ]
null
null
null
flatisfy/cmds.py
guix77/Flatisfy
822daed43ebd5169bbaa38e76a8380213ff7b472
[ "MIT" ]
null
null
null
# coding: utf-8 """ Main commands available for flatisfy. """ from __future__ import absolute_import, print_function, unicode_literals import collections import logging import os import flatisfy.filters from flatisfy import database from flatisfy import email from flatisfy.models import flat as flat_model from flatis...
35.375
79
0.630852
1,106
9,056
4.983725
0.216094
0.039913
0.023585
0.016328
0.269049
0.199565
0.171807
0.152213
0.140965
0.12754
0
0.000623
0.291188
9,056
255
80
35.513725
0.858078
0.279373
0
0.090909
0
0
0.073564
0
0
0
0
0
0
1
0.034965
false
0.160839
0.104895
0
0.160839
0.006993
0
0
0
null
0
0
0
0
0
0
0
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
89afae692886844f0079f75b28b13b53dd3c916c
1,665
py
Python
individuals/arantza/03_language_replacement/paragraph_3.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
2
2019-01-02T17:58:24.000Z
2019-09-15T16:26:00.000Z
individuals/arantza/03_language_replacement/paragraph_3.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
null
null
null
individuals/arantza/03_language_replacement/paragraph_3.py
periode/software-art-text
bc512345bb8e293f165077587b343407fba61d71
[ "Unlicense" ]
null
null
null
#### import modules #### from textblob import TextBlob import random import re #### import twitter database into program #### word_database = [] with open('final_dataset.txt') as my_file: word_database = my_file.read().split() #### join and process words #### database_sentence = " ".join(word_database) new_databa...
26.854839
65
0.604204
217
1,665
4.437788
0.37788
0.065421
0.058152
0.016615
0.07269
0
0
0
0
0
0
0.009339
0.228228
1,665
62
66
26.854839
0.740078
0.142342
0
0
0
0
0.060338
0
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.047619
0
0
0
null
0
0
0
0
0
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
89b2cfa9d4e1f1b408c68af599f3cda99aff0605
17,306
py
Python
src/relstorage/adapters/tests/test_batch.py
enfold/relstorage
9fcd526b537cb6537cc2ae33154b63096550f210
[ "ZPL-2.1" ]
40
2015-10-08T05:35:13.000Z
2022-03-28T23:50:06.000Z
src/relstorage/adapters/tests/test_batch.py
enfold/relstorage
9fcd526b537cb6537cc2ae33154b63096550f210
[ "ZPL-2.1" ]
364
2015-03-23T15:25:42.000Z
2022-03-17T08:41:34.000Z
src/relstorage/adapters/tests/test_batch.py
enfold/relstorage
9fcd526b537cb6537cc2ae33154b63096550f210
[ "ZPL-2.1" ]
33
2015-06-08T23:03:22.000Z
2022-03-21T08:25:53.000Z
############################################################################## # # Copyright (c) 2009 Zope Foundation and Contributors. # All Rights Reserved. # # This software is subject to the provisions of the Zope Public License, # Version 2.1 (ZPL). A copy of the ZPL should accompany this distribution. # THIS SOF...
33.866928
95
0.523345
1,857
17,306
4.71944
0.11147
0.12152
0.105431
0.069489
0.751712
0.700593
0.653925
0.594934
0.554884
0.521109
0
0.02108
0.336646
17,306
510
96
33.933333
0.742334
0.041489
0
0.610738
0
0
0.140681
0
0
0
0
0
0.165548
1
0.053691
false
0.004474
0.017897
0
0.127517
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
89b43d1128c7fad0eaab8f595c4ad81c41ea0805
1,484
py
Python
012.py
Mytho/project-euler-python
6546447828f56d42ce26978d4285a84df4a10f82
[ "MIT" ]
1
2015-08-28T18:04:38.000Z
2015-08-28T18:04:38.000Z
012.py
Mytho/project-euler-python
6546447828f56d42ce26978d4285a84df4a10f82
[ "MIT" ]
null
null
null
012.py
Mytho/project-euler-python
6546447828f56d42ce26978d4285a84df4a10f82
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- """ PROBLEM 12 ---------- The sequence of triangle numbers is generated by adding the natural numbers. So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be: 1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ... ...
24.733333
80
0.564016
240
1,484
3.445833
0.4625
0.048368
0.058041
0.079807
0.087062
0.087062
0.087062
0.087062
0
0
0
0.093294
0.306604
1,484
59
81
25.152542
0.710398
0.602426
0
0
1
0
0.016842
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.3
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
89b6ae014f8c0be2103b617abbad26d06c09cbe3
547
py
Python
manage.py
eolchina/tna.pyspecies
e8922c7ad0bdc2f5e78030b1dcd6753ce5442f03
[ "MIT" ]
null
null
null
manage.py
eolchina/tna.pyspecies
e8922c7ad0bdc2f5e78030b1dcd6753ce5442f03
[ "MIT" ]
null
null
null
manage.py
eolchina/tna.pyspecies
e8922c7ad0bdc2f5e78030b1dcd6753ce5442f03
[ "MIT" ]
null
null
null
#!/usr/bin/env python # # manage.py 用于启动程序以及其他的程序任务 import os # from flask import Flask # from flask_sqlalchemy import SQLAlchemy from flask_script import Manager from flask_migrate import Migrate, MigrateCommand from app import app, db from flask_debugtoolbar import DebugToolbarExtension app.config.from_object(os.en...
21.88
52
0.789762
71
547
5.873239
0.450704
0.107914
0
0
0
0
0
0
0
0
0
0
0.126143
547
24
53
22.791667
0.872385
0.244973
0
0
0
0
0.054054
0
0
0
0
0
0
1
0
false
0
0.416667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
0
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
98231983d4e621d36c151fcdb35f899e53c27228
500
py
Python
djTest/pages.py
born2code4u/game
2290c2f48034e8cce6c037b5bff1934e3710a6c5
[ "Apache-2.0" ]
null
null
null
djTest/pages.py
born2code4u/game
2290c2f48034e8cce6c037b5bff1934e3710a6c5
[ "Apache-2.0" ]
null
null
null
djTest/pages.py
born2code4u/game
2290c2f48034e8cce6c037b5bff1934e3710a6c5
[ "Apache-2.0" ]
null
null
null
from otree.api import Currency as c, currency_range from ._builtin import Page, WaitPage from .models import Constants def detail(request, question_id): question = get_object_or_404(Question, pk=question_id) return render(request, 'djTest/index.html', {'question': question}) class MyPage(Page): pass clas...
20
71
0.728
63
500
5.603175
0.619048
0.056657
0
0
0
0
0
0
0
0
0
0.007353
0.184
500
24
72
20.833333
0.857843
0
0
0.166667
0
0
0.05
0
0
0
0
0
0
1
0.111111
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
982954b0ccc30c7b2fbd762cacbdad18b39007d5
1,008
py
Python
messages/ClientAddContributorMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
2
2020-04-15T11:20:59.000Z
2021-05-12T13:01:36.000Z
messages/ClientAddContributorMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
1
2018-06-05T04:48:56.000Z
2018-06-05T04:48:56.000Z
messages/ClientAddContributorMessage.py
zadjii/nebula
50c4ec019c9f7eb15fe105a6c53a8a12880e281c
[ "MIT" ]
1
2018-08-15T06:45:46.000Z
2018-08-15T06:45:46.000Z
# last generated 2016-10-14 13:51:52.131000 from messages import BaseMessage from msg_codes import CLIENT_ADD_CONTRIBUTOR as CLIENT_ADD_CONTRIBUTOR __author__ = 'Mike' class ClientAddContributorMessage(BaseMessage): def __init__(self, sid=None, new_user_id=None, cloud_uname=None, cname=None, fpath=None, permissio...
34.758621
111
0.691468
125
1,008
5.248
0.344
0.085366
0.068598
0
0
0
0
0
0
0
0
0.025413
0.219246
1,008
28
112
36
0.808132
0.040675
0
0
1
0
0.051867
0
0
0
0
0
0
1
0.086957
false
0
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
983deb29a522163237e4b049702e223baa1c3bc6
396
py
Python
apps/article/urls.py
moogoo78/portal20
085d598af0448ad34e22aa55981f7e82a042a893
[ "MIT" ]
7
2020-12-31T13:57:58.000Z
2022-02-07T08:05:15.000Z
apps/article/urls.py
moogoo78/portal20
085d598af0448ad34e22aa55981f7e82a042a893
[ "MIT" ]
75
2020-03-16T07:18:28.000Z
2022-03-31T09:55:15.000Z
apps/article/urls.py
moogoo78/portal20
085d598af0448ad34e22aa55981f7e82a042a893
[ "MIT" ]
9
2020-01-06T14:08:51.000Z
2022-01-03T05:19:54.000Z
from django.urls import path, re_path from . import views urlpatterns = [ path('category/<str:category>/', views.article_list, name='article-list'), path('tag/<str:tag_name>/', views.article_tag_list, name='article-tag-list'), path('<int:pk>/', views.article_detail, name='article-detail-id'), #path('<...
36
85
0.689394
56
396
4.75
0.339286
0.180451
0.112782
0.165414
0.263158
0.263158
0
0
0
0
0
0
0.108586
396
10
86
39.6
0.753541
0.20202
0
0
0
0
0.307937
0.07619
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98435b3236ccaf02385bfcf2d3565b1651f4e344
1,924
py
Python
program/object-detection-tf-py/tensorRT_hooks.py
G4V/ck-tensorflow
33800f112c77270cb989e8b1c72aea9555849699
[ "BSD-3-Clause" ]
108
2016-08-16T09:35:49.000Z
2021-12-01T06:19:04.000Z
program/object-detection-tf-py/tensorRT_hooks.py
G4V/ck-tensorflow
33800f112c77270cb989e8b1c72aea9555849699
[ "BSD-3-Clause" ]
62
2016-11-09T00:38:37.000Z
2020-07-01T13:50:33.000Z
program/object-detection-tf-py/tensorRT_hooks.py
G4V/ck-tensorflow
33800f112c77270cb989e8b1c72aea9555849699
[ "BSD-3-Clause" ]
23
2016-09-29T16:04:23.000Z
2020-09-08T09:11:32.000Z
''' hooks for using tensorRT with the object detection program. names and parameters are defined as required by the detect.py infrastructure. ''' import tensorflow as tf import tensorflow.contrib.tensorrt as trt def load_graph_tensorrt(params): graph_def = tf.compat.v1.GraphDef() with tf.compat.v1.gfile.GFile(pa...
40.93617
198
0.760915
286
1,924
4.835664
0.377622
0.040492
0.050615
0.057845
0.203181
0.203181
0.165582
0.08966
0.08966
0.08966
0
0.015663
0.137214
1,924
46
199
41.826087
0.81747
0.230769
0
0
0
0
0.258703
0.081229
0
0
0
0
0
1
0.103448
false
0
0.310345
0.034483
0.482759
0
0
0
0
null
0
0
0
0
0
0
0
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
984c6c03681d5a221108ebb1a5b6532f5fb1df2e
7,532
py
Python
arclines/misc/low_redux.py
pypeit/arclines
63f208760f3592525ef552bd1b342965f05dd231
[ "BSD-3-Clause" ]
2
2017-03-16T22:39:25.000Z
2017-04-20T19:35:32.000Z
arclines/misc/low_redux.py
pypeit/arclines
63f208760f3592525ef552bd1b342965f05dd231
[ "BSD-3-Clause" ]
29
2016-12-17T16:16:45.000Z
2018-07-16T15:04:04.000Z
arclines/misc/low_redux.py
pypeit/arclines
63f208760f3592525ef552bd1b342965f05dd231
[ "BSD-3-Clause" ]
3
2017-04-20T19:34:37.000Z
2018-02-21T21:19:01.000Z
""" Generate hdf5 files from LowRedux save files """ from __future__ import print_function, absolute_import, division, unicode_literals import os import numpy as np import pdb import h5py from scipy.io.idl import readsav from astropy.table import Table from astropy import units as u import arclines out_path = arclin...
29.653543
118
0.528943
1,000
7,532
3.851
0.274
0.030382
0.037393
0.011685
0.107505
0.070631
0.044144
0.036874
0.036874
0.017658
0
0.03993
0.315056
7,532
253
119
29.770751
0.706532
0.1094
0
0.121212
1
0
0.121763
0.006361
0
0
0
0
0
1
0.030303
false
0
0.084848
0
0.133333
0.024242
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
984f7df2ef76720805f99eaf06f90dcb252d2bcd
758
py
Python
monitor/migrations/0004_auto_20170912_1037.py
gserv/mining_monitor
1967f24a0a64c358386cd9c7dc888766896fb4bb
[ "MIT" ]
null
null
null
monitor/migrations/0004_auto_20170912_1037.py
gserv/mining_monitor
1967f24a0a64c358386cd9c7dc888766896fb4bb
[ "MIT" ]
null
null
null
monitor/migrations/0004_auto_20170912_1037.py
gserv/mining_monitor
1967f24a0a64c358386cd9c7dc888766896fb4bb
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.4 on 2017-09-12 02:37 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('monitor', '0003_auto_20170912_1018'), ] operations = [ migrations.AddField(...
27.071429
83
0.617414
81
758
5.555556
0.62963
0.08
0.102222
0.12
0.546667
0.546667
0.342222
0.342222
0.342222
0.342222
0
0.07804
0.273087
758
27
84
28.074074
0.738657
0.08971
0
0.5
1
0
0.107715
0.033479
0
0
0
0
0
1
0
false
0
0.1
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
98554dfb4d769e0f91e453ecda4b6cd6ea932869
5,452
py
Python
tests/unit/test_regmap.py
crzdg/acconeer-python-exploration
26c16a3164199c58fe2940fe7050664d0d0e1161
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/unit/test_regmap.py
crzdg/acconeer-python-exploration
26c16a3164199c58fe2940fe7050664d0d0e1161
[ "BSD-3-Clause-Clear" ]
null
null
null
tests/unit/test_regmap.py
crzdg/acconeer-python-exploration
26c16a3164199c58fe2940fe7050664d0d0e1161
[ "BSD-3-Clause-Clear" ]
null
null
null
import inspect import pytest import acconeer.exptool.structs.configbase as cb from acconeer.exptool import configs from acconeer.exptool.clients.reg import regmap from acconeer.exptool.modes import Mode BO = regmap.BYTEORDER def test_full_names_unique(): unique_names = set([r.full_name for r in regmap.REGISTE...
28.846561
95
0.689288
779
5,452
4.637997
0.151476
0.107113
0.103792
0.041517
0.548575
0.508442
0.411846
0.310268
0.245779
0.123997
0
0.018166
0.182135
5,452
188
96
29
0.792106
0.01339
0
0.204918
0
0
0.066816
0
0
0
0
0
0.42623
1
0.131148
false
0.016393
0.04918
0
0.180328
0
0
0
0
null
0
0
0
0
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
9864cae32aca76f9728c92f236fa96c54b61eea5
343
py
Python
python/tasks/task11.py
eiseazei/core
54f35447aa05c23cc1c142ee4145b40ba1320538
[ "Apache-2.0" ]
null
null
null
python/tasks/task11.py
eiseazei/core
54f35447aa05c23cc1c142ee4145b40ba1320538
[ "Apache-2.0" ]
null
null
null
python/tasks/task11.py
eiseazei/core
54f35447aa05c23cc1c142ee4145b40ba1320538
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python3.7 from common import test_input_integer, \ handle_age_input, \ num_denum, \ week_day # test user input and make exception if bad test_input_integer() # test age value handle_age_input() # test two input values and divide num_denum() # pri...
18.052632
43
0.632653
47
343
4.361702
0.574468
0.102439
0.156098
0
0
0
0
0
0
0
0
0.008299
0.297376
343
18
44
19.055556
0.842324
0.364431
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.125
0
0.125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
986511b28e527c443fd60d50b5e9ef388584701d
1,237
py
Python
tester.py
abr-98/Chatbot_modified
f8fc7425756fa4bad0e08f05bf9acf878e69ebae
[ "MIT" ]
10
2020-07-08T15:51:47.000Z
2021-12-06T18:30:22.000Z
tester.py
abr-98/Chatbot_modified
f8fc7425756fa4bad0e08f05bf9acf878e69ebae
[ "MIT" ]
null
null
null
tester.py
abr-98/Chatbot_modified
f8fc7425756fa4bad0e08f05bf9acf878e69ebae
[ "MIT" ]
4
2020-10-01T13:56:28.000Z
2022-01-04T13:25:35.000Z
from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.keys import Keys from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import webbrowser import requests import time import datetime from bs4 impo...
23.788462
64
0.645918
167
1,237
4.736527
0.479042
0.075853
0.106195
0.060683
0
0
0
0
0
0
0
0.01606
0.244947
1,237
52
65
23.788462
0.830835
0.008892
0
0
0
0
0.115008
0
0
0
0
0
0
1
0.02381
false
0
0.309524
0
0.333333
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
986aa236097ac984af4640a30352ed8c5f15befb
1,278
py
Python
strats/always_come.py
crschmidt/crapssim
924973690d6c504e9312c0b5d7b868dba6fa3191
[ "Apache-2.0" ]
null
null
null
strats/always_come.py
crschmidt/crapssim
924973690d6c504e9312c0b5d7b868dba6fa3191
[ "Apache-2.0" ]
null
null
null
strats/always_come.py
crschmidt/crapssim
924973690d6c504e9312c0b5d7b868dba6fa3191
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright 2022 Christopher Schmidt # # 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...
28.4
74
0.615023
187
1,278
4.085562
0.524064
0.078534
0.068063
0.041885
0.065445
0.065445
0
0
0
0
0
0.036403
0.269171
1,278
44
75
29.045455
0.781585
0.450704
0
0.230769
0
0
0.047965
0
0
0
0
0
0
1
0.076923
false
0.269231
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
0
0
0
0
1
0
0
0
0
0
1
986bcd901befb40138a78ebb45071ba25046ffbe
3,086
py
Python
delete.py
cemitchell07/sgmatrix_to_swe
0ddca44ed660795f9e1137ff61a658cb63f3f2f8
[ "BSD-3-Clause" ]
1
2019-12-11T19:28:51.000Z
2019-12-11T19:28:51.000Z
delete.py
cemitchell07/sgmatrix_to_swe
0ddca44ed660795f9e1137ff61a658cb63f3f2f8
[ "BSD-3-Clause" ]
null
null
null
delete.py
cemitchell07/sgmatrix_to_swe
0ddca44ed660795f9e1137ff61a658cb63f3f2f8
[ "BSD-3-Clause" ]
null
null
null
########################################################################################## ## Delete Functions for Identity Services Engine and Stealthwatch SMC ## ## This script contains all functions used to delete events from SMC for ## sgmatrix_to_swe.py ###########################################################...
50.590164
156
0.60175
350
3,086
5.225714
0.511429
0.029524
0.039366
0.027884
0.094587
0.043193
0
0
0
0
0
0.008219
0.172067
3,086
60
157
51.433333
0.707632
0.445885
0
0.173913
0
0
0.176325
0.06457
0
0
0
0
0
1
0.043478
false
0.086957
0.086957
0
0.173913
0.043478
0
0
0
null
0
0
0
0
0
0
0
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
987139e1b312f917b0d8c2886c19a7ca97c8418e
303
py
Python
jsonrpc/tests/test_backend_django/settings.py
DMantis/json-rpc
d4fdee1a2353e9d25acfac9866be75f5c9dd2773
[ "MIT" ]
409
2015-01-06T20:12:11.000Z
2022-03-19T18:00:58.000Z
pyextra/jsonrpc/tests/test_backend_django/settings.py
cyoung/openpilot
0c6cdd29a45a4b795fcf671ba0c3fac057ee68a0
[ "MIT" ]
92
2015-02-16T17:11:00.000Z
2022-01-30T22:14:54.000Z
pyextra/jsonrpc/tests/test_backend_django/settings.py
cyoung/openpilot
0c6cdd29a45a4b795fcf671ba0c3fac057ee68a0
[ "MIT" ]
120
2015-02-27T10:09:11.000Z
2022-01-07T00:36:29.000Z
SECRET_KEY = 'secret' ROOT_URLCONF = 'jsonrpc.tests.test_backend_django.urls' ALLOWED_HOSTS = ['testserver'] DATABASE_ENGINE = 'django.db.backends.sqlite3' DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': ':memory:', } } JSONRPC_MAP_VIEW_ENABLED = True
25.25
55
0.683168
34
303
5.823529
0.764706
0.121212
0.141414
0.222222
0.292929
0
0
0
0
0
0
0.007905
0.165017
303
11
56
27.545455
0.774704
0
0
0
0
0
0.432343
0.29703
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
987936c368b853e59164a44e1490e3f4d7761451
248
py
Python
tests/test_flaskapp.py
ricardochaves/flask_template
e946b5e45f4ebd73829762dd78521144e7289d9a
[ "MIT" ]
1
2019-02-26T19:21:00.000Z
2019-02-26T19:21:00.000Z
tests/test_flaskapp.py
ricardochaves/flask_template
e946b5e45f4ebd73829762dd78521144e7289d9a
[ "MIT" ]
133
2018-11-26T15:07:40.000Z
2021-12-20T20:15:12.000Z
tests/test_flaskapp.py
ricardochaves/flask_template
e946b5e45f4ebd73829762dd78521144e7289d9a
[ "MIT" ]
null
null
null
import pytest from app import app @pytest.fixture def client(): client = app.test_client() yield client def test_empty_db(client): """Start with a blank database.""" rv = client.get("/") assert b"Hello World!" in rv.data
13.777778
38
0.653226
36
248
4.416667
0.666667
0
0
0
0
0
0
0
0
0
0
0
0.225806
248
17
39
14.588235
0.828125
0.112903
0
0
0
0
0.060748
0
0
0
0
0
0.111111
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
987ede680eff61270a69b737c2b11d49592e4a59
1,189
py
Python
scripts/gather/test_gather_browser.py
acutesoftware/rawdata
9218077a7086fe8a78a4dc508c80a9fae772de13
[ "MIT" ]
10
2015-06-04T13:05:56.000Z
2020-01-22T23:58:10.000Z
scripts/gather/test_gather_browser.py
acutesoftware/rawdata
9218077a7086fe8a78a4dc508c80a9fae772de13
[ "MIT" ]
5
2015-06-17T03:57:12.000Z
2016-06-09T13:37:35.000Z
scripts/gather/test_gather_browser.py
acutesoftware/rawdata
9218077a7086fe8a78a4dc508c80a9fae772de13
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # test_gather_browser.py import unittest import os import sys root_fldr = os.path.abspath(os.path.join(os.path.dirname(__file__), '..', 'rawdata')) imp_folder = root_fldr + os.sep + 'gather' print(imp_folder) sys.path.insert(1, imp_folder) import browser_usage class TestGatherBrowser(unittest.Te...
34.970588
107
0.710681
155
1,189
5.129032
0.329032
0.120755
0.07044
0.100629
0.241509
0.207547
0.176101
0.08805
0
0
0
0.007114
0.172414
1,189
33
108
36.030303
0.800813
0.165685
0
0
0
0
0.117528
0
0
0
0
0
0.047619
1
0.047619
false
0.095238
0.190476
0
0.285714
0.095238
0
0
0
null
0
0
0
0
0
0
0
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
9890c1d0beedb9a812552abd26d07170c61771be
1,556
py
Python
python_programming/basics/file_reader.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
python_programming/basics/file_reader.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
python_programming/basics/file_reader.py
JoshuaTPritchett/30DaysCoding
b361a4cf38dea66b43231fabf43252d202440811
[ "Unlicense" ]
null
null
null
''' Simple file reader object that will teach me how to properly read files ''' #hmmm import json from os.path import exists class FileReader(object): def __init__(self, strings, mfile): self.strings = strings self.mfile = mfile self.cfile = None def print_those_damn_strings(self): ...
23.223881
47
0.582262
206
1,556
4.325243
0.339806
0.141414
0.089787
0.094276
0.112233
0.074074
0
0
0
0
0
0.000923
0.303985
1,556
66
48
23.575758
0.821791
0.109897
0
0.05
0
0
0.003855
0
0
0
0
0
0
0
null
null
0
0.05
null
null
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
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9892e8553bf8dd3deb1cc01915593cc29ee296c7
1,004
py
Python
gifmaker.py
tumaatti/gifmaker
4abceb64c117cd8a81c433f781659711e5213a2a
[ "MIT" ]
null
null
null
gifmaker.py
tumaatti/gifmaker
4abceb64c117cd8a81c433f781659711e5213a2a
[ "MIT" ]
null
null
null
gifmaker.py
tumaatti/gifmaker
4abceb64c117cd8a81c433f781659711e5213a2a
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import os parser = argparse.ArgumentParser( description='Simple way to generate .gif-files from videofiles' ) parser.add_argument('input', metavar='I', type=str, help='specify input file') parser.add_argument('output', metavar='O', type=str, help='specify output file') parse...
25.74359
80
0.671315
150
1,004
4.44
0.466667
0.054054
0.102102
0.081081
0.186186
0.186186
0.186186
0.186186
0.186186
0.186186
0
0.017878
0.164343
1,004
38
81
26.421053
0.775924
0.020916
0
0.258065
1
0.032258
0.528513
0.058045
0
0
0
0
0
1
0
false
0
0.064516
0
0.064516
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
989706806c0ab4841b8bfd182ff6e37ec62a381c
24,644
py
Python
spider/html_downloader.py
pq27120/xgb_spider
dc3badd8ac8c44bfe1e3ef9acb6786f4ba96802c
[ "MIT" ]
null
null
null
spider/html_downloader.py
pq27120/xgb_spider
dc3badd8ac8c44bfe1e3ef9acb6786f4ba96802c
[ "MIT" ]
null
null
null
spider/html_downloader.py
pq27120/xgb_spider
dc3badd8ac8c44bfe1e3ef9acb6786f4ba96802c
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: UTF-8 -*- import requests import html_parser import urllib2 # from ruokuaicode import RClient import exceptions from PIL import Image from selenium import webdriver from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from selenium.webdriver.common.by impor...
40.868988
203
0.495942
2,643
24,644
4.522512
0.165342
0.017569
0.006024
0.007529
0.639337
0.599766
0.575253
0.548649
0.539781
0.521961
0
0.044909
0.388289
24,644
602
204
40.936877
0.747993
0.17205
0
0.67381
0
0.045238
0.187959
0.030504
0
0
0
0
0
0
null
null
0
0.047619
null
null
0.116667
0
0
0
null
0
0
0
0
0
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
98996561e73a74de7268418eaf07fbc1b7e9dde9
2,696
py
Python
account_check/models/account_bank_statement_line.py
odoo-mastercore/odoo-argentina
58cdfe8610bae42f69ddb9d652a28eb3245f6a04
[ "MIT" ]
1
2021-01-25T15:57:58.000Z
2021-01-25T15:57:58.000Z
account_check/models/account_bank_statement_line.py
odoo-mastercore/odoo-argentina
58cdfe8610bae42f69ddb9d652a28eb3245f6a04
[ "MIT" ]
null
null
null
account_check/models/account_bank_statement_line.py
odoo-mastercore/odoo-argentina
58cdfe8610bae42f69ddb9d652a28eb3245f6a04
[ "MIT" ]
2
2020-10-17T16:36:02.000Z
2021-01-24T10:20:05.000Z
############################################################################## # For copyright and license notices, see __manifest__.py file in module root # directory ############################################################################## from odoo import models, _ from odoo.exceptions import ValidationError im...
45.694915
79
0.597923
297
2,696
5.198653
0.424242
0.041451
0.061529
0.031088
0.085492
0.085492
0.085492
0.085492
0.085492
0.085492
0
0.000515
0.280415
2,696
58
80
46.482759
0.795361
0.159125
0
0.05
0
0
0.160645
0.039063
0
0
0
0.017241
0
1
0.05
false
0
0.075
0
0.225
0
0
0
0
null
0
0
0
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
989dcd915162455173bc1f9ab21ea61b23ba6742
2,673
py
Python
composite_draineli_sed.py
bjweiner/sedfitting
4164ed19ec44c50d658ae19a1c866314399e0ad8
[ "MIT" ]
1
2019-03-04T20:28:10.000Z
2019-03-04T20:28:10.000Z
composite_draineli_sed.py
bjweiner/sedfitting
4164ed19ec44c50d658ae19a1c866314399e0ad8
[ "MIT" ]
null
null
null
composite_draineli_sed.py
bjweiner/sedfitting
4164ed19ec44c50d658ae19a1c866314399e0ad8
[ "MIT" ]
null
null
null
# Take two sets of Draine & Li SEDs and add them with varying # mixes using gamma, according to # j_nu = (1-gamma)*j_nu[umin,umin] + gamma*j_nu[umin,umax] # so it's intended that # sedset1 is the power law distrib of U # sedset2 is for the diffuse medium and has a single U=Umin # these are SEDs produced by convert_d...
37.647887
103
0.603068
369
2,673
4.338753
0.373984
0.034978
0.022486
0.034978
0.082448
0.036227
0.036227
0.036227
0
0
0
0.051077
0.252899
2,673
70
104
38.185714
0.750626
0.406659
0
0
0
0
0.101923
0.014744
0
0
0
0
0
0
null
null
0
0.060606
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
98a1596ec7ee3c1197485ba4164ec625535f6e3a
5,430
py
Python
fastestimator/architecture/cyclegan.py
rajesh1226/fastestimator
0765c7478c0889cf4e2841d51a35c9a06a406472
[ "Apache-2.0" ]
1
2019-12-17T22:43:08.000Z
2019-12-17T22:43:08.000Z
fastestimator/architecture/cyclegan.py
rajesh1226/fastestimator
0765c7478c0889cf4e2841d51a35c9a06a406472
[ "Apache-2.0" ]
null
null
null
fastestimator/architecture/cyclegan.py
rajesh1226/fastestimator
0765c7478c0889cf4e2841d51a35c9a06a406472
[ "Apache-2.0" ]
null
null
null
# Copyright 2019 The FastEstimator Authors. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
37.708333
117
0.561694
612
5,430
4.908497
0.220588
0.020639
0.047936
0.14281
0.650799
0.606192
0.590546
0.567244
0.554261
0.554261
0
0.048991
0.315838
5,430
143
118
37.972028
0.759623
0.211602
0
0.75
0
0
0.007635
0
0
0
0
0
0
1
0.035714
false
0
0.035714
0
0.107143
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
98a29029c778bd6c20a6c018debda674c88f2253
317
py
Python
api/models/unique_file.py
merwane/shield
067d4ed9c84946479c200c0f7bcf47f7bfce3b80
[ "MIT" ]
null
null
null
api/models/unique_file.py
merwane/shield
067d4ed9c84946479c200c0f7bcf47f7bfce3b80
[ "MIT" ]
null
null
null
api/models/unique_file.py
merwane/shield
067d4ed9c84946479c200c0f7bcf47f7bfce3b80
[ "MIT" ]
null
null
null
from mongoengine import * import datetime class UniqueFile(Document): filename = StringField() file_size = FloatField(default=0) # megabytes by default file_type = StringField() labels = ListField(default=[]) checksum = StringField() added_at = DateTimeField(default=datetime.datetime.utcnow)
31.7
62
0.735016
33
317
6.969697
0.727273
0
0
0
0
0
0
0
0
0
0
0.003802
0.170347
317
10
62
31.7
0.870722
0.063091
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.222222
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
98a61ea0ef056a7e141b295b3ae78569040d414d
768
py
Python
tournamentmasters/command_tournament_master.py
jorgeparavicini/FourWins
1c5e8a23b4464ef6b71d70c9ff040aa004b9ca83
[ "MIT" ]
1
2021-01-20T18:33:01.000Z
2021-01-20T18:33:01.000Z
tournamentmasters/command_tournament_master.py
jorgeparavicini/FourWins
1c5e8a23b4464ef6b71d70c9ff040aa004b9ca83
[ "MIT" ]
null
null
null
tournamentmasters/command_tournament_master.py
jorgeparavicini/FourWins
1c5e8a23b4464ef6b71d70c9ff040aa004b9ca83
[ "MIT" ]
2
2019-09-04T08:27:14.000Z
2019-09-06T20:32:30.000Z
from bots import BaseBot from tournamentmasters.tournament_master import TournamentMaster class CommandTournamentMaster(TournamentMaster): def __init__(self, bot_1: BaseBot, bot_2: BaseBot, grid_width: int, grid_height: int, time_between_rounds: float = 0): super(CommandTournamentMaster,...
33.391304
113
0.674479
97
768
5
0.412371
0.082474
0.074227
0
0
0
0
0
0
0
0
0.00982
0.204427
768
22
114
34.909091
0.783961
0
0
0
0
0
0.085938
0.029948
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0.1875
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
98a754d6c6050ce2bbb94b4ee49f6474b7a7ea01
17,122
py
Python
loader/fis_load.py
gwu-libraries/vivo-load
1462a5b3b21f4765549d9840f5dafd067c2bae42
[ "MIT" ]
2
2015-02-10T14:07:32.000Z
2015-05-20T16:33:36.000Z
loader/fis_load.py
gwu-libraries/vivo-load
1462a5b3b21f4765549d9840f5dafd067c2bae42
[ "MIT" ]
null
null
null
loader/fis_load.py
gwu-libraries/vivo-load
1462a5b3b21f4765549d9840f5dafd067c2bae42
[ "MIT" ]
null
null
null
from fis_entity import * from utility import valid_college_name, valid_department_name, xml_result_generator, remove_extra_args import os GWU = "The George Washington University" class Loader: def __init__(self, filename, data_dir, gwids=None, entity_class=None, field_to_entity=None, field_renam...
38.304251
120
0.636958
1,996
17,122
5.18988
0.115731
0.04595
0.086495
0.097307
0.550922
0.512115
0.461338
0.450526
0.423014
0.401969
0
0.000239
0.267609
17,122
446
121
38.390135
0.825837
0.055309
0
0.372014
0
0
0.126722
0.013649
0
0
0
0
0
0
null
null
0.003413
0.010239
null
null
0.088737
0
0
0
null
0
0
0
0
0
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
98aa776332f7126a5276fca72965d367f1c42db0
1,140
py
Python
openelex/tests/test_transform_registry.py
Mpopoma/oe-core
860b99e14b9089a56b54cdd00285216a5cf77046
[ "MIT" ]
156
2015-04-09T02:56:10.000Z
2022-01-04T12:03:57.000Z
openelex/tests/test_transform_registry.py
Mpopoma/oe-core
860b99e14b9089a56b54cdd00285216a5cf77046
[ "MIT" ]
54
2015-01-10T00:09:53.000Z
2021-11-08T17:37:41.000Z
openelex/tests/test_transform_registry.py
Mpopoma/oe-core
860b99e14b9089a56b54cdd00285216a5cf77046
[ "MIT" ]
94
2015-01-10T18:45:15.000Z
2022-03-24T02:00:09.000Z
from unittest import TestCase from mock import Mock from openelex.base.transform import registry class TestTransformRegistry(TestCase): def test_register_with_validators(self): mock_transform = Mock(return_value=None) mock_transform.__name__ = 'mock_transform' mock_validator1 = Mock(retur...
33.529412
73
0.709649
125
1,140
6.064
0.264
0.205805
0.079156
0.100264
0.538259
0.415567
0.28496
0.174142
0.174142
0.174142
0
0.008782
0.200877
1,140
33
74
34.545455
0.823271
0
0
0.333333
0
0
0.082456
0
0
0
0
0
0.125
1
0.083333
false
0
0.125
0
0.25
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
98acb4d701812e47dd795d1951bbb6a9840af8d2
5,752
py
Python
tests/params/test_param.py
TradDog/pyro
b72667fc3ec63dddb38d4119564b44679b1fb61c
[ "Apache-2.0" ]
null
null
null
tests/params/test_param.py
TradDog/pyro
b72667fc3ec63dddb38d4119564b44679b1fb61c
[ "Apache-2.0" ]
null
null
null
tests/params/test_param.py
TradDog/pyro
b72667fc3ec63dddb38d4119564b44679b1fb61c
[ "Apache-2.0" ]
null
null
null
# Copyright (c) 2017-2019 Uber Technologies, Inc. # SPDX-License-Identifier: Apache-2.0 from copy import copy from unittest import TestCase import numpy as np import torch import torch.optim from torch import nn as nn from torch.distributions import constraints import pyro from tests.common import assert_equal cla...
37.842105
88
0.622392
775
5,752
4.421935
0.147097
0.198424
0.07937
0.052524
0.645463
0.545083
0.475343
0.39539
0.357747
0.305807
0
0.020525
0.237656
5,752
151
89
38.092715
0.761003
0.021732
0
0.330645
0
0
0.030966
0.008187
0
0
0
0
0.483871
1
0.032258
false
0
0.072581
0
0.120968
0
0
0
0
null
0
0
0
0
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
98b45527e07b01ab6b58861c377fe9815d2bd8a1
498
py
Python
usaspending_api/references/models/overall_totals.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
217
2016-11-03T17:09:53.000Z
2022-03-10T04:17:54.000Z
usaspending_api/references/models/overall_totals.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
622
2016-09-02T19:18:23.000Z
2022-03-29T17:11:01.000Z
usaspending_api/references/models/overall_totals.py
g4brielvs/usaspending-api
bae7da2c204937ec1cdf75c052405b13145728d5
[ "CC0-1.0" ]
93
2016-09-07T20:28:57.000Z
2022-02-25T00:25:27.000Z
from django.db import models class OverallTotals(models.Model): id = models.AutoField(primary_key=True) create_date = models.DateTimeField(auto_now_add=True, blank=True, null=True) update_date = models.DateTimeField(auto_now=True, null=True) fiscal_year = models.IntegerField(blank=True, null=True) ...
35.571429
104
0.742972
67
498
5.328358
0.597015
0.089636
0.134454
0.142857
0.168067
0
0
0
0
0
0
0.00716
0.158635
498
13
105
38.307692
0.844869
0
0
0
0
0
0.028112
0
0
0
0
0
0
1
0
false
0
0.1
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
98b5f8c63db37bc1989c82b5a6ec51d1fd4107f8
2,853
py
Python
tests/test_conv.py
DuinoDu/backbone-neck
afa89ff58a1fdbe7c52c352689cd7c05eebfc794
[ "BSD-2-Clause" ]
null
null
null
tests/test_conv.py
DuinoDu/backbone-neck
afa89ff58a1fdbe7c52c352689cd7c05eebfc794
[ "BSD-2-Clause" ]
null
null
null
tests/test_conv.py
DuinoDu/backbone-neck
afa89ff58a1fdbe7c52c352689cd7c05eebfc794
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- from .context import backbone_neck import unittest import sys from backbone_neck.gluon.nn import conv from backbone_neck.gluon.nn import ConvModule import numpy as np import mxnet as mx def _input(h=128, w=128): try: import mxnet.ndarray as nd except ImportError as e: ...
27.171429
67
0.548545
374
2,853
4.058824
0.235294
0.118577
0.126482
0.166008
0.656785
0.656785
0.618577
0.618577
0.618577
0.559289
0
0.037436
0.316509
2,853
104
68
27.432692
0.741026
0.020329
0
0.581395
0
0
0.027299
0
0
0
0
0
0.151163
1
0.05814
false
0
0.104651
0
0.197674
0.011628
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
98b999b9ba6bd3545cc98a1144173e421d09ce89
436
py
Python
WEB/login/urls.py
JoseCarlosPa/CECEQ-GO
5949bf7388fb2e0fa27634b6a4e23fafb4b9e827
[ "MIT" ]
1
2019-08-18T00:06:47.000Z
2019-08-18T00:06:47.000Z
WEB/login/urls.py
JoseCarlosPa/CECEQ-GO
5949bf7388fb2e0fa27634b6a4e23fafb4b9e827
[ "MIT" ]
123
2019-09-10T14:48:01.000Z
2019-11-28T21:24:06.000Z
WEB/login/urls.py
JoseCarlosPa/CECEQ-GO
5949bf7388fb2e0fa27634b6a4e23fafb4b9e827
[ "MIT" ]
null
null
null
# Importar la libreria para URLS from django.urls import path # Uso del "punto" para referenciar esta libreria e importar el views from . import views urlpatterns = [ # primero se pondra el nombre de la ruta a llama # Se pone el nombre views seguido de un nombre que se le dara # Despues se pondra el nomb...
27.25
68
0.701835
68
436
4.5
0.573529
0.078431
0.065359
0.104575
0
0
0
0
0
0
0
0
0.21789
436
16
69
27.25
0.897361
0.575688
0
0
0
0
0.1
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
7f2d3f0b4b86a3afdd0c6705c926b7db139b2d6c
1,440
py
Python
digsby/src/tests/testgui/uberdemos/CapabilitiesBarDemo.py
ifwe/digsby
f5fe00244744aa131e07f09348d10563f3d8fa99
[ "Python-2.0" ]
35
2015-08-15T14:32:38.000Z
2021-12-09T16:21:26.000Z
digsby/src/tests/testgui/uberdemos/CapabilitiesBarDemo.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
4
2015-09-12T10:42:57.000Z
2017-02-27T04:05:51.000Z
digsby/src/tests/testgui/uberdemos/CapabilitiesBarDemo.py
niterain/digsby
16a62c7df1018a49eaa8151c0f8b881c7e252949
[ "Python-2.0" ]
15
2015-07-10T23:58:07.000Z
2022-01-23T22:16:33.000Z
from DemoApp import App import wx import gettext gettext.install('Digsby', './locale', unicode=True) from gui.capabilitiesbar import CapabilitiesBar class Frame(wx.Frame): def __init__(self): wx.Frame.__init__(self,None,title='Simple Menu Test') self.panel=wx.Panel(self) self.Bind(wx.EVT_...
30
107
0.675
205
1,440
4.634146
0.35122
0.115789
0.056842
0.078947
0.204211
0.204211
0.134737
0.134737
0
0
0
0.011045
0.182639
1,440
47
108
30.638298
0.796092
0
0
0
0
0
0.064583
0
0
0
0
0
0
0
null
null
0
0.151515
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
7f33ca195872b3fef0c80a0e16c699a890f3eeda
828
py
Python
rate/urls.py
Kennedy-karuri/Awards
833ecad6e9d491a10b61a733a4c2f0b31d0b8b00
[ "Unlicense" ]
null
null
null
rate/urls.py
Kennedy-karuri/Awards
833ecad6e9d491a10b61a733a4c2f0b31d0b8b00
[ "Unlicense" ]
null
null
null
rate/urls.py
Kennedy-karuri/Awards
833ecad6e9d491a10b61a733a4c2f0b31d0b8b00
[ "Unlicense" ]
null
null
null
from django.urls import path,include from . import views from rate import views as user_views from django.conf.urls.static import static from django.conf import settings from django.conf.urls import url urlpatterns=[ path('',views.home,name = 'home'), path('accounts/register/', views.register, name='register')...
37.636364
80
0.721014
110
828
5.3
0.336364
0.068611
0.072041
0.06175
0
0
0
0
0
0
0
0
0.125604
828
22
80
37.636364
0.805249
0
0
0
0
0
0.205066
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
7f4267df0ca9d39fb74a9dba58fc2021b6a5c1ea
748
py
Python
src/app/entities/hashing_algorithms/sha1.py
dieisabel/cypherman
06d8678b79b18aa256a79ec6967d68274f088dbc
[ "MIT" ]
null
null
null
src/app/entities/hashing_algorithms/sha1.py
dieisabel/cypherman
06d8678b79b18aa256a79ec6967d68274f088dbc
[ "MIT" ]
43
2021-12-02T21:26:01.000Z
2022-02-21T08:51:06.000Z
src/app/entities/hashing_algorithms/sha1.py
dieisabel/cypherman
06d8678b79b18aa256a79ec6967d68274f088dbc
[ "MIT" ]
null
null
null
"""Module for SHA1 hashing algorithm""" __all__ = ['SHA1HashingAlgorithm'] import hashlib from entities.hashing_algorithms import IHashingAlgorithm class SHA1HashingAlgorithm(IHashingAlgorithm): """SHA1 hashing algorithm Attributes: name: Algorithm name bits: Amount of checksum bits ...
21.371429
62
0.635027
81
748
5.753086
0.580247
0.070815
0.128755
0
0
0
0
0
0
0
0
0.020446
0.280749
748
34
63
22
0.845725
0.371658
0
0
0
0
0.07398
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.8
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f49bca32eb46e11ae1b229b134a1f6eb7a37024
3,159
py
Python
quota-query.py
jayhaze/quotaquery
2d131f7cdf3bd66ae14a75bb53a23291670c3825
[ "BSD-3-Clause" ]
null
null
null
quota-query.py
jayhaze/quotaquery
2d131f7cdf3bd66ae14a75bb53a23291670c3825
[ "BSD-3-Clause" ]
null
null
null
quota-query.py
jayhaze/quotaquery
2d131f7cdf3bd66ae14a75bb53a23291670c3825
[ "BSD-3-Clause" ]
null
null
null
# This is a query tool, not a creation tool. Could do with better usage instructions to cover what options need to be used in any query. # Import some of the important things...must install requests, because it makes things (getting around SSL verification) sooo much easier. import requests, json import base64 import ...
32.234694
138
0.706553
485
3,159
4.552577
0.340206
0.032609
0.061594
0.034873
0.390399
0.32971
0.243207
0.209692
0.176178
0.176178
0
0.008085
0.138651
3,159
98
139
32.234694
0.803381
0.236784
0
0.278689
0
0
0.245
0
0
0
0
0
0
0
null
null
0.032787
0.131148
null
null
0.213115
0
0
0
null
0
0
0
0
0
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
7f50f1fbeb0bf115764fd7f5c5463b9f88a37307
1,027
py
Python
community/dm-scaffolder/configs.py
shan2202/deploymentmanager-samples
eb1ae051172653665acc7ed7b65d15f60d51ff54
[ "Apache-2.0" ]
930
2015-07-30T19:02:32.000Z
2022-03-09T18:02:11.000Z
community/dm-scaffolder/configs.py
shan2202/deploymentmanager-samples
eb1ae051172653665acc7ed7b65d15f60d51ff54
[ "Apache-2.0" ]
426
2015-05-06T17:25:41.000Z
2022-03-09T16:13:41.000Z
community/dm-scaffolder/configs.py
shan2202/deploymentmanager-samples
eb1ae051172653665acc7ed7b65d15f60d51ff54
[ "Apache-2.0" ]
812
2015-05-06T15:43:05.000Z
2022-03-24T18:35:37.000Z
# Copyright 2018 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
32.09375
74
0.684518
150
1,027
4.64
0.626667
0.086207
0.037356
0.045977
0
0
0
0
0
0
0
0.010038
0.223953
1,027
31
75
33.129032
0.863237
0.554041
0
0
0
0
0.067568
0
0
0
0
0
0
0
null
null
0
0.076923
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7f513625fdfe44e75e48b9ede06696a03399179c
902
py
Python
spirit/user/migrations/0009_auto_20161114_1850.py
Ke-xueting/Spirit
346d9a0db125ee8995ba5d0ab0fd8b43aa8c5dc7
[ "MIT" ]
974
2015-01-02T12:56:00.000Z
2022-03-24T00:01:54.000Z
spirit/user/migrations/0009_auto_20161114_1850.py
Ke-xueting/Spirit
346d9a0db125ee8995ba5d0ab0fd8b43aa8c5dc7
[ "MIT" ]
247
2015-01-07T02:59:26.000Z
2022-02-23T08:27:57.000Z
spirit/user/migrations/0009_auto_20161114_1850.py
BinaryTree0/fer3
85c3bbf2f328e69ad4d7c01b6e2c8d4ef1d9e0a3
[ "MIT" ]
366
2015-01-08T10:22:25.000Z
2022-02-21T12:58:31.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.11 on 2016-11-14 18:50 from django.db import migrations def user_model_content_type(apps, schema_editor): from ...core.conf import settings if not hasattr(settings, 'AUTH_USER_MODEL'): return user = apps.get_model(settings.AUTH_USER_MODEL) i...
25.771429
66
0.641907
109
902
5.036697
0.522936
0.098361
0.087432
0.114754
0.094718
0
0
0
0
0
0
0.048246
0.241685
902
34
67
26.529412
0.754386
0.075388
0
0
1
0
0.126354
0.056558
0
0
0
0
0
1
0.043478
false
0
0.086957
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f557e58980a6ee6928fe010ba040aba3f7458ca
320
py
Python
Share/migrations/0004_remove_group_uid.py
Poornartha/VocabBuilder
bb24e524d686d8b8175d2a101ed0c0a0652c74b3
[ "MIT" ]
2
2020-09-13T11:39:50.000Z
2021-02-06T22:20:41.000Z
Share/migrations/0004_remove_group_uid.py
Poornartha/VocabBuilder
bb24e524d686d8b8175d2a101ed0c0a0652c74b3
[ "MIT" ]
null
null
null
Share/migrations/0004_remove_group_uid.py
Poornartha/VocabBuilder
bb24e524d686d8b8175d2a101ed0c0a0652c74b3
[ "MIT" ]
null
null
null
# Generated by Django 3.1 on 2020-08-27 06:18 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('Share', '0003_auto_20200827_1134'), ] operations = [ migrations.RemoveField( model_name='group', name='uid', ), ]
17.777778
45
0.584375
34
320
5.382353
0.852941
0
0
0
0
0
0
0
0
0
0
0.134529
0.303125
320
17
46
18.823529
0.686099
0.134375
0
0
1
0
0.130909
0.083636
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f581e14663ecb366700e0178b2377725110c40a
809
py
Python
budgetbuddy/accounts/migrations/0008_auto_20190719_1620.py
michaelqknguyen/Budget-Buddy
d1d25648d29f9b398b399e63b187b54daf3be521
[ "MIT" ]
null
null
null
budgetbuddy/accounts/migrations/0008_auto_20190719_1620.py
michaelqknguyen/Budget-Buddy
d1d25648d29f9b398b399e63b187b54daf3be521
[ "MIT" ]
null
null
null
budgetbuddy/accounts/migrations/0008_auto_20190719_1620.py
michaelqknguyen/Budget-Buddy
d1d25648d29f9b398b399e63b187b54daf3be521
[ "MIT" ]
null
null
null
# Generated by Django 2.2.3 on 2019-07-19 20:20 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('accounts', '0007_auto_20190716_1909'), ] operations = [ migrations.AlterField( model_name='budg...
32.36
156
0.662546
92
809
5.619565
0.48913
0.061896
0.081238
0.12766
0.475822
0.475822
0.475822
0.475822
0.475822
0.475822
0
0.048973
0.217553
809
24
157
33.708333
0.767773
0.055624
0
0.333333
1
0
0.19685
0.030184
0
0
0
0
0
1
0
false
0
0.111111
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f5c0c37fd5cc0dd54d7907cb22f42c1fa510c01
317
py
Python
src/packages/board/__init__.py
nathanctech/pipsqueak3
f5c038fcecb0f54a6a71f6000c13e683ae72920f
[ "BSD-3-Clause" ]
17
2018-03-14T23:21:50.000Z
2020-11-23T15:30:36.000Z
src/packages/board/__init__.py
nathanctech/pipsqueak3
f5c038fcecb0f54a6a71f6000c13e683ae72920f
[ "BSD-3-Clause" ]
145
2018-03-24T19:31:32.000Z
2021-01-12T09:25:37.000Z
src/packages/board/__init__.py
nathanctech/pipsqueak3
f5c038fcecb0f54a6a71f6000c13e683ae72920f
[ "BSD-3-Clause" ]
23
2018-03-14T23:21:39.000Z
2021-03-26T15:19:34.000Z
""" __init__.py Copyright (c) 2018 The Fuel Rat Mischief, All rights reserved. Licensed under the BSD 3-Clause License. See LICENSE.md """ from .board import RatBoard from . import board as _board from src.config import PLUGIN_MANAGER PLUGIN_MANAGER.register(_board, "Rat Board") __all__ = [ "RatBoard", ]
14.409091
44
0.73817
45
317
4.933333
0.666667
0.117117
0
0
0
0
0
0
0
0
0
0.019011
0.170347
317
21
45
15.095238
0.825095
0.419558
0
0
0
0
0.096591
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7f5ff461ef45701aaaf0a4188d01201d65ef62e5
591
py
Python
taggit/admin.py
theatlantic/django-taggit
ec6c3a6e8b37f4c60d7bacd10c44462562fc781b
[ "BSD-3-Clause" ]
null
null
null
taggit/admin.py
theatlantic/django-taggit
ec6c3a6e8b37f4c60d7bacd10c44462562fc781b
[ "BSD-3-Clause" ]
null
null
null
taggit/admin.py
theatlantic/django-taggit
ec6c3a6e8b37f4c60d7bacd10c44462562fc781b
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from taggit.models import Tag, TaggedItem, TagTransform class TaggedItemInline(admin.StackedInline): model = TaggedItem extra = 0 class TagAdmin(admin.ModelAdmin): inlines = [ TaggedItemInline ] ordering = ['name'] search_fields = ['name'] class TagT...
22.730769
55
0.698816
61
591
6.688525
0.57377
0.063725
0.078431
0
0
0
0
0
0
0
0
0.006263
0.189509
591
25
56
23.64
0.845511
0
0
0
0
0
0.055838
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.789474
0
0
0
0
null
0
0
0
0
0
0
0
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
7f684d6d45d2f35af89401b6a63e64e0419d45f2
34,560
py
Python
school_connectivity.py
oguzhanerr/qgismodelsforgiga
2d18bdbb68f1f2dd55feb213cb95c7f5f253617e
[ "MIT" ]
1
2021-09-23T09:38:56.000Z
2021-09-23T09:38:56.000Z
school_connectivity.py
oguzhanerr/qgismodelsforgiga
2d18bdbb68f1f2dd55feb213cb95c7f5f253617e
[ "MIT" ]
null
null
null
school_connectivity.py
oguzhanerr/qgismodelsforgiga
2d18bdbb68f1f2dd55feb213cb95c7f5f253617e
[ "MIT" ]
null
null
null
""" Model exported as python. Name : School2Fiber & School2School & School2CellTower & School2MobileCoverage & Population Stats Model Group : With QGIS : 32000 """ from qgis.core import QgsProcessing from qgis.core import QgsProcessingAlgorithm from qgis.core import QgsProcessingMultiStepFeedback from qgis.core impor...
57.123967
3,694
0.633565
3,199
34,560
6.714286
0.109409
0.035849
0.050189
0.03962
0.733181
0.65422
0.622608
0.584245
0.566134
0.549979
0
0.02514
0.208131
34,560
604
3,695
57.218543
0.759711
0.066146
0
0.537815
0
0
0.360401
0.112101
0
0
0
0
0
1
0.014706
false
0
0.018908
0.010504
0.12395
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7f78ffe7d5c58d81341ecd8c7cdb517351469813
621
py
Python
proxSeries/sparseSVD.py
WeazelDev/ML_Project
8963f15712bd0aa4fbafa96e6dafd0a59d616a53
[ "MIT" ]
null
null
null
proxSeries/sparseSVD.py
WeazelDev/ML_Project
8963f15712bd0aa4fbafa96e6dafd0a59d616a53
[ "MIT" ]
null
null
null
proxSeries/sparseSVD.py
WeazelDev/ML_Project
8963f15712bd0aa4fbafa96e6dafd0a59d616a53
[ "MIT" ]
null
null
null
#-*-coding:Utf-8 -* """Computes the SVD of rating matrix R with scipy.sparse.linalg.svds, which is memory-constant.""" import numpy as np import scipy.sparse.linalg as slinalg from scipy.sparse import csc_matrix import os # Reading and importing ratings matrix print("Reading rating matrix R...") import dataIO.ratings...
23.884615
98
0.711755
101
621
4.336634
0.485149
0.075342
0.059361
0
0
0
0
0
0
0
0
0.009225
0.127214
621
25
99
24.84
0.798893
0.238325
0
0
0
0
0.193133
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0.375
0
0
0
null
0
0
0
0
0
0
0
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
7f7acae531b4455aa6d59d42add5a34061900d6b
695
py
Python
utils/sass_functions/svg_to_data_uri.py
bulv1ne/django_utils
bf19923dcfdff5c2655500e5b61962c479074d58
[ "MIT" ]
1
2017-05-05T11:57:26.000Z
2017-05-05T11:57:26.000Z
utils/sass_functions/svg_to_data_uri.py
bulv1ne/django_utils
bf19923dcfdff5c2655500e5b61962c479074d58
[ "MIT" ]
2
2021-04-06T18:14:52.000Z
2021-06-01T22:46:45.000Z
utils/sass_functions/svg_to_data_uri.py
bulv1ne/django-utils
bf19923dcfdff5c2655500e5b61962c479074d58
[ "MIT" ]
null
null
null
import os from base64 import b64encode from urllib.parse import quote def g_b64(data): return b"".join([b"data:image/svg+xml;base64,", b64encode(data.encode("utf-8"))]) def g_uri(data): return "".join(["data:image/svg+xml;charset=UTF-8,", quote(data)]) def svg_to_data(data): d_b64 = g_b64(data) d_...
23.166667
85
0.646043
110
695
3.881818
0.390909
0.035129
0.063232
0.070258
0
0
0
0
0
0
0
0.037383
0.230216
695
29
86
23.965517
0.760748
0
0
0
0
0
0.092086
0.084892
0
0
0
0
0
1
0.190476
false
0.047619
0.142857
0.095238
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f80199cce439ae11eaf0a7618a4f3f3864bf42a
2,277
py
Python
students/K33422/laboratory_works/Moruga_Elina/lr_2/simple_django_web_projects(1)/django_project_Moruga/project_first_app/migrations/0001_initial.py
Elyavor/ITMO_ICT_WebDevelopment_2021-2022
63fad07bcdc0a9a6b85d46eacf97182162262181
[ "MIT" ]
null
null
null
students/K33422/laboratory_works/Moruga_Elina/lr_2/simple_django_web_projects(1)/django_project_Moruga/project_first_app/migrations/0001_initial.py
Elyavor/ITMO_ICT_WebDevelopment_2021-2022
63fad07bcdc0a9a6b85d46eacf97182162262181
[ "MIT" ]
null
null
null
students/K33422/laboratory_works/Moruga_Elina/lr_2/simple_django_web_projects(1)/django_project_Moruga/project_first_app/migrations/0001_initial.py
Elyavor/ITMO_ICT_WebDevelopment_2021-2022
63fad07bcdc0a9a6b85d46eacf97182162262181
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-01 08:05 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Car', fields=[ ...
41.4
137
0.576197
234
2,277
5.431624
0.294872
0.094414
0.113297
0.151062
0.673485
0.483084
0.435877
0.435877
0.435877
0.435877
0
0.01896
0.28195
2,277
54
138
42.166667
0.75841
0.019763
0
0.425532
1
0
0.109865
0.032735
0
0
0
0
0
1
0
false
0
0.042553
0
0.12766
0
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
7f83751da3467238a96da4aa0081d46fdf3336c2
1,021
py
Python
bayes_filters/utils/utils_misc.py
wenh06/bayes_filters
6c9fadf0f84d0a960fde1fd2e15fc198db398613
[ "MIT" ]
null
null
null
bayes_filters/utils/utils_misc.py
wenh06/bayes_filters
6c9fadf0f84d0a960fde1fd2e15fc198db398613
[ "MIT" ]
null
null
null
bayes_filters/utils/utils_misc.py
wenh06/bayes_filters
6c9fadf0f84d0a960fde1fd2e15fc198db398613
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ docstring, to write """ from functools import wraps __all__ = [ "indicator_enter_leave_func", "trivial_jit", ] def indicator_enter_leave_func(verbose:int=0): """ """ def dec_outer(fn:callable): @wraps(fn) def dec_inner(*args, **kwargs): if...
26.179487
129
0.545544
117
1,021
4.495727
0.495727
0.034221
0.045627
0.087452
0.190114
0.106464
0.106464
0.106464
0
0
0
0.02168
0.277179
1,021
38
130
26.868421
0.691057
0.041136
0
0.086957
0
0
0.1549
0.027397
0
0
0
0
0
1
0.217391
false
0
0.043478
0.043478
0.478261
0.130435
0
0
0
null
0
0
0
0
0
0
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
7f8910eab8e92e107c90e2db8ee02d9345832982
5,124
py
Python
crashbin_app/models.py
The-Compiler/crashbin
dea7b4760b646d1ce51ca9dab5e997bc92902f76
[ "MIT" ]
null
null
null
crashbin_app/models.py
The-Compiler/crashbin
dea7b4760b646d1ce51ca9dab5e997bc92902f76
[ "MIT" ]
104
2019-03-19T10:13:12.000Z
2022-02-10T07:15:18.000Z
crashbin_app/models.py
The-Compiler/crashbin
dea7b4760b646d1ce51ca9dab5e997bc92902f76
[ "MIT" ]
null
null
null
import re import itertools import typing from django.db import models from django.utils import timezone from django.contrib.auth.models import User from django.conf import settings import colorful.fields import django_mailbox.models from crashbin_app import utils class Label(models.Model): name = models.CharFi...
27.111111
85
0.644614
602
5,124
5.345515
0.242525
0.026103
0.02486
0.036979
0.444686
0.331262
0.315413
0.284338
0.220323
0.169049
0
0.002877
0.253708
5,124
188
86
27.255319
0.838651
0.022248
0
0.382353
0
0
0.06604
0.005003
0
0
0
0
0
1
0.117647
false
0.007353
0.080882
0.066176
0.610294
0
0
0
0
null
0
0
0
0
0
0
0
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
7f8e4b7c20a69301780fdb75a315e839b4b51de1
4,183
py
Python
desktop/core/ext-py/python-ldap-2.3.13/setup.py
kokosing/hue
2307f5379a35aae9be871e836432e6f45138b3d9
[ "Apache-2.0" ]
5,079
2015-01-01T03:39:46.000Z
2022-03-31T07:38:22.000Z
desktop/core/ext-py/python-ldap-2.3.13/setup.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
1,623
2015-01-01T08:06:24.000Z
2022-03-30T19:48:52.000Z
desktop/core/ext-py/python-ldap-2.3.13/setup.py
zks888/hue
93a8c370713e70b216c428caa2f75185ef809deb
[ "Apache-2.0" ]
2,033
2015-01-04T07:18:02.000Z
2022-03-28T19:55:47.000Z
""" setup.py - Setup package with the help Python's DistUtils See http://www.python-ldap.org/ for details. $Id: setup.py,v 1.65 2009/10/21 17:32:11 stroeder Exp $ """ has_setuptools = False try: from setuptools import setup, Extension has_setuptools = True except ImportError: from distutils.core import setup, Ext...
29.048611
117
0.672006
571
4,183
4.751313
0.371278
0.082934
0.038334
0.038703
0.122005
0.038334
0.016955
0
0
0
0
0.009275
0.149414
4,183
143
118
29.251748
0.753232
0.138178
0
0.045045
0
0
0.228806
0.024005
0
0
0
0
0
0
null
null
0
0.045045
null
null
0.009009
0
0
0
null
0
0
0
0
0
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
7f92b61fb3af189ce3a0896150a94062e5365015
2,443
py
Python
spinbin/core/limits.py
swc2124/spinbin
324bac6b4c1e9eed736b0c088e2b01cf7adaa66f
[ "MIT" ]
null
null
null
spinbin/core/limits.py
swc2124/spinbin
324bac6b4c1e9eed736b0c088e2b01cf7adaa66f
[ "MIT" ]
null
null
null
spinbin/core/limits.py
swc2124/spinbin
324bac6b4c1e9eed736b0c088e2b01cf7adaa66f
[ "MIT" ]
null
null
null
@cython.boundscheck(False) @cython.wraparound(False) def find_dlims( np.ndarray[np.float64_t, ndim=1] mag_arr, double ab_mag_limit): """ Find the indices of the stars in an array that are visible given a limit. Extended description of function. Parameters ---------- mag_arr : np ...
37.015152
77
0.573475
355
2,443
3.723944
0.284507
0.074887
0.060514
0.039334
0.276853
0.189107
0.189107
0.065053
0
0
0
0.023852
0.313549
2,443
66
78
37.015152
0.76446
0.005321
0
0.170213
0
0
0.074331
0
0
0
0
0
0
0
null
null
0
0
null
null
0.085106
0
0
0
null
0
0
0
0
0
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
7f97b60c8aee7715f529df3a8094cd761018e32f
638
py
Python
vpos/validators.py
txiocoder/django-vpos
7ee39c7b90675689b0b1b9c83767d48149da539a
[ "MIT" ]
3
2021-11-18T16:31:05.000Z
2022-01-21T13:41:58.000Z
vpos/validators.py
txiocoder/django-vpos
7ee39c7b90675689b0b1b9c83767d48149da539a
[ "MIT" ]
1
2021-11-22T19:11:38.000Z
2021-11-22T20:21:29.000Z
vpos/validators.py
txiocoder/django-vpos
7ee39c7b90675689b0b1b9c83767d48149da539a
[ "MIT" ]
null
null
null
import re from django.core import validators from django.utils.deconstruct import deconstructible from django.utils.translation import gettext_lazy as _ @deconstructible class PhoneAOValidator(validators.RegexValidator): regex = r'^(?:(\+244|00244))?(9)(1|2|3|4|9)([\d]{7,7})$' default_replace = r'\2\3\4'...
25.52
60
0.700627
82
638
5.378049
0.560976
0.068027
0.068027
0
0
0
0
0
0
0
0
0.03626
0.178683
638
24
61
26.583333
0.805344
0.010972
0
0.125
0
0.0625
0.143084
0.071542
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.75
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
7f99678f0f24379e6a639892732afcbbc444c61d
1,216
py
Python
mycloud/commands/shared.py
ThomasGassmann/swisscom-my-cloud-backup
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
4
2019-11-28T22:10:43.000Z
2022-01-23T15:18:26.000Z
mycloud/commands/shared.py
ThomasGassmann/swisscom-my-cloud-backup
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
18
2019-01-20T22:30:48.000Z
2020-06-09T21:16:07.000Z
mycloud/commands/shared.py
thomasgassmann/mycloud-cli
97e222c45a54197c82c8f3a5d59aa20bf3382ed8
[ "MIT" ]
null
null
null
import asyncio import logging from functools import update_wrapper import inject from click import ClickException from mycloud.drive.filesync.progress import ProgressTracker from mycloud.mycloudapi import MyCloudRequestExecutor from mycloud.mycloudapi.auth import AuthMode, MyCloudAuthenticator def authenticated(fun...
32.864865
98
0.699836
130
1,216
6.438462
0.484615
0.04779
0.050179
0.043011
0.129032
0
0
0
0
0
0
0
0.223684
1,216
36
99
33.777778
0.886653
0
0
0.142857
0
0
0.141447
0
0
0
0
0
0
1
0.178571
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7f9ecb74d436ef253c6ba8a422d07e767e2f8b26
5,202
py
Python
Item50.py
aambrioso1/Effective_Python
fcd89c27473a871596e54ebe18e1f56318029037
[ "MIT" ]
null
null
null
Item50.py
aambrioso1/Effective_Python
fcd89c27473a871596e54ebe18e1f56318029037
[ "MIT" ]
null
null
null
Item50.py
aambrioso1/Effective_Python
fcd89c27473a871596e54ebe18e1f56318029037
[ "MIT" ]
null
null
null
""" Item 50: Annotate Class Attributes with __set_name__ """ #!/usr/bin/env PYTHONHASHSEED=1234 python3 # Reproduce book environment import random random.seed(1234) import logging from pprint import pprint from sys import stdout as STDOUT # Write all output to a temporary directory import atexit import gc import i...
26.676923
111
0.692426
705
5,202
4.896454
0.316312
0.044322
0.04635
0.041715
0.372538
0.354287
0.323581
0.323581
0.304171
0.294612
0
0.006897
0.219531
5,202
194
112
26.814433
0.84335
0.179354
0
0.541284
0
0
0.105402
0
0
0
0
0
0.009174
1
0.110092
false
0.009174
0.082569
0
0.53211
0.073395
0
0
0
null
0
0
0
0
0
0
0
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
7fa050367dcfc53467a6114e3f5872363932c8cc
4,764
py
Python
event_handler.py
sontung/LeaguePredictor
985fe7c7b527b1612c4fdc8ec7aec1b4de396896
[ "MIT" ]
null
null
null
event_handler.py
sontung/LeaguePredictor
985fe7c7b527b1612c4fdc8ec7aec1b4de396896
[ "MIT" ]
null
null
null
event_handler.py
sontung/LeaguePredictor
985fe7c7b527b1612c4fdc8ec7aec1b4de396896
[ "MIT" ]
null
null
null
import pygame import sys from pygame.locals import * import core_communication from multiprocessing import Queue, Process def api_call_process(queue, playerId): communicator = core_communication.WebServerCommunication() info = communicator.getCurrentGame(playerId) print info queue.put(info) class Ev...
41.789474
91
0.581024
555
4,764
4.664865
0.174775
0.15141
0.114716
0.08034
0.506759
0.422557
0.341445
0.31827
0.31827
0.31827
0
0.001227
0.315701
4,764
113
92
42.159292
0.792945
0
0
0.265957
0
0
0.049328
0
0
0
0
0
0
0
null
null
0
0.053191
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
7fa0e107907bbdf63aa554c757eb04f98b1882e0
6,168
py
Python
main.py
geektype/Programming-Challenge-2
67681e1ad3d99964a2559ed607b1851a450fa295
[ "MIT" ]
null
null
null
main.py
geektype/Programming-Challenge-2
67681e1ad3d99964a2559ed607b1851a450fa295
[ "MIT" ]
null
null
null
main.py
geektype/Programming-Challenge-2
67681e1ad3d99964a2559ed607b1851a450fa295
[ "MIT" ]
null
null
null
try: from sys import exit from os import system from getpass import getpass import os.path except ImportError as e: print("Failed to import 1 or more libraries") print(e) exit() try: import funs except ImportError as e: print("I failed to import the Function File (I REALL need it!)") prinn("Make sure there is...
27.413333
111
0.616083
878
6,168
4.32574
0.261959
0.035808
0.014218
0.011585
0.162454
0.109005
0.065034
0.038968
0.038968
0.021064
0
0.00891
0.217575
6,168
225
112
27.413333
0.778077
0.029021
0
0.351759
0
0
0.396756
0.024411
0
0
0
0
0
1
0.040201
false
0.060302
0.045226
0
0.125628
0.301508
0
0
0
null
0
0
0
0
0
0
0
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
7fa8260df879e46728e5672e1cc053a8636bcc7d
1,656
py
Python
photos/views.py
felkiriinya/Personal-Gallery
3ae448152c17515622e51a134640cfd31af34f70
[ "MIT" ]
null
null
null
photos/views.py
felkiriinya/Personal-Gallery
3ae448152c17515622e51a134640cfd31af34f70
[ "MIT" ]
null
null
null
photos/views.py
felkiriinya/Personal-Gallery
3ae448152c17515622e51a134640cfd31af34f70
[ "MIT" ]
null
null
null
from django.shortcuts import render,redirect from django.http import HttpResponse,Http404 from .models import Image,Location,Category # Create your views here. from django import forms from django.http import HttpResponse from cloudinary.forms import cl_init_js_callbacks from .forms import PhotoForm def upload...
35.234043
120
0.722826
209
1,656
5.617225
0.315789
0.061329
0.097104
0.093697
0.253833
0.139693
0.088586
0.088586
0.088586
0
0
0.002147
0.156401
1,656
47
121
35.234043
0.838225
0.013889
0
0
0
0
0.158088
0.072304
0
0
0
0
0
1
0.142857
false
0
0.2
0
0.514286
0
0
0
0
null
0
0
0
0
0
0
0
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
7fa952c2d04f97930ce3e4b8069de60fdda959b2
704
py
Python
In Class Code/2-16-19/in_class_190226/preparation/http_server/simple_request_handler2.py
hamie96/CS-4720-Internet-Programming
ac998ffe6af5604fd985ebce0dfc226e58b074f5
[ "BSD-Source-Code" ]
null
null
null
In Class Code/2-16-19/in_class_190226/preparation/http_server/simple_request_handler2.py
hamie96/CS-4720-Internet-Programming
ac998ffe6af5604fd985ebce0dfc226e58b074f5
[ "BSD-Source-Code" ]
null
null
null
In Class Code/2-16-19/in_class_190226/preparation/http_server/simple_request_handler2.py
hamie96/CS-4720-Internet-Programming
ac998ffe6af5604fd985ebce0dfc226e58b074f5
[ "BSD-Source-Code" ]
null
null
null
import http.server import socketserver PORT = 8000 # Found this at # https://stackoverflow.com/questions/39801718/how-to-run-a-http-server-which-serve-a-specific-path # # Change the base directory for the simple server by intercepting the constructor # for SimpleHTTPRequestHandler DIRECTORY = "w...
23.466667
100
0.705966
80
704
6.1
0.6125
0.081967
0.069672
0.168033
0
0
0
0
0
0
0
0.020833
0.181818
704
29
101
24.275862
0.826389
0.428977
0
0
0
0
0.049587
0
0
0
0
0
0
1
0.1
false
0
0.2
0
0.4
0.1
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
7fab16925132c7dd18ab1343d2ec0b29bb10ac47
2,582
py
Python
internationalflavor/vat_number/data.py
burakozdemir32/django-internationalflavor
4c5d29519050c929a608d2054c14faa44ee273c9
[ "BSD-3-Clause" ]
null
null
null
internationalflavor/vat_number/data.py
burakozdemir32/django-internationalflavor
4c5d29519050c929a608d2054c14faa44ee273c9
[ "BSD-3-Clause" ]
null
null
null
internationalflavor/vat_number/data.py
burakozdemir32/django-internationalflavor
4c5d29519050c929a608d2054c14faa44ee273c9
[ "BSD-3-Clause" ]
null
null
null
VAT_NUMBER_REGEXES = { # EU VAT number regexes have a high certainty 'AT': r'^U\d{8}$', 'BE': r'^[01]\d{9}$', 'BG': r'^\d{9,10}$', 'CY': r'^\d{8}[A-Z]$', 'CZ': r'^\d{8,10}$', 'DE': r'^\d{9}$', 'DK': r'^\d{8}$', 'EE': r'^\d{9}$', 'EL': r'^\d{9}$', 'ES': r'^([A-Z]\d{7}[A-Z0-9]|...
28.373626
108
0.397754
478
2,582
2.127615
0.351464
0.114061
0.061947
0.011799
0.021632
0
0
0
0
0
0
0.066799
0.217273
2,582
90
109
28.688889
0.436418
0.087916
0
0
0
0.055556
0.447447
0.07958
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7fbcc953050c1f389209ae6a4f1868f54d498392
5,899
py
Python
jcourse_api/admin.py
dujiajun/jcourse_api
033f73708aff7f485fbbd04eb66a81260b4f76b6
[ "MIT" ]
7
2021-06-04T12:20:16.000Z
2022-03-04T02:18:51.000Z
jcourse_api/admin.py
dujiajun/jcourse_api
033f73708aff7f485fbbd04eb66a81260b4f76b6
[ "MIT" ]
null
null
null
jcourse_api/admin.py
dujiajun/jcourse_api
033f73708aff7f485fbbd04eb66a81260b4f76b6
[ "MIT" ]
null
null
null
import os from django.contrib import admin from django.db import IntegrityError from django.db.models import F from import_export import resources, fields from import_export.admin import ImportExportModelAdmin from import_export.widgets import ForeignKeyWidget, ManyToManyWidget from jcourse_api.models import * clas...
35.113095
113
0.694185
601
5,899
6.585691
0.21797
0.042698
0.075038
0.030318
0.342345
0.308236
0.259474
0.237746
0.213492
0.213492
0
0.00041
0.173928
5,899
167
114
35.323353
0.81182
0
0
0.269841
0
0
0.177318
0
0
0
0
0
0
1
0.039683
false
0.02381
0.18254
0.007937
0.714286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f68084876d69f34dfc159def1f073809e2bbb3e1
399
py
Python
QGrain/__init__.py
yuriok/QGrain
39a136d4e89716a26a88d68ffa00d36ef6036279
[ "MIT" ]
4
2021-09-04T11:00:07.000Z
2022-01-06T12:50:09.000Z
QGrain/__init__.py
yuriok/QGrain
39a136d4e89716a26a88d68ffa00d36ef6036279
[ "MIT" ]
null
null
null
QGrain/__init__.py
yuriok/QGrain
39a136d4e89716a26a88d68ffa00d36ef6036279
[ "MIT" ]
2
2021-08-23T02:39:07.000Z
2021-12-30T03:04:07.000Z
QGRAIN_VERSION = "0.3.4.2" import os QGRAIN_ROOT_PATH = os.path.dirname(__file__) from enum import Enum, unique @unique class DistributionType(Enum): Customized = "Customized" Nonparametric = "NonParametric" Normal = "Normal" Weibull = "Weibull" SkewNormal = "SkewNormal" @unique class FittingSt...
17.347826
44
0.684211
46
399
5.782609
0.608696
0.082707
0
0
0
0
0
0
0
0
0
0.025641
0.218045
399
22
45
18.136364
0.826923
0
0
0.117647
0
0
0.132832
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.764706
0
0
0
0
null
0
0
0
0
0
0
0
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
f68b2a2c1bbeaf05b8f7efa59d8f11a603fc31ed
7,021
py
Python
Utilities/learn_weights.py
tesslerc/H-DRLN
87c643e193002fce3e1865a2e962351eff6cbdea
[ "MIT" ]
31
2017-02-03T15:11:19.000Z
2021-05-20T15:58:34.000Z
Utilities/learn_weights.py
tesslerc/H-DRLN
87c643e193002fce3e1865a2e962351eff6cbdea
[ "MIT" ]
1
2019-12-10T07:11:53.000Z
2019-12-10T12:25:00.000Z
Utilities/learn_weights.py
tesslerc/H-DRLN
87c643e193002fce3e1865a2e962351eff6cbdea
[ "MIT" ]
4
2017-03-25T07:19:59.000Z
2019-05-26T02:16:49.000Z
from __future__ import absolute_import from __future__ import division from __future__ import print_function import argparse import sys import h5py import numpy as np import math import tensorflow as tf FLAGS = None def main(_): hiddenWidth1 = 100 hiddenWidth2 = 64 outputWidth = 5 weightInit = -1 batchSiz...
45.296774
489
0.650335
964
7,021
4.616183
0.206432
0.035056
0.091685
0.064719
0.414607
0.359326
0.290112
0.208315
0.18
0.18
0
0.040475
0.183592
7,021
154
490
45.590909
0.735869
0.125053
0
0
0
0
0.065624
0
0
0
0
0
0
0
null
null
0
0.098901
null
null
0.131868
0
0
0
null
0
0
0
0
0
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
f68f3826b66aee93f5d3af338ca08ebc689a709e
10,473
py
Python
lomond/events.py
johnashu/dataplicity-lomond
2e3235fb64f4c630ceb9a141f4d44977e89e7322
[ "BSD-3-Clause" ]
225
2017-06-01T15:01:49.000Z
2022-03-29T12:39:18.000Z
lomond/events.py
johnashu/dataplicity-lomond
2e3235fb64f4c630ceb9a141f4d44977e89e7322
[ "BSD-3-Clause" ]
51
2017-04-05T10:53:29.000Z
2021-04-14T11:22:59.000Z
lomond/events.py
johnashu/dataplicity-lomond
2e3235fb64f4c630ceb9a141f4d44977e89e7322
[ "BSD-3-Clause" ]
21
2017-08-09T16:50:02.000Z
2021-09-13T17:06:23.000Z
from __future__ import unicode_literals import json import time class Event(object): """Base class for a websocket 'event'.""" __slots__ = ['received_time'] def __init__(self): self.received_time = time.time() def __repr__(self): return "{}()".format(self.__class__.__name__) @c...
25.987593
75
0.599828
1,188
10,473
4.948653
0.160774
0.019051
0.029937
0.040483
0.355673
0.292227
0.224528
0.167375
0.115326
0.115326
0
0.000801
0.284828
10,473
402
76
26.052239
0.784112
0.338489
0
0.307317
0
0
0.099025
0
0
0
0
0
0
1
0.165854
false
0
0.014634
0.068293
0.526829
0
0
0
0
null
0
0
0
0
0
0
0
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
f6a2c0d55552aa2896cebc8cc75a53caa90c482a
13,605
py
Python
S4/S4 Decompiler/Old Libraries/uncompyle6/parsers/parse38.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
1
2021-05-20T19:33:37.000Z
2021-05-20T19:33:37.000Z
S4/S4 Decompiler/Old Libraries/uncompyle6/parsers/parse38.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
S4/S4 Decompiler/Old Libraries/uncompyle6/parsers/parse38.py
NeonOcean/Environment
ca658cf66e8fd6866c22a4a0136d415705b36d26
[ "CC-BY-4.0" ]
null
null
null
# Copyright (c) 2017-2019 Rocky Bernstein # # 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 of the License, or # (at your option) any later version. # # This program is di...
47.404181
97
0.525983
1,394
13,605
4.761836
0.200861
0.048207
0.029828
0.021693
0.486894
0.447273
0.417897
0.410365
0.385206
0.341217
0
0.018723
0.434693
13,605
286
98
47.56993
0.844364
0.469239
0
0.254237
0
0
0.597679
0.003597
0
0
0
0.01049
0
1
0.033898
false
0.042373
0.059322
0
0.144068
0.016949
0
0
0
null
0
0
0
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
f6b3c3c24082bac1b77801db12fa4b3b6dcfca81
403
py
Python
tests/builtins/test_oct.py
Mariatta/voc
348346646a8c0755729dd9ca961a2958e0f6ad50
[ "BSD-3-Clause" ]
1
2021-01-03T00:59:50.000Z
2021-01-03T00:59:50.000Z
tests/builtins/test_oct.py
Mariatta/voc
348346646a8c0755729dd9ca961a2958e0f6ad50
[ "BSD-3-Clause" ]
null
null
null
tests/builtins/test_oct.py
Mariatta/voc
348346646a8c0755729dd9ca961a2958e0f6ad50
[ "BSD-3-Clause" ]
null
null
null
from .. utils import TranspileTestCase, BuiltinFunctionTestCase class OctTests(TranspileTestCase): pass class BuiltinOctFunctionTests(BuiltinFunctionTestCase, TranspileTestCase): functions = ["oct"] not_implemented = [ 'test_bytearray', 'test_bytes', 'test_class', 'test_...
20.15
74
0.647643
31
403
8.16129
0.645161
0
0
0
0
0
0
0
0
0
0
0
0.255583
403
19
75
21.210526
0.843333
0
0
0
0
0
0.198511
0
0
0
0
0
0
1
0
false
0.071429
0.071429
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
f6b5b14053990c951dea20c4d2d99721c9aeab13
464
py
Python
api/accounts/base/serializers.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
97
2016-11-15T14:44:23.000Z
2022-03-13T18:09:15.000Z
api/accounts/base/serializers.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
334
2016-11-17T19:56:57.000Z
2022-03-18T10:45:53.000Z
api/accounts/base/serializers.py
klebed/esdc-ce
2c9e4591f344247d345a83880ba86777bb794460
[ "Apache-2.0" ]
33
2017-01-02T16:04:13.000Z
2022-02-07T19:20:24.000Z
from api import serializers as s from api.authtoken.serializers import AuthTokenSerializer class APIAuthTokenSerializer(AuthTokenSerializer): """ Add some more validation into the AuthTokenSerializer. """ def validate(self, attrs): attrs = super(APIAuthTokenSerializer, self).validate(attrs) ...
29
81
0.713362
51
464
6.470588
0.627451
0.042424
0
0
0
0
0
0
0
0
0
0
0.211207
464
15
82
30.933333
0.901639
0.116379
0
0
0
0
0.116751
0
0
0
0
0
0
1
0.125
false
0
0.25
0
0.625
0
0
0
0
null
0
0
0
0
0
0
0
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
f6bece0ae0a5fb31207d465be7e778bc3741a96f
4,164
py
Python
src/connectionWindow.py
insoPL/QtDraughts
62368e6523bf3dd50752ae5dffc65e946775f58d
[ "MIT" ]
null
null
null
src/connectionWindow.py
insoPL/QtDraughts
62368e6523bf3dd50752ae5dffc65e946775f58d
[ "MIT" ]
null
null
null
src/connectionWindow.py
insoPL/QtDraughts
62368e6523bf3dd50752ae5dffc65e946775f58d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from PyQt5.QtWidgets import QVBoxLayout, QDialog, QLineEdit, QHBoxLayout, QPushButton, QProgressDialog from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QMessageBox from PyQt5.QtCore import pyqtSignal, Qt from network import Server, Client import logging import socket class Connectio...
36.526316
114
0.706052
448
4,164
6.379464
0.183036
0.102869
0.107068
0.056683
0.522043
0.503849
0.460112
0.368789
0.295311
0.220434
0
0.008889
0.189481
4,164
113
115
36.849558
0.837926
0.005043
0
0.271605
0
0
0.052403
0.016663
0
0
0
0
0
1
0.074074
false
0.074074
0.08642
0
0.234568
0
0
0
0
null
0
0
0
0
0
0
0
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
f6c79667389750097e8ee18a0d18fd93cd2655fc
793
py
Python
PythonDesafios/d075.py
adaatii/Python-Curso-em-Video-
30b37713b3685469558babb93b557b53210f010c
[ "MIT" ]
null
null
null
PythonDesafios/d075.py
adaatii/Python-Curso-em-Video-
30b37713b3685469558babb93b557b53210f010c
[ "MIT" ]
null
null
null
PythonDesafios/d075.py
adaatii/Python-Curso-em-Video-
30b37713b3685469558babb93b557b53210f010c
[ "MIT" ]
null
null
null
# Desenvolva um programa que leia quatro valores # pelo teclado e guarde-os em uma tupla. # No final, mostre: # A) Quantas vezes apareceu o valor 9. # B) Em que posição foi digitado o primeiro valor 3. # C) Quais foram os números pares. num = (int(input('Digite um numero: ')), int(input('Digite outro numero: ')...
31.72
58
0.639344
129
793
3.937985
0.503876
0.047244
0.110236
0.11811
0.145669
0
0
0
0
0
0
0.017974
0.228247
793
24
59
33.041667
0.810458
0.282472
0
0.117647
0
0
0.505338
0
0
0
0
0
0
1
0
false
0
0
0
0
0.411765
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f6cac16f465aa1bcf455d0cae74f4144688bb1c9
719
py
Python
mmtfPyspark/tests/datasets/test_dbPtmDataset.py
sbliven/mmtf-pyspark
3d444178bdc0d5128aafdb1326fec12b5d7634b5
[ "Apache-2.0" ]
59
2018-01-28T06:50:56.000Z
2022-02-10T06:07:12.000Z
mmtfPyspark/tests/datasets/test_dbPtmDataset.py
sbliven/mmtf-pyspark
3d444178bdc0d5128aafdb1326fec12b5d7634b5
[ "Apache-2.0" ]
101
2018-02-01T20:51:10.000Z
2022-01-24T00:50:29.000Z
mmtfPyspark/tests/datasets/test_dbPtmDataset.py
sbliven/mmtf-pyspark
3d444178bdc0d5128aafdb1326fec12b5d7634b5
[ "Apache-2.0" ]
29
2018-01-29T10:09:51.000Z
2022-01-23T18:53:28.000Z
#!/usr/bin/env python import unittest from pyspark.sql import SparkSession from mmtfPyspark.datasets import dbPtmDataset as pm from mmtfPyspark.datasets.dbPtmDataset import PtmType class DbPtmDatasetTest(unittest.TestCase): def setUp(self): self.spark = SparkSession.builder.master("local[*]") \ ...
22.46875
67
0.673157
80
719
5.8875
0.575
0.063694
0.097665
0.101911
0
0
0
0
0
0
0
0.015929
0.214186
719
31
68
23.193548
0.817699
0.027816
0
0
0
0
0.045845
0
0
0
0
0
0.105263
1
0.210526
false
0
0.210526
0
0.473684
0
0
0
0
null
0
0
0
0
0
0
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
f6ce91bbd046fbf00d02bfe1e9417079dab87dda
32,896
py
Python
src/lambda_process_doc.py
maximillianus/smart-document-check
df20ec5844daef3162788ad53b8bd8f5b27dd720
[ "MIT" ]
null
null
null
src/lambda_process_doc.py
maximillianus/smart-document-check
df20ec5844daef3162788ad53b8bd8f5b27dd720
[ "MIT" ]
null
null
null
src/lambda_process_doc.py
maximillianus/smart-document-check
df20ec5844daef3162788ad53b8bd8f5b27dd720
[ "MIT" ]
null
null
null
import json import urllib.parse import boto3 import base64 from pprint import pprint import re print('Loading function') textractClient = boto3.client('textract') s3 = boto3.client('s3') DOCUMENT_TYPE_ENUM = { 'passport': 'PASSPORT', 'identity_card': 'IDENTITY_CARD', 'driving_license': 'DRIVER_LICENSE' }...
37.254813
177
0.584083
3,975
32,896
4.609308
0.068931
0.0596
0.034494
0.047429
0.690754
0.670724
0.608176
0.553761
0.478987
0.397446
0
0.021619
0.254773
32,896
883
178
37.254813
0.72576
0.026994
0
0.457375
0
0.00406
0.201752
0.008134
0
0
0
0
0
1
0.036536
false
0.112314
0.008119
0
0.102842
0.023004
0
0
0
null
0
0
0
0
0
0
0
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