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
0506babfb46e61e94ef4b0c3588703089996cb76
456
py
Python
Downey2011_exes/plot.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
Downey2011_exes/plot.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
Downey2011_exes/plot.py
crisgc/mab719
0514efdd4db649f472771e6f16df9a5611ed7db9
[ "MIT" ]
null
null
null
""" Cristiano G Castro Functions for plotting a pmf """ import numpy from Pmf import Hist import matplotlib.pyplot as plt def plot_histogram(hist, xlabel=None, ylabel=None): """ Plots a histogram @type hist: Hist Args: hist: the histogram """ (x,w) = hist.Render(); plt.hist(x,...
15.724138
51
0.635965
67
456
4.313433
0.537313
0.062284
0.062284
0
0
0
0
0
0
0
0
0
0.25
456
28
52
16.285714
0.845029
0.252193
0
0
0
0
0
0
0
0
0
0
0
1
0.111111
false
0
0.333333
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
050c3a1a5449697e4f170c273453b3f7b0fc4122
4,742
py
Python
scripts/create_normals.py
OpenWebGlobe/WebViewer
eef64ab413b1aa22b36449a9aa302cdd9a17b5d3
[ "MIT" ]
65
2015-01-22T20:22:30.000Z
2022-01-18T06:40:06.000Z
scripts/create_normals.py
T-MAPY/WebViewer
9f9dad454d04343129970f0f9b00362b6a91d2c0
[ "MIT" ]
2
2016-07-28T06:36:42.000Z
2020-10-03T17:36:26.000Z
scripts/create_normals.py
T-MAPY/WebViewer
9f9dad454d04343129970f0f9b00362b6a91d2c0
[ "MIT" ]
35
2015-01-20T09:08:49.000Z
2021-04-10T04:13:11.000Z
#!/usr/bin/python ################################################################################ # ____ __ __ _ _____ _ _ # # / __ \ \ \ / / | | / ____| | | | # # | | | |_ __ ___ _ __ \ /\ / /__| |__ | | __| | _...
28.914634
133
0.423028
510
4,742
3.731373
0.286275
0.073568
0.036784
0.073568
0.074619
0.012612
0.012612
0.012612
0.012612
0.012612
0
0.038935
0.366301
4,742
163
134
29.092025
0.594343
0.305567
0
0.022989
0
0
0.090812
0
0
0
0
0
0
0
null
null
0
0.034483
null
null
0.08046
0
0
0
null
0
0
0
0
0
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
0517d2c8039ea59a751fe9619bb9e6ef29760c56
255
py
Python
Code/Jetson/bmp180.py
ErickDiaz/tesis_master_ingmate
e0260ea4fd2af9dce8e81748986772018bdfaae6
[ "MIT" ]
1
2022-01-16T16:50:28.000Z
2022-01-16T16:50:28.000Z
Code/Jetson/bmp180.py
ErickDiaz/tesis_master_ingmate
e0260ea4fd2af9dce8e81748986772018bdfaae6
[ "MIT" ]
2
2021-05-30T03:54:37.000Z
2021-06-03T03:16:33.000Z
Code/Jetson/bmp180.py
unir-math-master/tesis_master_ingmate
e0260ea4fd2af9dce8e81748986772018bdfaae6
[ "MIT" ]
null
null
null
#!/usr/bin/python from bmp180 import bmp180 bmp = bmp180(0x77) while True: print("Temp: " + str(bmp.get_temp()) + " Celcius") print("Pressure: " + str(bmp.get_pressure()) + " Pascal") print("Altitude: " + str(bmp.get_altitude()) + " meter")
25.5
61
0.623529
33
255
4.727273
0.575758
0.115385
0.173077
0
0
0
0
0
0
0
0
0.057143
0.176471
255
10
62
25.5
0.685714
0.062745
0
0
0
0
0.196653
0
0
0
0.016736
0
0
1
0
false
0
0.166667
0
0.166667
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
051b1539819e40ad2b5d182cfd53c83f07605d60
508
py
Python
setup.py
FlorisHoogenboom/sklearn-helpers
7a8048130db1128b5f933029fceb1c216c6e9c5d
[ "MIT" ]
1
2019-06-14T17:41:33.000Z
2019-06-14T17:41:33.000Z
setup.py
FlorisHoogenboom/sklearn-helpers
7a8048130db1128b5f933029fceb1c216c6e9c5d
[ "MIT" ]
null
null
null
setup.py
FlorisHoogenboom/sklearn-helpers
7a8048130db1128b5f933029fceb1c216c6e9c5d
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='sklearn_helpers', version='0.1', packages=['sklearn_helpers'], url='https://github.com/FlorisHoogenboom/sklearn-helpers', license='MIT', author='Floris Hoogenboom', author_email='floris.hoogenboom@futurefacts.nl', description='Some helpers I use...
23.090909
68
0.622047
54
508
5.759259
0.722222
0.135048
0
0
0
0
0
0
0
0
0
0.010309
0.23622
508
21
69
24.190476
0.791237
0
0
0
0
0
0.437008
0.062992
0
0
0
0
0
1
0
true
0
0.05
0
0.05
0
0
0
0
null
0
0
0
0
0
0
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
05207b6eeb2690d40ef7d392572709531f5706df
731
py
Python
Unit1/Lesson9.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
Unit1/Lesson9.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
Unit1/Lesson9.py
szhua/PythonLearn
12eaf7cc74a0310bb23e21773f3c83deb91d0362
[ "Apache-2.0" ]
null
null
null
''' 迭代器 ''' from collections import Iterable print(isinstance((x for x in range(100)),Iterable)) print(isinstance("sss",Iterable)) from collections import Iterator print(isinstance("ssss",Iterator)) print(isinstance([x for x in range(100)],Iterator)) print(isinstance((x for x in range(10)),Iterator)) it =iter...
19.756757
65
0.76197
85
731
6.552941
0.388235
0.16158
0.035907
0.050269
0.301616
0.301616
0.27289
0.27289
0.087971
0.087971
0
0.014925
0.083447
731
36
66
20.305556
0.816418
0.004104
0
0.285714
0
0
0.01559
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.785714
0
0
0
null
0
0
0
0
0
0
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
0528ad7e72dd3990052f0b06fc9dab3b2720e3dd
4,112
py
Python
dockerEE/service/service_daemon.py
ynaka81/dockerEE
bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2
[ "MIT" ]
null
null
null
dockerEE/service/service_daemon.py
ynaka81/dockerEE
bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2
[ "MIT" ]
1
2015-09-24T22:12:13.000Z
2015-09-25T13:02:21.000Z
dockerEE/service/service_daemon.py
ynaka81/dockerEE
bcbf01bfa9149d9bedf8d6105a050fb8cd0d47a2
[ "MIT" ]
null
null
null
import os import select import re import logging import Pyro4.core import Pyro4.naming from Pyro4.errors import NamingError from Pyro4 import socketutil ## ServiceDaemon # # The service daemon that provide service interface class ServiceDaemon(object): ## max name server retry __retry = 10 ## constructor ...
38.792453
125
0.581226
415
4,112
5.566265
0.325301
0.051948
0.025974
0.038961
0.131169
0.101299
0
0
0
0
0
0.005616
0.350438
4,112
105
126
39.161905
0.859229
0.210846
0
0.08
0
0
0.020268
0
0
0
0
0
0
0
null
null
0.04
0.106667
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
0539061f898ea31741f4ec6c9f233bb5d7bfcc60
935
py
Python
willow/bb.py
cobaweel/willow
5d67617a9e422961d12bdba8b095018c67aea151
[ "BSD-3-Clause" ]
1
2020-07-08T01:19:37.000Z
2020-07-08T01:19:37.000Z
willow/bb.py
cobaweel/willow
5d67617a9e422961d12bdba8b095018c67aea151
[ "BSD-3-Clause" ]
null
null
null
willow/bb.py
cobaweel/willow
5d67617a9e422961d12bdba8b095018c67aea151
[ "BSD-3-Clause" ]
null
null
null
import serial, getopt, sys, urllib2 # Set defaults g_port_name = 0 g_host = "localhost:8000" g_tag = "serial" # Read command line switches, _ = getopt.getopt(sys.argv[1:], "p:h:t:") for switch, arg in switches: if switch == "-p": if arg.isdigit(): g_port_name = int(arg) else: g_port_name = arg ...
21.744186
55
0.62246
147
935
3.823129
0.435374
0.044484
0.080071
0
0
0
0
0
0
0
0
0.016238
0.209626
935
42
56
22.261905
0.744249
0.082353
0
0
0
0
0.196009
0
0
0
0
0
0
0
null
null
0
0.032258
null
null
0.032258
0
0
0
null
0
0
0
0
0
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
053ccb22cd31bbe4895c238a9be90e6dc09c040f
984
py
Python
state_machine/states/base/__smach_concurrence_container.py
ragavsachdeva/shef
9475f0683422c200986de8e19526b3929361ac33
[ "MIT" ]
null
null
null
state_machine/states/base/__smach_concurrence_container.py
ragavsachdeva/shef
9475f0683422c200986de8e19526b3929361ac33
[ "MIT" ]
null
null
null
state_machine/states/base/__smach_concurrence_container.py
ragavsachdeva/shef
9475f0683422c200986de8e19526b3929361ac33
[ "MIT" ]
null
null
null
from typing import Callable, List import smach class SmachConcurrenceContainer(smach.Concurrence): """ A wrapper around SMACH Concurrent State Machine. You shouldn't need to edit this file. Speak to @ragavsachdeva if you think otherwise. """ def __init__( self, outcomes: List...
25.230769
72
0.64126
108
984
5.527778
0.425926
0.108878
0.090452
0.067002
0.077052
0
0
0
0
0
0
0
0.283537
984
38
73
25.894737
0.846809
0.136179
0
0.076923
0
0
0
0
0
0
0
0
0
1
0.153846
false
0.076923
0.076923
0.038462
0.307692
0
0
0
0
null
0
0
0
0
0
0
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
053fbaebb55706960795140d453cdbf58dc47082
1,400
py
Python
CheQr.py
somnathbm/arya-cheqr
c76c585fef999083049d652792cdbb5d90aa8235
[ "Apache-2.0" ]
null
null
null
CheQr.py
somnathbm/arya-cheqr
c76c585fef999083049d652792cdbb5d90aa8235
[ "Apache-2.0" ]
null
null
null
CheQr.py
somnathbm/arya-cheqr
c76c585fef999083049d652792cdbb5d90aa8235
[ "Apache-2.0" ]
null
null
null
from __future__ import print_function from flask import Flask, make_response, jsonify, request, render_template from flask_restful import Resource, Api from skimage import io import pyzbar.pyzbar as pyzbar from cloudant import Cloudant import atexit import os import json app = Flask(__name__, static_url_path...
28.571429
105
0.64
183
1,400
4.699454
0.459016
0.055814
0.088372
0.087209
0.102326
0
0
0
0
0
0
0.015489
0.262143
1,400
48
106
29.166667
0.817038
0.109286
0
0
0
0
0.047779
0
0
0
0
0
0
1
0.064516
false
0
0.290323
0
0.516129
0.032258
0
0
0
null
0
0
0
0
0
0
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
0544885d1410b2a25ad7e1c85ccb1a41efbc27a6
3,192
py
Python
TicketViewerController.py
ritvikbhawnani/Zendesk_Ticket_Viewer
6323f3743c12c31b30e40158f3251a83e742edab
[ "MIT" ]
null
null
null
TicketViewerController.py
ritvikbhawnani/Zendesk_Ticket_Viewer
6323f3743c12c31b30e40158f3251a83e742edab
[ "MIT" ]
null
null
null
TicketViewerController.py
ritvikbhawnani/Zendesk_Ticket_Viewer
6323f3743c12c31b30e40158f3251a83e742edab
[ "MIT" ]
null
null
null
from dotenv import dotenv_values from TicketView import TicketView from APIModel import APIModel class TicketViewerController: """ Accepts user input and delgates presentation to the view and data handling to the model """ def __init__(self): self.config = dotenv_values(".env") ...
28
88
0.564536
350
3,192
4.962857
0.308571
0.069085
0.060449
0.034542
0.226252
0.153138
0.130109
0.130109
0.130109
0.130109
0
0.004873
0.357143
3,192
113
89
28.247788
0.841618
0.156955
0
0.232143
0
0
0.092137
0
0
0
0
0
0
1
0.125
false
0.071429
0.053571
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
055906c4d2171d4268dcc6d2d7cb8c0b53e09e1a
1,324
py
Python
dataPreloading/preloadKaggle.py
LeonardoAlchieri/Top-Of-Youtube
ec2fc3f2a40afd5ffe831136c75b2951b4b74341
[ "MIT" ]
3
2020-02-21T10:12:43.000Z
2021-01-31T16:32:51.000Z
dataPreloading/preloadKaggle.py
LeonardoAlchieri/Top-Of-Youtube
ec2fc3f2a40afd5ffe831136c75b2951b4b74341
[ "MIT" ]
1
2021-06-08T20:53:49.000Z
2021-06-08T20:53:49.000Z
dataPreloading/preloadKaggle.py
LeonardoAlchieri/Top-Of-Youtube
ec2fc3f2a40afd5ffe831136c75b2951b4b74341
[ "MIT" ]
1
2021-01-30T09:31:51.000Z
2021-01-30T09:31:51.000Z
import pandas as pd from sqlalchemy import create_engine import pymysql import base64 from mpi4py import MPI import sys import os import logging import bcolors import shutil try: LINE_START = sys.argv[1] except: LINE_START = 0 # Start parallel session comm = MPI.COMM_WORLD ID = comm.Get_rank() + LINE_START ...
24.518519
96
0.703172
188
1,324
4.840426
0.510638
0.052747
0.024176
0.035165
0.043956
0
0
0
0
0
0
0.01875
0.154079
1,324
53
97
24.981132
0.79375
0.052115
0
0.055556
0
0
0.208466
0.045527
0
0
0
0
0
1
0
false
0.055556
0.277778
0
0.277778
0.055556
0
0
0
null
0
0
0
0
0
0
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
0560bf72a09b956d308d955b8563ef575f04877a
2,061
py
Python
example/theRoom/cgi-bin/createRoom.py
fallen-geko/QuickPYSER
f8e4fb18934f8896794efd4609eef15c88e34d9e
[ "Apache-2.0" ]
null
null
null
example/theRoom/cgi-bin/createRoom.py
fallen-geko/QuickPYSER
f8e4fb18934f8896794efd4609eef15c88e34d9e
[ "Apache-2.0" ]
null
null
null
example/theRoom/cgi-bin/createRoom.py
fallen-geko/QuickPYSER
f8e4fb18934f8896794efd4609eef15c88e34d9e
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python ''' ------------------------------------------------------------------------------------------ Copyright 2020 Romeo Dabok 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 ...
42.9375
150
0.606502
270
2,061
4.618519
0.522222
0.048115
0.072173
0.057739
0.205293
0.205293
0.205293
0.205293
0.133119
0.133119
0
0.010551
0.172246
2,061
47
151
43.851064
0.720399
0.459
0
0.346154
0
0.192308
0.937148
0.26454
0
0
0
0
0
1
0
false
0
0.076923
0
0.076923
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
05670d5043c1885eb87fb7119cfbfcc830c202df
2,674
py
Python
server/actions/user/authentication_test.py
kaheicanaan/muffin
38a635e861fb1e643fe6c4b369e93722242b29da
[ "MIT" ]
null
null
null
server/actions/user/authentication_test.py
kaheicanaan/muffin
38a635e861fb1e643fe6c4b369e93722242b29da
[ "MIT" ]
null
null
null
server/actions/user/authentication_test.py
kaheicanaan/muffin
38a635e861fb1e643fe6c4b369e93722242b29da
[ "MIT" ]
null
null
null
from datetime import datetime, timedelta import pytest from actions.user.authentication import ( UserAuthentication, InvalidCredentialsException, ) from database_schemas.users import UserEntry from data_models.access_token import UserToken @pytest.fixture(name="user_authentication") def fixture_user_authenti...
37.661972
85
0.73448
273
2,674
6.868132
0.223443
0.192
0.090667
0.149333
0.558933
0.534933
0.474133
0.338667
0.303467
0.256533
0
0.00139
0.192595
2,674
70
86
38.2
0.867068
0
0
0.280702
0
0
0.036649
0
0
0
0
0
0.087719
1
0.140351
false
0.087719
0.087719
0.017544
0.298246
0
0
0
0
null
0
0
0
0
0
0
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
056e1f593b1aa3a385f9b786c90238191c7219de
420
py
Python
setup.py
fierflame/monitorable.py
8f62cc33a3f34fc845e09aba7fd47572b35db9dd
[ "MIT" ]
null
null
null
setup.py
fierflame/monitorable.py
8f62cc33a3f34fc845e09aba7fd47572b35db9dd
[ "MIT" ]
null
null
null
setup.py
fierflame/monitorable.py
8f62cc33a3f34fc845e09aba7fd47572b35db9dd
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 from setuptools import setup, find_packages setup( name = "monitorable", version = "0.0.1", keywords = ("monitorable"), description = "monitorable", long_description = "monitorable", license = "MIT Licence", url = "https://github.com/fierflame/monitorable.py", author = "Fierflame", pac...
22.105263
53
0.704762
47
420
6.170213
0.765957
0.082759
0
0
0
0
0
0
0
0
0
0.011111
0.142857
420
18
54
23.333333
0.794444
0.05
0
0
0
0
0.288945
0
0
0
0
0
0
1
0
true
0
0.066667
0
0.066667
0
0
0
0
null
0
0
0
0
0
0
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
0570c863640f0caaacc3c59c9617e8c69a3469a9
395
py
Python
tests/data/aiogithub.py
rgruebel/hacs
1d461747f107afd2a9b2a78f21179ecfee9e2d50
[ "MIT" ]
3
2019-12-01T09:01:08.000Z
2019-12-01T09:03:19.000Z
tests/data/aiogithub.py
rgruebel/hacs
1d461747f107afd2a9b2a78f21179ecfee9e2d50
[ "MIT" ]
null
null
null
tests/data/aiogithub.py
rgruebel/hacs
1d461747f107afd2a9b2a78f21179ecfee9e2d50
[ "MIT" ]
null
null
null
"""Test data for AIOGitHub.""" # pylint: disable=invalid-name import pytest @pytest.fixture() def response_get_repo_awesome(): return { "id": 99999999, "full_name": "awesome-dev/awesome-repo", "pushed_at": "1970-01-01T00:00:00Z", "archived": False, "description": "Awesome!"...
23.235294
48
0.587342
42
395
5.380952
0.833333
0
0
0
0
0
0
0
0
0
0
0.073333
0.240506
395
16
49
24.6875
0.68
0.136709
0
0
0
0
0.370149
0.071642
0
0
0
0
0
1
0.083333
true
0
0.083333
0.083333
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
05751b9fe07e9afb19cf55fc377f2b08a5a1c721
1,110
py
Python
tf_convex_quad_iou/tests/iou_matrix_test.py
atuleu/tf-convex-polygon-iou
14c01bebdffd2091c0fdf535e36318258c4907ff
[ "MIT" ]
1
2022-03-30T14:35:26.000Z
2022-03-30T14:35:26.000Z
tf_convex_quad_iou/tests/iou_matrix_test.py
atuleu/tf-convex-polygon-iou
14c01bebdffd2091c0fdf535e36318258c4907ff
[ "MIT" ]
null
null
null
tf_convex_quad_iou/tests/iou_matrix_test.py
atuleu/tf-convex-polygon-iou
14c01bebdffd2091c0fdf535e36318258c4907ff
[ "MIT" ]
null
null
null
import numpy as np import math from tf_convex_quad_iou import iou_matrix sqrt2 = math.sqrt(2) anchors = np.array([ [ [-1, -1], [1, -1], [1, 1], [-1, 1], ], [ [0, 0], [2, 0], [2, 2], [0, 2], ], [ [0, sqrt2], [-sqrt2, 0]...
15.633803
57
0.328829
136
1,110
2.617647
0.25
0.095506
0.109551
0.11236
0.101124
0.08427
0.08427
0.08427
0.08427
0.08427
0
0.177632
0.452252
1,110
70
58
15.857143
0.407895
0
0
0.421875
0
0
0
0
0
0
0
0
0.015625
1
0.015625
false
0
0.046875
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
058002a4a6e9095325dd6448009c5aac246ce95c
418
py
Python
sopel_modules/SpiceBot/Update.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
2
2018-07-24T14:04:36.000Z
2019-01-11T21:41:50.000Z
sopel_modules/SpiceBot/Update.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
947
2018-07-24T01:50:29.000Z
2019-04-14T22:40:57.000Z
sopel_modules/SpiceBot/Update.py
deathbybandaid/Sopel-SpiceBotSERV
816dddc88943b9194f3f0aa6558759eedd585343
[ "EFL-2.0" ]
6
2019-04-12T17:09:07.000Z
2019-09-30T05:56:15.000Z
# coding=utf8 from __future__ import unicode_literals, absolute_import, division, print_function """ This is the SpiceBot Update system. """ from sopel.config.types import StaticSection, ValidatedAttribute class SpiceBot_Update_MainSection(StaticSection): gitrepo = ValidatedAttribute('gitrepo', default="https:/...
29.857143
91
0.794258
44
418
7.340909
0.704545
0.086687
0
0
0
0
0
0
0
0
0
0.002674
0.105263
418
13
92
32.153846
0.860963
0.026316
0
0
0
0
0.160221
0
0
0
0
0
0
1
0
false
0
0.4
0
1
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
05849e3d45dc05566ac37192cdc90b7c399404b1
1,032
py
Python
FLASK_LOGIN_SYSTEM_WITH_MONGODB/app.py
ismailmirza18/flask_project
21677476a2f547441deebb170cc74dc8314f7862
[ "MIT" ]
null
null
null
FLASK_LOGIN_SYSTEM_WITH_MONGODB/app.py
ismailmirza18/flask_project
21677476a2f547441deebb170cc74dc8314f7862
[ "MIT" ]
null
null
null
FLASK_LOGIN_SYSTEM_WITH_MONGODB/app.py
ismailmirza18/flask_project
21677476a2f547441deebb170cc74dc8314f7862
[ "MIT" ]
null
null
null
from flask import Flask,render_template,session,redirect,request from flask_debug import Debug from livereload import Server from functools import wraps from datetime import timedelta import pymongo app = Flask(__name__) app.secret_key = b'~\x15\xcc-,\xa8:`\xa7IQ\xcc\xaa\xdbA?' app.permanent_session_lifetime = ...
27.157895
65
0.682171
133
1,032
5.150376
0.488722
0.061314
0.058394
0
0
0
0
0
0
0
0
0.012048
0.195736
1,032
37
66
27.891892
0.813253
0.156977
0
0
0
0
0.110303
0.044848
0
0
0
0
0
1
0.142857
false
0
0.25
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
0585e30d2b513320f948c7d58e4f8090c0ec0132
2,183
py
Python
helper.py
ffe4/kanji-lists
d8eafa9ed0cc4766ee1d9a094c3f25fba851063c
[ "MIT" ]
5
2021-04-10T19:28:18.000Z
2022-02-17T17:40:54.000Z
helper.py
ffe4/kanji-lists
d8eafa9ed0cc4766ee1d9a094c3f25fba851063c
[ "MIT" ]
2
2021-05-23T20:26:19.000Z
2021-05-24T12:55:41.000Z
helper.py
ffe4/kanji-lists
d8eafa9ed0cc4766ee1d9a094c3f25fba851063c
[ "MIT" ]
null
null
null
import argparse import json import subprocess from jinja2 import Template import toml import black # Template and target file locations of files that need to be generated CODEGEN_FILES = [ ("codegen/kanji_lists.jinja2", "kanji_lists/kanji_lists.py"), ("codegen/__init__.jinja2", "kanji_lists/__init__.py"), ...
27.2875
73
0.596885
260
2,183
4.838462
0.411538
0.042925
0.027027
0.020668
0
0
0
0
0
0
0
0.004516
0.289968
2,183
79
74
27.632911
0.805161
0.031608
0
0.089552
1
0
0.227746
0.067708
0
0
0
0
0
1
0.029851
false
0
0.089552
0
0.134328
0.089552
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
058b1990e913cc5bde5cf08f9a6fe79b6342901f
955
py
Python
RSA_encryption_decryption.py
RohitGadhave/RSA-Encryption-Decryption
f02a3ae98628c1cd12a08239072ba3ccfbdea287
[ "MIT" ]
null
null
null
RSA_encryption_decryption.py
RohitGadhave/RSA-Encryption-Decryption
f02a3ae98628c1cd12a08239072ba3ccfbdea287
[ "MIT" ]
null
null
null
RSA_encryption_decryption.py
RohitGadhave/RSA-Encryption-Decryption
f02a3ae98628c1cd12a08239072ba3ccfbdea287
[ "MIT" ]
null
null
null
from Crypto.PublicKey import RSA from Crypto import Random from Crypto.Cipher import PKCS1_OAEP def generate_new_keys(key_size): random_generator = Random.new().read key = RSA.generate(key_size, random_generator) private, public = key, key.publickey() print("\n" + "public key : "+str(public) + "\n" + ...
30.806452
87
0.710995
132
955
4.962121
0.295455
0.054962
0.077863
0.067176
0.155725
0.091603
0
0
0
0
0
0.012315
0.149738
955
30
88
31.833333
0.794335
0
0
0
1
0
0.115304
0
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.428571
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
058ce792cb483beb2d005437c622b869bc59138d
12,652
py
Python
src/edeposit/amqp/harvester/autoparser/generator.py
edeposit/edeposit.amqp.harvester
38cb87ccdf6bf2f550a98460d0a329c4b9dc8e2e
[ "MIT" ]
null
null
null
src/edeposit/amqp/harvester/autoparser/generator.py
edeposit/edeposit.amqp.harvester
38cb87ccdf6bf2f550a98460d0a329c4b9dc8e2e
[ "MIT" ]
null
null
null
src/edeposit/amqp/harvester/autoparser/generator.py
edeposit/edeposit.amqp.harvester
38cb87ccdf6bf2f550a98460d0a329c4b9dc8e2e
[ "MIT" ]
null
null
null
#! /usr/bin/env python # -*- coding: utf-8 -*- # # Interpreter version: python 2.7 # """ This module contains number of template generators, which generates all the python code for the parser. """ # Imports ===================================================================== import inspect import utils import conf_re...
30.783455
79
0.549715
1,481
12,652
4.588116
0.1526
0.038411
0.01766
0.02649
0.508609
0.443709
0.378661
0.329801
0.299191
0.292421
0
0.004874
0.302719
12,652
410
80
30.858537
0.765359
0.418748
0
0.238636
1
0
0.177079
0.021723
0
0
0
0.002439
0.011364
1
0.056818
false
0
0.045455
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
552721098cb09c800e154e9bb1ac1dcc84af60ea
1,209
py
Python
practice_problems/stacks_queues/stack_of_plates.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/stacks_queues/stack_of_plates.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
practice_problems/stacks_queues/stack_of_plates.py
YazzyYaz/codinginterviews
b8115c43507d738bccd90366f2bc02867ba7f13f
[ "MIT" ]
null
null
null
class StackOfPlates(object): def __init__(self): self.stack = [] self.capacity = 10 def push(self, item): if self.stack and self.stack[-1].length() < 10: self.stack[-1].push(item) else: new_stack = Stack() new_stack.push(item) sel...
19.190476
55
0.596361
177
1,209
4.00565
0.237288
0.215797
0.056417
0.047955
0.177715
0.118477
0.118477
0.118477
0.118477
0.118477
0
0.046053
0.245658
1,209
62
56
19.5
0.73136
0
0
0.196078
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0
0.039216
0.254902
0.078431
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
5527e3e3d9100bda92ed81f112a7fa1cde53f09f
1,621
py
Python
zppy/templates/readTS.py
tangq/zppy
f86fbb41a71c25ef14ceb23c153311b7a3b4d735
[ "BSD-3-Clause" ]
2
2021-03-02T03:45:43.000Z
2022-02-28T01:39:59.000Z
zppy/templates/readTS.py
tangq/zppy
f86fbb41a71c25ef14ceb23c153311b7a3b4d735
[ "BSD-3-Clause" ]
172
2021-02-22T20:32:36.000Z
2022-03-28T23:29:36.000Z
zppy/templates/readTS.py
tangq/zppy
f86fbb41a71c25ef14ceb23c153311b7a3b4d735
[ "BSD-3-Clause" ]
6
2021-02-24T19:47:56.000Z
2022-03-01T21:34:54.000Z
import cdms2 import cdutil class TS(object): def __init__(self, filename): self.filename = filename self.f = cdms2.open(filename) def __del__(self): self.f.close() def globalAnnual(self, var): # Constants, from AMWG diagnostics Lv = 2.501e6 Lf = 3.337e...
23.838235
81
0.505244
164
1,621
4.945122
0.378049
0.295931
0.051788
0.064118
0.128237
0.128237
0.128237
0.128237
0
0
0
0.017822
0.376928
1,621
67
82
24.19403
0.785149
0.054904
0
0.097561
0
0
0.071382
0
0
0
0
0
0
1
0.073171
false
0
0.04878
0
0.170732
0.02439
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
552ad6e9408f409785c59b951c711f2738df3058
1,667
py
Python
flambe/utils/config.py
ethan-asapp/flambe
70257167058c7b82ee39f74167a6161bd264ad18
[ "MIT" ]
148
2019-08-29T21:19:03.000Z
2022-03-18T06:13:53.000Z
flambe/utils/config.py
cle-ros/flambe
0dc2f5b2b286694defe8abf450fe5be9ae12c097
[ "MIT" ]
108
2019-09-03T14:36:10.000Z
2020-05-13T15:53:14.000Z
flambe/utils/config.py
cle-ros/flambe
0dc2f5b2b286694defe8abf450fe5be9ae12c097
[ "MIT" ]
21
2019-09-08T14:09:45.000Z
2020-12-27T04:12:33.000Z
import os import re from typing import Dict import jinja2 def generate_config_from_template(template_path: str, config_path: str, remove_comments: bool = False, **template_kwargs: Dict[str, str]): """ Parame...
26.887097
69
0.585483
189
1,667
5.058201
0.407407
0.062762
0.037657
0.054393
0.033473
0
0
0
0
0
0
0.002595
0.306539
1,667
61
70
27.327869
0.824394
0.436113
0
0
1
0
0.011084
0
0
0
0
0
0
1
0.052632
false
0
0.210526
0
0.263158
0
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
55301ad0d37b0e132436e2351ff22630237fe18b
3,954
py
Python
development/tailsitter_sim/tailsitter_sim/sim.py
heidtn/open_tailsitter
753193a1d5091078ed101151e177d3de6c448ecf
[ "MIT" ]
null
null
null
development/tailsitter_sim/tailsitter_sim/sim.py
heidtn/open_tailsitter
753193a1d5091078ed101151e177d3de6c448ecf
[ "MIT" ]
null
null
null
development/tailsitter_sim/tailsitter_sim/sim.py
heidtn/open_tailsitter
753193a1d5091078ed101151e177d3de6c448ecf
[ "MIT" ]
null
null
null
import numpy as np from collections import namedtuple TailsitterConfig = namedtuple('TailsitterConfig', ['fmin', 'fmax', 'dmin', 'dmax', 'm', 'Jxx', 'Jyy', 'Jzz', 'p...
37.301887
112
0.516692
661
3,954
2.928896
0.217852
0.022727
0.023244
0.018595
0.177686
0.117769
0.08781
0.07438
0.06405
0.06405
0
0.031728
0.322458
3,954
105
113
37.657143
0.690929
0.070561
0
0.115942
0
0
0.029281
0
0
0
0
0
0
0
null
null
0.014493
0.028986
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
55306a34a81a43268716281d30749f33d6b31ef2
4,676
py
Python
project/users/views.py
abadojack/StackOverflow-lite
ce709190428097e2b7356c1407276829d5c68402
[ "MIT" ]
2
2019-01-30T18:48:14.000Z
2020-05-14T08:17:55.000Z
project/users/views.py
abadojack/StackOverflow-lite
ce709190428097e2b7356c1407276829d5c68402
[ "MIT" ]
5
2018-08-24T05:10:55.000Z
2018-08-31T00:59:09.000Z
project/users/views.py
abadojack/StackOverflow-lite
ce709190428097e2b7356c1407276829d5c68402
[ "MIT" ]
2
2019-01-07T17:23:02.000Z
2019-01-30T18:48:17.000Z
import json import re import uuid from datetime import datetime, timedelta import jwt import psycopg2 from flask import jsonify, request from validate_email import validate_email from werkzeug.security import check_password_hash from project.config import Config from project.database import conn from project.models....
31.594595
97
0.60479
551
4,676
5.08167
0.261343
0.065
0.105
0.035714
0.367143
0.286071
0.221786
0.221786
0.143214
0.080714
0
0.015991
0.251069
4,676
147
98
31.809524
0.783552
0.041488
0
0.287037
0
0.009259
0.197876
0.015701
0
0
0
0
0
1
0.074074
false
0.092593
0.12037
0
0.37037
0.064815
0
0
0
null
0
0
0
0
0
0
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
55375c4ea8c73ff1ebbc5957ef16f76d4ac750ea
301
py
Python
session/api/v1/serializers.py
anuragregmi/session-analytics
896dd4f1ca0f8b6bcd580af8dca76575cf38b53e
[ "MIT" ]
null
null
null
session/api/v1/serializers.py
anuragregmi/session-analytics
896dd4f1ca0f8b6bcd580af8dca76575cf38b53e
[ "MIT" ]
null
null
null
session/api/v1/serializers.py
anuragregmi/session-analytics
896dd4f1ca0f8b6bcd580af8dca76575cf38b53e
[ "MIT" ]
null
null
null
from rest_framework import serializers from session.models import Session class SessionSerializer(serializers.ModelSerializer): class Meta: model = Session fields = ('session_id', 'device_id', 'session_name', 'recorded_on', 'duration_in_seconds', 'is_active')
27.363636
68
0.697674
32
301
6.3125
0.71875
0
0
0
0
0
0
0
0
0
0
0
0.212625
301
10
69
30.1
0.852321
0
0
0
0
0
0.232558
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5537b18034a931923a4ea5daab3fce6b29af9399
807
py
Python
constance/backends/database/migrations/0003_auto_20200728_0932.py
Anders-Linden/django-constance
41762b3dd6a9194c4d062261246d95ddb3677d7e
[ "BSD-3-Clause" ]
null
null
null
constance/backends/database/migrations/0003_auto_20200728_0932.py
Anders-Linden/django-constance
41762b3dd6a9194c4d062261246d95ddb3677d7e
[ "BSD-3-Clause" ]
null
null
null
constance/backends/database/migrations/0003_auto_20200728_0932.py
Anders-Linden/django-constance
41762b3dd6a9194c4d062261246d95ddb3677d7e
[ "BSD-3-Clause" ]
null
null
null
# Generated by Django 3.0.8 on 2020-07-28 14:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('sites', '0002_alter_domain_unique'), ('database', '0002_auto_20190129_2304'), ] operations = [ migr...
26.9
109
0.591078
82
807
5.682927
0.621951
0.051502
0.060086
0.094421
0
0
0
0
0
0
0
0.067241
0.281289
807
29
110
27.827586
0.736207
0.055762
0
0.217391
1
0
0.146053
0.061842
0
0
0
0
0
1
0
false
0
0.086957
0
0.217391
0
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
553aaaf17809d37a73158867cbdf7ef9bc93c7a1
2,055
py
Python
tornado-lab/main4.py
zhyq0826/test-lab
b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a
[ "MIT" ]
null
null
null
tornado-lab/main4.py
zhyq0826/test-lab
b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a
[ "MIT" ]
null
null
null
tornado-lab/main4.py
zhyq0826/test-lab
b5b4d1372f2201dc5299bbe8983af18e8d4e1a1a
[ "MIT" ]
null
null
null
#-*- coding:utf-8 -*- from tornado.httpclient import HTTPClient, AsyncHTTPClient import tornado.ioloop from tornado.concurrent import Future from tornado import gen import time from concurrent.futures import ThreadPoolExecutor executor = ThreadPoolExecutor(max_workers=4) #同步方法调用 def synchronous_fetch(url, callback): ...
27.77027
97
0.750852
248
2,055
5.967742
0.258065
0.043243
0.043243
0.048649
0.17973
0.109459
0.109459
0.109459
0.109459
0.109459
0
0.001715
0.148905
2,055
73
98
28.150685
0.844483
0.026764
0
0.25
0
0
0.066667
0.010526
0
0
0
0
0
1
0.232143
false
0
0.107143
0
0.357143
0.160714
0
0
0
null
0
0
0
0
0
0
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
554085e72bfaa575f0c9da5555b29a3580295d6d
147
py
Python
test/integration/expected_out_concat/multiple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
487
2019-06-10T17:44:56.000Z
2022-03-26T01:28:19.000Z
test/integration/expected_out_concat/multiple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
118
2019-07-03T12:26:39.000Z
2022-03-06T22:40:17.000Z
test/integration/expected_out_concat/multiple.py
Inveracity/flynt
b975b6f61893d5db1114d68fbb5d212c4e11aeb8
[ "MIT" ]
25
2019-07-10T08:39:58.000Z
2022-03-03T14:44:15.000Z
""" This module will be transformed... into something far greater. """ a = "Hello" msg = f"{a} World" msg2 = f"Finally, {a} World" print(msg)
11.307692
62
0.62585
22
147
4.181818
0.772727
0.130435
0
0
0
0
0
0
0
0
0
0.008475
0.197279
147
12
63
12.25
0.771186
0.421769
0
0
0
0
0.415584
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5548c29835d95cbea5370c0b957e319480b99bf0
2,745
py
Python
core/tasks/schedule.py
nishimunea/nt-d
e034d9db4c3fae697bfa15d4ba3d1475f5dd7e8a
[ "Apache-2.0" ]
2
2022-01-21T13:09:03.000Z
2022-03-23T00:33:02.000Z
core/tasks/schedule.py
nishimunea/NT-D
e034d9db4c3fae697bfa15d4ba3d1475f5dd7e8a
[ "Apache-2.0" ]
null
null
null
core/tasks/schedule.py
nishimunea/NT-D
e034d9db4c3fae697bfa15d4ba3d1475f5dd7e8a
[ "Apache-2.0" ]
null
null
null
from datetime import datetime from datetime import timedelta import pytz from dateutil.rrule import rrulestr from flask import current_app as app from peewee import fn from models import ScanTable from models import db from tasks.pending import PendingTaskHandler class TaskScheduler: def __init__(self): ...
42.890625
110
0.61275
327
2,745
5.012232
0.314985
0.04698
0.031727
0.036608
0.326419
0.304454
0.220866
0.183038
0.123246
0.071995
0
0.000496
0.265209
2,745
63
111
43.571429
0.812097
0.087796
0
0.12766
0
0
0.119248
0
0
0
0
0.015873
0
1
0.106383
false
0
0.191489
0
0.319149
0
0
0
0
null
0
0
0
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
554a8036fc3cf504c159d8c12f92f9400fce1859
624
py
Python
tv/migrations/0007_auto_20190618_1339.py
ronnyml/django-movies
2e6d4f43d14d625e19640f1e1b1d4171cfc7b377
[ "Apache-2.0" ]
2
2015-09-30T17:08:14.000Z
2019-01-06T14:35:26.000Z
tv/migrations/0007_auto_20190618_1339.py
ronnyml/django-movies
2e6d4f43d14d625e19640f1e1b1d4171cfc7b377
[ "Apache-2.0" ]
11
2020-02-12T00:44:07.000Z
2022-02-10T07:32:30.000Z
tv/migrations/0007_auto_20190618_1339.py
ronnyml/django-react-tv
2e6d4f43d14d625e19640f1e1b1d4171cfc7b377
[ "Apache-2.0" ]
4
2016-03-13T08:49:01.000Z
2019-01-06T14:35:32.000Z
# Generated by Django 2.2.2 on 2019-06-18 18:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tv', '0006_auto_20190618_1300'), ] operations = [ migrations.AlterField( model_name='movietvshow', name='name_es', ...
26
101
0.610577
65
624
5.723077
0.661538
0.010753
0.134409
0.155914
0.236559
0.236559
0
0
0
0
0
0.075388
0.277244
624
23
102
27.130435
0.749446
0.072115
0
0.352941
1
0
0.147314
0.039861
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
55520da9b6bee4c1ec612ae12eed8fd7009f999b
1,031
py
Python
TelDow/telDov.py
Nickas47/python_savka
31101bba6a7e75bc398136d01e5e0cb9d68df097
[ "Apache-2.0" ]
null
null
null
TelDow/telDov.py
Nickas47/python_savka
31101bba6a7e75bc398136d01e5e0cb9d68df097
[ "Apache-2.0" ]
null
null
null
TelDow/telDov.py
Nickas47/python_savka
31101bba6a7e75bc398136d01e5e0cb9d68df097
[ "Apache-2.0" ]
null
null
null
class Person: def __init__(self): self.name = None self.age = None def input(self): self.name = input("Введіть ім'я:") self.age = input("Введіть вік:") def print(self): print(self.name, self.age) class Friend(Person): def __init__(self):...
22.911111
51
0.498545
121
1,031
4.041322
0.363636
0.06544
0.067485
0.06953
0
0
0
0
0
0
0
0.004623
0.370514
1,031
44
52
23.431818
0.748844
0
0
0.142857
0
0
0.126091
0
0
0
0
0
0
1
0.228571
false
0
0
0.028571
0.342857
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
55574f67497b49764e2bfba906dab9db4c5661c5
371
py
Python
ch05/findfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
5
2015-04-03T10:15:21.000Z
2020-06-09T08:21:39.000Z
ch05/findfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
null
null
null
ch05/findfiles.py
yummybian/python-practice-book
1efbea8a7f42396b978153683e1e649e3e74dd16
[ "MIT" ]
null
null
null
import sys import os def find_files(path): for root, dirs, files in os.walk(path): for name in files: yield os.path.join(root, name) def main(): if len(sys.argv) != 2: print 'Usage: python {0} dir'.format(sys.argv[0]) sys.exit(1) for f in find_files(sys.argv[1]): ...
18.55
57
0.574124
59
371
3.440678
0.491525
0.103448
0
0
0
0
0
0
0
0
0
0.018939
0.28841
371
19
58
19.526316
0.75
0
0
0
0
0
0.078167
0
0
0
0
0
0
0
null
null
0
0.142857
null
null
0.142857
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
5557ff2eb2bddbd687150366673e401b2aa92848
236
py
Python
Session-2/Loops/S2L7.py
saianuragpeddu/python-assignemts
a6bb192f2c0ef8ea86531c1a98f1b76150fa474b
[ "MIT" ]
null
null
null
Session-2/Loops/S2L7.py
saianuragpeddu/python-assignemts
a6bb192f2c0ef8ea86531c1a98f1b76150fa474b
[ "MIT" ]
null
null
null
Session-2/Loops/S2L7.py
saianuragpeddu/python-assignemts
a6bb192f2c0ef8ea86531c1a98f1b76150fa474b
[ "MIT" ]
1
2019-07-06T02:37:58.000Z
2019-07-06T02:37:58.000Z
def skipVowels(word): novowels = '' for ch in word: if ch.lower() in 'aeiou': continue novowels += ch novowels+=ch return novowels print(skipVowels('hello')) print(skipVowels('awaited'))
18.153846
34
0.576271
26
236
5.230769
0.576923
0.147059
0
0
0
0
0
0
0
0
0
0
0.300847
236
12
35
19.666667
0.824242
0
0
0.2
0
0
0.07234
0
0
0
0
0
0
1
0.1
false
0
0
0
0.2
0.2
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
555844bfcf47a9e36817d6bb7590966a508425f3
790
py
Python
common/utils/format_time.py
BruceWW/flask-basic
3252f47e6b3fca170b57819f8fdbdeb0f868654e
[ "MIT" ]
1
2019-09-28T17:03:39.000Z
2019-09-28T17:03:39.000Z
common/utils/format_time.py
BruceWW/flask-basic
3252f47e6b3fca170b57819f8fdbdeb0f868654e
[ "MIT" ]
null
null
null
common/utils/format_time.py
BruceWW/flask-basic
3252f47e6b3fca170b57819f8fdbdeb0f868654e
[ "MIT" ]
1
2019-11-19T02:39:40.000Z
2019-11-19T02:39:40.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Time : 2019/9/13 14:00 # @Author : Lin Luo # @Site : # @File : format_time # @Software: PyCharm from time import time, strftime, strptime, localtime, mktime def stamp_to_date(stamp=time(), ymd=True): """ 将时间戳转换为日期格式 :param stamp: :param ymd: ...
21.944444
62
0.567089
104
790
4.221154
0.471154
0.018223
0.027335
0.072893
0.214123
0.143508
0.123007
0.123007
0
0
0
0.020408
0.255696
790
35
63
22.571429
0.72619
0.281013
0
0.153846
0
0
0.097847
0
0
0
0
0
0
1
0.153846
false
0
0.076923
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
555a82e2440ff10c596b136e54e9f968fb20b850
1,106
py
Python
prerecursion.py
deborah2139-cmis/deborah2139-cmis-cs2
b5114a747552274bfbe978eccdb7f79de97df538
[ "CC0-1.0" ]
null
null
null
prerecursion.py
deborah2139-cmis/deborah2139-cmis-cs2
b5114a747552274bfbe978eccdb7f79de97df538
[ "CC0-1.0" ]
null
null
null
prerecursion.py
deborah2139-cmis/deborah2139-cmis-cs2
b5114a747552274bfbe978eccdb7f79de97df538
[ "CC0-1.0" ]
null
null
null
import numpy def countup(n): if n >= 11: print "Blastoff!" else: print n countup(n+1) def countdown(n): if n <= 0: print "Blastoff!" else: print n countdown(n-1) def countup_from_to(start, stop): if start >= stop: print "Blastoff!" else: print start countup(start+1) def countdown_from_to(sta...
14.363636
40
0.61302
175
1,106
3.811429
0.234286
0.035982
0.035982
0.131934
0.341829
0.272864
0.230885
0.158921
0.158921
0.158921
0
0.025611
0.223327
1,106
76
41
14.552632
0.750873
0.05877
0
0.366667
0
0
0.081081
0
0
0
0
0
0
0
null
null
0
0.016667
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
555c13fac48a50203c5fcff1f81a678d07244293
1,791
py
Python
lisdf/parsing/parse_sdf.py
williamshen-nz/lisdf
3edbc9270c4f8b6a650d424219949bcdcc391537
[ "MIT" ]
null
null
null
lisdf/parsing/parse_sdf.py
williamshen-nz/lisdf
3edbc9270c4f8b6a650d424219949bcdcc391537
[ "MIT" ]
null
null
null
lisdf/parsing/parse_sdf.py
williamshen-nz/lisdf
3edbc9270c4f8b6a650d424219949bcdcc391537
[ "MIT" ]
null
null
null
import os from lisdf.parsing.sdf import SDF, Collision, Link, Mesh, Visual def _handle_component(component, model_path: str) -> None: """ Handle component and inject URI into link component geometry """ if isinstance(component, Link): for link_component in component.aggregate_order: ...
35.117647
78
0.653266
235
1,791
4.748936
0.331915
0.048387
0.075269
0.051971
0.148746
0.089606
0
0
0
0
0
0
0.265215
1,791
50
79
35.82
0.848024
0.169738
0
0.064516
0
0
0.022084
0
0
0
0
0.02
0
1
0.096774
false
0
0.064516
0
0.225806
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
555c1ec94eae9788b82d2f16ee860d52a6e324b4
8,397
py
Python
pdb2pqr-1.9.0/conf_avg/Ensemble_phimap.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
pdb2pqr-1.9.0/conf_avg/Ensemble_phimap.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
pdb2pqr-1.9.0/conf_avg/Ensemble_phimap.py
Acpharis/protein_prep
8cc2f0caedefd5a3fdaa764ed013c2660a4df1b8
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # # This is a module in development for making conformationally averaged PBE maps # debug=False import sys, os print __file__ import os try: file_name=__file__ if file_name[:2]=='./': scriptpath=os.getcwd() else: scriptpath=os.path.join(os.getcwd(),os.path.split(file_n...
31.686792
163
0.625223
942
8,397
5.492569
0.31104
0.013529
0.020101
0.006185
0.063201
0.017008
0.01237
0
0
0
0
0.013542
0.261284
8,397
264
164
31.806818
0.820571
0.108491
0
0.0875
0
0
0.110218
0
0
0
0
0
0
0
null
null
0
0.1375
null
null
0.05625
0
0
0
null
0
0
0
0
0
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
555d277715bfac7d5365f6969b6db1f2e09a6afa
1,101
py
Python
sample-datapipeline-app/blobsender.py
sebastus/agogosml-instance
590de51196bb93fc70e030a3d1848456fa8da5ff
[ "MIT" ]
null
null
null
sample-datapipeline-app/blobsender.py
sebastus/agogosml-instance
590de51196bb93fc70e030a3d1848456fa8da5ff
[ "MIT" ]
4
2018-10-10T20:39:59.000Z
2018-10-12T00:06:48.000Z
sample-datapipeline-app/blobsender.py
sebastus/agogosml-instance
590de51196bb93fc70e030a3d1848456fa8da5ff
[ "MIT" ]
2
2018-10-11T04:20:38.000Z
2018-10-11T15:44:41.000Z
""" Helper to upload data into blob storage """ import os import logging import uuid import dotenv from azure.storage.blob import BlockBlobService from azure.storage.blob import ContentSettings def uploadblob(content): """ Uploads content string into blob storage """ storage_account = os...
30.583333
97
0.714805
136
1,101
5.522059
0.455882
0.079893
0.055925
0.083888
0.069241
0
0
0
0
0
0
0.001116
0.186194
1,101
35
98
31.457143
0.837054
0.159855
0
0
0
0
0.180778
0.077803
0
0
0
0
0
1
0.052632
false
0
0.315789
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
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
555fe0aa29797c5451fa147e0c52e40ef0ff7fbf
4,828
py
Python
mTOP2016_dataPreprocessingFeautreRepresentation_Old.py
pykao/mTOP2016
71e65a0de812160968195be51ee15b5fbdff904d
[ "MIT" ]
2
2019-03-20T14:47:08.000Z
2021-01-11T15:50:04.000Z
mTOP2016_dataPreprocessingFeautreRepresentation_Old.py
pykao/mTOP2016
71e65a0de812160968195be51ee15b5fbdff904d
[ "MIT" ]
null
null
null
mTOP2016_dataPreprocessingFeautreRepresentation_Old.py
pykao/mTOP2016
71e65a0de812160968195be51ee15b5fbdff904d
[ "MIT" ]
1
2018-10-12T11:46:38.000Z
2018-10-12T11:46:38.000Z
# -*- coding: utf-8 -*- """ Created on Mon Aug 1 14:44:28 2016 @author: poyu """ import os import nibabel as nib import numpy as np #def load_dataset(): def normalized_3d(inputs): inputs=np.copy(inputs) x_dim, y_dim, z_dim = inputs.shape number_non_zero = np.float32(np.count_nonzero(inputs)) sum_inp...
38.624
168
0.699047
873
4,828
3.572738
0.140893
0.04168
0.026932
0.019237
0.556589
0.553382
0.400449
0.400449
0.400449
0.377365
0
0.063571
0.130075
4,828
124
169
38.935484
0.679048
0.076843
0
0.151899
0
0
0.036919
0.014357
0
0
0
0
0
0
null
null
0
0.037975
null
null
0.025316
0
0
0
null
0
0
0
0
0
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
556118a65e77c6fd4fa12d92e8d09a5aa20fd7b7
2,370
py
Python
database_structures_and_functions.py
HehexOne/MapWay
714889ca97d4199a4cb9f66403fac5c45d791297
[ "MIT" ]
1
2021-10-18T15:46:27.000Z
2021-10-18T15:46:27.000Z
database_structures_and_functions.py
HehexOne/MapWay
714889ca97d4199a4cb9f66403fac5c45d791297
[ "MIT" ]
null
null
null
database_structures_and_functions.py
HehexOne/MapWay
714889ca97d4199a4cb9f66403fac5c45d791297
[ "MIT" ]
null
null
null
from main import connect from hashlib import sha256 def insert_query_get_id(query): connection = connect(host="std-mysql", username="std_1450_mw", password="11223344") cursor = connection.cursor() cursor.execute("USE std_1450_mw;") cursor.execute(query) connection.commit() cursor.execute("SELE...
36.461538
115
0.680591
309
2,370
5.02589
0.236246
0.061816
0.034771
0.046362
0.563426
0.536381
0.504185
0.504185
0.504185
0.504185
0
0.038502
0.18903
2,370
64
116
37.03125
0.769511
0.016034
0
0.519231
0
0.019231
0.240343
0.066524
0
0
0
0
0
1
0.096154
false
0.192308
0.038462
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
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
5571210b2a84b7a04dd177163aaffdbf772fefcb
386
py
Python
folk_rnn_site/folk_rnn_site/asgi.py
boblsturm/folk-rnn-webapp
7a304fae2dc27001e1cd04494160aa50cd631379
[ "MIT" ]
1
2018-05-22T03:55:25.000Z
2018-05-22T03:55:25.000Z
folk_rnn_site/folk_rnn_site/asgi.py
boblsturm/folk-rnn-webapp
7a304fae2dc27001e1cd04494160aa50cd631379
[ "MIT" ]
94
2018-01-15T10:23:20.000Z
2019-08-14T12:09:45.000Z
folk_rnn_site/folk_rnn_site/asgi.py
boblsturm/folk-rnn-webapp
7a304fae2dc27001e1cd04494160aa50cd631379
[ "MIT" ]
4
2018-02-02T11:20:06.000Z
2021-06-05T12:00:48.000Z
""" ASGI entrypoint. Configures Django and then runs the application defined in the ASGI_APPLICATION setting. As per https://channels.readthedocs.io/en/latest/deploying.html """ import os import django from channels.routing import get_default_application os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'folk_rnn_site....
27.571429
73
0.821244
52
386
5.923077
0.692308
0.064935
0.136364
0
0
0
0
0
0
0
0
0
0.090674
386
13
74
29.692308
0.877493
0.437824
0
0
0
0
0.210526
0.210526
0
0
0
0
0
1
0
false
0
0.5
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
5578f5d850213de3d153e1d60f8b3f856e16a32a
259
py
Python
src/models/base_model.py
Lukasz-Cesarski/mnist_robust
f40791dc834e3d82855808b58a8f958b228180b5
[ "MIT" ]
null
null
null
src/models/base_model.py
Lukasz-Cesarski/mnist_robust
f40791dc834e3d82855808b58a8f958b228180b5
[ "MIT" ]
null
null
null
src/models/base_model.py
Lukasz-Cesarski/mnist_robust
f40791dc834e3d82855808b58a8f958b228180b5
[ "MIT" ]
null
null
null
from abc import ABC, abstractmethod import base class BaseModel(ABC): @staticmethod @abstractmethod def name() -> str: raise NotImplementedError @classmethod def save_dir(cls): return base.get_model_save_dir(cls.name())
18.5
50
0.683398
30
259
5.766667
0.666667
0.080925
0.115607
0
0
0
0
0
0
0
0
0
0.235521
259
13
51
19.923077
0.873737
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
557e47281f14420441d720f1891393505f7b0dfc
7,624
py
Python
pysnmp-with-texts/CXMLPPP-IP-NCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
8
2019-05-09T17:04:00.000Z
2021-06-09T06:50:51.000Z
pysnmp-with-texts/CXMLPPP-IP-NCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
4
2019-05-31T16:42:59.000Z
2020-01-31T21:57:17.000Z
pysnmp-with-texts/CXMLPPP-IP-NCP-MIB.py
agustinhenze/mibs.snmplabs.com
1fc5c07860542b89212f4c8ab807057d9a9206c7
[ "Apache-2.0" ]
10
2019-04-30T05:51:36.000Z
2022-02-16T03:33:41.000Z
# # PySNMP MIB module CXMLPPP-IP-NCP-MIB (http://snmplabs.com/pysmi) # ASN.1 source file:///Users/davwang4/Dev/mibs.snmplabs.com/asn1/CXMLPPP-IP-NCP-MIB # Produced by pysmi-0.3.4 at Wed May 1 12:33:10 2019 # On host DAVWANG4-M-1475 platform Darwin version 18.5.0 by user davwang4 # Using Python version 3.7.3 (default, ...
152.48
629
0.785283
952
7,624
6.288866
0.215336
0.0461
0.080675
0.007349
0.570904
0.441624
0.429932
0.420244
0.381159
0.352096
0
0.044998
0.099292
7,624
49
630
155.591837
0.826853
0.043284
0
0
0
0.166667
0.431023
0.013178
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55807f63b38c9182be20b610b28be20514804644
2,117
py
Python
pyhacks/Logger.py
barakt11/pyhacks
b04d39af60bef8156b26b48a32b70f0c9379a5a5
[ "MIT" ]
null
null
null
pyhacks/Logger.py
barakt11/pyhacks
b04d39af60bef8156b26b48a32b70f0c9379a5a5
[ "MIT" ]
null
null
null
pyhacks/Logger.py
barakt11/pyhacks
b04d39af60bef8156b26b48a32b70f0c9379a5a5
[ "MIT" ]
null
null
null
import queue import threading from .constants import * def verifyKey(item, keyName): if type(keyName)!=str: raise Exception("Key type excpected to be str but got {}".format(type(keyName))) if keyName in item: return True else: raise Exception("Key {} doesn't exist in item: {}".format(keyName, item)) def veri...
27.141026
82
0.675012
301
2,117
4.687708
0.269103
0.042523
0.039688
0.056697
0.310418
0.310418
0.310418
0.310418
0.281361
0.281361
0
0.015169
0.159188
2,117
78
83
27.141026
0.777528
0
0
0.1875
0
0
0.132672
0
0
0
0
0
0
1
0.21875
false
0
0.046875
0
0.328125
0.0625
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
55812c7fedc170dbc1d0edb8894ed741fd977bd5
772
py
Python
jiuzhang/Nine Chapters/3 Binary Tree & Divide Conquer/py/BinaryTreeLevelOrderTraversal_iter.py
cc13ny/all-in
bc0b01e44e121ea68724da16f25f7e24386c53de
[ "MIT" ]
1
2015-12-16T04:01:03.000Z
2015-12-16T04:01:03.000Z
jiuzhang/Nine Chapters/3 Binary Tree & Divide Conquer/py/BinaryTreeLevelOrderTraversal_iter.py
cc13ny/all-in
bc0b01e44e121ea68724da16f25f7e24386c53de
[ "MIT" ]
1
2016-02-09T06:00:07.000Z
2016-02-09T07:20:13.000Z
jiuzhang/Nine Chapters/3 Binary Tree & Divide Conquer/py/BinaryTreeLevelOrderTraversal_iter.py
cc13ny/all-in
bc0b01e44e121ea68724da16f25f7e24386c53de
[ "MIT" ]
2
2019-06-27T09:07:26.000Z
2019-07-01T04:40:13.000Z
""" Definition of TreeNode: class TreeNode: def __init__(self, val): self.val = val self.left, self.right = None, None """ class Solution: """ @param root: The root of binary tree. @return: Level order in a list of lists of integers """ def levelOrder(self, root): # wr...
22.705882
55
0.459845
92
772
3.771739
0.467391
0.04611
0.040346
0
0
0
0
0
0
0
0
0
0.436529
772
33
56
23.393939
0.797701
0.318653
0
0
0
0
0
0
0
0
0
0.030303
0
1
0.058824
false
0
0
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
55855aec0ab7111b1b2d3da5da3193024bf71179
1,410
py
Python
src/audio.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
2
2017-05-02T10:40:43.000Z
2017-06-29T09:38:54.000Z
src/audio.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
src/audio.py
techlover10/StochasticSoundscape
6c86a3e5d671c657361ff8e1e78edc710af40c77
[ "MIT" ]
null
null
null
#!/usr/bin/python3 # # Copyright © 2017 jared <jared@jared-devstation> # from pydub import AudioSegment, scipy_effects, effects import os import settings, util # combine two audio samples with a crossfade def combine_samples(acc, file2, CROSSFADE_DUR=100): util.debug_print('combining ' + file2) sample2 = Audi...
38.108108
146
0.755319
201
1,410
5.069652
0.343284
0.070658
0.044161
0.052993
0.16683
0.149166
0.080471
0.080471
0
0
0
0.017284
0.138298
1,410
36
147
39.166667
0.820576
0.320567
0
0.117647
0
0
0.04666
0
0
0
0
0
0
1
0.176471
false
0.176471
0.176471
0
0.470588
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
55855c9e6349b6a0e285d5216b2f041db2f4b919
361
py
Python
pillarpointstewards/auth0_login/admin.py
natbat/pillarpointstewards
950e1a4771235d96e0ddd03e887daca3acaebfcc
[ "Apache-2.0" ]
null
null
null
pillarpointstewards/auth0_login/admin.py
natbat/pillarpointstewards
950e1a4771235d96e0ddd03e887daca3acaebfcc
[ "Apache-2.0" ]
25
2022-01-23T23:07:55.000Z
2022-03-31T21:33:43.000Z
pillarpointstewards/auth0_login/admin.py
natbat/pillarpointstewards
950e1a4771235d96e0ddd03e887daca3acaebfcc
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from .models import Auth0User, ActiveUserSignupLink admin.site.register(Auth0User) admin.site.register( ActiveUserSignupLink, readonly_fields=("secret", "signup_url", "users_created_with_this_link"), exclude=("created_users",), list_display=("secret", "is_active", "comm...
32.818182
84
0.767313
42
361
6.285714
0.619048
0.068182
0.128788
0.151515
0.181818
0
0
0
0
0
0
0.006192
0.105263
361
10
85
36.1
0.811146
0
0
0
0
0
0.296399
0.155125
0
0
0
0
0
1
0
true
0
0.222222
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
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
55891b96d5274d13465b61d7217cce4d87613642
10,189
py
Python
monsters.py
Self-Perfection/cosmos-quest-battle-simulator
769ff4c85ba3c1b61c123fdad782f7d8a49b2ae7
[ "MIT" ]
null
null
null
monsters.py
Self-Perfection/cosmos-quest-battle-simulator
769ff4c85ba3c1b61c123fdad782f7d8a49b2ae7
[ "MIT" ]
null
null
null
monsters.py
Self-Perfection/cosmos-quest-battle-simulator
769ff4c85ba3c1b61c123fdad782f7d8a49b2ae7
[ "MIT" ]
null
null
null
#!/usr/bin/python import copy WEAKNESSES = {'w': 'a', 'f': 'w', 'e': 'f', 'a': 'e'} # TODO: implement method vulnerable_to class Monster(object): # __slots__ usage slows down execution with cpython and does not affect pypy #__slots__ = ['element', 'rank', 'cost', 'power', 'hp'] # TODO: for readonly see ...
22.393407
120
0.594366
1,357
10,189
4.324245
0.259396
0.02454
0.006135
0.01636
0.186946
0.112134
0.112134
0.104294
0.064758
0.064758
0
0.07534
0.299146
10,189
454
121
22.442731
0.746394
0.086957
0
0.362069
0
0.008621
0.098033
0.002702
0
0
0
0.002203
0
1
0.043103
false
0
0.011494
0.014368
0.70977
0.020115
0
0
0
null
0
0
0
0
0
0
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
5589347e3c8f29f2c2353f03fd3708aa561c7e9b
605
py
Python
blueprints/python-modules/coloredlogs/coloredlogs.py
Inokinoki/craft
dd09fb3ba0714ed19d9ab15bdd402fecf9c64405
[ "BSD-2-Clause" ]
null
null
null
blueprints/python-modules/coloredlogs/coloredlogs.py
Inokinoki/craft
dd09fb3ba0714ed19d9ab15bdd402fecf9c64405
[ "BSD-2-Clause" ]
null
null
null
blueprints/python-modules/coloredlogs/coloredlogs.py
Inokinoki/craft
dd09fb3ba0714ed19d9ab15bdd402fecf9c64405
[ "BSD-2-Clause" ]
null
null
null
import info from Package.PipPackageBase import PipPackageBase class subinfo(info.infoclass): def setTargets(self): self.svnTargets["master"] = f"https://github.com/TheOneRing/python-coloredlogs.git|winansi" self.defaultTarget = "master" def setDependencies(self): self.runtimeDependen...
26.304348
99
0.699174
63
605
6.587302
0.619048
0.057831
0.120482
0
0
0
0
0
0
0
0
0.004057
0.185124
605
22
100
27.5
0.837728
0
0
0
0
0
0.20398
0
0
0
0
0
0
1
0.214286
false
0
0.142857
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
5589668563340340bf024f441f518f37f94a9293
717
py
Python
python/lucky_number.py
dabhitapan/Hacktoberfest2021-2
a0f21016e15ffc94d30126e34afce1f6c4784e18
[ "Apache-2.0" ]
null
null
null
python/lucky_number.py
dabhitapan/Hacktoberfest2021-2
a0f21016e15ffc94d30126e34afce1f6c4784e18
[ "Apache-2.0" ]
1
2021-10-17T14:44:25.000Z
2021-10-17T14:44:25.000Z
python/lucky_number.py
dabhitapan/Hacktoberfest2021-2
a0f21016e15ffc94d30126e34afce1f6c4784e18
[ "Apache-2.0" ]
4
2021-10-01T09:37:14.000Z
2021-10-31T09:12:49.000Z
# Python program to check for lucky number # Returns 1 if n is a lucky number # otherwise returns 0 def isLucky(n): # Function attribute will act # as static variable # just for readability, can be # removed and used n instead next_position = n if isLucky.counter > n: return 1 if n % isLucky.counter =...
19.378378
48
0.708508
109
717
4.614679
0.477064
0.143141
0.071571
0.055666
0
0
0
0
0
0
0
0.014414
0.225941
717
36
49
19.916667
0.891892
0.428173
0
0
0
0
0.095477
0
0
0
0
0
0
0
null
null
0
0
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
558d59b6acb85ea3bc8c3eec4dfedad290ca3b0a
11,166
py
Python
test_natsort/test_main.py
madphysicist/natsort
58dfec695e8732df03a6509070938385a82d7c4d
[ "MIT" ]
null
null
null
test_natsort/test_main.py
madphysicist/natsort
58dfec695e8732df03a6509070938385a82d7c4d
[ "MIT" ]
null
null
null
test_natsort/test_main.py
madphysicist/natsort
58dfec695e8732df03a6509070938385a82d7c4d
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """\ Test the natsort command-line tool functions. """ from __future__ import print_function, unicode_literals import pytest import re import sys from pytest import raises from compat.mock import patch, call from compat.hypothesis import ( assume, given, sampled_from, integers, ...
37.722973
117
0.664069
1,743
11,166
3.97074
0.114745
0.02832
0.026008
0.041179
0.757549
0.715937
0.683861
0.637047
0.610316
0.588065
0
0.048296
0.193355
11,166
295
118
37.850847
0.720107
0.063317
0
0.242268
0
0
0.080596
0.007493
0
0
0
0
0.247423
1
0.149485
false
0.010309
0.041237
0
0.195876
0.118557
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
5599de14a13f9df7cc7bdd66c156875941b9fb6b
30,425
py
Python
lma_part1.py
rusne/LMA-analysis
e7f5f98a27a46fab6faf2994a4021fdb58dc60eb
[ "MIT" ]
1
2020-06-15T09:13:13.000Z
2020-06-15T09:13:13.000Z
lma_part1.py
rusne/LMA-analysis
e7f5f98a27a46fab6faf2994a4021fdb58dc60eb
[ "MIT" ]
null
null
null
lma_part1.py
rusne/LMA-analysis
e7f5f98a27a46fab6faf2994a4021fdb58dc60eb
[ "MIT" ]
1
2020-06-15T09:13:15.000Z
2020-06-15T09:13:15.000Z
# -*- coding: utf-8 -*- """ Created on Wed Aug 22 09:17:31 2018 @author: REPAiR TU Delft Team :) """ # For any questions; you can reach at michelle.steenmeijer or rusne.sileryte # @ gmail.com import os #use to create new folders and change in between...
55.520073
256
0.769039
3,782
30,425
4.970915
0.142517
0.048085
0.053936
0.052553
0.412128
0.367181
0.324043
0.266277
0.227447
0.197766
0
0.003329
0.11152
30,425
547
257
55.621572
0.692143
0.47198
0
0.084071
0
0
0.319526
0.031434
0
0
0
0
0
0
null
null
0
0.017699
null
null
0.061947
0
0
0
null
0
0
0
0
0
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
559ccab6556f087fe31a5f0e81145231950c8997
520
py
Python
jpp_boosted_django/jpp_boosted/models/migrations/0015_brand_category.py
QualmandDriven/jpp_boosted
895e2e85a7b0dd2fcfc6f2352fc318f2555e16df
[ "MIT" ]
1
2020-07-28T19:36:51.000Z
2020-07-28T19:36:51.000Z
jpp_boosted_django/jpp_boosted/models/migrations/0015_brand_category.py
QualmandDriven/jpp_boosted
895e2e85a7b0dd2fcfc6f2352fc318f2555e16df
[ "MIT" ]
11
2020-06-05T22:37:24.000Z
2022-02-10T08:25:59.000Z
jpp_boosted_django/jpp_boosted/models/migrations/0015_brand_category.py
QualmandDriven/jpp_boosted
895e2e85a7b0dd2fcfc6f2352fc318f2555e16df
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-25 18:32 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('models', '0014_brandcategory'), ] operations = [ migrations.AddField( model_name='brand', ...
24.761905
122
0.638462
58
520
5.637931
0.655172
0.073395
0.085627
0.134557
0
0
0
0
0
0
0
0.05102
0.246154
520
20
123
26
0.783163
0.086538
0
0
1
0
0.120507
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
55a99e9ebf5d5d0b0502ab45673cf41a1f468a53
6,215
py
Python
EMAN2toFREALIGN.py
leschzinerlab/EMAN2
80527c3f12fb75c8cd85ea14efa31000a7539a42
[ "MIT" ]
3
2015-09-19T21:10:55.000Z
2022-03-24T12:53:45.000Z
EMAN2toFREALIGN.py
leschzinerlab/EMAN2
80527c3f12fb75c8cd85ea14efa31000a7539a42
[ "MIT" ]
null
null
null
EMAN2toFREALIGN.py
leschzinerlab/EMAN2
80527c3f12fb75c8cd85ea14efa31000a7539a42
[ "MIT" ]
1
2016-06-02T22:12:07.000Z
2016-06-02T22:12:07.000Z
#!/usr/bin/env python import optparse import os,sys #from optparse import OptionParser import glob import subprocess import linecache import struct import shutil def setupParserOptions(): parser = optparse.OptionParser() parser.set_usage("%prog -f <stack> -p <parameter> -c <ctf> -s") parser.add_option("-f",dest="s...
27.5
151
0.646018
923
6,215
4.307692
0.282774
0.015845
0.026408
0.006036
0.120473
0.047787
0.03672
0.020624
0.004024
0
0
0.028174
0.154787
6,215
225
152
27.622222
0.728726
0.110861
0
0.107784
0
0.011976
0.248591
0.011457
0
0
0
0
0
0
null
null
0
0.053892
null
null
0.101796
0
0
0
null
0
0
0
0
0
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
55ab5aacf649a628744b9857f719a1b5b7a39ff9
8,694
py
Python
voxel51/users/jobs.py
voxel51/api-py
ad32449451994ffc2627d52918f2b47762e50a2a
[ "BSD-4-Clause" ]
5
2019-04-30T23:31:55.000Z
2021-05-22T06:23:04.000Z
voxel51/users/jobs.py
voxel51/api-py
ad32449451994ffc2627d52918f2b47762e50a2a
[ "BSD-4-Clause" ]
35
2018-10-02T16:36:13.000Z
2020-04-08T16:15:15.000Z
voxel51/users/jobs.py
voxel51/api-py
ad32449451994ffc2627d52918f2b47762e50a2a
[ "BSD-4-Clause" ]
1
2021-08-08T21:52:49.000Z
2021-08-08T21:52:49.000Z
''' Job request creation and manipulation library for the Voxel51 Platform API. | Copyright 2017-2019, Voxel51, Inc. | `voxel51.com <https://voxel51.com/>`_ | ''' # pragma pylint: disable=redefined-builtin # pragma pylint: disable=unused-wildcard-import # pragma pylint: disable=wildcard-import from __future__ import a...
31.386282
79
0.63285
1,024
8,694
5.27832
0.183594
0.027752
0.025162
0.028492
0.402405
0.327105
0.287512
0.210731
0.170768
0.170768
0
0.00517
0.288015
8,694
276
80
31.5
0.868013
0.495629
0
0.134021
0
0
0.080583
0
0
0
0
0
0
1
0.134021
false
0.020619
0.082474
0
0.515464
0.010309
0
0
0
null
0
0
0
0
0
0
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
55aee6bf2c3f427be9c255566f4b832efac5b2f9
991
py
Python
src/yellowdog_client/object_store/model/__init__.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/object_store/model/__init__.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
src/yellowdog_client/object_store/model/__init__.py
yellowdog/yellowdog-sdk-python-public
da69a7d6e45c92933e34fefcaef8b5d98dcd6036
[ "Apache-2.0" ]
null
null
null
from .file_transfer_direction import FileTransferDirection from .transfer_properties import TransferProperties from .file_transfer_status import FileTransferStatus from .transfer_statistics import TransferStatistics from .file_transfer_exception import FileTransferException from .file_transfer_status import FileTransfe...
38.115385
76
0.847629
83
991
9.746988
0.313253
0.069221
0.138443
0.054388
0.123609
0.123609
0.123609
0
0
0
0
0
0.104945
991
25
77
39.64
0.912063
0
0
0.166667
0
0
0.234107
0.141271
0
0
0
0
0
1
0
false
0
0.458333
0
0.458333
0
0
0
0
null
0
0
0
0
0
0
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
55b8beadb767a38d88583d94505467b4d9d0d71b
755
py
Python
hard-gists/795180/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
21
2019-07-08T08:26:45.000Z
2022-01-24T23:53:25.000Z
hard-gists/795180/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
5
2019-06-15T14:47:47.000Z
2022-02-26T05:02:56.000Z
hard-gists/795180/snippet.py
jjhenkel/dockerizeme
eaa4fe5366f6b9adf74399eab01c712cacaeb279
[ "Apache-2.0" ]
17
2019-05-16T03:50:34.000Z
2021-01-14T14:35:12.000Z
from scrapy.spider import BaseSpider # Requires this patch: # https://github.com/joehillen/scrapy/commit/6301adcfe9933b91b3918a93387e669165a215c9 from scrapy.selector import PyQuerySelector class DmozSpiderPyQuery(BaseSpider): name = "pyquery" allowed_domains = ["dmoz.org"] start_urls = [ "http://w...
34.318182
85
0.655629
85
755
5.8
0.635294
0.042596
0.044625
0.056795
0.198783
0.198783
0.198783
0.198783
0
0
0
0.048986
0.215894
755
22
86
34.318182
0.783784
0.137748
0
0
0
0
0.24037
0
0
0
0
0
0
0
null
null
0
0.117647
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
e948e7a471083b61835817b2c00fdc439b2c98fa
9,931
py
Python
ssb/adt/lfs.py
cn-uofbasel/ssbdrv
1f7e6b11373ef6f73415f0e9c62f1ade29739251
[ "MIT" ]
59
2018-09-07T21:09:12.000Z
2022-03-16T09:13:50.000Z
ssb/adt/lfs.py
cn-uofbasel/ssbdrv
1f7e6b11373ef6f73415f0e9c62f1ade29739251
[ "MIT" ]
null
null
null
ssb/adt/lfs.py
cn-uofbasel/ssbdrv
1f7e6b11373ef6f73415f0e9c62f1ade29739251
[ "MIT" ]
1
2019-05-24T13:25:03.000Z
2019-05-24T13:25:03.000Z
#!/usr/bin/env python3 # ssb/adt/lfs.ps # logical file system for SSB import copy from datetime import datetime import os import sys import uuid import ssb.adt.tangle # --------------------------------------------------------------------------- # this is the UUID for the SSB filesystem namespace # (we picked a ran...
31.830128
83
0.484241
1,144
9,931
4.043706
0.212413
0.034587
0.016645
0.016213
0.291613
0.230437
0.214656
0.202551
0.178124
0.148725
0
0.007618
0.365522
9,931
311
84
31.932476
0.726551
0.142886
0
0.340206
0
0
0.074774
0.00493
0
0
0
0.022508
0
1
0.108247
false
0.005155
0.041237
0.025773
0.252577
0.005155
0
0
0
null
0
0
0
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
e94de745a8c805c22c8fe702ae8117eb1067fd7d
397
py
Python
pprs/port_config.py
huxh10/SGDX
ed93ab5636e9ccc2a15f87572562641604a3cc2b
[ "Apache-2.0" ]
2
2017-12-04T08:27:20.000Z
2018-12-21T19:20:21.000Z
pprs/port_config.py
huxh10/SGDX
ed93ab5636e9ccc2a15f87572562641604a3cc2b
[ "Apache-2.0" ]
null
null
null
pprs/port_config.py
huxh10/SGDX
ed93ab5636e9ccc2a15f87572562641604a3cc2b
[ "Apache-2.0" ]
null
null
null
ports_assignment = { "rs1_rs2" : 6004, "rs1_receive_bgp_messages" : 6000 , "rs1_send_mpc_output" : 6001 , "worker_port" : 7760, "rs2_receive_bgp_messages" : 6002, "rs2_send_mpc_output" : 6003, "rs1-preference-channel" : 6005, "rs2-preference-channel" : 6006} #process_assignement = {"rs1" : '192.168.102.2',"rs2" : '192...
79.4
258
0.70529
54
397
4.87037
0.555556
0.076046
0.136882
0
0
0
0
0
0
0
0
0.181303
0.110831
397
4
259
99.25
0.563739
0.178841
0
0
0
0
0.530864
0.283951
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
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
e965be82cb3fee4e39f6c210e5c2fa25f3bb121c
7,633
py
Python
bin/crawler.py
g0v/TWControlYuanData
7b9a1022d36c2bca1b036db5ae89226f36a211be
[ "MIT" ]
2
2019-01-05T04:39:59.000Z
2021-02-01T06:07:18.000Z
bin/crawler.py
g0v/TWControlYuanData
7b9a1022d36c2bca1b036db5ae89226f36a211be
[ "MIT" ]
null
null
null
bin/crawler.py
g0v/TWControlYuanData
7b9a1022d36c2bca1b036db5ae89226f36a211be
[ "MIT" ]
1
2015-03-17T11:36:22.000Z
2015-03-17T11:36:22.000Z
""" The MIT License Copyright (c) 2013 g0v Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distr...
31.282787
192
0.648107
970
7,633
5.046392
0.303093
0.044127
0.020838
0.007967
0.154648
0.140552
0.111747
0.102554
0.102554
0.067007
0
0.016341
0.222324
7,633
243
193
31.411523
0.808288
0.001965
0
0.176471
0
0.02139
0.110924
0.004125
0
0
0
0
0
0
null
null
0.042781
0.048128
null
null
0.02139
0
0
0
null
0
0
0
0
0
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
e97e1fb534ed567a797179212fbecb91ec49b25b
8,063
py
Python
primer_design/analysis.py
CCBG/primer_designer
d9e7359da20b33c920ab83e434d51ec2d1d65378
[ "MIT" ]
null
null
null
primer_design/analysis.py
CCBG/primer_designer
d9e7359da20b33c920ab83e434d51ec2d1d65378
[ "MIT" ]
null
null
null
primer_design/analysis.py
CCBG/primer_designer
d9e7359da20b33c920ab83e434d51ec2d1d65378
[ "MIT" ]
null
null
null
""" Various functions to evaluate the mappings of primers to get the best primer-pair. """ import re import pprint as pp import core import config if ( __name__ == '__main__'): sys.stderr.write( "This is a module and not meant to be run as a stand alone program\n" ) exit( 1 ) def pick_best_primers( primer...
32.776423
166
0.535161
887
8,063
4.696731
0.197294
0.06049
0.034566
0.036006
0.243159
0.236678
0.180269
0.156985
0.135862
0.135862
0
0.027838
0.367357
8,063
245
167
32.910204
0.788865
0.068585
0
0.229508
0
0.008197
0.102408
0
0
0
0
0
0
0
null
null
0
0.032787
null
null
0.098361
0
0
0
null
0
0
0
0
0
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
e9859785e0338e914eb31119dacfc61259501e7d
923
py
Python
wordDetector/src/wordDetector.py
nivibilla/EfficientHTR
29b7df216cf4d051c533a48715d696b351377d09
[ "MIT" ]
null
null
null
wordDetector/src/wordDetector.py
nivibilla/EfficientHTR
29b7df216cf4d051c533a48715d696b351377d09
[ "MIT" ]
null
null
null
wordDetector/src/wordDetector.py
nivibilla/EfficientHTR
29b7df216cf4d051c533a48715d696b351377d09
[ "MIT" ]
null
null
null
import argparse from typing import List import cv2 import matplotlib.pyplot as plt from path import Path from collections import namedtuple from typing import List import cv2 import numpy as np from .word_detector import prepare_img, detect_words def findWords(fn_img, kernel_size=25, sigma=11, theta=7, min_area=1...
27.969697
99
0.629469
145
923
3.903448
0.4
0.173145
0.070671
0.077739
0.321555
0.321555
0.305654
0.181979
0.15371
0.083039
0
0.020741
0.268689
923
33
100
27.969697
0.817778
0.04117
0
0.173913
0
0
0.00453
0
0
0
0
0
0
1
0.043478
false
0
0.434783
0
0.478261
0
0
0
0
null
0
0
0
0
0
0
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
e98c206f480570190f2df9dcf8d2a431b24fb3af
4,115
py
Python
mecanicapp1/aplicaciones/login/views.py
dsamador/Proyecto1.4
d103e2f21b748649d21e9d716e64eaed6a85289c
[ "MIT" ]
null
null
null
mecanicapp1/aplicaciones/login/views.py
dsamador/Proyecto1.4
d103e2f21b748649d21e9d716e64eaed6a85289c
[ "MIT" ]
7
2021-03-30T14:14:33.000Z
2022-03-12T00:44:47.000Z
mecanicapp1/aplicaciones/login/views.py
dsamador/Proyecto1.4
d103e2f21b748649d21e9d716e64eaed6a85289c
[ "MIT" ]
null
null
null
from django.contrib.auth import login, logout from django.contrib.auth.forms import AuthenticationForm from django.contrib.auth.views import LoginView from django.http import HttpResponseRedirect from django.shortcuts import redirect from django.urls import reverse_lazy from django.views.generic import FormView, Redire...
36.415929
141
0.686027
486
4,115
5.68107
0.269547
0.043463
0.040565
0.03803
0.458892
0.418327
0.351684
0.306411
0.276711
0.20862
0
0.002728
0.198299
4,115
113
142
36.415929
0.834192
0.031835
0
0.361446
0
0
0.146775
0.01676
0
0
0
0
0
1
0.13253
false
0.048193
0.192771
0.024096
0.662651
0
0
0
0
null
0
0
0
0
0
0
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
e98da51a37ec853ded958f39085d0f247f6b66ba
122
py
Python
openstack_dashboard/enabled/_100_mydashboard.py
savad/horizon_customization
a3c910ac8edda9692d57a6136a27cf0de13e8284
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/enabled/_100_mydashboard.py
savad/horizon_customization
a3c910ac8edda9692d57a6136a27cf0de13e8284
[ "Apache-2.0" ]
null
null
null
openstack_dashboard/enabled/_100_mydashboard.py
savad/horizon_customization
a3c910ac8edda9692d57a6136a27cf0de13e8284
[ "Apache-2.0" ]
null
null
null
DASHBOARD = 'mydashboard' DISABLED = False ADD_INSTALLED_APPS = [ 'openstack_dashboard.dashboards.mydashboard', ]
12.2
49
0.745902
11
122
8
0.818182
0
0
0
0
0
0
0
0
0
0
0
0.155738
122
10
50
12.2
0.854369
0
0
0
0
0
0.434426
0.344262
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e995209d566ea5891cf9a869633f7ea080692240
590
py
Python
streetteam/apps/mediahub/migrations/0003_add_related_name_to_model.py
alysivji/street-team
fe891d738b449956d56fe5e53535b98fa04d9a3a
[ "MIT" ]
2
2020-01-22T17:49:10.000Z
2021-06-18T19:35:23.000Z
streetteam/apps/mediahub/migrations/0003_add_related_name_to_model.py
alysivji/street-team
fe891d738b449956d56fe5e53535b98fa04d9a3a
[ "MIT" ]
41
2019-11-08T18:28:16.000Z
2022-03-12T00:28:51.000Z
streetteam/apps/mediahub/migrations/0003_add_related_name_to_model.py
alysivji/street-team
fe891d738b449956d56fe5e53535b98fa04d9a3a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-12-03 05:39 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [("mediahub", "0002_add_datetime_fields_to_model")] operations = [ migrations.AlterField( model_name="mediareso...
26.818182
70
0.623729
62
590
5.758065
0.693548
0.067227
0.078431
0.123249
0
0
0
0
0
0
0
0.044496
0.276271
590
21
71
28.095238
0.791569
0.076271
0
0
1
0
0.20442
0.116022
0
0
0
0
0
1
0
false
0
0.133333
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
e996a6b79efce0c9d7b62270eaa122ba220716d4
589
py
Python
examples/hoomd-signac-example/test_read.py
glotzerlab/garne
f9cb7bad391299e28feb4010eb77447fdc4512cb
[ "BSD-3-Clause" ]
4
2019-07-30T00:12:44.000Z
2020-03-03T19:58:34.000Z
examples/hoomd-signac-example/test_read.py
glotzerlab/garne
f9cb7bad391299e28feb4010eb77447fdc4512cb
[ "BSD-3-Clause" ]
62
2019-07-29T20:05:46.000Z
2022-02-16T15:22:01.000Z
examples/hoomd-signac-example/test_read.py
glotzerlab/garne
f9cb7bad391299e28feb4010eb77447fdc4512cb
[ "BSD-3-Clause" ]
2
2020-03-03T19:59:09.000Z
2021-03-22T14:48:56.000Z
# Copyright (c) 2020 The Regents of the University of Michigan # All rights reserved. # This software is licensed under the BSD 3-Clause License. import garnett import signac project = signac.get_project() for job in project: print(job) with job: with garnett.read('dump.gsd') as traj: p...
22.653846
67
0.628183
81
589
4.555556
0.493827
0.119241
0.162602
0.205962
0.395664
0.336043
0.336043
0.336043
0.243902
0.243902
0
0.011574
0.266553
589
25
68
23.56
0.842593
0.235993
0
0.285714
0
0
0.107623
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.357143
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
e9a7fca26ff19fd842c24bc41b88eb397a925ace
13,529
py
Python
simplicial_community_realdata.py
chimeraki/Simplicial_communties
bbae8a5f0df163aa3a3b8e0cd443252beec8b0df
[ "CC0-1.0" ]
4
2021-08-17T11:03:50.000Z
2021-12-13T10:26:13.000Z
simplicial_community_realdata.py
chimeraki/Simplicial_communties
bbae8a5f0df163aa3a3b8e0cd443252beec8b0df
[ "CC0-1.0" ]
null
null
null
simplicial_community_realdata.py
chimeraki/Simplicial_communties
bbae8a5f0df163aa3a3b8e0cd443252beec8b0df
[ "CC0-1.0" ]
2
2021-11-22T18:35:56.000Z
2021-12-09T20:17:29.000Z
#identifying clique communities of simplicial complexes of arbitrary dimension #python 3.6 #Sanjukta Krishnagopal s.krishnagopal@ucl.ac.uk #August 2021 from numpy import * from matplotlib.pyplot import * import scipy.linalg as linalg import scipy import random import matplotlib as plt import math import networkx as nx...
35.049223
409
0.590509
2,220
13,529
3.499099
0.191892
0.024717
0.027034
0.026262
0.184732
0.137745
0.099768
0.084578
0.069259
0.056643
0
0.038138
0.253825
13,529
385
410
35.14026
0.731352
0
0
0.038023
0
0.003802
0.046018
0.002608
0
0
0
0
0.011407
0
null
null
0
0.091255
null
null
0.045627
0
0
0
null
0
0
0
0
0
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
e9a839b70f7a814a80587cc7eb710f84cbe18181
4,026
py
Python
src/website_development_portfolio/settings.py
LokotamaTheMastermind/website-portfolio-django-project
932d509428d592ee573ff82821b9490c8da9600a
[ "Apache-2.0" ]
null
null
null
src/website_development_portfolio/settings.py
LokotamaTheMastermind/website-portfolio-django-project
932d509428d592ee573ff82821b9490c8da9600a
[ "Apache-2.0" ]
null
null
null
src/website_development_portfolio/settings.py
LokotamaTheMastermind/website-portfolio-django-project
932d509428d592ee573ff82821b9490c8da9600a
[ "Apache-2.0" ]
null
null
null
""" Project Settings """ import dj_database_url import os from pathlib import Path from decouple import config BASE_DIR = Path(__file__).resolve(strict=True).parent.parent DEBUG = False if DEBUG: SECRET_KEY = config('SECRET_KEY') elif not DEBUG: SECRET_KEY = config('SECRET_KEY') ALLOWED_HOSTS = [ '...
21.301587
91
0.665922
405
4,026
6.397531
0.362963
0.075261
0.045928
0.03242
0.20494
0.198379
0.051717
0.051717
0.051717
0.051717
0
0.006299
0.211376
4,026
188
92
21.414894
0.809764
0.027571
0
0.139344
0
0
0.437388
0.317798
0
0
0
0
0
1
0
false
0.065574
0.032787
0
0.032787
0
0
0
0
null
0
0
0
0
0
0
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
e9ab45960b7272bfe69daf593f7b08cf7520fd95
2,324
py
Python
src/app/problems/migrations/0001_initial.py
ntub/domjudge-tool-web
79ed3d1ae1613deaa3bb964880fb12fc060ff5a7
[ "MIT" ]
null
null
null
src/app/problems/migrations/0001_initial.py
ntub/domjudge-tool-web
79ed3d1ae1613deaa3bb964880fb12fc060ff5a7
[ "MIT" ]
null
null
null
src/app/problems/migrations/0001_initial.py
ntub/domjudge-tool-web
79ed3d1ae1613deaa3bb964880fb12fc060ff5a7
[ "MIT" ]
1
2021-08-03T07:49:25.000Z
2021-08-03T07:49:25.000Z
# Generated by Django 3.1.7 on 2021-02-26 06:36 import app.problems.models from django.conf import settings import django.core.validators from django.db import migrations, models import django.db.models.deletion import uuid class Migration(migrations.Migration): initial = True dependencies = [ migr...
45.568627
238
0.625645
249
2,324
5.634538
0.445783
0.117605
0.029936
0.047042
0.262295
0.222381
0.222381
0.222381
0.091233
0.091233
0
0.014108
0.237522
2,324
50
239
46.48
0.777652
0.019363
0
0.232558
1
0
0.138779
0
0
0
0
0
0
1
0
false
0
0.139535
0
0.232558
0
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
e9af43ee76fe06ecc72b4a7f43abb3bc55d550b0
827
py
Python
ditto/pinboard/migrations/0022_auto_20160428_1542.py
garrettc/django-ditto
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
[ "MIT" ]
54
2016-08-15T17:32:41.000Z
2022-02-27T03:32:05.000Z
ditto/pinboard/migrations/0022_auto_20160428_1542.py
garrettc/django-ditto
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
[ "MIT" ]
229
2015-07-23T12:50:47.000Z
2022-03-24T10:33:20.000Z
ditto/pinboard/migrations/0022_auto_20160428_1542.py
garrettc/django-ditto
fcf15beb8f9b4d61634efd4a88064df12ee16a6f
[ "MIT" ]
8
2015-09-10T17:10:35.000Z
2022-03-25T13:05:01.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-28 15:42 from __future__ import unicode_literals import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("pinboard", "0021_auto_20160428_1533"), ] operations = ...
25.84375
87
0.569528
84
827
5.440476
0.678571
0.043764
0.087527
0.126915
0.19256
0.19256
0.19256
0
0
0
0
0.060498
0.320435
827
31
88
26.677419
0.752669
0.081016
0
0.291667
1
0
0.120211
0.030383
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9c1881f2fd25407bf9ce4be91bbfeb2440ca015
323
py
Python
francoralite/apps/francoralite_api/tests/factories/institution.py
Francoralite/francoralite
f8c5eeffe6d395c7e4222a9f5a4a7a01841b503c
[ "BSD-3-Clause" ]
2
2021-07-26T08:29:26.000Z
2021-07-26T08:29:27.000Z
francoralite/apps/francoralite_api/tests/factories/institution.py
lluc/telemeta-integration
c2fb116471235674eae597abac84a7113e0f7c82
[ "BSD-3-Clause" ]
167
2018-10-20T14:34:46.000Z
2021-06-01T10:40:55.000Z
francoralite/apps/francoralite_api/tests/factories/institution.py
Francoralite/francoralite
f8c5eeffe6d395c7e4222a9f5a4a7a01841b503c
[ "BSD-3-Clause" ]
1
2021-06-06T12:16:49.000Z
2021-06-06T12:16:49.000Z
""" Institution factory to execute tests """ import factory from ...models.institution import Institution class InstitutionFactory(factory.django.DjangoModelFactory): """ Institution factory """ class Meta: model = Institution name = factory.Faker('word') notes = factory.Faker('word...
17
60
0.684211
31
323
7.129032
0.580645
0.162896
0.144796
0
0
0
0
0
0
0
0
0
0.20743
323
18
61
17.944444
0.863281
0.173375
0
0
0
0
0.032787
0
0
0
0
0
0
1
0
false
0
0.285714
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
0
0
0
1
0
0
1
e9cd9813175cdde0eeed4ec5d91df4c2368dc4e9
3,164
py
Python
homeassistant/components/simplepush/notify.py
orcema/core
ce144bf63145813c76fbbe4f9423341764695057
[ "Apache-2.0" ]
null
null
null
homeassistant/components/simplepush/notify.py
orcema/core
ce144bf63145813c76fbbe4f9423341764695057
[ "Apache-2.0" ]
null
null
null
homeassistant/components/simplepush/notify.py
orcema/core
ce144bf63145813c76fbbe4f9423341764695057
[ "Apache-2.0" ]
null
null
null
"""Simplepush notification service.""" from __future__ import annotations import logging from typing import Any from simplepush import BadRequest, UnknownError, send, send_encrypted import voluptuous as vol from homeassistant.components.notify import ( ATTR_TITLE, ATTR_TITLE_DEFAULT, PLATFORM_SCHEMA, ...
33.659574
81
0.674463
355
3,164
5.8
0.304225
0.049539
0.042254
0.023312
0.076736
0
0
0
0
0
0
0.002525
0.249052
3,164
93
82
34.021505
0.864057
0.110303
0
0
0
0
0.028769
0
0
0
0
0
0
1
0.029412
false
0.073529
0.205882
0
0.279412
0
0
0
0
null
0
0
0
0
0
0
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
e9d437a6ca124d89263d8bc67566a3cf597a8881
676
py
Python
cgi-bin/SaaS/service.py
itsayushthada/Cloud-Based-Assistant
f49983540603c859bdb8e123d95b43197e519698
[ "Apache-2.0" ]
1
2021-12-07T16:47:14.000Z
2021-12-07T16:47:14.000Z
cgi-bin/SaaS/service.py
itsayushthada/Cloud-Based-Assistant
f49983540603c859bdb8e123d95b43197e519698
[ "Apache-2.0" ]
null
null
null
cgi-bin/SaaS/service.py
itsayushthada/Cloud-Based-Assistant
f49983540603c859bdb8e123d95b43197e519698
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/python36 print("content-type: text/html") print("\n") import cgi import subprocess as sp print(""" <form method="post" action="softwares.py"> Enter the UserName: <input type="text" name="username"/><br> Select the Plattform:<br> <select name="software"> <option value="firefox">Mozilla Firefox</...
21.806452
62
0.668639
87
676
5.195402
0.574713
0.073009
0.075221
0
0
0
0
0
0
0
0
0.005146
0.137574
676
30
63
22.533333
0.770154
0.028107
0
0.083333
0
0
0.641768
0.204268
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
e9d74bbeae2dd082defe2948329b653304f36879
809
py
Python
ProjectEuler.Problem.033.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.033.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
ProjectEuler.Problem.033.py
jihunroh/ProjectEuler-Python
2fceaf5c3dd61038004b6128c5d9ee7a76142bca
[ "MIT" ]
null
null
null
from ProjectEulerCommons.Base import * from ProjectEulerCommons.Fractions import fraction Answer( prod([fraction(numerator, denominator) for numerator in range(10, 100) for denominator in range(numerator + 1, 100) if ( ( str(denominator)[1] == str(numerator)[0] and denominat...
28.892857
92
0.532756
76
809
5.671053
0.407895
0.12993
0.069606
0.092807
0.134571
0
0
0
0
0
0
0.068071
0.23733
809
27
93
29.962963
0.63047
0
0
0
0
0
0
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
e9d990769f01c419a7e08e40a204f503f02f9a18
2,780
py
Python
dags/odoodw/extract.py
kakkurij/odoodw-test
9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab
[ "MIT" ]
null
null
null
dags/odoodw/extract.py
kakkurij/odoodw-test
9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab
[ "MIT" ]
null
null
null
dags/odoodw/extract.py
kakkurij/odoodw-test
9f50b73b2d4107c2bfde9f4aebf51e7e70f251ab
[ "MIT" ]
null
null
null
from datetime import timedelta, datetime from airflow import DAG from airflow.operators.python import PythonOperator from airflow.providers.postgres.operators.postgres import PostgresOperator from airflow.providers.postgres.hooks.postgres import PostgresHook from airflow.utils.dates import days_ago from psycopg2.extr...
28.367347
79
0.664029
351
2,780
4.994302
0.344729
0.043925
0.031375
0.044495
0.093554
0
0
0
0
0
0
0.005236
0.244245
2,780
97
80
28.659794
0.829129
0.147122
0
0.052632
0
0
0.132597
0.019125
0
0
0
0.010309
0
1
0.017544
false
0
0.157895
0
0.175439
0.052632
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
e9da0b5c6c1163b94a3d374cee01e6d3fe0d5af4
5,048
py
Python
keepasshttp/protocol.py
mshafer-NI/python3-keepasshttp
d5b406816fa7700ae8c95537d5daac09dca7c661
[ "Unlicense" ]
1
2017-09-20T23:40:25.000Z
2017-09-20T23:40:25.000Z
keepasshttp/protocol.py
mshafer-NI/python3-keepasshttp
d5b406816fa7700ae8c95537d5daac09dca7c661
[ "Unlicense" ]
null
null
null
keepasshttp/protocol.py
mshafer-NI/python3-keepasshttp
d5b406816fa7700ae8c95537d5daac09dca7c661
[ "Unlicense" ]
2
2017-09-21T00:31:50.000Z
2019-09-20T17:56:29.000Z
"""Submodule of keepasshttp, implementing the KeePass protocol.""" import logging import requests from . import common from . import crypto from . import password from . import util logger = logging.getLogger(__name__) DEFAULT_KEEPASS_URL = 'http://localhost:19455/' def associate(requestor=None): """Send a ne...
34.813793
80
0.639461
668
5,048
4.702096
0.20509
0.040115
0.034384
0.022923
0.368354
0.301815
0.284304
0.254696
0.254696
0.24419
0
0.005449
0.236529
5,048
144
81
35.055556
0.809549
0.171355
0
0.287234
0
0
0.092597
0
0
0
0
0
0
1
0.117021
false
0.095745
0.06383
0
0.297872
0
0
0
0
null
0
0
0
0
0
0
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
e9df7cc1c6737c654fa89fc8f96fdc6f5284c84c
4,718
py
Python
projeto-tcc-daylight/core/views/usuarioview.py
vinicius-silvestre/portfolio
5288a889b8d1ae9479a00dfb0c050bdbe33ee608
[ "MIT" ]
null
null
null
projeto-tcc-daylight/core/views/usuarioview.py
vinicius-silvestre/portfolio
5288a889b8d1ae9479a00dfb0c050bdbe33ee608
[ "MIT" ]
null
null
null
projeto-tcc-daylight/core/views/usuarioview.py
vinicius-silvestre/portfolio
5288a889b8d1ae9479a00dfb0c050bdbe33ee608
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from django.contrib.auth.decorators import login_required, user_passes_test from django.contrib.auth import update_session_auth_hash from django.contrib.auth.forms import PasswordChangeForm from django.contrib import messages from django.shortcuts import render, redirect from core.views.login im...
40.672414
111
0.664265
527
4,718
5.772296
0.204934
0.031558
0.056213
0.06213
0.508547
0.480605
0.401709
0.387903
0.387903
0.387903
0
0.0019
0.218949
4,718
115
112
41.026087
0.823609
0.004451
0
0.563218
0
0
0.147778
0.029323
0
0
0
0
0
1
0.045977
false
0.103448
0.091954
0
0.275862
0
0
0
0
null
0
0
0
0
0
0
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
e9e06f692e08a1724d4375a3409b3aca1804bc97
5,100
py
Python
detect/util/convert_tiny_darknet_v1.py
jyyang42/sonic
50a5a53f4eec88604207975bcc914c3faa8d3a51
[ "MIT" ]
null
null
null
detect/util/convert_tiny_darknet_v1.py
jyyang42/sonic
50a5a53f4eec88604207975bcc914c3faa8d3a51
[ "MIT" ]
null
null
null
detect/util/convert_tiny_darknet_v1.py
jyyang42/sonic
50a5a53f4eec88604207975bcc914c3faa8d3a51
[ "MIT" ]
1
2018-12-22T05:14:20.000Z
2018-12-22T05:14:20.000Z
#! /usr/bin/env python import argparse import os import json import struct import numpy as np import tensorflow as tf from keras import backend as K from ..backbone.frontend import YOLO os.environ["CUDA_DEVICE_ORDER"] = "PCI_BUS_ID" os.environ["CUDA_VISIBLE_DEVICES"] = "0" argparser = argparse.ArgumentParser( de...
34.931507
111
0.60902
660
5,100
4.5
0.316667
0.018855
0.032997
0.03771
0.120539
0.094276
0.070034
0.049832
0.049832
0.02963
0
0.008342
0.247843
5,100
145
112
35.172414
0.765902
0.042157
0
0.053763
0
0
0.144085
0.030586
0
0
0
0
0
0
null
null
0
0.096774
null
null
0.043011
0
0
0
null
0
0
0
0
0
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
e9e271e0dfd9f11b3b67e82b128c334ad9b6a551
1,041
py
Python
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/spanhandlers/link.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
83
2017-03-15T12:43:25.000Z
2022-03-31T12:38:44.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/spanhandlers/link.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
18
2017-03-20T14:12:58.000Z
2021-07-28T09:11:55.000Z
lib/rabbitmq-dotnet-client-rabbitmq_v3_4_4/docs/pyle2-fcfcf7e/spanhandlers/link.py
CymaticLabs/Unity3d.Amqp
42ca5de66fcda21ef6a4040bade99118b2ad6374
[ "MIT" ]
25
2017-04-01T01:40:02.000Z
2022-02-20T11:08:12.000Z
import Inline info = { "friendly_name": "Link (External)", "example_template": "scheme://authority/path?query|Text To Display", "summary": "A more flexible way of linking to an external resource.", "details": """ <p>Links to external resources can be embedded in the page by <i>naked linking</i...
32.53125
77
0.650336
151
1,041
4.470199
0.556291
0.017778
0.038519
0.047407
0
0
0
0
0
0
0
0.004963
0.225744
1,041
31
78
33.580645
0.832506
0
0
0
0
0.076923
0.617675
0.032661
0
0
0
0
0
1
0.038462
false
0
0.038462
0
0.115385
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
756a7d5603c5e682e361610c15f2a82a695e16c0
2,617
py
Python
physipy/custom_units.py
mocquin/physipy
a44805dbf4e68544c987e07564dd4a8d50be8b4c
[ "MIT" ]
5
2021-01-23T11:23:07.000Z
2022-02-28T15:38:58.000Z
physipy/custom_units.py
mocquin/physipy
a44805dbf4e68544c987e07564dd4a8d50be8b4c
[ "MIT" ]
null
null
null
physipy/custom_units.py
mocquin/physipy
a44805dbf4e68544c987e07564dd4a8d50be8b4c
[ "MIT" ]
2
2020-11-07T20:08:08.000Z
2021-06-09T02:58:04.000Z
# !/usr/bin/env python # -*- coding: utf-8 -*- """Define non-SI-units. This module provides for now 2 dictionnaries of units : - custom_units : for user-defined units - imperial_units : retard units TODO : - create a function wrapper for dict creation ? - Should custom units and constants be in the same module...
27.260417
121
0.565915
403
2,617
3.598015
0.349876
0.022759
0.037931
0.038621
0.312414
0.30069
0.244138
0.184138
0.156552
0.156552
0
0.180102
0.251051
2,617
96
122
27.260417
0.559694
0.223538
0
0
0
0
0.045341
0
0
0
0
0.010417
0
1
0
false
0
0.057692
0
0.057692
0
0
0
0
null
0
0
0
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
756bb5db3b087b6cff679484660c32fc3adf2738
924
py
Python
s2s/model/__init__.py
nail1021734/sequence-to-sequence
e591d225a108556de3eb2e4021ea024352b6ec17
[ "Beerware" ]
3
2020-10-07T09:49:30.000Z
2020-11-23T01:45:49.000Z
s2s/model/__init__.py
nail1021734/sequence-to-sequence
e591d225a108556de3eb2e4021ea024352b6ec17
[ "Beerware" ]
null
null
null
s2s/model/__init__.py
nail1021734/sequence-to-sequence
e591d225a108556de3eb2e4021ea024352b6ec17
[ "Beerware" ]
10
2020-10-04T17:30:40.000Z
2021-09-13T05:02:27.000Z
from typing import Dict, Type, Union from s2s.model._gru import GRUDecModel, GRUEncModel, GRUModel from s2s.model._lstm import LSTMDecModel, LSTMEncModel, LSTMModel from s2s.model._rnn import RNNDecModel, RNNEncModel, RNNModel from s2s.model._gru_attention import AttnGRUDecModel, AttnGRUEncModel, AttnGRUModel, AttnGRU...
33
102
0.794372
98
924
7.326531
0.367347
0.058496
0.100279
0.041783
0
0
0
0
0
0
0
0.007509
0.135281
924
27
103
34.222222
0.891114
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0.304348
0
0.304348
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
756bd4bf997c874c76d753207ca7bc68a981add4
588
py
Python
migrations/versions/137ed4905569_.py
molguin92/MoulinetteBackend
b742da52f4613d457bcdf718a305976c20b62711
[ "BSD-3-Clause" ]
null
null
null
migrations/versions/137ed4905569_.py
molguin92/MoulinetteBackend
b742da52f4613d457bcdf718a305976c20b62711
[ "BSD-3-Clause" ]
null
null
null
migrations/versions/137ed4905569_.py
molguin92/MoulinetteBackend
b742da52f4613d457bcdf718a305976c20b62711
[ "BSD-3-Clause" ]
null
null
null
"""empty message Revision ID: 137ed4905569 Revises: a210bcabcc2b Create Date: 2016-09-26 17:22:28.928084 """ # revision identifiers, used by Alembic. revision = '137ed4905569' down_revision = 'a210bcabcc2b' import sqlalchemy as sa from alembic import op def upgrade(): ### commands auto generated by Alembic - ...
21.777778
63
0.688776
72
588
5.583333
0.583333
0.067164
0.104478
0.114428
0.218905
0.218905
0.218905
0.218905
0
0
0
0.098969
0.17517
588
26
64
22.615385
0.729897
0.494898
0
0
0
0
0.174242
0
0
0
0
0
0
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
756c8f73b072c33a7eb8856b298e60130f822f6a
1,293
py
Python
groups/apps.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
1
2017-09-29T23:58:02.000Z
2017-09-29T23:58:02.000Z
groups/apps.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
51
2015-03-30T08:58:15.000Z
2022-01-13T00:40:17.000Z
groups/apps.py
incuna/incuna-groups
148c181faf66fe73792cb2c5bbf5500ba61aa22d
[ "BSD-2-Clause" ]
null
null
null
from ._apps_base import AdminRegisteringAppConfig class GroupsConfig(AdminRegisteringAppConfig): """ Configuration for `groups`. Provides: * `default_within_days` - a default parameter for the `within_days` methods on some of the model managers, which return items that were posted or posted to ...
38.029412
88
0.720804
158
1,293
5.64557
0.436709
0.067265
0.09417
0.063901
0.056054
0
0
0
0
0
0
0.000971
0.203403
1,293
33
89
39.181818
0.865049
0.447796
0
0
0
0
0.187311
0.077039
0
0
0
0
0
1
0.071429
false
0
0.071429
0
0.642857
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
756eb8fdad59d7b253e3f00b37e0dadeadce4d26
1,028
py
Python
datahub/sql/apis/schemas/requests/aws/sagemaker_request.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
2
2021-08-02T07:56:38.000Z
2022-02-23T04:27:31.000Z
datahub/sql/apis/schemas/requests/aws/sagemaker_request.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
null
null
null
datahub/sql/apis/schemas/requests/aws/sagemaker_request.py
arpitkjain7/synapse
cb4cf28351bde94f4ad7ecc5df0714cfe5d616c6
[ "Apache-2.0" ]
null
null
null
from typing import List from pydantic import BaseModel class AlgorithmSpecification(BaseModel): TrainingImage: str = None AlgorithmName: str = None TrainingInputMode: str class S3DataSource(BaseModel): S3DataType: str S3Uri: str S3DataDistributionType: str class DataSource(BaseModel): ...
19.396226
50
0.766537
84
1,028
9.380952
0.404762
0.040609
0.068528
0
0
0
0
0
0
0
0
0.008314
0.180934
1,028
52
51
19.769231
0.927553
0
0
0.058824
0
0
0
0
0
0
0
0
0
1
0
true
0
0.058824
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
757807193c960e6defe28190fad36b92cc9544a7
581
py
Python
dev/tasks/sticky_env.py
MasonData/dev
f4e996e7bb75d4b478fdd96ab8ac98edf63d7d36
[ "MIT" ]
12
2021-12-27T14:40:17.000Z
2022-03-22T20:14:42.000Z
dev/tasks/sticky_env.py
MasonData/dev
f4e996e7bb75d4b478fdd96ab8ac98edf63d7d36
[ "MIT" ]
null
null
null
dev/tasks/sticky_env.py
MasonData/dev
f4e996e7bb75d4b478fdd96ab8ac98edf63d7d36
[ "MIT" ]
null
null
null
from typing import Any, Optional from schema import Schema from dev.helpers.shadowenv import ShadowenvHelper from dev.task import Task class StickyEnv(Task): __schema__ = Schema({str: str}) __description__ = 'Set env variables in project shell' def up(self, args: Optional[Any], extra_args: Optional[Any...
26.409091
75
0.681583
71
581
5.408451
0.464789
0.125
0.15625
0.098958
0.380208
0.380208
0.380208
0.380208
0.380208
0.380208
0
0
0.232358
581
21
76
27.666667
0.860987
0
0
0.266667
0
0
0.05852
0
0
0
0
0
0
1
0.133333
false
0
0.266667
0
0.733333
0
0
0
0
null
0
0
0
0
0
0
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
75829fbcf124242791f7cdb0f46d3fe3a8017f53
402
py
Python
dnxdata/utils/status_lake.py
DNXLabs/data
5cffc55696e369a15ed4614fd3d6be647af69f31
[ "Apache-2.0" ]
null
null
null
dnxdata/utils/status_lake.py
DNXLabs/data
5cffc55696e369a15ed4614fd3d6be647af69f31
[ "Apache-2.0" ]
2
2020-07-08T06:45:39.000Z
2020-07-09T02:43:13.000Z
dnxdata/utils/status_lake.py
DNXLabs/data
5cffc55696e369a15ed4614fd3d6be647af69f31
[ "Apache-2.0" ]
1
2021-07-16T00:45:35.000Z
2021-07-16T00:45:35.000Z
class Status: CANCELED = "CANCELED" DECOMPRESSING = "DECOMPRESSING" DELETED = "DELETED" FAILED = "FAILED" FREE = "FREE" INITIAL_LOAD = "INITIAL_LOAD" INVALID_FILE = "INVALID_FILE" LOST = "LOST" STAGE = "STAGE" PROCESSING = "PROCESSING" RUNNING = "RUNNING" SUCCEEDED = "S...
21.157895
35
0.614428
36
402
6.75
0.527778
0.090535
0
0
0
0
0
0
0
0
0
0
0.271144
402
18
36
22.333333
0.829352
0
0
0
0
0
0.294264
0
0
0
0
0
0
1
0
false
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
75905e68948e294b1e7bc857311a7f01efb2055e
3,665
py
Python
nsidc_upload/dems/parallel_premet_maker.py
NeoGeographyToolkit/Tools
b1a8f4070c4995e7a1787f8f0d9ae603b0699f6f
[ "Apache-2.0" ]
4
2015-05-13T22:49:06.000Z
2019-10-08T19:57:11.000Z
nsidc_upload/dems/parallel_premet_maker.py
NeoGeographyToolkit/Tools
b1a8f4070c4995e7a1787f8f0d9ae603b0699f6f
[ "Apache-2.0" ]
null
null
null
nsidc_upload/dems/parallel_premet_maker.py
NeoGeographyToolkit/Tools
b1a8f4070c4995e7a1787f8f0d9ae603b0699f6f
[ "Apache-2.0" ]
7
2016-12-17T22:34:19.000Z
2021-11-12T18:57:32.000Z
import os, sys, argparse, multiprocessing, icebridge_common ''' Run the premet tool on all the files in a directory in parallel. - This creates the .premet and .spo files. ''' SOFTWARE_FOLDER = '/u/smcmich1/icebridge/upload_software' def runCommand(command): '''Run one of the commands from the file''' print...
32.149123
86
0.608186
432
3,665
5.097222
0.386574
0.007266
0.008174
0.007266
0.158038
0.139873
0.139873
0.102634
0.102634
0.102634
0
0.004511
0.274216
3,665
113
87
32.433628
0.823308
0.159345
0
0.033333
0
0
0.196497
0.025919
0
0
0
0.00885
0
0
null
null
0
0.016667
null
null
0.116667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
759fc3e10c0306c7f58e8a38e0536552beb8ec74
577
py
Python
Pass_Protected_PDF.py
Lal-Jr/Password-Protected-PDF
64b0047794f80731994fe06942c1e1f37f7879ac
[ "MIT" ]
1
2020-10-07T12:17:19.000Z
2020-10-07T12:17:19.000Z
Pass_Protected_PDF.py
Lal-Jr/Password-Protected-PDF
64b0047794f80731994fe06942c1e1f37f7879ac
[ "MIT" ]
null
null
null
Pass_Protected_PDF.py
Lal-Jr/Password-Protected-PDF
64b0047794f80731994fe06942c1e1f37f7879ac
[ "MIT" ]
1
2020-10-03T06:12:22.000Z
2020-10-03T06:12:22.000Z
from PyPDF2 import PdfFileWriter, PdfFileReader def secure_pdf(inputFile, password): writer = PdfFileWriter() reader = PdfFileReader(inputFile) for page in range(reader.numPages): writer.addPage(reader.getPage(page)) writer.encrypt(password) # writer.encrypt(user_pwd=password, use_128bit=T...
26.227273
57
0.679376
67
577
5.641791
0.61194
0.047619
0.100529
0
0
0
0
0
0
0
0
0.008639
0.197574
577
21
58
27.47619
0.807775
0.088388
0
0
0
0
0.145038
0.080153
0
0
0
0
0
1
0.066667
false
0.266667
0.066667
0
0.133333
0.066667
0
0
0
null
0
0
0
0
0
0
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
75a5002eebd9dc3752b3125228a9245b5a419e36
391
py
Python
requirements/docutils-0.18/test/functional/tests/standalone_rst_pseudoxml.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
requirements/docutils-0.18/test/functional/tests/standalone_rst_pseudoxml.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
null
null
null
requirements/docutils-0.18/test/functional/tests/standalone_rst_pseudoxml.py
QuentinTournier40/AnimationFreeCAD
8eaff8356ec68b948a721b83a6888b652278db8a
[ "Apache-2.0" ]
1
2022-02-03T08:03:30.000Z
2022-02-03T08:03:30.000Z
with open('functional/tests/_standalone_rst_defaults.py') as _f: exec(_f.read()) # Source and destination file names. test_source = "standalone_rst_pseudoxml.txt" test_destination = "standalone_rst_pseudoxml.txt" # Keyword parameters passed to publish_file. writer_name = "pseudoxml" # Settings # enable INFO-leve...
27.928571
64
0.787724
53
391
5.528302
0.716981
0.133106
0.150171
0.170648
0
0
0
0
0
0
0
0.002899
0.117647
391
13
65
30.076923
0.846377
0.342711
0
0
0
0
0.480159
0.396825
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
75b58f2351479467494fd8c0760354c2d0316712
8,638
py
Python
generate_tests.py
mmoskon/Grohar
cfe851a1da100e3dba2b8c47aa0b26cc4bac0ed5
[ "CNRI-Python", "AAL" ]
null
null
null
generate_tests.py
mmoskon/Grohar
cfe851a1da100e3dba2b8c47aa0b26cc4bac0ed5
[ "CNRI-Python", "AAL" ]
null
null
null
generate_tests.py
mmoskon/Grohar
cfe851a1da100e3dba2b8c47aa0b26cc4bac0ed5
[ "CNRI-Python", "AAL" ]
null
null
null
import model_data as md import pathway_data as pd import bigg_data import alignment #from paths import paths import make_pairs import draw_plotly import plotly def generate_EC_file(model, prefix): f = open("data/" + prefix + "_EC.txt", 'w') EC1 = 1 EC2 = 1 EC3 = 1 for r in model.reactions...
32.596226
319
0.631512
1,248
8,638
4.068109
0.112179
0.063029
0.069332
0.074847
0.635809
0.589127
0.560173
0.544613
0.520977
0.520977
0
0.056044
0.196458
8,638
264
320
32.719697
0.675407
0.138805
0
0.473282
1
0
0.154106
0
0
0
0
0
0
1
0.053435
false
0
0.053435
0
0.145038
0.030534
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
75bad1ccb1d83985f6635a7baf963d6ce8466ebe
5,629
py
Python
leetcode/models/graphql_question_topic_tag.py
prius/python-leetcode
5e8bbee0f941ece8188853703d47aad992191456
[ "MIT" ]
25
2021-09-27T20:13:33.000Z
2022-03-25T07:12:19.000Z
leetcode/models/graphql_question_topic_tag.py
iraghavr/python-leetcode
5e8bbee0f941ece8188853703d47aad992191456
[ "MIT" ]
3
2021-12-26T00:22:41.000Z
2022-03-06T17:30:24.000Z
leetcode/models/graphql_question_topic_tag.py
iraghavr/python-leetcode
5e8bbee0f941ece8188853703d47aad992191456
[ "MIT" ]
6
2021-10-16T04:51:45.000Z
2022-02-24T10:53:55.000Z
# coding: utf-8 """ Leetcode API Leetcode API implementation. # noqa: E501 OpenAPI spec version: 1.0.1-1 Contact: pv.safronov@gmail.com Generated by: https://github.com/swagger-api/swagger-codegen.git """ from __future__ import annotations import pprint import re # noqa: F401 import six cla...
27.866337
98
0.56884
602
5,629
5.19103
0.202658
0.08512
0.14848
0.12672
0.39104
0.32384
0.30912
0.20352
0.09728
0.06208
0
0.016622
0.33736
5,629
201
99
28.004975
0.82118
0.312134
0
0.061224
1
0
0.06535
0
0
0
0
0
0
1
0.142857
false
0
0.040816
0
0.316327
0.020408
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
75be2a94aa70c37a6d807e026533ff99e045b924
1,154
py
Python
gqqa_interface/protocol.py
kuPacemaker/restful-unilm-django
679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23
[ "MIT" ]
1
2020-10-25T12:31:33.000Z
2020-10-25T12:31:33.000Z
gqqa_interface/protocol.py
kuPacemaker/restful-unilm-django
679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23
[ "MIT" ]
1
2021-07-18T11:14:51.000Z
2021-07-18T14:38:00.000Z
gqqa_interface/protocol.py
kuPacemaker/restful-unilm-django
679bcbc7f76e3a8e2e63f11cb3d9bc188ff8fc23
[ "MIT" ]
null
null
null
from remote import AbstractProtocol from remote.annotation import terminate from base import BaseKnowledge class GQQAProtocol(AbstractProtocol): node = ('117.16.136.170', 3421) def __init__(self, bkd: BaseKnowledge): self.bkd = bkd self.questions = None self.response_attach_head = 0 ...
32.055556
100
0.612652
130
1,154
5.307692
0.415385
0.086957
0.104348
0.127536
0.066667
0
0
0
0
0
0
0.023457
0.298094
1,154
36
101
32.055556
0.828395
0
0
0.068966
0
0
0.012121
0
0
0
0
0
0
1
0.137931
false
0.103448
0.103448
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
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
75c294775ed08369558fa10838aa588e989eb3a8
448
py
Python
tests/components/meteo_france/conftest.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
6
2020-07-18T16:33:25.000Z
2021-09-26T09:52:04.000Z
tests/components/meteo_france/conftest.py
domwillcode/home-assistant
f170c80bea70c939c098b5c88320a1c789858958
[ "Apache-2.0" ]
47
2020-07-23T07:14:33.000Z
2022-03-31T06:01:46.000Z
tests/components/meteo_france/conftest.py
klauern/home-assistant-core
c18ba6aec0627e6afb6442c678edb5ff2bb17db6
[ "Apache-2.0" ]
5
2020-03-29T00:29:13.000Z
2021-09-06T20:58:40.000Z
"""Meteo-France generic test utils.""" import pytest from tests.async_mock import patch @pytest.fixture(autouse=True) def patch_requests(): """Stub out services that makes requests.""" patch_client = patch("homeassistant.components.meteo_france.meteofranceClient") patch_weather_alert = patch( "ho...
26.352941
83
0.747768
50
448
6.5
0.62
0.101538
0.098462
0.203077
0.24
0
0
0
0
0
0
0
0.158482
448
16
84
28
0.862069
0.158482
0
0
0
0
0.322404
0.322404
0
0
0
0
0
1
0.1
false
0
0.2
0
0.3
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
75c5c2c80c501d338049d9de133436ef90d88c97
12,263
py
Python
weighted_graph.py
michibo/feyncop
19aafd73feb39335e0e1451c81c5b2a50af01112
[ "MIT" ]
12
2015-02-02T12:39:47.000Z
2021-03-24T13:25:04.000Z
weighted_graph.py
michibo/feyncop
19aafd73feb39335e0e1451c81c5b2a50af01112
[ "MIT" ]
1
2016-02-05T00:13:20.000Z
2016-02-05T00:13:54.000Z
weighted_graph.py
michibo/feyncop
19aafd73feb39335e0e1451c81c5b2a50af01112
[ "MIT" ]
1
2016-02-05T12:58:29.000Z
2016-02-05T12:58:29.000Z
"""weighted_graph.py: This file is part of the feyncop/feyngen package. Implements the WeightedGraph class. """ # See also: http://people.physik.hu-berlin.de/~borinsky/ __author__ = "Michael Borinsky" __email__ = "borinsky@physik.hu-berlin.de" __copyright__ = "Copyright (C) 2014 Michael Borinsky" __license__ = "...
47.34749
209
0.645519
1,700
12,263
4.435294
0.177059
0.031034
0.029841
0.02122
0.348011
0.269363
0.221618
0.163926
0.127586
0.127586
0
0.008821
0.269673
12,263
258
210
47.531008
0.833073
0.133491
0
0.130137
0
0
0.011508
0.003011
0
0
0
0
0
0
null
null
0
0.027397
null
null
0.006849
0
0
0
null
0
0
0
0
0
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
75c858471a5b473038196c43157bbfc2e8363d13
735
py
Python
WTMinor/urls.py
pratikgoel145/AlgoBuddy-Web-Application
2ea3c6e3ca1127aced9968319d9a9bb7978b66bf
[ "MIT" ]
null
null
null
WTMinor/urls.py
pratikgoel145/AlgoBuddy-Web-Application
2ea3c6e3ca1127aced9968319d9a9bb7978b66bf
[ "MIT" ]
null
null
null
WTMinor/urls.py
pratikgoel145/AlgoBuddy-Web-Application
2ea3c6e3ca1127aced9968319d9a9bb7978b66bf
[ "MIT" ]
1
2017-10-25T10:25:03.000Z
2017-10-25T10:25:03.000Z
from django.conf.urls import url, include from django.contrib import admin from django.conf import settings from django.conf.urls.static import static from django.views.generic import RedirectView urlpatterns = [ url(r'^$', RedirectView.as_view(url='http://127.0.0.1:8000/login/')), url(r'^admin/', admin.site.u...
38.684211
82
0.715646
105
735
4.933333
0.314286
0.046332
0.061776
0.069498
0.150579
0.150579
0.150579
0.150579
0.150579
0.150579
0
0.03211
0.110204
735
18
83
40.833333
0.759939
0
0
0
0
0
0.185034
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
75d4861e8fae169e979913c01d140f19eca961ce
3,324
py
Python
src/odometry.py
SkyDiverBlue/RoboLab
d6c641173905dea73e54839974bc9150e276bec8
[ "MIT" ]
null
null
null
src/odometry.py
SkyDiverBlue/RoboLab
d6c641173905dea73e54839974bc9150e276bec8
[ "MIT" ]
null
null
null
src/odometry.py
SkyDiverBlue/RoboLab
d6c641173905dea73e54839974bc9150e276bec8
[ "MIT" ]
null
null
null
# Suggestion: implement odometry as class that is not using the ev3dev.ev3 package # establish value exchange with main driving class via getters and setters from math import * class Odometry: def __init__(self): #do not set heading or rotatation to zero self.heading = (pi/180)*(5) #north val...
29.157895
99
0.618833
384
3,324
5.135417
0.239583
0.12069
0.036511
0.033469
0.38641
0.309331
0.309331
0.309331
0.199797
0.098377
0
0.045119
0.306558
3,324
113
100
29.415929
0.810412
0.104392
0
0.363636
0
0
0.003375
0
0
0
0
0
0
1
0.136364
false
0.212121
0.015152
0.030303
0.19697
0
0
0
0
null
0
0
0
0
0
0
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
75d8f6c7cb9ebe8d2a6a881448e299bb2970a302
1,361
py
Python
app/gws/ext/auth/method/basic/__init__.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
app/gws/ext/auth/method/basic/__init__.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
app/gws/ext/auth/method/basic/__init__.py
ewie/gbd-websuite
6f2814c7bb64d11cb5a0deec712df751718fb3e1
[ "Apache-2.0" ]
null
null
null
import base64 import gws import gws.common.auth.method import gws.common.auth.error import gws.types as t # @TODO support WWW-Authenticate at some point class Config(t.WithType): """HTTP-basic authorization options""" secure: bool = True #: use only with SSL class Object(gws.common.auth.method.Object):...
23.465517
78
0.590742
177
1,361
4.491525
0.435028
0.045283
0.065409
0.047799
0.030189
0
0
0
0
0
0
0.010438
0.296106
1,361
57
79
23.877193
0.819415
0.106539
0
0.166667
0
0
0.028974
0
0
0
0
0.017544
0
1
0.083333
false
0
0.138889
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
1
0
0
0
0
0
0
0
0
0
0
1
75dae0294c8eac870dce0c538e920f28e4cfbad4
394
py
Python
pictures/migrations/0002_image_image.py
David5627/My_Gallary
cfbdcb13586f3d132993f9ceb1aa84c2f0ca61b3
[ "MIT" ]
null
null
null
pictures/migrations/0002_image_image.py
David5627/My_Gallary
cfbdcb13586f3d132993f9ceb1aa84c2f0ca61b3
[ "MIT" ]
null
null
null
pictures/migrations/0002_image_image.py
David5627/My_Gallary
cfbdcb13586f3d132993f9ceb1aa84c2f0ca61b3
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-01-11 12:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('pictures', '0001_initial'), ] operations = [ migrations.AddField( model_name='image', name='image', fiel...
20.736842
72
0.586294
42
394
5.428571
0.833333
0.078947
0
0
0
0
0
0
0
0
0
0.067376
0.284264
394
18
73
21.888889
0.741135
0.114213
0
0
1
0
0.115274
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1