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
f1a5592384de7ce5715f1f088eda337b4ed7f5f5
1,103
py
Python
main.py
Chun-Cheng/myschool-mywallet
19ba5d84f6747b4ba151923494f67d60643c63f4
[ "MIT" ]
null
null
null
main.py
Chun-Cheng/myschool-mywallet
19ba5d84f6747b4ba151923494f67d60643c63f4
[ "MIT" ]
null
null
null
main.py
Chun-Cheng/myschool-mywallet
19ba5d84f6747b4ba151923494f67d60643c63f4
[ "MIT" ]
null
null
null
from flask import Flask, request, redirect, url_for, jsonify # flash render_template import pymongo from bson.objectid import ObjectId from datetime import datetime, timedelta import requests import re import json import function import api import webpage client = pymongo.MongoClient('mongodb+srv://dbUser:o5jzqcHzu...
26.902439
133
0.739801
153
1,103
5.202614
0.627451
0.017588
0.050251
0
0
0
0
0
0
0
0
0.027607
0.113327
1,103
40
134
27.575
0.786299
0.021759
0
0
0
0.08
0.309572
0.208758
0
0
0
0
0
1
0.04
false
0
0.4
0
0.48
0.08
0
0
0
null
0
0
0
0
0
0
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
f1b1dae733065df15ec22c8008848abe525e85e5
372
py
Python
ideathon/migrations/0002_alter_post_content.py
hyeoneedyou/2021-dgulion-simbathon
c45e028df5823d1e874ec72c184cb8a70c3b58de
[ "MIT" ]
1
2021-05-16T10:36:46.000Z
2021-05-16T10:36:46.000Z
ideathon/migrations/0002_alter_post_content.py
hyeoneedyou/2021-dgulion-simbathon
c45e028df5823d1e874ec72c184cb8a70c3b58de
[ "MIT" ]
21
2021-05-16T08:45:06.000Z
2022-02-10T10:52:48.000Z
ideathon/migrations/0002_alter_post_content.py
hyeoneedyou/2021-dgulion-simbathon
c45e028df5823d1e874ec72c184cb8a70c3b58de
[ "MIT" ]
6
2021-05-15T16:50:26.000Z
2021-07-04T12:10:38.000Z
# Generated by Django 3.2.3 on 2021-05-17 23:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ideathon', '0001_initial'), ] operations = [ migrations.AlterField( model_name='post', name='content', f...
19.578947
47
0.583333
39
372
5.512821
0.820513
0
0
0
0
0
0
0
0
0
0
0.072797
0.298387
372
18
48
20.666667
0.750958
0.120968
0
0
1
0
0.095385
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
f1b1ee1866ea73fc079dd4db7df2ceabd9fdeebf
1,189
py
Python
Sources/ext.py
York618/Tinystart
781f8deb6f20dc048141369e55d3725fb2d468f1
[ "MIT" ]
null
null
null
Sources/ext.py
York618/Tinystart
781f8deb6f20dc048141369e55d3725fb2d468f1
[ "MIT" ]
null
null
null
Sources/ext.py
York618/Tinystart
781f8deb6f20dc048141369e55d3725fb2d468f1
[ "MIT" ]
null
null
null
# TinyStart Extonsion file. def get_line_context(files_path, lines_number): # Extension:Read Line In File , V1.0 # Written by York618 # This is a necessary component import linecache return linecache.getline(files_path, lines_number).strip() def greet_with_time(): # Extension:Greet With Time ,...
33.971429
73
0.666947
167
1,189
4.616766
0.467066
0.054475
0.058366
0.110246
0.284047
0.259403
0.259403
0.114137
0.114137
0.114137
0
0.034298
0.215307
1,189
35
74
33.971429
0.792069
0.232128
0
0
0
0
0.089701
0
0
0
0
0
0
1
0.136364
false
0.090909
0.181818
0
0.363636
0.272727
0
0
0
null
0
0
0
0
0
0
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
f1b3ee0989e41f8e53bb1f675a8930c83f6d1691
12,298
py
Python
experimental/python/gui/dialog_about.py
skylarmt/Embroidermodder
5eef80e195c928c7ac2c7adc21bd60b9b4c227e0
[ "Zlib" ]
1
2021-11-18T08:31:10.000Z
2021-11-18T08:31:10.000Z
experimental/python/gui/dialog_about.py
smokingwheels/Embroidermodder
275eb4fa22b056839b5dec8b824c68fe5629a08f
[ "Zlib" ]
null
null
null
experimental/python/gui/dialog_about.py
smokingwheels/Embroidermodder
275eb4fa22b056839b5dec8b824c68fe5629a08f
[ "Zlib" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- """ ================================ |module_summary| dialog_about.py ================================ Classes summary: ================ ============================== ============================ :class:`~AboutDialog` TOWRITE :class:`~EmbroidermodderLogo` TOWR...
36.064516
121
0.581477
1,282
12,298
5.530421
0.346334
0.011989
0.01622
0.01354
0.281241
0.220874
0.206911
0.167137
0.167137
0.167137
0
0.0302
0.283786
12,298
340
122
36.170588
0.77475
0.220036
0
0.166667
0
0.010417
0.453873
0.026251
0
0
0
0.011765
0
1
0.026042
false
0
0.041667
0
0.078125
0
0
0
0
null
0
0
0
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
f1b9147cad3bd567e1b6663da2b2174e1f87d210
3,407
py
Python
add_subscriber_dynamic.py
Zhekazuev/VPN
47e5d6a3fee72fe0c0748da0d545ec1ee0ce885c
[ "MIT" ]
null
null
null
add_subscriber_dynamic.py
Zhekazuev/VPN
47e5d6a3fee72fe0c0748da0d545ec1ee0ce885c
[ "MIT" ]
1
2021-02-10T02:28:16.000Z
2021-02-10T02:28:16.000Z
add_subscriber_dynamic.py
Zhekazuev/VPN
47e5d6a3fee72fe0c0748da0d545ec1ee0ce885c
[ "MIT" ]
null
null
null
""" Add new subscriber in Oracle with dynamic IPv4 Input data: Number and Parameters(VRF, POOL, other attributes) """ from config import Misc import miscellaneous import json import sys import re def check_config_id(config_id): oracle = miscellaneous.OracleDB(host=Misc.ORACLE_IP_TEST) connection, cursor = ora...
39.616279
116
0.626357
407
3,407
5.068796
0.309582
0.081435
0.046534
0.069801
0.313621
0.25303
0.214251
0.214251
0.177412
0.141541
0
0.019163
0.249486
3,407
85
117
40.082353
0.787642
0.166716
0
0.192982
0
0
0.2095
0
0
0
0
0
0
1
0.052632
false
0.070175
0.087719
0
0.315789
0.017544
0
0
0
null
0
0
0
0
0
0
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
f1b9835b01bff08c246914085ec7595687d33502
463
py
Python
data/Data_libraries/moons.py
BasileiosKal/NeuralNet
c998f7a96ceb2dbbb4b09f9ec2b312a5c80ce5df
[ "MIT" ]
null
null
null
data/Data_libraries/moons.py
BasileiosKal/NeuralNet
c998f7a96ceb2dbbb4b09f9ec2b312a5c80ce5df
[ "MIT" ]
null
null
null
data/Data_libraries/moons.py
BasileiosKal/NeuralNet
c998f7a96ceb2dbbb4b09f9ec2b312a5c80ce5df
[ "MIT" ]
null
null
null
import matplotlib.pyplot as plt import sklearn import sklearn.datasets def load_moon_data(n_samples=300, sample_noise=0.2): train_X, train_Y = sklearn.datasets.make_moons(n_samples, noise=sample_noise) train_X = train_X.T train_Y = train_Y.reshape((1, train_Y.shape[0])) return train_X, train_Y def p...
30.866667
114
0.732181
83
463
3.807229
0.433735
0.151899
0.139241
0.113924
0
0
0
0
0
0
0
0.029851
0.131749
463
14
115
33.071429
0.756219
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.3
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f1bce886ae77ee5b13342785ba35beb971ef4dc6
2,326
py
Python
Python/src/com/masopust/ondra/python/i2c/test/TestI2C.py
OndrejMasopust/Rover
cd393ac72afa5d8a50d7cfd00b1be134d34acfc4
[ "MIT" ]
null
null
null
Python/src/com/masopust/ondra/python/i2c/test/TestI2C.py
OndrejMasopust/Rover
cd393ac72afa5d8a50d7cfd00b1be134d34acfc4
[ "MIT" ]
null
null
null
Python/src/com/masopust/ondra/python/i2c/test/TestI2C.py
OndrejMasopust/Rover
cd393ac72afa5d8a50d7cfd00b1be134d34acfc4
[ "MIT" ]
null
null
null
''' Created on Dec 23, 2017 Used just to test, that the I2C communication works. MIT License Copyright (c) 2018 Ondřej Masopust; Gymnázium Praha 6, Nad Alejí 1952 Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to dea...
40.807018
78
0.682287
342
2,326
4.608187
0.47076
0.055838
0.011421
0.034264
0.031726
0.016497
0
0
0
0
0
0.041148
0.205933
2,326
57
79
40.807018
0.812128
0.589424
0
0
0
0
0.176533
0
0
0
0.004228
0
0
1
0.045455
false
0
0.090909
0
0.136364
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
f1bfec65fb562fc4af4e995381cd553266162e5a
1,527
py
Python
app/models.py
jerinisready/MindPower
a19909ee713207605477983bc752db75844f794f
[ "Apache-2.0" ]
null
null
null
app/models.py
jerinisready/MindPower
a19909ee713207605477983bc752db75844f794f
[ "Apache-2.0" ]
null
null
null
app/models.py
jerinisready/MindPower
a19909ee713207605477983bc752db75844f794f
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import unicode_literals from django.contrib.auth.models import User from django.db import models from app.utils import answer_filter class Event(models.Model): name = models.CharField(max_length=32) key = models.CharField(max_length=32, unique=True) user = models....
26.789474
74
0.666667
199
1,527
4.969849
0.306533
0.060667
0.091001
0.121335
0.308392
0.201213
0.175935
0
0
0
0
0.011263
0.185986
1,527
56
75
27.267857
0.784393
0.013752
0
0.176471
0
0
0.03002
0
0
0
0
0
0
1
0.176471
false
0
0.117647
0.088235
0.823529
0
0
0
0
null
0
0
0
0
0
0
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
f1c01d35f03424b1a1d0fbe15abfcc38c4c17f24
4,584
py
Python
test/test_par_styles.py
usr3/docx2python
3d0cdd6b94388e7dd2318cb61c9bb99da8853b77
[ "MIT" ]
null
null
null
test/test_par_styles.py
usr3/docx2python
3d0cdd6b94388e7dd2318cb61c9bb99da8853b77
[ "MIT" ]
null
null
null
test/test_par_styles.py
usr3/docx2python
3d0cdd6b94388e7dd2318cb61c9bb99da8853b77
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 # _*_ coding: utf-8 _*_ """ Par styles converted to flags :author: Shay Hill :created: 3/18/2021 """ from docx2python.main import docx2python from .conftest import RESOURCES OUTPUT = docx2python(RESOURCES / "example.docx", paragraph_styles=True) class TestParStyles: def test_par_styles...
36.380952
81
0.313918
303
4,584
4.719472
0.366337
0.025175
0.020979
0.055944
0.148252
0.12028
0.072727
0.072727
0.037762
0
0
0.020732
0.505454
4,584
125
82
36.672
0.610057
0.05781
0
0.2
0
0
0.299766
0.028103
0
0
0
0
0.009524
1
0.009524
false
0
0.019048
0
0.038095
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1c48e064cdc452bb664a664d56893aa8e952b5b
1,233
py
Python
Mail Info Extracter/Main.py
Nishakm1234/Phishing_Detection_Using_Python
c766bd3e667f1839b0e0f9dc66645ecf1421bd6d
[ "MIT" ]
14
2019-04-23T08:05:23.000Z
2022-03-23T16:44:10.000Z
Mail Info Extracter/Main.py
Nishakm1234/Phishing_Detection_Using_Python
c766bd3e667f1839b0e0f9dc66645ecf1421bd6d
[ "MIT" ]
null
null
null
Mail Info Extracter/Main.py
Nishakm1234/Phishing_Detection_Using_Python
c766bd3e667f1839b0e0f9dc66645ecf1421bd6d
[ "MIT" ]
null
null
null
import extractInfo import detectPhishing import csv import tkinter as tk def handleClick(username,password): Status=[] #Files=extractInfo.extractFromEmail('networkteam2019@gmail.com','cdnn@1997') Files=extractInfo.extractFromEmail(username,password) extractInfo.extract_URL_From_Sub(Files) ...
31.615385
81
0.603406
158
1,233
4.670886
0.449367
0.047425
0.086721
0.04607
0
0
0
0
0
0
0
0.032597
0.22871
1,233
39
82
31.615385
0.743428
0.060827
0
0
0
0
0.075893
0.023214
0
0
0
0
0
1
0.032258
false
0.096774
0.129032
0
0.16129
0.064516
0
0
0
null
0
0
0
0
0
0
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
f1ca55ac6389ff5dc4bae2bc02ae2680749f85c2
498
py
Python
Problem 3/transition_5.py
RajeevAtla/JS-Bonus-Problems
d7400a45266df70a2a12c691c259eeb9cfe6196b
[ "MIT" ]
1
2021-05-29T19:48:36.000Z
2021-05-29T19:48:36.000Z
Problem 3/transition_5.py
RajeevAtla/JS-Bonus-Problems
d7400a45266df70a2a12c691c259eeb9cfe6196b
[ "MIT" ]
null
null
null
Problem 3/transition_5.py
RajeevAtla/JS-Bonus-Problems
d7400a45266df70a2a12c691c259eeb9cfe6196b
[ "MIT" ]
1
2021-05-31T20:06:29.000Z
2021-05-31T20:06:29.000Z
from sympy import ones from transition_4 import get_N, parse_frac P = get_N() t = P * ones(19, 1) f = open("transition3_5.tex", "w") f.write(r"$$") f.write("\n") f.write(r"\bm{t} = ") f.write("\n") f.write(r"\left ( \scalemath{0.55} { \begin{array}{c}") f.write("\n") for i in range(19): s = ...
15.090909
56
0.502008
88
498
2.772727
0.431818
0.270492
0.143443
0.131148
0.233607
0.233607
0.122951
0
0
0
0
0.029101
0.240964
498
32
57
15.5625
0.616402
0
0
0.318182
0
0
0.233906
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.090909
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1cb375fa4cd6701f25c3ed5882d578ffc86d80b
612
py
Python
parser.py
pestoffne/AntiAfkGui
1bbe84ae1f9f642ffa9d0908e773680ed5c60053
[ "MIT" ]
null
null
null
parser.py
pestoffne/AntiAfkGui
1bbe84ae1f9f642ffa9d0908e773680ed5c60053
[ "MIT" ]
null
null
null
parser.py
pestoffne/AntiAfkGui
1bbe84ae1f9f642ffa9d0908e773680ed5c60053
[ "MIT" ]
null
null
null
from datetime import timedelta import re def split_literal(text): num_list = re.findall('^[0-9.]+', text) return 1 if len(num_list) == 0 else float(num_list[0]), re.findall('[a-zA-Z]+$', text)[0] def text_to_ms(text): value, literal = split_literal(text) if literal == 'ms': delta = timedelt...
24.48
93
0.622549
81
612
4.617284
0.432099
0.187166
0.128342
0.165775
0
0
0
0
0
0
0
0.012821
0.235294
612
24
94
25.5
0.786325
0
0
0.111111
0
0
0.037582
0
0
0
0
0
0
1
0.111111
false
0
0.111111
0
0.333333
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
f1e0ac27e53384973bf651dfae181d2b80a769a3
1,413
py
Python
cmskit/base.py
sakkada/django-cmskit
fb1d12fa2f69e0534d34bd6f99a4b8f67082f3b0
[ "BSD-3-Clause" ]
null
null
null
cmskit/base.py
sakkada/django-cmskit
fb1d12fa2f69e0534d34bd6f99a4b8f67082f3b0
[ "BSD-3-Clause" ]
null
null
null
cmskit/base.py
sakkada/django-cmskit
fb1d12fa2f69e0534d34bd6f99a4b8f67082f3b0
[ "BSD-3-Clause" ]
null
null
null
from . import conf # exceptions class TemplateAllreadyRegistered(Exception): pass # registry class Registry(object): def __init__(self): self.views = {} self.templates = {} self._models = None self.autoregister_by_conf() @property def models(self): if self._m...
25.690909
68
0.629158
162
1,413
5.345679
0.320988
0.075058
0.04157
0.04157
0
0
0
0
0
0
0
0
0.268224
1,413
54
69
26.166667
0.837524
0.026185
0
0.108108
0
0
0.035714
0
0
0
0
0
0.027027
1
0.243243
false
0.027027
0.054054
0
0.378378
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f1e98be8f49e30b530a9b7354d9407834a3ba703
1,427
py
Python
personas/migrations/0023_itemctto.py
Ykharo/tutorial_P3_4
3e4e620833e897ce4af386fa2642c8f647ebab62
[ "MIT" ]
null
null
null
personas/migrations/0023_itemctto.py
Ykharo/tutorial_P3_4
3e4e620833e897ce4af386fa2642c8f647ebab62
[ "MIT" ]
null
null
null
personas/migrations/0023_itemctto.py
Ykharo/tutorial_P3_4
3e4e620833e897ce4af386fa2642c8f647ebab62
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.9 on 2017-04-12 03:27 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('personas', '0022_auto_20170410_2333'), ] operations...
44.59375
115
0.629993
162
1,427
5.407407
0.450617
0.061644
0.047945
0.075342
0.48516
0.48516
0.447489
0.447489
0.447489
0.349315
0
0.044344
0.225648
1,427
31
116
46.032258
0.748416
0.046952
0
0
1
0
0.106116
0.016949
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
f1e9fce00f33eb722b2f8bc8ed570b4d00c182f5
344
py
Python
resto_divisao.py
adeniasfilho/dio-desafio-github-primeiro-repositorio
445c56065c01642b16fda2a5919407e260cd8349
[ "MIT" ]
null
null
null
resto_divisao.py
adeniasfilho/dio-desafio-github-primeiro-repositorio
445c56065c01642b16fda2a5919407e260cd8349
[ "MIT" ]
null
null
null
resto_divisao.py
adeniasfilho/dio-desafio-github-primeiro-repositorio
445c56065c01642b16fda2a5919407e260cd8349
[ "MIT" ]
null
null
null
#TODO: Complete os espaços em branco com uma possível solução para o problema. X = int(input()) Y = int(input()) if (Y > X): for i in range(X + 1, Y ): if ( i % 5 == 2) or ( i % 5 == 3): print(i) elif (X > Y): for i in range(Y + 1, X ): if (i % 5 == 2) or ( i % 5 == 3): ...
26.461538
78
0.438953
59
344
2.559322
0.491525
0.05298
0.07947
0.145695
0.211921
0.211921
0.211921
0.211921
0.211921
0.211921
0
0.048077
0.395349
344
13
79
26.461538
0.677885
0.223837
0
0.4
0
0
0
0
0
0
0
0.076923
0
1
0
false
0
0
0
0
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
f1ea01dcf37cdf2dec7f77b245adc38a47cf57fe
380
py
Python
setup.py
tgao1337/flexible-pomodoro-tree
745ec155a6d64f0e44ba5998911b6acb69f6a8e5
[ "MIT" ]
null
null
null
setup.py
tgao1337/flexible-pomodoro-tree
745ec155a6d64f0e44ba5998911b6acb69f6a8e5
[ "MIT" ]
20
2022-02-02T17:16:11.000Z
2022-03-30T18:20:06.000Z
setup.py
tgao1337/flexible-pomodoro-tree
745ec155a6d64f0e44ba5998911b6acb69f6a8e5
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='pomodorotree', version='1.0', description='Flexible Pomodoro Tree for productivity', author='Tommy Gao, Shahzeb Naseer, Nick Coluccio', author_email='tommygao@nyu.edu', url='https://github.com/tgao1337/flexible-pomodoro-tree', install_requires=['smbus', 'PIL', 'pigpio', '...
31.666667
66
0.723684
47
380
5.787234
0.87234
0.117647
0.147059
0
0
0
0
0
0
0
0
0.017699
0.107895
380
11
67
34.545455
0.784661
0
0
0
0
0
0.523684
0
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
f1fab38c4d2c819c88395a431832a7e69feeaf3e
1,897
py
Python
core/src/main/resources/generateTransformer.py
Saloed/kex
ec132d396e67de00d96e7ff18c5b561f24c17a5e
[ "Apache-2.0" ]
null
null
null
core/src/main/resources/generateTransformer.py
Saloed/kex
ec132d396e67de00d96e7ff18c5b561f24c17a5e
[ "Apache-2.0" ]
1
2020-10-13T13:26:37.000Z
2020-10-13T13:26:37.000Z
core/src/main/resources/generateTransformer.py
Saloed/kex
ec132d396e67de00d96e7ff18c5b561f24c17a5e
[ "Apache-2.0" ]
null
null
null
import json TYPES = { 'PredicateState': 'State', 'Predicate': 'Predicate', 'Term': 'Term' } def generate_0(type_name, type_suffix): return 'is {name}{suffix} -> transform{name}(argument) as T'.format(name=type_name, suffix=type_suffix) def generate_1(type_name, type_suffix): return 'is {name}{s...
30.111111
115
0.67475
258
1,897
4.639535
0.205426
0.075188
0.05848
0.045113
0.486216
0.41604
0.379282
0.284043
0.284043
0.284043
0
0.018111
0.185029
1,897
62
116
30.596774
0.756145
0
0
0.133333
1
0.022222
0.2699
0.030575
0
0
0
0
0
1
0.155556
false
0
0.022222
0.088889
0.311111
0.044444
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f1fc5a981f97bc869ecb1e15f57757a0043d2118
1,283
py
Python
rr_graph/utils/progressbar_utils.py
SymbiFlow/f4pga-rr-graph
b8f0ebb6fd9842ae8bb7ff51a0adc5f76a853802
[ "Apache-2.0" ]
null
null
null
rr_graph/utils/progressbar_utils.py
SymbiFlow/f4pga-rr-graph
b8f0ebb6fd9842ae8bb7ff51a0adc5f76a853802
[ "Apache-2.0" ]
null
null
null
rr_graph/utils/progressbar_utils.py
SymbiFlow/f4pga-rr-graph
b8f0ebb6fd9842ae8bb7ff51a0adc5f76a853802
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- # # Copyright 2020-2022 F4PGA Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unl...
29.837209
74
0.722525
178
1,283
5.095506
0.561798
0.066152
0.052922
0.062845
0.141125
0.141125
0.101433
0.101433
0
0
0
0.016098
0.176929
1,283
42
75
30.547619
0.842803
0.525331
0
0.142857
0
0
0.108475
0
0
0
0
0
0
1
0.214286
false
0
0.142857
0
0.5
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
7b0e7b930cfaa30636c86a046ac72eea236ef04e
5,912
py
Python
server/utils.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
null
null
null
server/utils.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
3
2022-03-19T17:37:30.000Z
2022-03-26T07:47:33.000Z
server/utils.py
ayanchoudhary/digialpha-inter-IIT
4a683830949b44029ddfd73ebd52f27d441ad8ab
[ "MIT" ]
1
2022-03-16T11:32:26.000Z
2022-03-16T11:32:26.000Z
from bson.objectid import ObjectId from models import * from mongo import db """Generates a sorted array of all quarter date points available on the dataset Args: start_date (str): starting quarter to fetch data points from end_date (str): ending quarter till which we need to fetch data points (defau...
38.38961
121
0.678451
748
5,912
5.136364
0.184492
0.06507
0.040604
0.054659
0.372723
0.266268
0.201978
0.113483
0.088496
0.088496
0
0
0.230379
5,912
154
122
38.38961
0.844396
0.107578
0
0.043478
1
0
0.0686
0
0
0
0
0
0
1
0.032609
false
0
0.032609
0
0.119565
0
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
7b147b827dc4c548227215d537a4dcec8db2045e
3,206
py
Python
qwopt/compiler/parser.py
Chibikuri/qwopt
e65549db83142af4c6b63cce9f55050ee87fb27a
[ "Apache-2.0" ]
4
2020-05-25T15:07:02.000Z
2021-02-17T07:38:06.000Z
qwopt/compiler/parser.py
Chibikuri/qwopt
e65549db83142af4c6b63cce9f55050ee87fb27a
[ "Apache-2.0" ]
2
2020-01-05T07:31:41.000Z
2022-02-11T03:47:49.000Z
qwopt/compiler/parser.py
Chibikuri/qwopt
e65549db83142af4c6b63cce9f55050ee87fb27a
[ "Apache-2.0" ]
1
2020-12-21T14:22:36.000Z
2020-12-21T14:22:36.000Z
import numpy as np from collections import Counter class GraphParser: ''' This is a class for parsing input graph G. Wrapping various kinds of notation of graph. (adjacency matrix, connectivity, etc...) ''' def __init__(self, graph, prob_tran, walk_type='szegedy', optimize=True): ''' ...
30.826923
77
0.577667
383
3,206
4.710183
0.336815
0.069845
0.035477
0.031042
0.129712
0.083149
0.062084
0.062084
0.062084
0.062084
0
0.001853
0.326575
3,206
103
78
31.126214
0.833719
0.162508
0
0.090909
0
0
0.05031
0
0
0
0
0.019417
0
1
0.151515
false
0
0.030303
0.060606
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7b1ab312015a8412f1929d6b5798b73f5049d35a
735
py
Python
PE038.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE038.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
PE038.py
CaptainSora/Python-Project-Euler
056400f434eec837ece5ef06653b310ebfcc3d4e
[ "MIT" ]
null
null
null
from itertools import count from _pandigital_tools import is_pandigital def pandigital_concatenation(num): """ Returns the concatenated product of num and (1, ..., n) if it is pandigital or 0 otherwise. Requires n > 1, or that num < 10000 """ numstr = '' for a in count(1): numstr ...
23.709677
79
0.647619
100
735
4.66
0.44
0.077253
0.04721
0.051502
0
0
0
0
0
0
0
0.038532
0.258503
735
30
80
24.5
0.816514
0.273469
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.133333
0.066667
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7b21a8d18d06494ced7ed26f08808ba426b8343f
1,089
py
Python
ids/__init__.py
galaunay/ids
8dacbc0464671979d58e5299e8e3af1591e7bc88
[ "BSD-3-Clause" ]
null
null
null
ids/__init__.py
galaunay/ids
8dacbc0464671979d58e5299e8e3af1591e7bc88
[ "BSD-3-Clause" ]
null
null
null
ids/__init__.py
galaunay/ids
8dacbc0464671979d58e5299e8e3af1591e7bc88
[ "BSD-3-Clause" ]
1
2021-02-03T12:40:03.000Z
2021-02-03T12:40:03.000Z
# -*- coding: utf-8 -*- #!/usr/env python3 # Copyright (C) 2017 Gaby Launay # Author: Gaby Launay <gaby.launay@tutanota.com> # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 3 ...
31.114286
70
0.75023
157
1,089
5.019108
0.598726
0.076142
0.049492
0.072335
0.104061
0.071066
0
0
0
0
0
0.013216
0.166208
1,089
34
71
32.029412
0.854626
0.666667
0
0
0
0
0.194118
0.070588
0
0
0
0
0
1
0
false
0
0.363636
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
7b250059d16be8bc38298917801c0a8a8be4a901
1,693
py
Python
app/queries/describe_uri.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
5
2015-06-14T22:23:12.000Z
2019-03-21T08:39:08.000Z
app/queries/describe_uri.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
31
2015-05-20T15:02:53.000Z
2016-04-19T15:27:45.000Z
app/queries/describe_uri.py
scraperwiki/newsreader-api
db9a95b173c805cf67748e6ae75f2552b7fb5e54
[ "Apache-2.0" ]
3
2017-08-30T07:12:37.000Z
2020-06-12T00:27:22.000Z
#!/usr/bin/env python # encoding: utf-8 from __future__ import unicode_literals from queries import SparqlQuery class describe_uri(SparqlQuery): """ Details of a URI returned by the DESCRIBE query """ def __init__(self, *args, **kwargs): super(describe_uri, self).__init__(*args, **kwargs) ...
37.622222
118
0.662729
213
1,693
5.037559
0.450704
0.082013
0.065238
0.082013
0.178006
0.15657
0.072693
0.072693
0.072693
0
0
0.006163
0.233314
1,693
44
119
38.477273
0.820493
0.148848
0
0
0
0
0.322535
0.150704
0
0
0
0.022727
0
1
0.107143
false
0
0.071429
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
7b2be68679573cfb6bbd3fda5004c2d89a3038b1
1,159
py
Python
backend/accounts/models.py
landdafku11/cryptocurrencybot
d91976d4fb42c75632e92bf9dd2b183d584b0f89
[ "MIT" ]
1
2021-09-30T13:41:12.000Z
2021-09-30T13:41:12.000Z
backend/accounts/models.py
KangDo96/CryptoCurrencyBot
3c5d347495b27c752016302fec761efc46daaae5
[ "MIT" ]
null
null
null
backend/accounts/models.py
KangDo96/CryptoCurrencyBot
3c5d347495b27c752016302fec761efc46daaae5
[ "MIT" ]
null
null
null
""" Account Models """ from django.contrib.auth.models import AbstractBaseUser, PermissionsMixin from django.db import models from django.core.exceptions import ValidationError from django.utils import timezone from .manager import UserManager class User(AbstractBaseUser, PermissionsMixin): email = models.Ema...
32.194444
83
0.750647
145
1,159
5.848276
0.406897
0.053066
0.084906
0.113208
0.287736
0.103774
0.103774
0.103774
0.103774
0
0
0.014199
0.149267
1,159
35
84
33.114286
0.845842
0.012079
0
0
0
0
0.032542
0
0
0
0
0
0
1
0.043478
false
0
0.217391
0.043478
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
9e2b71238198362486362955922463dcfea3178f
419
py
Python
common.py
farju/intelegentlockPy
6a9582a1abb3be92e3817faffac5cbbd448640f5
[ "MIT" ]
1
2019-07-12T11:48:40.000Z
2019-07-12T11:48:40.000Z
common.py
farju/intelegentlockPy
6a9582a1abb3be92e3817faffac5cbbd448640f5
[ "MIT" ]
null
null
null
common.py
farju/intelegentlockPy
6a9582a1abb3be92e3817faffac5cbbd448640f5
[ "MIT" ]
1
2019-10-29T13:06:38.000Z
2019-10-29T13:06:38.000Z
import face_recognition from os import listdir from os.path import isfile, join from glob import glob def get_users(): known_names=[] known_encods=[] for i in glob("people/*.jpg"): img = face_recognition.load_image_file(i) encoding = face_recognition.face_encodings(img)[0] known_e...
20.95
58
0.694511
59
419
4.711864
0.542373
0.161871
0.107914
0.151079
0
0
0
0
0
0
0
0.009063
0.210024
419
19
59
22.052632
0.830816
0
0
0
0
0
0.028777
0
0
0
0
0
0
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
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
9e2edd9137e6153b80bf8a729d77ed0460e6ecb5
507
py
Python
setup.py
AbhinavBhatnagar/DeepSentiment
8439c69f92e235be640688d026342c32650498a9
[ "MIT" ]
1
2017-02-05T20:39:31.000Z
2017-02-05T20:39:31.000Z
setup.py
AbhinavBhatnagar/DeepSentiment
8439c69f92e235be640688d026342c32650498a9
[ "MIT" ]
null
null
null
setup.py
AbhinavBhatnagar/DeepSentiment
8439c69f92e235be640688d026342c32650498a9
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name = 'DeepSentiment', packages = ['DeepSentiment'], version = '0.1.0', description = 'Python wrapper for Sentiment Analysis leveraging Stanford CoreNLP', author = 'Abhinav Bhatnagar', author_email = 'abhatnagar.1610@gmail.com', url = 'https://github.com/AbhinavBh...
33.8
84
0.717949
53
507
6.811321
0.773585
0.044321
0.077562
0.094183
0.254848
0.254848
0
0
0
0
0
0.015982
0.136095
507
15
85
33.8
0.808219
0
0
0
0
0
0.511811
0.049213
0
0
0
0
0
1
0
true
0
0.071429
0
0.071429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9e466a87b1814f4ffe18d75e829d8411eb8ca124
3,145
py
Python
main1.py
maddiemcm/E05a-Animation
afbce60e63f229f71c97a27812d8f87cd28691b9
[ "MIT" ]
null
null
null
main1.py
maddiemcm/E05a-Animation
afbce60e63f229f71c97a27812d8f87cd28691b9
[ "MIT" ]
null
null
null
main1.py
maddiemcm/E05a-Animation
afbce60e63f229f71c97a27812d8f87cd28691b9
[ "MIT" ]
null
null
null
#Copy the contents from http://arcade.academy/examples/move_mouse.html#move-mouse and see if you can figure out what is going on. Add comments to any uncommented lines import arcade #this command allows python arcade to run SCREEN_WIDTH = 640 SCREEN_HEIGHT = 480 SCREEN_TITLE = "Move Mouse Example" #determines the size...
40.844156
225
0.68744
472
3,145
4.461864
0.332627
0.022792
0.018519
0.019943
0.126306
0.08547
0.08547
0.05603
0.05603
0.05603
0
0.005855
0.239746
3,145
76
226
41.381579
0.874948
0.49539
0
0.055556
0
0
0.040505
0
0
0
0
0
0
1
0.222222
false
0
0.027778
0
0.305556
0.027778
0
0
0
null
0
0
0
0
0
0
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
9e4c480855c6d12f7b0b8d4878c86ad80f07f361
173
py
Python
001_IntroCS/PS1/number_of_bobs.py
PDmatrix/OSSU
dd482b6e4cdbdef5a8897c1b6ef135751681423a
[ "MIT" ]
null
null
null
001_IntroCS/PS1/number_of_bobs.py
PDmatrix/OSSU
dd482b6e4cdbdef5a8897c1b6ef135751681423a
[ "MIT" ]
null
null
null
001_IntroCS/PS1/number_of_bobs.py
PDmatrix/OSSU
dd482b6e4cdbdef5a8897c1b6ef135751681423a
[ "MIT" ]
null
null
null
s = 'azcbobobegghakl' num = 0 for i in range(0, len(s) - 2): if s[i] + s[i + 1] + s[i + 2] == 'bob': num += 1 print('Number of times bob occurs is: ' + str(num))
28.833333
51
0.514451
33
173
2.69697
0.606061
0.067416
0
0
0
0
0
0
0
0
0
0.048
0.277457
173
6
51
28.833333
0.664
0
0
0
0
0
0.281609
0
0
0
0
0
0
1
0
false
0
0
0
0
0.166667
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
9e53c190de9185dda8f8200015719506fdee544b
1,203
py
Python
Cura/Uranium/UM/Platform.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Uranium/UM/Platform.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
Cura/Uranium/UM/Platform.py
TIAO-JI-FU/3d-printing-with-moveo-1
100ecfd1208fe1890f8bada946145d716b2298eb
[ "MIT" ]
null
null
null
# Copyright (c) 2015 Ultimaker B.V. # Cura is released under the terms of the LGPLv3 or higher. import sys ## Convenience class to simplify OS checking and similar platform-specific handling. class Platform: class PlatformType: Windows = 1 Linux = 2 OSX = 3 Other = 4 ## Che...
28.642857
85
0.661679
149
1,203
5.181208
0.409396
0.139896
0.088083
0.108808
0.303109
0.303109
0.303109
0.303109
0.13601
0
0
0.012346
0.259352
1,203
41
86
29.341463
0.854097
0.294264
0
0.153846
0
0
0.019139
0
0
0
0
0
0
1
0.153846
false
0
0.038462
0.153846
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
9e5bcf359282b6a01e732f0fe8eaa520dac18a82
1,912
py
Python
libs/bitbar.py
chazeon/my-bitbar-scripts
3d18d81c84afbebc5bd669266e565f8c86af601d
[ "MIT" ]
1
2020-07-19T16:35:51.000Z
2020-07-19T16:35:51.000Z
libs/bitbar.py
chazeon/my-bitbar-scripts
3d18d81c84afbebc5bd669266e565f8c86af601d
[ "MIT" ]
null
null
null
libs/bitbar.py
chazeon/my-bitbar-scripts
3d18d81c84afbebc5bd669266e565f8c86af601d
[ "MIT" ]
1
2021-11-26T05:59:47.000Z
2021-11-26T05:59:47.000Z
from typing import List import textwrap class BitBarMessage: # content: str # attrs: dict def __init__(self, content, attrs=None): self.content = content self.attrs = attrs if attrs else {} @property def _parts(self): return [self.content] + [f"{key}={val}" for key, val i...
28.117647
83
0.583159
222
1,912
4.873874
0.207207
0.060998
0.030499
0.044362
0.385397
0.297597
0.168207
0.168207
0.168207
0.168207
0
0.003623
0.278243
1,912
67
84
28.537313
0.780435
0.061715
0
0.244444
0
0
0.028523
0
0
0
0
0
0
1
0.222222
false
0
0.044444
0.088889
0.422222
0
0
0
0
null
0
0
0
0
0
0
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
9e62060a358a21d184723c178bdd9c64c0eca52e
265
py
Python
docker-manager-flask/app/config/secure.py
sssbase/-
e4e7105cf0405d493c2ad316c27e2f72ca2c98be
[ "MIT" ]
82
2019-11-11T09:36:12.000Z
2022-03-23T09:08:31.000Z
docker-manager-flask/app/config/secure.py
sssbase/-
e4e7105cf0405d493c2ad316c27e2f72ca2c98be
[ "MIT" ]
28
2019-10-10T14:02:48.000Z
2022-03-25T19:01:07.000Z
docker-manager-flask/app/config/secure.py
sssbase/-
e4e7105cf0405d493c2ad316c27e2f72ca2c98be
[ "MIT" ]
22
2019-11-15T01:29:03.000Z
2021-12-10T13:33:00.000Z
""" @Time : 2018/7/15 20:19 @Author : 郭家兴 @Email : 302802003@qq.com @File : secure.py @Desc : 敏感项配置文件 """ SECRET_KEY = 'X88d\S00DS9FL234SDF234\S00FS8DF$%^AS\X09DL\DFX00934' DEBUG = False HOST = '0.0.0.0' PORT = '5005' THREADED = True LEVEL = 'DEBUG'
16.5625
66
0.633962
38
265
4.394737
0.894737
0.035928
0.035928
0
0
0
0
0
0
0
0
0.228972
0.192453
265
15
67
17.666667
0.551402
0.411321
0
0
0
0
0.455782
0.346939
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
1
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
9e62754b83079033df9fcac7f991a93bdef58c45
897
py
Python
setup.py
abrow425/nspy_wrapper
a5e34cf633c2cc3e2fe2da12eb1b94c7c1f8550e
[ "Apache-2.0" ]
null
null
null
setup.py
abrow425/nspy_wrapper
a5e34cf633c2cc3e2fe2da12eb1b94c7c1f8550e
[ "Apache-2.0" ]
1
2020-09-25T20:07:37.000Z
2020-09-27T04:45:44.000Z
setup.py
abrow425/nspy_wrapper
a5e34cf633c2cc3e2fe2da12eb1b94c7c1f8550e
[ "Apache-2.0" ]
null
null
null
from distutils.core import setup setup( name="nspywrapper", packages=["nspywrapper"], version="0.3.1", license="Apache", description="A python wrapper for the NationStates API", long_description="See here for more information: https://github.com/abrow425/nspy_wrapper", author="Andrew Brown ...
34.5
95
0.649944
100
897
5.76
0.67
0.057292
0.072917
0.114583
0.182292
0.182292
0.125
0
0
0
0
0.030641
0.199554
897
25
96
35.88
0.771588
0
0
0.083333
0
0.041667
0.57748
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
9e66e571ad81efce6d33e0c099c6db46e1124a0f
4,579
py
Python
src/test_likdelta.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
12
2017-07-12T13:12:58.000Z
2021-12-06T23:15:59.000Z
src/test_likdelta.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
null
null
null
src/test_likdelta.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
null
null
null
import unittest import qnet import qnetu import numpy import numpy.random import mytime import netutils import estimation import yaml import arrivals import sampling import qstats import sys class TestLikDelta (unittest.TestCase): def test_mm1_delta (self): sampling.set_seed(68310) nreps =...
29.541935
107
0.550994
571
4,579
4.285464
0.231173
0.04904
0.022068
0.026563
0.423784
0.380057
0.335922
0.308541
0.308541
0.291377
0
0.053295
0.32387
4,579
154
108
29.733766
0.73708
0.020092
0
0.385185
0
0
0.332288
0.006498
0
0
0
0
0.014815
0
null
null
0
0.096296
null
null
0.014815
0
0
0
null
0
0
0
0
0
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
9e6f6050048dc0d54cfafc0eb4ee571a1ce20331
8,474
py
Python
apps/iiif/canvases/models.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
18
2017-06-12T09:58:02.000Z
2021-10-01T11:14:34.000Z
apps/iiif/canvases/models.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
276
2019-04-26T20:13:01.000Z
2022-03-31T10:26:28.000Z
apps/iiif/canvases/models.py
ecds/readux
4eac8b48efef8126f4f2be28b5eb943c85a89c2e
[ "Apache-2.0" ]
7
2018-03-13T23:44:26.000Z
2021-09-15T17:54:55.000Z
"""Django models representing IIIF canvases and IIIF image server info.""" from genericpath import exists import os from boto3 import resource from bs4 import BeautifulSoup from urllib.parse import quote import config.settings.local as settings from django.db import models from django.contrib.auth import get_user_model...
34.307692
96
0.620014
1,051
8,474
4.880114
0.235966
0.047183
0.038019
0.029635
0.374342
0.334763
0.276662
0.238253
0.190875
0.190875
0
0.015886
0.272009
8,474
246
97
34.447154
0.815529
0.215955
0
0.303571
0
0.029762
0.100836
0.082094
0
0
0
0.012195
0
1
0.119048
false
0.017857
0.071429
0.011905
0.434524
0
0
0
0
null
0
0
0
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
9e76b8fc3bf161393d653b26c6b431a767ae052d
162
py
Python
day2/pattern.py
dikshaa1702/ml
c35f279b8fa7544517ca713c2c1e55f08270d4c3
[ "Apache-2.0" ]
1
2019-06-13T13:52:09.000Z
2019-06-13T13:52:09.000Z
day2/pattern.py
dikshaa1702/ml
c35f279b8fa7544517ca713c2c1e55f08270d4c3
[ "Apache-2.0" ]
null
null
null
day2/pattern.py
dikshaa1702/ml
c35f279b8fa7544517ca713c2c1e55f08270d4c3
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Wed May 8 12:07:42 2019 @author: DiPu """ for i in range(1,6): print("*"*i) for j in range(4,0,-1): print("*"*j)
14.727273
35
0.524691
31
162
2.741935
0.741935
0.164706
0
0
0
0
0
0
0
0
0
0.134921
0.222222
162
11
36
14.727273
0.539683
0.450617
0
0
0
0
0.02439
0
0
0
0
0
0
1
0
false
0
0
0
0
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
9e77b92bab88dfd40aed2ab753f19f49dda425b6
208
py
Python
atcoder/abc/abc028_c.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
1
2018-11-12T15:18:55.000Z
2018-11-12T15:18:55.000Z
atcoder/abc/abc028_c.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
atcoder/abc/abc028_c.py
knuu/competitive-programming
16bc68fdaedd6f96ae24310d697585ca8836ab6e
[ "MIT" ]
null
null
null
a = [int(x) for x in input().split()] aset = set() for i in range(5): for j in range(i+1, 5): for k in range(j+1, 5): aset.add(a[i] + a[j] + a[k]) print(sorted(aset, reverse=True)[2])
26
40
0.519231
43
208
2.511628
0.488372
0.194444
0
0
0
0
0
0
0
0
0
0.039216
0.264423
208
7
41
29.714286
0.666667
0
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
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
9e7932d12e7ecaf222608bd9e33678ee4b002df9
6,015
py
Python
funilaria/migrations/0001_initial.py
ph0980/OPE-IndyCar
c574c892c2d1bf633b2aa229ed13e0940184cff9
[ "Apache-2.0" ]
2
2019-08-21T11:37:01.000Z
2019-10-01T13:53:22.000Z
funilaria/migrations/0001_initial.py
ph0980/OPE-IndyCar
c574c892c2d1bf633b2aa229ed13e0940184cff9
[ "Apache-2.0" ]
6
2020-06-05T23:06:08.000Z
2022-02-10T11:06:34.000Z
funilaria/migrations/0001_initial.py
ph0980/OPE-IndyCar
c574c892c2d1bf633b2aa229ed13e0940184cff9
[ "Apache-2.0" ]
1
2019-12-21T22:53:49.000Z
2019-12-21T22:53:49.000Z
# Generated by Django 2.2 on 2019-10-05 15:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] opera...
49.710744
197
0.593017
597
6,015
5.820771
0.227806
0.044029
0.067338
0.089784
0.636835
0.580719
0.504748
0.504748
0.423022
0.412662
0
0.012474
0.266999
6,015
120
198
50.125
0.775686
0.007149
0
0.469027
1
0
0.118928
0.007705
0
0
0
0
0
1
0
false
0
0.026549
0
0.061947
0
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
9e79a4d3beab471fa19723191fdab07fd74ef811
15,311
py
Python
parser/team10/Gramaticas/parseDescendente.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
35
2020-12-07T03:11:43.000Z
2021-04-15T17:38:16.000Z
parser/team10/Gramaticas/parseDescendente.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
47
2020-12-09T01:29:09.000Z
2021-01-13T05:37:50.000Z
parser/team10/Gramaticas/parseDescendente.py
webdev188/tytus
847071edb17b218f51bb969d335a8ec093d13f94
[ "MIT" ]
556
2020-12-07T03:13:31.000Z
2021-06-17T17:41:10.000Z
#PARSER import ply.yacc as yacc import lexico import nodo as grammer import graficas as generar tokens = lexico.tokens precedence = ( ('left', 'mas', 'menos'), ('left', 'por', 'div'), ('nonassoc','between', 'like'), ('left', 'menor', 'mayor', 'igual', 'menorigual', 'mayorigual', 'diferente'), ('ri...
27.637184
157
0.583894
1,635
15,311
5.184098
0.171865
0.034922
0.05663
0.029495
0.315597
0.212128
0.144054
0.098042
0.056513
0
0
0.01861
0.340213
15,311
553
158
27.687161
0.820432
0.604467
0
0
0
0
0.049749
0
0
0
0
0
0
1
0.778947
false
0.010526
0.042105
0
0.821053
0.010526
0
0
0
null
0
0
0
0
0
0
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
9e8086d03e72ccd54e6d1ce0be69b47a7b21e8ee
1,241
py
Python
CODECHEF/SEPT14/FLOORI4.py
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/SEPT14/FLOORI4.py
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
CODECHEF/SEPT14/FLOORI4.py
aqfaridi/Competitve-Programming-Codes
d055de2f42d3d6bc36e03e67804a1dd6b212241f
[ "MIT" ]
null
null
null
import sys,math dict = {} dict[0] = 0 f = [0]*6 ar = [2,3,5] def dicsum(i): I = i I1 = i+1 I2 = 2*i+1; for j in range(3): if(i%ar[j] == 0): I = I/ar[j] f[ar[j]] = 1 elif((i+1)%ar[j] == 0): I1...
21.77193
74
0.348912
200
1,241
2.165
0.215
0.062356
0.027714
0.04157
0.157044
0.073903
0.055427
0
0
0
0
0.068759
0.460919
1,241
56
75
22.160714
0.578475
0
0
0.06383
0
0
0
0
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.021277
0
0
0
null
0
0
0
0
0
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
9e86f0ac459aa1f587d5966457a6db39252465d4
6,341
py
Python
telegram/crypto.py
travellingsalesmen/DogeCode
d260654c363c82574e08844d452ce36f9227bcf3
[ "MIT" ]
null
null
null
telegram/crypto.py
travellingsalesmen/DogeCode
d260654c363c82574e08844d452ce36f9227bcf3
[ "MIT" ]
null
null
null
telegram/crypto.py
travellingsalesmen/DogeCode
d260654c363c82574e08844d452ce36f9227bcf3
[ "MIT" ]
null
null
null
import matplotlib.image as mpimg import numpy as np from random import randint import os NUM_PIXEL_CHANNELS = 512 * 512 * 3 NUM_CODE_CHANNELS = 737289 # (18 length-bits + 180kB) / 2 = 737289 CODE_BITS_PER_CHANNEL = 2 LENGTH_BITS = 18 LSB_MASK = np.asarray(3, dtype=np.uint8) # Int representation of '00000011' MSB_MASK...
38.90184
115
0.706355
995
6,341
4.325628
0.228141
0.014638
0.016729
0.012546
0.062732
0.042286
0.01487
0
0
0
0
0.026786
0.18751
6,341
162
116
39.141975
0.808618
0.36193
0
0.022989
0
0
0.020956
0
0
0
0
0.006173
0.091954
1
0.183908
false
0.195402
0.045977
0.011494
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9e8b31ecbb9f8f8535686b7f24444bc8c8fc2b25
2,022
py
Python
src/execution_transparency.py
dh4rm4/digitalocean_nuke
c6cf0ca3eda0c3ba9583013fb127c5bf3900a860
[ "MIT" ]
null
null
null
src/execution_transparency.py
dh4rm4/digitalocean_nuke
c6cf0ca3eda0c3ba9583013fb127c5bf3900a860
[ "MIT" ]
null
null
null
src/execution_transparency.py
dh4rm4/digitalocean_nuke
c6cf0ca3eda0c3ba9583013fb127c5bf3900a860
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from os import getenv import logging from typing import NoReturn COMMIT_SHA = getenv('CI_COMMIT_SHA', 'ERROR_NO_VAR') LOG_FILENAME = 'error_logs_' + COMMIT_SHA + '.txt' logging.basicConfig(filename=LOG_FILENAME, level=logging.ERROR) class execution_transparency: ""...
29.304348
68
0.588032
245
2,022
4.636735
0.444898
0.049296
0.044894
0.039613
0.154049
0.154049
0.130282
0.086268
0.086268
0
0
0.014461
0.316024
2,022
68
69
29.735294
0.806941
0.268051
0
0.068966
0
0
0.16116
0
0
0
0
0
0
1
0.206897
false
0
0.103448
0.034483
0.413793
0.241379
0
0
0
null
0
0
0
0
0
0
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
9e91591b84dc3c3e4198ddb58beaef94cdf77a9e
503
py
Python
prototypes/prototype_meta.py
pythonhacker/designpatterns
6c0bee0021d8029019c3e459000a5788f18c48c9
[ "MIT" ]
7
2017-05-18T18:38:17.000Z
2020-08-03T08:34:40.000Z
prototypes/prototype_meta.py
pythonhacker/designpatterns
6c0bee0021d8029019c3e459000a5788f18c48c9
[ "MIT" ]
null
null
null
prototypes/prototype_meta.py
pythonhacker/designpatterns
6c0bee0021d8029019c3e459000a5788f18c48c9
[ "MIT" ]
5
2017-07-27T10:22:17.000Z
2021-12-17T13:11:23.000Z
""" Prototype using meta-classes """ import copy class MetaPrototype(type): """ A metaclass for Prototypes """ def __init__(cls, *args): type.__init__(cls, *args) cls.clone = lambda self: copy.deepcopy(self) class Prototype(metaclass=MetaPrototype): """ Top-level prototype ...
17.964286
64
0.60835
61
503
4.819672
0.491803
0.05102
0.07483
0
0
0
0
0
0
0
0
0.016216
0.264414
503
27
65
18.62963
0.778378
0.204771
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.083333
0.083333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
9e9d3916eb5bfbdaa6b10058742a77d3bc8ded71
3,566
py
Python
app/core/forms.py
django-cardano/example-nft-minting
c5a179c7dfb970b5fb01f3e35d4bd532ef50d966
[ "MIT" ]
1
2021-06-30T12:52:51.000Z
2021-06-30T12:52:51.000Z
app/core/forms.py
django-cardano/example-nft-minting
c5a179c7dfb970b5fb01f3e35d4bd532ef50d966
[ "MIT" ]
null
null
null
app/core/forms.py
django-cardano/example-nft-minting
c5a179c7dfb970b5fb01f3e35d4bd532ef50d966
[ "MIT" ]
null
null
null
from decimal import Decimal from django import forms from django.core.exceptions import ValidationError from django_cardano.models import ( get_minting_policy_model, get_wallet_model, ) from django_cardano.validators import validate_cardano_address MintingPolicy = get_minting_policy_model() Wallet = get_walle...
26.414815
80
0.61189
345
3,566
6.171014
0.310145
0.067168
0.082668
0.089244
0.443401
0.415688
0.394082
0.394082
0.394082
0.394082
0
0.011538
0.270892
3,566
134
81
26.61194
0.807308
0
0
0.441441
0
0.009009
0.140774
0.012058
0
0
0
0
0
1
0.009009
false
0.126126
0.045045
0
0.261261
0
0
0
0
null
0
0
0
0
0
0
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
9ea78e02bb64f2bff2dedabdb72058cb7263287a
309
py
Python
python/python_crash_course/chapter_2/2-7.stripping_names.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
python/python_crash_course/chapter_2/2-7.stripping_names.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
python/python_crash_course/chapter_2/2-7.stripping_names.py
lmonsalve22/Learning-to-Code
2e32eba3fbd0bd63cc539e1e6d372ca346b765c9
[ "MIT" ]
null
null
null
""" Store a person's name, and include some whitespace characters at beginning and end of the name. Make sure you use each character combination "\t" and "\n" at least one. """ name = ' James ' print(name.lstrip()) print(name.rstrip()) print(name.strip()) print('\tJames Noria') print('Name:\nJames Noria')
30.9
62
0.708738
48
309
4.5625
0.708333
0.164384
0
0
0
0
0
0
0
0
0
0
0.145631
309
10
63
30.9
0.829545
0.566343
0
0
0
0
0.287879
0
0
0
0
0
0
1
0
false
0
0
0
0
0.833333
0
0
0
null
0
0
0
0
0
0
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
9ea9413c520e758b9e823cd7f3620059ece2441d
572
py
Python
hood/migrations/0004_auto_20201205_1713.py
DorcasToto/Neighborhood
01014384d4ef5743dec6b29b020dcff20ba4dd4d
[ "MIT" ]
null
null
null
hood/migrations/0004_auto_20201205_1713.py
DorcasToto/Neighborhood
01014384d4ef5743dec6b29b020dcff20ba4dd4d
[ "MIT" ]
null
null
null
hood/migrations/0004_auto_20201205_1713.py
DorcasToto/Neighborhood
01014384d4ef5743dec6b29b020dcff20ba4dd4d
[ "MIT" ]
1
2021-04-14T07:29:11.000Z
2021-04-14T07:29:11.000Z
# Generated by Django 3.1.3 on 2020-12-05 14:13 import cloudinary.models from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('hood', '0003_neighbourhood_photo'), ] operations = [ migrations.RemoveField( model_name='neighbourhood', ...
23.833333
108
0.61014
56
572
6.125
0.660714
0.093294
0.12828
0.151604
0.180758
0
0
0
0
0
0
0.05314
0.276224
572
23
109
24.869565
0.775362
0.078671
0
0.235294
1
0
0.142857
0.045714
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
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
9eab8f3784f69500ae6b8d8a724b31ebfb25ff64
200,939
py
Python
pyamd_adl/adl_structures_h.py
kdschlosser/ati_radeon
79f8449af8bedc921fd6d3af6cf1615ea6146480
[ "MIT" ]
6
2020-05-27T02:57:53.000Z
2021-11-21T23:56:10.000Z
pyamd_adl/adl_structures_h.py
kdschlosser/ati_radeon
79f8449af8bedc921fd6d3af6cf1615ea6146480
[ "MIT" ]
2
2020-06-23T22:34:58.000Z
2020-07-03T07:21:14.000Z
pyamd_adl/adl_structures_h.py
kdschlosser/ati_radeon
79f8449af8bedc921fd6d3af6cf1615ea6146480
[ "MIT" ]
1
2020-07-14T03:35:03.000Z
2020-07-14T03:35:03.000Z
# -*- coding: utf-8 -*- # # *********************************************************************************** # MIT License # # Copyright (c) 2020 Kevin G. Schlosser # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"),...
34.35442
115
0.643678
19,886
200,939
6.185206
0.118324
0.015935
0.020488
0.025025
0.47037
0.398702
0.337816
0.296409
0.266531
0.209099
0
0.008576
0.158003
200,939
5,848
116
34.360294
0.718411
0.437929
0
0.160088
0
0
0.421738
0.277639
0
0
0
0
0.000313
1
0.00188
false
0.050439
0.001253
0.000627
0.090226
0
0
0
0
null
0
0
0
0
0
0
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
9eab92135535a8af96911b6e62b8e7d7c7003e65
20,140
py
Python
Code/binarytree.py
siko408/CS-1.3-Core-Data-Structures
4277c7c026b4aa38510f83f37c19b21ea64828a2
[ "MIT" ]
null
null
null
Code/binarytree.py
siko408/CS-1.3-Core-Data-Structures
4277c7c026b4aa38510f83f37c19b21ea64828a2
[ "MIT" ]
4
2020-02-17T23:16:41.000Z
2020-03-10T08:56:27.000Z
Code/binarytree.py
siko408/CS-1.3-Core-Data-Structures
4277c7c026b4aa38510f83f37c19b21ea64828a2
[ "MIT" ]
null
null
null
#!python from collections import deque class User(object): def __init__(self, age, testscore): self.age = age self.testscore = testscore def getAge(self): return self.age def getTestScore(self): return self.testscore class BinaryTreeNode(object): def __init__(self,...
42.4
112
0.597567
2,699
20,140
4.378659
0.090774
0.034439
0.033001
0.031139
0.684211
0.628871
0.565239
0.519885
0.477323
0.439584
0
0.006314
0.323684
20,140
474
113
42.489451
0.861317
0.406653
0
0.438202
0
0
0.029954
0
0
0
0
0.056962
0
1
0.123596
false
0
0.003745
0.007491
0.292135
0.067416
0
0
0
null
0
0
0
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
9eac7bf8ed12b49a06e6ccbea53001a0f69bfebe
6,415
py
Python
python/evaluate_keywords.py
bmilde/ambientsearch
74bf83a313e19da54a4e44158063041f981424c9
[ "Apache-2.0" ]
20
2016-04-30T11:24:45.000Z
2021-11-09T10:39:25.000Z
python/evaluate_keywords.py
bmilde/ambientsearch
74bf83a313e19da54a4e44158063041f981424c9
[ "Apache-2.0" ]
1
2020-09-23T13:36:58.000Z
2020-09-23T13:36:58.000Z
python/evaluate_keywords.py
bmilde/ambientsearch
74bf83a313e19da54a4e44158063041f981424c9
[ "Apache-2.0" ]
8
2015-10-07T13:40:36.000Z
2019-08-07T06:45:24.000Z
import nltk import codecs import os import numpy as np from collections import defaultdict def data_directory(): return os.path.join(os.path.dirname(os.path.abspath(__file__)), 'data') stemmer = nltk.stem.PorterStemmer() manual_dir = os.path.join(data_directory(), 'manual_keywords_merged') eval_dir = os.path.joi...
46.824818
294
0.660951
825
6,415
4.930909
0.166061
0.053097
0.046706
0.029499
0.408063
0.326942
0.264995
0.22001
0.175762
0.175762
0
0.020975
0.175058
6,415
136
295
47.169118
0.747732
0.082619
0
0
0
0
0.288583
0.029947
0
0
0
0
0
0
null
null
0
0.051546
null
null
0.123711
0
0
0
null
0
0
0
0
0
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
9eae33efd21e718d57917c7ab56b956c8645aa38
2,721
py
Python
automates/apps/automates/model_code/sir_simple.py
rsulli55/automates
1647a8eef85c4f03086a10fa72db3b547f1a0455
[ "Apache-2.0" ]
17
2018-12-19T16:32:38.000Z
2021-10-05T07:58:15.000Z
automates/apps/automates/model_code/sir_simple.py
rsulli55/automates
1647a8eef85c4f03086a10fa72db3b547f1a0455
[ "Apache-2.0" ]
183
2018-12-20T17:03:01.000Z
2022-02-23T22:21:42.000Z
automates/apps/automates/model_code/sir_simple.py
rsulli55/automates
1647a8eef85c4f03086a10fa72db3b547f1a0455
[ "Apache-2.0" ]
5
2019-01-04T22:37:49.000Z
2022-01-19T17:34:16.000Z
def drive(start, end, step, parameters): step_results = { "P:sir.out.S": list(), "P:sir.out.I": list(), "P:sir.out.R": list(), "P:sir.in.dt": list(), } S = parameters["P:sir.in.S"] I = parameters["P:sir.in.I"] R = parameters["P:sir.in.R"] for i in range(start, e...
32.011765
84
0.507902
326
2,721
4.220859
0.171779
0.037791
0.087209
0.145349
0.707849
0.681686
0.607558
0.607558
0.607558
0.607558
0
0.000554
0.336273
2,721
84
85
32.392857
0.761351
0.186696
0
0
0
0
0.145436
0
0
0
0
0
0
1
0.064516
false
0
0
0
0.129032
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9eaeedb4052e38ee608ae6b224a2afd4c4228244
1,835
py
Python
assistant/shipping/forms.py
kapiak/ware_prod
ae61256890834c434d2e38cc2ccacf00b638665a
[ "MIT" ]
null
null
null
assistant/shipping/forms.py
kapiak/ware_prod
ae61256890834c434d2e38cc2ccacf00b638665a
[ "MIT" ]
null
null
null
assistant/shipping/forms.py
kapiak/ware_prod
ae61256890834c434d2e38cc2ccacf00b638665a
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth import get_user_model from django.forms import formset_factory from .models import ShipmentLine, ShipmentPiece, ShippingMethod from assistant.orders.models import LineItem User = get_user_model() class ShipmentForm(forms.Form): def __init__(self, *args, **kwargs...
39.042553
98
0.711717
215
1,835
5.916279
0.27907
0.051887
0.078616
0.09827
0.319969
0.277516
0.277516
0.277516
0.224057
0
0
0
0.149864
1,835
46
99
39.891304
0.815385
0
0
0.117647
0
0
0.06812
0
0
0
0
0
0
1
0.088235
false
0.029412
0.147059
0
0.558824
0
0
0
0
null
0
0
0
0
0
0
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
9eb524183f4f8a258049dbce0b38859277d0bb18
638
py
Python
scripts/pir.py
marcorosa/XiaomiPI-Doorbell
d17bbcff36a539baf3cffbd649b9ac7d3ecb6f64
[ "MIT" ]
1
2019-10-26T09:54:24.000Z
2019-10-26T09:54:24.000Z
scripts/pir.py
marcorosa/XiaomiPI-Doorbell
d17bbcff36a539baf3cffbd649b9ac7d3ecb6f64
[ "MIT" ]
null
null
null
scripts/pir.py
marcorosa/XiaomiPI-Doorbell
d17bbcff36a539baf3cffbd649b9ac7d3ecb6f64
[ "MIT" ]
null
null
null
import time from pyA20.gpio import gpio from pyA20.gpio import port led = port.PA6 pir = port.PA1 gpio.init() gpio.setcfg(led, gpio.OUTPUT) gpio.setcfg(pir, gpio.INPUT) try: while True: i = gpio.input(pir) if i == 0: # When output from motion sensor is LOW print "No intruders ", i ...
23.62963
62
0.592476
93
638
4.064516
0.430108
0.10582
0.103175
0.100529
0.148148
0.148148
0
0
0
0
0
0.029545
0.310345
638
26
63
24.538462
0.829545
0.158307
0
0.181818
0
0
0.06391
0
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.136364
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9eb7dbcf8749cc8e192d81be9673eefcf7e53dcb
10,899
py
Python
auth/models.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
auth/models.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
auth/models.py
shagun30/djambala-2
06f14e3dd237d7ebf535c62172cfe238c3934f4d
[ "BSD-3-Clause" ]
null
null
null
from django.core import validators from django.core.exceptions import ImproperlyConfigured from django.db import backend, connection, models from django.contrib.contenttypes.models import ContentType from django.utils.translation import gettext_lazy as _ from django.utils.encoding import smart_str import datetime from...
38.786477
144
0.652262
1,362
10,899
5.063877
0.270191
0.020734
0.013919
0.0058
0.189938
0.150355
0.111063
0.076265
0.069595
0.053067
0
0.009667
0.231214
10,899
280
145
38.925
0.813462
0.239839
0
0.242775
0
0
0.172852
0.01011
0
0
0
0
0
1
0.190751
false
0.104046
0.092486
0.052023
0.589595
0
0
0
0
null
0
0
0
0
0
0
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
9eba4ce8e20e99f03131bcfd334dee5a419e7c5e
3,389
py
Python
recipes/Python/310320_webcounter/recipe-310320.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/310320_webcounter/recipe-310320.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/310320_webcounter/recipe-310320.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
#!/usr/bin/python -u # 2004/10/15 #v1.0.0 # webcounter.py # A very simple webcounter. # Copyright Michael Foord # You are free to modify, use and relicense this code. # No warranty express or implied for the accuracy, fitness to purpose or otherwise for this code.... # Use at your own risk !!! # For information abo...
27.778689
126
0.600767
395
3,389
5.131646
0.546835
0.0222
0.02664
0
0
0
0
0
0
0
0
0.011596
0.236648
3,389
121
127
28.008264
0.771937
0.293597
0
0.185185
0
0
0.109013
0.029842
0
0
0
0.008264
0
0
null
null
0
0.074074
null
null
0.037037
0
0
0
null
0
0
0
0
0
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
9ebc76934e47d601cfcaf7c4bfdefd72750d6121
1,027
py
Python
diventi/ebooks/migrations/0092_auto_20200315_1201.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
2
2019-06-27T16:00:17.000Z
2020-08-14T07:46:05.000Z
diventi/ebooks/migrations/0092_auto_20200315_1201.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
26
2020-02-15T22:39:35.000Z
2022-02-19T21:09:01.000Z
diventi/ebooks/migrations/0092_auto_20200315_1201.py
flavoi/diven
3173ca3ca3fbedc191b8eab3639a6bceb3c442c4
[ "Apache-2.0" ]
1
2021-11-12T22:30:15.000Z
2021-11-12T22:30:15.000Z
# Generated by Django 2.2.10 on 2020-03-15 11:01 import ckeditor.fields from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('ebooks', '0091_auto_20200315_1201'), ] operations = [ migrations.AddField( model_name='section', ...
29.342857
95
0.598832
101
1,027
5.960396
0.425743
0.109635
0.106312
0.13289
0.554817
0.554817
0.493355
0.415282
0.415282
0.415282
0
0.046133
0.282376
1,027
34
96
30.205882
0.770692
0.044791
0
0.464286
1
0
0.123596
0.023493
0
0
0
0
0
1
0
false
0
0.071429
0
0.178571
0
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
9ebfcfc5a44397ee6a60590cb7bd6976c5e59e75
1,661
py
Python
passpie/validators.py
bcfurtado/passpie
421c40a57ad5f55e3f14b323c929a2c41dfb5527
[ "MIT" ]
700
2015-05-02T20:58:37.000Z
2022-01-20T18:49:17.000Z
passpie/validators.py
bcfurtado/passpie
421c40a57ad5f55e3f14b323c929a2c41dfb5527
[ "MIT" ]
108
2015-05-02T02:56:39.000Z
2021-07-01T21:46:10.000Z
passpie/validators.py
bcfurtado/passpie
421c40a57ad5f55e3f14b323c929a2c41dfb5527
[ "MIT" ]
72
2015-05-03T02:50:24.000Z
2021-06-09T03:38:51.000Z
import click from .history import clone from . import config def validate_remote(ctx, param, value): if value: try: remote, branch = value.split('/') return (remote, branch) except ValueError: raise click.BadParameter('remote need to be in format <remote>/<bran...
36.911111
92
0.624925
180
1,661
5.722222
0.4
0.092233
0.097087
0.084466
0.075728
0.04466
0
0
0
0
0
0.003314
0.273329
1,661
44
93
37.75
0.850041
0.051174
0
0.142857
0
0
0.101209
0
0
0
0
0
0.057143
1
0.085714
false
0.057143
0.085714
0
0.257143
0
0
0
0
null
0
0
0
0
0
0
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
9ec0369ddd86662110a6c6ca3af0d23b36cec461
7,403
py
Python
pymterm/client/ssh_client.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
102
2016-07-21T06:39:02.000Z
2022-03-09T19:34:03.000Z
pymterm/client/ssh_client.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
2
2017-01-11T13:43:34.000Z
2020-01-19T12:06:47.000Z
pymterm/client/ssh_client.py
stonewell/pymterm
af36656d5f7fb008533178d14b00d83d72ba00cf
[ "MIT" ]
4
2020-03-22T04:08:35.000Z
2021-06-27T23:38:02.000Z
from binascii import hexlify import getpass import logging import os import paramiko def agent_auth(transport, username): """ Attempt to authenticate to the given transport using any of the private keys available from an SSH agent. """ agent = paramiko.Agent() agent_keys = age...
31.502128
139
0.583952
834
7,403
4.980815
0.166667
0.032017
0.041165
0.054165
0.41767
0.337747
0.207992
0.139143
0.112662
0.088589
0
0.0002
0.323517
7,403
234
140
31.636752
0.829273
0.022288
0
0.39548
0
0
0.084777
0
0
0
0
0
0
1
0.079096
false
0.158192
0.028249
0.011299
0.19774
0.00565
0
0
0
null
0
0
0
0
0
0
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
9ec15319424ddc682d183aa4d53ceddb0ec8aa79
3,045
py
Python
i2b2model/data/i2b2encountermapping.py
BD2KOnFHIR/i2b2model
566be446f4b8691f8d82d5d04b7635248aba6041
[ "Apache-2.0" ]
1
2019-12-05T18:25:00.000Z
2019-12-05T18:25:00.000Z
i2b2model/data/i2b2encountermapping.py
BD2KOnFHIR/i2b2model
566be446f4b8691f8d82d5d04b7635248aba6041
[ "Apache-2.0" ]
3
2020-04-13T14:37:47.000Z
2020-04-14T16:58:09.000Z
i2b2model/data/i2b2encountermapping.py
BD2KOnFHIR/i2b2model
566be446f4b8691f8d82d5d04b7635248aba6041
[ "Apache-2.0" ]
null
null
null
from typing import Optional, List, Tuple from dynprops import Local, Parent from i2b2model.shared.i2b2core import I2B2CoreWithUploadId from i2b2model.sqlsupport.dbconnection import I2B2Tables class EncounterIDEStatus: class EncounterIDEStatusCode: def __init__(self, code: str) -> None: self....
37.592593
109
0.68867
342
3,045
5.853801
0.248538
0.083916
0.044955
0.026973
0.16983
0.16983
0.058941
0.058941
0.058941
0.058941
0
0.010349
0.238424
3,045
80
110
38.0625
0.852954
0.187849
0
0.061224
0
0
0.039468
0
0
0
0
0
0
1
0.122449
false
0
0.081633
0.020408
0.612245
0
0
0
0
null
0
0
0
0
0
0
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
7b35a12141c715e5723d45ed5f066e771b359c4c
836
py
Python
conftest.py
zaman-lab/trumpmeter-py
f4e28971d65224bd0dd93171aa9288f743714738
[ "MIT" ]
1
2019-11-19T22:42:45.000Z
2019-11-19T22:42:45.000Z
conftest.py
zaman-lab/trumpmeter-py
f4e28971d65224bd0dd93171aa9288f743714738
[ "MIT" ]
5
2019-10-22T16:08:10.000Z
2019-11-22T23:00:13.000Z
conftest.py
zaman-lab/trumpmeter-py
f4e28971d65224bd0dd93171aa9288f743714738
[ "MIT" ]
1
2019-11-22T23:39:48.000Z
2019-11-22T23:39:48.000Z
EXAMPLE_TWEETS = [ "Trump for President!!! #MAGA", "Trump is the best ever!", "RT @someuser: Trump is, by far, the best POTUS in history. \n\nBonus: He^s friggin^ awesome!\n\nTrump gave Pelosi and the Dems the ultimate\u2026 ", "If Clinton is elected, I'm moving to Canada", "Trump is doing a great ...
46.444444
153
0.69378
132
836
4.386364
0.636364
0.072539
0.034542
0.037997
0.086356
0.086356
0.086356
0
0
0
0
0.006079
0.212919
836
17
154
49.176471
0.87386
0
0
0
0
0.071429
0.858683
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7b3c1ac7020bf2699aaea1cde4b9f4553aa571bb
947
py
Python
color_cat.py
justy989/vim-code-review
133118403dd7852b09a4339d923b29968e31524e
[ "MIT" ]
null
null
null
color_cat.py
justy989/vim-code-review
133118403dd7852b09a4339d923b29968e31524e
[ "MIT" ]
null
null
null
color_cat.py
justy989/vim-code-review
133118403dd7852b09a4339d923b29968e31524e
[ "MIT" ]
null
null
null
#!/usr/bin/python3 import sys ansi_colors={'{black}' : "\033[0;30m" , '{dgray}' : "\033[1;30m" , '{red}' : "\033[0;31m" , '{lred}' : "\033[1;31m" , '{green}' : "\033[0;32m" , '{lgreen}' : "\033[1;32m" , '{orange}' : "\033[0;33m" , '{yellow}' : "\033[1;33m" , ...
33.821429
71
0.420275
118
947
3.347458
0.466102
0.081013
0.075949
0
0
0
0
0
0
0
0
0.163297
0.321014
947
27
72
35.074074
0.451011
0.017951
0
0
0
0
0.331539
0
0
0
0
0
0
1
0.047619
false
0
0.047619
0
0.142857
0.095238
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
7b407c9dc28f98ca5dffa9acd42514a29b734722
1,682
py
Python
web/src/application/urls.py
RightToResearch/django-opencon2016-app
8f8deb5ee61ed5ebd22a6eb7c0cf2d9a7ea01f1c
[ "MIT" ]
2
2016-11-16T06:05:43.000Z
2017-07-17T13:36:20.000Z
web/src/application/urls.py
RightToResearch/django-opencon2016-app
8f8deb5ee61ed5ebd22a6eb7c0cf2d9a7ea01f1c
[ "MIT" ]
null
null
null
web/src/application/urls.py
RightToResearch/django-opencon2016-app
8f8deb5ee61ed5ebd22a6eb7c0cf2d9a7ea01f1c
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls import url from django.views.generic.base import RedirectView from . import views from .models import Institution, Organization urlpatterns = [ # #todo -- instead of hard-coded `url='/apply/'` use a reference to the view name (reverse_lazy?) url(r'^$', Re...
48.057143
102
0.6522
210
1,682
5.104762
0.342857
0.041045
0.05597
0.033582
0.063433
0.063433
0.063433
0.063433
0.063433
0.063433
0
0.009104
0.151011
1,682
34
103
49.470588
0.741597
0.055886
0
0.129032
0
0.064516
0.314196
0.230284
0
0
0
0.029412
0
1
0
false
0
0.16129
0
0.16129
0
0
0
0
null
0
0
0
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
7b40d52ca9aec38727abb0a00eef288cb465a1c1
727
py
Python
Module01/AdvFunctions/DictParams.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
Module01/AdvFunctions/DictParams.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
Module01/AdvFunctions/DictParams.py
fenglihanxiao/Python
872baf3a3a5ee42740161152605ca2b1ddf4cd30
[ "MIT" ]
null
null
null
""" 1. Use for position param, variable params, keyword argument """ def test(a, b, *args, m=1, n=2): print(a) print(b) print(args) print(m) print(n) test(1, 2, 3, 4, 5) print() test(1, 2, 3, 4, 5, m=10, n=20) print() """ 1. Use **kwargs for dict on keyword arguments """ def foo(**kwargs): ...
17.309524
64
0.525447
124
727
3.080645
0.290323
0.04712
0.086387
0.031414
0.316754
0.316754
0.282723
0.230366
0.230366
0.172775
0
0.086879
0.224209
727
41
65
17.731707
0.590426
0.151307
0
0.666667
0
0
0
0
0
0
0
0
0
1
0.148148
false
0
0
0
0.148148
0.666667
0
0
0
null
0
0
0
0
0
0
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
7b4b56365d501c3c7ac759c54ebebfdbfada1851
3,414
py
Python
startrek-py/startrek/port/gate.py
moky/wormhole
bbfcfce13eb0ee86f8bb006deb7a3881173352c2
[ "MIT" ]
5
2020-05-24T03:35:00.000Z
2021-06-05T00:27:54.000Z
startrek-py/startrek/port/gate.py
moky/wormhole
bbfcfce13eb0ee86f8bb006deb7a3881173352c2
[ "MIT" ]
null
null
null
startrek-py/startrek/port/gate.py
moky/wormhole
bbfcfce13eb0ee86f8bb006deb7a3881173352c2
[ "MIT" ]
2
2020-09-11T05:29:11.000Z
2022-03-13T15:45:22.000Z
# -*- coding: utf-8 -*- # # Star Trek: Interstellar Transport # # Written in 2021 by Moky <albert.moky@gmail.com> # # ============================================================================== # MIT License # # Copyright (c) 2021 Albert Moky # # Permission is hereby granted, free of...
31.321101
114
0.647335
392
3,414
5.622449
0.413265
0.039927
0.021779
0.032668
0.122958
0.1098
0.079855
0.079855
0.058984
0.058984
0
0.004983
0.235794
3,414
108
115
31.611111
0.839785
0.53925
0
0.257143
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.171429
0
0.657143
0
0
0
0
null
0
0
0
0
0
0
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
7b509471f631e0d10b738a3099dd8b28e343723c
1,805
py
Python
src/property_app/views/index.py
almostprod/property-app
2e9dc6c64e7fd91d287fc95e513fa3ab1079fa54
[ "Apache-2.0" ]
2
2020-03-03T16:52:31.000Z
2020-03-17T21:35:30.000Z
src/property_app/views/index.py
amcclosky/property-app
9afb0210739955ff19bfcb477acdbd07521ce851
[ "Apache-2.0" ]
1
2021-05-11T16:54:56.000Z
2021-05-11T16:54:56.000Z
src/property_app/views/index.py
amcclosky/property-app
9afb0210739955ff19bfcb477acdbd07521ce851
[ "Apache-2.0" ]
1
2020-05-04T06:39:35.000Z
2020-05-04T06:39:35.000Z
from __future__ import annotations from pydantic import BaseModel, Field, ValidationError from pydantic import EmailStr, SecretStr from passlib.apps import custom_app_context from starlette.authentication import requires from property_app.lib.inertia import InertiaRequest, InertiaHTTPEndpoint from property_app.mode...
31.666667
86
0.616066
179
1,805
6.044693
0.47486
0.046211
0.060074
0.033272
0
0
0
0
0
0
0
0
0.294183
1,805
56
87
32.232143
0.849294
0
0
0
0
0
0.077008
0
0
0
0
0
0
1
0.05
false
0.075
0.2
0.025
0.45
0
0
0
0
null
0
0
0
0
0
0
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
7b54b678be8e62e3ff318ad53347d8475b369a7a
1,587
py
Python
otcore/lex/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
null
null
null
otcore/lex/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
2
2017-10-30T21:19:07.000Z
2017-10-31T18:06:30.000Z
otcore/lex/models.py
NYULibraries/dlts-enm-tct-backend
07455a660fb2cb8bc91a54f7f12d150923678157
[ "Apache-2.0" ]
null
null
null
from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from django.core.cache import cache from otcore.settings import otcore_settings class StopWord(models.Model): """ Stop words will be discarded and will not be transformed into tokens. """ ...
27.842105
90
0.710775
189
1,587
5.809524
0.407407
0.03643
0.021858
0.043716
0.056466
0.056466
0
0
0
0
0
0.010023
0.182735
1,587
56
91
28.339286
0.836546
0.062382
0
0.121212
0
0
0.054221
0
0
0
0
0
0
1
0.121212
false
0.030303
0.151515
0.060606
0.69697
0
0
0
0
null
0
0
0
0
0
0
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
7b65c25d540845bed8e8545e2953724752f75289
3,316
py
Python
iter_app/src/iter_app_tools/primitives/ur_direct.py
Wisc-HCI/ITER
2ae8a5f0ae17783db4db25198ec0d97e72cd7296
[ "MIT" ]
1
2021-04-07T15:54:44.000Z
2021-04-07T15:54:44.000Z
iter_app/src/iter_app_tools/primitives/ur_direct.py
Wisc-HCI/ITER
2ae8a5f0ae17783db4db25198ec0d97e72cd7296
[ "MIT" ]
null
null
null
iter_app/src/iter_app_tools/primitives/ur_direct.py
Wisc-HCI/ITER
2ae8a5f0ae17783db4db25198ec0d97e72cd7296
[ "MIT" ]
null
null
null
''' Primitives UR Direct Author: Curt Henrichs Date: 8-9-19 Task primitives for runner implemented using direct UR control This interface circumvents IK solvers on ROS machine, instead utilizing internal UR controller's solver. ''' import rospy from enum import Enum from std_msgs.msg import Header from iter_app_too...
30.990654
148
0.70386
373
3,316
6.029491
0.319035
0.039129
0.019564
0.035571
0.337039
0.206314
0.206314
0.16185
0.16185
0.16185
0
0.003422
0.206876
3,316
106
149
31.283019
0.851711
0.077805
0
0.205882
0
0
0.08459
0
0
0
0
0
0
1
0.161765
false
0.014706
0.117647
0.058824
0.632353
0
0
0
0
null
0
0
0
0
0
0
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
7b6a1170f611dd4537257b9da96e8a4ededb47fb
4,352
py
Python
processing/views.py
Nivocse/notam
2bfd1088caf00ec6cabce3d2b183ef466930a8bb
[ "MIT" ]
null
null
null
processing/views.py
Nivocse/notam
2bfd1088caf00ec6cabce3d2b183ef466930a8bb
[ "MIT" ]
null
null
null
processing/views.py
Nivocse/notam
2bfd1088caf00ec6cabce3d2b183ef466930a8bb
[ "MIT" ]
null
null
null
import io, csv import requests import datetime from . import util from django.shortcuts import render, redirect from django.urls import reverse_lazy from django.views import View from django.http import JsonResponse from django.views.generic import FormView, ListView, CreateView, UpdateView, DeleteView from django.co...
31.536232
116
0.700368
547
4,352
5.413163
0.285192
0.023641
0.057751
0.059102
0.319487
0.291793
0.268153
0.253968
0.232692
0.195542
0
0.01171
0.15625
4,352
138
117
31.536232
0.794662
0
0
0.259615
0
0.009615
0.162187
0.018378
0
0
0
0
0
1
0.048077
false
0
0.144231
0.009615
0.519231
0
0
0
0
null
0
0
0
0
0
0
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
7b6baf8fd35b934ec683b89cdc31e6ba773d7222
10,823
py
Python
empowermentexploration/resources/littlealchemy/gametrees.py
franziskabraendle/alchemy_empowerment
83655daff99ea5dbada196fdf7ae21781cbb241e
[ "MIT" ]
null
null
null
empowermentexploration/resources/littlealchemy/gametrees.py
franziskabraendle/alchemy_empowerment
83655daff99ea5dbada196fdf7ae21781cbb241e
[ "MIT" ]
null
null
null
empowermentexploration/resources/littlealchemy/gametrees.py
franziskabraendle/alchemy_empowerment
83655daff99ea5dbada196fdf7ae21781cbb241e
[ "MIT" ]
null
null
null
import json import empowermentexploration.utils.data_handle as data_handle class Gametrees(): """Class functions generate Little Alchemy game trees. """ def __init__(self): """Initializes game tree class. """ def get_alchemy1_gametree(self): """Gets game tree of Little Alchem...
47.056522
173
0.632265
1,179
10,823
5.682782
0.135708
0.034478
0.042537
0.069851
0.638806
0.549552
0.496418
0.436418
0.376418
0.350149
0
0.009686
0.265453
10,823
229
174
47.262009
0.833082
0.152546
0
0.338462
1
0
0.171202
0.094745
0
0
0
0
0
1
0.038462
false
0
0.015385
0
0.061538
0.030769
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
7b70bb5f347a209e7ecb427d689947c5ef56c1a6
26,480
py
Python
src/createIndividualSection.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
1
2020-11-12T06:32:26.000Z
2020-11-12T06:32:26.000Z
src/createIndividualSection.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
null
null
null
src/createIndividualSection.py
dentearl/assemblAnalysis
c8524456dff720d37356c55d7640687415bc1df6
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ createIndividualSection.py dent earl dearl(a) soe ucsc edu used in the assemblathon report project to create the Individual Section part of the report. output is latex Creates a subsection for each assembly, shows info about the assembly, creates links to images for the assembly. generall...
48.766114
804
0.604721
3,150
26,480
5.074921
0.148254
0.005505
0.006193
0.006756
0.559114
0.513011
0.477543
0.451895
0.443075
0.427186
0
0.013367
0.259781
26,480
542
805
48.856089
0.802204
0.060423
0
0.412804
0
0.022075
0.368806
0.060118
0
0
0
0
0
0
null
null
0
0.013245
null
null
0.326711
0
0
0
null
0
0
0
0
0
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
7b75c6a4bee110bd6dd178443d19f3e5017b6059
915
py
Python
FlaskAPI/flask_env/Lib/site-packages/notebook/auth/tests/test_security.py
VivanVatsa/ds-salary-proj
b78b5498d2e3326799cae445ba47d6e6a5637ccb
[ "MIT" ]
76
2020-07-06T14:44:05.000Z
2022-02-14T15:30:21.000Z
FlaskAPI/flask_env/Lib/site-packages/notebook/auth/tests/test_security.py
VivanVatsa/ds-salary-proj
b78b5498d2e3326799cae445ba47d6e6a5637ccb
[ "MIT" ]
11
2020-08-09T02:30:14.000Z
2022-03-12T00:50:14.000Z
FlaskAPI/flask_env/Lib/site-packages/notebook/auth/tests/test_security.py
VivanVatsa/ds-salary-proj
b78b5498d2e3326799cae445ba47d6e6a5637ccb
[ "MIT" ]
11
2020-06-29T08:40:24.000Z
2022-02-24T17:39:16.000Z
# coding: utf-8 from ..security import passwd, passwd_check import nose.tools as nt def test_passwd_structure(): p = passwd('passphrase') algorithm, hashed = p.split(':') nt.assert_equal(algorithm, 'argon2') nt.assert_true(hashed.startswith('$argon2id$')) def test_roundtrip(): p = passwd('passphra...
32.678571
73
0.691803
130
915
4.776923
0.415385
0.141707
0.10467
0.122383
0.334944
0.334944
0.334944
0.334944
0.334944
0
0
0.081501
0.155191
915
27
74
33.888889
0.711514
0.029508
0
0.238095
0
0
0.252262
0.160633
0
0
0
0
0.380952
1
0.190476
false
0.571429
0.095238
0
0.285714
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7b7c208aedd985c68725a6782f0b14cc21f17d7d
4,416
py
Python
applications/NeurIPS2018/computeArea.py
anmarques/CLoVER
71996b3cda3e91ecd9696d89d6a088215062e203
[ "MIT" ]
4
2019-05-14T09:47:02.000Z
2019-07-30T07:50:45.000Z
applications/NeurIPS2018/computeArea.py
anmarques/CLoVER
71996b3cda3e91ecd9696d89d6a088215062e203
[ "MIT" ]
null
null
null
applications/NeurIPS2018/computeArea.py
anmarques/CLoVER
71996b3cda3e91ecd9696d89d6a088215062e203
[ "MIT" ]
1
2021-01-07T17:26:26.000Z
2021-01-07T17:26:26.000Z
''' This code is part of the software CLoVER.py ---------------------------------------------------------------------- Postprocessing of results computed by multiModalExample_NeurIPS2019.py Compute area of region where multi-information source surrogate is positive. Compute error with respect to reference result -----...
34.5
168
0.484828
500
4,416
4.258
0.444
0.008455
0.0155
0.039455
0.074213
0.074213
0.074213
0.074213
0.026303
0.026303
0
0.046536
0.133832
4,416
127
169
34.771654
0.510065
0.262002
0
0.086957
0
0
0.080132
0.007684
0
0
0
0
0
0
null
null
0
0.130435
null
null
0.028986
0
0
0
null
0
0
0
0
0
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
7b83e9a55a150bea37159d280112dff37ec52088
4,105
py
Python
munimap/grid/refs.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
2
2022-02-07T13:20:45.000Z
2022-02-14T21:40:06.000Z
munimap/grid/refs.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
4
2021-06-17T07:53:53.000Z
2021-12-17T10:55:48.000Z
munimap/grid/refs.py
MrSnyder/bielefeldGEOCLIENT
17c78b43fc2055d23a1bc4b5091da164756bf767
[ "Apache-2.0" ]
2
2021-06-01T09:41:55.000Z
2022-02-14T17:33:33.000Z
__all__ = ['reduce_refs', 'group_refs'] def format_refs(refs, labels=None): if len(refs) == 1: return refstr(*refs[0], labels=labels) else: return refstr(*refs[0], labels=labels) + '-' + refstr(*refs[1], labels=labels) DEFAULT_LABELS = ( 'A B C D E F G H I J K L M N O P Q R S T U V W X Y Z...
26.146497
86
0.498417
568
4,105
3.505282
0.214789
0.035158
0.012054
0.006027
0.153692
0.112506
0.083375
0
0
0
0
0.030569
0.362485
4,105
156
87
26.314103
0.730225
0.034592
0
0.165049
0
0.009709
0.021433
0
0
0
0
0
0
0
null
null
0
0
null
null
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b8a22dc7de3c1dff8d8b80e1de0c2174110a00e
4,642
py
Python
openai_ros/src/openai_ros/task_envs/turtlebot3/turtlebot3_world.py
suresh-guttikonda/openai-rosbot-env
e34a5843c8218ae733ee4e0d3ccecdf13ccafd87
[ "Apache-2.0" ]
null
null
null
openai_ros/src/openai_ros/task_envs/turtlebot3/turtlebot3_world.py
suresh-guttikonda/openai-rosbot-env
e34a5843c8218ae733ee4e0d3ccecdf13ccafd87
[ "Apache-2.0" ]
null
null
null
openai_ros/src/openai_ros/task_envs/turtlebot3/turtlebot3_world.py
suresh-guttikonda/openai-rosbot-env
e34a5843c8218ae733ee4e0d3ccecdf13ccafd87
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 import rospy from openai_ros.robot_envs import turtlebot3_env from gym import spaces import numpy as np class TurtleBot3WorldEnv(turtlebot3_env.TurtleBot3Env): """ TurtleBot3WorldEnv class is an implementation for general turtlebot3 task """ def __init__(self, name_space: s...
32.461538
107
0.613529
544
4,642
4.873162
0.277574
0.058846
0.044134
0.057714
0.330819
0.270464
0.231234
0.105621
0.073934
0.040739
0
0.011343
0.297286
4,642
142
108
32.690141
0.801349
0.202284
0
0.21875
0
0
0.060294
0.006176
0
0
0
0.014085
0
1
0.109375
false
0.015625
0.0625
0
0.21875
0
0
0
0
null
0
0
0
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
7b8b4177dff4a22a785396ae2971b0e2b501ae56
382
py
Python
fdm-devito-notebooks/A_formulas/src-formulas/sympy_sin_wphase.py
devitocodes/devito_book
30405c3d440a1f89df69594fd0704f69650c1ded
[ "CC-BY-4.0" ]
7
2020-07-17T13:19:15.000Z
2021-03-27T05:21:09.000Z
fdm-devito-notebooks/A_formulas/src-formulas/sympy_sin_wphase.py
devitocodes/devito_book
30405c3d440a1f89df69594fd0704f69650c1ded
[ "CC-BY-4.0" ]
73
2020-07-14T15:38:52.000Z
2020-09-25T11:54:59.000Z
fdm-devito-notebooks/A_formulas/src-formulas/sympy_sin_wphase.py
devitocodes/devito_book
30405c3d440a1f89df69594fd0704f69650c1ded
[ "CC-BY-4.0" ]
1
2021-03-27T05:21:14.000Z
2021-03-27T05:21:14.000Z
from sympy import * t, a, Q, w = symbols('t a A w', positive=True, real=True) u = Q*exp(-a*t)*sin(w*t) dudt = diff(u, t) dudt factor(dudt) simplify(dudt) # Alternative, manually derived expression phi = atan(-a/w) A = Q*sqrt(a**2 + w**2) dudt2 = exp(-a*t)*A*cos(w*t - phi) simplify(expand_trig(dudt2)) simplify(expand...
20.105263
57
0.651832
74
382
3.337838
0.472973
0.024292
0.040486
0.186235
0
0
0
0
0
0
0
0.018634
0.157068
382
18
58
21.222222
0.748447
0.146597
0
0
0
0
0.021672
0
0
0
0
0
0
1
0
false
0
0.071429
0
0.071429
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
7b93a7f845aaca1c13ae331f2401eeb1a77b0022
19,809
py
Python
authkit/users/sqlalchemy_04_driver.py
bobrock/AuthKit
ba82501d9dff699be9eef33266aecd03d016cec2
[ "MIT" ]
null
null
null
authkit/users/sqlalchemy_04_driver.py
bobrock/AuthKit
ba82501d9dff699be9eef33266aecd03d016cec2
[ "MIT" ]
null
null
null
authkit/users/sqlalchemy_04_driver.py
bobrock/AuthKit
ba82501d9dff699be9eef33266aecd03d016cec2
[ "MIT" ]
1
2020-06-24T19:20:13.000Z
2020-06-24T19:20:13.000Z
"""\ This module provides an implementation of an SQLAlchemy 0.4 driver for use with the SQLAlchemyManager middleware. Ordinarily you will probably want to use the ``authkit.users.sqlalchemy_driver`` module which is designed to be used with Pylons 0.9.7 and automatically uses the correct driver for the version of S...
39.777108
122
0.591398
2,350
19,809
4.891915
0.1
0.053149
0.034795
0.043493
0.551148
0.506437
0.455898
0.408751
0.384395
0.365344
0
0.001945
0.299056
19,809
497
123
39.857143
0.825999
0.243324
0
0.397993
0
0
0.067985
0
0
0
0
0
0
1
0.113712
false
0.050167
0.013378
0.013378
0.227425
0
0
0
0
null
0
0
0
0
0
0
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
7b9878b451d3ce451b2932424c1c30b02c0da556
584
py
Python
tpr.py
abinashmeher999/typing-pattern-recognition
e4dc8b0b3a40d7b18843b5ddb9cc18f816a4177e
[ "MIT" ]
3
2016-08-07T07:03:57.000Z
2020-04-13T05:57:26.000Z
tpr.py
abinashmeher999/typing-pattern-recognition
e4dc8b0b3a40d7b18843b5ddb9cc18f816a4177e
[ "MIT" ]
null
null
null
tpr.py
abinashmeher999/typing-pattern-recognition
e4dc8b0b3a40d7b18843b5ddb9cc18f816a4177e
[ "MIT" ]
null
null
null
from scipy.spatial.distance import mahalanobis as mlnbs_dist import numpy as np import sys class NNMDetector: def __init__(self, train_data): print "td", train_data sys.stdout.flush() self.train_data = train_data self.cov_mat = np.cov(np.transpose(train_data)) def anomaly_scor...
29.2
84
0.678082
81
584
4.604938
0.45679
0.144772
0.104558
0
0
0
0
0
0
0
0
0
0.239726
584
20
85
29.2
0.84009
0
0
0.125
0
0
0.003419
0
0
0
0
0
0
0
null
null
0
0.1875
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
7b99c437e489197785b471bca098f100d8d7e89a
402
py
Python
python/slack-hook-pid/slack_pid.py
joaodartora/devops-sandbox
b52450ab4ae3a5defff241920d0226e8c5c03064
[ "MIT" ]
1
2020-01-13T17:24:27.000Z
2020-01-13T17:24:27.000Z
python/slack-hook-pid/slack_pid.py
joaodartora/devops-sandbox
b52450ab4ae3a5defff241920d0226e8c5c03064
[ "MIT" ]
null
null
null
python/slack-hook-pid/slack_pid.py
joaodartora/devops-sandbox
b52450ab4ae3a5defff241920d0226e8c5c03064
[ "MIT" ]
1
2020-09-02T08:15:45.000Z
2020-09-02T08:15:45.000Z
# Script to send a list of all running processes to a slack channel # Need to configure your OAuth Access Token and your channel name import os import slack client = slack.WebClient({insert here your OAuth Access Token}) aux = os.popen('ps -o pid,comm -A') message = aux.read() response = client.chat...
25.125
67
0.708955
59
402
4.813559
0.677966
0.06338
0.105634
0.140845
0
0
0
0
0
0
0
0
0.20398
402
15
68
26.8
0.8875
0.320896
0
0
0
0
0.114815
0
0
0
0
0
0.111111
0
null
null
0
0.222222
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
7b9bb9969e5ca88adf910673297607f78aa46c9c
2,681
py
Python
src/amqp-examples/hello-service.py
vert-x3/vertx-amqp-service
4f9296b0f5771da2a0a14ef37b2abb469623d2b8
[ "Apache-2.0" ]
3
2015-07-03T08:42:16.000Z
2015-12-04T23:23:45.000Z
src/amqp-examples/hello-service.py
vert-x3/vertx-amqp-service
4f9296b0f5771da2a0a14ef37b2abb469623d2b8
[ "Apache-2.0" ]
11
2015-06-04T16:59:37.000Z
2021-06-08T14:39:20.000Z
src/amqp-examples/hello-service.py
vert-x3/vertx-amqp-service
4f9296b0f5771da2a0a14ef37b2abb469623d2b8
[ "Apache-2.0" ]
4
2015-03-19T02:23:53.000Z
2017-08-07T23:25:48.000Z
#!/usr/bin/env python # # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "...
37.236111
110
0.709437
353
2,681
5.31728
0.458924
0.031966
0.013852
0.017048
0
0
0
0
0
0
0
0.005566
0.195822
2,681
71
111
37.760563
0.865028
0.288325
0
0
0
0
0.134463
0.01747
0
0
0
0
0
0
null
null
0
0.139535
null
null
0.046512
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
7b9ce15e2cf6ecce88ca108ac33fa44a4faf9caa
1,785
py
Python
backend/twilio_serv.py
aminecs/safetynet
06d99924e5e4d226b5a5428adda900886f3ae683
[ "Apache-2.0" ]
null
null
null
backend/twilio_serv.py
aminecs/safetynet
06d99924e5e4d226b5a5428adda900886f3ae683
[ "Apache-2.0" ]
null
null
null
backend/twilio_serv.py
aminecs/safetynet
06d99924e5e4d226b5a5428adda900886f3ae683
[ "Apache-2.0" ]
null
null
null
import os from twilio.rest import Client def generate_message(name, time_since_event, address): return 'Hi, I am Debra, the Automated Assistant.\n'\ f'{name.capitalize()} just fell down {time_since_event} seconds ago.\n'\ f'Please come to {address}' def send_message(message, dest_number=''): ...
29.262295
80
0.639776
218
1,785
5.027523
0.37156
0.063869
0.082117
0.069343
0.304745
0.304745
0.237226
0.237226
0.237226
0.237226
0
0.006565
0.231933
1,785
60
81
29.75
0.792852
0.340616
0
0.275862
1
0
0.233621
0.035345
0
0
0
0
0
1
0.103448
false
0
0.068966
0.034483
0.206897
0.068966
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
7ba458b48452959f378bbf3856ddab654e7da067
388
py
Python
main.py
sametz/secondorder
ad07f003f2045a474312abfe1510a382ae20d3aa
[ "MIT" ]
null
null
null
main.py
sametz/secondorder
ad07f003f2045a474312abfe1510a382ae20d3aa
[ "MIT" ]
null
null
null
main.py
sametz/secondorder
ad07f003f2045a474312abfe1510a382ae20d3aa
[ "MIT" ]
null
null
null
"""The main routine for the secondorder app, to be run from the command line.""" import tkinter as tk from secondorder.controller.controller import Controller root = tk.Tk() root.title('secondorder') app = Controller(root) # workaround fix for Tk problems and mac mouse/trackpad: while True: try: root.m...
20.421053
80
0.706186
51
388
5.372549
0.666667
0.10219
0
0
0
0
0
0
0
0
0
0
0.213918
388
18
81
21.555556
0.898361
0.335052
0
0
0
0
0.043651
0
0
0
0
0
0
1
0
false
0.090909
0.181818
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
7ba63469344f8792e2934fe40f97c14c210f69fd
328
py
Python
4/test_day_4.py
ophusdev/advent-of-code_2020
c66cc25539df263f766209b70dffd96fef2d66f6
[ "MIT" ]
null
null
null
4/test_day_4.py
ophusdev/advent-of-code_2020
c66cc25539df263f766209b70dffd96fef2d66f6
[ "MIT" ]
null
null
null
4/test_day_4.py
ophusdev/advent-of-code_2020
c66cc25539df263f766209b70dffd96fef2d66f6
[ "MIT" ]
null
null
null
import unittest from day_4 import DayFour class TestDayFour(unittest.TestCase): def test_part_one(self): day_four = DayFour() self.assertEqual(day_four.part_one(), 206, "Should be 206") self.assertEqual(day_four.part_two(), 123, "Should be 123") if __name__ == '__main__': unittest...
19.294118
67
0.679878
44
328
4.704545
0.545455
0.101449
0.173913
0.21256
0.251208
0
0
0
0
0
0
0.049808
0.204268
328
16
68
20.5
0.743295
0
0
0
0
0
0.103659
0
0
0
0
0
0.222222
1
0.111111
false
0
0.222222
0
0.444444
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
7bac9e466e65a266bafc5ae96ef5e3663631e7e1
2,356
py
Python
eventarc/audit-storage/main.py
jitkasem-pdt/python-docs-samples
1849c647d3e0d25763a1d3ba63084c8d6f3e692e
[ "Apache-2.0" ]
null
null
null
eventarc/audit-storage/main.py
jitkasem-pdt/python-docs-samples
1849c647d3e0d25763a1d3ba63084c8d6f3e692e
[ "Apache-2.0" ]
null
null
null
eventarc/audit-storage/main.py
jitkasem-pdt/python-docs-samples
1849c647d3e0d25763a1d3ba63084c8d6f3e692e
[ "Apache-2.0" ]
null
null
null
# Copyright 2020 Google, LLC. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, ...
33.183099
82
0.697368
331
2,356
4.803625
0.504532
0.037736
0.042767
0.020126
0.084277
0.040252
0.040252
0
0
0
0
0.011579
0.193548
2,356
70
83
33.657143
0.825263
0.510611
0
0
0
0
0.161175
0.024043
0
0
0
0.014286
0
1
0.033333
false
0
0.1
0
0.166667
0.033333
0
0
0
null
0
0
0
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
7bb0e9701f9b8cc2fb73b59cc28ad9e5510333ab
8,347
py
Python
trove/guestagent/datastore/experimental/db2/manager.py
zhujzhuo/openstack-trove
e9d073762732ba405828fd54c86a27dcac95cd25
[ "Apache-2.0" ]
null
null
null
trove/guestagent/datastore/experimental/db2/manager.py
zhujzhuo/openstack-trove
e9d073762732ba405828fd54c86a27dcac95cd25
[ "Apache-2.0" ]
null
null
null
trove/guestagent/datastore/experimental/db2/manager.py
zhujzhuo/openstack-trove
e9d073762732ba405828fd54c86a27dcac95cd25
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 IBM Corp # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); you may # not use this file except in compliance with the License. You may obtain # a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed...
39.747619
76
0.687073
1,006
8,347
5.552684
0.232604
0.038668
0.078768
0.09488
0.235768
0.167741
0.138382
0.128715
0.128715
0.084318
0
0.004023
0.22571
8,347
209
77
39.937799
0.860282
0.148197
0
0.147059
0
0
0.128827
0.003611
0
0
0
0
0
1
0.213235
false
0.036765
0.058824
0
0.330882
0
0
0
0
null
0
0
0
0
0
0
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
7bb1ff405dd809ef68fccd0e7163ea42ffb35c7e
1,883
py
Python
luncher/meals/forms.py
kawazaki0/luncher-django
99ab89957af5d7e555498f14fdabe5d410893d29
[ "MIT" ]
null
null
null
luncher/meals/forms.py
kawazaki0/luncher-django
99ab89957af5d7e555498f14fdabe5d410893d29
[ "MIT" ]
null
null
null
luncher/meals/forms.py
kawazaki0/luncher-django
99ab89957af5d7e555498f14fdabe5d410893d29
[ "MIT" ]
null
null
null
import pendulum from django.forms import Form, IntegerField, ValidationError from luncher.meals import usecase from .models import Meal, UserOrder class OrderMealForm(Form): chosen_meals = None user = None def __init__(self, *args, **kwargs): self.user = kwargs.pop('user') super(OrderMea...
36.921569
111
0.640998
239
1,883
4.874477
0.41841
0.061803
0.051502
0.029185
0
0
0
0
0
0
0
0.004292
0.257568
1,883
50
112
37.66
0.829041
0.043548
0
0
0
0
0.084029
0
0
0
0
0.02
0
1
0.108108
false
0
0.108108
0
0.351351
0
0
0
0
null
0
0
0
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
7bb34da2dc8c61166a7700c5cdd562ca34af6cf3
3,448
py
Python
esppy/transformers.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/transformers.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
esppy/transformers.py
PetreStegaroiu/python-esppy
d43781e94ad9236916901eeb3737d0b1b18d797a
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 # # Copyright SAS Institute # # Licensed under the Apache License, Version 2.0 (the License); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
25.731343
82
0.615139
441
3,448
4.768707
0.294785
0.045649
0.034237
0.038516
0.471707
0.453638
0.453638
0.453638
0.453638
0.453638
0
0.007241
0.279002
3,448
133
83
25.924812
0.838697
0.507251
0
0.439024
0
0
0.009511
0
0
0
0
0
0
1
0.121951
false
0
0.170732
0.04878
0.512195
0.02439
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
7bc1cbed907e13a18e5d0bea56cf4072af28343d
465
py
Python
librarian-prototype/librarian/test_schedule.py
jeffbass/yin-yang-ranch
234a3120d4f134a65ab8f064fb5805a436874498
[ "MIT" ]
79
2018-06-24T07:31:26.000Z
2022-02-06T01:10:15.000Z
librarian-prototype/librarian/test_schedule.py
jeffbass/yin-yang-ranch
234a3120d4f134a65ab8f064fb5805a436874498
[ "MIT" ]
6
2018-08-28T09:47:40.000Z
2022-02-24T20:18:24.000Z
librarian-prototype/librarian/test_schedule.py
jeffbass/yin-yang-ranch
234a3120d4f134a65ab8f064fb5805a436874498
[ "MIT" ]
20
2018-06-28T19:10:23.000Z
2022-03-01T06:37:36.000Z
# test schedule at("time" ) order # question: if at("time") has already passed when job is scheduled, is it run # right away or not? # import schedule from time import sleep from datetime import datetime def job(n): print('Running job', n, 'at', datetime.now().isoformat()) schedule.every().day.at("22:38").do(job,...
24.473684
77
0.67957
78
465
4.038462
0.551282
0.12381
0.152381
0.171429
0.190476
0
0
0
0
0
0
0.040302
0.146237
465
18
78
25.833333
0.753149
0.270968
0
0
0
0
0.083832
0
0
0
0
0
0
1
0.090909
false
0
0.272727
0
0.363636
0.090909
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
7bcba7abd04c5b09047d1e059bd5bafddd931383
2,171
py
Python
Name_Tests.py
areelillmind/vfx_naming_utils
2ee3e573d53273b9fbdb31c65d74db1cef745b60
[ "MIT" ]
null
null
null
Name_Tests.py
areelillmind/vfx_naming_utils
2ee3e573d53273b9fbdb31c65d74db1cef745b60
[ "MIT" ]
null
null
null
Name_Tests.py
areelillmind/vfx_naming_utils
2ee3e573d53273b9fbdb31c65d74db1cef745b60
[ "MIT" ]
null
null
null
#### Test names=[ 'SHOW_RL01_000_000_comp_v001_0001_brighter.nk', 'CRAP_EP03_020_090_comp_v027_9991.nk', 'TC2_EP09_179_44A_roto_v109_0023.nk', 'SB06_EP10_018_010_comp_v003.nk', 'bollocks', 'SB06_EP10_018_010_comp_.nk', 'SB06_EP10_018_010_v003.nk', 'SB06_EP10_018_010_v003_optionA.nk', 'BG6_004_0150_comp_v005.nk...
32.893939
168
0.650852
290
2,171
4.624138
0.375862
0.077554
0.101417
0.09396
0.645787
0.61745
0.587621
0.587621
0.524981
0.524981
0
0.074052
0.234915
2,171
65
169
33.4
0.733293
0.00783
0
0.538462
0
0.057692
0.506288
0.117373
0
0
0
0
0
0
null
null
0.038462
0
null
null
0.230769
0
0
0
null
0
0
0
0
0
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
7bcc99da5b9fe4bb180f2a5ac14c7ba2b237ae6a
2,634
py
Python
bips/service/demos/dicomconvert.py
INCF/BrainImagingPipelines
28448086d661e729d56a97f19f949a3623da9b05
[ "Apache-2.0" ]
12
2015-01-16T06:46:11.000Z
2022-03-17T00:09:17.000Z
bips/service/demos/dicomconvert.py
akeshavan/BrainImagingPipelines
39915b5a313d049a0bb3ccd3a82a9a83e1241b11
[ "Apache-2.0" ]
3
2015-05-13T17:50:52.000Z
2017-12-26T13:54:48.000Z
bips/service/demos/dicomconvert.py
akeshavan/BrainImagingPipelines
39915b5a313d049a0bb3ccd3a82a9a83e1241b11
[ "Apache-2.0" ]
6
2016-03-29T02:09:28.000Z
2021-10-10T22:52:07.000Z
from glob import glob import os import string from tempfile import mkdtemp from dcmstack import parse_and_stack, NiftiWrapper def sanitize_path_comp(path_comp): result = [] for char in path_comp: if not char in string.letters + string.digits + '-_.': result.append('_') else: ...
32.518519
87
0.568337
338
2,634
4.257396
0.349112
0.038221
0.020848
0.019458
0.025017
0
0
0
0
0
0
0.005643
0.327259
2,634
80
88
32.925
0.806433
0
0
0.068493
0
0
0.042702
0
0
0
0
0
0
0
null
null
0
0.09589
null
null
0.068493
0
0
0
null
0
0
0
0
0
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
7bcd0ffb2de27d8fd9f116dbfd6306649102a0e8
475
py
Python
sotaai/neuro/nearai_wrapper.py
stateoftheartai/sotaai
1d01a385f115c567ad55eb10bdae16c1437978a1
[ "MIT" ]
23
2021-05-23T09:32:36.000Z
2021-12-22T16:44:21.000Z
sotaai/neuro/nearai_wrapper.py
stateoftheartai/sotaai
1d01a385f115c567ad55eb10bdae16c1437978a1
[ "MIT" ]
null
null
null
sotaai/neuro/nearai_wrapper.py
stateoftheartai/sotaai
1d01a385f115c567ad55eb10bdae16c1437978a1
[ "MIT" ]
1
2021-08-19T22:37:18.000Z
2021-08-19T22:37:18.000Z
# -*- coding: utf-8 -*- # Author: Tonio Teran <tonio@stateoftheart.ai> # Copyright: Stateoftheart AI PBC 2021. '''NEAR AI's library wrapper. Dataset information taken from: ''' SOURCE_METADATA = { 'name': 'nearai', 'original_name': 'NEAR Program Synthesis', 'url': 'https://github.com/nearai/program_synthe...
23.75
63
0.665263
56
475
5.571429
0.696429
0.153846
0
0
0
0
0
0
0
0
0
0.012438
0.153684
475
19
64
25
0.763682
0.347368
0
0
0
0
0.468439
0
0
0
0
0
0
1
0.125
false
0
0
0.125
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
0
0
1
0
0
0
1
c86f7829138b96dec9bc1ebadce61a515d5d1911
4,581
py
Python
vraySceneExport.py
mangopipeline/exportNodesAsVrayScene
e4acd1aa22497d60f172ef96d8e5338308b5b519
[ "MIT" ]
null
null
null
vraySceneExport.py
mangopipeline/exportNodesAsVrayScene
e4acd1aa22497d60f172ef96d8e5338308b5b519
[ "MIT" ]
1
2017-04-11T09:48:01.000Z
2017-04-11T09:48:01.000Z
vraySceneExport.py
mangopipeline/exportNodesAsVrayScene
e4acd1aa22497d60f172ef96d8e5338308b5b519
[ "MIT" ]
null
null
null
''' Vray Scene Object Export By Carlos Anguiano Mangosoft LLC carlos@mangopipleine.com http://mangopipleine.com convinance method for exporting objects in maya to a vray scene regardless of visiblity ''' from maya import cmds,mel import os def attrListToDic(attrList): #combinaince methods for quickly ...
36.070866
154
0.630648
556
4,581
5.160072
0.381295
0.053677
0.056117
0.03137
0.03625
0
0
0
0
0
0
0.002425
0.279852
4,581
127
155
36.070866
0.867232
0.163501
0
0.108108
0
0
0.321645
0.224418
0
0
0
0
0
0
null
null
0
0.040541
null
null
0.054054
0
0
0
null
0
0
0
0
0
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
c8746e989b83131ae6f0594871ca60f93951759c
1,088
py
Python
mmdet/datasets/pipelines/__init__.py
MSiam/video_class_agnostic_segmentation
c4614fe675e8a5352012f603c15bc24fb43d690c
[ "Apache-2.0" ]
15
2021-03-30T07:01:52.000Z
2022-02-24T06:35:27.000Z
mmdet/datasets/pipelines/__init__.py
MSiam/video_class_agnostic_segmentation
c4614fe675e8a5352012f603c15bc24fb43d690c
[ "Apache-2.0" ]
1
2021-06-29T11:32:14.000Z
2021-06-29T14:18:32.000Z
mmdet/datasets/pipelines/__init__.py
MSiam/video_class_agnostic_segmentation
c4614fe675e8a5352012f603c15bc24fb43d690c
[ "Apache-2.0" ]
3
2021-05-11T13:48:45.000Z
2021-11-12T01:21:28.000Z
from .compose import Compose from .formating import (Collect, ImageToTensor, ToDataContainer, ToTensor, Transpose, to_tensor) from .loading import LoadAnnotations, LoadImageFromFile, LoadRefImageFromFile, LoadProposals from .test_aug import MultiScaleFlipAug from .transforms import (Expand, MinI...
49.454545
92
0.674632
69
1,088
10.536232
0.492754
0.077029
0.099037
0
0
0
0
0
0
0
0
0
0.227022
1,088
21
93
51.809524
0.864447
0
0
0
0
0
0.292279
0.066176
0
0
0
0
0
1
0
false
0
0.25
0
0.25
0
0
0
1
null
0
0
0
0
0
0
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
c875e7926fa0dc51b4126020d7d0d47488285ea1
134
py
Python
examples/hello.py
Ccode-lang/py-compiler
f2e4863ae302a1454459edd7e9f7c71d5e2685d3
[ "MIT" ]
2
2021-06-11T21:08:41.000Z
2021-07-22T11:47:43.000Z
examples/hello.py
Ccode-lang/py-compiler
f2e4863ae302a1454459edd7e9f7c71d5e2685d3
[ "MIT" ]
null
null
null
examples/hello.py
Ccode-lang/py-compiler
f2e4863ae302a1454459edd7e9f7c71d5e2685d3
[ "MIT" ]
null
null
null
#!/usr/bin/python inp = input(">> ") print(inp) count = 0 while True: print("hi") count += 1 if count == 3: break
13.4
18
0.514925
19
134
3.631579
0.789474
0
0
0
0
0
0
0
0
0
0
0.031915
0.298507
134
10
19
13.4
0.702128
0.119403
0
0
0
0
0.042373
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
c8865193655dd3b51bef00a8914d80909d927259
3,036
py
Python
cross_correlation.py
kevinlacaille/Transient-Cross-Correlation-Method
3cc8ab184aef06e6b41591a92754c559ebbffc70
[ "MIT" ]
2
2019-01-31T21:53:57.000Z
2021-03-04T22:24:41.000Z
cross_correlation.py
kevinlacaille/Transient-Cross-Correlation-Method
3cc8ab184aef06e6b41591a92754c559ebbffc70
[ "MIT" ]
null
null
null
cross_correlation.py
kevinlacaille/Transient-Cross-Correlation-Method
3cc8ab184aef06e6b41591a92754c559ebbffc70
[ "MIT" ]
null
null
null
#- #MIT License # #Copyright (c) 2017 Kevin M. Lacaille <kevinlacaille@physics.mcmaster.ca> # #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 th...
37.02439
154
0.752635
485
3,036
4.692784
0.468041
0.038664
0.014499
0.012302
0.012302
0
0
0
0
0
0
0.015318
0.161397
3,036
81
155
37.481481
0.878633
0.695323
0
0
0
0
0.23042
0.162316
0
0
0
0
0
0
null
null
0
0.190476
null
null
0.095238
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c89288e89f438e954116cc407b5ed9bc7b1e2062
9,759
py
Python
ptdun/ptdun/custom1.py
jof2jc/ptdun
8fc371449c82f9ee5ecd5169d985ee867e7b85f1
[ "MIT" ]
null
null
null
ptdun/ptdun/custom1.py
jof2jc/ptdun
8fc371449c82f9ee5ecd5169d985ee867e7b85f1
[ "MIT" ]
null
null
null
ptdun/ptdun/custom1.py
jof2jc/ptdun
8fc371449c82f9ee5ecd5169d985ee867e7b85f1
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright (c) 2015, jonathan and Contributors # See license.txt from __future__ import unicode_literals import frappe from frappe import _ from frappe.utils import flt, cstr from frappe.desk.reportview import get_match_cond, get_filters_cond from frappe.utils import nowdate # test_records = f...
42.246753
150
0.69628
1,684
9,759
3.799881
0.065321
0.037506
0.048758
0.035005
0.746835
0.693077
0.654321
0.621503
0.593374
0.561181
0
0.029246
0.166103
9,759
231
151
42.246753
0.757066
0.082078
0
0.490446
0
0.11465
0.321549
0.017676
0
0
0
0
0
0
null
null
0
0.038217
null
null
0.019108
0
0
0
null
0
0
0
0
0
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
c8931aed9fa45e10b36a027017c2e41d70d634df
911
py
Python
src/ascii_tarot/read.py
deanpoulos/ASCIITarot
0f15c81b238273953ed1734aa6cf3618b6489f8e
[ "MIT" ]
null
null
null
src/ascii_tarot/read.py
deanpoulos/ASCIITarot
0f15c81b238273953ed1734aa6cf3618b6489f8e
[ "MIT" ]
null
null
null
src/ascii_tarot/read.py
deanpoulos/ASCIITarot
0f15c81b238273953ed1734aa6cf3618b6489f8e
[ "MIT" ]
null
null
null
import json import os import textwrap import pkg_resources from ascii_tarot.rng import quantum_rng from ascii_tarot import cards_dict as cards from ascii_tarot import greetings_dict as greetings def main(): """ # load list of cards with open(f"assets/cards.json") as f: cards = json.load(f) w...
23.973684
60
0.634468
132
911
4.25
0.378788
0.048128
0.074866
0.071301
0.121212
0.121212
0.121212
0.121212
0.121212
0.121212
0
0.005722
0.232711
911
37
61
24.621622
0.796853
0.257958
0
0.2
0
0
0.166667
0.05919
0
0
0
0
0
1
0.05
false
0
0.35
0
0.4
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
c8953d9460e065c4a486782c98f7bebfc128323c
7,425
py
Python
tests/Region_unit_tests.py
JIC-CSB/jicbioimage.segment
289e5ab834913326a097e57bea458ea0737efb0c
[ "MIT" ]
null
null
null
tests/Region_unit_tests.py
JIC-CSB/jicbioimage.segment
289e5ab834913326a097e57bea458ea0737efb0c
[ "MIT" ]
null
null
null
tests/Region_unit_tests.py
JIC-CSB/jicbioimage.segment
289e5ab834913326a097e57bea458ea0737efb0c
[ "MIT" ]
null
null
null
import unittest import numpy as np class RegionTestCase(unittest.TestCase): def test_force_dtype(self): from jicbioimage.segment import Region test_array = np.array([[0, 1, 1], [0, 0, 1], [0, 0, 0]]) region = Region(test_arr...
32.282609
69
0.404848
873
7,425
3.328751
0.058419
0.125258
0.126979
0.123882
0.73331
0.683758
0.653131
0.611838
0.609085
0.60702
0
0.100025
0.468148
7,425
229
70
32.423581
0.635857
0
0
0.6
0
0
0
0
0
0
0
0
0.133333
1
0.09697
false
0
0.109091
0
0.212121
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c8a48591adff71f29e835c1fc07707e318cab937
5,253
py
Python
calla/model.py
xiaojieluo/undefined
ffdbfe108bd9d7f8589d9178177647563b504474
[ "Apache-2.0" ]
1
2018-02-25T03:13:11.000Z
2018-02-25T03:13:11.000Z
calla/model.py
xiaojieluo/undefined
ffdbfe108bd9d7f8589d9178177647563b504474
[ "Apache-2.0" ]
1
2022-02-10T15:23:10.000Z
2022-02-10T15:23:10.000Z
calla/model.py
xiaojieluo/undefined
ffdbfe108bd9d7f8589d9178177647563b504474
[ "Apache-2.0" ]
null
null
null
from peewee import * import time import os from calla.article import Article as Article_ import peewee import json from playhouse.shortcuts import model_to_dict import datetime db_path = os.path.join(os.getcwd(), 'calla.db') db = SqliteDatabase(db_path, pragmas = ( # 开启 sqlite3 外键 ('foreign_keys', 'on'), ...
25.5
105
0.559109
585
5,253
4.94188
0.288889
0.04981
0.01937
0.019716
0.193359
0.161882
0.120374
0.05742
0.033207
0
0
0.002218
0.313345
5,253
205
106
25.62439
0.799279
0.118218
0
0.228346
0
0
0.030762
0
0
0
0
0
0
1
0.102362
false
0.023622
0.062992
0
0.519685
0.007874
0
0
0
null
0
0
0
0
0
0
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
c8a7c8ba98fc2da61d821aa903d9aaadf5e12efd
7,740
py
Python
code/socialDistribution/models/author.py
CMPUT404F21TEAM/social-distribution
c6775bfa3bf93025d426bc4601431128a51d4c48
[ "W3C-20150513" ]
null
null
null
code/socialDistribution/models/author.py
CMPUT404F21TEAM/social-distribution
c6775bfa3bf93025d426bc4601431128a51d4c48
[ "W3C-20150513" ]
173
2021-09-30T00:12:03.000Z
2021-12-09T00:32:46.000Z
code/socialDistribution/models/author.py
CMPUT404F21TEAM/social-distribution
c6775bfa3bf93025d426bc4601431128a51d4c48
[ "W3C-20150513" ]
3
2021-12-09T01:27:49.000Z
2022-03-11T06:04:16.000Z
from django.db import models from django.contrib.auth.models import User from django.utils import timezone import datetime import uuid from cmput404.constants import API_BASE, STRING_MAXLEN, URL_MAXLEN from .follow import Follow class Author(models.Model): """ Author model which represents all authors. ...
38.316832
139
0.645478
1,014
7,740
4.83432
0.265286
0.014688
0.011424
0.019584
0.164627
0.135863
0.082823
0.055488
0.03876
0.023256
0
0.005648
0.267959
7,740
201
140
38.507463
0.859513
0.407494
0
0.121212
0
0
0.053
0.006304
0
0
0
0
0
1
0.171717
false
0.010101
0.070707
0.020202
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c8ada0e3f46213cb41394c646294f4119c794766
1,823
py
Python
crawlframe/cores/crawlers/__init__.py
chenxinqun/crawlframe
3cc671c34591fce447d0f1542dd7bcef3c0478b6
[ "Apache-2.0" ]
1
2019-06-25T05:58:50.000Z
2019-06-25T05:58:50.000Z
crawlframe/cores/crawlers/__init__.py
chenxinqun/crawlframe
3cc671c34591fce447d0f1542dd7bcef3c0478b6
[ "Apache-2.0" ]
1
2019-04-07T10:48:44.000Z
2019-04-07T10:48:44.000Z
crawlframe/cores/crawlers/__init__.py
chenxinqun/crawlframe
3cc671c34591fce447d0f1542dd7bcef3c0478b6
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python3 # -*- coding: utf-8 -*- ''' @File : __init__.py @Author: ChenXinqun @Date : 2019/1/18 16:26 ''' from asyncio import sleep from collections import Iterator from crawlframe import configs from crawlframe.utils import queues class BaseCrawler: name = 'BaseCrawler' timeout = configs.sett...
28.484375
112
0.628086
214
1,823
5.023364
0.38785
0.065116
0.065116
0.050233
0.066977
0
0
0
0
0
0
0.012869
0.27537
1,823
63
113
28.936508
0.800908
0.088316
0
0
0
0
0.036375
0.01418
0
0
0
0
0
1
0.121951
false
0
0.097561
0.097561
0.536585
0
0
0
0
null
0
0
0
0
0
0
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
c8b0b596312c08d222f5d28061c1840e432123ab
503
py
Python
frameworks/Lua/leda/setup.py
idlewan/FrameworkBenchmarks
f187ec69752f369d84ef5a262efaef85c3a6a5ab
[ "BSD-3-Clause" ]
4
2015-01-22T02:13:03.000Z
2018-06-13T12:02:46.000Z
frameworks/Lua/leda/setup.py
ratpack/FrameworkBenchmarks
81604309e46e382fe2ffb7970a87d728f20c8be6
[ "BSD-3-Clause" ]
null
null
null
frameworks/Lua/leda/setup.py
ratpack/FrameworkBenchmarks
81604309e46e382fe2ffb7970a87d728f20c8be6
[ "BSD-3-Clause" ]
null
null
null
import subprocess import sys import setup_util import os def start(args, logfile, errfile): subprocess.Popen('leda app.lua', shell=True, cwd="leda", stderr=errfile, stdout=logfile) return 0 def stop(logfile, errfile): p = subprocess.Popen(['ps', 'aux'], stdout=subprocess.PIPE) out, err = p.communicate() ...
20.12
90
0.644135
72
503
4.486111
0.652778
0.086687
0
0
0
0
0
0
0
0
0
0.015345
0.222664
503
24
91
20.958333
0.810742
0
0
0.111111
0
0
0.055666
0
0
0
0
0
0
1
0.111111
false
0.055556
0.222222
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c8b156521c45dd3d8644ecc79a11b0c97c174374
1,356
py
Python
samples/python/40.timex-resolution/language_generation.py
Aliacf21/BotBuilder-Samples
be48548edafd4efdc074f5a59ef2bb3af735ad9a
[ "MIT" ]
1,998
2019-05-07T06:33:22.000Z
2022-03-31T12:59:15.000Z
samples/python/40.timex-resolution/language_generation.py
Aliacf21/BotBuilder-Samples
be48548edafd4efdc074f5a59ef2bb3af735ad9a
[ "MIT" ]
1,526
2020-09-05T18:57:14.000Z
2020-12-03T01:45:40.000Z
samples/python/40.timex-resolution/language_generation.py
stevkan/BotBuilder-Samples
75a21b412d8873906bed3460f7c5f0940a067d58
[ "MIT" ]
2,820
2016-09-21T03:47:43.000Z
2019-05-03T15:12:46.000Z
# Copyright (c) Microsoft Corporation. All rights reserved. # Licensed under the MIT License. import datetime from datatypes_timex_expression import Timex class LanguageGeneration: """ This language generation capabilities are the logical opposite of what the recognizer does. As an experiment try feedin...
39.882353
116
0.720501
161
1,356
5.925466
0.596273
0.095388
0.194969
0.072327
0.201258
0.121593
0.121593
0.121593
0
0
0
0.013749
0.195428
1,356
33
117
41.090909
0.860678
0.399705
0
0.117647
0
0
0.130877
0.081321
0
0
0
0
0
1
0.117647
false
0
0.117647
0
0.294118
0.058824
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1