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
64d2aca918ae5b7ebd1b001b58063375c5b46114
2,200
py
Python
nnsvs/bin/generate.py
kentaro-tachibana/nnsvs
8f3447187f2e197223f65782a960adc9638aa06f
[ "MIT" ]
null
null
null
nnsvs/bin/generate.py
kentaro-tachibana/nnsvs
8f3447187f2e197223f65782a960adc9638aa06f
[ "MIT" ]
null
null
null
nnsvs/bin/generate.py
kentaro-tachibana/nnsvs
8f3447187f2e197223f65782a960adc9638aa06f
[ "MIT" ]
null
null
null
# coding: utf-8 import hydra from hydra.utils import to_absolute_path from omegaconf import DictConfig, OmegaConf import numpy as np import joblib from tqdm import tqdm from os.path import basename, splitext, exists, join import os import torch from torch import nn from torch.nn import functional as F from nnmnkwii.da...
30.985915
78
0.705455
304
2,200
4.875
0.381579
0.040486
0.05668
0.067476
0.129555
0.039136
0
0
0
0
0
0.003401
0.198182
2,200
71
79
30.985915
0.836735
0.016818
0
0.039216
0
0
0.023137
0.011569
0
0
0
0
0
1
0.039216
false
0
0.313725
0
0.352941
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
64d48a763a738bf26a737613c95f176ce9b5d278
744
py
Python
docs/tutorials/dcdi/sniffing/custom.py
pauleveritt/wired
629f950176a9682a7ccb68efbb27cb2e23b4e93e
[ "MIT" ]
1
2021-01-09T00:05:54.000Z
2021-01-09T00:05:54.000Z
docs/tutorials/dcdi/sniffing/custom.py
pauleveritt/wired
629f950176a9682a7ccb68efbb27cb2e23b4e93e
[ "MIT" ]
null
null
null
docs/tutorials/dcdi/sniffing/custom.py
pauleveritt/wired
629f950176a9682a7ccb68efbb27cb2e23b4e93e
[ "MIT" ]
1
2019-04-22T14:22:39.000Z
2019-04-22T14:22:39.000Z
""" A custom add-on to our app which adds FrenchCustomer and French Greeter. """ from dataclasses import dataclass from wired import ServiceRegistry from .models import Customer, Greeter, Datastore from .utils import register_dataclass @dataclass class FrenchCustomer(Customer): """ A custom kind of Customer ""...
20.666667
64
0.727151
83
744
6.493976
0.493976
0.025974
0
0
0
0
0
0
0
0
0
0
0.185484
744
35
65
21.257143
0.889439
0.223118
0
0.125
0
0
0.039568
0
0
0
0
0
0
1
0.0625
false
0.0625
0.25
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
64de167c8a6ba035935d6374f4164c25808de85c
2,926
py
Python
EventLibrary.py
pulseq/pypulseq
32fe5b9bd820ece69c9672cc82dfe74702835769
[ "MIT" ]
null
null
null
EventLibrary.py
pulseq/pypulseq
32fe5b9bd820ece69c9672cc82dfe74702835769
[ "MIT" ]
1
2019-06-26T16:19:40.000Z
2019-06-28T07:32:10.000Z
EventLibrary.py
pulseq/pypulseq
32fe5b9bd820ece69c9672cc82dfe74702835769
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Thu Jun 23 13:37:10 2016 @author: kroboth """ import collections import numpy.linalg as linalg # TODO: # * Catch actual exceptions instead of all of them class EventLibrary(object): """ EventLibrary Maintain a list of events. The class is used by the Sequence...
27.345794
72
0.556391
373
2,926
4.335121
0.383378
0.029685
0.022263
0.0235
0.027211
0
0
0
0
0
0
0.01008
0.355776
2,926
106
73
27.603774
0.847745
0.42823
0
0.177778
0
0
0.007432
0
0
0
0
0.037736
0
1
0.088889
false
0
0.044444
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
b37c44bccc91852cf9dd93e443eb5ef8ca33fd6f
301
py
Python
qharv/reel/test/test_config_h5.py
Paul-St-Young/harvest_qmcpack
e86e478653642dcb615a893375014fbaca0d9753
[ "MIT" ]
2
2018-04-04T17:45:36.000Z
2020-08-13T23:32:01.000Z
qharv/reel/test/test_config_h5.py
Paul-St-Young/harvest_qmcpack
e86e478653642dcb615a893375014fbaca0d9753
[ "MIT" ]
null
null
null
qharv/reel/test/test_config_h5.py
Paul-St-Young/harvest_qmcpack
e86e478653642dcb615a893375014fbaca0d9753
[ "MIT" ]
1
2021-11-10T21:49:31.000Z
2021-11-10T21:49:31.000Z
import h5py import numpy as np from qharv.reel import config_h5 def test_saveh5(): mat = np.arange(9).reshape(3, 3) config_h5.saveh5('mat.h5', mat) config_h5.saveh5('mat.h5', mat, name='mat') fp = h5py.File('mat.h5', 'r') mat1 = fp['mat'][()] fp.close() assert np.allclose(mat, mat1)
20.066667
45
0.651163
52
301
3.692308
0.5
0.125
0.145833
0.177083
0.229167
0.229167
0
0
0
0
0
0.063492
0.162791
301
14
46
21.5
0.698413
0
0
0
0
0
0.083056
0
0
0
0
0
0.090909
1
0.090909
false
0
0.272727
0
0.363636
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
b38199485c652b9ec1b1ab9104c8a3a899baee78
2,363
py
Python
cogs/fossil.py
sundharvs/Fossils-ID
db3a66608a412ff580517eb6d041fe4f1435e024
[ "MIT" ]
null
null
null
cogs/fossil.py
sundharvs/Fossils-ID
db3a66608a412ff580517eb6d041fe4f1435e024
[ "MIT" ]
null
null
null
cogs/fossil.py
sundharvs/Fossils-ID
db3a66608a412ff580517eb6d041fe4f1435e024
[ "MIT" ]
null
null
null
import random import os from data import db import discord from discord.ext import commands class Fossil(commands.Cog): def __init__(self,bot): self.bot = bot @commands.command() async def fossil(self, ctx): fossil_list = ["Fusulinida","Nummulites","Astraeospongia","Hydnoceras","Archimedes...
94.52
1,658
0.725772
227
2,363
7.524229
0.762115
0.008197
0.010539
0.015222
0.04918
0.04918
0.04918
0.04918
0
0
0
0
0.069826
2,363
24
1,659
98.458333
0.77707
0
0
0
0
0
0.59416
0.033009
0
0
0
0
0
1
0.1
false
0
0.25
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b3875300085ae4b601da4b81039f629188b0e540
5,149
py
Python
mmic_autodock_vina/components/autodock_post_component.py
MolSSI/mmic_autodock
29310b595cba1e6355d6fe95fa144372700a7603
[ "BSD-3-Clause" ]
1
2021-03-02T01:39:47.000Z
2021-03-02T01:39:47.000Z
mmic_autodock_vina/components/autodock_post_component.py
MolSSI/mmic_autodock
29310b595cba1e6355d6fe95fa144372700a7603
[ "BSD-3-Clause" ]
null
null
null
mmic_autodock_vina/components/autodock_post_component.py
MolSSI/mmic_autodock
29310b595cba1e6355d6fe95fa144372700a7603
[ "BSD-3-Clause" ]
1
2021-03-02T01:39:50.000Z
2021-03-02T01:39:50.000Z
# Import models from mmic_autodock_vina.models.output import AutoDockComputeOutput from mmic_docking.models.output import DockOutput from mmelemental.models.util import FileInput, FileOutput from mmelemental.models.molecule import Molecule # Import components from mmic.components.blueprints import GenericComponent fro...
30.288235
88
0.562634
518
5,149
5.453668
0.272201
0.04531
0.014159
0.026903
0.155044
0.155044
0.099115
0.099115
0.099115
0.099115
0
0
0.327442
5,149
169
89
30.467456
0.815767
0.054768
0
0.142857
0
0
0.075965
0.008302
0
0
0
0.017751
0
1
0.063492
false
0
0.071429
0.015873
0.198413
0.007937
0
0
0
null
0
0
0
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
b388bde039962988945a421b973ba0cf1833cb57
372
py
Python
backend/Techfesia2019/event_registrations/migrations/0010_remove_teammember_invitation_rejected.py
masterashu/Techfesia2019
8fd82c4867c8d870b82a936fc0f9e80f11ae03e7
[ "MIT" ]
1
2019-07-01T03:56:58.000Z
2019-07-01T03:56:58.000Z
backend/Techfesia2019/event_registrations/migrations/0010_remove_teammember_invitation_rejected.py
masterashu/Techfesia2019
8fd82c4867c8d870b82a936fc0f9e80f11ae03e7
[ "MIT" ]
null
null
null
backend/Techfesia2019/event_registrations/migrations/0010_remove_teammember_invitation_rejected.py
masterashu/Techfesia2019
8fd82c4867c8d870b82a936fc0f9e80f11ae03e7
[ "MIT" ]
2
2019-06-22T05:02:20.000Z
2019-06-27T15:48:14.000Z
# Generated by Django 2.2.2 on 2019-07-12 13:01 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('event_registrations', '0009_soloeventregistration_is_reserved'), ] operations = [ migrations.RemoveField( model_name='teammember', ...
20.666667
74
0.639785
37
372
6.27027
0.810811
0.017241
0
0
0
0
0
0
0
0
0
0.069091
0.260753
372
17
75
21.882353
0.774545
0.120968
0
0
1
0
0.264615
0.116923
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
b38c03a296df1ef22a7b4c20d2c194daa3463b64
2,029
py
Python
examples/python.py
mauroreisvieira/mariana-theme
f500939e2987bf71da282f7ee77ab3b50c9cc4d5
[ "MIT" ]
38
2019-01-16T17:53:27.000Z
2019-10-21T13:49:02.000Z
examples/python.py
mauroreisvieira/mariana-theme
f500939e2987bf71da282f7ee77ab3b50c9cc4d5
[ "MIT" ]
32
2019-10-25T11:10:26.000Z
2022-01-21T11:39:58.000Z
examples/python.py
mauroreisvieira/mariana-theme
f500939e2987bf71da282f7ee77ab3b50c9cc4d5
[ "MIT" ]
9
2019-01-15T11:01:00.000Z
2019-04-11T13:45:54.000Z
class MyClass(): "This is my second class" a = 10 def func(self): print('Hello') # create a new MyClass ob = MyClass() class Model(BaseModel): age: int, first_name = 'John' last_name: NoneStr = None signup_ts: Options[datetime] = None list_of_ints: List[int] class Addition: ...
21.585106
88
0.605224
257
2,029
4.692607
0.455253
0.029851
0.021559
0.031509
0
0
0
0
0
0
0
0.030467
0.272055
2,029
93
89
21.817204
0.786053
0.162149
0
0
0
0
0.093546
0
0
0
0
0
0
0
null
null
0.015152
0
null
null
0.106061
0
0
0
null
0
0
0
0
0
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
b3a155b1b811ef5c51dbaabed84ad208cbfdb7d2
1,189
py
Python
scripts/create_json_data.py
CSCfi/docker-keystone-swift
aa3f9726f4af942c0176f93aac075d495a5fd2ac
[ "MIT" ]
null
null
null
scripts/create_json_data.py
CSCfi/docker-keystone-swift
aa3f9726f4af942c0176f93aac075d495a5fd2ac
[ "MIT" ]
1
2022-03-11T13:01:37.000Z
2022-03-11T13:01:37.000Z
scripts/create_json_data.py
CSCfi/docker-keystone-swift
aa3f9726f4af942c0176f93aac075d495a5fd2ac
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 import argparse import datetime import hashlib import json import os import pathlib import random from generate_data import create_from_lorem if __name__ == "__main__": parser = argparse.ArgumentParser( description="Generate a JSON file with a container/object structure for importi...
27.022727
124
0.687132
156
1,189
5.051282
0.474359
0.055838
0.064721
0.048223
0
0
0
0
0
0
0
0.00639
0.210261
1,189
43
125
27.651163
0.832801
0.017662
0
0.09375
1
0
0.324764
0.0497
0
0
0
0
0
1
0
false
0
0.28125
0
0.28125
0.03125
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
b3a3d82686c462acea74df48c2ada68b2a210323
628
py
Python
halftoning/error-diffusion/color-ed.py
justmao945/lab
5b360482c215fbcdba9430b068755a5a58721492
[ "MIT" ]
3
2018-06-08T19:32:39.000Z
2019-09-10T19:01:37.000Z
halftoning/error-diffusion/color-ed.py
justmao945/lab
5b360482c215fbcdba9430b068755a5a58721492
[ "MIT" ]
null
null
null
halftoning/error-diffusion/color-ed.py
justmao945/lab
5b360482c215fbcdba9430b068755a5a58721492
[ "MIT" ]
10
2015-01-15T02:00:49.000Z
2018-12-15T16:04:58.000Z
#!/usr/bin/env python2 # -*- coding:utf-8 -*- ''' Here we firstly convert RGB model to CMYK model to split bands, so that the routine can process on every channel. Finally, merge all bands back and convert back to RGB model. Now we get a colored image. ''' import Image import sys import ed if __name__ == "__main__"...
24.153846
72
0.652866
105
628
3.819048
0.6
0.069825
0.0399
0
0
0
0
0
0
0
0
0.013807
0.192675
628
25
73
25.12
0.77712
0.066879
0
0
0
0
0.134409
0
0
0
0
0
0
0
null
null
0
0.230769
null
null
0.076923
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
b3a75ea479b61f8f26aa38cfe5cad5f04ad73d61
1,448
py
Python
memory/lib/pitree/runner.py
toshipiazza/memsight
4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9
[ "BSD-2-Clause" ]
18
2017-11-02T11:04:33.000Z
2020-12-01T08:39:10.000Z
memory/lib/pitree/runner.py
toshipiazza/memsight
4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9
[ "BSD-2-Clause" ]
2
2020-04-16T17:24:16.000Z
2020-04-25T19:36:43.000Z
memory/lib/pitree/runner.py
toshipiazza/memsight
4c5c5db7fa4c674b0d5cc7321f7d5fef56bd3ff9
[ "BSD-2-Clause" ]
2
2019-06-07T06:24:30.000Z
2020-03-09T22:53:24.000Z
#!/usr/bin/python import sys from parser import parser from pitree import pitree class runner(parser): def __init__(self): parser.__init__(self) self.pitrees = dict() def _do_copy(self, parms): parser._do_copy(self, parms) t = self.pitrees[parms[0]] self.pitrees[pa...
24.133333
54
0.562155
209
1,448
3.688995
0.258373
0.116732
0.124514
0.110246
0.198444
0.140078
0.140078
0
0
0
0
0.020731
0.300414
1,448
59
55
24.542373
0.740375
0.014503
0
0.088889
0
0
0.018947
0
0
0
0
0
0.022222
0
null
null
0
0.066667
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
b3a9a6d3bbccad8ad74e88a3138b062a713cfcd0
901
py
Python
installation/ebooklib-0.15/ebooklib-0.15/setup.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
null
null
null
installation/ebooklib-0.15/ebooklib-0.15/setup.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
3
2020-06-05T18:58:57.000Z
2021-06-10T20:50:13.000Z
installation/ebooklib-0.15/ebooklib-0.15/setup.py
time-crunched/nlp-toolbox
b732abd0b2c6b265971efe04a4d70ebe20d2ee8f
[ "MIT" ]
1
2019-12-01T16:56:41.000Z
2019-12-01T16:56:41.000Z
#from distutils.core import setup from setuptools import setup setup( name = 'EbookLib', version = '0.15', author = 'Aleksandar Erkalovic', author_email = 'aerkalov@gmail.com', packages = ['ebooklib', 'ebooklib.plugins'], url = 'https://github.com/aerkalov/ebooklib', license = 'GNU Affero G...
32.178571
81
0.621532
92
901
6.054348
0.782609
0.039497
0.089767
0
0
0
0
0
0
0
0
0.014577
0.238624
901
27
82
33.37037
0.797376
0.035516
0
0
0
0
0.534025
0
0
0
0
0
0
1
0
true
0
0.041667
0
0.041667
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
b3b3e320e8fe3823cc8f13c12b253125b9000876
2,036
py
Python
DataWorkflow/data_core/migrations/0007_bucketadministration.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
null
null
null
DataWorkflow/data_core/migrations/0007_bucketadministration.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
12
2019-10-25T15:01:06.000Z
2021-09-22T18:02:03.000Z
DataWorkflow/data_core/migrations/0007_bucketadministration.py
Swiss-Polar-Institute/data-workflow
4c7fee1d78d67512ae6710449e625fd945468dd9
[ "MIT" ]
null
null
null
# Generated by Django 2.2.6 on 2019-10-24 15:23 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), ('data_core', '0006_file_m...
59.882353
265
0.681238
252
2,036
5.301587
0.345238
0.047904
0.041916
0.065868
0.487275
0.43488
0.43488
0.341317
0.341317
0.341317
0
0.012868
0.198428
2,036
33
266
61.69697
0.80576
0.022102
0
0
1
0
0.301659
0.064354
0
0
0
0
0
1
0
false
0
0.111111
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
b3b97a74191dcba2857124d6231ad04e19419efe
548
py
Python
ex025.py
Samuca47prog/Python_exercises_CursoEmVideo
d6002f92ba4a4ef84cd550d27651cec1e232b854
[ "MIT" ]
null
null
null
ex025.py
Samuca47prog/Python_exercises_CursoEmVideo
d6002f92ba4a4ef84cd550d27651cec1e232b854
[ "MIT" ]
null
null
null
ex025.py
Samuca47prog/Python_exercises_CursoEmVideo
d6002f92ba4a4ef84cd550d27651cec1e232b854
[ "MIT" ]
null
null
null
########################################################################## # Author: Samuca # # brief: returns if a str has "silva" # # this is a list exercise available on youtube: # https://www.youtube.com/playlist?list=PLHz_AreHm4dm6wYOIW20Nyg12TAjmMGT- ############################################################...
34.25
76
0.520073
61
548
4.655738
0.704918
0.021127
0
0
0
0
0
0
0
0
0
0.012397
0.116788
548
15
77
36.533333
0.57438
0.45438
0
0
0
0
0.43662
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
b3bb3d717225caf804453038f5d5578fc48c23a0
668
py
Python
zwuenf/pysrec/__init__.py
yweweler/pysrec
41b7c44e82d3714d658d18e3157b89f19ccb6418
[ "MIT" ]
1
2019-03-29T11:07:31.000Z
2019-03-29T11:07:31.000Z
zwuenf/pysrec/__init__.py
ngara/pysrec
f853cae4109db5d6a91c07e0de9e0b77320e6cd4
[ "MIT" ]
null
null
null
zwuenf/pysrec/__init__.py
ngara/pysrec
f853cae4109db5d6a91c07e0de9e0b77320e6cd4
[ "MIT" ]
1
2021-07-03T01:26:25.000Z
2021-07-03T01:26:25.000Z
""" This API can be used to interact with and modify Motorola S-Record files. .. moduleauthor:: Yves-Noel Weweler <y.weweler@gmail.com> """ __author__ = 'Yves-Noel Weweler <y.weweler@gmail.com>' __status__ = 'Development' __version__ = '0.0.1' __all__ = ('SRECError', 'SRecordParsingError', 'NotSRecFileError') class...
20.875
73
0.678144
80
668
5.4625
0.6375
0.048055
0.06865
0.073227
0.141876
0.141876
0.141876
0
0
0
0
0.005639
0.203593
668
32
74
20.875
0.815789
0.434132
0
0.3
0
0
0.307453
0.065217
0
0
0
0
0
1
0
false
0.3
0
0
0.3
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
b3bb8cf4af2bd434c350f06b69f70973cc30810f
1,601
py
Python
paper_related/change_gap_size.py
ivivan/Imputation_Review
717cc9edf6a65dbef4ad53d14e2e2811c57fe24b
[ "MIT" ]
1
2022-01-28T03:12:27.000Z
2022-01-28T03:12:27.000Z
paper_related/change_gap_size.py
ivivan/Imputation_Review
717cc9edf6a65dbef4ad53d14e2e2811c57fe24b
[ "MIT" ]
null
null
null
paper_related/change_gap_size.py
ivivan/Imputation_Review
717cc9edf6a65dbef4ad53d14e2e2811c57fe24b
[ "MIT" ]
null
null
null
import numpy as np import pandas as pd import matplotlib.pyplot as plt from matplotlib.patches import Circle, RegularPolygon from matplotlib.path import Path from matplotlib.projections.polar import PolarAxes from matplotlib.projections import register_projection from matplotlib.spines import Spine from matplotlib.tra...
32.673469
90
0.646471
235
1,601
4.27234
0.578723
0.079681
0.079681
0
0
0
0
0
0
0
0
0.161545
0.20737
1,601
48
91
33.354167
0.62963
0.076827
0
0
0
0
0.06721
0
0
0
0
0
0
1
0
false
0
0.310345
0
0.310345
0.034483
0
0
0
null
0
0
0
0
0
0
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
b3c51415186fb18d52491a96ff7adf7982ea1449
551
py
Python
tests/binary_cache/test_server.py
NarrativeScience/pynix
070d232ee6e2d366be575508d202873c962a6a99
[ "MIT" ]
1
2019-04-20T22:20:16.000Z
2019-04-20T22:20:16.000Z
tests/binary_cache/test_server.py
adnelson/pynix
f3cf56592f522ace8d57230f1eee4df446978d0b
[ "MIT" ]
null
null
null
tests/binary_cache/test_server.py
adnelson/pynix
f3cf56592f522ace8d57230f1eee4df446978d0b
[ "MIT" ]
3
2017-03-30T16:08:25.000Z
2020-12-18T19:16:59.000Z
# Test the NixServer class. import os import unittest import yaml from pynix.binary_cache.server import NixServer class TestNixServer(unittest.TestCase): """Tests for the NixServer class""" def test_nix_cache_info(self): """Test that the nix cache info is rendered correctly.""" server = NixSe...
27.55
65
0.655172
66
551
5.318182
0.560606
0.128205
0.096866
0
0
0
0
0
0
0
0
0.007212
0.245009
551
19
66
29
0.836538
0.196007
0
0
0
0
0.087963
0
0
0
0
0
0.076923
1
0.076923
false
0
0.307692
0
0.461538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
b3d2101321d21b5dd7b6f082559e9784d920cc55
1,147
py
Python
PythonTutor/session-7/HomeWork.py
krishnamanchikalapudi/examples.py
7a373d24df06b8882d07b850435b268a24317b1e
[ "MIT" ]
null
null
null
PythonTutor/session-7/HomeWork.py
krishnamanchikalapudi/examples.py
7a373d24df06b8882d07b850435b268a24317b1e
[ "MIT" ]
1
2020-02-14T13:24:01.000Z
2020-02-14T13:24:01.000Z
PythonTutor/session-7/HomeWork.py
krishnamanchikalapudi/examples.py
7a373d24df06b8882d07b850435b268a24317b1e
[ "MIT" ]
2
2020-02-14T13:21:20.000Z
2021-06-30T00:50:33.000Z
""" Session: 7 Topic: Homework - simple calculator """ # function adds two numbers def add(x, y): return x + y # function subtracts two numbers def subtract(x, y): return x - y # function multiplies two numbers def multiply(x, y): return x * y # function divides two numbers def divide(x, y): return ...
23.895833
115
0.581517
158
1,147
4.221519
0.329114
0.11994
0.077961
0.053973
0.332834
0.317841
0.224888
0.17991
0.17991
0
0
0.040556
0.247602
1,147
48
116
23.895833
0.732329
0.181343
0
0
0
0.035714
0.245955
0
0
0
0
0
0
1
0.178571
false
0
0
0.142857
0.321429
0.214286
0
0
0
null
0
0
0
0
0
0
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
b3d2c76046cf63e0610b7a14e619b7e2bf0c1035
2,743
py
Python
client_files/octoprint_PrintFarmer/__init__.py
CoolerGalaxy/PrintProject
3d5ada48f6dde0ce5f3bd5f942996a000f6c79c1
[ "MIT" ]
null
null
null
client_files/octoprint_PrintFarmer/__init__.py
CoolerGalaxy/PrintProject
3d5ada48f6dde0ce5f3bd5f942996a000f6c79c1
[ "MIT" ]
null
null
null
client_files/octoprint_PrintFarmer/__init__.py
CoolerGalaxy/PrintProject
3d5ada48f6dde0ce5f3bd5f942996a000f6c79c1
[ "MIT" ]
null
null
null
# coding = utf-8 from __future__ import absolute_import import json import octoprint.plugin import requests # this will probably go away from .ServerLogic import ServerLogic class PrintFarmer(octoprint.plugin.AssetPlugin, octoprint.plugin.EventHandlerPlugin, octoprint.plugin.ProgressPlugin, ...
29.494624
100
0.713452
322
2,743
5.782609
0.397516
0.080559
0.032223
0.033835
0.06015
0.03652
0.03652
0
0
0
0
0.003556
0.17973
2,743
92
101
29.815217
0.824
0.107182
0
0
0
0
0.163892
0.027742
0
0
0
0.01087
0
1
0.126984
false
0
0.079365
0.063492
0.285714
0.301587
0
0
0
null
0
0
0
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
b3d6a8837997019e31e69562fdb74d8e8c4e6e3c
862
py
Python
web/env/lib/python3.6/site-packages/test/io/test_pushback.py
Conbrown100/webfortune
779026d064498d36ddeba07e06cc744fb335ceb6
[ "Apache-2.0" ]
8
2015-07-30T16:19:18.000Z
2021-08-10T21:00:47.000Z
web/env/lib/python3.6/site-packages/test/io/test_pushback.py
Conbrown100/webfortune
779026d064498d36ddeba07e06cc744fb335ceb6
[ "Apache-2.0" ]
3
2015-01-09T13:53:55.000Z
2017-06-05T17:39:46.000Z
web/env/lib/python3.6/site-packages/test/io/test_pushback.py
Conbrown100/webfortune
779026d064498d36ddeba07e06cc744fb335ceb6
[ "Apache-2.0" ]
6
2015-01-09T13:47:15.000Z
2020-12-25T14:09:41.000Z
# Nose program for testing grizzled.io PushbackFile class # --------------------------------------------------------------------------- # Imports # --------------------------------------------------------------------------- from grizzled.io import * from io import StringIO import os import tempfile import atexit def...
20.046512
77
0.469838
101
862
4
0.326733
0.059406
0.178218
0.193069
0.363861
0.363861
0.363861
0.24505
0.24505
0
0
0.003035
0.235499
862
42
78
20.52381
0.610015
0.24942
0
0.382353
0
0
0.068536
0
0
0
0
0
0.205882
1
0.029412
false
0
0.147059
0
0.176471
0.176471
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
b3e4409ca5c37261301158d0ca2a25066d2fbe97
24,516
py
Python
python/common/rsi_email.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
3
2020-02-18T20:54:13.000Z
2022-01-14T17:11:45.000Z
python/common/rsi_email.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
41
2020-03-19T19:00:51.000Z
2022-03-05T02:12:18.000Z
python/common/rsi_email.py
jonathan-longe/RSBC-DataHub-API
90c3810a982a3f440673e8d4ea60973467eb335f
[ "Apache-2.0" ]
6
2020-02-20T20:05:24.000Z
2022-01-25T02:19:29.000Z
import python.common.helper as helper from python.common.config import Config import python.common.common_email_services as common_email_services from datetime import datetime import json import logging from jinja2 import Environment, select_autoescape, FileSystemLoader logging.basicConfig(level=Config.LOG_LEVEL, form...
41.134228
119
0.654389
2,784
24,516
5.470905
0.079741
0.10715
0.031252
0.064736
0.742105
0.697984
0.690434
0.666929
0.661677
0.635021
0
0.001914
0.232828
24,516
595
120
41.203361
0.807688
0.029654
0
0.577143
0
0
0.315419
0.078655
0
0
0
0
0
1
0.047619
false
0
0.013333
0.00381
0.110476
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b3eeb2cc5a997f0ab04e4e5fd8a92bbe4001bb2b
512
py
Python
setup.py
yvesf/flask-mediabrowser
d291450f7111ab120077667c431fb06fcb9af2b2
[ "BSD-2-Clause" ]
21
2016-01-09T15:39:52.000Z
2022-01-10T02:08:59.000Z
setup.py
yvesf/flask-mediabrowser
d291450f7111ab120077667c431fb06fcb9af2b2
[ "BSD-2-Clause" ]
2
2018-05-02T22:33:49.000Z
2019-01-31T23:18:34.000Z
setup.py
yvesf/flask-mediabrowser
d291450f7111ab120077667c431fb06fcb9af2b2
[ "BSD-2-Clause" ]
7
2016-06-29T01:19:32.000Z
2019-07-15T15:51:55.000Z
#!/usr/bin/env python3 from distutils.core import setup setup(name='flask-mediabrowser', version='0.0.1', description='HTTP media browsing and streaming/transcoding', author='Yves Fischer', author_email='yvesf+mediabrowser@xapek.org', url='https://www.xapek.org/git/yvesf/flask-mediabrows...
32
66
0.679688
62
512
5.548387
0.741935
0.148256
0
0
0
0
0
0
0
0
0
0.018957
0.175781
512
15
67
34.133333
0.796209
0.101563
0
0
0
0
0.438865
0.106987
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
b3eef08769d0f6c60814f83bd1ce3126891a16ba
2,700
py
Python
src/saml2_tophat/extension/shibmd.py
tophatmonocle/pysaml2
ddbf8cdce5dd4d5a607e533d2af98422b69f89c5
[ "Apache-2.0" ]
null
null
null
src/saml2_tophat/extension/shibmd.py
tophatmonocle/pysaml2
ddbf8cdce5dd4d5a607e533d2af98422b69f89c5
[ "Apache-2.0" ]
1
2019-01-15T22:30:49.000Z
2019-01-15T22:30:49.000Z
src/saml2_tophat/extension/shibmd.py
tophatmonocle/pysaml2
ddbf8cdce5dd4d5a607e533d2af98422b69f89c5
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # # Generated Sun Mar 20 18:06:44 2011 by parse_xsd.py version 0.4. # import saml2_tophat from saml2_tophat import SamlBase from saml2_tophat import xmldsig as ds NAMESPACE = 'urn:mace:shibboleth:metadata:1.0' class Scope(SamlBase): """The urn:mace:shibboleth:metadata:1.0:Scope element ""...
30.681818
78
0.634074
309
2,700
5.197411
0.265372
0.044832
0.034247
0.0467
0.491283
0.491283
0.474471
0.474471
0.427148
0.427148
0
0.01712
0.264444
2,700
87
79
31.034483
0.791541
0.072222
0
0.42623
1
0
0.082698
0.012846
0
0
0
0
0
1
0.081967
false
0
0.04918
0.04918
0.42623
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
b3ef1676a2cada3e3b2a30e297a136962c40a218
410
py
Python
db/tracker/migrations/0005_taskentry_sw_version.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
7
2015-08-25T00:28:49.000Z
2020-04-14T22:58:51.000Z
db/tracker/migrations/0005_taskentry_sw_version.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
89
2020-08-03T16:54:08.000Z
2022-03-09T19:56:19.000Z
db/tracker/migrations/0005_taskentry_sw_version.py
sgowda/brain-python-interface
708e2a5229d0496a8ce9de32bda66f0925d366d9
[ "Apache-2.0" ]
4
2016-10-05T17:54:26.000Z
2020-08-06T15:37:09.000Z
# Generated by Django 2.2.1 on 2020-07-27 14:21 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('tracker', '0004_keyvaluestore'), ] operations = [ migrations.AddField( model_name='taskentry', name='sw_version', ...
21.578947
74
0.607317
45
410
5.444444
0.822222
0
0
0
0
0
0
0
0
0
0
0.074074
0.27561
410
18
75
22.777778
0.750842
0.109756
0
0
1
0
0.121212
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
b3f32d2e8fcf6780435b052fe5569fc9ca8d5d99
2,576
py
Python
tracpro/polls/migrations/0030_reset_question_types.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
5
2015-07-21T15:58:31.000Z
2019-09-14T22:34:00.000Z
tracpro/polls/migrations/0030_reset_question_types.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
197
2015-03-24T15:26:04.000Z
2017-11-28T19:24:37.000Z
tracpro/polls/migrations/0030_reset_question_types.py
rapidpro/tracpro
a68a782a7ff9bb0ccee85368132d8847c280fea3
[ "BSD-3-Clause" ]
10
2015-03-24T12:26:36.000Z
2017-02-21T13:08:57.000Z
# -*- coding: utf-8 -*- from __future__ import unicode_literals from temba_client.v2 import TembaClient from django.conf import settings from django.db import migrations NUMERIC_TESTS = ('number', 'lt', 'eq', 'gt', 'between') def get_temba_client(org): host = settings.SITE_API_HOST user_agent = settings.SI...
38.447761
77
0.621894
327
2,576
4.688073
0.348624
0.078278
0.062622
0.033268
0.268754
0.200913
0.16047
0.16047
0.16047
0.16047
0
0.004886
0.284938
2,576
66
78
39.030303
0.827362
0.13587
0
0.212766
0
0
0.033484
0
0
0
0
0.015152
0
1
0.06383
false
0
0.085106
0
0.234043
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
b3f6598b63e09cb30d316fecf4f135dcca6b988e
7,799
py
Python
client/connection_module/network.py
hawwestin/MSR.BugSors
9d11ba222e47b68903349b4d7e1ae81398d37380
[ "Apache-2.0" ]
null
null
null
client/connection_module/network.py
hawwestin/MSR.BugSors
9d11ba222e47b68903349b4d7e1ae81398d37380
[ "Apache-2.0" ]
null
null
null
client/connection_module/network.py
hawwestin/MSR.BugSors
9d11ba222e47b68903349b4d7e1ae81398d37380
[ "Apache-2.0" ]
null
null
null
import json import socket import time from client.connection_module.connect_base import ConnectBase from client.data_config import CaseData, BasicSHDict from client.data_config import StepData from client.data_config import dict_account_type from client.user import user class ServerConnection(ConnectBase): """ ...
32.768908
94
0.531863
799
7,799
5.075094
0.257822
0.029593
0.048335
0.062146
0.403206
0.331196
0.306782
0.283107
0.283107
0.220469
0
0.008175
0.356969
7,799
237
95
32.907173
0.800399
0.148481
0
0.417808
0
0
0.071811
0.004094
0
0
0
0.012658
0
1
0.136986
false
0.027397
0.054795
0
0.356164
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
b60b076e63104526ae130c5bd3f366fdbfd436ea
178
py
Python
focus_outermost_parent.py
KJoke70/i3-tools
bb4bb817e8e1c1d58aa2ef43d67dc6c32eb5753d
[ "BSD-3-Clause" ]
26
2018-04-28T18:15:11.000Z
2022-02-19T12:23:07.000Z
focus_outermost_parent.py
KJoke70/i3-tools
bb4bb817e8e1c1d58aa2ef43d67dc6c32eb5753d
[ "BSD-3-Clause" ]
2
2018-12-05T17:35:50.000Z
2020-02-16T13:50:29.000Z
focus_outermost_parent.py
KJoke70/i3-tools
bb4bb817e8e1c1d58aa2ef43d67dc6c32eb5753d
[ "BSD-3-Clause" ]
1
2019-11-06T06:35:45.000Z
2019-11-06T06:35:45.000Z
#!/usr/bin/env python3 import i3ipc i3 = i3ipc.Connection() con = i3.get_tree().find_focused() while con.parent.type != "workspace": con = con.parent con.command('focus')
16.181818
37
0.691011
26
178
4.653846
0.730769
0.14876
0
0
0
0
0
0
0
0
0
0.03268
0.140449
178
10
38
17.8
0.75817
0.117978
0
0
0
0
0.089744
0
0
0
0
0
0
1
0
false
0
0.166667
0
0.166667
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
b60cdd1a5e174a20831c62a8e47eba089d0c13a1
298
py
Python
src/views/help.py
Amin-egn/Recipient
51e98ef9e679b3f32db7ab2eb07f0a905f0dac24
[ "Apache-2.0" ]
1
2021-07-24T11:05:20.000Z
2021-07-24T11:05:20.000Z
src/views/help.py
Amin-egn/Recipient
51e98ef9e679b3f32db7ab2eb07f0a905f0dac24
[ "Apache-2.0" ]
null
null
null
src/views/help.py
Amin-egn/Recipient
51e98ef9e679b3f32db7ab2eb07f0a905f0dac24
[ "Apache-2.0" ]
1
2021-08-08T11:14:02.000Z
2021-08-08T11:14:02.000Z
class Help(object): """Help View""" def __init__(self, ui): self.ui = ui self.tab = ui.contents.help # connect signals self.ui.menu.btnHelp.clicked.connect(self.tab_handler) def tab_handler(self): self.ui.contents.showTab(self.ui.contents.HELP)
27.090909
62
0.624161
40
298
4.5
0.425
0.166667
0.155556
0
0
0
0
0
0
0
0
0
0.244966
298
10
63
29.8
0.8
0.087248
0
0
0
0
0
0
0
0
0
0
0
1
0.285714
false
0
0
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
b60ef360dc5bb202dee583709fbc34728ece3af1
382
py
Python
dbserver/api/migrations/0044_auto_20191211_2324.py
nancheng58/database_course_design
890f3880922d8c08a2b3092b2e948148669fbbb1
[ "MIT" ]
2
2020-12-01T01:09:43.000Z
2020-12-01T01:32:43.000Z
dbserver/api/migrations/0044_auto_20191211_2324.py
nancheng58/database_course_design
890f3880922d8c08a2b3092b2e948148669fbbb1
[ "MIT" ]
null
null
null
dbserver/api/migrations/0044_auto_20191211_2324.py
nancheng58/database_course_design
890f3880922d8c08a2b3092b2e948148669fbbb1
[ "MIT" ]
4
2020-09-17T12:54:48.000Z
2020-10-19T12:08:44.000Z
# Generated by Django 2.2.6 on 2019-12-11 15:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('api', '0043_remove_department_cid'), ] operations = [ migrations.AlterField( model_name='student', name='age', ...
20.105263
49
0.594241
41
382
5.439024
0.829268
0
0
0
0
0
0
0
0
0
0
0.070111
0.290576
382
18
50
21.222222
0.752768
0.117801
0
0
1
0
0.116418
0.077612
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
b6120b244889c67e064af60b49b08b6f4fc78612
6,681
py
Python
analytics/embeddings_for_the_people/personalised_GPT2/class_declarations.py
INDElab/conversationkg
8bfe09b0afb4954f633a9287f723c61dcd21ce46
[ "Apache-2.0" ]
3
2021-01-18T10:07:44.000Z
2021-05-27T07:39:35.000Z
analytics/embeddings_for_the_people/personalised_GPT2/class_declarations.py
INDElab/conversationkg
8bfe09b0afb4954f633a9287f723c61dcd21ce46
[ "Apache-2.0" ]
3
2020-12-09T23:20:27.000Z
2021-03-06T11:08:24.000Z
analytics/embeddings_for_the_people/personalised_GPT2/class_declarations.py
INDElab/conversationkg
8bfe09b0afb4954f633a9287f723c61dcd21ce46
[ "Apache-2.0" ]
1
2021-02-19T12:10:11.000Z
2021-02-19T12:10:11.000Z
# -*- coding: utf-8 -*- import pickle from urllib.parse import urlparse from process_emails import extract_meta, parse_header, url_pattern,\ email_address_pattern, group_into_convos class Ledger(dict): def __init__(self): super().__init__(self) self.duplicate...
28.309322
94
0.565035
810
6,681
4.404938
0.171605
0.039238
0.036996
0.027466
0.225336
0.193666
0.140695
0.100897
0.058296
0.058296
0
0.001363
0.341117
6,681
236
95
28.309322
0.809178
0.003143
0
0.238095
0
0
0.016219
0
0
0
0
0
0
1
0.202381
false
0
0.017857
0.083333
0.434524
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
373847523a8052bce55062dfed756ba838645aec
1,280
py
Python
generate.py
Rh12-4/LyricsGANs
5f6e3c02d098609bc6d6a1474fdad3dec04031e0
[ "MIT" ]
12
2018-07-22T16:03:49.000Z
2021-06-05T06:28:35.000Z
generate.py
Rh12-4/LyricsGANs
5f6e3c02d098609bc6d6a1474fdad3dec04031e0
[ "MIT" ]
1
2018-07-22T14:40:00.000Z
2018-07-22T14:40:00.000Z
generate.py
Rh12-4/LyricsGANs
5f6e3c02d098609bc6d6a1474fdad3dec04031e0
[ "MIT" ]
7
2019-01-07T06:06:42.000Z
2022-02-19T12:25:47.000Z
import numpy as np import model_and_data_serialization from model import * output_path = './output/sample.txt' ''' example usage: python generate.py --CKPT_PATH=/path/to/checkpoint/seq-32/ckp --DISC_GRU_LAYERS=2 --GEN_GRU_LAYERS=2 ''' SEQ_LEN = FLAGS.END_SEQ _, charmap, inv_charmap = model_and_data_serialization.lo...
26.666667
100
0.725
189
1,280
4.666667
0.465608
0.040816
0.030612
0.056689
0
0
0
0
0
0
0
0.005469
0.142969
1,280
47
101
27.234043
0.798541
0
0
0
1
0
0.058773
0
0
0
0
0
0
1
0
false
0
0.096774
0
0.096774
0.064516
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3739f6957625e71fb4fd8dd52bee7042baacffb7
3,976
py
Python
scrapi/settings/sparql_mapping.py
wearpants/scrapi
b1619a1212d9fc7e1f2247336fc2e4a3d453a4bb
[ "Apache-2.0" ]
34
2015-10-06T20:08:43.000Z
2022-03-16T12:46:24.000Z
scrapi/settings/sparql_mapping.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
100
2015-09-10T19:57:32.000Z
2016-06-22T03:09:51.000Z
scrapi/settings/sparql_mapping.py
jgw4sq/twilio
796e97dc6a8fdb8983fd736b328ad907bb1ff73e
[ "Apache-2.0" ]
32
2015-09-09T21:28:54.000Z
2019-05-09T03:18:02.000Z
DOCUMENT_MAPPING = [ { 'name': 'title', 'pattern': '<{}> dc:title|rdfs:label ?title .', 'type': 'string' }, { 'name': 'journalTitle', 'pattern': """?journal vivo:publicationVenueFor <{}> ; rdfs:label ?journalTitle .""", 'type':...
29.671642
73
0.418763
274
3,976
6.058394
0.29562
0.090361
0.109639
0.089157
0.083133
0.033735
0
0
0
0
0
0.00875
0.396378
3,976
133
74
29.894737
0.682917
0
0
0.174242
0
0
0.647636
0.040493
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
373ad47bd888ae061ba4f212543bd9ddcbc2046b
392
py
Python
Awwardstars/migrations/0005_projects_total_score.py
Abdihakim-Muhumed/Awwards
c83980a09489cd858175d838feae30795e1128e4
[ "Unlicense" ]
null
null
null
Awwardstars/migrations/0005_projects_total_score.py
Abdihakim-Muhumed/Awwards
c83980a09489cd858175d838feae30795e1128e4
[ "Unlicense" ]
null
null
null
Awwardstars/migrations/0005_projects_total_score.py
Abdihakim-Muhumed/Awwards
c83980a09489cd858175d838feae30795e1128e4
[ "Unlicense" ]
null
null
null
# Generated by Django 3.1.2 on 2020-10-30 06:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('Awwardstars', '0004_projects_reviews'), ] operations = [ migrations.AddField( model_name='projects', name='total_sco...
20.631579
49
0.604592
41
392
5.682927
0.829268
0
0
0
0
0
0
0
0
0
0
0.071174
0.283163
392
18
50
21.777778
0.758007
0.114796
0
0
1
0
0.147826
0.06087
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
373d182b01d46f083833693815cf5723e036f074
1,497
py
Python
crawler/weibo/help-old-man/src/weibo_crawler_singlethreaded.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
1
2018-04-12T07:48:10.000Z
2018-04-12T07:48:10.000Z
crawler/weibo/help-old-man/src/weibo_crawler_singlethreaded.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
null
null
null
crawler/weibo/help-old-man/src/weibo_crawler_singlethreaded.py
yanshengjia/nlp
43398652b2cab9b85fd042f60e6f68c7b48697bc
[ "MIT" ]
1
2018-05-02T06:53:29.000Z
2018-05-02T06:53:29.000Z
#-*-coding:utf8-*- # use Cookie to login weibo.cn # single thread import sys reload(sys) sys.setdefaultencoding( "utf-8" ) import requests from lxml import etree f1 = open('扶老人.txt','w') cookie = {"Cookie": "_T_WM=2430b59919b4ec07936f0ac8af279443; _T_WL=1; _WEIBO_UID=2605773190; SUB=_2A257P30ZDeTxGeRI61cW9y3NwjyIHXV...
33.266667
285
0.674683
172
1,497
5.819767
0.639535
0.020979
0.021978
0.033966
0.07992
0.07992
0.07992
0
0
0
0
0.077494
0.189713
1,497
44
286
34.022727
0.747733
0.278557
0
0
0
0.05
0.352498
0.221489
0.05
0
0
0
0
0
null
null
0
0.15
null
null
0.05
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
3743c306ca585d9abd5ee025166c7f213a238a37
4,403
py
Python
src/spark_reduction/transform.py
josh-lang/where-cycle
f5574040cbffa38f4ae78540712882cfdb32c036
[ "MIT" ]
21
2020-07-01T16:51:47.000Z
2020-08-06T06:21:29.000Z
src/spark_reduction/transform.py
josh-lang/where-cycle
f5574040cbffa38f4ae78540712882cfdb32c036
[ "MIT" ]
2
2021-09-08T21:24:49.000Z
2022-03-01T23:10:39.000Z
src/spark_reduction/transform.py
josh-lang/where-cycle
f5574040cbffa38f4ae78540712882cfdb32c036
[ "MIT" ]
2
2020-07-01T18:10:52.000Z
2020-07-01T20:06:35.000Z
from pyspark.sql import SparkSession from config.geometries import \ TAXI_ZONE_LAT_MIN, TAXI_ZONE_LAT_MAX, \ TAXI_ZONE_LON_MIN, TAXI_ZONE_LON_MAX spark = SparkSession.builder \ .appName('where-cycle') \ .getOrCreate() def distill_citibike_stations(): '''Create list of unique Citibike stations acr...
28.967105
75
0.511015
497
4,403
4.301811
0.169014
0.08232
0.044902
0.050515
0.593545
0.514032
0.47942
0.412067
0.405519
0.353602
0
0.019592
0.431978
4,403
151
76
29.15894
0.835266
0.069498
0
0.593985
0
0
0.829951
0.022772
0
0
0
0
0
1
0.030075
false
0
0.015038
0
0.075188
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
374aeffd48fc902ce022416b9a9ea0297d1ab0e6
71,393
py
Python
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/ps3000base.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
20
2017-05-11T14:00:21.000Z
2022-03-15T06:11:53.000Z
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/ps3000base.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
13
2017-09-01T06:44:13.000Z
2018-09-14T16:08:27.000Z
learning/PicoScope/picosdk-python-examples-master/picosdk-python-examples-master/picosdk/ps3000base.py
ColdMatter/PhotonBEC
c6bcf9bdefd267c8adde0d299cf5920b010c5022
[ "MIT" ]
17
2017-09-01T06:25:36.000Z
2022-03-15T06:11:54.000Z
# # Copyright (C) 2015-2017 Pico Technology Ltd. See LICENSE file for terms. # """ Python calls for ps3000 based PicoScope devices. """ from picosdk.ps5000base import * from psutils import * from picosdk import ps5000base class Info(dict2class): """ Retrofited device PICO_INFO set """ driver_version = 0 ...
46.000644
119
0.554704
7,986
71,393
4.756824
0.081893
0.045462
0.032721
0.043408
0.500369
0.448773
0.41292
0.378646
0.353559
0.329736
0
0.016348
0.353984
71,393
1,551
120
46.030303
0.807311
0.006219
0
0.448718
0
0
0.040638
0.016748
0
0
0
0.000645
0
0
null
null
0
0.002564
null
null
0.004274
0
0
0
null
0
0
0
0
0
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
375442fdeccea64d5ed1cdd81161a52c2fc204d3
4,769
py
Python
tests/unit/test_client.py
Omegaice/smartcontainers
0d2e75734dbf76c6aed73ee10b9590ed82c8f7e5
[ "Apache-2.0" ]
6
2016-04-26T20:22:31.000Z
2021-05-03T23:38:11.000Z
tests/unit/test_client.py
Omegaice/smartcontainers
0d2e75734dbf76c6aed73ee10b9590ed82c8f7e5
[ "Apache-2.0" ]
43
2016-03-10T15:03:01.000Z
2016-06-06T15:28:27.000Z
tests/unit/test_client.py
Omegaice/smartcontainers
0d2e75734dbf76c6aed73ee10b9590ed82c8f7e5
[ "Apache-2.0" ]
4
2016-03-02T17:18:26.000Z
2016-03-18T14:13:11.000Z
# -*- coding: utf-8 -*- """Tests for Smart Containers Docker API Client. Testing for Smart Containers Client. This module extends the docker-py package to provide the ability to add metadata to docker containers. It is meant to be a drop-in replacement the docker-py package Client module. Existing methods that change...
38.152
80
0.705389
610
4,769
5.390164
0.255738
0.043491
0.050182
0.04927
0.433698
0.413929
0.347932
0.305353
0.305353
0.305353
0
0.00315
0.20109
4,769
124
81
38.459677
0.859843
0.32187
0
0.508197
0
0
0.134936
0
0
0
0
0.016129
0.098361
1
0.114754
false
0.016393
0.04918
0
0.163934
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
37575932b8c34d0421ccf7772db3d5a569c4156c
3,670
py
Python
EmeraldAI/Logic/ROS/Serial/TwistToSerialWheel.py
MaxMorgenstern/EmeraldAI
4bbb50f94b656904c428fc28cdbb61e7353e61aa
[ "Apache-2.0" ]
null
null
null
EmeraldAI/Logic/ROS/Serial/TwistToSerialWheel.py
MaxMorgenstern/EmeraldAI
4bbb50f94b656904c428fc28cdbb61e7353e61aa
[ "Apache-2.0" ]
null
null
null
EmeraldAI/Logic/ROS/Serial/TwistToSerialWheel.py
MaxMorgenstern/EmeraldAI
4bbb50f94b656904c428fc28cdbb61e7353e61aa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python # -*- coding: utf-8 -*- from __future__ import division from EmeraldAI.Logic.Singleton import Singleton from EmeraldAI.Logic.ROS.Helper.PIDController import PIDController from EmeraldAI.Config.HardwareConfig import HardwareConfig import rospy import os import math from geometry_msgs.msg import Twist...
33.063063
120
0.632425
384
3,670
5.716146
0.34375
0.018223
0.032802
0.029157
0.096128
0.073349
0.073349
0.058314
0.058314
0.032802
0
0.017903
0.254223
3,670
110
121
33.363636
0.78407
0.03733
0
0.097222
0
0
0.069181
0.009073
0
0
0
0
0
0
null
null
0
0.125
null
null
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
1
0
0
0
0
0
0
0
0
1
375900d79db0787af49145773b75d6f01387e647
330
py
Python
manage.py
imajunryou/blinkwink
5facec23d9b79c84004243f68ca26b651bca368d
[ "MIT" ]
null
null
null
manage.py
imajunryou/blinkwink
5facec23d9b79c84004243f68ca26b651bca368d
[ "MIT" ]
2
2019-04-19T06:19:29.000Z
2019-06-10T05:26:06.000Z
manage.py
imajunryou/blinkwink
5facec23d9b79c84004243f68ca26b651bca368d
[ "MIT" ]
null
null
null
# manage.py import os from blinkwink import create_app from flask_script import Manager # Either the config level is set in an environment variable # or we just use the development version of the config app = create_app(os.getenv("BLINKWINK_ENV") or "dev") manager = Manager(app) if __name__ == "__main__": mana...
20.625
59
0.754545
51
330
4.647059
0.686275
0.075949
0
0
0
0
0
0
0
0
0
0
0.169697
330
15
60
22
0.864964
0.363636
0
0
0
0
0.116505
0
0
0
0
0
0
1
0
false
0
0.428571
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
375ae4f4deffa8a5dc4d4eac6fc454a6a504a64e
942
py
Python
sandbox/memory_leak/fidimag_memory_issue_example.py
computationalmodelling/fidimag
07a275c897a44ad1e0d7e8ef563f10345fdc2a6e
[ "BSD-2-Clause" ]
53
2016-02-27T09:40:21.000Z
2022-01-19T21:37:44.000Z
sandbox/memory_leak/fidimag_memory_issue_example.py
computationalmodelling/fidimag
07a275c897a44ad1e0d7e8ef563f10345fdc2a6e
[ "BSD-2-Clause" ]
132
2016-02-26T13:18:58.000Z
2021-12-01T21:52:42.000Z
sandbox/memory_leak/fidimag_memory_issue_example.py
computationalmodelling/fidimag
07a275c897a44ad1e0d7e8ef563f10345fdc2a6e
[ "BSD-2-Clause" ]
32
2016-02-26T13:21:40.000Z
2022-03-08T08:54:51.000Z
#!/usr/bin/python2 # This script creates multiple fidimag simulation objects and shows how much # memory (maybe) the simulation objects claim in memory. import fidimag import gc import resource import sys def create_simulation(): return fidimag.micro.Sim(fidimag.micro.CuboidMesh(x0=-200, dx=1, nx=400, ...
32.482759
91
0.617834
116
942
4.939655
0.612069
0.068063
0.059337
0.062827
0
0
0
0
0
0
0
0.048711
0.259023
942
28
92
33.642857
0.772206
0.156051
0
0
0
0
0.167929
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0.111111
0.444444
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
375aedaebdfa7d8230a4c1507ff17d60f50d0479
3,016
py
Python
src/front/lib/auth.py
bspender/missionlz
50097f10f029f047abd62d80f0d4f5dfe620812a
[ "MIT" ]
null
null
null
src/front/lib/auth.py
bspender/missionlz
50097f10f029f047abd62d80f0d4f5dfe620812a
[ "MIT" ]
null
null
null
src/front/lib/auth.py
bspender/missionlz
50097f10f029f047abd62d80f0d4f5dfe620812a
[ "MIT" ]
null
null
null
# Copyright (c) Microsoft Corporation. # Licensed under the MIT License. # Login Code from Examples at: https://github.com/Azure-Samples/ms-identity-python-webapp import msal import os from starlette.requests import Request # TODO: Change all below items to keyvault reads CLIENT_ENV_ID = os.getenv("CLIENT_ID", "None"...
40.213333
124
0.745358
434
3,016
5.057604
0.334101
0.036446
0.014579
0.034624
0.178132
0.178132
0.128018
0.128018
0.128018
0.128018
0
0.000404
0.178714
3,016
75
125
40.213333
0.885749
0.45557
0
0
0
0
0.096958
0
0
0
0
0.026667
0
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
375b82bc48f93422842b62dcb85dc08927de4214
3,119
py
Python
src/scripts/run_inference_on_scannet.py
likojack/bnv_fusion
76b7354c6f3bf8c7f7e1ff4d958de0e73ec3e614
[ "MIT" ]
null
null
null
src/scripts/run_inference_on_scannet.py
likojack/bnv_fusion
76b7354c6f3bf8c7f7e1ff4d958de0e73ec3e614
[ "MIT" ]
null
null
null
src/scripts/run_inference_on_scannet.py
likojack/bnv_fusion
76b7354c6f3bf8c7f7e1ff4d958de0e73ec3e614
[ "MIT" ]
null
null
null
import numpy as np import os import subprocess import trimesh import src.utils.geometry as geometry import src.utils.scannet_helper as scannet_helper with open("/home/kejie/Datasets/ScanNet/server/Data/ScanNet/ScanNet/Tasks/Benchmark/scannetv2_val.txt", "r") as f: sequences = f.read().splitlines() sequences = so...
41.586667
150
0.579673
365
3,119
4.745205
0.342466
0.046767
0.073903
0.066397
0.599885
0.564088
0.564088
0.526559
0.526559
0.526559
0
0.035533
0.305226
3,119
75
151
41.586667
0.763729
0.045848
0
0.5
0
0.05
0.439435
0.410834
0
0
0
0
0
1
0
false
0
0.133333
0
0.133333
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3760798b383c4e6a771f4dbaa6178a946063f89f
455
py
Python
eval/multi_bin/network-facing/binary_dependency_graph/bdp_enum.py
cpbscholten/karonte
b989f7dfe9dbe002dd0dc4c4e5b0293dde61ae72
[ "BSD-2-Clause" ]
294
2019-11-14T13:14:55.000Z
2022-03-22T08:28:56.000Z
eval/multi_bin/network-facing/binary_dependency_graph/bdp_enum.py
cpbscholten/karonte
b989f7dfe9dbe002dd0dc4c4e5b0293dde61ae72
[ "BSD-2-Clause" ]
17
2019-12-23T09:32:00.000Z
2022-03-17T20:00:13.000Z
eval/multi_bin/network-facing/binary_dependency_graph/bdp_enum.py
cpbscholten/karonte
b989f7dfe9dbe002dd0dc4c4e5b0293dde61ae72
[ "BSD-2-Clause" ]
50
2019-11-25T02:27:04.000Z
2021-12-10T04:46:26.000Z
from enum import Enum class Role(Enum): SETTER = 0 GETTER = 1 UNKNOWN = 2 SETTER_GETTER = 3 class BuffType(Enum): HEAP = 0 STACK = 1 GLOBAL = 2 class RoleInfo(Enum): ROLE = 'role' STRING = 'string' X_REF_FUN = 'x_ref_function' CALLER_BB = 'block_caller_role_function' ...
17.5
44
0.626374
66
455
4
0.484848
0.106061
0.121212
0.106061
0
0
0
0
0
0
0
0.021341
0.279121
455
25
45
18.2
0.783537
0
0
0
0
0
0.210989
0.057143
0
0
0
0
0
1
0
false
0
0.05
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
376a895c8cea83b0214dcb206e348f240c84ec66
430
py
Python
set1/challenge2_fixed_XOR/test/test_s1c2.py
douglasnaphas/cryptopals-py
6c05b4910e4603383fab24e1cf541b5290baf409
[ "Apache-2.0" ]
null
null
null
set1/challenge2_fixed_XOR/test/test_s1c2.py
douglasnaphas/cryptopals-py
6c05b4910e4603383fab24e1cf541b5290baf409
[ "Apache-2.0" ]
7
2020-07-03T18:54:36.000Z
2021-05-16T00:35:10.000Z
set1/challenge2_fixed_XOR/test/test_s1c2.py
douglasnaphas/cryptopals-py
6c05b4910e4603383fab24e1cf541b5290baf409
[ "Apache-2.0" ]
null
null
null
import unittest from set1.challenge2_fixed_XOR.s1c2 import S1C2 from parameterized import parameterized class TestS1C2(unittest.TestCase): @parameterized.expand([ ( "1c0111001f010100061a024b53535009181c", "686974207468652062756c6c277320657965", "746865206b696420646f6e277420706c6179" ), ...
33.076923
56
0.737209
39
430
8
0.589744
0.076923
0.064103
0
0
0
0
0
0
0
0
0.30226
0.176744
430
12
57
35.833333
0.579096
0
0
0
0
0
0.251163
0.251163
0
0
0
0
0.090909
1
0.090909
false
0
0.272727
0
0.454545
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
3784831e479424151819da73b8b915c8be5d99db
369
py
Python
gdata.py
Arslan223/QuestBot
4d7a3a16012641247caaa7684f344a0d36d307e8
[ "MIT" ]
null
null
null
gdata.py
Arslan223/QuestBot
4d7a3a16012641247caaa7684f344a0d36d307e8
[ "MIT" ]
null
null
null
gdata.py
Arslan223/QuestBot
4d7a3a16012641247caaa7684f344a0d36d307e8
[ "MIT" ]
null
null
null
import json def load(): with open("data.json", "r") as f: return json.load(f) def update(obj): with open("data.json", "w") as f: json.dump(obj, f, ensure_ascii=False) def loadCorpus(): with open("corpus.json", "r", encoding="utf-8") as f: return json.load(f) def updateCorpus(obj): with open("corpus.json",...
21.705882
54
0.647696
65
369
3.661538
0.369231
0.134454
0.10084
0.134454
0.403361
0.302521
0.176471
0
0
0
0
0.00639
0.151762
369
17
55
21.705882
0.753994
0
0
0.153846
0
0
0.145946
0
0
0
0
0
0
1
0.307692
false
0
0.076923
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
3785cd2a22e0d101bf3a7af91703daca61cbcb98
5,575
py
Python
figures/orbital_series.py
MilesCranmer/bnn_chaos_model
92a35cd2f7c93607eb18d4b09f551620af2dc77a
[ "Apache-2.0" ]
6
2021-01-13T18:32:22.000Z
2021-02-15T17:33:10.000Z
figures/orbital_series.py
MilesCranmer/bnn_chaos_model
92a35cd2f7c93607eb18d4b09f551620af2dc77a
[ "Apache-2.0" ]
null
null
null
figures/orbital_series.py
MilesCranmer/bnn_chaos_model
92a35cd2f7c93607eb18d4b09f551620af2dc77a
[ "Apache-2.0" ]
2
2021-10-16T14:28:46.000Z
2021-10-18T22:44:55.000Z
from matplotlib import pyplot as plt import rebound import numpy as np from rebound.plotting import OrbitPlotOneSlice from celluloid import Camera from scipy import interpolate import numpy as onp import matplotlib as mpl def plotat(sim, t, ax): sim = rebound.Simulation() sim.add(m=1.0) sim.add(m=1.0e-2, ...
31.857143
90
0.564664
957
5,575
3.266458
0.293626
0.03199
0.036468
0.015355
0.183301
0.150352
0.150352
0.144594
0.136276
0.136276
0
0.211151
0.243946
5,575
174
91
32.04023
0.530486
0.004664
0
0.22069
0
0.137931
0.344094
0.077547
0
0
0
0
0
1
0.013793
false
0
0.055172
0
0.082759
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
378716599c32f9ee6adce31d17377c8fa9aae2d6
6,346
py
Python
kgtk/cli/generate_mediawiki_jsons.py
dgarijo/kgtk
f624754e91afbad8d28006e716189b43d367ef04
[ "MIT" ]
null
null
null
kgtk/cli/generate_mediawiki_jsons.py
dgarijo/kgtk
f624754e91afbad8d28006e716189b43d367ef04
[ "MIT" ]
null
null
null
kgtk/cli/generate_mediawiki_jsons.py
dgarijo/kgtk
f624754e91afbad8d28006e716189b43d367ef04
[ "MIT" ]
null
null
null
""" Generate mediawiki API json files from kgtk file This command line tool will create three json files. Each will mimic the return of the following media wiki API for each entity existed in the kgtk file. """ def str2bool(v): import argparse if isinstance(v, bool): return v if v.lower() in ('ye...
30.805825
361
0.566814
714
6,346
4.945378
0.295518
0.025489
0.048145
0.030586
0.228264
0.202775
0.182385
0.139904
0.077598
0.033418
0
0.005873
0.329184
6,346
205
362
30.956098
0.823585
0.122124
0
0.32948
1
0.017341
0.285403
0.014343
0
0
0
0
0
1
0.023121
false
0
0.023121
0
0.069364
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
3787367946e7f81c8690f3c16d2c8810add70d9c
401
py
Python
src/backend/services/migrations/0007_auto_20200501_2338.py
wlampert/AirFive
e3262d0cfdd2486e5c8fd903a40a88fc5bd061e6
[ "MIT" ]
1
2021-08-06T23:15:12.000Z
2021-08-06T23:15:12.000Z
src/backend/services/migrations/0007_auto_20200501_2338.py
wlampert/AirFive
e3262d0cfdd2486e5c8fd903a40a88fc5bd061e6
[ "MIT" ]
null
null
null
src/backend/services/migrations/0007_auto_20200501_2338.py
wlampert/AirFive
e3262d0cfdd2486e5c8fd903a40a88fc5bd061e6
[ "MIT" ]
null
null
null
# Generated by Django 2.2.4 on 2020-05-01 23:38 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('services', '0006_auto_20200501_2337'), ] operations = [ migrations.AlterField( model_name='listing', name='title', ...
21.105263
64
0.605985
44
401
5.409091
0.840909
0
0
0
0
0
0
0
0
0
0
0.114187
0.279302
401
18
65
22.277778
0.709343
0.112219
0
0
1
0
0.121469
0.064972
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
378840f2fea6b1336c446ee18f62e8862461eb48
1,323
py
Python
hgmd/models.py
brand-fabian/varfish-server
6a084d891d676ff29355e72a29d4f7b207220283
[ "MIT" ]
14
2019-09-30T12:44:17.000Z
2022-02-04T14:45:16.000Z
hgmd/models.py
brand-fabian/varfish-server
6a084d891d676ff29355e72a29d4f7b207220283
[ "MIT" ]
244
2021-03-26T15:13:15.000Z
2022-03-31T15:48:04.000Z
hgmd/models.py
brand-fabian/varfish-server
6a084d891d676ff29355e72a29d4f7b207220283
[ "MIT" ]
8
2020-05-19T21:55:13.000Z
2022-03-31T07:02:58.000Z
"""Models for ``HGMD`` annotation in VarFish. At the moment (and for the forseeable future), only the ``HGMD_PUBLIC`` dump from ENSEMBL can be imported. """ from django.db import models from postgres_copy import CopyManager class HgmdPublicLocus(models.Model): """Representation of an interval on the genome that...
33.075
91
0.668934
168
1,323
5.190476
0.517857
0.020642
0.061927
0.082569
0.09633
0.066514
0
0
0
0
0
0.011289
0.196523
1,323
39
92
33.923077
0.809031
0.429327
0
0
0
0
0.063624
0
0
0
0
0
0
1
0.066667
false
0
0.133333
0
0.866667
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
378b325262989ddce55a4554742629b9a419b6bc
1,257
py
Python
nduo.py
anatolikalysch/APKCrawler
6d2fde6decb4043a5a838871396f67e33657e893
[ "MIT" ]
10
2017-12-05T03:49:35.000Z
2021-01-10T23:51:47.000Z
nduo.py
anatolikalysch/APKCrawler
6d2fde6decb4043a5a838871396f67e33657e893
[ "MIT" ]
null
null
null
nduo.py
anatolikalysch/APKCrawler
6d2fde6decb4043a5a838871396f67e33657e893
[ "MIT" ]
7
2017-11-01T06:17:13.000Z
2020-04-03T08:42:31.000Z
from crawler import * class nduo_crawler(crawler): def __init__(self): super().__init__('http://www.nduo.cn/', 'http://market2.nduoa.com/softs.ashx?act=207&resId=984216') self.folder_name = 'nduo/' if not os.path.exists(self.folder_name): os.mkdir(self.folder_name) def sta...
35.914286
107
0.53222
148
1,257
4.351351
0.527027
0.07764
0.108696
0.059006
0.245342
0.201863
0.121118
0.121118
0.121118
0
0
0.027363
0.360382
1,257
34
108
36.970588
0.773632
0.025457
0
0.137931
0
0.034483
0.118561
0
0
0
0
0
0
1
0.103448
false
0.068966
0.034483
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
378e0155b04aa726ace57b4132e3890e83e58afe
1,088
py
Python
render_engine/search/search.py
kjaymiller/render_engine
010790f54291760e5d21b49bd23cee87096dae32
[ "MIT" ]
15
2019-06-14T18:22:09.000Z
2022-03-15T03:12:10.000Z
render_engine/search/search.py
kjaymiller/render_engine
010790f54291760e5d21b49bd23cee87096dae32
[ "MIT" ]
33
2019-08-01T18:26:39.000Z
2021-09-24T21:01:18.000Z
render_engine/search/search.py
kjaymiller/render_engine
010790f54291760e5d21b49bd23cee87096dae32
[ "MIT" ]
1
2019-06-14T21:14:33.000Z
2019-06-14T21:14:33.000Z
from ..page import Page import typing import hashlib def _id_hash(page: Page, *id_fields) -> str: """Generate a Hash from the provided fields""" raw_msg = "".join([getattr(page, x, "") for x in id_fields]).encode("utf-8") return hashlib.sha1(raw_msg).hexdigest() def _build_index(pages: typing.Sequence[P...
28.631579
85
0.604779
147
1,088
4.22449
0.435374
0.090177
0.032206
0.05153
0.067633
0
0
0
0
0
0
0.007557
0.270221
1,088
37
86
29.405405
0.774559
0.150735
0
0
1
0
0.088398
0.045304
0
0
0
0
0
1
0.105263
false
0
0.157895
0
0.315789
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
378f4f2ebc72c2a7287cab51b13df678dbf5377b
8,919
py
Python
sdk/python/pulumi_azure/automation/connection.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/automation/connection.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure/automation/connection.py
suresh198526/pulumi-azure
bf27206a38d7a5c58b3c2c57ec8769fe3d0fc5d7
[ "ECL-2.0", "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union from .. import _utilitie...
51.258621
243
0.669806
1,081
8,919
5.336725
0.155412
0.057202
0.063096
0.037442
0.648813
0.605998
0.59421
0.579303
0.537008
0.529034
0
0.005358
0.246664
8,919
173
244
51.554913
0.853252
0.41406
0
0.237624
1
0
0.147095
0.035847
0
0
0
0
0
1
0.09901
false
0.009901
0.049505
0.019802
0.247525
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
37998af682c6a8cadde65705522473c3f2ce6de3
2,462
py
Python
linked_list.py
jonathanstallings/data-structures
9e83d2d5e7b440261488991a3c5e011674ef5f03
[ "MIT" ]
3
2016-04-19T01:19:45.000Z
2021-11-27T17:06:38.000Z
linked_list.py
jonathanstallings/data-structures
9e83d2d5e7b440261488991a3c5e011674ef5f03
[ "MIT" ]
25
2015-06-26T01:15:22.000Z
2018-10-18T01:12:03.000Z
linked_list.py
jonathanstallings/data-structures
9e83d2d5e7b440261488991a3c5e011674ef5f03
[ "MIT" ]
3
2015-07-22T19:37:09.000Z
2018-10-17T13:48:32.000Z
from __future__ import unicode_literals class Node(object): def __init__(self, val, next=None): self.val = val self.next = next def __repr__(self): """Print representation of node.""" return "{val}".format(val=self.val) class LinkedList(object): """Class for a singly-li...
24.868687
64
0.539805
291
2,462
4.415808
0.243986
0.056031
0.021012
0.03035
0.079377
0.079377
0
0
0
0
0
0.001912
0.362713
2,462
98
65
25.122449
0.817081
0.205524
0
0.20339
0
0
0.009305
0
0
0
0
0
0
1
0.220339
false
0
0.016949
0.016949
0.474576
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
37a01c839f2c6331daa7a5cb6e550bb75f3c435f
2,716
py
Python
gaphor/UML/profiles/tests/test_stereotypepropertypages.py
mrmonkington/gaphor
f0fcd4deb90d24b14723840a689fac901f645a43
[ "Apache-2.0" ]
867
2018-01-09T00:19:09.000Z
2022-03-31T02:49:23.000Z
gaphor/UML/profiles/tests/test_stereotypepropertypages.py
mrmonkington/gaphor
f0fcd4deb90d24b14723840a689fac901f645a43
[ "Apache-2.0" ]
790
2018-01-13T23:47:07.000Z
2022-03-31T16:04:27.000Z
gaphor/UML/profiles/tests/test_stereotypepropertypages.py
sitedata/gaphor
c83eff0bd595d1a8e766a157f0268e5206eed22c
[ "Apache-2.0" ]
117
2018-01-09T02:24:49.000Z
2022-03-23T08:07:42.000Z
from gaphor import UML from gaphor.diagram.tests.fixtures import find from gaphor.UML.profiles.stereotypepropertypages import ( StereotypePage, set_value, toggle_stereotype, ) def test_stereotype_property_page_without_stereotype(diagram, element_factory): item = diagram.create( UML.classes.Cla...
33.121951
79
0.747423
309
2,716
6.372168
0.168285
0.106653
0.111732
0.128492
0.729304
0.670391
0.670391
0.670391
0.670391
0.670391
0
0.003492
0.15648
2,716
81
80
33.530864
0.855958
0
0
0.596774
0
0
0.036451
0
0
0
0
0
0.080645
1
0.064516
false
0
0.048387
0
0.112903
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37a0508fd69f85a12d912d04e93c411134083768
300
py
Python
tests/test_utils.py
Spico197/random-luck
d69ace5af4353e06b7af3675ccb443c1c94ce105
[ "MIT" ]
12
2022-01-25T07:14:16.000Z
2022-03-02T05:59:44.000Z
tests/test_utils.py
Spico197/random-luck
d69ace5af4353e06b7af3675ccb443c1c94ce105
[ "MIT" ]
1
2022-01-25T09:53:30.000Z
2022-01-25T09:53:30.000Z
tests/test_utils.py
Spico197/random-luck
d69ace5af4353e06b7af3675ccb443c1c94ce105
[ "MIT" ]
4
2022-01-26T02:54:55.000Z
2022-03-04T05:45:45.000Z
import datetime import randluck.utils def test_utc_to_cst(): utc_datetime = datetime.datetime.utcnow().replace(tzinfo=None) cst_datetime = randluck.utils.convert_utc_to_cst(utc_datetime).replace(tzinfo=None) timedelta = cst_datetime - utc_datetime assert timedelta.seconds == 28800
30
87
0.78
40
300
5.575
0.45
0.147982
0.071749
0.098655
0.170404
0
0
0
0
0
0
0.019157
0.13
300
9
88
33.333333
0.835249
0
0
0
0
0
0
0
0
0
0
0
0.142857
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
37a607454461dc873ee6b9253c71c1dadf3614c6
8,127
py
Python
python/packages/ibm_application_gateway/config/server_ssl_front_end.py
IBM-Security/ibm-application-gateway-resources
7263a48bbd158d1857a44a99449661b1a0c86793
[ "Apache-2.0" ]
null
null
null
python/packages/ibm_application_gateway/config/server_ssl_front_end.py
IBM-Security/ibm-application-gateway-resources
7263a48bbd158d1857a44a99449661b1a0c86793
[ "Apache-2.0" ]
null
null
null
python/packages/ibm_application_gateway/config/server_ssl_front_end.py
IBM-Security/ibm-application-gateway-resources
7263a48bbd158d1857a44a99449661b1a0c86793
[ "Apache-2.0" ]
1
2020-10-20T08:30:27.000Z
2020-10-20T08:30:27.000Z
# coding: utf-8 """ IBM Application Gateway Configuration Specification (OpenAPI) No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) # noqa: E501 The version of the OpenAPI document: 21.12 Generated by: https://openapi-generator.tech """ impo...
31.622568
392
0.604528
956
8,127
5.082636
0.161088
0.054332
0.113604
0.100021
0.544145
0.519037
0.514098
0.403375
0.353159
0.311998
0
0.050989
0.309831
8,127
256
393
31.746094
0.815297
0.47496
0
0.092593
1
0
0.053587
0.007491
0
0
0
0
0
1
0.166667
false
0
0.027778
0
0.342593
0.018519
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
37abfaff3fc12134f80afc060c61a595babe9bb6
3,853
py
Python
restApi/resources/users.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
null
null
null
restApi/resources/users.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
5
2019-10-21T17:05:46.000Z
2021-06-01T22:35:47.000Z
restApi/resources/users.py
Kitingu/restplus
f9f5d36f376b08bed4305020259f2be7d689705a
[ "MIT" ]
1
2018-09-04T14:17:43.000Z
2018-09-04T14:17:43.000Z
from flask_restplus import Namespace, Resource, fields from restApi.models.users import User from restApi.helpers.user_helper import UserParser from restApi.helpers.login_helper import LoginParser import jwt from instance.config import Config from werkzeug.security import check_password_hash, generate_password_hash fro...
38.919192
119
0.624448
451
3,853
5.148559
0.257206
0.036176
0.029285
0.031008
0.347115
0.134367
0.080103
0.080103
0.04565
0.04565
0
0.012281
0.260317
3,853
98
120
39.316327
0.802456
0.058915
0
0.186667
0
0
0.162244
0.005804
0
0
0
0
0
1
0.053333
false
0.2
0.133333
0
0.4
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
37ac8ebdbd99a359c552ac914e11eb356e725ce8
837
py
Python
code/tests_bdd/environment.py
eoaksnes/elasticsearch-introduction
b343bb82899758849512779e33e761d3b20078ab
[ "MIT" ]
null
null
null
code/tests_bdd/environment.py
eoaksnes/elasticsearch-introduction
b343bb82899758849512779e33e761d3b20078ab
[ "MIT" ]
null
null
null
code/tests_bdd/environment.py
eoaksnes/elasticsearch-introduction
b343bb82899758849512779e33e761d3b20078ab
[ "MIT" ]
1
2019-08-01T13:07:57.000Z
2019-08-01T13:07:57.000Z
import time from app import create_app from tests_bdd.results import print_overview_errors, print_overview_features app = create_app() def before_scenario(context, scenario): context.client = app.test_client() context.ctx = app.test_request_context() context.ctx.push() context.app = app def after_...
21.461538
76
0.719235
109
837
5.33945
0.321101
0.089347
0.065292
0.103093
0
0
0
0
0
0
0
0
0.167264
837
38
77
22.026316
0.835007
0
0
0
0
0
0.027479
0
0
0
0
0
0
1
0.25
false
0
0.125
0
0.375
0.166667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
37bbcc4a422848b35926d561e2bbf328a61384b1
2,462
py
Python
nn/ops.py
marella/nn
1ace22a2a9435f9807ee15b67c886d12460546e3
[ "MIT" ]
2
2018-05-09T02:09:43.000Z
2021-07-22T03:57:12.000Z
nn/ops.py
marella/nn
1ace22a2a9435f9807ee15b67c886d12460546e3
[ "MIT" ]
null
null
null
nn/ops.py
marella/nn
1ace22a2a9435f9807ee15b67c886d12460546e3
[ "MIT" ]
null
null
null
import tensorflow as tf from tensorflow.keras.backend import * detach = tf.stop_gradient gather = tf.gather ops = [ 'abs', 'all', 'any', 'argmax', 'argmin', 'batch_dot', 'batch_flatten', 'batch_normalization', 'bias_add', 'binary_crossentropy', 'cast', 'categorical_crossentropy', 'clip', 'conv1d', 'conv2d...
52.382979
79
0.646629
251
2,462
5.007968
0.63745
0.019093
0
0
0
0
0
0
0
0
0
0.005636
0.135256
2,462
46
80
53.521739
0.584782
0
0
0
0
0
0.602356
0.05199
0
0
0
0
0
1
0
false
0
0.047619
0
0.047619
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
37bf5e5e6fa60649809c5d44a2d276aae0c9267d
2,979
py
Python
run/analysis.py
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
run/analysis.py
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
run/analysis.py
dongchen-coder/symRIByInputOuputExamples
e7434699f44ceb01f153ac8623b5bafac57f8abf
[ "MIT" ]
null
null
null
import os def get_failed_ioe_with_no_sym_ri(cache_config, benches, ioe_path, sym_ri_path): failed_ioes = {} for mode in ["src_only", "src_enhanced", "src_snk", "ibound"]: print cache_config, mode, "------------------------" failed_ioes[mode] = {} for bench in benches: ioe_fi...
54.163636
326
0.583082
364
2,979
4.434066
0.31044
0.065056
0.061338
0.052045
0.296778
0.296778
0.231103
0.170384
0.170384
0.13197
0
0.012059
0.276267
2,979
54
327
55.166667
0.736549
0
0
0
0
0.021277
0.239678
0.071836
0
0
0
0
0
0
null
null
0
0.021277
null
null
0.085106
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
37bffc649932864328863011fe5f8ec00189cd96
336
py
Python
examples/fpnssd/scripts/get_state_dict.py
dukebw/torchcv
d1e39cf9d336e602b7df93a14f004e72d4c283db
[ "MIT" ]
null
null
null
examples/fpnssd/scripts/get_state_dict.py
dukebw/torchcv
d1e39cf9d336e602b7df93a14f004e72d4c283db
[ "MIT" ]
null
null
null
examples/fpnssd/scripts/get_state_dict.py
dukebw/torchcv
d1e39cf9d336e602b7df93a14f004e72d4c283db
[ "MIT" ]
null
null
null
import os import torch from torchcv.models.fpnssd import FPNSSD512 model_dir = './examples/fpnssd/model' params = torch.load(os.path.join(model_dir, 'resnet50-19c8e357.pth')) net = FPNSSD512(num_classes=21) net.fpn.load_state_dict(params, strict=False) torch.save(net.state_dict(), os.path.join(model_dir, 'fpnssd512_...
28
79
0.782738
52
336
4.903846
0.538462
0.094118
0.078431
0.117647
0.141176
0
0
0
0
0
0
0.067742
0.077381
336
11
80
30.545455
0.754839
0
0
0
0
0
0.196429
0.196429
0
0
0
0
0
1
0
false
0
0.375
0
0.375
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
37c00338f408f39f159fad7bd2e9522a79f4e1fc
256
py
Python
Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Unique Numbers - II.py
cnm06/Competitive-Programming
94242ae458570d503b8218f37624b88cc5020d23
[ "MIT" ]
994
2017-02-28T06:13:47.000Z
2022-03-31T10:49:00.000Z
Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Unique Numbers - II.py
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
16
2018-01-01T02:59:55.000Z
2021-11-22T12:49:16.000Z
Practice/Coding Blocks/Competitive Warriors Challenge 1.0/Unique Numbers - II.py
Quadrified/Competitive-Programming
bccb69952cc5260fb3647b3301ddac1023dacac8
[ "MIT" ]
325
2017-06-15T03:32:43.000Z
2022-03-28T22:43:42.000Z
n = int(raw_input()) data = [int(i) for i in raw_input().split()] data = sorted(data) ans = 0 for i in xrange(0, n, 2): if data[i] != data[i + 1]: print str(data[i]), i -= 1 ans += 1 if ans != 2: print str(data[n-1]) + " ",
21.333333
44
0.492188
47
256
2.638298
0.382979
0.120968
0.096774
0
0
0
0
0
0
0
0
0.044693
0.300781
256
11
45
23.272727
0.648045
0
0
0
0
0
0.003906
0
0
0
0
0
0
0
null
null
0
0
null
null
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
37c034b63901d24ffc6090c7bee6b644e344058b
419
py
Python
skytour/skytour/apps/misc/migrations/0009_stateregion_marker.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
skytour/skytour/apps/misc/migrations/0009_stateregion_marker.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
1
2022-03-17T01:19:23.000Z
2022-03-17T01:19:23.000Z
skytour/skytour/apps/misc/migrations/0009_stateregion_marker.py
ursomniac/skytour
3320d96d7ca41b8f52ede87e7112477902a37a0e
[ "MIT" ]
null
null
null
# Generated by Django 4.0.1 on 2022-01-15 15:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('misc', '0008_website'), ] operations = [ migrations.AddField( model_name='stateregion', name='marker', f...
22.052632
94
0.601432
47
419
5.276596
0.808511
0.080645
0
0
0
0
0
0
0
0
0
0.065789
0.274463
419
18
95
23.277778
0.75
0.107399
0
0
1
0
0.13172
0
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
37c1172119c2078fc93d53422e798e62320432db
805
py
Python
setup.py
IntegrCiTy/ictdeploy
32b25ae87a489cc04b4c3c2c980e892430c5dd28
[ "Apache-2.0" ]
null
null
null
setup.py
IntegrCiTy/ictdeploy
32b25ae87a489cc04b4c3c2c980e892430c5dd28
[ "Apache-2.0" ]
null
null
null
setup.py
IntegrCiTy/ictdeploy
32b25ae87a489cc04b4c3c2c980e892430c5dd28
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- from setuptools import setup, find_packages import ictdeploy setup( name='ictdeploy', version=ictdeploy.__version__, packages=find_packages(), author="Pablo Puerto", author_email="pablo.puerto@mines-albi.fr", description="Multiple containers...
21.184211
93
0.668323
85
805
6.2
0.8
0.045541
0
0
0
0
0
0
0
0
0
0.006173
0.195031
805
37
94
21.756757
0.807099
0.052174
0
0
0
0
0.457293
0.034166
0
0
0
0
0
1
0
true
0
0.1
0
0.1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
37c65c5c7bf13bb23fab88d8e1ed2812e82bbf48
563
py
Python
tests/db_tester.py
Ada-Kru/GraphTiler
355d3af9b77bf032e911684652f0019eac5a03cc
[ "MIT" ]
2
2020-02-06T01:08:17.000Z
2020-04-02T14:39:16.000Z
tests/db_tester.py
Ada-Kru/GraphTiler
355d3af9b77bf032e911684652f0019eac5a03cc
[ "MIT" ]
1
2021-03-10T06:46:21.000Z
2021-03-10T06:46:21.000Z
tests/db_tester.py
Ada-Kru/GraphTiler
355d3af9b77bf032e911684652f0019eac5a03cc
[ "MIT" ]
null
null
null
from pymongo import MongoClient client = MongoClient("mongodb://localhost:7000") db = client.graphTiler print(client.list_database_names()) print(db.list_collection_names()) print(db.categories) # db.categories.delete_many({}) # cursor = db.categories.find_one({"name": "PCBandwidth"}) # print(cursor) # for item in cu...
25.590909
64
0.74778
76
563
5.355263
0.5
0.088452
0.058968
0.088452
0.117936
0.117936
0
0
0
0
0
0.055666
0.106572
563
21
65
26.809524
0.753479
0.468917
0
0
0
0
0.082759
0.082759
0
0
0
0
0
1
0
false
0
0.111111
0
0.111111
0.444444
0
0
0
null
0
0
0
0
0
0
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
805b59c9f096a917fa08673854e7a763fc9c58e8
3,290
py
Python
main.py
SurendraRedd/Pythonshellsupport
0ba45827e951dd4b9a85b92e5487360996b73a1d
[ "MIT" ]
null
null
null
main.py
SurendraRedd/Pythonshellsupport
0ba45827e951dd4b9a85b92e5487360996b73a1d
[ "MIT" ]
null
null
null
main.py
SurendraRedd/Pythonshellsupport
0ba45827e951dd4b9a85b92e5487360996b73a1d
[ "MIT" ]
null
null
null
# File name: main.py # Author: Surendra Reddy # Date created: 7/6/2021 # Date last modified: 7/6/2021 import json import os,sys def clean(data): if isinstance(data, str): return data.replace('\n', ' ').replace('\t', ' ').replace('\r', ' ').replace('"', ' ').replace('\\', '\\\\').replace("u'","'"...
48.382353
226
0.622796
426
3,290
4.50939
0.422535
0.031234
0.024987
0.020822
0.116606
0.098907
0.098907
0.098907
0.059344
0.059344
0
0.019952
0.238298
3,290
67
227
49.104478
0.746209
0.198784
0
0
0
0
0.444706
0.416078
0
0
0
0
0
1
0.046512
false
0
0.046512
0
0.186047
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
1
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
805ba09ea1bc3c0c2c25efced25eb95b05f0c5e6
4,838
py
Python
src/test.py
JasonYuJjyu/unsupFlownet
3f652d7aaa0ce99efb767114ec119a3c23e3051b
[ "MIT" ]
24
2018-09-25T14:39:45.000Z
2022-03-29T10:44:50.000Z
src/test.py
y788zhan/joint_seg_flow
4c0082e9c1f625d6f6f1e1195a2c3d9dbf82bec0
[ "MIT" ]
6
2018-09-28T18:03:26.000Z
2019-03-25T01:43:29.000Z
src/test.py
y788zhan/joint_seg_flow
4c0082e9c1f625d6f6f1e1195a2c3d9dbf82bec0
[ "MIT" ]
7
2018-10-19T03:19:55.000Z
2022-02-22T02:42:28.000Z
import os import time import datetime import tensorflow as tf from PIL import Image import numpy as np import argparse import json from util import * # parse args argParser = argparse.ArgumentParser(description="runs validation and visualizations") argParser.add_argument("-f",dest="showFlow",action="store_true") argP...
30.049689
101
0.732741
648
4,838
5.404321
0.324074
0.062821
0.039977
0.034266
0.347516
0.324101
0.225871
0.199886
0.157339
0.157339
0
0.032703
0.11513
4,838
160
102
30.2375
0.785331
0.034725
0
0.253968
0
0
0.166416
0.065278
0
0
0
0
0
0
null
null
0
0.071429
null
null
0.039683
0
0
0
null
0
0
0
0
0
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
8061da9458b7a88d09bcb39dc3a5765b4bda8329
290
py
Python
0x03-python-data_structures/8-multiple_returns.py
coding-max/holbertonschool-higher_level_programming
392fed1ae686642b6cca6bb6752050882bbf79fc
[ "MIT" ]
1
2021-04-26T03:45:12.000Z
2021-04-26T03:45:12.000Z
0x03-python-data_structures/8-multiple_returns.py
coding-max/holbertonschool-higher_level_programming
392fed1ae686642b6cca6bb6752050882bbf79fc
[ "MIT" ]
null
null
null
0x03-python-data_structures/8-multiple_returns.py
coding-max/holbertonschool-higher_level_programming
392fed1ae686642b6cca6bb6752050882bbf79fc
[ "MIT" ]
1
2022-02-02T02:44:35.000Z
2022-02-02T02:44:35.000Z
#!/usr/bin/python3 def multiple_returns(sentence): "returns a tuple with the length of a string and its first character" "if the sentence is empty, the first character should be equal to None" if sentence == "": return (0, None) return (len(sentence), sentence[0])
32.222222
75
0.682759
43
290
4.581395
0.674419
0.142132
0
0
0
0
0
0
0
0
0
0.013274
0.22069
290
8
76
36.25
0.858407
0.293103
0
0
0
0
0.5
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.5
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
8064970b12c239d88bba04ba34d736bea4d281a2
1,057
py
Python
pjbank/contadigital/credenciamento.py
brunochikuji/pjbank-python-sdk
ea77eb8e2c477f599d7e287337db9a6621df2064
[ "MIT" ]
null
null
null
pjbank/contadigital/credenciamento.py
brunochikuji/pjbank-python-sdk
ea77eb8e2c477f599d7e287337db9a6621df2064
[ "MIT" ]
null
null
null
pjbank/contadigital/credenciamento.py
brunochikuji/pjbank-python-sdk
ea77eb8e2c477f599d7e287337db9a6621df2064
[ "MIT" ]
1
2019-11-07T18:43:23.000Z
2019-11-07T18:43:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from pjbank.contadigital import ContaDigital class Credenciamento(ContaDigital): """docstring for Credenciamento.""" def __init__(self): super(Credenciamento, self).__init__() def documentos(self, dados): pass def adicionar_s...
30.2
68
0.652791
111
1,057
6.027027
0.369369
0.098655
0.107623
0.137519
0.502242
0.502242
0.334828
0.224215
0.224215
0.224215
0
0.001244
0.239357
1,057
35
69
30.2
0.830846
0.068117
0
0.416667
0
0
0.030644
0
0
0
0
0
0
1
0.25
false
0.041667
0.041667
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
80674c37d0452865cc7e0df6f0a7ac728fd5b7eb
988
py
Python
packtrack/kennels/migrations/0010_remove_consensus_unique_member_consensus_and_more.py
jR1P621/packtrack
112e26ac3604012640e0ecfde6579086c4fbc0f5
[ "MIT" ]
null
null
null
packtrack/kennels/migrations/0010_remove_consensus_unique_member_consensus_and_more.py
jR1P621/packtrack
112e26ac3604012640e0ecfde6579086c4fbc0f5
[ "MIT" ]
null
null
null
packtrack/kennels/migrations/0010_remove_consensus_unique_member_consensus_and_more.py
jR1P621/packtrack
112e26ac3604012640e0ecfde6579086c4fbc0f5
[ "MIT" ]
null
null
null
# Generated by Django 4.0.2 on 2022-03-13 20:21 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('kennels', '0009_remove_consensus_consensus_type_constraint_and_more'), ] operations = [ migrations...
26.702703
69
0.574899
88
988
6.261364
0.522727
0.141561
0.130672
0.15971
0.174229
0.174229
0
0
0
0
0
0.028529
0.325911
988
36
70
27.444444
0.798799
0.045547
0
0.333333
1
0
0.201913
0.110521
0
0
0
0
0
1
0
false
0
0.066667
0
0.166667
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
806d29b9b863b167c007749d7b2bf2fed88d2ffe
4,186
py
Python
open_seq2seq/data/text2text/text2text_test.py
sugartom/OpenSeq2Seq
2866f67deb15d09798b075c665c4f6d8935708e4
[ "Apache-2.0" ]
null
null
null
open_seq2seq/data/text2text/text2text_test.py
sugartom/OpenSeq2Seq
2866f67deb15d09798b075c665c4f6d8935708e4
[ "Apache-2.0" ]
null
null
null
open_seq2seq/data/text2text/text2text_test.py
sugartom/OpenSeq2Seq
2866f67deb15d09798b075c665c4f6d8935708e4
[ "Apache-2.0" ]
2
2019-03-11T18:30:02.000Z
2019-03-17T21:08:22.000Z
# Copyright (c) 2017 NVIDIA Corporation from __future__ import absolute_import, division, print_function from __future__ import unicode_literals import tensorflow as tf from OpenSeq2Seq.open_seq2seq.data.text2text.text2text import ParallelTextDataLayer from OpenSeq2Seq.open_seq2seq.test_utils.create_reversed_examples...
39.866667
87
0.627329
529
4,186
4.758034
0.219282
0.083433
0.067541
0.063568
0.661104
0.661104
0.653953
0.653953
0.653953
0.64124
0
0.022479
0.23483
4,186
104
88
40.25
0.763347
0.035356
0
0.569892
0
0
0.171832
0.020828
0
0
0
0
0.225806
1
0.053763
false
0
0.053763
0
0.11828
0.096774
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
8080e20753bc282d1b59ab93ea24ad5e78eead9e
428
py
Python
plans_payments/templatetags/payment_buttons.py
Mrooie/django-plans-payments
f519ad802eb5b5a028fbcebb0075785af6d15969
[ "MIT" ]
8
2018-08-01T23:17:50.000Z
2022-03-01T16:35:35.000Z
plans_payments/templatetags/payment_buttons.py
Mrooie/django-plans-payments
f519ad802eb5b5a028fbcebb0075785af6d15969
[ "MIT" ]
null
null
null
plans_payments/templatetags/payment_buttons.py
Mrooie/django-plans-payments
f519ad802eb5b5a028fbcebb0075785af6d15969
[ "MIT" ]
5
2019-05-16T16:29:26.000Z
2020-12-18T13:24:52.000Z
from django import template from django.conf import settings from django.urls import reverse from payments.core import provider_factory register = template.Library() # settings value @register.inclusion_tag("plans_payments/payment_buttons.html") def payment_buttons(object_variable): variants = getattr(settings, ...
25.176471
62
0.752336
49
428
6.408163
0.55102
0.095541
0
0
0
0
0
0
0
0
0
0
0.158879
428
16
63
26.75
0.872222
0.03271
0
0
0
0
0.157767
0.084951
0
0
0
0
0
1
0.083333
false
0
0.333333
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
808368d690ed0498556b20e553f12afbd16142c9
7,598
py
Python
a2/linear_regression.py
zhangtravis/IntSys-Education
407e0e1f60b57a922b84f6813378a0bddc178c3a
[ "MIT" ]
null
null
null
a2/linear_regression.py
zhangtravis/IntSys-Education
407e0e1f60b57a922b84f6813378a0bddc178c3a
[ "MIT" ]
null
null
null
a2/linear_regression.py
zhangtravis/IntSys-Education
407e0e1f60b57a922b84f6813378a0bddc178c3a
[ "MIT" ]
null
null
null
import torch import torch.nn as nn import torch.optim as optim import numpy as np import pandas as pd import matplotlib.pyplot as plt from mpl_toolkits.mplot3d import Axes3D from data_loader import get_data_loaders class LinearRegressionModel(nn.Module): """LinearRegressionModel is the linear regression regresso...
30.514056
95
0.609766
1,066
7,598
4.253283
0.278612
0.024261
0.014116
0.00794
0.387296
0.354213
0.344949
0.33745
0.330613
0.290031
0
0.016251
0.271124
7,598
248
96
30.637097
0.802456
0.554093
0
0.078947
0
0
0.030385
0
0
0
0
0.016129
0
1
0.092105
false
0
0.105263
0
0.263158
0.013158
0
0
0
null
0
0
0
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
808600192952c47b9d9053ee1d30e4f5299192cc
2,521
py
Python
tipsip/storage/redis.py
mgwilliams/tipsip
deb7ef94afcd51ba57a8f2115c3571646ced54b1
[ "ISC" ]
2
2019-03-05T18:41:56.000Z
2019-05-17T06:51:53.000Z
tipsip/storage/redis.py
ivaxer/tipsip
deb7ef94afcd51ba57a8f2115c3571646ced54b1
[ "0BSD" ]
1
2018-02-14T15:52:21.000Z
2018-02-14T15:52:21.000Z
tipsip/storage/redis.py
ivaxer/tipsip
deb7ef94afcd51ba57a8f2115c3571646ced54b1
[ "0BSD" ]
1
2018-02-14T15:51:49.000Z
2018-02-14T15:51:49.000Z
# -*- coding: utf-8 -*- from twisted.internet import defer, protocol, reactor from txredis.protocol import Redis from twisted.internet.protocol import ReconnectingClientFactory class RedisStorage(ReconnectingClientFactory): protocol = Redis def __init__(self): self._callbacks = [] def buildProt...
29.313953
81
0.610472
303
2,521
5.056106
0.221122
0.064621
0.150131
0.078329
0.343342
0.29047
0.234334
0.065274
0.065274
0.065274
0
0.003252
0.268148
2,521
85
82
29.658824
0.8271
0.00833
0
0.307692
0
0
0.062074
0
0
0
0
0
0
1
0.230769
false
0
0.046154
0
0.323077
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
809970c6c94790016eb43337512dd24228fac360
1,043
py
Python
account/models.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
account/models.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
account/models.py
jamisonwight/KnectarPy
082ab65ed9ab8e8ee5351f0f1027eea0e432c88c
[ "MIT" ]
null
null
null
from django.db import models from django.db.models.signals import post_save from django.dispatch import receiver from rest_framework.authtoken.models import Token from django.contrib.auth.models import User from django.conf import settings USER_STATUS_CHOICES = ( ('O', 'Online'), ('A', 'Away'), ('B', '...
37.25
100
0.731544
141
1,043
5.248227
0.468085
0.067568
0.097297
0.12973
0.191892
0.110811
0.110811
0.110811
0
0
0
0.011236
0.146692
1,043
28
101
37.25
0.820225
0.038351
0
0
0
0
0.055385
0
0
0
0
0
0
1
0.043478
false
0
0.26087
0
0.565217
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
809a42e13882e998556c24fd0187c9e341472ce9
1,189
py
Python
nuclear/types/time.py
igrek51/glue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
6
2020-06-24T20:03:06.000Z
2021-09-21T10:05:17.000Z
nuclear/types/time.py
igrek51/cliglue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
2
2021-09-19T15:28:02.000Z
2021-09-21T17:29:38.000Z
nuclear/types/time.py
igrek51/cliglue
6726ba977a21e58b354a5c97f68639f84184be7a
[ "MIT" ]
2
2020-06-24T21:21:35.000Z
2021-08-01T17:24:38.000Z
from datetime import datetime, date, time from typing import Callable from nuclear.parser.error import CliSyntaxError def datetime_format(*formats: str) -> Callable[[str], datetime]: """format: %Y-%m-%d %H:%M:%S""" def parser(arg: str): return _parse_date_formats(arg, *formats) return parser ...
27.651163
78
0.656854
161
1,189
4.68323
0.229814
0.129973
0.125995
0.084881
0.380637
0.267905
0.267905
0.267905
0.19496
0.164456
0
0
0.192599
1,189
42
79
28.309524
0.785417
0.042893
0
0.16
0
0
0.051464
0
0
0
0
0
0
1
0.24
false
0.04
0.12
0.08
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
80a5738700fa47e126d2fab499782fdce8e35ab1
276
py
Python
P14a_mapper.py
al3xhh/Cloud-and-big-data-Programming-Assigments
39741429f59be29429c5fd5edbacf965b5caee89
[ "Apache-2.0" ]
null
null
null
P14a_mapper.py
al3xhh/Cloud-and-big-data-Programming-Assigments
39741429f59be29429c5fd5edbacf965b5caee89
[ "Apache-2.0" ]
null
null
null
P14a_mapper.py
al3xhh/Cloud-and-big-data-Programming-Assigments
39741429f59be29429c5fd5edbacf965b5caee89
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/python import sys firstLine = True for line in sys.stdin: if not firstLine: split = line.split(",") print "{};{}".format(int(split[1]), float(split[2].replace('\n', '').replace('\r', '').replace(' ', ''))) else: firstLine = False
21.230769
113
0.547101
34
276
4.441176
0.735294
0
0
0
0
0
0
0
0
0
0
0.009346
0.224638
276
13
114
21.230769
0.696262
0.057971
0
0
0
0
0.042308
0
0
0
0
0
0
0
null
null
0
0.125
null
null
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
80aebcea283dfb3087675c3c3d7110060706b74b
2,053
py
Python
telekey/page.py
danialkeimasi/telegram-bot-api-snake
d43f24e0de6fbbeff3f41d058e63cd2326d2554a
[ "MIT" ]
null
null
null
telekey/page.py
danialkeimasi/telegram-bot-api-snake
d43f24e0de6fbbeff3f41d058e63cd2326d2554a
[ "MIT" ]
null
null
null
telekey/page.py
danialkeimasi/telegram-bot-api-snake
d43f24e0de6fbbeff3f41d058e63cd2326d2554a
[ "MIT" ]
1
2019-09-18T12:02:26.000Z
2019-09-18T12:02:26.000Z
from copy import deepcopy import telegram from telegram import KeyboardButton, InlineKeyboardButton, ReplyKeyboardRemove def build_menu(buttons, n_cols, header_buttons=[], footer_buttons=[]): return header_buttons + [buttons[i:i + n_cols] for i in range(0, len(buttons), n_cols)] + footer_buttons class Page: ...
32.587302
108
0.633707
235
2,053
5.323404
0.246809
0.071942
0.067946
0.067146
0.411671
0.335731
0.281375
0.236611
0.201439
0.174261
0
0.001308
0.255236
2,053
62
109
33.112903
0.816874
0
0
0.26087
0
0
0.05358
0
0
0
0
0
0
1
0.152174
false
0
0.065217
0.108696
0.413043
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
80c81e0028f4e73f9dedd49ed5de0982fd4ce1b5
782
py
Python
tests/test-hello.py
techwitz/docxpy
412f7f7e5915e137391b88ce303f0562749eff26
[ "MIT" ]
6
2018-03-29T12:22:30.000Z
2021-11-12T11:16:57.000Z
tests/test-hello.py
techwitz/docxpy
412f7f7e5915e137391b88ce303f0562749eff26
[ "MIT" ]
2
2017-03-07T15:07:42.000Z
2019-06-17T13:44:24.000Z
tests/test-hello.py
techwitz/docxpy
412f7f7e5915e137391b88ce303f0562749eff26
[ "MIT" ]
3
2017-03-07T14:39:02.000Z
2019-07-30T14:25:23.000Z
import unittest from docxpy import DOCReader class Test(unittest.TestCase): def setUp(self): self.file = DOCReader('Hello.docx') self.file.process() def test_file_data(self): self.assertIsInstance(self.file.data, dict) self.assertTrue('header' in self.file.data) self.a...
28.962963
102
0.643223
99
782
4.959596
0.444444
0.130346
0.14664
0.08554
0.114053
0.114053
0
0
0
0
0
0.00161
0.205882
782
26
103
30.076923
0.78905
0
0
0
0
0
0.161125
0
0
0
0
0
0.315789
1
0.210526
false
0
0.105263
0
0.368421
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
80cf08a41bc3a5c93499d338095e0d203893fe70
355
py
Python
setup.py
slyboots/dummyimage
0e313bd56a2c3964822478cbb51f95dbcaf45e26
[ "MIT" ]
null
null
null
setup.py
slyboots/dummyimage
0e313bd56a2c3964822478cbb51f95dbcaf45e26
[ "MIT" ]
null
null
null
setup.py
slyboots/dummyimage
0e313bd56a2c3964822478cbb51f95dbcaf45e26
[ "MIT" ]
null
null
null
from setuptools import setup setup( name='dummyimage', version='0.1', description='Download dummy images from dummyimage.com', url='http://github.com/slyboots/dummyimage-cli', author='Slyboots', author_email='admin@slyb--ts.com', license='MIT', packages=['dummyimage'], zip_safe=Fals...
25.357143
60
0.670423
42
355
5.619048
0.761905
0
0
0
0
0
0
0
0
0
0
0.00678
0.169014
355
14
61
25.357143
0.79322
0
0
0
0
0
0.41573
0
0
0
0
0
0
1
0
true
0
0.076923
0
0.076923
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
80d60a82315e1252070cf34fa91b9a622024dfa1
846
py
Python
02.py
jaguar243/aoc-2020
e3a7fbccc88c3906175f1446fb10481483e1078a
[ "MIT" ]
null
null
null
02.py
jaguar243/aoc-2020
e3a7fbccc88c3906175f1446fb10481483e1078a
[ "MIT" ]
null
null
null
02.py
jaguar243/aoc-2020
e3a7fbccc88c3906175f1446fb10481483e1078a
[ "MIT" ]
null
null
null
import numpy as np import re def part1(data): num_valid = 0 for line in data.split('\n'): match = re.match(r'(\d+)-(\d+) ([a-zA-Z]): ([a-zA-Z]+)', line) if not match: continue min_entries, max_entries, entry, password = match.groups() if password.count(entry) in ran...
30.214286
82
0.550827
126
846
3.619048
0.349206
0.105263
0.035088
0.057018
0.438596
0.438596
0.337719
0.337719
0.337719
0.337719
0
0.019967
0.289598
846
27
83
31.333333
0.738769
0
0
0.608696
0
0
0.08747
0
0
0
0
0
0
1
0.086957
false
0.173913
0.086957
0
0.26087
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
80d8806f04403ec583976f68eb5b4da552a4ed79
546
py
Python
visitation/test_registry.py
patrickmmartin/pytterns
9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c
[ "Unlicense" ]
null
null
null
visitation/test_registry.py
patrickmmartin/pytterns
9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c
[ "Unlicense" ]
null
null
null
visitation/test_registry.py
patrickmmartin/pytterns
9850b46fe9806f71ee3f8d3e63f7608c9c9bdd0c
[ "Unlicense" ]
null
null
null
import unittest import registry import fund Registry = registry.Registry Fund = fund.Fund Registry = registry.Registry Fund = fund.Fund class RegistryTestCase(unittest.TestCase): def test_type(self): f = Fund o = f() self.assertIsInstance(o, Fund) def test_registry(self): ...
18.2
42
0.615385
64
546
5.09375
0.359375
0.196319
0.122699
0.171779
0.233129
0.233129
0.233129
0
0
0
0
0
0.261905
546
29
43
18.827586
0.808933
0
0
0.190476
0
0
0.047619
0
0
0
0
0
0.142857
1
0.095238
false
0
0.142857
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
80e09b99bbd42840a5e38d5b83f25d5c807b6e7e
2,222
py
Python
fabfile_docker.py
tylerdavis/hbizzle
c39648b1e32194caad454af013a076c168279938
[ "MIT" ]
3
2015-01-07T14:27:13.000Z
2018-05-29T12:29:27.000Z
fabfile_docker.py
tylerdavis/hbizzle
c39648b1e32194caad454af013a076c168279938
[ "MIT" ]
null
null
null
fabfile_docker.py
tylerdavis/hbizzle
c39648b1e32194caad454af013a076c168279938
[ "MIT" ]
null
null
null
import re from fabric.api import cd, env, local, lcd, run # Tasks def deploy(): pass def production(): env.host_string = "beta.hbizzle.com" env.user = "rails" def push_to_git(): local("git add -p && git commit") local("git push") def run_vm_test(): machine = 'default' __run_vm(machine) __vm_ssh_co...
24.152174
95
0.667417
323
2,222
4.374613
0.294118
0.050955
0.031847
0.042463
0.101203
0.101203
0.101203
0.036093
0
0
0
0.002756
0.183618
2,222
91
96
24.417582
0.776185
0.079208
0
0.112903
0
0
0.227518
0.018182
0
0
0
0
0
0
null
null
0.032258
0.032258
null
null
0.016129
0
0
0
null
0
0
0
0
0
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
80e493c6267d506af442e223c05c8634b28395f7
2,740
py
Python
post.py
voidrohit/Insta-selenium
6d09740974c80391bbc4f4bfbdb9b16ebee950b1
[ "MIT" ]
null
null
null
post.py
voidrohit/Insta-selenium
6d09740974c80391bbc4f4bfbdb9b16ebee950b1
[ "MIT" ]
null
null
null
post.py
voidrohit/Insta-selenium
6d09740974c80391bbc4f4bfbdb9b16ebee950b1
[ "MIT" ]
null
null
null
import autoit from time import sleep from selenium import webdriver from selenium.webdriver.chrome.options import Options from selenium.webdriver.common.action_chains import ActionChains username = "username" #Enter your username password = "password" #Enter your password caption = "#paperparticle" #Enter the ...
28.541667
166
0.679197
364
2,740
4.89011
0.337912
0.05618
0.095506
0.106742
0.268539
0.225843
0.195506
0.167416
0.101124
0
0
0.012567
0.186861
2,740
95
167
28.842105
0.785009
0.081387
0
0.3
0
0
0.194123
0.118377
0
0
0
0
0
1
0.057143
false
0.085714
0.071429
0
0.128571
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
80e5ce5900a466791959b619d71271eec5676993
3,711
py
Python
thecut/ordering/tests/test_views.py
exemplarysoftware/thecut-ordering
7de68cd993e2a1833863c83d2f3edd34dae9571b
[ "Apache-2.0" ]
null
null
null
thecut/ordering/tests/test_views.py
exemplarysoftware/thecut-ordering
7de68cd993e2a1833863c83d2f3edd34dae9571b
[ "Apache-2.0" ]
null
null
null
thecut/ordering/tests/test_views.py
exemplarysoftware/thecut-ordering
7de68cd993e2a1833863c83d2f3edd34dae9571b
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- from __future__ import absolute_import, unicode_literals from django.test import TestCase, RequestFactory from test_app.factories import OrderingTestModelFactory from test_app.models import OrderingTestModel from test_app.admin import OrderingTestModelAdmin from django.contrib.admin.sites import...
35.009434
79
0.683913
391
3,711
6.337596
0.230179
0.039952
0.041969
0.027441
0.485876
0.445521
0.397498
0.397498
0.353914
0.353914
0
0.007249
0.219348
3,711
105
80
35.342857
0.848119
0.029911
0
0.459459
0
0
0.03005
0.006678
0
0
0
0
0.094595
1
0.081081
false
0.054054
0.135135
0
0.243243
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
80e6b3e54fc57925e2052be653e6b4e090d491bf
359
py
Python
setup.py
mrawls/apVisitproc
4847b75852d32b6a7ff58ed60fa4b710831b734b
[ "MIT" ]
null
null
null
setup.py
mrawls/apVisitproc
4847b75852d32b6a7ff58ed60fa4b710831b734b
[ "MIT" ]
null
null
null
setup.py
mrawls/apVisitproc
4847b75852d32b6a7ff58ed60fa4b710831b734b
[ "MIT" ]
null
null
null
from setuptools import setup setup(name='apVisitproc', version='1.0', description='Processing Tools for APOGEE apVisit Spectra', url='https://www.github.com/savvytruffle/cauldron', author='Meredith Rawls with Joni Cunningham, Diana Windemuth, and Aleezah Ali', author_email='mrawls@uw.edu'...
35.9
85
0.693593
42
359
5.904762
0.928571
0
0
0
0
0
0
0
0
0
0
0.006849
0.18663
359
10
86
35.9
0.842466
0
0
0
0
0
0.538889
0
0
0
0
0
0
1
0
true
0
0.111111
0
0.111111
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
80e7503b677485757c460db4ee9c172fe68780a9
501
py
Python
watch/migrations/0002_auto_20220322_1911.py
alphine3900/Brotherhood-society
e78276ae33b7b2172ac7f8bbfe243a9c5ebdf9c7
[ "MIT" ]
null
null
null
watch/migrations/0002_auto_20220322_1911.py
alphine3900/Brotherhood-society
e78276ae33b7b2172ac7f8bbfe243a9c5ebdf9c7
[ "MIT" ]
null
null
null
watch/migrations/0002_auto_20220322_1911.py
alphine3900/Brotherhood-society
e78276ae33b7b2172ac7f8bbfe243a9c5ebdf9c7
[ "MIT" ]
null
null
null
# Generated by Django 2.2.10 on 2022-03-22 19:11 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('watch', '0001_initial'), ] operations = [ migrations.AlterField( model_name='notifications', ...
25.05
130
0.648703
56
501
5.75
0.660714
0.074534
0.086957
0.136646
0
0
0
0
0
0
0
0.051948
0.231537
501
19
131
26.368421
0.784416
0.091816
0
0
1
0
0.136865
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
80e9231c7785ba7af78fe5c1ea05d806aada2747
629
py
Python
WLANderlust/captiveportals/impl/SpotHub.py
rrooggiieerr/WLANderlust.py
c53907684683ee5790086703ffe7f4428d9cea69
[ "Apache-2.0" ]
1
2021-08-18T12:42:31.000Z
2021-08-18T12:42:31.000Z
WLANderlust/captiveportals/impl/SpotHub.py
rrooggiieerr/WLANderlust.py
c53907684683ee5790086703ffe7f4428d9cea69
[ "Apache-2.0" ]
null
null
null
WLANderlust/captiveportals/impl/SpotHub.py
rrooggiieerr/WLANderlust.py
c53907684683ee5790086703ffe7f4428d9cea69
[ "Apache-2.0" ]
null
null
null
from WLANderlust.captiveportals import CaptivePortalSolverImpl # I think I have seen this type of Captive Portal only once class SpotHub(CaptivePortalSolverImpl): name = "SpotHub" def detect(self, bssid, ssid, location = None, body = None): if body: if re.search("spothub.io", location): self.det...
31.45
79
0.697933
72
629
6.041667
0.638889
0.062069
0.05977
0.096552
0
0
0
0
0
0
0
0
0.213037
629
19
80
33.105263
0.878788
0.151033
0
0
0
0
0.054614
0
0
0
0
0
0
1
0.142857
false
0
0.071429
0.071429
0.571429
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
80f3cc7fff60c7d034000b77d275a1726a875394
2,366
py
Python
alipay/aop/api/response/AnttechBlockchainDefinSaasPaymentCancelResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AnttechBlockchainDefinSaasPaymentCancelResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
alipay/aop/api/response/AnttechBlockchainDefinSaasPaymentCancelResponse.py
antopen/alipay-sdk-python-all
8e51c54409b9452f8d46c7bb10eea7c8f7e8d30c
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import json from alipay.aop.api.response.AlipayResponse import AlipayResponse class AnttechBlockchainDefinSaasPaymentCancelResponse(AlipayResponse): def __init__(self): super(AnttechBlockchainDefinSaasPaymentCancelResponse, self).__init__() self._ava...
31.131579
120
0.687658
277
2,366
5.498195
0.144404
0.088641
0.059094
0.03677
0.105056
0
0
0
0
0
0
0.000552
0.23415
2,366
75
121
31.546667
0.839956
0.017751
0
0.098361
0
0
0.068906
0
0
0
0
0
0
1
0.229508
false
0
0.032787
0.098361
0.377049
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
80f402bcb2789a4ac78addaf2c2216c30b81534b
366
py
Python
examples/exec_cmd/os_popen.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
null
null
null
examples/exec_cmd/os_popen.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
3
2020-06-05T20:20:38.000Z
2021-06-10T21:21:11.000Z
examples/exec_cmd/os_popen.py
aaronize/pooryam
91e8f7c7b5bb982ba8e64f26e1556327dc8be64e
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- import os def exec_cmd(ip): cmd = 'ssh -o StrictHostKeyChecking=no -o ConnectTimeout=5 -l root {} "ls /root/"'.format(ip) print cmd output = os.popen(cmd, 'r').read() print 'execute cmd result>>', output return output if __name__ == ...
20.333333
98
0.592896
51
366
4.058824
0.72549
0.067633
0
0
0
0
0
0
0
0
0
0.05036
0.240437
366
17
99
21.529412
0.694245
0.114754
0
0
0
0
0.386885
0.078689
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.222222
0
0
0
null
0
0
0
0
0
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
80f9a79997d7885d6d554a098624c3fd5bd8859b
4,296
py
Python
prepare_dataset.py
padb1719/ipec
3445031e115689d15feb0d5bf47e2a793f541a7b
[ "Apache-2.0" ]
null
null
null
prepare_dataset.py
padb1719/ipec
3445031e115689d15feb0d5bf47e2a793f541a7b
[ "Apache-2.0" ]
null
null
null
prepare_dataset.py
padb1719/ipec
3445031e115689d15feb0d5bf47e2a793f541a7b
[ "Apache-2.0" ]
null
null
null
import cv2 import numpy as np import os def callback(x): pass # Create default image # with shape 128x128 # and put our image in center # def create_default_image(source_image): sizze = 128 default_image = np.empty((sizze, sizze)) default_image.fill(0) if source_image.shape[0] < source_image.sha...
29.833333
135
0.666434
617
4,296
4.335494
0.170178
0.053832
0.035888
0.029159
0.361122
0.311028
0.197383
0.095701
0.095701
0.095701
0
0.022429
0.200885
4,296
143
136
30.041958
0.756773
0.045391
0
0.123711
0
0
0.078113
0
0
0
0
0
0
0
null
null
0.010309
0.030928
null
null
0.134021
0
0
0
null
0
0
0
0
0
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
80fc476d3abd457c0d88fde4d3e0776f25cbac1f
3,841
py
Python
vivid/backends/experiments.py
upura/vivid
6139697d60656d4774aceae880f5a07d929124a8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
vivid/backends/experiments.py
upura/vivid
6139697d60656d4774aceae880f5a07d929124a8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
vivid/backends/experiments.py
upura/vivid
6139697d60656d4774aceae880f5a07d929124a8
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
import json import os import warnings from contextlib import contextmanager from datetime import datetime import joblib import matplotlib.pyplot as plt import pandas as pd from vivid.json_encoder import NestedEncoder class ExperimentBackend: """base class for all experiment backends""" def start(self): ...
24.780645
94
0.595418
485
3,841
4.556701
0.259794
0.038009
0.052941
0.030769
0.217647
0.1819
0.138462
0.089593
0
0
0
0.00261
0.301744
3,841
154
95
24.941558
0.821402
0.0302
0
0.318966
0
0
0.046374
0.005932
0
0
0
0
0
1
0.198276
false
0.068966
0.077586
0.008621
0.37931
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
03801839cc2cf98312bc84ba501d8d9cf025dd53
852
py
Python
src/waldur_core/core/migrations/0003_enlarge_username.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
26
2017-10-18T13:49:58.000Z
2021-09-19T04:44:09.000Z
src/waldur_core/core/migrations/0003_enlarge_username.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
14
2018-12-10T14:14:51.000Z
2021-06-07T10:33:39.000Z
src/waldur_core/core/migrations/0003_enlarge_username.py
geant-multicloud/MCMS-mastermind
81333180f5e56a0bc88d7dad448505448e01f24e
[ "MIT" ]
32
2017-09-24T03:10:45.000Z
2021-10-16T16:41:09.000Z
# Generated by Django 1.11.13 on 2018-09-11 14:40 import re import django.core.validators from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core', '0002_remove_organization'), ] operations = [ migrations.AlterField( model_name...
27.483871
105
0.517606
76
852
5.710526
0.723684
0.046083
0.092166
0
0
0
0
0
0
0
0
0.049908
0.365023
852
30
106
28.4
0.752311
0.055164
0
0.083333
1
0
0.206725
0.029888
0
0
0
0
0
1
0
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
03932ad12ca49eb24a5fee0c0bff2a2a2117584d
5,503
py
Python
tools/chrome_proxy/webdriver/proxy_connection.py
zipated/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
2,151
2020-04-18T07:31:17.000Z
2022-03-31T08:39:18.000Z
tools/chrome_proxy/webdriver/proxy_connection.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
395
2020-04-18T08:22:18.000Z
2021-12-08T13:04:49.000Z
tools/chrome_proxy/webdriver/proxy_connection.py
cangulcan/src
2b8388091c71e442910a21ada3d97ae8bc1845d3
[ "BSD-3-Clause" ]
338
2020-04-18T08:03:10.000Z
2022-03-29T12:33:22.000Z
# Copyright 2017 The Chromium Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. import common from common import TestDriver from common import IntegrationTest from decorators import ChromeVersionEqualOrAfterM from emulation_server impor...
42.330769
80
0.713247
606
5,503
6.450495
0.267327
0.053211
0.010233
0.012279
0.658225
0.642875
0.642875
0.642875
0.628038
0.617038
0
0.015681
0.188806
5,503
129
81
42.658915
0.859991
0.234963
0
0.604396
0
0.043956
0.288958
0.178776
0
0
0
0
0.131868
1
0.043956
false
0
0.087912
0
0.142857
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0393710586a89a2bf740756759bdbb435ea1bae4
11,327
py
Python
lib/galaxy/jobs/deferred/genome_transfer.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy/jobs/deferred/genome_transfer.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
null
null
null
lib/galaxy/jobs/deferred/genome_transfer.py
bopopescu/phyG
023f505b705ab953f502cbc55e90612047867583
[ "CC-BY-3.0" ]
1
2020-07-25T21:03:18.000Z
2020-07-25T21:03:18.000Z
""" Module for managing genome transfer jobs. """ from __future__ import with_statement import logging, shutil, gzip, bz2, zipfile, tempfile, tarfile, sys from galaxy import eggs from sqlalchemy import and_ from galaxy.util.odict import odict from galaxy.workflow.modules import module_factory from galaxy.jobs.action...
45.12749
177
0.527766
1,164
11,327
5
0.204467
0.045361
0.046907
0.027491
0.341581
0.282302
0.248625
0.241065
0.210653
0.195876
0
0.002535
0.373091
11,327
250
178
45.308
0.817068
0
0
0.347826
0
0
0.074393
0.001862
0
0
0
0
0.004348
0
null
null
0
0.056522
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
0394fb5e36f494f53a173d32fd573e9a57c85ddd
7,958
py
Python
attic/_targetdatacli.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
null
null
null
attic/_targetdatacli.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
19
2017-10-18T15:31:25.000Z
2020-03-04T19:31:59.000Z
attic/_targetdatacli.py
KSchopmeyer/smipyping
9c60b3489f02592bd9099b8719ca23ae43a9eaa5
[ "MIT" ]
null
null
null
# (C) Copyright 2017 Inova Development Inc. # All Rights Reserved # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by appl...
37.013953
78
0.609073
957
7,958
4.92999
0.268548
0.04451
0.036032
0.020348
0.276812
0.243747
0.21471
0.180373
0.154939
0.154939
0
0.003402
0.298191
7,958
214
79
37.186916
0.841361
0.269289
0
0.256198
0
0
0.223025
0.011636
0
0
0
0.018692
0
1
0.057851
false
0
0.066116
0
0.132231
0.082645
0
0
0
null
0
0
0
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
0396859245b7b245be3041456ee5fd7110bedc09
1,605
py
Python
echobot/main.py
keys4words/bots
4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b
[ "Apache-2.0" ]
null
null
null
echobot/main.py
keys4words/bots
4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b
[ "Apache-2.0" ]
7
2020-11-09T13:35:15.000Z
2021-10-22T04:58:07.000Z
echobot/main.py
keys4words/bots
4f5c4342ad24d1fc9d39947c9940346d2ac2ec8b
[ "Apache-2.0" ]
null
null
null
from telegram import Bot, Update from telegram.ext import Updater, CallbackContext, CommandHandler, MessageHandler, Filters, RegexHandler from echo.config import MY_TOKEN, BASE_URL, PROXY from echo.handlers import * def main(): bot = Bot( token=MY_TOKEN, base_url=BASE_URL ) updater = Updat...
35.666667
113
0.76324
212
1,605
5.353774
0.245283
0.063436
0.095154
0.126872
0.401762
0.401762
0.214978
0
0
0
0
0
0.146417
1,605
44
114
36.477273
0.828467
0.119003
0
0
0
0
0.034018
0
0
0
0
0
0
1
0.032258
false
0.225806
0.129032
0
0.16129
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
03a503045f134c34c5899a1b319414976200bc45
1,387
py
Python
fizz_buzz_python/fizz_buzz_pink_flamingo.py
mannickutd/fizz_buzz_python
2188e7794c23517e5956e66b0835e6c6e56a8479
[ "Apache-2.0" ]
null
null
null
fizz_buzz_python/fizz_buzz_pink_flamingo.py
mannickutd/fizz_buzz_python
2188e7794c23517e5956e66b0835e6c6e56a8479
[ "Apache-2.0" ]
null
null
null
fizz_buzz_python/fizz_buzz_pink_flamingo.py
mannickutd/fizz_buzz_python
2188e7794c23517e5956e66b0835e6c6e56a8479
[ "Apache-2.0" ]
null
null
null
import math def is_perfect_square(x:int) -> bool: ''' https://www.geeksforgeeks.org/check-number-fibonacci-number/ ''' s = int(math.sqrt(x)) return s*s == x def is_fibonacci(n:int) -> bool: ''' https://www.geeksforgeeks.org/check-number-fibonacci-number/ ''' # n is Fibinacci if...
28.895833
71
0.613554
214
1,387
3.85514
0.280374
0.036364
0.014545
0.019394
0.271515
0.254545
0.184242
0.138182
0.138182
0.138182
0
0.017224
0.288392
1,387
47
72
29.510638
0.818642
0.41889
0
0.083333
0
0
0.052408
0
0
0
0
0
0
1
0.125
false
0
0.041667
0
0.541667
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
03abd883b43d0f656a20ace6ba4c94dc6d50c48b
920
py
Python
unit_tests/job_requests_cleanup.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
3
2020-03-03T03:25:36.000Z
2021-12-03T15:31:39.000Z
unit_tests/job_requests_cleanup.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
341
2017-06-08T17:27:59.000Z
2022-01-28T19:37:57.000Z
unit_tests/job_requests_cleanup.py
hep-gc/cloud-scheduler-2
180d9dc4f8751cf8c8254518e46f83f118187e84
[ "Apache-2.0" ]
3
2018-04-25T16:13:20.000Z
2020-04-15T20:03:46.000Z
from unit_test_common import execute_csv2_request, initialize_csv2_request, ut_id from sys import argv def main(gvar): if not gvar: gvar = {} if len(argv) > 1: initialize_csv2_request(gvar, selections=argv[1]) else: initialize_csv2_request(gvar) # 1 exec...
24.210526
81
0.584783
115
920
4.356522
0.321739
0.175649
0.179641
0.175649
0.550898
0.550898
0.550898
0.550898
0.550898
0.550898
0
0.027149
0.279348
920
37
82
24.864865
0.728507
0.007609
0
0.296296
0
0
0.125551
0
0
0
0
0
0
1
0.037037
false
0
0.074074
0
0.111111
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
03ad37dad5af810b0c83d4ce779f13be265de9ab
7,828
py
Python
src/test_ps.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
12
2017-07-12T13:12:58.000Z
2021-12-06T23:15:59.000Z
src/test_ps.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
null
null
null
src/test_ps.py
casutton/bayes-qnet
0fff4b38394e47b02c0b4f0a4e433049b78fa09c
[ "BSD-3-Clause" ]
null
null
null
import unittest import qnet import qnetu import numpy import mytime import netutils import estimation import yaml import StringIO import pwfun import distributions import sampling import arrivals import qstats import queues import test_qnet from scipy import integrate from numpy import random import arrivals import...
25.665574
111
0.556592
1,068
7,828
3.952247
0.183521
0.024876
0.040038
0.049514
0.44942
0.411277
0.374793
0.357498
0.272684
0.253731
0
0.062453
0.324987
7,828
304
112
25.75
0.736374
0.018012
0
0.48249
0
0
0.096206
0.012254
0
0
0
0
0.019455
0
null
null
0
0.081712
null
null
0.089494
0
0
0
null
0
0
0
0
0
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