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
5fcfaad8bf40e8439c10cf404242a1c0426f7905
811
py
Python
rate/forms.py
muneneee/work
b16e273bd8ee626b41cdbb5366013b76ff6c373a
[ "MIT" ]
null
null
null
rate/forms.py
muneneee/work
b16e273bd8ee626b41cdbb5366013b76ff6c373a
[ "MIT" ]
6
2021-03-19T11:22:07.000Z
2022-02-10T12:03:40.000Z
rate/forms.py
muneneee/work
b16e273bd8ee626b41cdbb5366013b76ff6c373a
[ "MIT" ]
null
null
null
from django import forms from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from pyuploadcare.dj.forms import ImageField from .models import Profile,Project class RegisterForm(UserCreationForm): email = forms.EmailField class Meta: model = User ...
18.022222
64
0.663379
85
811
6.317647
0.4
0.067039
0.104283
0.078212
0.212291
0.212291
0.212291
0.212291
0.212291
0.212291
0
0.003205
0.23058
811
45
65
18.022222
0.857372
0
0
0.25
0
0
0.091133
0
0
0
0
0
0
1
0
false
0.041667
0.208333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
5fd3dd6b304091af959dca79e910273fe23c4848
281
py
Python
odd-problems.py
filiptronicek/constants
404b6dbff33cff006d8f38ff08f6a4c2eaa19cdf
[ "MIT" ]
null
null
null
odd-problems.py
filiptronicek/constants
404b6dbff33cff006d8f38ff08f6a4c2eaa19cdf
[ "MIT" ]
null
null
null
odd-problems.py
filiptronicek/constants
404b6dbff33cff006d8f38ff08f6a4c2eaa19cdf
[ "MIT" ]
null
null
null
def isOdd(num): return (num % 2) != 0 for it in range(2, 50000): current = it steps = 0 while current != 1: steps += 1 if isOdd(current): current = (current * 3) + 1 else: current = current / 2 print("*" * steps)
21.615385
39
0.47331
35
281
3.8
0.542857
0.315789
0
0
0
0
0
0
0
0
0
0.08284
0.398577
281
13
40
21.615385
0.704142
0
0
0
0
0
0.003546
0
0
0
0
0
0
1
0.083333
false
0
0
0.083333
0.166667
0.083333
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
39594da58d5adc6e26e660833c705e77d19a503a
1,568
py
Python
train.py
Jayakrishnanju/Malicious
2521184dfa7857ca57b799957852a35a5a67f1c6
[ "MIT" ]
null
null
null
train.py
Jayakrishnanju/Malicious
2521184dfa7857ca57b799957852a35a5a67f1c6
[ "MIT" ]
null
null
null
train.py
Jayakrishnanju/Malicious
2521184dfa7857ca57b799957852a35a5a67f1c6
[ "MIT" ]
null
null
null
import numpy as np from sklearn.ensemble import RandomForestClassifier from sklearn.metrics import accuracy_score, classification_report from sklearn import metrics import joblib labels = [] file = open('TrainingDataset.arff').read() data_list = file.split('\n') data = np.array(data_list) data1 = [i.split(',') fo...
29.037037
103
0.734694
229
1,568
4.917031
0.441048
0.035524
0.039964
0.035524
0
0
0
0
0
0
0
0.058352
0.125638
1,568
53
104
29.584906
0.762947
0.06824
0
0
0
0
0.096088
0.019904
0
0
0
0
0
0
null
null
0
0.243243
null
null
0.189189
0
0
0
null
0
0
0
0
0
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
395aafc8cf4c2b23da903303eeacf8f86eb173ed
781
py
Python
tracker/covid_tracker/management/commands/git_refresh.py
mcdomx/marks-covid-tracker
df4cf1ba201e52d401f48c246f5f3a1b3de64752
[ "MIT" ]
1
2020-08-07T18:19:03.000Z
2020-08-07T18:19:03.000Z
tracker/covid_tracker/management/commands/git_refresh.py
mcdomx/marks-covid-tracker
df4cf1ba201e52d401f48c246f5f3a1b3de64752
[ "MIT" ]
11
2021-06-09T17:46:15.000Z
2022-03-12T00:58:34.000Z
tracker/covid_tracker/management/commands/git_refresh.py
mcdomx/marks-covid-tracker
df4cf1ba201e52d401f48c246f5f3a1b3de64752
[ "MIT" ]
null
null
null
import git import json from django.http import JsonResponse from django.core.management.base import BaseCommand class Command(BaseCommand): """ Trigger a git pull on the COVID dataset. Can be called via `python manage.py git_refresh`. No arguments are supported with this command. """ # def add_argume...
28.925926
140
0.618438
99
781
4.828283
0.666667
0.041841
0.058577
0.07113
0.100418
0
0
0
0
0
0
0.003503
0.268886
781
26
141
30.038462
0.833625
0.418694
0
0
0
0
0.126214
0.053398
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
395c4f4f9aa031ddd1fbd85b034e8c25465ac227
1,336
py
Python
src/prodstats/const.py
la-mar/prodstats
4ff5a6e0b0d6152af2d7e1f3844ede2d33ad4824
[ "MIT" ]
null
null
null
src/prodstats/const.py
la-mar/prodstats
4ff5a6e0b0d6152af2d7e1f3844ede2d33ad4824
[ "MIT" ]
null
null
null
src/prodstats/const.py
la-mar/prodstats
4ff5a6e0b0d6152af2d7e1f3844ede2d33ad4824
[ "MIT" ]
1
2021-01-05T18:58:08.000Z
2021-01-05T18:58:08.000Z
""" Constants """ from util.enums import Enum MCF_TO_BBL_FACTOR: int = 6 LATERAL_DIP_THRESHOLD: int = 85 PEAK_NORM_LIMIT: int = 6 # ---Enums-------------------------------------------------------------------- # class ProdStatRange(str, Enum): FIRST = "first" LAST = "last" PEAKNORM = "peaknorm" ALL =...
20.553846
80
0.586826
190
1,336
3.910526
0.3
0.067295
0.024226
0.026918
0.28533
0
0
0
0
0
0
0.011605
0.226048
1,336
64
81
20.875
0.706963
0.065868
0
0
0
0
0.20904
0
0
0
0
0
0
1
0.022727
false
0
0.022727
0.022727
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
3960308323c371f2b79a1bc04376ec889cbefa84
789
py
Python
CRUD Django/CRUD_Django/exemplo/migrations/0001_initial.py
lucasbguima/Frameworks
da1299b2ed86ec45a140111c643e6171d899cbbb
[ "MIT" ]
null
null
null
CRUD Django/CRUD_Django/exemplo/migrations/0001_initial.py
lucasbguima/Frameworks
da1299b2ed86ec45a140111c643e6171d899cbbb
[ "MIT" ]
null
null
null
CRUD Django/CRUD_Django/exemplo/migrations/0001_initial.py
lucasbguima/Frameworks
da1299b2ed86ec45a140111c643e6171d899cbbb
[ "MIT" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-09 14:44 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Cliente', fields=[ ('id', models.AutoField(...
30.346154
114
0.580482
80
789
5.6625
0.65
0.07947
0.11479
0.15011
0
0
0
0
0
0
0
0.031858
0.283904
789
25
115
31.56
0.769912
0.057034
0
0
1
0
0.079515
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.277778
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3965c2b5a1e4aecdd9261dc0d46c4768fa0cb283
1,481
py
Python
deployment.py
jmcabreira/Dynamic-risk-assessment-system
9ad320b12eb8948345743e403a6a49268de72858
[ "MIT" ]
1
2021-11-01T07:13:18.000Z
2021-11-01T07:13:18.000Z
deployment.py
jmcabreira/Dynamic-risk-assessment-system
9ad320b12eb8948345743e403a6a49268de72858
[ "MIT" ]
null
null
null
deployment.py
jmcabreira/Dynamic-risk-assessment-system
9ad320b12eb8948345743e403a6a49268de72858
[ "MIT" ]
1
2022-01-22T13:57:01.000Z
2022-01-22T13:57:01.000Z
from flask import Flask, session, jsonify, request import pandas as pd import numpy as np import pickle import os from sklearn import metrics from sklearn.model_selection import train_test_split from sklearn.linear_model import LogisticRegression import json import shutil ##################Load config.json and correc...
34.44186
126
0.713707
205
1,481
4.95122
0.360976
0.041379
0.049261
0.055172
0.301478
0.281773
0.256158
0.256158
0.187192
0.187192
0
0.000808
0.164754
1,481
42
127
35.261905
0.819725
0.122215
0
0
0
0.034483
0.216412
0
0
0
0
0
0
1
0.034483
false
0.034483
0.344828
0
0.37931
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
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
3967afce91868f47bdd6abf57819642803f9d4bb
2,990
py
Python
warriors/ftp_warrior.py
alegrey91/legion
c234c54cc6255e744a0cfde9a9d5909263850480
[ "MIT" ]
430
2019-06-10T09:43:39.000Z
2022-03-31T19:46:11.000Z
warriors/ftp_warrior.py
alegrey91/legion
c234c54cc6255e744a0cfde9a9d5909263850480
[ "MIT" ]
10
2019-09-17T15:48:47.000Z
2021-02-17T11:09:59.000Z
warriors/ftp_warrior.py
alegrey91/legion
c234c54cc6255e744a0cfde9a9d5909263850480
[ "MIT" ]
110
2019-06-10T17:22:17.000Z
2022-03-28T03:23:08.000Z
# -*- coding: utf-8 -*- from warriors.warrior import Warrior class Ftp_warrior (Warrior): def __init__(self, host, port, workdir, protocol, intensity, username, ulist, password, plist, notuse, extensions, path, reexec, ipv6, domain, interactive, verbose, executed, exec): Warrior.__init__(self, host, port...
76.666667
210
0.59699
372
2,990
4.669355
0.274194
0.092113
0.092113
0.10593
0.710996
0.676454
0.676454
0.637306
0.589522
0.548071
0
0.003383
0.20903
2,990
38
211
78.684211
0.731078
0.007023
0
0
0
0.035714
0.332996
0.107853
0
0
0
0
0
1
0.035714
false
0.071429
0.035714
0
0.107143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
396d5531fad417def4e58e4e28b5c72caa518773
17,648
py
Python
weekly/api/views.py
llfccc/weekly
4aa096eddfbe150a151194adb84e31947dc15f70
[ "Apache-2.0" ]
2
2017-04-22T11:21:06.000Z
2017-05-24T08:24:35.000Z
weekly/api/views.py
llfccc/weekly
4aa096eddfbe150a151194adb84e31947dc15f70
[ "Apache-2.0" ]
null
null
null
weekly/api/views.py
llfccc/weekly
4aa096eddfbe150a151194adb84e31947dc15f70
[ "Apache-2.0" ]
null
null
null
# coding:utf-8 import os import json import re import StringIO import pandas as pd import datetime from django.views.generic import View from django.http import HttpResponse, FileResponse, Http404 from .models import DevEvent, DevProject, DevEventType from .models import SaleCustomer, SalePhase, SaleTarget, SaleEven...
38.617068
198
0.635369
2,133
17,648
4.988748
0.150961
0.022554
0.038154
0.045484
0.55756
0.51809
0.472042
0.436519
0.418006
0.402218
0
0.007079
0.24762
17,648
457
199
38.617068
0.794321
0.103128
0
0.529412
0
0
0.128405
0.007458
0
0
0
0
0
0
null
null
0
0.071895
null
null
0.013072
0
0
0
null
0
0
0
0
0
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
396d75cc71241433c848ef8a173eccbe8921808c
1,021
py
Python
src/data/data.py
mitchshiotani/led-scoreboard
3dc2d59f734b0561a01caf3f95028df724655ff4
[ "MIT" ]
3
2021-08-21T03:00:56.000Z
2022-01-18T08:10:57.000Z
src/data/data.py
mitchshiotani/led-scoreboard
3dc2d59f734b0561a01caf3f95028df724655ff4
[ "MIT" ]
null
null
null
src/data/data.py
mitchshiotani/led-scoreboard
3dc2d59f734b0561a01caf3f95028df724655ff4
[ "MIT" ]
1
2021-08-21T03:00:58.000Z
2021-08-21T03:00:58.000Z
from src.api.cfb import FootballAPIWrapper as cfb class Data: def __init__(self, config): # cfb module self.cfb = cfb() # Save the parsed config self.config = config # Parse today's date and see if we should use today or yesterday # self.set_current_date() # Flag to determine when to re...
24.902439
106
0.693438
148
1,021
4.540541
0.405405
0.09375
0.066964
0.089286
0.074405
0
0
0
0
0
0
0.006369
0.231146
1,021
40
107
25.525
0.849682
0.252693
0
0
0
0
0
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0.043478
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
397a9f836186a83986f8433999fa161664ee4d9e
299
py
Python
aging/processing/hand_grip_strength_processing.py
Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline
f6913ce4ec1f6aed358ba27fdf575257f712c132
[ "MIT" ]
null
null
null
aging/processing/hand_grip_strength_processing.py
Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline
f6913ce4ec1f6aed358ba27fdf575257f712c132
[ "MIT" ]
null
null
null
aging/processing/hand_grip_strength_processing.py
Deep-Learning-and-Aging/Scalars-based-models-and-XWAS-pipeline
f6913ce4ec1f6aed358ba27fdf575257f712c132
[ "MIT" ]
null
null
null
from .base_processing import read_data """ 46 Hand grip strength (left) 47 Hand grip strength (right) """ def read_hand_grip_strength_data(**kwargs): cols_features = [46, 47] cols_filter = [] instance = [0, 1, 2, 3] return read_data(cols_features, cols_filter, instance, **kwargs)
23
68
0.698997
43
299
4.604651
0.55814
0.121212
0.242424
0
0
0
0
0
0
0
0
0.04898
0.180602
299
12
69
24.916667
0.759184
0
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.166667
0
0.5
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
397cd21c86fd9dcc3dbf20d0547879c7549fbfc4
4,135
py
Python
cp2kmdpy/tests/delete/presented_to_ilja/write_mdinp.py
dejac001/cp2kmdpy
efeeae776adab6de1dc56f141848282a638b0682
[ "MIT" ]
null
null
null
cp2kmdpy/tests/delete/presented_to_ilja/write_mdinp.py
dejac001/cp2kmdpy
efeeae776adab6de1dc56f141848282a638b0682
[ "MIT" ]
null
null
null
cp2kmdpy/tests/delete/presented_to_ilja/write_mdinp.py
dejac001/cp2kmdpy
efeeae776adab6de1dc56f141848282a638b0682
[ "MIT" ]
null
null
null
import signac def write_mdinp(temp,fileout="md.inp"): mdinp = """ &GLOBAL PROJECT iodine RUN_TYPE MD ! limit the runs to 5min WALLTIME ! reduce the amount of IO IOLEVEL LOW &END GLOBAL &FORCE_EVAL METHOD Quickstep STRESS_TENSOR ANALYTICAL &DFT BASIS_SET_FILE_NAME /home/siepmann/singh891/cp2...
23.100559
111
0.649093
580
4,135
4.537931
0.494828
0.013678
0.004559
0.015198
0.037234
0.029635
0.029635
0.029635
0.029635
0.029635
0
0.033367
0.289722
4,135
178
112
23.230337
0.862785
0.013301
0
0.154839
0
0.012903
0.920039
0.026
0
0
0
0
0
1
0.012903
false
0
0.006452
0
0.019355
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
3980b2f44564e3cda876e5e3261d0bf9332138da
803
py
Python
composite/composite.py
mvladk/Design-Patterns-In-Python
1708138036005f49719cf62108a4b046ebc548e7
[ "BSD-3-Clause" ]
1
2020-04-10T09:45:48.000Z
2020-04-10T09:45:48.000Z
composite/composite.py
mvladk/Design-Patterns-In-Python
1708138036005f49719cf62108a4b046ebc548e7
[ "BSD-3-Clause" ]
null
null
null
composite/composite.py
mvladk/Design-Patterns-In-Python
1708138036005f49719cf62108a4b046ebc548e7
[ "BSD-3-Clause" ]
null
null
null
from abc import ABCMeta, abstractmethod class IGraphic(metaclass=ABCMeta): @staticmethod @abstractmethod def print(): """print information""" class Ellipse(IGraphic): def print(self): print("Ellipse") class Circle(IGraphic): def print(self): print("Circle") class Composit...
16.729167
43
0.666252
83
803
6.361446
0.349398
0.060606
0.068182
0.075758
0.094697
0
0
0
0
0
0
0.020668
0.216687
803
47
44
17.085106
0.81876
0.063512
0
0.111111
0
0
0.01752
0
0
0
0
0
0
1
0.222222
false
0
0.037037
0
0.407407
0.296296
0
0
0
null
0
0
0
0
0
0
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
398ddb0f6d064df57d91fcd628abf094be58c14c
602
py
Python
laxy_backend/migrations/0026_auto_20211025_0728.py
MonashBioinformaticsPlatform/laxy
fa9cfc3d9b2738ec0b9f471ddf4a4235cb6eb594
[ "Apache-2.0" ]
1
2020-11-19T15:10:42.000Z
2020-11-19T15:10:42.000Z
laxy_backend/migrations/0026_auto_20211025_0728.py
MonashBioinformaticsPlatform/laxy
fa9cfc3d9b2738ec0b9f471ddf4a4235cb6eb594
[ "Apache-2.0" ]
177
2018-10-28T23:01:24.000Z
2022-02-26T06:35:29.000Z
laxy_backend/migrations/0026_auto_20211025_0728.py
MonashBioinformaticsPlatform/laxy
fa9cfc3d9b2738ec0b9f471ddf4a4235cb6eb594
[ "Apache-2.0" ]
2
2019-03-14T10:06:19.000Z
2020-08-24T19:41:28.000Z
# Generated by Django 2.2.20 on 2021-10-25 07:28 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ("laxy_backend", "0024_auto_20211025_0357"), ] operations = [ migrations.AlterUniqueTogether(name="file", unique_together=set(),), mi...
26.173913
76
0.589701
58
602
5.965517
0.741379
0.046243
0
0
0
0
0
0
0
0
0
0.074766
0.289037
602
22
77
27.363636
0.733645
0.076412
0
0.125
1
0
0.124549
0.041516
0
0
0
0
0
1
0
false
0
0.0625
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
398e4446befda98aeadb5af4eeaad62b3fc5b60f
323
py
Python
03-python/00-template/core/information.py
berczeck/microservices-templates
a1ecf195fdc3e483eea109c8f829f5b671a94ea3
[ "MIT" ]
1
2019-12-29T23:10:14.000Z
2019-12-29T23:10:14.000Z
03-python/00-template/core/information.py
berczeck/microservices-templates
a1ecf195fdc3e483eea109c8f829f5b671a94ea3
[ "MIT" ]
15
2019-12-30T20:39:54.000Z
2020-02-15T21:37:22.000Z
03-python/00-template/core/information.py
berczeck/microservices-templates
a1ecf195fdc3e483eea109c8f829f5b671a94ea3
[ "MIT" ]
2
2020-02-24T12:17:42.000Z
2020-05-14T04:05:58.000Z
class information: def getDetails(): details = { 'name': 'python-microservices-template', 'version': '0.0.4', 'author': 'Jersson Dongo', 'source': 'https://github.com/jersson/microservices-templates', 'license': 'MIT' } return deta...
29.363636
75
0.517028
27
323
6.185185
0.851852
0
0
0
0
0
0
0
0
0
0
0.014019
0.337461
323
11
76
29.363636
0.766355
0
0
0
0
0
0.401235
0.089506
0
0
0
0
0
1
0.1
false
0
0
0
0.3
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
398fb01aa80f3c157990a73fd51f91d9cea8a894
1,188
py
Python
bot/utils.py
kopytjuk/uni-unterkunft
c81664e0070f97f45baa6eaff6a71039a267fd37
[ "MIT" ]
null
null
null
bot/utils.py
kopytjuk/uni-unterkunft
c81664e0070f97f45baa6eaff6a71039a267fd37
[ "MIT" ]
null
null
null
bot/utils.py
kopytjuk/uni-unterkunft
c81664e0070f97f45baa6eaff6a71039a267fd37
[ "MIT" ]
null
null
null
from math import radians, cos, sin, asin, sqrt from functools import wraps import telegram from jinja2 import Environment, FileSystemLoader # load Jinja file_loader = FileSystemLoader("bot/templates/") jinja_env = Environment(loader=file_loader) def send_action(action: telegram.ChatAction): """Sends `action` whi...
31.263158
97
0.675084
157
1,188
5.038217
0.490446
0.020228
0.042984
0.053097
0.126422
0
0
0
0
0
0
0.037838
0.22138
1,188
38
98
31.263158
0.817297
0.220539
0
0
0
0
0.015573
0
0
0
0
0
0
1
0.181818
false
0
0.181818
0
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
3993ba748b821d28887010b95f4929f937715d64
1,623
py
Python
src/touri_mani/scripts/teleop_mani_node.py
sudo-prakhar/touri_ros-1
38ffc7f2f7d3484c7073af248f470f135e11dca6
[ "MIT" ]
null
null
null
src/touri_mani/scripts/teleop_mani_node.py
sudo-prakhar/touri_ros-1
38ffc7f2f7d3484c7073af248f470f135e11dca6
[ "MIT" ]
null
null
null
src/touri_mani/scripts/teleop_mani_node.py
sudo-prakhar/touri_ros-1
38ffc7f2f7d3484c7073af248f470f135e11dca6
[ "MIT" ]
1
2022-03-03T19:25:43.000Z
2022-03-03T19:25:43.000Z
#!/usr/bin/env python """ TouRI Robot Base Code """ __author__ = "Jigar Patel" __mail__ = "jkpatel@andrew.cmu.edu" __copyright__ = "NONE" # ----------------------------------------------------------------------------- import rospy from touri_mani.msg import TeleopMani # from touri_core.touri_instance import t...
32.46
79
0.439926
153
1,623
4.352941
0.418301
0.084084
0.054054
0.033033
0.036036
0.036036
0
0
0
0
0
0.010014
0.138632
1,623
50
80
32.46
0.466381
0.409735
0
0
0
0
0.116897
0.023379
0
0
0
0
0
1
0.08
false
0
0.2
0
0.28
0.12
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
39a29e7d81c10e39d29151fffc2bc2d161609c50
18,901
py
Python
examples/fakegit/fakegit/console/commands/clone.py
GjjvdBurg/wilderness
61724e87a608e0c53a2fea31ba522436d34d4795
[ "MIT" ]
1
2021-11-23T00:55:41.000Z
2021-11-23T00:55:41.000Z
examples/fakegit/fakegit/console/commands/clone.py
GjjvdBurg/wilderness
61724e87a608e0c53a2fea31ba522436d34d4795
[ "MIT" ]
null
null
null
examples/fakegit/fakegit/console/commands/clone.py
GjjvdBurg/wilderness
61724e87a608e0c53a2fea31ba522436d34d4795
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from wilderness.command import Command class CloneCommand(Command): _description = ( "Clones a repository into a newly created directory, creates " "remote-tracking branches for each branch in the cloned repository " "(visible using git branch --remotes), and crea...
45.435096
79
0.54759
2,242
18,901
4.595897
0.233274
0.009899
0.024748
0.016401
0.185365
0.149748
0.110346
0.07007
0.0625
0.060074
0
0.000494
0.356965
18,901
415
80
45.544578
0.847211
0.001111
0
0.261194
0
0.027363
0.63555
0.045881
0
0
0
0
0
1
0.007463
false
0.002488
0.002488
0
0.019901
0.004975
0
0
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
39a2cb2a00093746d7f006368c3ff9c767419929
1,543
py
Python
app/main/migrations/0004_auto_20201119_2027.py
bireme/impact-measurement
528922e36929d4be7b53d3123f39af21ad4ee622
[ "MIT", "Python-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
app/main/migrations/0004_auto_20201119_2027.py
bireme/impact-measurement
528922e36929d4be7b53d3123f39af21ad4ee622
[ "MIT", "Python-2.0", "Apache-2.0", "BSD-3-Clause" ]
30
2019-10-24T18:44:17.000Z
2021-12-29T16:15:35.000Z
app/main/migrations/0004_auto_20201119_2027.py
bireme/impact-measurement
528922e36929d4be7b53d3123f39af21ad4ee622
[ "MIT", "Python-2.0", "Apache-2.0", "BSD-3-Clause" ]
null
null
null
# Generated by Django 2.2.10 on 2020-11-19 23:27 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('main', '0003_auto_20201110_1442'), ] operations = [ migrations.AddField( model_name='questions...
39.564103
142
0.58976
165
1,543
5.381818
0.49697
0.086712
0.047297
0.074324
0.295045
0.295045
0.295045
0.295045
0.295045
0.295045
0
0.044698
0.260531
1,543
38
143
40.605263
0.733567
0.029812
0
0.09375
1
0
0.214716
0.032107
0
0
0
0
0
1
0
false
0
0.0625
0
0.15625
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
39a6138c1177af7fd0eae3aed1dbde5d364896f1
445
py
Python
main_site/migrations/0006_auto_20200608_0037.py
forbidd/RaiseLeaders
26b27823ee23bf851d42dbff8e30ddb7ddcc5192
[ "MIT" ]
1
2020-05-28T19:09:59.000Z
2020-05-28T19:09:59.000Z
main_site/migrations/0006_auto_20200608_0037.py
forbidd/RaiseLeaders
26b27823ee23bf851d42dbff8e30ddb7ddcc5192
[ "MIT" ]
10
2020-05-30T20:32:55.000Z
2022-03-12T00:24:16.000Z
main_site/migrations/0006_auto_20200608_0037.py
forbidd/RaiseLeaders
26b27823ee23bf851d42dbff8e30ddb7ddcc5192
[ "MIT" ]
2
2020-05-30T20:25:07.000Z
2020-06-08T20:20:17.000Z
# Generated by Django 3.0.3 on 2020-06-08 00:37 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('main_site', '0005_auto_20200531_1541'), ] operations = [ migrations.AlterField( model_name='resource', name='descrip...
23.421053
100
0.626966
49
445
5.571429
0.836735
0
0
0
0
0
0
0
0
0
0
0.10303
0.258427
445
18
101
24.722222
0.724242
0.101124
0
0
1
0
0.193467
0.057789
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
39a822280a633b88821183fad4dd2610b18471bb
1,314
py
Python
email_manager/servers_ports.py
DariHernandez/ragingbull-notifier-MastersClub
f28b2cc8640e9ef68f4354248aa3f4bec40c0c2d
[ "MIT" ]
1
2022-01-30T18:15:12.000Z
2022-01-30T18:15:12.000Z
email_manager/servers_ports.py
DariHernandez/ragingbull-notifier-MastersClub
f28b2cc8640e9ef68f4354248aa3f4bec40c0c2d
[ "MIT" ]
null
null
null
email_manager/servers_ports.py
DariHernandez/ragingbull-notifier-MastersClub
f28b2cc8640e9ef68f4354248aa3f4bec40c0c2d
[ "MIT" ]
1
2022-01-30T18:15:06.000Z
2022-01-30T18:15:06.000Z
servers_ports_dic = { "gmail.com": { "smtp_server": "smtp.gmail.com", "smtp_port": 587, "imap_server": "imap.gmail.com", "imap_port": 993 }, "outlook.com": { "smtp_server": "smtp.office365.com", ...
34.578947
55
0.398021
113
1,314
4.39823
0.168142
0.169014
0.156942
0.205231
0.595573
0.595573
0.595573
0.482897
0.482897
0.482897
0
0.076379
0.461948
1,314
38
56
34.578947
0.626591
0
0
0.447368
0
0
0.381749
0.047909
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
39ab8a8893e6fe9e90cf959abc8f31fd870c97ec
195
py
Python
class_1_testing.py
irisx218/class_testing
6bac3dc2e56806ba660bbdc3c5ed43a926237076
[ "MIT" ]
null
null
null
class_1_testing.py
irisx218/class_testing
6bac3dc2e56806ba660bbdc3c5ed43a926237076
[ "MIT" ]
null
null
null
class_1_testing.py
irisx218/class_testing
6bac3dc2e56806ba660bbdc3c5ed43a926237076
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Spyder Editor This is a temporary script file. """ print('Hello World') x = 20 print(x * 2) print('No More Python') print('from Meiru') print("Marked by Yuchen")
11.470588
32
0.630769
30
195
4.1
0.833333
0
0
0
0
0
0
0
0
0
0
0.025157
0.184615
195
17
33
11.470588
0.748428
0.358974
0
0
0
0
0.432203
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
39af4104d5f279e7eaeab0f659477558afd24ca7
2,236
py
Python
src/lib/db_handler.py
Anonymous390/Password-Manager
fed353ca0f01ea00264be17ecf87c038928dc03e
[ "MIT" ]
1
2021-12-31T14:41:22.000Z
2021-12-31T14:41:22.000Z
src/lib/db_handler.py
Anonymous390/Password-Manager
fed353ca0f01ea00264be17ecf87c038928dc03e
[ "MIT" ]
null
null
null
src/lib/db_handler.py
Anonymous390/Password-Manager
fed353ca0f01ea00264be17ecf87c038928dc03e
[ "MIT" ]
1
2021-09-17T05:38:26.000Z
2021-09-17T05:38:26.000Z
from .decrypt_encrypt_functions import return_chrome_creds from getpass import getpass from sqlite3 import OperationalError import os import sqlite3 import json class Handler: def __init__(self, path: str) -> None: """Initialize function to run when object is created for the class Args ...
39.928571
129
0.614043
265
2,236
4.992453
0.343396
0.036281
0.051398
0.052154
0.26833
0.249433
0.207105
0.146636
0.146636
0.146636
0
0.003175
0.295617
2,236
56
130
39.928571
0.836825
0.144454
0
0.111111
0
0
0.144149
0
0
0
0
0
0
1
0.083333
false
0.222222
0.166667
0
0.277778
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
0
0
1
0
0
0
0
0
1
39bfbcd48ea2787c106676317ca4f0c231a2d46f
1,342
py
Python
app/handlers/home.py
esert/rabbitlol
e232179f93cb7b3a55395a9789ca41bdfc90ca37
[ "MIT" ]
2
2016-09-27T23:36:12.000Z
2019-11-15T23:19:40.000Z
app/handlers/home.py
esert/rabbitlol
e232179f93cb7b3a55395a9789ca41bdfc90ca37
[ "MIT" ]
null
null
null
app/handlers/home.py
esert/rabbitlol
e232179f93cb7b3a55395a9789ca41bdfc90ca37
[ "MIT" ]
5
2016-09-30T14:53:45.000Z
2022-02-19T21:26:24.000Z
from app.commands import ( MalformedQueryException, NotEnoughArgumentsException, UnknownCommandException, UnknownDefaultCommandException, ) from app.builtin_commands import ( builtin_commands, get_sample_queries, ) from app.routes import ( HOME, SIGN_OUT, ) from app.user import get_curre...
23.964286
72
0.66766
129
1,342
6.666667
0.372093
0.040698
0.186047
0
0
0
0
0
0
0
0
0
0.251863
1,342
55
73
24.4
0.856574
0
0
0.041667
0
0
0.029061
0
0
0
0
0
0
1
0.020833
false
0
0.104167
0
0.208333
0.0625
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
39c9e6550c0eb7c2b5bf1f0cda9af12146876bf8
4,908
py
Python
renderer_material.py
nlon982/Megascans_Custom_LOD_and_Bake
6102410b4bdbf8ac52d9848abe0ce8cab2f2f9a5
[ "CC-BY-3.0" ]
4
2021-01-12T08:29:57.000Z
2022-03-07T03:42:03.000Z
renderer_material.py
nlon982/Megascans_Custom_LOD_and_Bake
6102410b4bdbf8ac52d9848abe0ce8cab2f2f9a5
[ "CC-BY-3.0" ]
null
null
null
renderer_material.py
nlon982/Megascans_Custom_LOD_and_Bake
6102410b4bdbf8ac52d9848abe0ce8cab2f2f9a5
[ "CC-BY-3.0" ]
null
null
null
import abc ABC = abc.ABCMeta('ABC', (object,), {'__slots__': ()}) # from stack overflow https://stackoverflow.com/questions/35673474/using-abc-abcmeta-in-a-way-it-is-compatible-both-with-python-2-7-and-python-3-5 class RendererMaterial(ABC): @staticmethod @abc.abstractmethod def get_renderer_name(): ...
56.413793
266
0.755705
678
4,908
5.135693
0.277286
0.032165
0.045951
0.064331
0.43251
0.374497
0.340896
0.276278
0.240666
0.165422
0
0.011189
0.162388
4,908
87
267
56.413793
0.835806
0.301345
0
0.392157
0
0.058824
0.328817
0.245408
0
0
0
0
0
1
0.176471
false
0.078431
0.019608
0.058824
0.313725
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
39d558e5bb242d93206b8084bcfb4f455b6560bc
2,168
py
Python
tasks/migrations/0010_auto_20211213_1503.py
UiL-OTS-labs/etcl
a22df7ff78620b704a500354fb218fbe9bcabf5f
[ "MIT" ]
2
2017-04-22T11:07:13.000Z
2018-03-02T12:23:24.000Z
tasks/migrations/0010_auto_20211213_1503.py
UiL-OTS-labs/etcl
a22df7ff78620b704a500354fb218fbe9bcabf5f
[ "MIT" ]
6
2017-07-24T09:59:13.000Z
2019-04-01T15:15:57.000Z
tasks/migrations/0010_auto_20211213_1503.py
UiL-OTS-labs/etcl
a22df7ff78620b704a500354fb218fbe9bcabf5f
[ "MIT" ]
null
null
null
# Generated by Django 2.2.24 on 2021-12-13 14:03 import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tasks', '0009_auto_20210301_1626'), ] operations = [ migrations.AlterField( model_name='session',...
61.942857
498
0.708487
276
2,168
5.514493
0.557971
0.043364
0.065703
0.076216
0.144547
0.144547
0.059133
0
0
0
0
0.022132
0.208026
2,168
34
499
63.764706
0.864298
0.021218
0
0.428571
1
0.107143
0.541981
0.010849
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
39d645aed03c7069585ccb5903538cb1477efccb
752
py
Python
easy/array/move_zeroes/move_zeroes.py
deepshig/leetcode-solutions
1e99e0852b8329bf699eb149e7dfe312f82144bc
[ "MIT" ]
null
null
null
easy/array/move_zeroes/move_zeroes.py
deepshig/leetcode-solutions
1e99e0852b8329bf699eb149e7dfe312f82144bc
[ "MIT" ]
null
null
null
easy/array/move_zeroes/move_zeroes.py
deepshig/leetcode-solutions
1e99e0852b8329bf699eb149e7dfe312f82144bc
[ "MIT" ]
null
null
null
import copy class Solution(object): def moveZeroes(self, nums): """ :type nums: List[int] :rtype: None Do not return anything, modify nums in-place instead. """ number_of_zeroes = 0 for i in range(0, len(nums)): if nums[i] == 0: number_of...
21.485714
74
0.546543
103
752
3.873786
0.378641
0.120301
0.210526
0.112782
0.295739
0.145363
0
0
0
0
0
0.039293
0.323138
752
34
75
22.117647
0.744597
0.117021
0
0.130435
0
0
0.061709
0
0
0
0
0
0
1
0.043478
false
0
0.043478
0
0.173913
0.130435
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
39ddaf0dd5ea90a5164f43f7044d90fb0eb9242b
29,093
py
Python
gui/uis/api/widgets_functions.py
almogze/PSI
142e9c71e74cf9882edfb2525d955a1c20bcb448
[ "MIT" ]
null
null
null
gui/uis/api/widgets_functions.py
almogze/PSI
142e9c71e74cf9882edfb2525d955a1c20bcb448
[ "MIT" ]
null
null
null
gui/uis/api/widgets_functions.py
almogze/PSI
142e9c71e74cf9882edfb2525d955a1c20bcb448
[ "MIT" ]
null
null
null
# IMPORT PACKAGES FOR ANALYSING # /////////////////////////////////////////////////////////////// import string import pandas as pd from PIL import Image import numpy as np import os from PySide6.QtWidgets import QFileDialog from iminuit import Minuit import matplotlib.pyplot as plt from matplotlib.offsetbox import An...
50.33391
115
0.722579
3,959
29,093
4.949735
0.087648
0.112778
0.113595
0.154164
0.752603
0.703154
0.614105
0.572821
0.527863
0.426975
0
0.013578
0.17475
29,093
577
116
50.421144
0.802616
0.04544
0
0.396146
0
0.002141
0.048172
0.000937
0
0
0
0
0
1
0.062099
false
0
0.034261
0
0.104925
0.044968
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
39df5302260925a53fb1da68bb87c1616f94877a
725
py
Python
etms_support/www/etms-support/admission/index.py
dufani1/etms_support
0167c8f9d1486aeffbe01e458ce05481a26bbd08
[ "MIT" ]
null
null
null
etms_support/www/etms-support/admission/index.py
dufani1/etms_support
0167c8f9d1486aeffbe01e458ce05481a26bbd08
[ "MIT" ]
null
null
null
etms_support/www/etms-support/admission/index.py
dufani1/etms_support
0167c8f9d1486aeffbe01e458ce05481a26bbd08
[ "MIT" ]
1
2022-01-09T13:25:39.000Z
2022-01-09T13:25:39.000Z
import frappe def get_context(ctx): ctx.no_cache = 1 frappe.only_for(["ETMS Support User"]) # user = frappe.get_doc("User", frappe.session.user) query = frappe.request.query_string target_site_action = query.decode('utf-8').split("=")[1] action_on_erp_site = frappe.get_doc("Action ON ER...
30.208333
81
0.68
104
725
4.432692
0.413462
0.106291
0.119306
0.16269
0
0
0
0
0
0
0
0.005128
0.193103
725
24
82
30.208333
0.782906
0.068966
0
0
0
0
0.164688
0.034125
0
0
0
0
0
1
0.058824
false
0
0.058824
0
0.117647
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
39e045b4a7db711f4bf4fe678d8b400b98197b0d
4,048
py
Python
tests/test_asgi_helloworld.py
lidizheng/sonora
844e77de14b5cf457325f0e2b2f01805f351a0aa
[ "Apache-2.0" ]
178
2019-11-14T02:45:40.000Z
2022-03-19T08:41:19.000Z
tests/test_asgi_helloworld.py
lidizheng/sonora
844e77de14b5cf457325f0e2b2f01805f351a0aa
[ "Apache-2.0" ]
26
2019-11-03T15:28:19.000Z
2022-01-19T18:03:22.000Z
tests/test_asgi_helloworld.py
lidizheng/sonora
844e77de14b5cf457325f0e2b2f01805f351a0aa
[ "Apache-2.0" ]
6
2020-04-20T18:58:06.000Z
2022-01-25T19:46:31.000Z
import grpc import pytest from google.protobuf.empty_pb2 import Empty from tests import helloworld_pb2 @pytest.mark.asyncio async def test_helloworld_sayhello(asgi_greeter): for name in ("you", "world"): request = helloworld_pb2.HelloRequest(name=name) response = await asgi_greeter.Say...
35.2
85
0.691206
487
4,048
5.595483
0.160164
0.072661
0.056147
0.072661
0.764771
0.702018
0.682936
0.629725
0.562936
0.453945
0
0.011714
0.198617
4,048
114
86
35.508772
0.828298
0
0
0.470588
0
0
0.079309
0.023132
0
0
0
0
0.223529
1
0
false
0.011765
0.047059
0
0.047059
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
39ea683f8efe56b6de2048d114876afee47f6f17
2,792
py
Python
lib/tep/dashboard.py
wasp-sweden/wara-sw-tech-tools
f2262f1c20e3bb046482da1d39709daf653ab628
[ "BSD-3-Clause" ]
1
2022-03-02T15:30:01.000Z
2022-03-02T15:30:01.000Z
lib/tep/dashboard.py
wasp-sweden/wara-sw-tech-tools
f2262f1c20e3bb046482da1d39709daf653ab628
[ "BSD-3-Clause" ]
1
2021-04-09T11:50:05.000Z
2021-04-09T11:50:05.000Z
lib/tep/dashboard.py
wasp-sweden/wara-sw-tech-tools
f2262f1c20e3bb046482da1d39709daf653ab628
[ "BSD-3-Clause" ]
null
null
null
import os import shutil from pathlib import Path import dash from dash import html from dash import dcc class DashboardObject: def __init__(self, title, description = "", dependencies = [], meta = None): self.title = title self.description = description self.dependencies = dependencies ...
28.783505
89
0.630014
326
2,792
5.177914
0.263804
0.047393
0.046209
0.065166
0.093602
0.037915
0
0
0
0
0
0.000957
0.251433
2,792
96
90
29.083333
0.806699
0
0
0.111111
0
0
0.036891
0
0
0
0
0
0.013889
1
0.222222
false
0.013889
0.083333
0.083333
0.486111
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
39f2a4ee5e29918c90cd88509a1e379ccdba980c
10,189
py
Python
spar_python/query_generation/generators/xml_query_generator.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
37
2017-06-09T13:55:23.000Z
2022-01-28T12:51:17.000Z
spar_python/query_generation/generators/xml_query_generator.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
null
null
null
spar_python/query_generation/generators/xml_query_generator.py
nathanawmk/SPARTA
6eeb28b2dd147088b6e851876b36eeba3e700f16
[ "BSD-2-Clause" ]
5
2017-06-09T13:55:26.000Z
2021-11-11T03:51:56.000Z
# ***************************************************************** # Copyright 2013 MIT Lincoln Laboratory # Project: SPAR # Authors: ATLH # Description: Generates xml queries # Modifications: # Date Name Modification # ---- ---- ------------ ...
42.103306
96
0.508686
1,158
10,189
4.197755
0.211572
0.039087
0.009875
0.01728
0.530344
0.479737
0.445176
0.410409
0.402181
0.335322
0
0.012422
0.383747
10,189
241
97
42.278008
0.761746
0.164687
0
0.403727
1
0
0.036668
0.013599
0
0
0
0
0.006211
1
0.037267
false
0.024845
0.068323
0
0.136646
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
39f2de33c8b47147baa8649765ecf66c8b8966c1
421
py
Python
sentiment.py
RohitNagraj/SentimentAnalysis
e9215ce370db60dbde5853401a13e929d415e420
[ "MIT" ]
null
null
null
sentiment.py
RohitNagraj/SentimentAnalysis
e9215ce370db60dbde5853401a13e929d415e420
[ "MIT" ]
null
null
null
sentiment.py
RohitNagraj/SentimentAnalysis
e9215ce370db60dbde5853401a13e929d415e420
[ "MIT" ]
null
null
null
import tweepy from textblob import TextBlob from config import consumer_key, consumer_secret, access_token, access_token_secret auth = tweepy.OAuthHandler(consumer_key, consumer_secret) auth.set_access_token(access_token, access_token_secret) api = tweepy.API(auth) public_tweets = api.search('s10') for tweet in pu...
24.764706
83
0.800475
58
421
5.568966
0.431034
0.170279
0.157895
0.204334
0.173375
0
0
0
0
0
0
0.005405
0.12114
421
16
84
26.3125
0.867568
0
0
0
0
0
0.007126
0
0
0
0
0
0
1
0
false
0
0.272727
0
0.272727
0.181818
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
f2cd36277943a4a64ddeefa2588ecf641539e931
696
py
Python
app/models.py
mccuyper/FetchingDataPSQL-Django
7c7bfa7210b1801f30c717d463889129808457c2
[ "MIT" ]
null
null
null
app/models.py
mccuyper/FetchingDataPSQL-Django
7c7bfa7210b1801f30c717d463889129808457c2
[ "MIT" ]
null
null
null
app/models.py
mccuyper/FetchingDataPSQL-Django
7c7bfa7210b1801f30c717d463889129808457c2
[ "MIT" ]
null
null
null
from django.db import models class FetchIt(models.Model): ''' every value should be the same as your column name in the DB for instance if your table has column id you shoud create id = models.IntegerField(...) ''' user_id = models.IntegerField(primary_key=True) d_name = models.CharField(...
36.631579
72
0.681034
96
696
4.8125
0.635417
0.116883
0.08658
0.103896
0.116883
0
0
0
0
0
0
0.014815
0.224138
696
19
73
36.631579
0.840741
0.390805
0
0
0
0
0.007538
0
0
0
0
0
0
1
0.090909
false
0
0.090909
0.090909
0.909091
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
f2cde6696f1fd4c63eb564b77e6a640a145b4758
212
py
Python
ex057.py
honeyhugh/PythonCurso
e5b8efe04e100ea0b0c0aacde1caf7ae52489f40
[ "MIT" ]
null
null
null
ex057.py
honeyhugh/PythonCurso
e5b8efe04e100ea0b0c0aacde1caf7ae52489f40
[ "MIT" ]
null
null
null
ex057.py
honeyhugh/PythonCurso
e5b8efe04e100ea0b0c0aacde1caf7ae52489f40
[ "MIT" ]
null
null
null
sexo = str(input('Digite seu sexo [M/F]: ')).strip().upper()[0] while sexo not in 'MmFf': sexo = str(input('Dados inválidos. Por favor, digite novamente: ')).strip().upper()[0] print('Sexo valido, obrigada')
42.4
90
0.65566
32
212
4.34375
0.6875
0.100719
0.172662
0
0
0
0
0
0
0
0
0.01087
0.132075
212
4
91
53
0.744565
0
0
0
0
0
0.443396
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
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
f2d2b83f1ccae868bec35edf08e0b12d275a9cb1
1,052
py
Python
dealsengine/migrations/0007_vote.py
lh15/dealscore_django
0f17cc5c399d28d89ea1db9b4f978515d8f29334
[ "MIT" ]
null
null
null
dealsengine/migrations/0007_vote.py
lh15/dealscore_django
0f17cc5c399d28d89ea1db9b4f978515d8f29334
[ "MIT" ]
3
2021-03-19T11:32:01.000Z
2022-02-10T11:43:56.000Z
dealsengine/migrations/0007_vote.py
lh15/dealscore_django
0f17cc5c399d28d89ea1db9b4f978515d8f29334
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2020-01-01 05:28 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ('dealsengine', '0006_auto...
37.571429
140
0.643536
116
1,052
5.672414
0.525862
0.048632
0.06383
0.100304
0.246201
0.161094
0.161094
0.161094
0.161094
0
0
0.039409
0.228137
1,052
27
141
38.962963
0.770936
0.042776
0
0
1
0
0.098507
0.022886
0
0
0
0
0
1
0
false
0
0.142857
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f2d5dfe51bfe1a50f0227dd5ee065403cf61ed87
1,762
py
Python
src/models/modelsetup.py
robsfletch/bts
c03d821b048fdc2b2735fd77bd193443d40468fc
[ "MIT" ]
null
null
null
src/models/modelsetup.py
robsfletch/bts
c03d821b048fdc2b2735fd77bd193443d40468fc
[ "MIT" ]
null
null
null
src/models/modelsetup.py
robsfletch/bts
c03d821b048fdc2b2735fd77bd193443d40468fc
[ "MIT" ]
null
null
null
import pandas as pd import numpy as np from pathlib import Path import click import logging from sklearn.preprocessing import (PolynomialFeatures, OneHotEncoder) def gen_model_data(df): X, Y = model7(df) return X, Y def model1(df): X = df[['spot', 'home']] Y = df['Win'] return X, Y def model2...
20.252874
94
0.566402
263
1,762
3.642586
0.26616
0.029228
0.075157
0.091858
0.569937
0.556367
0.541754
0.408142
0.408142
0.385177
0
0.016467
0.241771
1,762
86
95
20.488372
0.700599
0.254824
0
0.534884
0
0
0.154734
0
0
0
0
0
0
1
0.186047
false
0
0.139535
0
0.511628
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
f2d87ddb90462af58fceb74632be288fe8fbe9b1
5,175
py
Python
easyai/model/base_block/cls/ghostnet_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
1
2020-09-05T09:18:56.000Z
2020-09-05T09:18:56.000Z
easyai/model/base_block/cls/ghostnet_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
8
2020-04-20T02:18:55.000Z
2022-03-12T00:24:50.000Z
easyai/model/base_block/cls/ghostnet_block.py
lpj0822/image_point_cloud_det
7b20e2f42f3f2ff4881485da58ad188a1f0d0e0f
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding:utf-8 -*- # Author: import math from easyai.base_name.block_name import NormalizationType, ActivationType from easyai.model.base_block.utility.base_block import * from easyai.model.base_block.utility.utility_block import ConvBNActivationBlock from easyai.model.base_block.utility.atte...
45.79646
88
0.433043
388
5,175
5.533505
0.221649
0.06055
0.072194
0.03959
0.472753
0.414998
0.371681
0.348859
0.220773
0.136935
0
0.011705
0.504734
5,175
113
89
45.79646
0.825985
0.016232
0
0.373626
0
0
0.004916
0
0
0
0
0
0.010989
1
0.043956
false
0
0.054945
0.010989
0.175824
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
f2dc52e9937d059863fceb0bd45443eb5b890d97
1,334
py
Python
enthought_example/example_mco/tests/test_example_mco_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
null
null
null
enthought_example/example_mco/tests/test_example_mco_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
41
2017-08-24T12:32:12.000Z
2020-10-13T15:42:14.000Z
enthought_example/example_mco/tests/test_example_mco_factory.py
force-h2020/force-bdss-plugin-enthought-example
c56d47521233e369d42fe82282ed8e113a3747f7
[ "MIT" ]
1
2019-03-12T14:42:00.000Z
2019-03-12T14:42:00.000Z
# (C) Copyright 2010-2020 Enthought, Inc., Austin, TX # All rights reserved. import unittest from enthought_example.example_plugin import ExamplePlugin from enthought_example.example_mco.example_mco_communicator import ( ExampleMCOCommunicator ) from enthought_example.example_mco.example_mco_model import ( ...
31.023256
69
0.742129
150
1,334
6.4
0.293333
0.091667
0.083333
0.1125
0.3125
0.264583
0.264583
0.139583
0.139583
0
0
0.00905
0.171664
1,334
42
70
31.761905
0.859729
0.054723
0
0.068966
0
0
0.008751
0
0
0
0
0
0.241379
1
0.206897
false
0
0.172414
0
0.413793
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f2f6ea7d4ba4ec01138d6722b9085e32e87d8469
1,810
py
Python
CodeHS/Extending Data Structures/Checkerboard,v1.py
Kev-in123/ICS2O7
425c59975d4ce6aa0937fd8715b51d04487e4fa9
[ "MIT" ]
2
2021-08-10T18:16:08.000Z
2021-09-26T19:49:26.000Z
CodeHS/Extending Data Structures/Checkerboard,v1.py
Kev-in123/ICS2O7
425c59975d4ce6aa0937fd8715b51d04487e4fa9
[ "MIT" ]
null
null
null
CodeHS/Extending Data Structures/Checkerboard,v1.py
Kev-in123/ICS2O7
425c59975d4ce6aa0937fd8715b51d04487e4fa9
[ "MIT" ]
null
null
null
Answer 2.0/5 0 tostuti Expert 271 answers 58K people helped Answer: In order to get following pattern, we have to use numpy package. Following code with work perfectly fine and will print the pattern. Python code starts as below ********************************************* # Pytho...
17.745098
84
0.485635
293
1,810
3
0.269625
0.050057
0.068259
0.07281
0.284414
0.225256
0.136519
0.136519
0.136519
0.136519
0
0.102516
0.407182
1,810
102
85
17.745098
0.716682
0.330939
0
0.2
0
0
0.032997
0
0
0
0
0
0
0
null
null
0
0.028571
null
null
0.285714
0
0
0
null
0
0
0
0
0
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
84046f6279d98b6fd33089ae3ca3a23f2be93ad3
1,535
py
Python
setup.py
open-contracting/oc4idskit
a864c4716c09dfa2141483d602106c147b211063
[ "BSD-3-Clause" ]
null
null
null
setup.py
open-contracting/oc4idskit
a864c4716c09dfa2141483d602106c147b211063
[ "BSD-3-Clause" ]
16
2021-05-19T23:39:30.000Z
2022-01-13T20:00:16.000Z
setup.py
open-contracting/oc4idskit
a864c4716c09dfa2141483d602106c147b211063
[ "BSD-3-Clause" ]
null
null
null
from setuptools import find_packages, setup with open("README.rst") as f: long_description = f.read() setup( name="oc4idskit", version="0.0.2", author="Open Contracting Partnership", author_email="data@open-contracting.org", url="https://github.com/open-contracting/oc4idskit", description=...
29.519231
77
0.565472
147
1,535
5.789116
0.605442
0.156287
0.20564
0.152761
0
0
0
0
0
0
0
0.020128
0.287948
1,535
51
78
30.098039
0.758463
0
0
0.102041
0
0
0.479479
0.033876
0
0
0
0
0
1
0
false
0
0.020408
0
0.020408
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8406167a87739ce1ffcb8e2220ab7bf30c10b279
701
py
Python
payment_system/tasks.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
payment_system/tasks.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
payment_system/tasks.py
OlexandrTopuzov/Data_converter
0ac2319ccaae790af35ab2202724c65d83d32ecc
[ "MIT" ]
null
null
null
from __future__ import absolute_import, unicode_literals from celery import shared_task from payment_system.models import ProjectSubscription, InvoiceReport @shared_task def update_project_subscriptions(): print('******************************') print('* Update subscriptions *') print('***********...
25.962963
68
0.592011
59
701
6.728814
0.423729
0.075567
0.065491
0.110831
0
0
0
0
0
0
0
0
0.145506
701
26
69
26.961538
0.662771
0
0
0.352941
0
0
0.32097
0.179743
0
0
0
0
0
1
0.117647
false
0
0.176471
0
0.294118
0.470588
0
0
0
null
0
0
0
0
0
0
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
8406c354b3f25a60c15392ee0fe32c937beeb345
450
py
Python
blockexplorer/middleware.py
Jordzman/explorer
d0b796014320761cd751429a9dc6ad48fe90ed96
[ "Apache-2.0" ]
2
2016-08-07T02:59:23.000Z
2016-08-21T23:48:03.000Z
blockexplorer/middleware.py
Trevorulliac/explorer
d2f836afd0b827041b1c75a8dd056fdb2beb2e1d
[ "Apache-2.0" ]
29
2020-05-01T08:05:16.000Z
2021-06-25T15:36:13.000Z
blockexplorer/middleware.py
Trevorulliac/explorer
d2f836afd0b827041b1c75a8dd056fdb2beb2e1d
[ "Apache-2.0" ]
1
2017-09-27T17:09:33.000Z
2017-09-27T17:09:33.000Z
from django.http import HttpResponseRedirect class SSLMiddleware(object): # http://stackoverflow.com/a/9207726/1754586 def process_request(self, request): if not any([request.is_secure(), request.META.get("HTTP_X_FORWARDED_PROTO", "") == 'https']): url = request.build_absolute_uri(request...
37.5
101
0.68
52
450
5.673077
0.692308
0.061017
0
0
0
0
0
0
0
0
0
0.038043
0.182222
450
11
102
40.909091
0.763587
0.093333
0
0
0
0
0.103448
0.054187
0
0
0
0
0
1
0.142857
false
0
0.142857
0
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
84081b327ad54c1947491e6ae80b619e3fc11bef
1,217
py
Python
apps/fifth_edition/migrations/0003_physicalattack.py
tylerfrenchx13/django-dnd
b0c78c51aebeed4195fd91a3e55c313c645f9c3b
[ "MIT" ]
4
2019-01-30T03:39:06.000Z
2022-02-22T08:11:53.000Z
apps/fifth_edition/migrations/0003_physicalattack.py
tylerfrenchx13/django-dnd
b0c78c51aebeed4195fd91a3e55c313c645f9c3b
[ "MIT" ]
13
2019-05-10T04:22:14.000Z
2020-04-06T02:54:32.000Z
apps/fifth_edition/migrations/0003_physicalattack.py
tylerfrenchx13/django-dnd
b0c78c51aebeed4195fd91a3e55c313c645f9c3b
[ "MIT" ]
3
2019-02-06T19:26:43.000Z
2021-03-18T23:48:41.000Z
# Generated by Django 2.2.1 on 2019-05-17 17:52 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('fifth_edition', '0002_abilityscore'), ] operations = [ migrations.CreateModel( name='PhysicalAt...
46.807692
318
0.565325
131
1,217
5.145038
0.664122
0.035608
0.041543
0.065282
0
0
0
0
0
0
0
0.040795
0.214462
1,217
25
319
48.68
0.664226
0.036976
0
0
1
0
0.221368
0.022222
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
84082a8ea54d4f44b3c4542c1a2720728c80403e
6,896
py
Python
src/batch_image_resize/ui/MainWindow.py
thunderamur/batch-image-resize
3d349420e84d8c1ea54086de37e67f4d6980a48b
[ "MIT" ]
null
null
null
src/batch_image_resize/ui/MainWindow.py
thunderamur/batch-image-resize
3d349420e84d8c1ea54086de37e67f4d6980a48b
[ "MIT" ]
2
2021-03-18T20:22:19.000Z
2021-06-08T19:19:19.000Z
src/batch_image_resize/ui/MainWindow.py
thunderamur/batch-image-resize
3d349420e84d8c1ea54086de37e67f4d6980a48b
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Form implementation generated from reading ui file 'ui_files/MainWindow.ui' # # Created by: PyQt5 UI code generator 5.9.2 # # WARNING! All changes made in this file will be lost! from PyQt5 import QtCore, QtGui, QtWidgets class Ui_MainWindow(object): def setupUi(self, MainWindow): ...
56.991736
122
0.719258
747
6,896
6.487282
0.223561
0.063145
0.069336
0.029715
0.220594
0.179942
0.053653
0.021461
0.021461
0.021461
0
0.042239
0.165748
6,896
120
123
57.466667
0.800104
0.027842
0
0.037037
1
0
0.110066
0.003286
0
0
0
0
0
1
0.018519
false
0
0.009259
0
0.037037
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
8410c97d1030a4c4e20a1e72c8ab1210e49ef7db
1,709
py
Python
bin/postprocess/study_analysis.py
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
bin/postprocess/study_analysis.py
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
bin/postprocess/study_analysis.py
osu-sim/ANL_polaris
a7b96f908017d02af3a79a510c813f45c2373c84
[ "BSD-3-Clause" ]
null
null
null
import json import sys import os import csv if len(sys.argv) < 2: print "Usage: %s master_scenario_file study_parameters_file [out_folder]"%sys.argv[0] sys.exit() study_parameters_file = sys.argv[1] out_folder = '.' s_doc = json.load(open(study_parameters_file)) study_id= study_parameters_file.split('.')[0] o...
25.132353
243
0.730837
247
1,709
4.82996
0.376518
0.080469
0.063705
0.02347
0.062029
0.062029
0.062029
0.062029
0.062029
0
0
0.004831
0.152136
1,709
67
244
25.507463
0.818496
0.132241
0
0.136364
0
0.022727
0.251355
0.167344
0
0
0
0
0
0
null
null
0.045455
0.090909
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
84166549584d8dbed7dafe9439dc4aae9f66c0c7
336
py
Python
web/src/apps/core/migrations/0004_remove_player_account_balance.py
sidneijp/u-monopoly
977dc284e90f57baaefc5842547128d9b0cd5ff7
[ "BSD-3-Clause" ]
2
2020-11-20T01:21:25.000Z
2020-11-20T12:21:04.000Z
web/src/apps/core/migrations/0004_remove_player_account_balance.py
sidneijp/u-monopoly
977dc284e90f57baaefc5842547128d9b0cd5ff7
[ "BSD-3-Clause" ]
6
2021-03-19T03:18:39.000Z
2021-09-22T19:08:00.000Z
web/src/apps/core/migrations/0004_remove_player_account_balance.py
sidneijp/u-monopoly
977dc284e90f57baaefc5842547128d9b0cd5ff7
[ "BSD-3-Clause" ]
2
2020-05-18T17:01:18.000Z
2020-11-20T12:21:08.000Z
# Generated by Django 3.0.6 on 2020-05-18 10:42 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('core', '0003_remove_property_name'), ] operations = [ migrations.RemoveField( model_name='player', name='account_balance', ...
18.666667
47
0.60119
36
336
5.472222
0.833333
0
0
0
0
0
0
0
0
0
0
0.079498
0.28869
336
17
48
19.764706
0.74477
0.133929
0
0
1
0
0.17301
0.086505
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8416f7ca65b206b0d94af31d8c5594dc1dc9771b
7,187
py
Python
Help international.py
RobbyFuad/Help-international
cc930dfc4c49bc6779faa2347fd12ef7ca0ee8e7
[ "MIT" ]
null
null
null
Help international.py
RobbyFuad/Help-international
cc930dfc4c49bc6779faa2347fd12ef7ca0ee8e7
[ "MIT" ]
null
null
null
Help international.py
RobbyFuad/Help-international
cc930dfc4c49bc6779faa2347fd12ef7ca0ee8e7
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """FINAL PROJECT.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1bMDq2WSLnIYa4O1Eq-xw65RoksCOSIh6 # FINAL PROJECT ## A. UNDERSTAND DATA """ import pandas as pd import numpy as np import matplotlib.pyplot as plt import s...
25.129371
102
0.719911
1,082
7,187
4.581331
0.166359
0.025217
0.026226
0.044583
0.643938
0.59996
0.528142
0.483559
0.42324
0.395804
0
0.045785
0.100459
7,187
286
103
25.129371
0.720959
0.059552
0
0.404651
1
0
0.191812
0.024295
0
0
0
0
0
1
0.009302
false
0
0.04186
0
0.060465
0.037209
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
84242952f8fc2ec7b1cb81cf6b3d83f118cd95c0
1,982
py
Python
container_service_extension/client/template_commands.py
biyiklioglu/container-service-extension
7974a485b7242432d2f4485dbb78c340e5929c5e
[ "Apache-2.0" ]
null
null
null
container_service_extension/client/template_commands.py
biyiklioglu/container-service-extension
7974a485b7242432d2f4485dbb78c340e5929c5e
[ "Apache-2.0" ]
null
null
null
container_service_extension/client/template_commands.py
biyiklioglu/container-service-extension
7974a485b7242432d2f4485dbb78c340e5929c5e
[ "Apache-2.0" ]
null
null
null
# container-service-extension # Copyright (c) 2020 VMware, Inc. All Rights Reserved. # SPDX-License-Identifier: BSD-2-Clause import click from vcd_cli.utils import stderr from vcd_cli.utils import stdout from container_service_extension.client.template import Template import container_service_extension.client.utils as...
32.491803
105
0.698789
247
1,982
5.42915
0.433198
0.047726
0.074571
0.071588
0.244594
0.180462
0.13572
0.064131
0.064131
0
0
0.005115
0.210898
1,982
60
106
33.033333
0.852302
0.227548
0
0.04878
0
0
0.190633
0
0
0
0
0
0
1
0.04878
false
0.073171
0.146341
0
0.195122
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
8429eeb37a258cd833e61f025f28d0dc75a3c7d9
809
py
Python
SyrianiApp/BiBler.py
icterguru/BiBlerUnittests
e109657677cdafcadaf7c263cf35e222cae151b6
[ "Apache-2.0" ]
null
null
null
SyrianiApp/BiBler.py
icterguru/BiBlerUnittests
e109657677cdafcadaf7c263cf35e222cae151b6
[ "Apache-2.0" ]
null
null
null
SyrianiApp/BiBler.py
icterguru/BiBlerUnittests
e109657677cdafcadaf7c263cf35e222cae151b6
[ "Apache-2.0" ]
null
null
null
''' Created on Jan 13, 2014 @author: Eugene Syriani @version: 0.2.5 This is the main BiBler module. Execute this module from the command line to start the application. @note: It assumes that the L{app} package has a L{statechart.BiBler_Statechart} class and a L{UserInterface.UserInterface} class that implements L{gui...
28.892857
93
0.767614
109
809
5.587156
0.513761
0.078818
0
0
0
0
0
0
0
0
0
0.013006
0.144623
809
28
94
28.892857
0.867052
0.466007
0
0
0
0
0.018824
0
0
0
0
0
0
1
0
false
0
0.384615
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
842d70df94ba1ac8b0730ba345d820277d18714c
360
py
Python
tests/decks/conftest.py
lesnik512/fast-api-mongodb-template
93696f6a058465642e6a4c34a3bc80ee02c9bf78
[ "MIT" ]
1
2021-07-01T13:44:05.000Z
2021-07-01T13:44:05.000Z
tests/decks/conftest.py
lesnik512/fast-api-mongodb-template
93696f6a058465642e6a4c34a3bc80ee02c9bf78
[ "MIT" ]
4
2021-07-05T18:41:41.000Z
2021-07-15T15:39:53.000Z
tests/decks/conftest.py
lesnik512/fast-api-mongodb-template
93696f6a058465642e6a4c34a3bc80ee02c9bf78
[ "MIT" ]
null
null
null
import pytest from app.apps.decks import models @pytest.fixture async def deck(event_loop): deck_data = models.DeckCreate(**get_deck_data()) deck = await models.DeckManager.add(deck_data) yield deck await models.DeckManager.delete(str(deck.id)) def get_deck_data(): return {"name": "test deck", ...
22.5
72
0.725
50
360
5.08
0.54
0.125984
0.086614
0.204724
0
0
0
0
0
0
0
0
0.155556
360
15
73
24
0.835526
0
0
0
0
0
0.125
0
0
0
0
0
0
1
0.1
false
0
0.2
0.1
0.4
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
84338a1cb997458a23258505807af00529c5e85c
4,356
py
Python
figures/Plotter_quad_g3.py
sqvarfort/Coherent-states-Fisher-information
2914b11ac56c686babf15730ed6546d6f3d3caab
[ "MIT" ]
1
2020-08-10T00:33:29.000Z
2020-08-10T00:33:29.000Z
figures/Plotter_quad_g3.py
sqvarfort/Coherent-states-Fisher-information
2914b11ac56c686babf15730ed6546d6f3d3caab
[ "MIT" ]
null
null
null
figures/Plotter_quad_g3.py
sqvarfort/Coherent-states-Fisher-information
2914b11ac56c686babf15730ed6546d6f3d3caab
[ "MIT" ]
1
2020-05-21T01:36:45.000Z
2020-05-21T01:36:45.000Z
import matplotlib.pyplot as plt from numpy import * import os filename = "data/x_expg32016-08-21-00.18.31" with open(filename) as f: x_exp = f.readlines() filename = "data/p_expg32016-08-21-00.18.31" with open(filename) as f: p_exp = f.readlines() print "Data read" x_exp = [float(i) for i in x_exp] p_exp =...
44.44898
193
0.553719
755
4,356
3.128477
0.238411
0.047417
0.029636
0.050381
0.453429
0.451736
0.406012
0.38315
0.38315
0.356054
0
0.078
0.196511
4,356
97
194
44.907216
0.596857
0.295684
0
0.137255
0
0
0.187949
0.036974
0
0
0
0
0
0
null
null
0
0.058824
null
null
0.019608
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
84370597a1829398e71558a850d1408690db4002
1,279
py
Python
scripts/gel_update_graphs.py
vogelbac/LAB-QA2GO-
be434da7399d396413309f947f4b634d8fae9a17
[ "BSD-3-Clause" ]
14
2019-02-07T10:50:58.000Z
2021-09-03T16:11:00.000Z
scripts/gel_update_graphs.py
vogelbac/LAB-QA2GO-
be434da7399d396413309f947f4b634d8fae9a17
[ "BSD-3-Clause" ]
6
2019-01-28T09:19:27.000Z
2021-09-09T06:56:42.000Z
scripts/gel_update_graphs.py
vogelbac/LAB-QA2GO
be434da7399d396413309f947f4b634d8fae9a17
[ "BSD-3-Clause" ]
4
2019-01-28T09:00:58.000Z
2021-05-25T13:54:40.000Z
#!/usr/bin/python import os,sys import cgi import cgitb; cgitb.enable() import parse_ini_file import gel_collect_results import gel_make_html_report import gel_make_overview_html import time # set HOME environment variable to a directory the httpd server can write to os.environ[ 'HOME' ] = '/tmp/' os.chdir('/home/b...
25.58
91
0.799844
197
1,279
4.908629
0.411168
0.06515
0.1303
0.046536
0.051706
0.051706
0
0
0
0
0
0.001745
0.103987
1,279
49
92
26.102041
0.842059
0.145426
0
0
0
0
0.171429
0.130876
0
0
0
0
0
1
0
false
0
0.357143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
843c2b2dc8ee72d6775ed60549a5956a057ee807
3,278
py
Python
Main/task11.py
EugeneFilippovich/Software_Testing_Selenium
a19fce9ede752cb1398a983118873cd88faeac58
[ "Apache-2.0" ]
null
null
null
Main/task11.py
EugeneFilippovich/Software_Testing_Selenium
a19fce9ede752cb1398a983118873cd88faeac58
[ "Apache-2.0" ]
null
null
null
Main/task11.py
EugeneFilippovich/Software_Testing_Selenium
a19fce9ede752cb1398a983118873cd88faeac58
[ "Apache-2.0" ]
null
null
null
import string import random import pytest import time from selenium.webdriver.support.ui import Select from selenium import webdriver def id_generator(size=6, chars=string.ascii_lowercase + string.digits): return ''.join(random.choice(chars) for _ in range(size)) var = id_generator() @pytest.fixture def driver...
36.422222
114
0.713545
421
3,278
5.106888
0.254157
0.102326
0.12093
0.118605
0.356279
0.352093
0.233488
0.158605
0.048372
0.048372
0
0.014195
0.183344
3,278
89
115
36.831461
0.788943
0.011898
0
0.0625
0
0
0.110766
0
0
0
0
0
0
1
0.09375
false
0.109375
0.09375
0.015625
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
0
0
0
0
0
1
0
0
0
0
0
1
84402d8a05322b9c0e06201d67c68d123fb732fb
994
py
Python
FlaskApp/dbmanager.py
KingOfFartz/kairwebsite
adb4ae97c1d7f1ec36a1a3acee70e6ec7eeb0630
[ "Apache-2.0" ]
null
null
null
FlaskApp/dbmanager.py
KingOfFartz/kairwebsite
adb4ae97c1d7f1ec36a1a3acee70e6ec7eeb0630
[ "Apache-2.0" ]
null
null
null
FlaskApp/dbmanager.py
KingOfFartz/kairwebsite
adb4ae97c1d7f1ec36a1a3acee70e6ec7eeb0630
[ "Apache-2.0" ]
null
null
null
from dotenv import load_dotenv import os import mysql.connector import requests from mysql.connector import errorcode load_dotenv() dbfile = os.getenv('DATABASE_FILE') class DbManager: def __init__(self): self.conn = self.getDatabase() def getDatabase(self): try: p...
27.611111
62
0.521127
94
994
5.37234
0.531915
0.110891
0.079208
0.075248
0
0
0
0
0
0
0
0.006734
0.402414
994
35
63
28.4
0.843434
0
0
0.068966
0
0
0.103233
0
0
0
0
0
0
1
0.068966
false
0.068966
0.172414
0
0.310345
0.206897
0
0
0
null
0
0
0
0
0
0
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
8445da53e2526bb12f22706de310ec2ba8dab9cd
560
py
Python
warriorpy/towers/beginner/level_009.py
vishwatejharer/warriorpy
57a8dccfe23796ef213288972b20a7e883e79b24
[ "MIT" ]
46
2015-02-02T19:32:05.000Z
2022-03-16T16:24:14.000Z
warriorpy/towers/beginner/level_009.py
vishwatejharer/warriorpy
57a8dccfe23796ef213288972b20a7e883e79b24
[ "MIT" ]
5
2015-07-06T15:26:43.000Z
2020-04-21T08:12:04.000Z
warriorpy/towers/beginner/level_009.py
vishwatejharer/warriorpy
57a8dccfe23796ef213288972b20a7e883e79b24
[ "MIT" ]
10
2015-02-10T02:56:22.000Z
2021-05-15T22:37:38.000Z
# ----------- # |>Ca @ S wC| # ----------- level.description("Time to hone your skills and apply all of the abilities that you have learned.") level.tip("Watch your back.") level.clue("Don't just keep shooting the bow while you are being attacked from behind.") level.time_bonus(40) level.ace_score(100) level.size(...
26.666667
99
0.651786
93
560
3.892473
0.645161
0.124309
0.082873
0.116022
0
0
0
0
0
0
0
0.047521
0.135714
560
20
100
28
0.700413
0.067857
0
0
0
0
0.444874
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
844a2c8482da0878c93c163b7b02771a7390e4fc
619
py
Python
demos/test_output.py
mongodb/mongo-disco
518fa1ff49bf3146007a0f03a75b1d34eb540a7d
[ "Apache-2.0" ]
8
2015-01-16T17:07:35.000Z
2019-05-07T21:53:20.000Z
demos/test_output.py
mongodb/mongo-disco
518fa1ff49bf3146007a0f03a75b1d34eb540a7d
[ "Apache-2.0" ]
null
null
null
demos/test_output.py
mongodb/mongo-disco
518fa1ff49bf3146007a0f03a75b1d34eb540a7d
[ "Apache-2.0" ]
5
2015-05-06T00:01:47.000Z
2021-03-02T11:02:33.000Z
from disco.core import Job, result_iterator def map(line, params): for word in line.split(): yield word,1 def reduce(iter, params): from disco.util import kvgroup for word, counts in kvgroup(sorted(iter)): yield word, sum(counts) ''' def mongodb_output(stream,partition,url,params): re...
23.807692
57
0.659128
80
619
4.8625
0.5125
0.092545
0.097686
0
0
0
0
0
0
0
0
0.002101
0.231018
619
25
58
24.76
0.815126
0
0
0
0
0
0.017822
0
0
0
0
0
0
0
null
null
0
0.133333
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
844d6773667d713059b2a3c7a02289421eea5a33
15,664
py
Python
lib/dom/nodes.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-01-30T03:50:36.000Z
2022-03-20T16:09:58.000Z
lib/dom/nodes.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
2
2015-02-04T17:18:47.000Z
2019-09-27T23:39:52.000Z
lib/dom/nodes.py
zepheira/amara
d3ffe07d6e2266b34d72b012a82d572c8edbf1e7
[ "Apache-2.0" ]
6
2015-02-04T16:16:18.000Z
2019-10-30T20:07:48.000Z
######################################################################## # amara/dom/nodes.py """ Amara DOM node implementations """ from xml.dom import Node as stdlib_node from xml.dom import EMPTY_NAMESPACE, XML_NAMESPACE from xml.dom import NoModificationAllowedErr, NamespaceErr, NotFoundErr from xml.dom import No...
34.200873
170
0.64645
1,757
15,664
5.664769
0.179852
0.033759
0.031347
0.029036
0.323119
0.27439
0.237918
0.194012
0.170903
0.150106
0
0.00278
0.265194
15,664
457
171
34.275711
0.861946
0.07514
0
0.305714
0
0
0.064042
0
0
0
0
0
0
0
null
null
0
0.037143
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
8455fda9085dec5b7d980438d64e06ae431d5c18
2,398
py
Python
deeppavlov/configs/__init__.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
5,893
2018-02-01T18:13:20.000Z
2022-03-31T19:22:21.000Z
deeppavlov/configs/__init__.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
749
2018-01-31T11:36:02.000Z
2022-03-30T07:24:22.000Z
deeppavlov/configs/__init__.py
xbodx/DeepPavlov
4b60bf162df4294b8b0db3b72786cdd699c674fa
[ "Apache-2.0" ]
1,155
2018-02-01T10:52:15.000Z
2022-03-29T02:12:15.000Z
from pathlib import Path from typing import Iterator, Dict, Union, Iterable class Struct: def __iter__(self) -> Iterator[str]: return iter(self._keys) def __len__(self) -> int: return len(self._keys) def __init__(self, tree: Dict[str, Union[dict, Path]]) -> None: self._keys = set...
27.563218
79
0.559633
284
2,398
4.482394
0.320423
0.075412
0.043205
0.025137
0.08641
0.045562
0
0
0
0
0
0.000612
0.318599
2,398
86
80
27.883721
0.778458
0.084237
0
0.033898
0
0
0.027816
0.013908
0
0
0
0
0
1
0.186441
false
0
0.033898
0.101695
0.389831
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
845b61d7e158317ad9a150b29efebd57039de6f3
362
py
Python
setup.py
astyler/osmapping
cc95908a3e6d6d4ed26f664ddf4dbd267b75b3be
[ "MIT" ]
null
null
null
setup.py
astyler/osmapping
cc95908a3e6d6d4ed26f664ddf4dbd267b75b3be
[ "MIT" ]
null
null
null
setup.py
astyler/osmapping
cc95908a3e6d6d4ed26f664ddf4dbd267b75b3be
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='osmapping', version='0.1.7', packages=[''], url='https://github.com/astyler/osmapping', download_url='https://github.com/astyler/osmapping/tarball/0.1.6', license='MIT', author='Alex Styler', author_email='astyler@gmail.com', description...
25.857143
70
0.674033
47
362
5.148936
0.723404
0.016529
0.115702
0.140496
0.272727
0.272727
0
0
0
0
0
0.019737
0.160221
362
13
71
27.846154
0.776316
0
0
0
0
0
0.461326
0
0
0
0
0
0
1
0
true
0
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
845bd72c412e13105cd5ed286d28994e5c0d3fda
1,919
py
Python
DemPipe/action/action_base.py
hmiladhia/DemPipe
48d48150969fa047e2f20b35ee1c61991e7b44ad
[ "MIT" ]
null
null
null
DemPipe/action/action_base.py
hmiladhia/DemPipe
48d48150969fa047e2f20b35ee1c61991e7b44ad
[ "MIT" ]
null
null
null
DemPipe/action/action_base.py
hmiladhia/DemPipe
48d48150969fa047e2f20b35ee1c61991e7b44ad
[ "MIT" ]
null
null
null
from abc import ABC class ActionBase(ABC): def __init__(self, *args, ctx_in=None, ctx_out='last_value', handler=None, **kwargs): self.ctx_in = ctx_in or [] self.ctx_out = ctx_out self.args = args self.kwargs = kwargs self.action_name = self.__class__.__name__ self._...
34.890909
105
0.603439
243
1,919
4.481481
0.234568
0.082645
0.060606
0.093664
0.400367
0.323232
0.297521
0.297521
0.297521
0.297521
0
0
0.264721
1,919
54
106
35.537037
0.771793
0
0
0.204545
0
0.022727
0.097447
0.045857
0
0
0
0
0
1
0.204545
false
0
0.022727
0
0.386364
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
84617d05b0ce704cbac89d14483f2f0f2e72de27
1,635
py
Python
dataprocess/gen_static_centrality_weight.py
smallporridge/Socialformer
a2e26e2c4d0fc6e355e46f3a1098f0bfa23ce0d6
[ "MIT" ]
4
2022-01-23T14:03:38.000Z
2022-03-03T18:15:17.000Z
dataprocess/gen_static_centrality_weight.py
smallporridge/Socialformer
a2e26e2c4d0fc6e355e46f3a1098f0bfa23ce0d6
[ "MIT" ]
null
null
null
dataprocess/gen_static_centrality_weight.py
smallporridge/Socialformer
a2e26e2c4d0fc6e355e46f3a1098f0bfa23ce0d6
[ "MIT" ]
2
2022-01-22T13:48:04.000Z
2022-03-09T15:52:17.000Z
from collections import defaultdict import math from tqdm import tqdm from util import load_json_file,norm import numpy as np ''' calculate tfidf based probability matrix, corresponding to the Static Centrality in paper ''' def get_tfidf_weight(passages): ''' Args: passages: a list of passages, each p...
26.803279
89
0.624465
237
1,635
4.139241
0.333333
0.097859
0.045872
0.04893
0.089704
0.046891
0
0
0
0
0
0.002521
0.272171
1,635
60
90
27.25
0.821849
0.168807
0
0.108108
0
0
0.038305
0
0
0
0
0
0
1
0.027027
false
0.108108
0.135135
0
0.189189
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
846251c003221347f432f1719df1e6bbdaee6d4b
2,069
py
Python
tests/fixtures/tables.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
7
2021-02-18T07:15:25.000Z
2021-06-28T07:58:04.000Z
tests/fixtures/tables.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
5
2021-01-25T18:41:30.000Z
2022-03-04T17:36:17.000Z
tests/fixtures/tables.py
alphagov-mirror/govuk-accessibility-reports
88204c03e273fff76b67ab0730a44869f02e28c9
[ "MIT" ]
3
2020-12-14T17:35:58.000Z
2021-04-10T20:11:26.000Z
import pytest good_table_string = f""" <p>Good table</p> <table> <thead> <tr> <th></th> <th>Name</th> <th>Role</th> <th>Base</th> </tr> </thead> <tbody> <tr> <th scope="ro...
18.809091
45
0.432576
232
2,069
3.715517
0.202586
0.051044
0.041763
0.083527
0.334107
0.269142
0.201856
0.12065
0.12065
0.12065
0
0.002415
0.39971
2,069
109
46
18.981651
0.691626
0
0
0.428571
0
0
0.759304
0.054616
0
0
0
0
0
1
0.05102
false
0
0.010204
0.040816
0.112245
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
8463501aa1c9f36862d370e89499b4319ae5c66f
494
py
Python
setup.py
peterkmurphy/embedipynb
6b4fce8537a11a2cef8b5a7b3afdc2eb7e97b354
[ "BSD-3-Clause" ]
null
null
null
setup.py
peterkmurphy/embedipynb
6b4fce8537a11a2cef8b5a7b3afdc2eb7e97b354
[ "BSD-3-Clause" ]
null
null
null
setup.py
peterkmurphy/embedipynb
6b4fce8537a11a2cef8b5a7b3afdc2eb7e97b354
[ "BSD-3-Clause" ]
null
null
null
from setuptools import setup setup(name='embedipynb', version='0.1', description='Embeds images in Jupyter/iPython notebooks', url='https://github.com/peterkmurphy/embedipynb', author='Peter Murphy', author_email='peterkmurphy@gmail.com', license='BSD 3-Clause', packages=['emb...
27.444444
64
0.633603
47
494
6.595745
0.829787
0
0
0
0
0
0
0
0
0
0
0.007979
0.238866
494
17
65
29.058824
0.816489
0
0
0
0
0
0.449393
0.119433
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
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
8466d0939b2ba6608d024e2b1fa671eb1ca3612c
1,674
py
Python
tests/comment_test.py
EssyMwangi/Pitchblog
c14049f899f9cbb2b2bc6b4e45e671c34d630615
[ "MIT" ]
null
null
null
tests/comment_test.py
EssyMwangi/Pitchblog
c14049f899f9cbb2b2bc6b4e45e671c34d630615
[ "MIT" ]
null
null
null
tests/comment_test.py
EssyMwangi/Pitchblog
c14049f899f9cbb2b2bc6b4e45e671c34d630615
[ "MIT" ]
null
null
null
import unittest from app.models import Comment, User from app import db class CommentTest(unittest.TestCase): def setUp(self): self.new_comment = Comment( id=1, comment='Test comment', user=self.user_essy, pitch_id=self.new_pitch) def tearDown(self): Pitch.query.delete() ...
34.163265
106
0.675627
231
1,674
4.718615
0.203463
0.09633
0.12844
0.126606
0.737615
0.688073
0.618349
0.483486
0.312844
0.238532
0
0.003782
0.210275
1,674
48
107
34.875
0.820726
0
0
0.432432
0
0
0.067503
0
0
0
0
0
0.216216
1
0.216216
false
0.027027
0.081081
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
0
0
0
1
0
0
0
0
0
0
0
1
ffcab491b4128e223de66243b9f0e3075eb2a07a
488
py
Python
accounts/migrations/0016_customuser_is_external.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
11
2020-10-06T13:50:46.000Z
2021-02-27T20:19:17.000Z
accounts/migrations/0016_customuser_is_external.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
174
2020-10-13T18:25:34.000Z
2022-01-17T09:49:18.000Z
accounts/migrations/0016_customuser_is_external.py
auxfuse/ci-hackathon-app
87d5ad7aae33c15f535ceed28e1657a014159516
[ "MIT" ]
46
2020-10-14T11:27:20.000Z
2022-01-31T17:48:12.000Z
# Generated by Django 3.1.6 on 2021-03-19 17:19 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('accounts', '0015_remove_customuser_user_type'), ] operations = [ migrations.AddField( model_name='customuser', name=...
25.684211
135
0.647541
58
488
5.327586
0.827586
0
0
0
0
0
0
0
0
0
0
0.052198
0.254098
488
18
136
27.111111
0.796703
0.092213
0
0
1
0
0.292517
0.072562
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
ffcaf084be5673109b8763d0396d1c5172403f9f
1,046
py
Python
src/nti/transactions/transactions.py
NextThought/nti.transactions
b3a81e5499c95ea3626f77ec5be6bb54da8d8e62
[ "Apache-2.0" ]
null
null
null
src/nti/transactions/transactions.py
NextThought/nti.transactions
b3a81e5499c95ea3626f77ec5be6bb54da8d8e62
[ "Apache-2.0" ]
37
2016-07-28T13:46:25.000Z
2021-02-11T23:23:03.000Z
src/nti/transactions/transactions.py
NextThought/nti.transactions
b3a81e5499c95ea3626f77ec5be6bb54da8d8e62
[ "Apache-2.0" ]
1
2017-04-17T14:20:30.000Z
2017-04-17T14:20:30.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Legacy module containing re-exports of other objects. """ from __future__ import print_function, absolute_import, division __docformat__ = "restructuredtext en" logger = __import__('logging').getLogger(__name__) # BWC imports # For 4.0 makke this produce a deprecatio...
25.512195
86
0.767686
124
1,046
6.217742
0.564516
0.136187
0.14786
0.13489
0.171206
0.088197
0
0
0
0
0
0.007769
0.138623
1,046
40
87
26.15
0.847947
0.171128
0
0
0
0
0.224561
0.070175
0
0
0
0
0
1
0.04
false
0
0.36
0
0.4
0.04
0
0
0
null
0
0
0
0
0
0
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
ffcbcec352806798d319390598b89e116f426a70
2,636
py
Python
requests_staticmock/context.py
carltonstale/requests-staticmock
73a567570e355b97ff75a336de30e8f6f53c2511
[ "Apache-2.0" ]
42
2017-01-28T10:44:01.000Z
2022-02-08T17:06:05.000Z
requests_staticmock/context.py
carltonstale/requests-staticmock
73a567570e355b97ff75a336de30e8f6f53c2511
[ "Apache-2.0" ]
184
2018-07-13T06:18:19.000Z
2021-12-20T02:20:31.000Z
requests_staticmock/context.py
carltonstale/requests-staticmock
73a567570e355b97ff75a336de30e8f6f53c2511
[ "Apache-2.0" ]
1
2021-05-06T03:50:43.000Z
2021-05-06T03:50:43.000Z
# -*- coding: utf-8 -*- # Licensed to Anthony Shaw (anthonyshaw@apache.org) 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 "Li...
32.146341
74
0.699924
361
2,636
5.047091
0.354571
0.042261
0.01427
0.017563
0.489572
0.454446
0.408342
0.408342
0.408342
0.408342
0
0.00242
0.216237
2,636
81
75
32.54321
0.879477
0.592185
0
0.714286
0
0
0
0
0
0
0
0
0
1
0.071429
false
0
0.107143
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
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ffce4ca90ea9dad541aea84c5b64cf1e2b20205c
1,092
py
Python
sqlwriter/writers/mysql_writer.py
estenssoros/sqlwriter
881df2354929944a26418c6673a978568360bdfa
[ "MIT" ]
null
null
null
sqlwriter/writers/mysql_writer.py
estenssoros/sqlwriter
881df2354929944a26418c6673a978568360bdfa
[ "MIT" ]
1
2018-01-01T04:15:31.000Z
2018-01-02T04:03:03.000Z
sqlwriter/writers/mysql_writer.py
estenssoros/sqlwriter
881df2354929944a26418c6673a978568360bdfa
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from sqlwriter.writers.base_writer import BaseWriter class MySQLWriter(BaseWriter): def __init__(self, *args, **kwargs): super(MySQLWriter, self).__init__(*args, **kwargs) @property def description(self): self.curs.execute('SELECT %s FROM %s LIMIT 1' % (','.join(se...
35.225806
93
0.569597
124
1,092
4.919355
0.508065
0.090164
0.054098
0.07377
0.206557
0
0
0
0
0
0
0.003963
0.306777
1,092
30
94
36.4
0.801849
0.07967
0
0
0
0
0.025948
0
0
0
0
0.033333
0
1
0.125
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
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
ffd54dd01abfc40f3bd92156ee04ffd73be4956f
538
py
Python
documents/Topic.py
courado/uoa-admin-tools
9202c5aa996163f103b158d8ff5bc8ab5719245f
[ "MIT" ]
null
null
null
documents/Topic.py
courado/uoa-admin-tools
9202c5aa996163f103b158d8ff5bc8ab5719245f
[ "MIT" ]
null
null
null
documents/Topic.py
courado/uoa-admin-tools
9202c5aa996163f103b158d8ff5bc8ab5719245f
[ "MIT" ]
null
null
null
from flask_mongokit import Document from mongokit import CustomType, IS from datetime import datetime from pprint import pprint from CustomDate import CustomDate class Topic(Document): __collection__ = 'topics' structure = { 'name' : unicode, 'description' : unicode, 'date' : CustomDat...
25.619048
55
0.665428
57
538
6.140351
0.596491
0.08
0
0
0
0
0
0
0
0
0
0
0.226766
538
20
56
26.9
0.838942
0
0
0
0
0
0.151402
0
0
0
0
0
0
0
null
null
0
0.294118
null
null
0.058824
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ffdb5475de8e288f9a0d48e67c2814881129498d
524
py
Python
daily/Inherit/Child.py
irene-coming/mysql_midware_test
09c626dc07c16ef751bcae327d6f0db18aebd5fb
[ "Apache-2.0" ]
null
null
null
daily/Inherit/Child.py
irene-coming/mysql_midware_test
09c626dc07c16ef751bcae327d6f0db18aebd5fb
[ "Apache-2.0" ]
null
null
null
daily/Inherit/Child.py
irene-coming/mysql_midware_test
09c626dc07c16ef751bcae327d6f0db18aebd5fb
[ "Apache-2.0" ]
null
null
null
# -*- coding=utf-8 -*- # Copyright (C) 2016-2020 ActionTech. # License: https://www.mozilla.org/en-US/MPL/2.0 MPL version 2 or higher. # @Time : 2020/4/3 AM11:18 # @Author : irene-coming from Inherit.Parent import Parent class Child(Parent): def __init__(self, config_dic): """ test inherit of ...
27.578947
73
0.616412
74
524
4.162162
0.648649
0.087662
0.084416
0
0
0
0
0
0
0
0
0.054863
0.234733
524
19
74
27.578947
0.713217
0.387405
0
0
0
0
0.061224
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.5
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
ffde30d14938f64ed924b431e9af55aabf757862
222
py
Python
overwatch/processing/trending/__init__.py
ostr00000/OVERWATCH
ebf69402b9b1b9e3b92cb96f013692072c2c69f2
[ "BSD-3-Clause" ]
11
2016-03-21T15:50:38.000Z
2021-03-05T11:27:07.000Z
overwatch/processing/trending/__init__.py
ostr00000/OVERWATCH
ebf69402b9b1b9e3b92cb96f013692072c2c69f2
[ "BSD-3-Clause" ]
44
2016-05-09T18:21:59.000Z
2019-03-17T16:46:47.000Z
overwatch/processing/trending/__init__.py
ostr00000/OVERWATCH
ebf69402b9b1b9e3b92cb96f013692072c2c69f2
[ "BSD-3-Clause" ]
12
2017-04-05T14:52:38.000Z
2018-12-28T07:43:29.000Z
#!/usr/bin/env python """ Trending subsystem package. This package contains the code necessary to describe trending objects and direct the trending system. """ __all__ = [ "manager", "info", "constants", ]
14.8
80
0.684685
26
222
5.692308
0.846154
0
0
0
0
0
0
0
0
0
0
0
0.202703
222
14
81
15.857143
0.836158
0.68018
0
0
0
0
0.322581
0
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ffe892a8d7c6e60f7860decc10e147e70190957d
3,581
py
Python
profiles_api/views.py
SameyaAlam/profiles-rest-api
d92772cfd53b6a7606cb612b468d4460c7645a55
[ "MIT" ]
null
null
null
profiles_api/views.py
SameyaAlam/profiles-rest-api
d92772cfd53b6a7606cb612b468d4460c7645a55
[ "MIT" ]
null
null
null
profiles_api/views.py
SameyaAlam/profiles-rest-api
d92772cfd53b6a7606cb612b468d4460c7645a55
[ "MIT" ]
null
null
null
from rest_framework.views import APIView from rest_framework.response import Response from rest_framework import status, viewsets,filters from profiles_api import serializers,models,permissions from rest_framework.authentication import TokenAuthentication from rest_framework.authtoken.views import ObtainAuthToken from ...
34.432692
82
0.668808
363
3,581
6.460055
0.292011
0.077612
0.050746
0.050746
0.447761
0.410235
0.410235
0.36162
0.260128
0.220043
0
0.00216
0.224239
3,581
104
83
34.432692
0.841973
0.023736
0
0.243243
0
0
0.07584
0
0
0
0
0
0
1
0.162162
false
0
0.108108
0.094595
0.689189
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
ffe903e2da643125c087790d20a7c9583d7a32f7
185
py
Python
uri/1008-salary.py
thekilian/Python-pratica
875661addd5b8eb4364bc638832c7ab55dcefce4
[ "MIT" ]
null
null
null
uri/1008-salary.py
thekilian/Python-pratica
875661addd5b8eb4364bc638832c7ab55dcefce4
[ "MIT" ]
null
null
null
uri/1008-salary.py
thekilian/Python-pratica
875661addd5b8eb4364bc638832c7ab55dcefce4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- id = int(input()) hours = int(input()) per_hour = float(input()) total = hours * per_hour print("NUMBER = {}".format(id)) print("SALARY = U$ %1.2f" %(total))
16.818182
35
0.583784
27
185
3.925926
0.666667
0.150943
0
0
0
0
0
0
0
0
0
0.019355
0.162162
185
10
36
18.5
0.664516
0.113514
0
0
0
0
0.17284
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
fff172820204d55cf70cb372037940b3942643f7
1,966
py
Python
cute_bringup/script/double_enable_or_not.py
ZhangShanxiu/catkin_ws
5bb13e990fea5df1b385e9c2092090919e1400a7
[ "BSD-3-Clause" ]
null
null
null
cute_bringup/script/double_enable_or_not.py
ZhangShanxiu/catkin_ws
5bb13e990fea5df1b385e9c2092090919e1400a7
[ "BSD-3-Clause" ]
null
null
null
cute_bringup/script/double_enable_or_not.py
ZhangShanxiu/catkin_ws
5bb13e990fea5df1b385e9c2092090919e1400a7
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import rospy import sys from std_msgs.msg import Float64 from dynamixel_controllers.srv import TorqueEnable, TorqueEnableRequest from dynamixel_controllers.srv import SetSpeed, SetSpeedRequest, SetSpeedResponse from std_srvs.srv import SetBool, SetBoolResponse, SetBoolRequ...
38.54902
95
0.614446
217
1,966
5.336406
0.364055
0.041451
0.072539
0.08981
0.511226
0.362694
0.24525
0.24525
0.183074
0.183074
0
0.023707
0.291963
1,966
51
96
38.54902
0.80819
0.057986
0
0.307692
0
0
0.136979
0.062805
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.179487
0
0
0
null
0
0
0
0
0
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
fff209167ead6e0d824428083ce8d234dde1ff38
2,726
py
Python
src/train_pipeline.py
KatyKasilina/StumbleUpon-Evergreen-DataMining
de8824bb85f00aef5b9ad57690191dbc984b9384
[ "MIT" ]
null
null
null
src/train_pipeline.py
KatyKasilina/StumbleUpon-Evergreen-DataMining
de8824bb85f00aef5b9ad57690191dbc984b9384
[ "MIT" ]
null
null
null
src/train_pipeline.py
KatyKasilina/StumbleUpon-Evergreen-DataMining
de8824bb85f00aef5b9ad57690191dbc984b9384
[ "MIT" ]
null
null
null
import os import logging.config from typing import Dict from omegaconf import DictConfig import pandas as pd import hydra from src.data import split_train_val_data from src.entities.train_pipeline_params import TrainingPipelineParams, TrainingPipelineParamsSchema from src.features.build_features import get_target, bu...
34.075
99
0.785033
350
2,726
5.754286
0.248571
0.111221
0.152929
0.071996
0.273585
0.152929
0.115194
0.069513
0.069513
0.069513
0
0
0.134996
2,726
79
100
34.506329
0.854114
0.155172
0
0
0
0
0.112854
0.033115
0
0
0
0.012658
0
1
0.044444
false
0
0.244444
0
0.311111
0.022222
0
0
0
null
0
0
0
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
fff4acaed791510d3a876f33bc18ba8fe8d5729c
259
py
Python
clients/base_client.py
pppillai/armageddon
6c9780a3f3e2a7ea50bc1d62e9140dd7067efb7f
[ "MIT" ]
null
null
null
clients/base_client.py
pppillai/armageddon
6c9780a3f3e2a7ea50bc1d62e9140dd7067efb7f
[ "MIT" ]
null
null
null
clients/base_client.py
pppillai/armageddon
6c9780a3f3e2a7ea50bc1d62e9140dd7067efb7f
[ "MIT" ]
null
null
null
from json import JSONDecodeError import requests class BaseClient: """ This client can be used to store common base urls and other config stuff. """ def __init__(self): self.base_url = "" self.requests = requests.Session()
18.5
77
0.660232
32
259
5.1875
0.8125
0
0
0
0
0
0
0
0
0
0
0
0.262548
259
13
78
19.923077
0.86911
0.281853
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0.333333
0
0.666667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
fff72bf453eaf483a916083e46b55fbabda89264
2,160
py
Python
src/pycrawler/pycrawler/Crawler/job_pb2.py
princeedward/PyCrawler
f2cd3a2b79ef4e4bf5e69e89f617f73ad2e6ded2
[ "BSD-2-Clause" ]
5
2015-12-01T14:24:13.000Z
2020-01-08T04:35:29.000Z
src/pycrawler/pycrawler/Crawler/job_pb2.py
princeedward/PyCrawler
f2cd3a2b79ef4e4bf5e69e89f617f73ad2e6ded2
[ "BSD-2-Clause" ]
null
null
null
src/pycrawler/pycrawler/Crawler/job_pb2.py
princeedward/PyCrawler
f2cd3a2b79ef4e4bf5e69e89f617f73ad2e6ded2
[ "BSD-2-Clause" ]
5
2015-12-11T18:48:48.000Z
2022-03-30T06:24:59.000Z
# Generated by the protocol buffer compiler. DO NOT EDIT! # source: job.proto from google.protobuf import descriptor as _descriptor from google.protobuf import message as _message from google.protobuf import reflection as _reflection from google.protobuf import descriptor_pb2 # @@protoc_insertion_point(imports) D...
30
163
0.725
289
2,160
5.17301
0.318339
0.053512
0.048161
0.064214
0.426087
0.348495
0.336455
0.336455
0.336455
0.336455
0
0.033044
0.14537
2,160
71
164
30.422535
0.776815
0.09213
0
0.346154
1
0.019231
0.136061
0.079284
0
0
0
0
0
1
0
false
0
0.076923
0
0.134615
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
fff925ed09bc9c991156d6b7c5a0893105c8ead9
407
py
Python
setup.py
lstmemery/viridis-hex
6c9d45795650863eb465fbbd5c5d75c6b2995abf
[ "MIT" ]
null
null
null
setup.py
lstmemery/viridis-hex
6c9d45795650863eb465fbbd5c5d75c6b2995abf
[ "MIT" ]
null
null
null
setup.py
lstmemery/viridis-hex
6c9d45795650863eb465fbbd5c5d75c6b2995abf
[ "MIT" ]
null
null
null
from distutils.core import setup setup( name='viridis-hex', version='0.1', packages=[''], url='https://github.com/lstmemery/viridis-hex', license='MIT', author='lstmemery', requires=['pytest', 'matplotlib'], setup_requires=['pytest-runner'], tests_require=['pytest'], author_emai...
25.4375
53
0.660934
47
407
5.659574
0.765957
0.075188
0
0
0
0
0
0
0
0
0
0.011799
0.167076
407
15
54
27.133333
0.772861
0
0
0
0
0
0.395577
0.061425
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
081673c701695d407f5c2222f9815d5df218150d
1,561
py
Python
Python/StandaloneExercises/NumpyMatrixes2.py
TacPhoto/Learning
28fb3c6469164c57d0ccb973732168f01b685113
[ "MIT" ]
null
null
null
Python/StandaloneExercises/NumpyMatrixes2.py
TacPhoto/Learning
28fb3c6469164c57d0ccb973732168f01b685113
[ "MIT" ]
null
null
null
Python/StandaloneExercises/NumpyMatrixes2.py
TacPhoto/Learning
28fb3c6469164c57d0ccb973732168f01b685113
[ "MIT" ]
null
null
null
import numpy arr = numpy.array([ [1, 2, 3, 4], [10, 20, 30, 40], [100, 200, 300, 400], [1000, 2000, 3000, 4000] ]) print('Standard deviation: ' + str(numpy.std(arr))) print(type(arr)) print(arr.dtype) arrTwo = 2 * numpy.array...
25.177419
77
0.616912
214
1,561
4.490654
0.280374
0.12487
0.087409
0.062435
0.308012
0.24974
0.24974
0.185224
0.114464
0.114464
0
0.071723
0.222934
1,561
62
78
25.177419
0.720528
0
0
0.217391
0
0
0.204866
0
0
0
0
0
0
1
0
false
0
0.021739
0
0.021739
0.673913
0
0
0
null
0
0
0
0
0
0
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
0825a6ce3c3990c79748ebc5f3e555a8dc9ab1e1
860
py
Python
social_network_second_besties_solution.py
HesterLim/Understanding-Cambridge-Analytica-Scandal
258960a0acc12bd33bdf3e0623bcd740842ad0f4
[ "MIT" ]
5
2019-09-22T02:12:05.000Z
2021-12-21T09:40:31.000Z
social_network_second_besties_solution.py
HesterLim/Understanding-Cambridge-Analytica-Scandal
258960a0acc12bd33bdf3e0623bcd740842ad0f4
[ "MIT" ]
null
null
null
social_network_second_besties_solution.py
HesterLim/Understanding-Cambridge-Analytica-Scandal
258960a0acc12bd33bdf3e0623bcd740842ad0f4
[ "MIT" ]
2
2020-10-27T13:03:09.000Z
2021-12-20T06:52:49.000Z
def friend_second_besties(individual, bestie_dict): """generate the set of (strictly) second-order friends for `individual`, based on the contents of `bestie_dict`""" # extract out friends of friends for each individual in # `individual_list`, by finding friends of each individual, # and friends o...
43
77
0.687209
108
860
5.324074
0.425926
0.158261
0.062609
0.062609
0
0
0
0
0
0
0
0.001543
0.246512
860
19
78
45.263158
0.885802
0.427907
0
0
1
0
0
0
0
0
0
0
0
1
0.111111
false
0
0
0
0.222222
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
082c4b1c49bc857ff3df87a2338b1eff0ed5e960
584
py
Python
test/isolation/test_node.py
cubonacci/mixed-anomaly
b4cfa5bbae8429585214b1d2dfeac864d49a3158
[ "Apache-2.0" ]
21
2019-05-11T10:15:23.000Z
2021-07-12T06:23:06.000Z
test/isolation/test_node.py
seah-kjs/mixed-anomaly
b4cfa5bbae8429585214b1d2dfeac864d49a3158
[ "Apache-2.0" ]
1
2019-11-25T13:18:49.000Z
2019-11-25T13:18:49.000Z
test/isolation/test_node.py
seah-kjs/mixed-anomaly
b4cfa5bbae8429585214b1d2dfeac864d49a3158
[ "Apache-2.0" ]
13
2019-05-11T10:15:37.000Z
2021-09-09T01:21:05.000Z
from anomaly.isolation.split_rule import CategoricalSplitRule from anomaly.isolation.node import Node def test_node(pandas_dataframe): node = Node(data=pandas_dataframe, depth=0) categorical_split_rule = CategoricalSplitRule(column="string", categories_left=["a"]) assert node.terminal() assert node.le...
34.352941
89
0.755137
81
584
5.308642
0.37037
0.139535
0.097674
0.102326
0.274419
0.130233
0
0
0
0
0
0.004082
0.160959
584
16
90
36.5
0.873469
0
0
0
0
0
0.011986
0
0
0
0
0
0.571429
1
0.071429
false
0
0.142857
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
0837e7a835a053139feb19738e4c37f0cbab9b45
1,101
py
Python
queue.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
2
2015-05-25T10:47:30.000Z
2017-12-12T18:15:00.000Z
queue.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
null
null
null
queue.py
strickyak/aphid
12469858facdc9d7f110bf6c895e58eae9fb728f
[ "MIT" ]
null
null
null
from go import sync class BigQueue: def __init__(): .d = {} .next_in = 1 .next_out = 1 .mutex = go_new(sync.Mutex) .chan = None def Send(x): .mutex.Lock() with defer .mutex.Unlock(): .d[.next_in] = x .next_in += 1 if .chan: .chan.Send(True) .chan = No...
18.35
59
0.487738
151
1,101
3.417219
0.377483
0.046512
0.027132
0.069767
0.112403
0.112403
0
0
0
0
0
0.008621
0.367847
1,101
59
60
18.661017
0.732759
0
0
0.212766
0
0
0
0
0
0
0
0
0
0
null
null
0.021277
0.021277
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
08398562b0fe5e58a63dd759dc5ed0e15752356e
3,221
py
Python
inference_VSR.py
Serene99-09/mmediting
be49e33650627ac26fdd065fbbaff66f726e3fde
[ "Apache-2.0" ]
null
null
null
inference_VSR.py
Serene99-09/mmediting
be49e33650627ac26fdd065fbbaff66f726e3fde
[ "Apache-2.0" ]
null
null
null
inference_VSR.py
Serene99-09/mmediting
be49e33650627ac26fdd065fbbaff66f726e3fde
[ "Apache-2.0" ]
null
null
null
import os import argparse import glob import cv2 def main(): parser = argparse.ArgumentParser() parser.add_argument('-i', '--input', type=str, default='Nezha_input_480_Trim.mp4', help='Input video') ################ args for tools/test.py ################ parser.add_argument('--config', default='config...
51.126984
153
0.664079
472
3,221
4.377119
0.330508
0.042594
0.049371
0.036302
0.215392
0.215392
0.188287
0.171346
0.137464
0.106486
0
0.028647
0.176343
3,221
62
154
51.951613
0.750094
0.399565
0
0.068966
0
0.103448
0.397677
0.140487
0
0
0
0
0
1
0.034483
false
0.068966
0.137931
0
0.172414
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
083ad1dbb1277db2da5540979f2a5df5e4ef17e6
3,323
py
Python
GitHack/GitHack.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
11
2020-05-30T13:53:49.000Z
2021-03-17T03:20:59.000Z
GitHack/GitHack.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-13T03:25:18.000Z
2020-07-21T06:24:16.000Z
GitHack/GitHack.py
csadsl/poc_exp
e3146262e7403f19f49ee2db56338fa3f8e119c9
[ "MIT" ]
6
2020-05-30T13:53:51.000Z
2020-12-01T21:44:26.000Z
#!/usr/bin/env python # -*- encoding: utf-8 -*- import sys import urllib2 import os import urlparse import zlib import threading import Queue import re import time from lib.parser import parse if len(sys.argv) == 1: msg = """ A `.git` folder disclosure exploit. By LiJieJie Usage: GitHack.py http://www.target.c...
30.486239
117
0.520012
411
3,323
4.10219
0.355231
0.02847
0.01898
0.017794
0.069988
0.022539
0.022539
0
0
0
0
0.017658
0.352392
3,323
109
118
30.486239
0.765799
0.013241
0
0.206522
0
0
0.124466
0
0
0
0
0
0
0
null
null
0.01087
0.108696
null
null
0.108696
0
0
0
null
0
0
0
0
0
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
0847838c4982271961211803db28a0ba5db8be33
934
py
Python
tools/bbox_post_process.py
myfavouritekk/TPN
b346774cddeb0b9e0c1d8ed1f91a69f00436456d
[ "MIT" ]
74
2017-04-07T04:06:52.000Z
2022-01-30T01:40:10.000Z
tools/bbox_post_process.py
wulongyuan/TPN
b346774cddeb0b9e0c1d8ed1f91a69f00436456d
[ "MIT" ]
8
2017-07-19T06:54:02.000Z
2018-08-28T07:38:52.000Z
tools/bbox_post_process.py
wulongyuan/TPN
b346774cddeb0b9e0c1d8ed1f91a69f00436456d
[ "MIT" ]
28
2017-04-07T03:50:52.000Z
2019-02-28T04:18:15.000Z
#!/usr/bin/env python import init import caffe import numpy as np import argparse import cPickle if __name__ == '__main__': parser = argparse.ArgumentParser() parser.add_argument('net_def') parser.add_argument('net_param') parser.add_argument('save_file') parser.add_argument('--bbox_means', default...
35.923077
101
0.682013
140
934
4.292857
0.335714
0.079867
0.141431
0.113145
0.146423
0.146423
0
0
0
0
0
0.005063
0.154176
934
26
102
35.923077
0.755696
0.021413
0
0
0
0
0.147702
0
0
0
0
0
0
0
null
null
0
0.227273
null
null
0.045455
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
084f81d583100ff9d3da2520db45609d77e0e87f
1,482
py
Python
code/ch05-database/api/order_api.py
rcastleman/twilio-and-sendgrid-python-course
b1aa8e02725cf9580edb4b0310537fac33a685b0
[ "MIT" ]
29
2021-01-08T13:46:35.000Z
2022-03-30T04:31:29.000Z
code/ch05-database/api/order_api.py
rcastleman/twilio-and-sendgrid-python-course
b1aa8e02725cf9580edb4b0310537fac33a685b0
[ "MIT" ]
2
2021-08-29T15:11:23.000Z
2022-03-05T00:01:46.000Z
code/ch05-database/api/order_api.py
rcastleman/twilio-and-sendgrid-python-course
b1aa8e02725cf9580edb4b0310537fac33a685b0
[ "MIT" ]
30
2021-07-02T00:14:58.000Z
2022-03-06T00:47:53.000Z
import json import flask from pydantic.error_wrappers import ValidationError from sqlalchemy.exc import SQLAlchemyError from models.order import CakeOrder from models.order_response import OrderResponseModel from service import user_service blueprint = flask.Blueprint('order_api', 'order_api') @blueprint.route('/a...
29.64
67
0.632254
175
1,482
5.188571
0.4
0.059471
0.046256
0.056167
0.044053
0
0
0
0
0
0
0.008295
0.267881
1,482
49
68
30.244898
0.828571
0.074899
0
0.057143
0
0
0.05267
0
0
0
0
0.020408
0
1
0.028571
false
0
0.2
0
0.285714
0.057143
0
0
0
null
0
0
0
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
f22992e34a244377558689ab49d9a0ad1b023bae
16,098
py
Python
heatmaps/visualization.py
tgbugs/heatmaps
faccd3507443bd28c5d93caaf96746e685115134
[ "MIT" ]
1
2021-11-28T23:51:41.000Z
2021-11-28T23:51:41.000Z
heatmaps/visualization.py
tgbugs/heatmaps
faccd3507443bd28c5d93caaf96746e685115134
[ "MIT" ]
3
2016-07-13T16:51:07.000Z
2018-01-10T22:49:05.000Z
heatmaps/visualization.py
tgbugs/heatmaps
faccd3507443bd28c5d93caaf96746e685115134
[ "MIT" ]
2
2016-05-25T21:22:01.000Z
2021-11-28T23:52:58.000Z
from collections import defaultdict import numpy as np from matplotlib import use as mpluse mpluse('Agg') import pylab as plt from IPython import embed from pyontutils.hierarchies import in_tree def discretize(data_matrix): bins = [0,1,10,100] vals = [None,1,2,3] for lower, upper, val in zip(bins[:-1],b...
38.697115
198
0.628774
2,245
16,098
4.319822
0.186637
0.029078
0.044339
0.030831
0.3245
0.275315
0.254898
0.229635
0.194061
0.188492
0
0.022146
0.262269
16,098
415
199
38.790361
0.794459
0.047832
0
0.20155
0
0
0.055749
0
0
0
0
0.004819
0
0
null
null
0
0.023256
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
f22b006c69627acfd61f24fc5f8e094939994bd1
1,468
py
Python
codewof/research/migrations/0002_auto_20190813_1548.py
taskmaker1/codewof
92d52cd3ee91f0f311ff01a92cf6ec07e5593b8d
[ "MIT" ]
3
2019-08-29T04:11:22.000Z
2021-06-22T16:05:51.000Z
codewof/research/migrations/0002_auto_20190813_1548.py
taskmaker1/codewof
92d52cd3ee91f0f311ff01a92cf6ec07e5593b8d
[ "MIT" ]
265
2019-05-30T03:51:46.000Z
2022-03-31T01:05:12.000Z
codewof/research/migrations/0002_auto_20190813_1548.py
samuelsandri/codewof
c9b8b378c06b15a0c42ae863b8f46581de04fdfc
[ "MIT" ]
7
2019-06-29T12:13:37.000Z
2021-09-06T06:49:14.000Z
# Generated by Django 2.1.5 on 2019-08-13 03:48 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ('research', '0001_initial'), ('users', '0001_initial'), ...
35.804878
211
0.643052
159
1,468
5.792453
0.433962
0.034745
0.099891
0.117264
0.314875
0.238871
0.149837
0.149837
0.149837
0.149837
0
0.034853
0.237738
1,468
40
212
36.7
0.788204
0.030654
0
0.30303
1
0
0.21323
0.016186
0
0
0
0
0
1
0
false
0
0.090909
0
0.212121
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
f2368bd8d8f668fc30a924e321cabe863c638efe
875
py
Python
Olympiad Solutions/SPOJ/ADAHACK.py
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
36
2019-12-27T08:23:08.000Z
2022-01-24T20:35:47.000Z
Olympiad Solutions/SPOJ/ADAHACK.py
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
10
2019-11-13T02:55:18.000Z
2021-10-13T23:28:09.000Z
Olympiad Solutions/SPOJ/ADAHACK.py
Ashwanigupta9125/code-DS-ALGO
49f6cf7d0c682da669db23619aef3f80697b352b
[ "MIT" ]
53
2020-08-15T11:08:40.000Z
2021-10-09T15:51:38.000Z
# Ivan Carvalho # Solution to https://www.spoj.com/problems/ADAHACK/ #!/usr/bin/env python2.7 # -*- coding : utf-8 -*- modulo = 10**11 + 3 def inv(a): return pow(a,modulo-2,modulo) while True: try: entrada = raw_input() except EOFError: break array = [int(i) for i in entrada.split()] a = 1 b = 0 flag = 0 fo...
19.021739
52
0.555429
162
875
2.993827
0.37037
0.074227
0.037113
0.049485
0.210309
0.210309
0.210309
0.210309
0.210309
0.210309
0
0.097523
0.261714
875
46
53
19.021739
0.653251
0.125714
0
0.5
0
0
0
0
0
0
0
0
0
0
null
null
0
0
null
null
0.02381
0
0
0
null
0
0
0
0
0
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
f25bf2f4acbbea41b157f015695d984ef7da4db8
2,154
py
Python
models/case.py
RohitKochhar/ns-covid-model
59c40ec2b45cb44e1b2e8f6e11f0cb5677d82cb7
[ "MIT" ]
null
null
null
models/case.py
RohitKochhar/ns-covid-model
59c40ec2b45cb44e1b2e8f6e11f0cb5677d82cb7
[ "MIT" ]
null
null
null
models/case.py
RohitKochhar/ns-covid-model
59c40ec2b45cb44e1b2e8f6e11f0cb5677d82cb7
[ "MIT" ]
null
null
null
import random class Case(): def __init__(self, s_CaseId, i_DiagnosedOn): # Initializations self.s_CaseId = s_CaseId self.i_DiagnosedOn = i_DiagnosedOn self.i_RemovedOn = 0 self.i_ActiveFor = 0 self.b_Survived = True # Con...
35.9
116
0.603064
281
2,154
4.370107
0.231317
0.130293
0.159609
0.161238
0.302932
0.26873
0
0
0
0
0
0.041553
0.318477
2,154
60
117
35.9
0.794959
0.038533
0
0.040816
0
0.020408
0.047389
0.010155
0
0
0
0
0
1
0.122449
false
0
0.020408
0.020408
0.244898
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
f25d700360f761115b730167e73e9755bfb7d644
1,484
py
Python
socialite/apps/twitter/registration.py
dgouldin/django-socialite
4de4060f5d8ab89ae9dd4032e66e526873351ba4
[ "MIT" ]
1
2015-01-30T19:05:26.000Z
2015-01-30T19:05:26.000Z
socialite/apps/twitter/registration.py
dgouldin/django-socialite
4de4060f5d8ab89ae9dd4032e66e526873351ba4
[ "MIT" ]
null
null
null
socialite/apps/twitter/registration.py
dgouldin/django-socialite
4de4060f5d8ab89ae9dd4032e66e526873351ba4
[ "MIT" ]
2
2016-06-26T13:49:31.000Z
2021-08-13T01:00:15.000Z
import random import hashlib from django.contrib.auth.models import User from socialite.apps.base.oauth.utils import get_unique_username from socialite.apps.twitter import models from socialite.apps.twitter.signals import post_register_service def register_service(user_info, unique_id=None, access_token=None, impers...
33.727273
99
0.72372
196
1,484
5.244898
0.326531
0.062257
0.049611
0.046693
0
0
0
0
0
0
0
0.003281
0.178571
1,484
43
100
34.511628
0.840033
0.047844
0
0.060606
0
0
0.026969
0
0
0
0
0.023256
0
1
0.030303
false
0.030303
0.181818
0
0.242424
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
f2607b08743e0b200ff874d23ae09a204eb7b8af
663
py
Python
idc/bgpparser/RibParser.py
avihad/BGP_research
2c1b15c89ca5216d0d9b54af43ba78c6fb22e400
[ "Apache-2.0" ]
1
2016-04-17T12:20:51.000Z
2016-04-17T12:20:51.000Z
idc/bgpparser/RibParser.py
avihad/BGP_research
2c1b15c89ca5216d0d9b54af43ba78c6fb22e400
[ "Apache-2.0" ]
null
null
null
idc/bgpparser/RibParser.py
avihad/BGP_research
2c1b15c89ca5216d0d9b54af43ba78c6fb22e400
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python class RibDump: def __init__(self, filename): self.f = file(filename, 'rb') def open(self, filename): self.f = file(filename, 'rb') def close(self): self.f.close() raise StopIteration def __iter__(self): return self def next(self): ...
20.71875
60
0.535445
84
663
4.011905
0.464286
0.059347
0.094955
0.10089
0.20178
0.20178
0.20178
0.20178
0
0
0
0.015766
0.330317
663
31
61
21.387097
0.743243
0.030166
0
0.090909
0
0
0.0078
0
0
0
0
0
0
1
0.227273
false
0
0
0.045455
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
1
0
0
0
0
0
0
0
1
f2637936be817e6c48a4f150c872652087ee9877
265
py
Python
SGN-41007/Week6/utils.py
joonaspessi/courses
d009c82e82e980214bf298302fca4c8f573800d4
[ "MIT" ]
null
null
null
SGN-41007/Week6/utils.py
joonaspessi/courses
d009c82e82e980214bf298302fca4c8f573800d4
[ "MIT" ]
null
null
null
SGN-41007/Week6/utils.py
joonaspessi/courses
d009c82e82e980214bf298302fca4c8f573800d4
[ "MIT" ]
null
null
null
from os.path import join, abspath from os import walk def absolute_file_paths(directories): for directory in directories: for dir_path, _, file_names in walk(directory): for f in file_names: yield abspath(join(dir_path, f))
29.444444
55
0.675472
38
265
4.526316
0.5
0.069767
0
0
0
0
0
0
0
0
0
0
0.260377
265
9
56
29.444444
0.877551
0
0
0
0
0
0
0
0
0
0
0
0
1
0.142857
false
0
0.285714
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
f26711de310e0a56e03746ce2226ae8ef1929490
27,085
py
Python
pypeit/deprecated/flux_old.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
107
2018-08-06T07:07:20.000Z
2022-02-28T14:33:42.000Z
pypeit/deprecated/flux_old.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
889
2018-07-26T12:14:33.000Z
2022-03-18T22:49:42.000Z
pypeit/deprecated/flux_old.py
ykwang1/PypeIt
a96cff699f1284905ce7ef19d06a9027cd333c63
[ "BSD-3-Clause" ]
74
2018-09-25T17:03:07.000Z
2022-03-10T23:59:24.000Z
## the following massive function is deprecated def generate_sensfunc_old(wave, counts, counts_ivar, airmass, exptime, spectrograph, telluric=False, star_type=None, star_mag=None, ra=None, dec=None, std_file = None, BALM_MASK_WID=5., norder=4, nresln=None,debug=False): """ Function to generat...
45.444631
140
0.622226
3,651
27,085
4.478499
0.170638
0.043545
0.036328
0.049538
0.3738
0.297596
0.244144
0.234787
0.199804
0.18427
0
0.038897
0.259627
27,085
595
141
45.521008
0.776492
0.232638
0
0.223496
1
0
0.126685
0
0
0
0
0.003361
0
1
0.008596
false
0
0
0
0.017192
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
f2689f0d4a870782361c8930cd79a4950a44e03e
520
py
Python
menu/menu_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
menu/menu_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
menu/menu_sounds.py
MatthewRobertDunn/tetrominos
f864f6da44e50e2ee435ad8fabef2679c1e21a8b
[ "MIT" ]
null
null
null
import constants import pygame import os class MenuSounds: def __init__(self): self.menu_select_sample = pygame.mixer.Sound(os.path.join(constants.SOUND_DIR, 'menu_select.ogg')) pygame.mixer.music.load(os.path.join(constants.MUSIC_DIR, 'from russia with love.ogg')) def menu_select(self): ...
28.888889
106
0.692308
74
520
4.662162
0.459459
0.15942
0.13913
0.115942
0
0
0
0
0
0
0
0.00716
0.194231
520
17
107
30.588235
0.816229
0
0
0
0
0
0.076923
0
0
0
0
0
0
1
0.230769
false
0
0.230769
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
f26d0dbd71aa05d65598da7c56df8e4e41c10234
3,534
py
Python
account_transfer/account.py
lester-lees/extra_addons_sz
cddaf972cf4ea64c553bcff0006eb006a115d5ee
[ "Apache-2.0" ]
null
null
null
account_transfer/account.py
lester-lees/extra_addons_sz
cddaf972cf4ea64c553bcff0006eb006a115d5ee
[ "Apache-2.0" ]
null
null
null
account_transfer/account.py
lester-lees/extra_addons_sz
cddaf972cf4ea64c553bcff0006eb006a115d5ee
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from openerp.osv import osv, fields from openerp.tools.translate import _ class account_journal(osv.osv): _name = 'account.journal' _inherit = 'account.journal' _columns = { 'have_partner': fields.boolean('Require Partner'), 'account_transit': fields.many...
47.12
248
0.587153
395
3,534
5.063291
0.283544
0.015
0.044
0.06
0.188
0.127
0.057
0.057
0.057
0.057
0
0.007486
0.281834
3,534
74
249
47.756757
0.780536
0.03056
0
0.032787
0
0.016393
0.244009
0.013735
0
0
0
0
0
0
null
null
0
0.032787
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
f26dc07c721d6c9dd27c9a16c7918f5758397789
393
py
Python
c_from_py/testing.py
cmlttnts/joystick_control
722cdd0d8452b01e280dc69fa95317d3f716c8fa
[ "MIT" ]
null
null
null
c_from_py/testing.py
cmlttnts/joystick_control
722cdd0d8452b01e280dc69fa95317d3f716c8fa
[ "MIT" ]
null
null
null
c_from_py/testing.py
cmlttnts/joystick_control
722cdd0d8452b01e280dc69fa95317d3f716c8fa
[ "MIT" ]
null
null
null
from ctypes import * get_joys_values = CDLL("./get_joys.so") class JoyVel(Structure): _fields_ = [('x', c_double), ('y', c_double), ('z', c_double), ('button', c_int)] get_joys_values.get_joystick_val.restype = c_void_p p1 = JoyVel.from_address(get_joys_values.get_joystick_val()) print(p1.x," ", p1.y,...
21.833333
60
0.684478
65
393
3.769231
0.492308
0.142857
0.212245
0.130612
0.220408
0.220408
0
0
0
0
0
0.020588
0.13486
393
18
61
21.833333
0.7
0
0
0
0
0
0.063452
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.25
0.083333
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
f2713548bbd9c21e45d14422cdfef48eab86a3c6
3,868
py
Python
solat.py
trapeye/python-waktu-solat-telegram-bot
8001015342f2e4f4bb72cb3d89c8d04344bb3388
[ "Unlicense" ]
null
null
null
solat.py
trapeye/python-waktu-solat-telegram-bot
8001015342f2e4f4bb72cb3d89c8d04344bb3388
[ "Unlicense" ]
null
null
null
solat.py
trapeye/python-waktu-solat-telegram-bot
8001015342f2e4f4bb72cb3d89c8d04344bb3388
[ "Unlicense" ]
null
null
null
from bs4 import BeautifulSoup import urllib.request req = urllib.request.urlopen('https://www.e-solat.gov.my/index.php?r=esolatApi/xmlfeed&zon=JHR03') xml = BeautifulSoup(req,'xml') for kluang in xml.findAll('description')[:1]: # print(kluang.text) for imsak in xml.findAll('description')[1:2]: #...
39.876289
133
0.381593
304
3,868
4.776316
0.342105
0.027548
0.066116
0.126722
0.129477
0.096419
0
0
0
0
0
0.010805
0.521458
3,868
96
134
40.291667
0.773636
0.043175
0
0
0
0.021277
0.139191
0
0
0
0
0
0
1
0.12766
false
0
0.085106
0
0.212766
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
f27b1e898751b924ba1115469e9db1fddf7b8a42
1,117
py
Python
guess.py
JoseM-G/Python
33b3aeb652d218eceb8aff9bc655691b123c5155
[ "MIT" ]
null
null
null
guess.py
JoseM-G/Python
33b3aeb652d218eceb8aff9bc655691b123c5155
[ "MIT" ]
null
null
null
guess.py
JoseM-G/Python
33b3aeb652d218eceb8aff9bc655691b123c5155
[ "MIT" ]
null
null
null
#Jose Martinez #jmarti85@ucsc.edu #programming assignment 1 #This program will generate a random integer from 1 to 10 and gives the user 3 attempts to guess. The user will also be given hints, like if the number is too big or too small to narrow down the possibilities def game(): print("I'm thinking of an intege...
37.233333
208
0.556849
150
1,117
4.08
0.473333
0.107843
0.053922
0.083333
0.330065
0.29085
0.29085
0.29085
0.29085
0.29085
0
0.024011
0.366159
1,117
29
209
38.517241
0.840395
0.233662
0
0.409091
1
0
0.237089
0
0
0
0
0
0
1
0.045455
false
0
0.045455
0
0.090909
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1