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
8c06d4ea2ce591c6901cfc2ba661bf9d51369fa7
6,013
py
Python
tests/test_permissions.py
amehta1/t1-python
4f7eb0bec7671b29baf3105b8cafafb373107e7b
[ "Apache-2.0" ]
24
2015-07-09T18:49:10.000Z
2021-06-07T18:36:58.000Z
tests/test_permissions.py
amehta1/t1-python
4f7eb0bec7671b29baf3105b8cafafb373107e7b
[ "Apache-2.0" ]
100
2015-07-13T20:24:50.000Z
2020-08-10T11:16:39.000Z
tests/test_permissions.py
amehta1/t1-python
4f7eb0bec7671b29baf3105b8cafafb373107e7b
[ "Apache-2.0" ]
36
2015-07-09T18:51:48.000Z
2022-02-14T22:44:37.000Z
from __future__ import print_function from __future__ import absolute_import import unittest import responses import requests from .requests_patch import patched_extract_cookies_to_jar from terminalone import T1 mock_credentials = { 'username': 'user;', 'password': 'password', 'api_key': 'api_key', } AP...
40.628378
127
0.612007
731
6,013
4.849521
0.169631
0.03385
0.03385
0.041467
0.724401
0.702962
0.690268
0.682934
0.662059
0.573766
0
0.026406
0.275736
6,013
147
128
40.904762
0.7876
0.003326
0
0.545455
0
0
0.25522
0.03992
0
0
0
0
0.099174
1
0.057851
false
0.008264
0.057851
0
0.123967
0.008264
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
8c08e419433e498b8f9e404c4ebeb43ef108fc7f
16,894
py
Python
app/PartitionMethods.py
karrnb/Region-Graph-Exploration
18fb8896f0e4aadae1935704f687da348df6caae
[ "MIT" ]
null
null
null
app/PartitionMethods.py
karrnb/Region-Graph-Exploration
18fb8896f0e4aadae1935704f687da348df6caae
[ "MIT" ]
null
null
null
app/PartitionMethods.py
karrnb/Region-Graph-Exploration
18fb8896f0e4aadae1935704f687da348df6caae
[ "MIT" ]
null
null
null
import graph_tool.all as gt # import networkx as nx import numpy as np from subprocess import Popen, PIPE from HierarchicalPartitioningTree import PartitionTree, PartitionNode # from networkx.algorithms.flow import edmonds_karp, shortest_augmenting_path def connected_components(G, vertex_indices=None, edge_indices=No...
34.83299
79
0.601219
2,239
16,894
4.380974
0.11791
0.057192
0.018554
0.020797
0.641758
0.608727
0.564176
0.542971
0.542971
0.535223
0
0.004487
0.300758
16,894
484
80
34.904959
0.82587
0.04765
0
0.539033
0
0.003717
0.088469
0.002465
0
0
0
0.004132
0.007435
0
null
null
0
0.01487
null
null
0.01487
0
0
0
null
0
0
0
0
0
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
8c0ff212c97a37f698eeda3d432ba055a2b1f040
840
py
Python
model/api/loader.py
mvxxx/mimuw-hats
1d58f2f072d48f5462438eb9d5176ceff607c944
[ "MIT" ]
null
null
null
model/api/loader.py
mvxxx/mimuw-hats
1d58f2f072d48f5462438eb9d5176ceff607c944
[ "MIT" ]
1
2020-08-30T18:58:31.000Z
2020-08-30T18:58:31.000Z
model/api/loader.py
mvxxx/mimuw-hats
1d58f2f072d48f5462438eb9d5176ceff607c944
[ "MIT" ]
1
2021-08-23T21:59:51.000Z
2021-08-23T21:59:51.000Z
import numpy as np import warnings with warnings.catch_warnings(): warnings.filterwarnings("ignore", category=FutureWarning) from keras.preprocessing import image as imageK def load_image(img_path, shape): """Loads image in KERAS mdoe Args: img_path (string): path to image shape (tup...
23.333333
72
0.665476
111
840
4.873874
0.423423
0.073937
0.048059
0.066543
0.118299
0.118299
0.118299
0
0
0
0
0.00627
0.240476
840
36
73
23.333333
0.841693
0.32619
0
0
0
0
0.017787
0
0
0
0
0
0
1
0.153846
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c1518f847592670e89d0874c6bf56c4b83c8fd6
253
py
Python
estudo/urls.py
bcunhasa/nutriodonto
3ff20377bc85bc4960619f63688b7732e6eebba9
[ "CC0-1.0" ]
null
null
null
estudo/urls.py
bcunhasa/nutriodonto
3ff20377bc85bc4960619f63688b7732e6eebba9
[ "CC0-1.0" ]
null
null
null
estudo/urls.py
bcunhasa/nutriodonto
3ff20377bc85bc4960619f63688b7732e6eebba9
[ "CC0-1.0" ]
null
null
null
"""Define os padrões de URL para a aplicação""" from django.conf.urls import url from . import views app_name="estudo" urlpatterns = [ # Acompanhamento dos resultados do estudo url(r'^estudo/$', views.EstudoView.as_view(), name='estudo'), ]
19.461538
65
0.703557
35
253
5.028571
0.742857
0.113636
0
0
0
0
0
0
0
0
0
0
0.166008
253
12
66
21.083333
0.834123
0.324111
0
0
0
0
0.127273
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
8c1bf8af6009c6be821d90e1367f1e5f47a177db
740
py
Python
app/email.py
lootfee/writerrific
e7d4aeb05af7f70db60a045d8814e1ff952483c8
[ "MIT" ]
null
null
null
app/email.py
lootfee/writerrific
e7d4aeb05af7f70db60a045d8814e1ff952483c8
[ "MIT" ]
null
null
null
app/email.py
lootfee/writerrific
e7d4aeb05af7f70db60a045d8814e1ff952483c8
[ "MIT" ]
null
null
null
from flask import render_template from flask_mail import Message from app import mail, app from threading import Thread def send_email(subject, sender, recipients, html_body): msg = Message(subject, sender=sender, recipients=recipients) #msg.body = text_body msg.html = html_body mail.send(msg)...
41.111111
95
0.691892
95
740
5.189474
0.326316
0.085193
0.073022
0.093306
0.146045
0.146045
0
0
0
0
0
0.001706
0.208108
740
18
96
41.111111
0.83959
0.132432
0
0
0
0
0.102564
0.040064
0
0
0
0
0
1
0.142857
false
0.285714
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8c1c69975e8a4609776f6c24f2097f6b77e6ecfb
1,089
py
Python
app/models.py
FikaNote/FikaNote
a042077f3755a527fe7e366efc360e13cc82e945
[ "MIT" ]
2
2018-05-17T06:44:13.000Z
2018-07-20T04:45:31.000Z
app/models.py
FikaNote/FikaNote
a042077f3755a527fe7e366efc360e13cc82e945
[ "MIT" ]
20
2016-11-01T08:33:28.000Z
2021-09-22T17:37:00.000Z
app/models.py
FikaNote/FikaNote
a042077f3755a527fe7e366efc360e13cc82e945
[ "MIT" ]
null
null
null
from django.db import models import mongoengine from mongoengine import Document, EmbeddedDocument from mongoengine.fields import * import os # Create your models here. class Greeting(models.Model): when = models.DateTimeField('date created', auto_now_add=True) MONGODB_USER = os.environ.get("DATABASE_USER") MONG...
27.225
143
0.727273
114
1,089
6.859649
0.482456
0.061381
0.107417
0.051151
0.112532
0.112532
0
0
0
0
0
0
0.15427
1,089
39
144
27.923077
0.849077
0.022039
0
0.285714
0
0
0.162747
0.06397
0
0
0
0
0
1
0
false
0.071429
0.178571
0
0.857143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
8c210ebb4dd1ea793c5e136d84445fdd0419cc2f
1,799
py
Python
tools/frontend/alpha/utils/logging.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
tools/frontend/alpha/utils/logging.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
tools/frontend/alpha/utils/logging.py
Ren-Research/maestro
b89e171d51ec910b165b9b01dd8373848a6207f7
[ "MIT" ]
null
null
null
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved import atexit import builtins import decimal import functools import logging import os import sys from .comm import is_master_process as is_master_proc def _suppress_print(): """ Suppresses printing from the current process. """ d...
26.455882
79
0.670928
233
1,799
5.055794
0.399142
0.033956
0.040747
0.032258
0.044143
0
0
0
0
0
0
0
0.231795
1,799
67
80
26.850746
0.852388
0.282935
0
0.054054
0
0
0.044971
0
0
0
0
0
0
1
0.108108
false
0.081081
0.216216
0
0.351351
0.162162
0
0
0
null
0
0
0
0
0
0
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
8c23547cda00493499d4769f7408f38f37979e21
1,742
py
Python
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pacman/model/abstract_classes/virtual_partitioned_vertex.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
2
2020-11-01T13:22:11.000Z
2020-11-01T13:22:20.000Z
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pacman/model/abstract_classes/virtual_partitioned_vertex.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
src/spinnaker_ros_lsm/venv/lib/python2.7/site-packages/pacman/model/abstract_classes/virtual_partitioned_vertex.py
Roboy/LSM_SpiNNaker_MyoArm
04fa1eaf78778edea3ba3afa4c527d20c491718e
[ "BSD-3-Clause" ]
null
null
null
from pacman.model.partitioned_graph.partitioned_vertex import PartitionedVertex from pacman.model.constraints.placer_constraints\ .placer_chip_and_core_constraint import PlacerChipAndCoreConstraint class VirtualPartitionedVertex(PartitionedVertex): def __init__( self, resources_required, label, s...
30.034483
79
0.695752
216
1,742
5.101852
0.194444
0.149728
0.122505
0.072595
0.338476
0.089837
0.050817
0
0
0
0
0
0.246269
1,742
57
80
30.561404
0.839299
0.022388
0
0.136364
0
0
0
0
0
0
0
0
0
1
0.181818
false
0
0.045455
0.113636
0.386364
0
0
0
0
null
0
0
0
0
0
0
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
8c2ac96e6f532d217c159bc2a3229373f0cbc6f7
4,250
py
Python
containers/AVLTree.py
Tonnpo/csci-046
b26ad2d44eee81b547c71ac47f5a5967682a1ff9
[ "BSD-3-Clause" ]
null
null
null
containers/AVLTree.py
Tonnpo/csci-046
b26ad2d44eee81b547c71ac47f5a5967682a1ff9
[ "BSD-3-Clause" ]
null
null
null
containers/AVLTree.py
Tonnpo/csci-046
b26ad2d44eee81b547c71ac47f5a5967682a1ff9
[ "BSD-3-Clause" ]
null
null
null
from containers.BinaryTree import BinaryTree, Node from containers.BST import BST from copy import copy class AVLTree(BST): ''' FIXME: AVLTree is currently not a subclass of BST. You should make the necessary changes in the class declaration line above and in the constructor below. ''' de...
31.021898
77
0.573412
480
4,250
4.858333
0.185417
0.06175
0.051458
0.051458
0.34048
0.301458
0.212693
0.153516
0.153516
0.153516
0
0.002164
0.347529
4,250
136
78
31.25
0.838803
0.115765
0
0.340206
0
0
0
0
0
0
0
0.022059
0
1
0.113402
false
0
0.030928
0.010309
0.257732
0
0
0
0
null
0
0
0
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
8c2c11e8080b88f2c5ba0afd85f38b3a884d31cb
1,107
py
Python
catalog_update_product.py
cognitivefashion/cf-sdk-python
9eb90245314a54d1a472f835fb427e7f6509d92a
[ "Apache-2.0" ]
9
2019-03-05T02:50:48.000Z
2022-02-25T20:21:42.000Z
catalog_update_product.py
cognitivefashion/cf-sdk-python
9eb90245314a54d1a472f835fb427e7f6509d92a
[ "Apache-2.0" ]
1
2019-05-21T02:04:27.000Z
2020-02-10T20:33:10.000Z
catalog_update_product.py
cognitivefashion/cf-sdk-python
9eb90245314a54d1a472f835fb427e7f6509d92a
[ "Apache-2.0" ]
5
2017-06-16T00:00:13.000Z
2021-02-08T19:23:59.000Z
#------------------------------------------------------------------------------ # Update product in a catalog. # PUT /v1/catalog/{catalog_name}/products/{id} #------------------------------------------------------------------------------ import os import json import requests from urlparse import urljoin from pprint...
23.553191
79
0.582656
129
1,107
4.860465
0.44186
0.087719
0.062201
0
0
0
0
0
0
0
0
0.009868
0.176152
1,107
46
80
24.065217
0.677632
0.38121
0
0
0
0
0.182764
0.038633
0
0
0
0
0
0
null
null
0
0.272727
null
null
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
8c2eb3d68517a305ac46d682b1f895e78c39945e
393
py
Python
2020/Day_06/part1.py
Adilius/adventofcode
d0d3ad1a0430c3732d108ad8ef2b4d218a37944b
[ "MIT" ]
2
2020-12-01T14:50:51.000Z
2020-12-03T17:08:43.000Z
2020/Day_06/part1.py
Adilius/adventofcode
d0d3ad1a0430c3732d108ad8ef2b4d218a37944b
[ "MIT" ]
null
null
null
2020/Day_06/part1.py
Adilius/adventofcode
d0d3ad1a0430c3732d108ad8ef2b4d218a37944b
[ "MIT" ]
null
null
null
input_file = open("input.txt","r") lines = input_file.readlines() count = 0 answers = set() for line in lines: if line == "\n": count += len(answers) print(answers) answers.clear() for character in line: #print(character) if character != "\n": answers.add(cha...
21.833333
34
0.597964
49
393
4.755102
0.428571
0.077253
0.128755
0.171674
0.334764
0.334764
0.334764
0
0
0
0
0.003425
0.256997
393
18
35
21.833333
0.794521
0.040712
0
0.375
0
0
0.037135
0
0
0
0
0
0
1
0
false
0
0
0
0
0.1875
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
8c326d4bd609e74d62b43e745716ebe7b6fb5fbf
4,755
py
Python
src/vnsw/agent/gdb/agent_ksync.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
37
2020-09-21T10:42:26.000Z
2022-01-09T10:16:40.000Z
src/vnsw/agent/gdb/agent_ksync.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
null
null
null
src/vnsw/agent/gdb/agent_ksync.py
jnpr-pranav/contrail-controller
428eee37c28c31830fd764315794e1a6e52720c1
[ "Apache-2.0" ]
21
2020-08-25T12:48:42.000Z
2022-03-22T04:32:18.000Z
from __future__ import print_function # # Copyright (c) 2016 Juniper Networks. All rights reserved. # # agent_ksync.py # # gdb macros to dump the vrouter agent KSync object/entries from builtins import next from builtins import str import gdb from libstdcxx.v6.printers import * from boost.printers import * class ...
44.027778
213
0.696951
678
4,755
4.469027
0.19469
0.069307
0.056106
0.049505
0.30033
0.217162
0.149835
0.128053
0.049505
0.036304
0
0.008479
0.156677
4,755
107
214
44.439252
0.747132
0.02776
0
0
0
0
0.197833
0.061105
0
0
0.003467
0
0
1
0.25
false
0.0125
0.075
0
0.3375
0.4
0
0
0
null
0
0
0
0
0
0
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
8c355f54ae5da43cddd54d16dc307af4000c9f1f
11,331
py
Python
molar/cli/commands/cmd_install.py
aspuru-guzik-group/molar
a3e0c337bd8a41c94b2c25831c95048cc7614f04
[ "BSD-3-Clause" ]
4
2021-07-20T18:49:44.000Z
2021-10-15T00:58:12.000Z
molar/cli/commands/cmd_install.py
aspuru-guzik-group/molar
a3e0c337bd8a41c94b2c25831c95048cc7614f04
[ "BSD-3-Clause" ]
null
null
null
molar/cli/commands/cmd_install.py
aspuru-guzik-group/molar
a3e0c337bd8a41c94b2c25831c95048cc7614f04
[ "BSD-3-Clause" ]
2
2022-01-07T17:57:42.000Z
2022-01-13T21:00:20.000Z
# std from datetime import datetime from distutils.spawn import find_executable import os from pathlib import Path import secrets import shutil import stat import subprocess from time import sleep from typing import List, Optional # external from alembic import command import click from dotenv import dotenv_values fro...
32.654179
88
0.639132
1,358
11,331
5.134021
0.173049
0.026104
0.017068
0.025244
0.261331
0.179719
0.132243
0.110442
0.063396
0.034137
0
0.001643
0.247904
11,331
346
89
32.748555
0.816475
0.00759
0
0.200658
0
0
0.238455
0.054809
0
0
0
0
0
1
0.029605
false
0.128289
0.072368
0
0.115132
0.055921
0
0
0
null
0
0
0
0
0
0
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
8c3c8b63443eeedc15cb6d961287f84006acbc50
2,278
py
Python
src/bxcommon/network/socket_connection_protocol.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
12
2019-11-06T17:39:10.000Z
2022-03-01T11:26:19.000Z
src/bxcommon/network/socket_connection_protocol.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
8
2019-11-06T21:31:11.000Z
2021-06-02T00:46:50.000Z
src/bxcommon/network/socket_connection_protocol.py
dolphinridercrypto/bxcommon
8f70557c1dbff785a5dd3fcdf91176066e085c3a
[ "MIT" ]
5
2019-11-14T18:08:11.000Z
2022-02-08T09:36:22.000Z
import time from asyncio import BufferedProtocol from typing import Optional, TYPE_CHECKING from bxcommon.network.abstract_socket_connection_protocol import AbstractSocketConnectionProtocol from bxcommon.network.ip_endpoint import IpEndpoint from bxutils import logging from bxutils.logging import LogRecordType if TYP...
37.966667
99
0.713345
266
2,278
5.755639
0.327068
0.065317
0.055519
0.068583
0.173743
0.143697
0.143697
0.143697
0.143697
0.143697
0
0.006678
0.21115
2,278
59
100
38.610169
0.845298
0.082529
0
0.181818
0
0
0.027818
0
0
0
0
0.016949
0.068182
1
0.113636
false
0
0.181818
0
0.431818
0
0
0
0
null
0
0
0
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
8c40511cf64b2dc14c2bb33565ae83874b28d421
2,476
py
Python
cedm/policy/SummaryActionMaster.py
Ratnesh-Rai/Pydial-Personalisation
3a149f511ee180507cd1bb1dd2c40100c14705ab
[ "Apache-2.0" ]
3
2019-04-28T03:53:33.000Z
2020-01-20T14:38:40.000Z
cedm/policy/SummaryActionMaster.py
lgessler/pydial
482aacd16870b84bcad70aa59aa67098b42efff5
[ "Apache-2.0" ]
null
null
null
cedm/policy/SummaryActionMaster.py
lgessler/pydial
482aacd16870b84bcad70aa59aa67098b42efff5
[ "Apache-2.0" ]
1
2021-12-20T08:08:32.000Z
2021-12-20T08:08:32.000Z
############################################################################### # PyDial: Multi-domain Statistical Spoken Dialogue System Software ############################################################################### # # Copyright 2015 - 2018 # Cambridge University Engineering Department Dialogue Systems Grou...
32.578947
137
0.621163
264
2,476
5.757576
0.549242
0.039474
0.039474
0.021053
0
0
0
0
0
0
0
0.012808
0.180129
2,476
75
138
33.013333
0.735961
0.632472
0
0
0
0
0.060219
0.04927
0
0
0
0
0
1
0.181818
false
0
0.181818
0.090909
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8c417fa638955ec9b0cb9a12fa70072abd88e194
882
py
Python
setup.py
memcachier/django-ascii
4641610c5bf09e7a4e9569c95447eab9aa5aefc0
[ "Apache-2.0" ]
1
2015-03-02T04:35:03.000Z
2015-03-02T04:35:03.000Z
setup.py
memcachier/django-ascii
4641610c5bf09e7a4e9569c95447eab9aa5aefc0
[ "Apache-2.0" ]
null
null
null
setup.py
memcachier/django-ascii
4641610c5bf09e7a4e9569c95447eab9aa5aefc0
[ "Apache-2.0" ]
2
2015-03-02T04:35:20.000Z
2019-10-19T19:47:02.000Z
from setuptools import setup, find_packages from memcachier_django import __version__ setup( name = 'memcachier-django-ascii', version = __version__, description = 'Django cache backend supporting MemCachier service', long_description = open('README.md').read(), author = 'MemCachier', author_e...
31.5
71
0.642857
84
882
6.583333
0.702381
0.086799
0.075949
0
0
0
0
0
0
0
0
0.004418
0.230159
882
27
72
32.666667
0.810015
0
0
0
0
0
0.477866
0.051078
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
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
8c46ec7c07d9e8bff2be7d6a97c04c7c70719f8b
368
py
Python
src/website/search/urls.py
jhk523/news-trend
0ad9450c34b04e6c93d91d3c5faad809fca8216e
[ "MIT" ]
1
2020-02-18T01:18:48.000Z
2020-02-18T01:18:48.000Z
src/website/search/urls.py
jhk523/news-trends
0ad9450c34b04e6c93d91d3c5faad809fca8216e
[ "MIT" ]
null
null
null
src/website/search/urls.py
jhk523/news-trends
0ad9450c34b04e6c93d91d3c5faad809fca8216e
[ "MIT" ]
null
null
null
from django.urls import path from django.conf.urls import url from . import views from search.views import Search, Result app_name = 'status' urlpatterns = [ url(r'^$', Search.as_view(), name='index'), url(r'^result/$', Result.as_view(), name='result') # path('', Search.as_view(), name='index'), # pat...
26.285714
54
0.657609
52
368
4.557692
0.346154
0.101266
0.168776
0.135021
0.413502
0.236287
0
0
0
0
0
0
0.152174
368
13
55
28.307692
0.759615
0.244565
0
0
0
0
0.101818
0
0
0
0
0
0
1
0
false
0
0.444444
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8c48493285bfe2c86dc86444865a1972a5908e5a
513
py
Python
nlptools/news/test/utils.py
hayj/NLPTools
46562fc03195c8fafb0654aa3f887b9b5c45a869
[ "MIT" ]
4
2019-01-18T14:20:06.000Z
2021-02-04T07:55:42.000Z
nlptools/news/test/utils.py
hayj/NLPTools
46562fc03195c8fafb0654aa3f887b9b5c45a869
[ "MIT" ]
null
null
null
nlptools/news/test/utils.py
hayj/NLPTools
46562fc03195c8fafb0654aa3f887b9b5c45a869
[ "MIT" ]
null
null
null
from systemtools.basics import * from systemtools.file import * from systemtools.location import * from datatools.jsonutils import NDJson import random from datastructuretools.processing import * import copy def newsCleanerDataTestGen(): for filePath in sortedGlob(execDir(__file__) + "/testdata/newscleaner/*.txt")...
34.2
82
0.7154
55
513
6.6
0.636364
0.123967
0.115702
0
0
0
0
0
0
0
0
0.002415
0.192982
513
15
83
34.2
0.874396
0
0
0
0
0
0.052529
0.052529
0
0
0
0
0
1
0.071429
false
0
0.5
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
1
0
0
0
0
1
8c53f0c08f35a25a5a71c3de1edaf8b6e241a4f3
453
py
Python
tests/test_camel_to_upper_snake.py
HTPhenotyping/htcondor_file_transfer
9027f3c4a6e39ac8d48f9687b888d32c608bcb89
[ "Apache-2.0" ]
null
null
null
tests/test_camel_to_upper_snake.py
HTPhenotyping/htcondor_file_transfer
9027f3c4a6e39ac8d48f9687b888d32c608bcb89
[ "Apache-2.0" ]
26
2020-02-13T18:43:31.000Z
2020-10-28T17:22:42.000Z
tests/test_camel_to_upper_snake.py
HTPhenotyping/htcondor_file_transfer
9027f3c4a6e39ac8d48f9687b888d32c608bcb89
[ "Apache-2.0" ]
3
2020-08-04T18:16:52.000Z
2020-09-28T12:00:09.000Z
import pytest from xfer import camel_to_upper_snake @pytest.mark.parametrize( "input, output", [ ("CamelCase", "CAMEL_CASE"), ("AlTeRnAtInG", "AL_TE_RN_AT_IN_G"), ("foobar", "FOOBAR"), ("FOOBAR", "FOOBAR"), ("fooBar", "FOO_BAR"), ("DAGMan", "DAG_MAN"), ...
22.65
48
0.593819
52
453
4.807692
0.634615
0.192
0.144
0.204
0.224
0.224
0
0
0
0
0
0
0.238411
453
19
49
23.842105
0.724638
0
0
0
0
0
0.282561
0
0
0
0
0
0.0625
1
0.0625
false
0
0.125
0
0.1875
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
8c56ec3191b123409ef0d7d900d7d9a326657135
1,853
py
Python
src/classifier.py
AlfME/proyecto_sin
5e3dcc0ebea177a9aa9713f7aea6cd1165ee6b98
[ "MIT" ]
null
null
null
src/classifier.py
AlfME/proyecto_sin
5e3dcc0ebea177a9aa9713f7aea6cd1165ee6b98
[ "MIT" ]
null
null
null
src/classifier.py
AlfME/proyecto_sin
5e3dcc0ebea177a9aa9713f7aea6cd1165ee6b98
[ "MIT" ]
null
null
null
""" The pipeline for realizing classification. Consists of a data pre-processing pipeline, a training module for generating and storing classifiers and finally a procedure to load a defined classifer. Generic pipeline structure: 1. Tokenization 2. Instance feature cleaning 3. Noise removal 4. Feature Extraction 5. C...
22.876543
184
0.740421
235
1,853
5.812766
0.404255
0.087116
0.04612
0.040996
0.04978
0.04978
0.04978
0
0
0
0
0.004493
0.159201
1,853
80
185
23.1625
0.872272
0.276309
0
0.04878
0
0
0.036364
0
0
0
0
0
0
1
0.341463
false
0
0.073171
0.04878
0.487805
0
0
0
0
null
0
0
0
0
0
0
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
8c5c7da410952c6d8eff73dbbc9f199eec145f93
19,891
py
Python
mcg/sampling.py
nyu-dl/dl4mt-multi
32e1436a3311cdc18eaba680616d88c971107142
[ "BSD-3-Clause" ]
143
2016-05-17T03:09:43.000Z
2020-02-17T04:00:14.000Z
mcg/sampling.py
nyu-dl/dl4mt-multi
32e1436a3311cdc18eaba680616d88c971107142
[ "BSD-3-Clause" ]
6
2016-06-29T06:42:19.000Z
2017-03-30T16:49:14.000Z
mcg/sampling.py
nyu-dl/dl4mt-multi
32e1436a3311cdc18eaba680616d88c971107142
[ "BSD-3-Clause" ]
52
2016-05-17T04:03:42.000Z
2019-03-09T14:25:50.000Z
import logging import copy import numpy import operator import os import re import signal import time import theano from blocks.extensions import SimpleExtension from collections import OrderedDict from subprocess import Popen, PIPE from toolz import merge from .utils import _p, get_enc_dec_ids logger = logging.get...
36.497248
79
0.566739
2,527
19,891
4.166601
0.14444
0.018235
0.010257
0.012537
0.259759
0.182259
0.135625
0.126983
0.097065
0.048438
0
0.007273
0.336383
19,891
544
80
36.564338
0.790379
0.039867
0
0.179612
0
0
0.03402
0.004557
0
0
0
0
0.004854
0
null
null
0
0.033981
null
null
0.019417
0
0
0
null
0
0
0
0
0
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
8c5e1635fce02745a2b11b85aee66a4cf8538437
595
py
Python
apps/manager/purpleserver/manager/migrations/0018_auto_20210705_1049.py
rcknr/purplship-server
f8ec35af3da870fada0e989c20a8349c958c637c
[ "ECL-2.0", "Apache-2.0" ]
12
2020-02-03T08:11:21.000Z
2021-04-13T02:00:38.000Z
apps/manager/purpleserver/manager/migrations/0018_auto_20210705_1049.py
rcknr/purplship-server
f8ec35af3da870fada0e989c20a8349c958c637c
[ "ECL-2.0", "Apache-2.0" ]
9
2020-02-12T00:25:08.000Z
2021-04-20T10:31:59.000Z
apps/manager/purpleserver/manager/migrations/0018_auto_20210705_1049.py
rcknr/purplship-server
f8ec35af3da870fada0e989c20a8349c958c637c
[ "ECL-2.0", "Apache-2.0" ]
7
2020-02-03T08:10:50.000Z
2021-04-13T15:17:12.000Z
# Generated by Django 3.2.5 on 2021-07-05 10:49 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('manager', '0017_auto_20210629_1650'), ] operations = [ migrations.AddField( model_name='shipment', name='reference',...
24.791667
74
0.593277
64
595
5.390625
0.671875
0.052174
0.098551
0.121739
0.22029
0.22029
0.22029
0
0
0
0
0.085106
0.289076
595
23
75
25.869565
0.730496
0.07563
0
0.235294
1
0
0.118613
0.041971
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8c61f0b1a737587803a8ce9c5ed5367a571ae667
6,162
py
Python
srtplayer.py
glymehrvrd/srtplayer
cfed173b53a99fa48f62262ffc829ada035f7a7c
[ "MIT" ]
null
null
null
srtplayer.py
glymehrvrd/srtplayer
cfed173b53a99fa48f62262ffc829ada035f7a7c
[ "MIT" ]
null
null
null
srtplayer.py
glymehrvrd/srtplayer
cfed173b53a99fa48f62262ffc829ada035f7a7c
[ "MIT" ]
1
2022-03-17T14:26:44.000Z
2022-03-17T14:26:44.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from PyQt4 import QtCore, QtGui import sys import pysrt import chardet class ControlMainWindow(QtGui.QLabel): def __init__(self, parent=None): super(ControlMainWindow, self).__init__(parent) # make window frameless, topmost and transparent se...
31.762887
89
0.537488
655
6,162
5.036641
0.309924
0.036375
0.036375
0.049106
0.198242
0.164292
0.156714
0.113368
0.113368
0.086693
0
0.016418
0.347614
6,162
193
90
31.927461
0.804229
0.048036
0
0.302158
0
0
0.02829
0
0
0
0
0
0
0
null
null
0
0.028777
null
null
0.007194
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4fb38e28e70b708d2bb3e90f7706ecca8848ac6b
788
py
Python
MSBRadix.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
null
null
null
MSBRadix.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
4
2020-10-04T07:49:30.000Z
2021-10-02T05:24:40.000Z
MSBRadix.py
divine-coder/CODECHEF-PYTHON
a1e34d6f9f75cf7b9497f1ef2f937cb4f64f1543
[ "MIT" ]
7
2020-10-04T07:46:55.000Z
2021-11-05T14:30:00.000Z
import sys def getQ(size): bucket=[[] for i in range(size)] return bucket def noDigit(b): return len(str(max(b))) def getHash(val,i): return (val%10**i)/(10**(i-1)) p1=0 def radix(b,i,no): if i>=no: return b if len(b)<=1: return b bucket=getQ(10) for elem in b: p=...
21.888889
41
0.557107
131
788
3.290076
0.389313
0.032483
0
0
0
0
0
0
0
0
0
0.095745
0.284264
788
35
42
22.514286
0.66844
0.096447
0
0.066667
0
0
0.011299
0
0
0
0
0
0
0
null
null
0
0.033333
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
4fb848584185ddf711099cde2daaf3963e078c22
2,134
py
Python
arachne/tests/test_extensions.py
sliderSun/arachne
ed8d22f10e69b7b29c9b68d4f9e2eabc00e77472
[ "BSD-3-Clause" ]
137
2015-11-17T18:37:54.000Z
2021-05-18T08:29:39.000Z
arachne/tests/test_extensions.py
sliderSun/arachne
ed8d22f10e69b7b29c9b68d4f9e2eabc00e77472
[ "BSD-3-Clause" ]
20
2015-11-17T10:40:43.000Z
2020-03-03T06:43:13.000Z
arachne/tests/test_extensions.py
sliderSun/arachne
ed8d22f10e69b7b29c9b68d4f9e2eabc00e77472
[ "BSD-3-Clause" ]
40
2015-11-20T06:49:02.000Z
2020-08-15T09:15:59.000Z
""" To see if we have the right pipelines in place """ import inspect from unittest import TestCase from scrapy import signals, Field, Item from mock import patch, mock_open, Mock, call from arachne.extensions import ExportCSV, ExportData, ExportJSON from scrapy.contrib.exporter import CsvItemExporter, JsonItemExporter...
33.34375
76
0.591846
226
2,134
5.415929
0.376106
0.034314
0.029412
0.039216
0
0
0
0
0
0
0
0.002037
0.309747
2,134
63
77
33.873016
0.828921
0.078725
0
0.043478
0
0
0.066973
0.011759
0
0
0
0.015873
0.195652
1
0.043478
false
0
0.130435
0
0.282609
0
0
0
0
null
0
0
0
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
4fbdc0b92df7cd9ee7d6feb1f946f90797bd250b
583
py
Python
Ago-Dic-2019/ERIK EDUARDO MONTOYA MARTINEZ/PRACTICA 1/CAPITULO 3/YouOwnList.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
41
2017-09-26T09:36:32.000Z
2022-03-19T18:05:25.000Z
Ago-Dic-2019/ERIK EDUARDO MONTOYA MARTINEZ/PRACTICA 1/CAPITULO 3/YouOwnList.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
67
2017-09-11T05:06:12.000Z
2022-02-14T04:44:04.000Z
Ago-Dic-2019/ERIK EDUARDO MONTOYA MARTINEZ/PRACTICA 1/CAPITULO 3/YouOwnList.py
Arbupa/DAS_Sistemas
52263ab91436b2e5a24ce6f8493aaa2e2fe92fb1
[ "MIT" ]
210
2017-09-01T00:10:08.000Z
2022-03-19T18:05:12.000Z
Automoviles=['Dodge Challeger', 'VW Gti', 'Jeep Rubicon', 'Alfa Romeo Quadro', 'Ford ST', 'Dodge RAM', 'Ford FX4'] M1="Me gustaria compar un " + Automoviles[0].title()+"." M2="Mi vecino choco su nuevo " + Automoviles[1].title() + "." M3="El nuevo " + Automoviles[2].title()+ " es mucho mas economico." M4="Hay una gran d...
41.642857
124
0.653516
86
583
4.430233
0.639535
0.055118
0.047244
0
0
0
0
0
0
0
0
0.036145
0.145798
583
13
125
44.846154
0.728916
0
0
0
0
0
0.44062
0
0
0
0
0
0
1
0
false
0
0
0
0
0.454545
0
0
0
null
0
0
0
0
0
0
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
4fc9409169aaaf0b3ac960e77d2cea2b8a9b46c1
237
py
Python
invocare/openssl/passphrase.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
invocare/openssl/passphrase.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
invocare/openssl/passphrase.py
jbronn/invocare-openssl
22a1d4cf0e662caeec0674c20679e6cae12cd633
[ "Apache-2.0" ]
null
null
null
import os def passphrase(arg): if arg == 'stdin': return 'stdin' elif os.path.isfile(arg): return 'file:"%s"' % arg elif arg in os.environ: return 'env:%s' % arg else: return 'pass:"%s"'
18.230769
32
0.523207
32
237
3.875
0.5625
0.064516
0
0
0
0
0
0
0
0
0
0
0.324895
237
12
33
19.75
0.775
0
0
0
0
0
0.14346
0
0
0
0
0
0
1
0.1
false
0.2
0.1
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
4fd25b0c652ceff252e612d9dc7dbf276a64368d
5,584
py
Python
src/xdg/__init__.py
srstevenson/xdg
fef8f67aa5c65055898786ba3dc1bcf52bd5385a
[ "0BSD" ]
70
2017-03-29T05:26:05.000Z
2022-02-04T22:22:42.000Z
src/xdg/__init__.py
srstevenson/xdg
fef8f67aa5c65055898786ba3dc1bcf52bd5385a
[ "0BSD" ]
65
2017-03-29T17:05:23.000Z
2022-03-01T23:04:56.000Z
src/xdg/__init__.py
srstevenson/xdg
fef8f67aa5c65055898786ba3dc1bcf52bd5385a
[ "0BSD" ]
12
2017-06-23T16:15:11.000Z
2021-07-20T11:56:00.000Z
# Copyright © 2016-2021 Scott Stevenson <scott@stevenson.io> # # Permission to use, copy, modify, and/or distribute this software for # any purpose with or without fee is hereby granted, provided that the # above copyright notice and this permission notice appear in all # copies. # # THE SOFTWARE IS PROVIDED "AS IS" AN...
31.908571
80
0.71293
813
5,584
4.713407
0.194342
0.042276
0.063152
0.023486
0.607516
0.5488
0.458507
0.394572
0.307672
0.243998
0
0.002686
0.199857
5,584
174
81
32.091954
0.854745
0.605122
0
0.172414
0
0
0.179217
0.014558
0
0
0
0.017241
0
1
0.155172
false
0
0.051724
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
4fd35b57f5847ba3c7fa1ffcd94980a82518c641
5,816
py
Python
tests/test_command.py
acerv/etcdgo
89ae2b7ab5a110677b96b8601bdcd67e7c5edd7c
[ "MIT" ]
null
null
null
tests/test_command.py
acerv/etcdgo
89ae2b7ab5a110677b96b8601bdcd67e7c5edd7c
[ "MIT" ]
null
null
null
tests/test_command.py
acerv/etcdgo
89ae2b7ab5a110677b96b8601bdcd67e7c5edd7c
[ "MIT" ]
1
2020-04-16T12:52:19.000Z
2020-04-16T12:52:19.000Z
""" Unittests for command module. """ import os import pytest from click.testing import CliRunner import etcd3 import etcdgo.command @pytest.fixture def runner(mocker): """ Click runner client. """ mocker.patch('etcd3.Etcd3Client.__init__', return_value=None) mocker.patch('etcdgo.config.Config.__i...
25.964286
77
0.620358
729
5,816
4.847737
0.15775
0.043294
0.0515
0.067346
0.74618
0.706282
0.647991
0.614601
0.56961
0.466327
0
0.004788
0.245873
5,816
223
78
26.080717
0.800958
0.170392
0
0.434783
0
0
0.210917
0.049345
0
0
0
0
0.278261
1
0.130435
false
0
0.043478
0
0.182609
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
4fd4d5c3f51fd632318c8efd92b46b099a008208
286
py
Python
src/category.py
tarun-bisht/security-camera
646413beab659f3190b9b45a119339d8a014cd85
[ "MIT" ]
1
2021-12-27T13:24:17.000Z
2021-12-27T13:24:17.000Z
src/category.py
tarun-bisht/security-camera-tflite
03c0f03aeaa56fa1a49ef729ce89a620405415b3
[ "MIT" ]
null
null
null
src/category.py
tarun-bisht/security-camera-tflite
03c0f03aeaa56fa1a49ef729ce89a620405415b3
[ "MIT" ]
null
null
null
def read_label_pbtxt(label_path: str) -> dict: with open(label_path, "r") as label_file: lines = label_file.readlines() labels = {} for row, content in enumerate(lines): labels[row] = {"id": row, "name": content.strip()} return labels
35.75
63
0.587413
36
286
4.5
0.666667
0.111111
0
0
0
0
0
0
0
0
0
0
0.27972
286
7
64
40.857143
0.786408
0
0
0
0
0
0.02509
0
0
0
0
0
0
1
0.142857
false
0
0
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4fd4dcd3c2e357f3398e292d6af38a9116c4b7bc
73,351
py
Python
tencentcloud/bmvpc/v20180625/bmvpc_client.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
46
2019-03-01T02:19:18.000Z
2021-12-18T12:37:02.000Z
tencentcloud/bmvpc/v20180625/bmvpc_client.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
8
2019-01-22T10:46:43.000Z
2020-12-30T13:03:04.000Z
tencentcloud/bmvpc/v20180625/bmvpc_client.py
snowxmas/tencentcloud-sdk-python
fb527dcfc6b52a210e79d581f85cb8cde1ea9c85
[ "Apache-2.0" ]
67
2018-10-29T09:50:49.000Z
2022-01-06T07:35:56.000Z
# -*- coding: utf8 -*- # Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. 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...
42.05906
111
0.599297
5,763
73,351
7.605587
0.077737
0.111337
0.072962
0.086286
0.726016
0.685633
0.627182
0.508886
0.506514
0.506514
0
0.020451
0.299369
73,351
1,744
112
42.05906
0.832425
0.229158
0
0.83705
0
0
0.107752
0.013425
0
0
0
0
0
1
0.052316
false
0
0.003431
0
0.110635
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
4fd8d33b855399b979dadfa553c12912f1899e24
1,039
py
Python
yatube/posts/migrations/0011_auto_20211118_2131.py
LHLHLHE/yatube_project
8f0ee4f8715133dd8c268caa3f49f80a0648c859
[ "MIT" ]
null
null
null
yatube/posts/migrations/0011_auto_20211118_2131.py
LHLHLHE/yatube_project
8f0ee4f8715133dd8c268caa3f49f80a0648c859
[ "MIT" ]
null
null
null
yatube/posts/migrations/0011_auto_20211118_2131.py
LHLHLHE/yatube_project
8f0ee4f8715133dd8c268caa3f49f80a0648c859
[ "MIT" ]
null
null
null
# Generated by Django 2.2.16 on 2021-11-18 18:31 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('posts', '0010_comment'), ] operations = [ migrations.AlterModelOptions( name='comment', ...
30.558824
140
0.604427
105
1,039
5.8
0.495238
0.07225
0.062397
0.065681
0.197044
0.197044
0.197044
0.197044
0.197044
0.197044
0
0.026455
0.272377
1,039
33
141
31.484848
0.779101
0.044273
0
0.296296
1
0
0.166498
0
0
0
0
0
0
1
0
false
0
0.074074
0
0.185185
0
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
4fe494f6f4a1f3942ed7e7f81ca9846260ef9710
10,084
py
Python
apis_server/serializers/project_serializer.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
apis_server/serializers/project_serializer.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
apis_server/serializers/project_serializer.py
ilyde-platform/ilyde-apis
cd5dadbfcf3b4735cdc26a5af0ab51b7b20ffa04
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 # # Copyright (c) 2020-2021 Hopenly srl. # # This file is part of Ilyde. # # 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 # #...
27.703297
197
0.604522
1,128
10,084
5.29344
0.135638
0.056272
0.215709
0.054262
0.512142
0.35438
0.290571
0.074024
0.074024
0
0
0.011338
0.309004
10,084
363
198
27.779614
0.84558
0.449822
0
0.266667
0
0
0.116002
0
0
0
0
0
0
1
0.177778
false
0
0.037037
0
0.311111
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4fe4bfcd65ee4936ee270cc1ed2f3c75b60e679d
383
py
Python
programCO2.py
DanielSalazar1/Assignments
dfac9329e0f1512af8c835cdf11b6b8fe4dff4d1
[ "BSD-3-Clause" ]
null
null
null
programCO2.py
DanielSalazar1/Assignments
dfac9329e0f1512af8c835cdf11b6b8fe4dff4d1
[ "BSD-3-Clause" ]
null
null
null
programCO2.py
DanielSalazar1/Assignments
dfac9329e0f1512af8c835cdf11b6b8fe4dff4d1
[ "BSD-3-Clause" ]
null
null
null
co2 = input("Please input air quality value: ") co2 = int(co2) if co2 > 399 and co2 < 698: print("Excelent") elif co2 > 699 and co2 < 898: print("Good") elif co2 > 899 and co2 < 1098: print("Fair") elif co2 > 1099 and co2 < 1598: print("Mediocre, contaminated indoor air") elif co2 > 1599 and c...
29.461538
50
0.631854
57
383
4.245614
0.508772
0.123967
0.173554
0
0
0
0
0
0
0
0
0.166667
0.248042
383
12
51
31.916667
0.673611
0
0
0
0
0
0.315364
0
0
0
0
0
0
1
0
false
0
0
0
0
0.416667
0
0
0
null
0
0
0
0
0
0
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
4fe95965d8af2ac1e7aade407c926a9c47e9f511
3,475
py
Python
ghapi/_nbdev.py
jrieke/ghapi
1ad0fe70a192c8385fccd34decf9215c54fb37d7
[ "Apache-2.0" ]
null
null
null
ghapi/_nbdev.py
jrieke/ghapi
1ad0fe70a192c8385fccd34decf9215c54fb37d7
[ "Apache-2.0" ]
null
null
null
ghapi/_nbdev.py
jrieke/ghapi
1ad0fe70a192c8385fccd34decf9215c54fb37d7
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED BY NBDEV! DO NOT EDIT! __all__ = ["index", "modules", "custom_doc_links", "git_url"] index = {"GH_HOST": "00_core.ipynb", "GhApi": "00_core.ipynb", "date2gh": "00_core.ipynb", "gh2date": "00_core.ipynb", "print_summary": "00_core.ipynb", "GhApi.delete_relea...
39.488636
61
0.587626
414
3,475
4.582126
0.294686
0.094887
0.147601
0.118081
0.208751
0
0
0
0
0
0
0.053456
0.246331
3,475
87
62
39.942529
0.670867
0.01036
0
0
1
0
0.599069
0.047134
0
0
0
0
0
1
0.0125
false
0
0
0.0125
0.0125
0.0125
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
4ffb36f0a09298dd406f167a027aa5cf92d6ed14
229
py
Python
aiostar/tasks/ParallelTask.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
5
2022-03-11T09:31:14.000Z
2022-03-14T03:17:34.000Z
aiostar/tasks/ParallelTask.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
1
2022-03-13T04:28:39.000Z
2022-03-13T04:28:39.000Z
aiostar/tasks/ParallelTask.py
douding123986/aiostar
a7fa73820ea13c81062081ea9b8445c2dab1986f
[ "MIT" ]
2
2022-03-11T12:09:43.000Z
2022-03-12T12:33:58.000Z
""" Name : ParallelTask Author : blu Time : 2022/3/7 08:19 Desc : 并行任务基类 """ from aiostar.tasks import BaseTask class ParallelTask(BaseTask): def __init__(self, fun, *args): self.fun = fun self.args = args
15.266667
35
0.646288
31
229
4.645161
0.741935
0.097222
0
0
0
0
0
0
0
0
0
0.057143
0.235808
229
14
36
16.357143
0.765714
0.296943
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
4ffce3d4a85b47defc757d070769705d37255bbe
486
py
Python
view/console.py
germank/training-monitor
5cd27c8a6fe370840c602e3324fe9a46822be9d0
[ "MIT" ]
null
null
null
view/console.py
germank/training-monitor
5cd27c8a6fe370840c602e3324fe9a46822be9d0
[ "MIT" ]
null
null
null
view/console.py
germank/training-monitor
5cd27c8a6fe370840c602e3324fe9a46822be9d0
[ "MIT" ]
null
null
null
import cmd import logging from signalslot import Signal class CommandConsole(cmd.Cmd): def __init__(self): cmd.Cmd.__init__(self) self.save_command = Signal(['output_dir']) self.quit_command = Signal() def do_save(self, line): self.save_command.emit(output_dir=lin...
21.130435
50
0.613169
62
486
4.516129
0.354839
0.053571
0.107143
0
0
0
0
0
0
0
0
0
0.290123
486
22
51
22.090909
0.811594
0
0
0
0
0
0.020576
0
0
0
0
0
0
1
0.266667
false
0
0.2
0.066667
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
4ffe3f7ba710795a62d2c13f2da830d2275294ad
418
py
Python
example.py
AllCoolNicknamesWereTaken/NumPy_tut
b64c38d60268d8bf4f8074623385f2e1865adb78
[ "MIT" ]
null
null
null
example.py
AllCoolNicknamesWereTaken/NumPy_tut
b64c38d60268d8bf4f8074623385f2e1865adb78
[ "MIT" ]
null
null
null
example.py
AllCoolNicknamesWereTaken/NumPy_tut
b64c38d60268d8bf4f8074623385f2e1865adb78
[ "MIT" ]
null
null
null
from numpy import * a = arange(20).reshape(4,5) print(a) print(a.ndim) print("wymiary {}, typy {}".format(a.dtype.name, a.itemsize)) b = ones((2,3,5,6)) print(b.ndim) c = empty_like(a) a = a-c d = a>(-45) print(d) #as array # print(c*a) # as matrix d = random.random((2,3,6)) # print("minimum {}, maximum{}".format(d.m...
20.9
73
0.61244
81
418
3.148148
0.506173
0.047059
0.078431
0
0
0
0
0
0
0
0
0.041096
0.126794
418
19
74
22
0.657534
0.200957
0
0.142857
0
0
0.142424
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
0.5
0
0
0
null
0
0
0
0
0
0
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
8b03931339bb60879df484edc5618cccd4e831fb
606
py
Python
setup.py
saulzar/node_expressions
67ddcfa70be28d7066e101bcbf76eae6667bb2cf
[ "MIT" ]
1
2020-07-04T17:35:04.000Z
2020-07-04T17:35:04.000Z
setup.py
saulzar/node_expressions
67ddcfa70be28d7066e101bcbf76eae6667bb2cf
[ "MIT" ]
null
null
null
setup.py
saulzar/node_expressions
67ddcfa70be28d7066e101bcbf76eae6667bb2cf
[ "MIT" ]
1
2021-12-13T02:14:39.000Z
2021-12-13T02:14:39.000Z
from setuptools import setup, find_namespace_packages setup( name="node-expressions", version="0.1.3", author="Oliver Batchelor", author_email="saulzar@gmail.com", description="API for using expressions to create node graphs in blender", url="https://github.com/saulzar/node_expressions", pa...
28.857143
77
0.655116
66
606
5.893939
0.742424
0.066838
0.107969
0
0
0
0
0
0
0
0
0.012632
0.216172
606
20
78
30.3
0.806316
0
0
0.105263
0
0
0.457096
0
0
0
0
0
0
1
0
true
0
0.052632
0
0.052632
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
8b03bbd69c06a265f83b32d913383886efcc60ca
2,093
py
Python
scripts/owner/what_do_i_own.py
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
210
2019-02-05T12:45:09.000Z
2022-03-28T07:59:06.000Z
scripts/owner/what_do_i_own.py
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
56
2021-06-03T03:16:25.000Z
2022-03-20T01:07:44.000Z
scripts/owner/what_do_i_own.py
wwjiang007/fuchsia-1
0db66b52b5bcd3e27c8b8c2163925309e8522f94
[ "BSD-2-Clause" ]
73
2019-03-06T18:55:23.000Z
2022-03-26T12:04:51.000Z
#!/usr/bin/env python2.7 # Copyright 2019 The Fuchsia Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import argparse import os import re import sys SCRIPT_DIR = os.path.dirname(os.path.abspath(__file__)) FUCHSIA_ROOT = os.path.dirnam...
31.238806
78
0.598184
280
2,093
4.321429
0.385714
0.084298
0.064463
0.026446
0
0
0
0
0
0
0
0.005387
0.290492
2,093
66
79
31.712121
0.809428
0.155757
0
0.043478
0
0
0.054701
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.021739
0
0
0
null
0
0
0
0
0
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
8b0412a23847f22d46db8dccced1a82a3beee28e
7,495
py
Python
tests/test_pds.py
gamis/flo
bcaf3856cc2dcef0ef223e3e8901dcfbce34d5a0
[ "MIT" ]
null
null
null
tests/test_pds.py
gamis/flo
bcaf3856cc2dcef0ef223e3e8901dcfbce34d5a0
[ "MIT" ]
null
null
null
tests/test_pds.py
gamis/flo
bcaf3856cc2dcef0ef223e3e8901dcfbce34d5a0
[ "MIT" ]
null
null
null
import pandas as pd import pytest from pandas.testing import assert_series_equal, assert_frame_equal from flo import e_ from flo.pds import monkey_patch_pandas monkey_patch_pandas() @pytest.mark.parametrize('series,value,expected', [(pd.Series([1, 2, 3, 4, 3]), 3, pd.Series([3, 3], index=[2...
59.96
171
0.501801
973
7,495
3.779034
0.080164
0.184933
0.068534
0.076149
0.767202
0.70601
0.688605
0.651346
0.599674
0.592603
0
0.048569
0.291261
7,495
124
172
60.443548
0.643637
0
0
0.235849
0
0
0.065377
0.028953
0
0
0
0
0.160377
1
0.075472
false
0
0.04717
0
0.122642
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
8b08240e2d8a1ee1040777775ce48484fcfaf0e8
11,185
py
Python
brainframe_qt/ui/dialogs/server_configuration/server_configuration.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
17
2021-02-11T18:19:22.000Z
2022-02-08T06:12:50.000Z
brainframe_qt/ui/dialogs/server_configuration/server_configuration.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
80
2021-02-11T08:27:31.000Z
2021-10-13T21:33:22.000Z
brainframe_qt/ui/dialogs/server_configuration/server_configuration.py
aotuai/brainframe-qt
082cfd0694e569122ff7c63e56dd0ec4b62d5bac
[ "BSD-3-Clause" ]
5
2021-02-12T09:51:34.000Z
2022-02-08T09:25:15.000Z
import logging from typing import Optional, Tuple from PyQt5.QtCore import QObject from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QApplication, QCheckBox, QDialog, QDialogButtonBox, \ QGridLayout, QLabel, QLineEdit, QPushButton, QWidget from PyQt5.uic import loadUi from brainframe.api import BrainFrame...
35.96463
87
0.643987
1,177
11,185
5.875106
0.191164
0.057845
0.03008
0.038178
0.322198
0.23919
0.157484
0.111063
0.089082
0.089082
0
0.000749
0.284131
11,185
310
88
36.080645
0.861746
0.038087
0
0.259574
0
0
0.063646
0.005583
0
0
0
0
0
1
0.097872
false
0.106383
0.07234
0.021277
0.26383
0
0
0
0
null
0
0
0
0
0
0
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
8b094f3919d6a0cf3d584cc7a10392cacb342f6d
3,843
py
Python
beckley/solver/solver.py
cypher-me/HAS-Qualifier-Challenges
bb795303716155dad4a930880a58fecb5d9b50c5
[ "MIT" ]
75
2020-07-20T20:54:00.000Z
2022-03-09T09:18:37.000Z
beckley/solver/solver.py
cypher-me/HAS-Qualifier-Challenges
bb795303716155dad4a930880a58fecb5d9b50c5
[ "MIT" ]
3
2020-09-13T00:46:49.000Z
2021-07-06T16:18:22.000Z
beckley/solver/solver.py
cypher-me/HAS-Qualifier-Challenges
bb795303716155dad4a930880a58fecb5d9b50c5
[ "MIT" ]
14
2020-07-22T16:34:51.000Z
2021-09-13T12:19:59.000Z
from skyfield.api import EarthSatellite, Topos, load, load_file import os,sys,stat,time from pwnlib.tubes.remote import remote from pwnlib.tubes.process import process import re ##convert from Skyfield to Decimal def c_to_d(coordinate): coord_str = str(coordinate) coord_split = coord_str.split() ...
32.846154
400
0.583138
514
3,843
4.307393
0.480545
0.018067
0.00542
0.006323
0
0
0
0
0
0
0
0.075633
0.208691
3,843
116
401
33.12931
0.652417
0.241738
0
0
0
0.058824
0.127228
0.018525
0
0
0
0
0
0
null
null
0
0.073529
null
null
0.073529
0
0
0
null
0
0
0
0
0
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
8b0c6bc386d7c5c3b45cdc185ba7e191eba7d5e5
876
py
Python
setup.py
muellermartin/flipflop
93fb5b303a67aa5a455cee71f9247635d4655b4f
[ "BSD-2-Clause" ]
16
2015-07-17T23:31:10.000Z
2021-12-15T02:13:34.000Z
setup.py
muellermartin/flipflop
93fb5b303a67aa5a455cee71f9247635d4655b4f
[ "BSD-2-Clause" ]
7
2015-03-30T18:03:48.000Z
2016-09-25T16:02:51.000Z
setup.py
muellermartin/flipflop
93fb5b303a67aa5a455cee71f9247635d4655b4f
[ "BSD-2-Clause" ]
14
2015-07-12T15:20:34.000Z
2022-03-31T07:57:52.000Z
# Bootstrap setuptools from distutils.core import setup setup( name='flipflop', version='1.0', py_modules=['flipflop'], provides=['flipflop'], author='Guillaume Ayoub', author_email='guillaume.ayoub@kozea.fr', description='FastCGI wrapper for WSGI applications', url='https://github.com...
31.285714
71
0.610731
85
876
6.270588
0.705882
0.106942
0.140713
0.097561
0
0
0
0
0
0
0
0.009036
0.242009
876
27
72
32.444444
0.793675
0.022831
0
0
0
0
0.598361
0.028103
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
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
8b0ec9ddbed663b941dad453b36a8ccc5da47464
3,406
py
Python
protocol/arc_package_specifics_pb2.py
pablo-tx/chrome-sync-server
468855b0ae6a92cf811df7cb7d985f41d61e1339
[ "MIT" ]
8
2017-04-10T08:39:15.000Z
2019-07-01T12:12:13.000Z
protocol/arc_package_specifics_pb2.py
trexx/chrome-sync-server
f414341fc4603a5631398465a38b3ef5afd661b5
[ "MIT" ]
null
null
null
protocol/arc_package_specifics_pb2.py
trexx/chrome-sync-server
f414341fc4603a5631398465a38b3ef5afd661b5
[ "MIT" ]
3
2019-07-03T00:12:00.000Z
2019-07-09T01:55:57.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: arc_package_specifics.proto import sys _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflec...
36.623656
308
0.76424
439
3,406
5.615034
0.29385
0.042191
0.060852
0.048682
0.371197
0.330223
0.297769
0.26288
0.247465
0.247465
0
0.036096
0.12155
3,406
92
309
37.021739
0.787767
0.067821
0
0.342466
1
0.013699
0.220574
0.176712
0
0
0
0
0
1
0
false
0
0.082192
0
0.082192
0
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
8b11d7484392781026f6bd02e81aed464b31e0b8
2,185
py
Python
plot.py
thomasg3/energy-price-aware-scheduling
fdde23dff891a382f2f3d8f2b852675832f83e8d
[ "MIT" ]
1
2017-06-29T14:12:25.000Z
2017-06-29T14:12:25.000Z
plot.py
thomasg3/energy-price-aware-scheduling
fdde23dff891a382f2f3d8f2b852675832f83e8d
[ "MIT" ]
null
null
null
plot.py
thomasg3/energy-price-aware-scheduling
fdde23dff891a382f2f3d8f2b852675832f83e8d
[ "MIT" ]
null
null
null
#!/usr/bin/env python # make a visualisation of the results, filtered and with the optimal added to the plot or not. import os import argparse import cPickle as pickle import matplotlib.pyplot as plt def main(filter, optimal_too): run_location = os.path.join("results", "runs") image_location = os.path.join...
37.672414
94
0.654005
313
2,185
4.367412
0.364217
0.026335
0.047549
0.026335
0.083394
0.046818
0
0
0
0
0
0.01502
0.20778
2,185
57
95
38.333333
0.774697
0.051716
0
0.05
0
0
0.089855
0
0
0
0
0
0
0
null
null
0
0.1
null
null
0.025
0
0
0
null
0
0
0
0
0
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
8b18cef45860de908e7a58d0898081125e36deaf
2,730
py
Python
delivery/models.py
choudhary2001/ecommerce
30a083ae158d4860439b9bce435add392c79841e
[ "MIT" ]
2
2021-09-05T12:29:04.000Z
2021-09-08T17:45:24.000Z
delivery/models.py
choudhary2001/ecommerce
30a083ae158d4860439b9bce435add392c79841e
[ "MIT" ]
null
null
null
delivery/models.py
choudhary2001/ecommerce
30a083ae158d4860439b9bce435add392c79841e
[ "MIT" ]
null
null
null
from django.db import models # Create your models here. from django.contrib.auth.models import User from django.utils.html import mark_safe from django.db import models from PIL import Image # Create your models here. class DeliveryBoy(models.Model): STATE_CHOICES = ( ("Andaman & Nicobar Islands",'Andaman & Nicobar...
34.125
106
0.706593
335
2,730
5.638806
0.397015
0.11117
0.133404
0.177872
0.197988
0.079407
0.046585
0.046585
0.046585
0
0
0.015277
0.112821
2,730
79
107
34.556962
0.764657
0.017949
0
0.028986
0
0
0.303812
0
0
0
0
0
0
1
0.028986
false
0
0.072464
0.028986
0.449275
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
8b22e9aaf1456c4629566ca38f4836479974226e
4,536
py
Python
tests/runner/http/test_request.py
hf400159/apisix-python-plugin-runner
3de14f8295c5d06fd56651184667b020d06d0017
[ "Apache-2.0" ]
null
null
null
tests/runner/http/test_request.py
hf400159/apisix-python-plugin-runner
3de14f8295c5d06fd56651184667b020d06d0017
[ "Apache-2.0" ]
null
null
null
tests/runner/http/test_request.py
hf400159/apisix-python-plugin-runner
3de14f8295c5d06fd56651184667b020d06d0017
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not us...
32.4
74
0.738316
664
4,536
4.784639
0.197289
0.067989
0.101668
0.088133
0.546113
0.465848
0.357885
0.238905
0.125275
0.125275
0
0.00561
0.174824
4,536
139
75
32.633094
0.843174
0.165785
0
0.247423
0
0
0.012211
0
0
0
0
0
0.494845
1
0.051546
false
0
0.061856
0
0.123711
0
0
0
0
null
0
0
0
0
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
8b247b8404eb3a97e4f0983f0b6a3673e2ebfd79
6,224
py
Python
restaurants/views.py
MaryamKia/RestaurantsApp
98eee258ec41eee2de0a4694b2a8f40e41eeaeaa
[ "Unlicense" ]
null
null
null
restaurants/views.py
MaryamKia/RestaurantsApp
98eee258ec41eee2de0a4694b2a8f40e41eeaeaa
[ "Unlicense" ]
null
null
null
restaurants/views.py
MaryamKia/RestaurantsApp
98eee258ec41eee2de0a4694b2a8f40e41eeaeaa
[ "Unlicense" ]
null
null
null
from django.db.models import Q import random from django.http import HttpResponse, HttpResponseRedirect from django.shortcuts import render, get_object_or_404 from django.views import View from django.views.generic import TemplateView, ListView, DetailView, CreateView, UpdateView from django.contrib.auth.decorators imp...
30.965174
91
0.635765
648
6,224
5.972222
0.220679
0.015504
0.032558
0.047545
0.348062
0.319121
0.310594
0.278036
0.252713
0.235917
0
0.018731
0.24518
6,224
200
92
31.12
0.805023
0.511247
0
0.218182
0
0
0.053854
0.017951
0
0
0
0
0
1
0.127273
false
0
0.181818
0.054545
0.636364
0
0
0
0
null
0
0
0
0
0
0
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
8b24b7049e0ad1a4e62c0209e0373374e31cb295
7,883
py
Python
Misc/CZip/dictzip.py
linxiaohui/CodeRepoPy
0bb6a47225b0638dec360dd441ed506f9295a4b1
[ "MIT" ]
null
null
null
Misc/CZip/dictzip.py
linxiaohui/CodeRepoPy
0bb6a47225b0638dec360dd441ed506f9295a4b1
[ "MIT" ]
null
null
null
Misc/CZip/dictzip.py
linxiaohui/CodeRepoPy
0bb6a47225b0638dec360dd441ed506f9295a4b1
[ "MIT" ]
null
null
null
# -*- coding:UTF-8 -*- ''' C 2009 ''' """ Functions that provide transparent read-only access to dictzipped files """ import struct, sys import zlib import __builtin__ FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16 READ, WRITE = 1, 2 def write32(output, value): output.write(struct.pack...
31.532
80
0.498541
933
7,883
4.167203
0.24866
0.053755
0.054012
0.032922
0.154835
0.113169
0.078704
0.067901
0.044753
0.023663
0
0.027946
0.391729
7,883
249
81
31.658635
0.78269
0.100216
0
0.109948
0
0
0.044967
0
0
0
0
0.004016
0
0
null
null
0.015707
0.015707
null
null
0.015707
0
0
0
null
0
0
0
0
0
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
8b3ad12bd0ea07db38d57c34538b281682ef0509
761
py
Python
src/articles/migrations/0006_auto_20210426_1356.py
NotSirius-A/School-website
a34c9adbf929fb0c3ad9f6306ced6683b883b989
[ "MIT" ]
1
2021-06-17T08:44:24.000Z
2021-06-17T08:44:24.000Z
src/articles/migrations/0006_auto_20210426_1356.py
NotSirius-A/School-website
a34c9adbf929fb0c3ad9f6306ced6683b883b989
[ "MIT" ]
null
null
null
src/articles/migrations/0006_auto_20210426_1356.py
NotSirius-A/School-website
a34c9adbf929fb0c3ad9f6306ced6683b883b989
[ "MIT" ]
null
null
null
# Generated by Django 3.1.7 on 2021-04-26 11:56 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('articles', '0005_auto_20210423_1603'), ] operations = [ migrations.AddField( model_name='article', name='show_on_lis...
31.708333
207
0.638633
89
761
5.348315
0.730337
0.037815
0.067227
0.084034
0
0
0
0
0
0
0
0.063604
0.256242
761
23
208
33.086957
0.777385
0.059133
0
0.235294
1
0.058824
0.32493
0.032213
0
0
0
0
0
1
0
false
0
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8b46e5f579538e9e91d5686bf9c33b9e42527bbe
20,962
py
Python
dword/utils.py
deepword18/dword
2dbd58e0f7eaad14609aeb9630870b3d1b30afcf
[ "Apache-2.0" ]
3
2021-06-17T17:39:46.000Z
2021-06-17T17:40:01.000Z
dword/utils.py
deepword18/dword
2dbd58e0f7eaad14609aeb9630870b3d1b30afcf
[ "Apache-2.0" ]
5
2021-07-24T23:58:11.000Z
2021-08-22T02:39:02.000Z
dword/utils.py
deepword18/dword
2dbd58e0f7eaad14609aeb9630870b3d1b30afcf
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: 01_utils.ipynb (unless otherwise specified). __all__ = ['to_hhmmss', 'to_secs', 'display_video', 'check_resolution', 'check_fps', 'play_audio', 'change_audio_format', 'trim_audio', 'change_volume', 'loop_audio', 'concat_audios'] # Internal Cell from collections i...
70.107023
467
0.651226
3,172
20,962
4.234868
0.173077
0.036998
0.044666
0.010124
0.074741
0.065808
0.055907
0.055907
0.05077
0.05077
0
0.002597
0.154995
20,962
299
468
70.107023
0.755773
0.431686
0
0.173653
1
0
0.494483
0.032932
0
0
0
0
0
1
0.08982
false
0
0.101796
0.023952
0.359281
0
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
8b473221a390a59d22503d29d714a345864407ac
11,767
py
Python
dev/Gems/CloudGemDefectReporter/v1/AWS/common-code/DefectReporterCommon/jira_integration.py
CJoriginal/cjlumberyard
2e3184a7d8e59ba05e5707371b8cb6fe40b0ca60
[ "AML" ]
2
2019-05-13T22:21:28.000Z
2019-05-24T22:52:01.000Z
dev/Gems/CloudGemDefectReporter/v1/AWS/common-code/DefectReporterCommon/jira_integration.py
CJoriginal/cjlumberyard
2e3184a7d8e59ba05e5707371b8cb6fe40b0ca60
[ "AML" ]
null
null
null
dev/Gems/CloudGemDefectReporter/v1/AWS/common-code/DefectReporterCommon/jira_integration.py
CJoriginal/cjlumberyard
2e3184a7d8e59ba05e5707371b8cb6fe40b0ca60
[ "AML" ]
5
2020-08-27T20:44:18.000Z
2021-08-21T22:54:11.000Z
# # All or portions of this file Copyright (c) Amazon.com, Inc. or its affiliates or # its licensors. # # For complete copyright and license terms please see the LICENSE at the root of this # distribution (the "License"). All use of this software is governed by the License, # or, if provided, by the license below or th...
38.32899
211
0.706382
1,454
11,767
5.383081
0.171252
0.02057
0.036796
0.029897
0.34266
0.272518
0.245816
0.227035
0.184873
0.158809
0
0.002614
0.187134
11,767
307
212
38.32899
0.815682
0.086258
0
0.165138
0
0
0.099515
0.014163
0
0
0
0
0
0
null
null
0.009174
0.050459
null
null
0.009174
0
0
0
null
0
0
0
0
0
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
8c69bacbf633e2520291ae13cb524f0ac966302e
823
py
Python
tests/integration/cryptonia/test_cryptonia_main.py
magnublo/msc-darkweb-scraping
7cfb20d9013534d2ad71c388ee59f70b8450773c
[ "MIT" ]
null
null
null
tests/integration/cryptonia/test_cryptonia_main.py
magnublo/msc-darkweb-scraping
7cfb20d9013534d2ad71c388ee59f70b8450773c
[ "MIT" ]
null
null
null
tests/integration/cryptonia/test_cryptonia_main.py
magnublo/msc-darkweb-scraping
7cfb20d9013534d2ad71c388ee59f70b8450773c
[ "MIT" ]
null
null
null
from unittest import TestCase, skip from unittest.mock import patch, Mock import src.main from definitions import ROOT_DIR from tests.integration.mocks.mocked_dynamic_config import MOCKED_WEBSITES_TO_BE_SCRAPED_CRYPTONIA, \ mocked_get_logger_config from tests.integration.mocks.mocked_scraping_manager import Mocked...
37.409091
100
0.801944
110
823
5.663636
0.381818
0.05618
0.096308
0.091493
0.208668
0.109149
0
0
0
0
0
0
0.120292
823
21
101
39.190476
0.860497
0
0
0
0
0
0.178615
0.09842
0
0
0
0
0
1
0.0625
false
0
0.375
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
8c6b04862339ca1e755d07190de064b5cbab2232
3,664
py
Python
Lib/test/test_code.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
1
2018-06-21T18:21:24.000Z
2018-06-21T18:21:24.000Z
Lib/test/test_code.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
Lib/test/test_code.py
sireliah/polish-python
605df4944c2d3bc25f8bf6964b274c0a0d297cc3
[ "PSF-2.0" ]
null
null
null
"""This module includes tests of the code object representation. >>> def f(x): ... def g(y): ... zwróć x + y ... zwróć g ... >>> dump(f.__code__) name: f argcount: 1 kwonlyargcount: 0 names: () varnames: ('x', 'g') cellvars: ('x',) freevars: () nlocals: 2 flags: 3 consts: ('Nic', '<code object g>', "'...
21.426901
82
0.610262
471
3,664
4.613588
0.305732
0.032214
0.046019
0.051542
0.111827
0.034054
0
0
0
0
0
0.016991
0.228985
3,664
170
83
21.552941
0.752212
0.090066
0
0
0
0
0.101653
0
0
0
0
0
0.139535
0
null
null
0
0.116279
null
null
0.046512
0
0
0
null
0
0
0
0
0
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
8c6f8028b2f80e5c16dc19845bf608ed460b812a
3,229
py
Python
{{cookiecutter.project_name}}/apps/users/filters.py
letusgoing/cookiecutter-django-drf
24c01c1e5f5f14c7209033fc3acba568300246c6
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_name}}/apps/users/filters.py
letusgoing/cookiecutter-django-drf
24c01c1e5f5f14c7209033fc3acba568300246c6
[ "BSD-3-Clause" ]
null
null
null
{{cookiecutter.project_name}}/apps/users/filters.py
letusgoing/cookiecutter-django-drf
24c01c1e5f5f14c7209033fc3acba568300246c6
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # coding:utf-8 """ @Time : 2021/10/15 17:29 @Author : harvey @File : filters.py @Software: PyCharm @Desc: @Module """ import uuid import datetime from django.contrib.auth.models import AbstractUser from django.conf import settings from django.db import models from django.utils import timezone...
35.483516
108
0.681945
422
3,229
5.045024
0.372038
0.093001
0.084547
0.067637
0.240019
0.214655
0.1752
0.125881
0.087365
0
0
0.020825
0.196965
3,229
90
109
35.877778
0.800231
0.167544
0
0.12
0
0
0.068783
0.022676
0
0
0
0
0
1
0.12
false
0
0.12
0.02
0.78
0
0
0
0
null
0
0
0
0
0
0
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
8c754c63651848c2c79c40671c2a01006ef6ed11
4,579
py
Python
test/http_client.py
kenshinx/rps
3d141056f3512598525430ecc9ddb1ee79b887cf
[ "MIT" ]
6
2017-06-20T09:44:03.000Z
2018-07-28T06:44:10.000Z
test/http_client.py
kenshinx/rps
3d141056f3512598525430ecc9ddb1ee79b887cf
[ "MIT" ]
null
null
null
test/http_client.py
kenshinx/rps
3d141056f3512598525430ecc9ddb1ee79b887cf
[ "MIT" ]
3
2017-09-23T16:48:18.000Z
2018-05-26T19:12:12.000Z
#! /usr/bin/env python import re import socket import optparse HTTP_PROXY_HOST = "dev1" HTTP_PROXY_PORT = 8889 HTTP_PROXY_HOST = "localhost" HTTP_PROXY_PORT = 9891 HTTP_PROXY_UNAME = "rps" HTTP_PROXY_PASSWD = "secret" class HTTPTunnelPorxy(object): pattern = re.compile("^HTTP\/1\.\d ([0-9]{3}) .*") def __...
25.438889
74
0.515178
519
4,579
4.460501
0.192678
0.013823
0.018143
0.028078
0.587041
0.567171
0.537797
0.537797
0.52095
0.48121
0
0.020625
0.322341
4,579
179
75
25.581006
0.725427
0.026862
0
0.644628
0
0
0.199865
0.050528
0
0
0
0
0
0
null
null
0.041322
0.024793
null
null
0.280992
0
0
0
null
0
0
0
0
0
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
8c7d0d4361d4732a62cb73f6bbd43c56fe9dd3b1
13,491
py
Python
eyesore/symbolic_tracer.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-11-07T02:55:40.000Z
2021-12-30T01:37:43.000Z
eyesore/symbolic_tracer.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
null
null
null
eyesore/symbolic_tracer.py
twizmwazin/hacrs
3c9386b0fa5f5ea6b93b2bc8b3c4eed6abceec6a
[ "BSD-2-Clause" ]
2
2019-09-27T12:01:50.000Z
2019-10-09T21:39:52.000Z
import json import os import select import sys import time from collections import defaultdict import angr import claripy import gc import ipdb import psutil import simuvex from simuvex.procedures.cgc.receive import receive from input_characteristics import extract_input_characteristics from json_helper import Custom...
36.760218
169
0.66763
1,701
13,491
5.024691
0.231628
0.031941
0.013689
0.01872
0.235404
0.143208
0.107055
0.086931
0.059085
0.059085
0
0.009387
0.226151
13,491
366
170
36.860656
0.809291
0.03469
0
0.100437
0
0
0.104168
0.037098
0
0
0
0
0.017467
0
null
null
0
0.100437
null
null
0.091703
0
0
0
null
0
0
0
0
0
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
8c87fa54dc4ebe5950ea07e49a4a516397510830
663
py
Python
refer360annotation/.TRASH/0004_auto_20190305_1545.py
volkancirik/refer360_backend
b915cb6c375dd3b408249775e5890c883c92d43c
[ "MIT" ]
null
null
null
refer360annotation/.TRASH/0004_auto_20190305_1545.py
volkancirik/refer360_backend
b915cb6c375dd3b408249775e5890c883c92d43c
[ "MIT" ]
2
2021-03-19T23:39:05.000Z
2021-06-10T23:05:25.000Z
refer360annotation/.TRASH/0004_auto_20190305_1545.py
volkancirik/refer360_backend
b915cb6c375dd3b408249775e5890c883c92d43c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.1 on 2019-03-05 15:45 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('catalog', '0003_merge_20190305_1545'), ] operations = [ migrations.AlterFie...
25.5
86
0.612368
70
663
5.614286
0.7
0.101781
0.127226
0.147583
0.142494
0
0
0
0
0
0
0.074534
0.271493
663
25
87
26.52
0.73913
0.102564
0
0.222222
1
0
0.097973
0.040541
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
8c9536cd307e78108ee485b40a933cee74106f30
547
py
Python
Module-02-Comprehensions/01_list_comprehensions_01.py
CodingGearsCourses/Python-Advanced-Concepts
6ba1a1751fe0ee94816020a023158bc4ef13e2d3
[ "MIT" ]
null
null
null
Module-02-Comprehensions/01_list_comprehensions_01.py
CodingGearsCourses/Python-Advanced-Concepts
6ba1a1751fe0ee94816020a023158bc4ef13e2d3
[ "MIT" ]
null
null
null
Module-02-Comprehensions/01_list_comprehensions_01.py
CodingGearsCourses/Python-Advanced-Concepts
6ba1a1751fe0ee94816020a023158bc4ef13e2d3
[ "MIT" ]
null
null
null
# Copyright https://www.globaletraining.com/ # List comprehensions provide a concise way to create lists. my_list = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] def main(): final_list = [] for n in my_list: final_list.append(n + 10) print(final_list) # TODO: Using Comprehension final_list_comp1 = [n...
22.791667
62
0.64351
86
547
3.825581
0.488372
0.191489
0.054711
0.072948
0.12766
0.091185
0.091185
0
0
0
0
0.05569
0.244973
547
24
63
22.791667
0.74092
0.301645
0
0
0
0
0.021164
0
0
0
0
0.041667
0
1
0.083333
false
0
0
0
0.083333
0.25
0
0
0
null
0
0
0
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
8c9fe21ac1fb4e86a8542b9c86c97ceefa6195a5
2,955
py
Python
DataExploration.py
lingcheng99/Kaggle-what-is-cooking
839ea7e04652a66743a0efbcba0e92a31d0f7d06
[ "MIT" ]
null
null
null
DataExploration.py
lingcheng99/Kaggle-what-is-cooking
839ea7e04652a66743a0efbcba0e92a31d0f7d06
[ "MIT" ]
null
null
null
DataExploration.py
lingcheng99/Kaggle-what-is-cooking
839ea7e04652a66743a0efbcba0e92a31d0f7d06
[ "MIT" ]
null
null
null
#For data exploration, examine most-used ingredients in each cuisine import numpy as np import pandas as pd import matplotlib.pyplot as plt import re from nltk.stem import WordNetLemmatizer wnl=WordNetLemmatizer() train=pd.read_json('train.json') train.columns Out[2]: Index([u'cuisine', u'id', u'ingredients'], dtype=...
23.830645
94
0.660575
418
2,955
4.631579
0.521531
0.036157
0.029442
0.032541
0.149793
0.149793
0.149793
0.113636
0.113636
0.113636
0
0.087366
0.24467
2,955
123
95
24.02439
0.780018
0.153638
0
0.194175
0
0
0.117883
0
0
0
0
0
0
0
null
null
0
0.048544
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
8ca357796f7d76456b2cad89d9c45280864be6d2
2,871
py
Python
code/examples/scraping_example.py
periode/practical-code-2018
1a63c9f7322c8b65ba232b51c8e01cf36cd69b71
[ "Unlicense" ]
null
null
null
code/examples/scraping_example.py
periode/practical-code-2018
1a63c9f7322c8b65ba232b51c8e01cf36cd69b71
[ "Unlicense" ]
null
null
null
code/examples/scraping_example.py
periode/practical-code-2018
1a63c9f7322c8b65ba232b51c8e01cf36cd69b71
[ "Unlicense" ]
null
null
null
# these three lines tell python that we would like to use these libraries # we've installed these libraries by running `pip install requests` and `pip install beautifulsoup4` in the terminal import requests from bs4 import BeautifulSoup import json # this line uses the request library to get a specific HTML page # in ...
41.014286
117
0.723093
461
2,871
4.464208
0.344902
0.014577
0.023324
0.018465
0
0
0
0
0
0
0
0.000878
0.2062
2,871
69
118
41.608696
0.90215
0
0
0
0
0
0.217308
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.148148
0
0
0
null
0
0
0
0
0
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
8ca4738aca752e8c9229dfb0cded7845d819caab
2,285
py
Python
controllers/apiv3/api_district_controller.py
enterstudio/the-blue-alliance
b53f752fe1f059b4b6f91c841e1865a6c6b81268
[ "MIT" ]
null
null
null
controllers/apiv3/api_district_controller.py
enterstudio/the-blue-alliance
b53f752fe1f059b4b6f91c841e1865a6c6b81268
[ "MIT" ]
null
null
null
controllers/apiv3/api_district_controller.py
enterstudio/the-blue-alliance
b53f752fe1f059b4b6f91c841e1865a6c6b81268
[ "MIT" ]
null
null
null
import json from google.appengine.ext import ndb from controllers.apiv3.api_base_controller import ApiBaseController from controllers.apiv3.model_properties import filter_event_properties, filter_team_properties from database.district_query import DistrictListQuery from database.event_query import DistrictEventsQuery...
40.803571
135
0.729103
284
2,285
5.580986
0.239437
0.068139
0.056782
0.04795
0.555205
0.524921
0.524921
0.50347
0.480126
0.427129
0
0.013742
0.171991
2,285
55
136
41.545455
0.823996
0
0
0.439024
0
0
0.028884
0
0
0
0
0
0
1
0.146341
false
0
0.170732
0
0.609756
0
0
0
0
null
0
0
0
0
0
0
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
8ca5cebdbfc33f3d49b52f06a056adefc1a0c5dc
151
py
Python
Ejercicios de guia/ej27.py
FdelMazo/7540rw-Algo1
8900604873195df9e902ead6bcb67723a8b654c8
[ "MIT" ]
1
2021-11-20T18:41:34.000Z
2021-11-20T18:41:34.000Z
Ejercicios de guia/ej27.py
FdelMazo/7540rw-Algo1
8900604873195df9e902ead6bcb67723a8b654c8
[ "MIT" ]
null
null
null
Ejercicios de guia/ej27.py
FdelMazo/7540rw-Algo1
8900604873195df9e902ead6bcb67723a8b654c8
[ "MIT" ]
null
null
null
def domino(): """Imprime todas las fichas de domino""" a = 0 b = 0 for k in range (0,7): a = k for i in range (a, 7): b = i print (a, b)
15.1
41
0.523179
31
151
2.548387
0.548387
0.177215
0
0
0
0
0
0
0
0
0
0.048544
0.317881
151
9
42
16.777778
0.718447
0.225166
0
0
0
0
0
0
0
0
0
0
0
1
0.125
false
0
0
0
0.125
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8cac882a11a484d3ec8fa792e8129186e7af69a6
6,305
py
Python
grab/util/module.py
subeax/grab
55518263c543da214d1f0cb54622bbc4fda66349
[ "MIT" ]
null
null
null
grab/util/module.py
subeax/grab
55518263c543da214d1f0cb54622bbc4fda66349
[ "MIT" ]
null
null
null
grab/util/module.py
subeax/grab
55518263c543da214d1f0cb54622bbc4fda66349
[ "MIT" ]
null
null
null
""" The source code of `reraise` and `import_string` was copied from https://github.com/mitsuhiko/werkzeug/blob/master/werkzeug/utils.py """ import logging import sys from grab.spider.base import Spider from grab.spider.error import SpiderInternalError from grab.util.misc import camel_case_to_underscore from grab.util...
38.445122
132
0.559239
721
6,305
4.692094
0.300971
0.056163
0.010641
0.021283
0.047886
0.047886
0.047886
0
0
0
0
0.002903
0.34433
6,305
163
133
38.680982
0.815433
0.200952
0
0.095652
0
0
0.114711
0
0
0
0
0.006135
0.008696
1
0.052174
false
0.008696
0.313043
0.008696
0.443478
0
0
0
0
null
0
0
0
0
0
0
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
8cafd3fbab8c417dc610f5fcf471c3928580c6f0
1,620
py
Python
tests/test_cards.py
zergov/flashcards
4d1b1c277585b95517ed6c00ceff7555c8c131eb
[ "MIT" ]
21
2016-06-13T00:51:49.000Z
2021-03-20T05:04:23.000Z
tests/test_cards.py
zergov/flashcards
4d1b1c277585b95517ed6c00ceff7555c8c131eb
[ "MIT" ]
11
2016-06-10T10:17:57.000Z
2020-01-30T15:14:35.000Z
tests/test_cards.py
zergov/flashcards
4d1b1c277585b95517ed6c00ceff7555c8c131eb
[ "MIT" ]
4
2017-01-02T13:26:21.000Z
2021-07-07T04:20:00.000Z
import unittest from flashcards import cards from flashcards.cards import StudyCard class TestModulefunctions(unittest.TestCase): def test_create_card_from_dict(self): data = {'question': '2+2=?', 'answer': '4'} card = cards.create_from_dict(data) self.assertEqual('2+2=?', card.question...
30.566038
79
0.67716
206
1,620
5.121359
0.228155
0.075829
0.072986
0.053081
0.230332
0.180095
0.053081
0
0
0
0
0.049065
0.207407
1,620
52
80
31.153846
0.772586
0
0
0
0
0
0.09321
0
0
0
0
0
0.277778
1
0.277778
false
0
0.083333
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
1
0
0
0
0
0
0
0
1
8cb062ade1a5bebcde4d63c04cfd4a1c5296ac22
1,914
py
Python
venv/lib/python3.7/site-packages/Xlib/keysymdef/greek.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
10
2021-09-15T16:29:59.000Z
2022-01-15T11:51:56.000Z
venv/lib/python3.7/site-packages/Xlib/keysymdef/greek.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
7
2021-09-16T06:21:44.000Z
2022-03-18T03:11:25.000Z
venv/lib/python3.7/site-packages/Xlib/keysymdef/greek.py
umr-bot/sliding-puzzle-solver-bot
826532a426f343bcc66034b241a42b3bd864e07c
[ "MIT" ]
3
2021-09-20T13:08:43.000Z
2022-03-18T03:09:08.000Z
XK_Greek_ALPHAaccent = 0x7a1 XK_Greek_EPSILONaccent = 0x7a2 XK_Greek_ETAaccent = 0x7a3 XK_Greek_IOTAaccent = 0x7a4 XK_Greek_IOTAdiaeresis = 0x7a5 XK_Greek_OMICRONaccent = 0x7a7 XK_Greek_UPSILONaccent = 0x7a8 XK_Greek_UPSILONdieresis = 0x7a9 XK_Greek_OMEGAaccent = 0x7ab XK_Greek_accentdieresis = 0x7ae XK_Greek...
25.52
39
0.806688
296
1,914
4.716216
0.388514
0.37106
0.025788
0
0
0
0
0
0
0
0
0.124845
0.15465
1,914
74
40
25.864865
0.737948
0
0
0
0
0
0
0
0
0
0.20163
0
0
1
0
false
0
0
0
0
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
8cb12993239018a0b731fb9740f25129f075d671
4,406
py
Python
dashboard/models.py
FurSquared/dev-game
11fc047faa72493066d26fb50f113f185071811d
[ "MIT" ]
1
2021-04-12T23:07:01.000Z
2021-04-12T23:07:01.000Z
dashboard/models.py
FurSquared/dev-game
11fc047faa72493066d26fb50f113f185071811d
[ "MIT" ]
null
null
null
dashboard/models.py
FurSquared/dev-game
11fc047faa72493066d26fb50f113f185071811d
[ "MIT" ]
null
null
null
import pytz from django.utils import timezone from django.db import models from django.core.validators import RegexValidator from django.conf import settings from django.utils import timezone alphanumeric_validator = RegexValidator(r'^[0-9a-zA-Z_-]*$', 'Only alphanumeric, underscore, and dash are allowed.') TIME_ZON...
32.397059
116
0.659555
552
4,406
5.077899
0.217391
0.027471
0.037103
0.02426
0.644666
0.600071
0.588298
0.488762
0.458081
0.41741
0
0.002614
0.218566
4,406
135
117
32.637037
0.811502
0.005447
0
0.568421
0
0
0.066454
0
0
0
0
0
0
1
0.105263
false
0
0.063158
0.042105
0.568421
0
0
0
0
null
0
0
0
0
0
0
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
8cb6ededb6dbac2b0b4bd23a225688e6a176699f
10,641
py
Python
data-science/CollectiveIntelligence/com/recommendations/Recommendations.py
matija94/show-me-the-code
7e98b15da03712e28417f2c808c4324989ce9bd7
[ "MIT" ]
1
2017-07-10T21:05:46.000Z
2017-07-10T21:05:46.000Z
data-science/CollectiveIntelligence/com/recommendations/Recommendations.py
matija94/show-me-the-code
7e98b15da03712e28417f2c808c4324989ce9bd7
[ "MIT" ]
null
null
null
data-science/CollectiveIntelligence/com/recommendations/Recommendations.py
matija94/show-me-the-code
7e98b15da03712e28417f2c808c4324989ce9bd7
[ "MIT" ]
null
null
null
''' Created on Mar 21, 2017 @author: matija FUNCTIONS FOR COMPUTING SIMILARITY BETWEEN TWO DATASETS BASED ON IT'S KEYS HERE WE USED PERSON AS KEY AND THEIRS VALUES ARE RATINGS FOR THE MOVIES WE COMPUTED A SIMILARITIES IN THIS MODULE BASED ON TWO FUNCTIONS 1.EUCLIDEAN DISTANCE 2.PEARSON FROM MY EXPERIANCE RUNNING T...
38.276978
144
0.633587
1,576
10,641
4.269036
0.211294
0.007134
0.018728
0.029132
0.322681
0.283145
0.265309
0.215369
0.212693
0.212693
0
0.031744
0.256931
10,641
277
145
38.415162
0.819148
0.224791
0
0.313725
0
0
0.20713
0.005016
0
0
0
0
0
0
null
null
0
0.019608
null
null
0.019608
0
0
0
null
0
0
0
0
0
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
8cc663f9cffb997d245db4d7f4d4d7372e1f7b3e
411
py
Python
project/blueprints/bp1/controllers.py
takwas/flask-layout-demo
493a7fed52acaa893c986cb5aaddb708f8bd3508
[ "MIT" ]
null
null
null
project/blueprints/bp1/controllers.py
takwas/flask-layout-demo
493a7fed52acaa893c986cb5aaddb708f8bd3508
[ "MIT" ]
null
null
null
project/blueprints/bp1/controllers.py
takwas/flask-layout-demo
493a7fed52acaa893c986cb5aaddb708f8bd3508
[ "MIT" ]
null
null
null
from werkzeug.exceptions import NotFound from . import bp_obj, views from project.core.models import User @bp_obj.route('/') def index(): return 'Welcome home.' @bp_obj.route('/users/<username>') def get_profile_info(username): user = User.query.filter(User.username == username).first() if user is N...
18.681818
63
0.705596
57
411
4.964912
0.596491
0.053004
0.070671
0
0
0
0
0
0
0
0
0
0.170316
411
21
64
19.571429
0.829912
0
0
0
0
0
0.111922
0
0
0
0
0
0
1
0.166667
false
0
0.25
0.083333
0.583333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
8cc8e3114922c6c5abefe88b78e6abd80e34e02f
6,168
py
Python
nmap to excel converter/Older version/nmap_to_excel_conv_v1.7.py
pr2h/Penetration-Testing-Tools
f517ba7d254b2f918e0e8246a4d85c82e37664af
[ "MIT" ]
1
2018-12-26T06:41:50.000Z
2018-12-26T06:41:50.000Z
nmap to excel converter/Older version/nmap_to_excel_conv_v1.7.py
pr2h/Penetration-Testing-Tools
f517ba7d254b2f918e0e8246a4d85c82e37664af
[ "MIT" ]
null
null
null
nmap to excel converter/Older version/nmap_to_excel_conv_v1.7.py
pr2h/Penetration-Testing-Tools
f517ba7d254b2f918e0e8246a4d85c82e37664af
[ "MIT" ]
null
null
null
# Welcome function def hujambo(): # Release Date : 21 May 2018 print ''' ################################################## # Tool : nmap_to_excel_conv # # Version : 1.7 # # Profile : https://github.com/pr2h/ # # Coded with Python 2.7 ...
36.934132
135
0.485895
630
6,168
4.638095
0.298413
0.024641
0.022587
0.027379
0.210815
0.182752
0.167009
0.156057
0.135524
0.135524
0
0.014671
0.381161
6,168
166
136
37.156627
0.750851
0.081388
0
0.254098
0
0
0.222587
0.025908
0
0
0
0
0
0
null
null
0.008197
0.04918
null
null
0.057377
0
0
0
null
0
0
0
0
0
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
8ccb36ea9f89ec0b38082dcec32ffc78a6292bfd
31,544
py
Python
xdo/__init__.py
rickyosser/python-libxdo
84cafa5943b005bc423edd28203a5266b3579ac3
[ "BSD-3-Clause" ]
62
2015-07-19T10:42:11.000Z
2022-03-30T14:23:28.000Z
xdo/__init__.py
rickyosser/python-libxdo
84cafa5943b005bc423edd28203a5266b3579ac3
[ "BSD-3-Clause" ]
21
2015-01-11T12:29:16.000Z
2021-10-04T08:27:06.000Z
xdo/__init__.py
rickyosser/python-libxdo
84cafa5943b005bc423edd28203a5266b3579ac3
[ "BSD-3-Clause" ]
23
2015-01-10T19:27:03.000Z
2022-01-16T18:43:33.000Z
# -*- coding: utf-8 -*- import ctypes import os from collections import namedtuple from ctypes import POINTER from six.moves import range from .xdo import libX11 as _libX11 from .xdo import libxdo as _libxdo from .xdo import ( # noqa CURRENTWINDOW, SEARCH_CLASS, SEARCH_CLASSNAME, SEARCH_DESKTOP, SEARCH_NAME, ...
34.324266
92
0.624207
4,208
31,544
4.492158
0.130228
0.028091
0.021319
0.010316
0.402899
0.317886
0.277152
0.245093
0.20145
0.176321
0
0.008975
0.297077
31,544
918
93
34.361656
0.843548
0.413549
0
0.135542
0
0
0.01558
0.006012
0
0
0
0.006536
0
1
0.21988
false
0.003012
0.024096
0.012048
0.337349
0
0
0
0
null
0
0
0
0
0
0
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
8cd1910089b97dc0eeb100917f40aaa5fcdf443b
1,104
py
Python
simpleoperationandvirus.py
Jarvood11/Secureoperation11
6545d9b24ccc1ab7cbca77f0db87516883d56d61
[ "MIT" ]
null
null
null
simpleoperationandvirus.py
Jarvood11/Secureoperation11
6545d9b24ccc1ab7cbca77f0db87516883d56d61
[ "MIT" ]
null
null
null
simpleoperationandvirus.py
Jarvood11/Secureoperation11
6545d9b24ccc1ab7cbca77f0db87516883d56d61
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Sun May 23 16:38:11 2021 @author: Jaroslav """ # -*- coding: utf-8 -*- def f1(x): return x+1 x2=f1(1) print("vvedite vo skolko uvelichet functziy:") n=int(input()) def doublern (f): def g(n): return n*f return g #print(x2) g=double...
14.526316
77
0.581522
178
1,104
3.561798
0.370787
0.018927
0.056782
0.069401
0.463722
0.392744
0.392744
0.392744
0.329653
0.329653
0
0.048406
0.23279
1,104
76
77
14.526316
0.700118
0.154891
0
0.526316
0
0
0.232861
0.026005
0
0
0
0
0
1
0.157895
false
0
0.078947
0.105263
0.394737
0.210526
0
0
0
null
0
0
0
0
0
0
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
8cd22fe0d4f8616653cabbff5d51ce408d78d433
7,488
py
Python
Previous_Designs/Hybrid_Prototype/Software/RPi_PythonScripts/hybrid_logger_2.py
UCHIC/CIWS-Loggers
4ee89610d6d2c7b310288b34e09a9739c83a2b24
[ "BSD-3-Clause" ]
6
2017-12-22T00:29:02.000Z
2022-03-03T17:09:53.000Z
Previous_Designs/Hybrid_Prototype/Software/RPi_PythonScripts/hybrid_logger_2.py
UCHIC/CIWS-Loggers
4ee89610d6d2c7b310288b34e09a9739c83a2b24
[ "BSD-3-Clause" ]
3
2018-07-03T14:35:31.000Z
2019-07-26T17:00:44.000Z
Previous_Designs/Hybrid_Prototype/Software/RPi_PythonScripts/hybrid_logger_2.py
UCHIC/CIWS-Loggers
4ee89610d6d2c7b310288b34e09a9739c83a2b24
[ "BSD-3-Clause" ]
2
2018-12-26T09:38:28.000Z
2019-01-10T09:34:43.000Z
#!/bin/env/python # File: hybrid_logger.py # # Raspberry Pi data transfer script # # Date: 6/27/18 # Daniel Henshaw and Josh Tracy # Platform: Raspberry Pi 3 model B # # Python version: 2.7.9 import os # for Linux terminal commands\ import RPi.GPIO as GPIO ...
39.619048
163
0.52898
853
7,488
4.626026
0.324736
0.030157
0.022301
0.030411
0.182463
0.120375
0.120375
0.120375
0.103142
0.068677
0
0.017698
0.237847
7,488
188
164
39.829787
0.673734
0.543136
0
0.16092
0
0
0.076182
0.012346
0
0
0.01084
0
0
0
null
null
0
0.045977
null
null
0.022989
0
0
0
null
0
0
0
0
0
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
8cd60322e9a02e7b60a0fdf23f2f43bab7250b6d
821
py
Python
package/tests/application/models/test_author.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
1
2021-04-28T20:24:05.000Z
2021-04-28T20:24:05.000Z
package/tests/application/models/test_author.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
null
null
null
package/tests/application/models/test_author.py
Jhsmit/awesome-panel
53f7754f7c505a2666f6724df26c851ae942ec40
[ "Apache-2.0" ]
null
null
null
# pylint: disable=redefined-outer-name,protected-access # pylint: disable=missing-function-docstring,missing-module-docstring,missing-class-docstring def test_can_construct_author(author): assert isinstance(author.name, str) assert isinstance(author.url, str) assert isinstance(author.github_url, str)...
48.294118
94
0.691839
100
821
5.58
0.53
0.114695
0.157706
0.134409
0.121864
0.121864
0
0
0
0
0
0.027496
0.158343
821
16
95
51.3125
0.780029
0.176614
0
0
0
0.153846
0.386606
0.031963
0
0
0
0
0.538462
1
0.076923
false
0
0
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
8cdae7e62d984a7f14e0709996d2809f5428877c
677
py
Python
examples/tempo.py
storagebot/pyechonest
aa39f008e9ecdefedb3f37187596c6cf2b770e80
[ "BSD-3-Clause" ]
2
2015-07-13T10:05:11.000Z
2017-01-29T13:56:29.000Z
examples/tempo.py
debrice/pyechonest
8afe498ad70d456d064c328fe55a0049441c1cac
[ "BSD-3-Clause" ]
null
null
null
examples/tempo.py
debrice/pyechonest
8afe498ad70d456d064c328fe55a0049441c1cac
[ "BSD-3-Clause" ]
1
2016-09-30T19:33:37.000Z
2016-09-30T19:33:37.000Z
import sys from pyechonest import song def get_tempo(artist, title): "gets the tempo for a song" results = song.search(artist=artist, title=title, results=1, buckets=['audio_summary']) if len(results) > 0: return results[0].audio_summary['tempo'] else: return None if __name__ == '__ma...
28.208333
91
0.595273
97
677
4.030928
0.402062
0.12532
0.061381
0.056266
0.081841
0.081841
0
0
0
0
0
0.02008
0.264402
677
23
92
29.434783
0.76506
0
0
0.166667
0
0
0.213018
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
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
1
0
0
0
0
0
0
0
0
1
8cdd4b32a895fe21de30846df06a26a17c5fe742
4,918
py
Python
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/script/pick_nrf51_files.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
22
2019-05-03T03:39:09.000Z
2022-02-26T17:14:15.000Z
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/script/pick_nrf51_files.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
27
2015-11-19T17:28:46.000Z
2016-10-10T10:12:37.000Z
features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_MCU_NRF51822/sdk/script/pick_nrf51_files.py
pradeep-gr/mbed-os5-onsemi
576d096f2d9933c39b8a220f486e9756d89173f2
[ "Apache-2.0" ]
22
2015-11-18T11:42:27.000Z
2021-11-12T21:20:16.000Z
#!/usr/bin/env python # Copyright (c) 2015-2016 ARM Limited # SPDX-License-Identifier: Apache-2.0 # # 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/LICEN...
34.633803
112
0.596584
672
4,918
4.241071
0.331845
0.031579
0.017544
0.011579
0.067368
0.067368
0.052632
0.052632
0.030175
0.030175
0
0.01468
0.293615
4,918
141
113
34.879433
0.805699
0.185645
0
0.19
0
0.01
0.1529
0.039418
0
0
0
0
0
0
null
null
0
0.02
null
null
0.17
0
0
0
null
0
0
0
0
0
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
8cde7e66af5e734fcd3d9c6b249b97428f55fcba
538
py
Python
nengo_ssp/__init__.py
nsdumont/nengo_ssp
9530a4618e213fb695b52887772c1309d0f07a0b
[ "MIT" ]
null
null
null
nengo_ssp/__init__.py
nsdumont/nengo_ssp
9530a4618e213fb695b52887772c1309d0f07a0b
[ "MIT" ]
null
null
null
nengo_ssp/__init__.py
nsdumont/nengo_ssp
9530a4618e213fb695b52887772c1309d0f07a0b
[ "MIT" ]
null
null
null
"""Top-level package for Spatial Semantic Pointers.""" __author__ = """Nicole Sandra-Yaffa Dumont""" __email__ = 'nicole.s.dumont@gmail.com' __version__ = '0.1.0' import nengo_ssp.dists import nengo_ssp.hrr_algebra import nengo_ssp.plotting import nengo_ssp.networks import nengo_ssp.utils from nengo_ssp.spatial_seman...
25.619048
69
0.795539
63
538
6.428571
0.619048
0.138272
0.17284
0
0
0
0
0
0
0
0
0.006383
0.126394
538
20
70
26.9
0.855319
0.089219
0
0
0
0
0.115702
0.051653
0
0
0
0
0
1
0
false
0
0.411765
0
0.411765
0
0
0
0
null
0
0
0
0
0
0
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
8ce3946de71ab22e24a0b7b0c61b3bee0f6a35b2
449
py
Python
backend/unpp_api/apps/project/migrations/0038_auto_20171107_0801.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
6
2017-11-21T10:00:44.000Z
2022-02-12T16:51:48.000Z
backend/unpp_api/apps/project/migrations/0038_auto_20171107_0801.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
995
2017-07-31T02:08:36.000Z
2022-03-08T22:44:03.000Z
backend/unpp_api/apps/project/migrations/0038_auto_20171107_0801.py
unicef/un-partner-portal
73afa193a5f6d626928cae0025c72a17f0ef8f61
[ "Apache-2.0" ]
1
2021-07-21T10:45:15.000Z
2021-07-21T10:45:15.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.3 on 2017-11-07 08:01 from __future__ import unicode_literals from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('project', '0037_auto_20171031_0715'), ] operations = [ migrations.RenameField( ...
21.380952
48
0.623608
50
449
5.32
0.8
0
0
0
0
0
0
0
0
0
0
0.1
0.265033
449
20
49
22.45
0.706061
0.151448
0
0
1
0
0.18254
0.060847
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8ce7c8fe85ea3cb16aa0f97f1c414c1d195057e1
2,932
py
Python
orchestrator/schemas/subscription.py
Georgi2704/orchestrator-core
bf072caf6b83ac8401426879df41e967f33f9f85
[ "Apache-2.0" ]
1
2021-04-10T19:24:39.000Z
2021-04-10T19:24:39.000Z
orchestrator/schemas/subscription.py
esnet/orchestrator-core
63ee68124a397176a5bc2fc15fdb8d7d5c285a41
[ "Apache-2.0" ]
null
null
null
orchestrator/schemas/subscription.py
esnet/orchestrator-core
63ee68124a397176a5bc2fc15fdb8d7d5c285a41
[ "Apache-2.0" ]
null
null
null
# Copyright 2019-2020 SURF. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, soft...
28.466019
88
0.776603
316
2,932
7.085443
0.433544
0.029477
0.051362
0.032157
0.102724
0.07682
0
0
0
0
0
0.004914
0.167121
2,932
102
89
28.745098
0.911957
0.192701
0
0.21875
0
0
0.010638
0
0
0
0
0
0
1
0
false
0
0.15625
0
0.921875
0
0
0
0
null
0
0
0
0
0
0
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
8ceb72129001f55df5f186691e9050b56845f858
287,297
py
Python
iex_api.py
JarrodSavard/Unofficial-IEX-CLOUD-Interface__Python
df167134a8a0a6b2c99580b92a3cd8a5a6856daf
[ "Apache-2.0" ]
null
null
null
iex_api.py
JarrodSavard/Unofficial-IEX-CLOUD-Interface__Python
df167134a8a0a6b2c99580b92a3cd8a5a6856daf
[ "Apache-2.0" ]
null
null
null
iex_api.py
JarrodSavard/Unofficial-IEX-CLOUD-Interface__Python
df167134a8a0a6b2c99580b92a3cd8a5a6856daf
[ "Apache-2.0" ]
null
null
null
import requests from api_key import api_key # BEFORE USING THIS INTERFACE READ LICENSE.md THOROUGHLY # class IEX: def __init__(self, ticker): self.ticker = ticker.strip().upper() self.api_key = api_key.strip() self.credit_limit = None self.token_limit = None #----------------...
54.474213
1,054
0.633219
34,475
287,297
5.274025
0.079884
0.008167
0.017858
0.015543
0.668731
0.642304
0.611989
0.581481
0.561907
0.54021
0
0.008959
0.298364
287,297
5,273
1,055
54.484544
0.887517
0.740857
0
0.448276
0
0.12069
0.344602
0.041184
0
0
0
0
0
1
0.164204
false
0.035304
0.001642
0
0.35468
0.013957
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
8cee9f9d4190077fa7207b3d9ee8940401d6bd64
386
py
Python
sympy/matrices/expressions/tests/test_funcmatrix.py
ovolve/sympy
0a15782f20505673466b940454b33b8014a25c13
[ "BSD-3-Clause" ]
319
2016-09-22T15:54:48.000Z
2022-03-18T02:36:58.000Z
sympy/matrices/expressions/tests/test_funcmatrix.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
13
2020-03-24T17:53:51.000Z
2022-02-10T20:01:14.000Z
sympy/matrices/expressions/tests/test_funcmatrix.py
curzel-it/KiPyCalc
909c783d5e6967ea58ca93f875106d8a8e3ca5db
[ "MIT" ]
27
2016-10-06T16:05:32.000Z
2022-03-18T02:37:00.000Z
from sympy import (symbols, FunctionMatrix, MatrixExpr, Lambda, Matrix) def test_funcmatrix(): i, j = symbols('i,j') X = FunctionMatrix(3, 3, Lambda((i, j), i - j)) assert X[1, 1] == 0 assert X[1, 2] == -1 assert X.shape == (3, 3) assert X.rows == X.cols == 3 assert Matrix(X) == Matrix(3, ...
29.692308
71
0.582902
63
386
3.555556
0.365079
0.053571
0.071429
0.080357
0.160714
0.160714
0.160714
0.160714
0
0
0
0.044521
0.243523
386
12
72
32.166667
0.722603
0
0
0
0
0
0.007772
0
0
0
0
0
0.6
1
0.1
false
0
0.1
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
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
8cf2db038b430ab18f95efebdda06eea6502a63b
9,519
py
Python
plugins/modules/oci_appmgmt_control_monitored_instance_actions.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_appmgmt_control_monitored_instance_actions.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
plugins/modules/oci_appmgmt_control_monitored_instance_actions.py
LaudateCorpus1/oci-ansible-collection
2b1cd87b4d652a97c1ca752cfc4fdc4bdb37a7e7
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # Copyright (c) 2020, 2022 Oracle and/or its affiliates. # This software is made available to you under the terms of the GPL 3.0 license or the Apache 2.0 license. # GNU General Public License v3.0+ (see COPYING or https://www.gnu.org/licenses/gpl-3.0.txt) # Apache License v2.0 # See LICENSE.TXT for d...
36.056818
156
0.669818
1,052
9,519
5.807034
0.25
0.069569
0.037322
0.034376
0.495826
0.456703
0.363726
0.337044
0.298412
0.28368
0
0.018386
0.251497
9,519
263
157
36.193916
0.839018
0.048955
0
0.344037
0
0.027523
0.606561
0.142414
0
0
0
0
0
1
0.03211
false
0.004587
0.027523
0.027523
0.09633
0.004587
0
0
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
8cf2ff47f6da2858c4985b55d48d5e70805c6767
2,686
py
Python
simpleseo/models.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
1
2020-02-18T13:54:02.000Z
2020-02-18T13:54:02.000Z
simpleseo/models.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
null
null
null
simpleseo/models.py
gelo-zhukov/django-simple-seo
872894917b39f2e938ac9a25471326d7a8c01873
[ "BSD-3-Clause" ]
2
2015-06-23T09:10:28.000Z
2020-07-25T10:04:31.000Z
from django.conf import settings from django.contrib.contenttypes.fields import GenericForeignKey from django.contrib.contenttypes.models import ContentType from django.core.exceptions import ImproperlyConfigured from django.db import models from django.utils.translation import gettext_lazy as _ from simpleseo.utils im...
47.964286
93
0.662695
312
2,686
5.467949
0.38141
0.051583
0.064478
0.076202
0.087925
0.087925
0.087925
0.087925
0.087925
0.087925
0
0.010623
0.228965
2,686
55
94
48.836364
0.813134
0
0
0
0
0
0.159717
0
0
0
0
0
0
1
0.086957
false
0
0.152174
0.043478
0.521739
0
0
0
0
null
0
0
0
0
0
0
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
8cfc3b101d93ee95c675e0922550886ff18d0923
3,457
py
Python
imagefarm.py
eyihluyc/cubiciser
58864062fbd0480356402b5f0009aefc2723a1d7
[ "MIT" ]
null
null
null
imagefarm.py
eyihluyc/cubiciser
58864062fbd0480356402b5f0009aefc2723a1d7
[ "MIT" ]
null
null
null
imagefarm.py
eyihluyc/cubiciser
58864062fbd0480356402b5f0009aefc2723a1d7
[ "MIT" ]
null
null
null
import cv2 import numpy as np from random import randint from functools import reduce from os import walk from scipy.spatial import ConvexHull DIMENSIONS = (512, 512) def fragment_overlay(background_img, masked_fragment): mask = masked_fragment.astype(int).sum(-1) == np.zeros(DIMENSIONS) backgrou...
30.324561
126
0.666763
476
3,457
4.701681
0.308824
0.052279
0.033512
0.036193
0.168007
0.157283
0.157283
0.157283
0.157283
0.157283
0
0.035922
0.202777
3,457
113
127
30.59292
0.776125
0.029216
0
0.082192
0
0
0.018513
0.009874
0
0
0
0
0
1
0.246575
false
0
0.082192
0.068493
0.561644
0
0
0
0
null
0
0
0
0
0
0
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
8cfcc61187a58a801beb3f8c01a5dbaf40a9a464
10,235
py
Python
ptrello/cli.py
Ibistylus/ptrello
b68ac54ee0fa92051b45b6b2dc116ee01189868d
[ "MIT" ]
null
null
null
ptrello/cli.py
Ibistylus/ptrello
b68ac54ee0fa92051b45b6b2dc116ee01189868d
[ "MIT" ]
null
null
null
ptrello/cli.py
Ibistylus/ptrello
b68ac54ee0fa92051b45b6b2dc116ee01189868d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Console script for ptrello.""" import sys import click import logging from ptrello import api from ptrello.core.config import logger # from ptrello.core.config import settings # import inspect logger = logging.getLogger("ptrello."+__name__) default_note = "quicknote.txt" class Config(obje...
33.447712
135
0.650708
1,380
10,235
4.594203
0.132609
0.05205
0.050473
0.04306
0.532808
0.495584
0.46388
0.411041
0.411041
0.388328
0
0.003926
0.203615
10,235
305
136
33.557377
0.773893
0.027748
0
0.434783
0
0
0.209642
0.022846
0
0
0
0
0
1
0.077295
false
0.086957
0.024155
0
0.144928
0.057971
0
0
0
null
0
0
0
0
0
0
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
8cfd9aa3c4cc86d1dd6612ff7cad3b5d28189104
4,435
py
Python
resnet_conv_svs.py
brain-research/conv-sv
adbd25b341ed673c8297b8306a33f4b0d61506a9
[ "Apache-2.0" ]
67
2018-10-29T19:10:00.000Z
2022-01-10T08:44:08.000Z
resnet_conv_svs.py
brain-research/conv-sv
adbd25b341ed673c8297b8306a33f4b0d61506a9
[ "Apache-2.0" ]
null
null
null
resnet_conv_svs.py
brain-research/conv-sv
adbd25b341ed673c8297b8306a33f4b0d61506a9
[ "Apache-2.0" ]
7
2018-12-19T02:38:43.000Z
2021-02-12T16:44:14.000Z
""" Copyright 2018 Google LLC Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to...
34.379845
107
0.662007
618
4,435
4.55178
0.367314
0.039815
0.015642
0.011376
0.07963
0.048347
0.048347
0
0
0
0
0.021321
0.238557
4,435
129
108
34.379845
0.811667
0
0
0
0
0
0.164926
0.047279
0
0
0
0
0
0
null
null
0
0.149425
null
null
0.045977
0
0
0
null
0
0
0
0
0
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
50642651b8cfbc946aa40311ddf2b416238a9317
2,050
py
Python
modules/drive/messages.py
xochilt/cousebuilder
50c524ad1406b77288efdc616812877e0c85aeb5
[ "Apache-2.0" ]
null
null
null
modules/drive/messages.py
xochilt/cousebuilder
50c524ad1406b77288efdc616812877e0c85aeb5
[ "Apache-2.0" ]
null
null
null
modules/drive/messages.py
xochilt/cousebuilder
50c524ad1406b77288efdc616812877e0c85aeb5
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 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 ...
33.606557
80
0.756098
316
2,050
4.825949
0.522152
0.039344
0.03541
0.020984
0
0
0
0
0
0
0
0.005886
0.17122
2,050
60
81
34.166667
0.891701
0.305366
0
0.2
0
0
0.743061
0.014947
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
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
506a86a4443e3e571e2d22b78700466d349574f5
5,700
py
Python
tools/win/linker_verbose_tracking.py
google-ar/chromium
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
777
2017-08-29T15:15:32.000Z
2022-03-21T05:29:41.000Z
tools/win/linker_verbose_tracking.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
66
2017-08-30T18:31:18.000Z
2021-08-02T10:59:35.000Z
tools/win/linker_verbose_tracking.py
harrymarkovskiy/WebARonARCore
2441c86a5fd975f09a6c30cddb57dfb7fc239699
[ "Apache-2.0", "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
123
2017-08-30T01:19:34.000Z
2022-03-17T22:55:31.000Z
# Copyright (c) 2016 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ This script parses the /verbose output from the VC++ linker and uses it to explain why a particular object file is being linked in. It parses records...
37.5
80
0.690702
857
5,700
4.478413
0.331389
0.021105
0.031006
0.018239
0.110474
0.073997
0.015633
0
0
0
0
0.012777
0.231053
5,700
151
81
37.748344
0.862879
0.180702
0
0.086957
0
0
0.123366
0.017565
0
0
0
0
0
0
null
null
0.014493
0.043478
null
null
0.144928
0
0
0
null
0
0
0
0
0
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
506cfa17cb6466142d41a243dc7d58c77f53980f
275
py
Python
setup.py
berryweinst/pytorch-attention
c317189ae79fa8b3d74c92031ed4c7c56183bd38
[ "BSD-2-Clause" ]
149
2017-09-17T04:22:36.000Z
2022-03-21T09:50:51.000Z
setup.py
berryweinst/pytorch-attention
c317189ae79fa8b3d74c92031ed4c7c56183bd38
[ "BSD-2-Clause" ]
3
2018-12-22T14:03:33.000Z
2019-04-24T20:26:57.000Z
setup.py
berryweinst/pytorch-attention
c317189ae79fa8b3d74c92031ed4c7c56183bd38
[ "BSD-2-Clause" ]
34
2018-01-31T09:53:15.000Z
2021-07-20T04:58:29.000Z
from distutils.core import setup setup( name='attention', version='0.1.0', author='tllake', author_email='thom.l.lake@gmail.com', packages=['attention'], description='An attention function for PyTorch.', long_description=open('README.md').read())
27.5
53
0.676364
35
275
5.257143
0.828571
0
0
0
0
0
0
0
0
0
0
0.012987
0.16
275
10
54
27.5
0.78355
0
0
0
0
0
0.336957
0.076087
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
506f9b9725c2a19877f15a40c8bebaa7d3abb015
926
py
Python
Python/diagonal-traverse.py
sm2774us/leetcode_interview_prep_2021
33b41bea66c266b733372d9a8b9d2965cd88bf8c
[ "Fair" ]
null
null
null
Python/diagonal-traverse.py
sm2774us/leetcode_interview_prep_2021
33b41bea66c266b733372d9a8b9d2965cd88bf8c
[ "Fair" ]
null
null
null
Python/diagonal-traverse.py
sm2774us/leetcode_interview_prep_2021
33b41bea66c266b733372d9a8b9d2965cd88bf8c
[ "Fair" ]
null
null
null
# Time: O(m * n) # Space: O(1) class Solution(object): def findDiagonalOrder(self, matrix): """ :type matrix: List[List[int]] :rtype: List[int] """ if not matrix or not matrix[0]: return [] result = [] row, col, d = 0, 0, 0 dirs = [(-1, ...
23.15
53
0.361771
110
926
3.045455
0.318182
0.161194
0.035821
0.062687
0.086567
0
0
0
0
0
0
0.056399
0.50216
926
39
54
23.74359
0.670282
0.082073
0
0.153846
0
0
0
0
0
0
0
0
0
1
0.038462
false
0
0
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
507dc9b6f7e264d08e2122152493a59a20b17eae
631
py
Python
source/pkgsrc/benchmarks/glmark2/patches/patch-waflib_Tools_c__config.py
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
1
2021-11-20T22:46:39.000Z
2021-11-20T22:46:39.000Z
source/pkgsrc/benchmarks/glmark2/patches/patch-waflib_Tools_c__config.py
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
source/pkgsrc/benchmarks/glmark2/patches/patch-waflib_Tools_c__config.py
Scottx86-64/dotfiles-1
51004b1e2b032664cce6b553d2052757c286087d
[ "Unlicense" ]
null
null
null
$NetBSD: patch-waflib_Tools_c__config.py,v 1.1 2019/12/22 22:21:58 joerg Exp $ When detecting the C++ compiler, force C++ mode for stdin as the wrappers add -std=c++11 and that breaks for C input. --- waflib/Tools/c_config.py.orig 2019-12-21 22:11:24.000906920 +0000 +++ waflib/Tools/c_config.py @@ -632,7 +632,7 @@ de...
37.117647
78
0.664025
121
631
3.363636
0.561983
0.081081
0.088452
0.132678
0.14742
0
0
0
0
0
0
0.097865
0.10935
631
16
79
39.4375
0.626335
0
0
0
0
0
0.03645
0
0
0
0
0
0
0
null
null
0
0
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
507f4517b7707019e3a5e09d876cf0e69e22fa4b
908
py
Python
rnbgrader/tests/test_tmpdirs.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
null
null
null
rnbgrader/tests/test_tmpdirs.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
1
2018-04-15T17:45:56.000Z
2018-04-15T17:45:56.000Z
rnbgrader/tests/test_tmpdirs.py
matthew-brett/rnbgrader
f07494f59dd0d1cb97c094ac2ea9e9d1243f0f70
[ "BSD-2-Clause" ]
null
null
null
""" Test tmpdirs module """ from __future__ import division, print_function, absolute_import from os import unlink from os.path import isfile, isdir from ..tmpdirs import in_dtemp, dtemporize def test_in_dtemp(): # Test working in temporary directory with in_dtemp() as tmpdir: with open('test.txt', ...
24.540541
64
0.620044
120
908
4.591667
0.383333
0.076225
0.065336
0.08167
0.217786
0.217786
0.217786
0.217786
0.217786
0.217786
0
0.006042
0.270925
908
36
65
25.222222
0.826284
0.172907
0
0.26087
0
0
0.109164
0
0
0
0
0
0.130435
1
0.173913
true
0
0.173913
0
0.347826
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
1
0
0
0
0
0
0
1
50822dedb95f8297671ae0128c460a3809b415a1
432
py
Python
Torrents/migrations/0005_auto_20200607_1345.py
tabish-ali/torrent_site
58e2e7f943a28b16134b26f450b54e9a066e7114
[ "MIT" ]
1
2019-12-17T07:36:46.000Z
2019-12-17T07:36:46.000Z
Torrents/migrations/0005_auto_20200607_1345.py
tabish-ali/torrent_site
58e2e7f943a28b16134b26f450b54e9a066e7114
[ "MIT" ]
null
null
null
Torrents/migrations/0005_auto_20200607_1345.py
tabish-ali/torrent_site
58e2e7f943a28b16134b26f450b54e9a066e7114
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-06-07 13:45 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Torrents', '0004_auto_20200607_1344'), ] operations = [ migrations.AlterField( model_name='uploadtorrents', name='up...
22.736842
80
0.622685
47
432
5.595745
0.851064
0
0
0
0
0
0
0
0
0
0
0.103448
0.261574
432
18
81
24
0.721003
0.104167
0
0
1
0
0.166234
0.05974
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
508477f8ff1fdb4f54f7bcb281e4c5620ff05a8e
3,760
py
Python
scripts/experimenting/dataset/core/base.py
miracleyoo/lifting_events_to_3d_hpe
dfe734ee055900d6ab90c064bf82db7672830ac7
[ "Apache-2.0" ]
null
null
null
scripts/experimenting/dataset/core/base.py
miracleyoo/lifting_events_to_3d_hpe
dfe734ee055900d6ab90c064bf82db7672830ac7
[ "Apache-2.0" ]
null
null
null
scripts/experimenting/dataset/core/base.py
miracleyoo/lifting_events_to_3d_hpe
dfe734ee055900d6ab90c064bf82db7672830ac7
[ "Apache-2.0" ]
null
null
null
import os from abc import ABC, abstractmethod from typing import Tuple import numpy as np import torch from scipy import io from experimenting.utils import Skeleton class BaseCore(ABC): """ Base class for dataset cores. Each core should implement get_frame_info and load_frame_from_id for base functional...
31.596639
112
0.656117
444
3,760
5.286036
0.256757
0.181082
0.107371
0.081807
0.534725
0.494248
0.478483
0.444397
0.354921
0.313166
0
0
0.269947
3,760
118
113
31.864407
0.855009
0.434574
0
0.291667
0
0
0.010466
0
0
0
0
0
0
1
0.291667
false
0
0.145833
0.041667
0.604167
0
0
0
0
null
0
0
0
0
0
0
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
508989303e5b2b3a3b01577c5b36bfba089539c4
735
py
Python
main/forms.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
main/forms.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
main/forms.py
mailfish/helena
1dd2814d11eea06578aeacc00481e9fdff829b36
[ "Apache-2.0" ]
null
null
null
from .models import User from django import forms from django.contrib.auth.forms import UserChangeForm, UserCreationForm class AdminUserAddForm(UserCreationForm): class Meta: model = User def clean_username(self): # Since User.username is unique, this check is redundant, #...
30.625
79
0.67483
80
735
6.125
0.625
0.040816
0.057143
0.073469
0
0
0
0
0
0
0
0.009191
0.259864
735
23
80
31.956522
0.891544
0.155102
0
0.25
0
0
0.043845
0
0
0
0
0
0
1
0.0625
false
0
0.1875
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5089e08c2e5ed040572fd882ea29cc13551da1d9
396
py
Python
cinema_environment/server_monolith/server_app/migrations/0010_auto_20200113_1616.py
AndrewMalitchuk/cinema-server-monolith
0002f672c3389f187c4668b7f87e9ea7273900a7
[ "Apache-2.0" ]
null
null
null
cinema_environment/server_monolith/server_app/migrations/0010_auto_20200113_1616.py
AndrewMalitchuk/cinema-server-monolith
0002f672c3389f187c4668b7f87e9ea7273900a7
[ "Apache-2.0" ]
null
null
null
cinema_environment/server_monolith/server_app/migrations/0010_auto_20200113_1616.py
AndrewMalitchuk/cinema-server-monolith
0002f672c3389f187c4668b7f87e9ea7273900a7
[ "Apache-2.0" ]
null
null
null
# Generated by Django 3.0.2 on 2020-01-13 14:16 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('server_app', '0009_auto_20200113_1606'), ] operations = [ migrations.AlterField( model_name='film', name='pic_url', ...
20.842105
58
0.60101
45
396
5.111111
0.822222
0
0
0
0
0
0
0
0
0
0
0.108772
0.280303
396
18
59
22
0.698246
0.113636
0
0
1
0
0.151862
0.065903
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
508abc6bbb13f9252f00097ed16824682c2241dc
1,394
py
Python
setup.py
fraser-langton/Quandoo
3a5e1241b645129d805213d01221ede8f2b79aa2
[ "MIT" ]
1
2019-08-08T11:05:28.000Z
2019-08-08T11:05:28.000Z
setup.py
fraser-langton/Quandoo
3a5e1241b645129d805213d01221ede8f2b79aa2
[ "MIT" ]
1
2021-01-31T23:16:09.000Z
2021-03-05T01:33:49.000Z
setup.py
fraser-langton/Quandoo
3a5e1241b645129d805213d01221ede8f2b79aa2
[ "MIT" ]
1
2020-08-19T09:06:42.000Z
2020-08-19T09:06:42.000Z
"""A setuptools based setup module. See: https://packaging.python.org/guides/distributing-packages-using-setuptools/ https://github.com/pypa/sampleproject """ from os import path from setuptools import setup, find_packages with open(path.join(path.abspath(path.dirname(__file__)), 'README.md'), encoding='utf-8') as f...
35.74359
95
0.648494
169
1,394
5.260355
0.56213
0.128234
0.168729
0.175478
0
0
0
0
0
0
0
0.023747
0.184362
1,394
38
96
36.684211
0.758135
0.108321
0
0
0
0.034483
0.4911
0.01699
0
0
0
0
0
1
0
false
0
0.068966
0
0.068966
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
508c64d452b0abaf76b321100ddd834ff6ffb711
394
py
Python
Day-03_Binary-Diagnostic/tests/test_day_03.py
richardangell/advent-of-code-2021
48397e980fd6d4d43234df89e47bf22581c0611e
[ "BSD-3-Clause" ]
null
null
null
Day-03_Binary-Diagnostic/tests/test_day_03.py
richardangell/advent-of-code-2021
48397e980fd6d4d43234df89e47bf22581c0611e
[ "BSD-3-Clause" ]
null
null
null
Day-03_Binary-Diagnostic/tests/test_day_03.py
richardangell/advent-of-code-2021
48397e980fd6d4d43234df89e47bf22581c0611e
[ "BSD-3-Clause" ]
null
null
null
import puzzle_1 import puzzle_2 def test_puzzle_1(): input_1 = puzzle_1.helpers.load_input("tests/input_1.txt", remove_lines_breaks=True) assert puzzle_1.calculate_gamma_and_epsilon(input_1) == (22, 9) def test_puzzle_2(): input_1 = puzzle_2.helpers.load_input("tests/input_1.txt", remove_lines_breaks...
23.176471
88
0.761421
66
394
4.121212
0.393939
0.132353
0.095588
0.154412
0.463235
0.463235
0.463235
0.463235
0.463235
0.463235
0
0.063953
0.126904
394
16
89
24.625
0.726744
0
0
0
0
0
0.086294
0
0
0
0
0
0.25
1
0.25
false
0
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
508f9dc66a5212b6e8c3d8cc985585f568335abe
11,800
py
Python
rpython/memory/gc/test/test_rawrefcount.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/memory/gc/test/test_rawrefcount.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
rpython/memory/gc/test/test_rawrefcount.py
wdv4758h/mu-client-pypy
d2fcc01f0b4fe3ffa232762124e3e6d38ed3a0cf
[ "Apache-2.0", "OpenSSL" ]
null
null
null
import py from rpython.rtyper.lltypesystem import lltype, llmemory from rpython.memory.gc.incminimark import IncrementalMiniMarkGC from rpython.memory.gc.test.test_direct import BaseDirectGCTest from rpython.rlib.rawrefcount import REFCNT_FROM_PYPY from rpython.rlib.rawrefcount import REFCNT_FROM_PYPY_LIGHT PYOBJ_HDR ...
40.410959
79
0.62678
1,501
11,800
4.647568
0.08994
0.060206
0.071101
0.051175
0.773366
0.725057
0.65496
0.633028
0.558773
0.517489
0
0.028825
0.273814
11,800
291
80
40.549828
0.785272
0.016017
0
0.620818
0
0
0.011732
0
0
0
0
0
0.148699
1
0.078067
false
0
0.022305
0
0.115242
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