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
aef6e19f0c9551a0ad76f43bacfb1a68f85b8f05
1,441
py
Python
spiders/a505.py
senlyu163/crawler
ecf95f7b356c726922b5e5d90000fda3e16ae90d
[ "Apache-2.0" ]
null
null
null
spiders/a505.py
senlyu163/crawler
ecf95f7b356c726922b5e5d90000fda3e16ae90d
[ "Apache-2.0" ]
null
null
null
spiders/a505.py
senlyu163/crawler
ecf95f7b356c726922b5e5d90000fda3e16ae90d
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- import scrapy from scrapy.linkextractors import LinkExtractor from scrapy.spiders import CrawlSpider, Rule from ..utils import extract_CN_from_content from ..items import ScrapySpiderItem import re class A505Spider(CrawlSpider): name = '505' allowed_domains = ['xxgk.gangu.gov.cn'] s...
41.171429
129
0.651631
207
1,441
4.47343
0.352657
0.034557
0.058315
0.099352
0.427646
0.37689
0.37689
0.340173
0.340173
0.340173
0
0.014003
0.157529
1,441
34
130
42.382353
0.748764
0.065926
0
0
0
0.230769
0.314222
0.244229
0
0
0
0
0
1
0.038462
false
0
0.230769
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
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
aef72260990b1d90449d362a85cf554067ab0907
1,913
py
Python
tools/network_datatypes/network.py
p2m2/galaxy-tools
491e6ef7d794298837fccd6817d418050fad0b37
[ "MIT" ]
1
2018-06-13T16:10:35.000Z
2018-06-13T16:10:35.000Z
tools/network_datatypes/network.py
p2m2/galaxy-tools
491e6ef7d794298837fccd6817d418050fad0b37
[ "MIT" ]
14
2016-01-11T09:38:12.000Z
2021-10-20T12:39:04.000Z
tools/network_datatypes/network.py
p2m2/galaxy-tools
491e6ef7d794298837fccd6817d418050fad0b37
[ "MIT" ]
6
2016-01-10T17:33:40.000Z
2021-09-16T13:22:20.000Z
""" Network sbml class """ import logging, os, os.path, sys, time, tempfile, shutil, string, glob, re from galaxy.datatypes.sniff import * from galaxy.datatypes import data from galaxy.datatypes.metadata import MetadataElement from galaxy.datatypes.xml import GenericXml from galaxy.datatypes import data log = logg...
27.328571
95
0.636696
252
1,913
4.730159
0.301587
0.035235
0.055369
0.041946
0.602349
0.553691
0.553691
0.553691
0.553691
0.553691
0
0.005579
0.250392
1,913
69
96
27.724638
0.825662
0.021955
0
0.682927
0
0
0.086795
0
0
0
0
0
0
0
null
null
0
0.146341
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
aef9da3fc01c75f0e9aaf2f602fa65ce24922b2e
840
py
Python
Python-Advanced/tuples_and_sets_exercise/battle_of_names.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/tuples_and_sets_exercise/battle_of_names.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
Python-Advanced/tuples_and_sets_exercise/battle_of_names.py
Xamaneone/SoftUni-Intro
985fe3249cd2adf021c2003372e840219811d989
[ "MIT" ]
null
null
null
n = int(input()) even_numbers_set = set() odd_numbers_set = set() for current_iteration_count in range(1, n+1): name = input() current_sum = sum([ord(el) for el in name]) // current_iteration_count if current_sum % 2 == 0: even_numbers_set.add(current_sum) else: odd_numbers_set.add(cu...
31.111111
93
0.713095
137
840
4.029197
0.240876
0.217391
0.152174
0.065217
0.581522
0.498188
0.498188
0.498188
0.498188
0.398551
0
0.005722
0.167857
840
26
94
32.307692
0.783977
0
0
0.142857
0
0
0.007143
0
0
0
0
0
0
1
0
false
0
0
0
0
0.142857
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e07958448edf42fca5648f04d2c82366556b0a8
2,278
py
Python
app/core/tests/test_models.py
horzym/recipe-app-api
fda6dcf7cbbd7e4970ecc383a71581f541cdecfa
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
horzym/recipe-app-api
fda6dcf7cbbd7e4970ecc383a71581f541cdecfa
[ "MIT" ]
null
null
null
app/core/tests/test_models.py
horzym/recipe-app-api
fda6dcf7cbbd7e4970ecc383a71581f541cdecfa
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model from core import models def sample_user(email='email@test.com', password='testpass'): """Create user""" return get_user_model().objects.create_user(email, password) class ModelTest(TestCase): def test_create_superuser_acc(...
29.973684
76
0.631694
258
2,278
5.391473
0.29845
0.064702
0.08555
0.068296
0.226456
0.165349
0.07908
0.054637
0
0
0
0.006524
0.259877
2,278
75
77
30.373333
0.818505
0.11194
0
0.061224
0
0
0.078204
0.013118
0
0
0
0
0.183673
1
0.163265
false
0.142857
0.061224
0
0.265306
0
0
0
0
null
0
0
0
0
0
0
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
4e143f2186d3b2faeb489628d6272d461c25ee79
1,247
py
Python
examples/problems/burgers.py
s274001/PINA
beb33f0da20581338c46f0c525775904b35a1130
[ "MIT" ]
4
2022-02-16T14:52:55.000Z
2022-03-17T13:31:42.000Z
examples/problems/burgers.py
s274001/PINA
beb33f0da20581338c46f0c525775904b35a1130
[ "MIT" ]
3
2022-02-17T08:57:42.000Z
2022-03-28T08:41:53.000Z
examples/problems/burgers.py
s274001/PINA
beb33f0da20581338c46f0c525775904b35a1130
[ "MIT" ]
7
2022-02-13T14:35:00.000Z
2022-03-28T08:51:11.000Z
import torch from pina.problem import TimeDependentProblem, SpatialProblem from pina.operators import grad from pina import Condition from pina.span import Span class Burgers1D(TimeDependentProblem, SpatialProblem): spatial_variables = ['x'] temporal_variable = ['t'] output_variables = ['u'] domain ...
31.175
75
0.582197
163
1,247
4.214724
0.257669
0.043668
0.043668
0.02329
0.219796
0.15575
0.15575
0.087336
0.087336
0
0
0.027397
0.238974
1,247
39
76
31.974359
0.696523
0
0
0.064516
0
0
0.031275
0
0
0
0
0
0
1
0.096774
false
0
0.16129
0
0.548387
0
0
0
0
null
0
0
0
0
0
0
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
4e22783dc2a34bbb11966dccff9e90ea0338ea4f
667
py
Python
webdjango/migrations/0002_auto_20181222_2028.py
myog-io/WebDjangular
73d3c40aa449eec5acc59d4493ee94059bddabbd
[ "MIT" ]
1
2018-09-14T15:17:19.000Z
2018-09-14T15:17:19.000Z
webdjango/migrations/0002_auto_20181222_2028.py
MyOwnGamesLLC/WebDjangular
73d3c40aa449eec5acc59d4493ee94059bddabbd
[ "MIT" ]
41
2018-12-16T16:58:54.000Z
2019-02-22T20:08:58.000Z
webdjango/migrations/0002_auto_20181222_2028.py
myog-io/WebDjangular
73d3c40aa449eec5acc59d4493ee94059bddabbd
[ "MIT" ]
1
2019-12-10T09:32:49.000Z
2019-12-10T09:32:49.000Z
# Generated by Django 2.1.4 on 2018-12-22 22:28 from django.db import migrations, models import django.utils.timezone class Migration(migrations.Migration): dependencies = [ ('webdjango', '0001_initial'), ] operations = [ migrations.AddField( model_name='addres...
25.653846
94
0.58021
66
667
5.757576
0.606061
0.057895
0.1
0.142105
0.363158
0.2
0
0
0
0
0
0.041485
0.313343
667
25
95
26.68
0.78821
0.067466
0
0.315789
1
0
0.082353
0
0
0
0
0
0
1
0
false
0
0.105263
0
0.263158
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
4e3736ea393de1e65ede3447965de9bea1bbe44b
937
py
Python
test/e2e/containers/dsd_sender/sender.py
fk-currenxie/datadog-agent
ff813a337367cd4559cc6edb6794ced266d55c61
[ "Apache-2.0" ]
2
2018-11-12T22:00:56.000Z
2019-11-07T22:14:23.000Z
test/e2e/containers/dsd_sender/sender.py
fk-currenxie/datadog-agent
ff813a337367cd4559cc6edb6794ced266d55c61
[ "Apache-2.0" ]
49
2018-10-02T18:14:58.000Z
2022-01-20T21:06:31.000Z
test/e2e/containers/dsd_sender/sender.py
fk-currenxie/datadog-agent
ff813a337367cd4559cc6edb6794ced266d55c61
[ "Apache-2.0" ]
3
2019-05-10T13:06:59.000Z
2020-05-21T17:29:33.000Z
import datadog import time client = datadog.dogstatsd.base.DogStatsd(socket_path="/var/run/dogstatsd/dsd.socket") while True: # Nominal case, dsd will inject its hostname client.gauge('dsd.hostname.e2e', 1, tags=["case:nominal"]) client.service_check('dsd.hostname.e2e', 0, tags=["case:nominal"]) clien...
40.73913
88
0.674493
129
937
4.868217
0.286822
0.157643
0.200637
0.105096
0.652866
0.56051
0.56051
0.56051
0.329618
0
0
0.020757
0.125934
937
22
89
42.590909
0.746032
0.097118
0
0
0
0
0.382423
0.034442
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d61ca6065b66c9f411e7514b64e4ad72a685ffc
1,534
py
Python
commands/archives/rename.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
1
2021-06-13T04:04:15.000Z
2021-06-13T04:04:15.000Z
commands/archives/rename.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
null
null
null
commands/archives/rename.py
martinwittmann/project-cmd
189a4b002da5ba81160e5e63f91be2da9c13f0c2
[ "MIT" ]
null
null
null
import click import context import util from completions import get_local_archives help_text = """(arn) Rename local archive. You can use '%d' in NAME which gets replace with YYYY-MM-DD--HH:MM:SS which is also the default name. """ @click.command(name='rename', help=help_text) @click.argument('archive', type=click...
32.638298
80
0.674707
201
1,534
4.965174
0.343284
0.072144
0.072144
0.048096
0.402806
0.402806
0.402806
0.402806
0.402806
0.402806
0
0
0.198827
1,534
46
81
33.347826
0.812042
0
0
0.25641
0
0.025641
0.170795
0
0
0
0
0
0
1
0.051282
false
0.051282
0.102564
0
0.153846
0
0
0
0
null
0
0
0
0
0
0
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
9d66ed785630d8245fd584f7af2c9e2cca91b9ca
236
py
Python
djangocms_bootstrap4/contrib/bootstrap4_content/constants.py
jpVm5jYYRE1VIKL/djangocms-bootstrap4
d36a369af54850eddaa0299e5ae33ee5e78cf2b1
[ "BSD-3-Clause" ]
59
2017-09-28T17:13:38.000Z
2020-09-22T02:55:47.000Z
djangocms_bootstrap4/contrib/bootstrap4_content/constants.py
jpVm5jYYRE1VIKL/djangocms-bootstrap4
d36a369af54850eddaa0299e5ae33ee5e78cf2b1
[ "BSD-3-Clause" ]
102
2017-10-20T09:37:52.000Z
2020-09-23T06:37:47.000Z
djangocms_bootstrap4/contrib/bootstrap4_content/constants.py
jpVm5jYYRE1VIKL/djangocms-bootstrap4
d36a369af54850eddaa0299e5ae33ee5e78cf2b1
[ "BSD-3-Clause" ]
40
2017-12-29T20:05:40.000Z
2020-09-21T08:33:48.000Z
from django.utils.translation import gettext_lazy as _ CODE_TYPE_CHOICES = ( ('code', _('Inline code')), ('pre', _('Code block')), ('var', _('Variables')), ('kbd', _('User input')), ('samp', _('Sample output')), )
21.454545
54
0.572034
25
236
5.04
0.88
0
0
0
0
0
0
0
0
0
0
0
0.194915
236
10
55
23.6
0.663158
0
0
0
0
0
0.29661
0
0
0
0
0
0
1
0
false
0
0.125
0
0.125
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
9d6a6626a6a3b52510e18676de3c67d03f82ec2c
2,127
py
Python
pyglesys/email.py
emjemj/pyglesys
6b8a0d06cc9f8bd3da0f3bd916c168979897adf1
[ "BSD-2-Clause" ]
null
null
null
pyglesys/email.py
emjemj/pyglesys
6b8a0d06cc9f8bd3da0f3bd916c168979897adf1
[ "BSD-2-Clause" ]
null
null
null
pyglesys/email.py
emjemj/pyglesys
6b8a0d06cc9f8bd3da0f3bd916c168979897adf1
[ "BSD-2-Clause" ]
null
null
null
class Email: client = None optional_arguments = [ "antispamlevel", "antivirus", "autorespond", "autorespondsaveemail", "autorespondmessage", "password", "quota" ] def __init__(self, client): self.client = client def overview(self): return self.client.get("/email/overview") def globalquota(se...
22.389474
65
0.663376
252
2,127
5.543651
0.206349
0.071582
0.060129
0.090193
0.452398
0.389406
0.324982
0.266285
0.266285
0.266285
0
0
0.19229
2,127
94
66
22.62766
0.813155
0
0
0.242424
0
0
0.257291
0
0
0
0
0
0
1
0.121212
false
0.075758
0
0.015152
0.257576
0
0
0
0
null
0
0
0
0
0
0
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
9d6b2783f7b88c58fa1dd9259993962db777fa29
906
py
Python
metaprogramming/practice_code/special_methods.py
kmad1729/python_notes
8d94c504fcd9a1adf61788efc0fbe6e7513bbaf4
[ "Unlicense" ]
null
null
null
metaprogramming/practice_code/special_methods.py
kmad1729/python_notes
8d94c504fcd9a1adf61788efc0fbe6e7513bbaf4
[ "Unlicense" ]
null
null
null
metaprogramming/practice_code/special_methods.py
kmad1729/python_notes
8d94c504fcd9a1adf61788efc0fbe6e7513bbaf4
[ "Unlicense" ]
null
null
null
class MyArray: def __init__(self, *args): self.elems = list(args) def __repr__(self): return str(self.elems) def __getitem__(self, index): return self.elems[index] def __setitem__(self, index, value): self.elems[index] = value def __delitem__(self, index): ...
19.276596
51
0.622517
145
906
3.586207
0.268966
0.057692
0.080769
0.107692
0.259615
0.259615
0.211538
0.211538
0.111538
0
0
0.014065
0.215232
906
46
52
19.695652
0.7173
0
0
0.264706
0
0
0.148066
0
0
0
0
0
0
1
0.176471
false
0
0
0.088235
0.294118
0.411765
0
0
0
null
0
0
0
0
0
0
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
9d6eb35f55b27eefe84be3159d86745065776b32
2,555
py
Python
surround/django/context_cache.py
sniegu/django-surround
e076ec92a6611a056899f3f4f74a24e676dafb5c
[ "MIT" ]
1
2016-07-29T13:10:40.000Z
2016-07-29T13:10:40.000Z
surround/django/context_cache.py
sniegu/django-surround
e076ec92a6611a056899f3f4f74a24e676dafb5c
[ "MIT" ]
null
null
null
surround/django/context_cache.py
sniegu/django-surround
e076ec92a6611a056899f3f4f74a24e676dafb5c
[ "MIT" ]
null
null
null
from functools import wraps from contextlib import contextmanager from threading import local thread_local = local() from surround.django.logging import setupModuleLogger setupModuleLogger(globals()) class LocalCacheBackend(object): def __init__(self): self.backend = {} def get(self, key): r...
21.291667
121
0.614481
302
2,555
5.02649
0.235099
0.085639
0.046113
0.050066
0.306324
0.268116
0.237813
0.160738
0.111989
0
0
0
0.27319
2,555
119
122
21.470588
0.817448
0
0
0.390244
0
0
0.028191
0
0
0
0
0
0
1
0.219512
false
0
0.04878
0.060976
0.463415
0
0
0
0
null
0
0
0
0
0
0
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
9d6eb82e3b34c58ebe163dc095b5a6917bd2873f
359
py
Python
setup.py
blacKitten13/plyades
146a17c50b913f0f4abc96b7bcaa627f37955b14
[ "MIT" ]
25
2015-08-26T09:26:21.000Z
2021-11-06T23:57:55.000Z
setup.py
blacKitten13/plyades
146a17c50b913f0f4abc96b7bcaa627f37955b14
[ "MIT" ]
2
2015-08-29T15:20:34.000Z
2017-03-22T19:10:39.000Z
setup.py
blacKitten13/plyades
146a17c50b913f0f4abc96b7bcaa627f37955b14
[ "MIT" ]
6
2016-10-02T23:43:04.000Z
2020-06-19T00:43:15.000Z
#! /usr/bin/env python from distutils.core import setup setup(name="Plyades", version="0.0.1", description="A Python Astrodynamics Library", author="Helge Eichhorn", author_email="mail@helgeeichhorn.de", url="https://github.com/helgee/plyades", packages=["plyades", "plyades.tests"]...
25.642857
51
0.643454
42
359
5.47619
0.809524
0
0
0
0
0
0
0
0
0
0
0.010453
0.200557
359
13
52
27.615385
0.790941
0.058496
0
0
0
0
0.418398
0.062315
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
9d6ebf7e67d3665e106842374db8bfd6ee17c2a4
30,118
py
Python
LTSINT_vot.py
QUVA-Lab/Long-term-Siamese-Tracker
d67cfbecc3f81339aa3b019ca65733dfd84d3499
[ "BSD-2-Clause-FreeBSD" ]
4
2019-02-05T13:54:12.000Z
2020-02-27T09:03:46.000Z
LTSINT_vot.py
QUVA-Lab/Long-term-Siamese-Tracker
d67cfbecc3f81339aa3b019ca65733dfd84d3499
[ "BSD-2-Clause-FreeBSD" ]
1
2019-11-19T00:52:47.000Z
2019-11-19T00:52:47.000Z
LTSINT_vot.py
QUVA-Lab/Long-term-Siamese-Tracker
d67cfbecc3f81339aa3b019ca65733dfd84d3499
[ "BSD-2-Clause-FreeBSD" ]
null
null
null
# -------------------------------------------------------- # Copyright (c) 2018 University of Amsterdam # Written by Ran Tao # -------------------------------------------------------- import sys import os import numpy as np import math from PIL import Image, ImageOps, ImageDraw import torch import torch.nn as nn im...
44.291176
363
0.732652
4,747
30,118
4.320834
0.090794
0.030715
0.044464
0.052557
0.720394
0.66535
0.636634
0.598118
0.538345
0.528692
0
0.045215
0.117338
30,118
680
364
44.291176
0.726339
0.055382
0
0.319196
0
0
0.019449
0.004622
0
0
0
0
0
0
null
null
0.002232
0.029018
null
null
0.008929
0
0
0
null
0
0
0
0
0
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
9d6f216b0a571f99294e1649a5e2a49e2d30f52d
2,366
py
Python
tools/perf/report_create.py
ldorau/rpma-lgtm
4a4cfd43b91b25db954bf07d16dc8eafe78d4483
[ "BSD-3-Clause" ]
2
2020-06-05T07:43:32.000Z
2020-06-05T07:43:34.000Z
tools/perf/report_create.py
ldorau/rpma-lgtm
4a4cfd43b91b25db954bf07d16dc8eafe78d4483
[ "BSD-3-Clause" ]
1
2022-01-17T13:26:17.000Z
2022-01-17T13:26:17.000Z
tools/perf/report_create.py
ldorau/rpma-lgtm
4a4cfd43b91b25db954bf07d16dc8eafe78d4483
[ "BSD-3-Clause" ]
null
null
null
#!/usr/bin/env python3 # # SPDX-License-Identifier: BSD-3-Clause # Copyright 2021, Intel Corporation # # # report_create.py # """Generate a performance report (EXPERIMENTAL) Before running this script you definitely should check `report_bench` and `report_figures`. Recreate the `lib.bench.Bench` object, check wheth...
32.861111
130
0.725275
328
2,366
5.14939
0.420732
0.047365
0.046181
0.033748
0.113677
0.039076
0.039076
0.039076
0
0
0
0.003582
0.174134
2,366
71
131
33.323944
0.860798
0.473795
0
0
1
0
0.220588
0
0
0
0
0
0
1
0.033333
false
0.033333
0.2
0
0.233333
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9d7a62d8008e610667d1e1a90536cca39b088eb0
3,410
py
Python
old-notes/old-ai/dl/datasets/p1-diabetes/e1diabeteskeras.py
mithi/algorithm-playground
ee35df7e343544b56c145b3912eca263c566d819
[ "MIT" ]
85
2017-12-19T19:51:51.000Z
2021-05-26T20:00:39.000Z
old-notes/old-ai/dl/datasets/p1-diabetes/e1diabeteskeras.py
mithi/algorithm-playground
ee35df7e343544b56c145b3912eca263c566d819
[ "MIT" ]
1
2019-01-02T07:00:40.000Z
2019-01-02T07:00:40.000Z
old-notes/old-ai/dl/datasets/p1-diabetes/e1diabeteskeras.py
mithi/algorithm-playground
ee35df7e343544b56c145b3912eca263c566d819
[ "MIT" ]
34
2018-03-29T11:51:53.000Z
2020-11-17T08:24:51.000Z
# --- # Goal # --- # Create and train a simple neural network to predict whether # a person has had an onset of diabetes given eight medical attributes # This data set of 768 samples is from the UCI machine learning repository # See associated text file `diabetes-dataset-info.txt` for more details # Adapted from # htt...
31.574074
92
0.617889
492
3,410
4.247967
0.45122
0.030144
0.038756
0.038278
0.138756
0.101435
0.032536
0
0
0
0
0.059101
0.191202
3,410
107
93
31.869159
0.698695
0.475073
0
0
0
0.027778
0.375503
0.050029
0
0
0
0
0
1
0
false
0
0.083333
0
0.083333
0.472222
0
0
0
null
0
0
0
0
0
0
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
9d899045fdd1ebeea784ccffb6f8c932b8d49596
764
py
Python
Exercicios/Resposta-EstruturaDeRepeticao/Exerc_4.py
ThaisAlves7/Exercicios_PythonBrasil
3c55f56c44b4da9953a79398859e7c73a155dc0e
[ "MIT" ]
null
null
null
Exercicios/Resposta-EstruturaDeRepeticao/Exerc_4.py
ThaisAlves7/Exercicios_PythonBrasil
3c55f56c44b4da9953a79398859e7c73a155dc0e
[ "MIT" ]
null
null
null
Exercicios/Resposta-EstruturaDeRepeticao/Exerc_4.py
ThaisAlves7/Exercicios_PythonBrasil
3c55f56c44b4da9953a79398859e7c73a155dc0e
[ "MIT" ]
null
null
null
# Suponho que a população de um país A seja da ordem de 80000 habiteantes com uma taxa anual de crescimento de 3% e que # a população B seja 200000 habitantes com uma taxa de crescimento de 1.5%. Faça um programa que calcule e escreva o numero # de anos necessarios para que a população do Pais A ultrapasse ou i...
44.941176
133
0.708115
142
764
3.676056
0.394366
0.076628
0.086207
0.057471
0.122605
0.122605
0.122605
0.122605
0.122605
0
0
0.060201
0.217277
764
17
134
44.941176
0.812709
0.480366
0
0.222222
0
0
0.137056
0
0
0
0
0
0
1
0
false
0.111111
0
0
0
0.111111
0
0
0
null
0
0
0
0
0
0
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
9d8b7cec5f72411631bd7d71242bffe8461cef21
4,837
py
Python
src/motor_controllers/stepper_motor/stepper_motor/steering_node.py
utahrobotics/usr_ws_2020
277328067e6cdf01978848187938e57fc6ee7b61
[ "MIT" ]
null
null
null
src/motor_controllers/stepper_motor/stepper_motor/steering_node.py
utahrobotics/usr_ws_2020
277328067e6cdf01978848187938e57fc6ee7b61
[ "MIT" ]
null
null
null
src/motor_controllers/stepper_motor/stepper_motor/steering_node.py
utahrobotics/usr_ws_2020
277328067e6cdf01978848187938e57fc6ee7b61
[ "MIT" ]
null
null
null
""" This node is the communication layer betweeen the USR Ros subsystem and the stepper motor controllers. """ #TODO: add recieving info from the stepper controller import rclpy from rclpy.node import Node import yaml import serial, time from enum import Enum from motion_controller_msgs.msg import Mobility class Co...
34.55
137
0.616291
583
4,837
4.979417
0.336192
0.040992
0.017224
0.023424
0.049948
0.033758
0
0
0
0
0
0.015541
0.308249
4,837
139
138
34.798561
0.852062
0.36779
0
0
0
0
0.074415
0.029766
0
0
0
0.014388
0
1
0.166667
false
0
0.090909
0.045455
0.454545
0.030303
0
0
0
null
0
0
0
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
9d9684a56afc8fca1c49320e8502f2e67c2effcf
1,000
py
Python
tests/test_users.py
Squad002/GoOutSafe-Monolith
4ee5a32668730626ee5bd314c98515e7d7253e13
[ "MIT" ]
null
null
null
tests/test_users.py
Squad002/GoOutSafe-Monolith
4ee5a32668730626ee5bd314c98515e7d7253e13
[ "MIT" ]
null
null
null
tests/test_users.py
Squad002/GoOutSafe-Monolith
4ee5a32668730626ee5bd314c98515e7d7253e13
[ "MIT" ]
null
null
null
from .fixtures import app, client, db from . import helpers # TODO access only a single user! def test_health_authority_can_access_users(client): helpers.create_health_authority(client) helpers.login_authority(client) res = get_response_from_users(client) # TODO check the list of the users assert...
23.255814
51
0.747
139
1,000
5.057554
0.330935
0.140825
0.106686
0.142248
0.470839
0.391181
0.288762
0.238976
0.238976
0.238976
0
0.014616
0.179
1,000
42
52
23.809524
0.841657
0.091
0
0.24
0
0
0.00663
0
0
0
0
0.02381
0.16
1
0.2
false
0
0.08
0.04
0.32
0
0
0
0
null
0
0
0
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
9d9c2cbd30809d3f9b92df87d81b4e163061516d
2,490
py
Python
tools/scaleout.py
chrfrenning/ironviper
1895c4567c3b7af46ca26053679e2f8c426e4ace
[ "MIT" ]
2
2021-02-16T22:31:15.000Z
2021-12-22T13:53:23.000Z
tools/scaleout.py
chrfrenning/ironviper
1895c4567c3b7af46ca26053679e2f8c426e4ace
[ "MIT" ]
2
2020-07-01T08:35:32.000Z
2020-07-30T07:11:56.000Z
tools/scaleout.py
chrfrenning/ironviper
1895c4567c3b7af46ca26053679e2f8c426e4ace
[ "MIT" ]
null
null
null
#!/usr/bin/env python2.7 import os import toml import sys import requests import json # ##################################################################### # # Increases active converter containers by one # # Enumerates all containers in the resource group, finds first # with state Terminated and restarts it # mana...
31.518987
130
0.628112
270
2,490
5.625926
0.448148
0.042791
0.02765
0.033575
0.03555
0.03555
0
0
0
0
0
0.01083
0.221285
2,490
78
131
31.923077
0.772563
0.084739
0
0.043478
0
0
0.225102
0.050477
0
0
0
0
0
0
null
null
0
0.108696
null
null
0.086957
0
0
0
null
0
0
0
0
0
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
9d9d08448e5c6eb36ebb1e3ba521c6404120dfff
475
py
Python
SRCTF/SRCTF/django_reuse/reuse/migrations/0004_ctf_info_config_path.py
yinyueacm/work-uga
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
1
2019-01-11T03:20:34.000Z
2019-01-11T03:20:34.000Z
SRCTF/SRCTF/django_reuse/reuse/migrations/0004_ctf_info_config_path.py
yinyueacm/yinyue-thesis
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
null
null
null
SRCTF/SRCTF/django_reuse/reuse/migrations/0004_ctf_info_config_path.py
yinyueacm/yinyue-thesis
d8fd104b8c5600e1715491fc5eeffaf5c0b5896c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9.7 on 2016-08-29 14:58 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('reuse', '0003_auto_20160829_1457'), ] operations = [ migrations.AddField( ...
22.619048
72
0.625263
56
475
5.053571
0.857143
0
0
0
0
0
0
0
0
0
0
0.09887
0.254737
475
20
73
23.75
0.700565
0.141053
0
0
1
0
0.138272
0.05679
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
9da38db482969c680e8e570a6fbbd04d7cbb4876
11,264
py
Python
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py
tdiprima/code
61a74f5f93da087d27c70b2efe779ac6bd2a3b4f
[ "MIT" ]
2,023
2017-07-29T09:34:46.000Z
2022-03-24T08:00:45.000Z
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
32
2017-09-02T17:20:08.000Z
2022-02-11T17:49:37.000Z
recipes/Python/577826_Yet_Another_Ordered_Dictionary/recipe-577826.py
unhacker/code
73b09edc1b9850c557a79296655f140ce5e853db
[ "MIT" ]
780
2017-07-28T19:23:28.000Z
2022-03-25T20:39:41.000Z
# ordereddict.py # A dictionary that remembers insertion order # Tested under Python 2.7 and 2.6.6 only # # Copyright (C) 2011 by Lucio Santi <lukius at gmail dot com> # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"),...
37.672241
88
0.56614
1,339
11,264
4.572816
0.258402
0.013719
0.021558
0.022865
0.179977
0.172791
0.111873
0.075453
0.050629
0.024824
0
0.002833
0.279208
11,264
298
89
37.798658
0.751324
0.184659
0
0.116022
0
0.01105
0.154681
0
0
0
0
0
0
0
null
null
0
0.033149
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
9da75c1256d5993794494712d01288afd5593cea
736
py
Python
tests/tests.py
AmirSbss/python-gsearch
97996f612a24b0f9a8c9edf78b96db6beca35ac3
[ "MIT" ]
null
null
null
tests/tests.py
AmirSbss/python-gsearch
97996f612a24b0f9a8c9edf78b96db6beca35ac3
[ "MIT" ]
null
null
null
tests/tests.py
AmirSbss/python-gsearch
97996f612a24b0f9a8c9edf78b96db6beca35ac3
[ "MIT" ]
1
2018-11-03T16:11:49.000Z
2018-11-03T16:11:49.000Z
# -*- coding: utf-8 -*- import unittest import time from random import randint from gsearch.googlesearch import search class TestSearch(unittest.TestCase): def setUp(self): time.sleep(randint(15,20)) def test_results_count(self): res = search('Avi Aryan', num_results=30) self.assertTrue(len(res) > 10, 'Le...
21.028571
84
0.691576
105
736
4.714286
0.580952
0.113131
0.078788
0.121212
0.084848
0
0
0
0
0
0
0.02451
0.168478
736
34
85
21.647059
0.784314
0.139946
0
0
0
0
0.196172
0.041467
0
0
0
0
0.166667
1
0.222222
false
0
0.222222
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
9da7f1e9c185b87b9b61a6cd3fd6d57c907db6e2
1,982
py
Python
aws/scripts/sqstest.py
bdastur/notes
ee1bebe194f5ec5a8319cf79f7b3e3142e510d41
[ "Apache-2.0" ]
4
2018-02-14T14:28:27.000Z
2022-01-20T18:06:02.000Z
aws/scripts/sqstest.py
bdastur/notes
ee1bebe194f5ec5a8319cf79f7b3e3142e510d41
[ "Apache-2.0" ]
null
null
null
aws/scripts/sqstest.py
bdastur/notes
ee1bebe194f5ec5a8319cf79f7b3e3142e510d41
[ "Apache-2.0" ]
1
2020-02-18T20:22:01.000Z
2020-02-18T20:22:01.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- import os import unittest import boto3 import botocore class SQS(unittest.TestCase): def setUp(self): env = os.environ.get('PROFILE_NAME', 'default') if env == "default": print "Using Default profile" else: print "Using...
27.150685
60
0.558022
195
1,982
5.553846
0.358974
0.084026
0.096953
0.036934
0.131117
0.075716
0
0
0
0
0
0.010031
0.346115
1,982
72
61
27.527778
0.825617
0.068113
0
0.075472
0
0
0.153804
0.011957
0
0
0
0
0
0
null
null
0
0.075472
null
null
0.150943
0
0
0
null
0
0
0
0
0
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
9dab8634031465b50371398df7948bc7c4fd1d86
4,714
py
Python
broadinstitute_psp/utils/separate_gct.py
cmap/psp
9389e9d86424e460e577dd1d9027f4a1d1f8227a
[ "BSD-3-Clause" ]
8
2017-08-16T07:43:06.000Z
2021-09-01T20:18:08.000Z
broadinstitute_psp/utils/separate_gct.py
cmap/psp
9389e9d86424e460e577dd1d9027f4a1d1f8227a
[ "BSD-3-Clause" ]
8
2017-11-14T18:51:39.000Z
2018-09-12T17:43:03.000Z
broadinstitute_psp/utils/separate_gct.py
cmap/psp
9389e9d86424e460e577dd1d9027f4a1d1f8227a
[ "BSD-3-Clause" ]
6
2018-01-25T17:47:47.000Z
2020-12-17T16:05:33.000Z
""" separate_gct.py Separates a gct into several gcts. """ import logging import sys import os import argparse import broadinstitute_psp.utils.setup_logger as setup_logger import cmapPy.pandasGEXpress.subset_gctoo as sg import cmapPy.pandasGEXpress.parse as parse import cmapPy.pandasGEXpress.write_gct as wg import c...
36.542636
107
0.666313
647
4,714
4.556414
0.233385
0.033921
0.042741
0.058005
0.378901
0.333446
0.320556
0.247626
0.208277
0.156038
0
0.000815
0.219134
4,714
128
108
36.828125
0.800054
0.04179
0
0.111111
0
0
0.20102
0.042243
0
0
0
0
0.041667
0
null
null
0
0.125
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
9db103b6d49bd0a4efc4bc7f95e8f2bb3077e576
4,446
py
Python
src/wikidocs/1_tensor_control/tensor_basic.py
837477/PyTorch_study
7641edb4d1fdb18bc87e16d4b0174d612b045b4c
[ "MIT" ]
1
2021-11-25T14:12:07.000Z
2021-11-25T14:12:07.000Z
src/wikidocs/1_tensor_control/tensor_basic.py
837477/PyTorch_study
7641edb4d1fdb18bc87e16d4b0174d612b045b4c
[ "MIT" ]
null
null
null
src/wikidocs/1_tensor_control/tensor_basic.py
837477/PyTorch_study
7641edb4d1fdb18bc87e16d4b0174d612b045b4c
[ "MIT" ]
null
null
null
import numpy as np ''' !! 기본적인 개념 1차원 = 벡터 2차원 = 행렬 3차원 = 텐서 4차원 부터는 우리는 3차원의 세상에서 살고 있기 때문에 4차원 이상부터는 머리로 생각하기 어렵다. 2차원 텐서 2차원 텐서를 행렬이라고 말한다. |t| = (batch size, dim) batch size = "행" / dim = "열" 3차원 텐서 3차원 텐서는 그냥 텐서라고 부른다. |t| = (batch size, width, height) batch size = "세로" / width = "가로" / height = "높이" (입체적인 부분) ...
24.295082
90
0.558255
872
4,446
2.84289
0.326835
0.055668
0.014522
0.017749
0.306172
0.243647
0.154498
0.100847
0.100847
0.086325
0
0.063506
0.217274
4,446
183
91
24.295082
0.648851
0.24179
0
0.305882
0
0
0.008761
0
0
0
0
0
0
1
0
false
0
0.023529
0
0.023529
0.576471
0
0
0
null
0
0
0
0
0
0
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
9dc5e251cfaad4b922747e0deb933f68571891c3
15,135
py
Python
bin/ufits-OTU_cluster_ref.py
zhongmicai/ITS_clustering
0177f3fba2570fa18b2aecdfb9737fb18f222ebf
[ "BSD-2-Clause" ]
1
2020-05-28T06:47:07.000Z
2020-05-28T06:47:07.000Z
bin/ufits-OTU_cluster_ref.py
zhongmicai/ITS_clustering
0177f3fba2570fa18b2aecdfb9737fb18f222ebf
[ "BSD-2-Clause" ]
null
null
null
bin/ufits-OTU_cluster_ref.py
zhongmicai/ITS_clustering
0177f3fba2570fa18b2aecdfb9737fb18f222ebf
[ "BSD-2-Clause" ]
null
null
null
#!/usr/bin/env python #This script runs reference based OTU clustering #written by Jon Palmer nextgenusfs@gmail.com import sys, os, argparse, subprocess, inspect, csv, re, logging, shutil, multiprocessing from Bio import SeqIO currentdir = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) pare...
45.45045
528
0.649158
2,119
15,135
4.53799
0.193016
0.028702
0.035358
0.024334
0.289933
0.247608
0.197691
0.176581
0.161294
0.108257
0
0.009813
0.171853
15,135
332
529
45.587349
0.75738
0.070433
0
0.216216
0
0.007722
0.251888
0.024512
0
0
0
0
0
0
null
null
0.019305
0.015444
null
null
0.050193
0
0
0
null
0
0
0
0
0
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
9dc7d77b9046877de1c75e2bafdd3d3877df2ed3
1,565
py
Python
grodddroid/AcfgTools/acfg_tools/builder/main.py
demirdagemir/thesis
4a48bddf815c91729e27484548bb7bbf7ddeda64
[ "MIT" ]
null
null
null
grodddroid/AcfgTools/acfg_tools/builder/main.py
demirdagemir/thesis
4a48bddf815c91729e27484548bb7bbf7ddeda64
[ "MIT" ]
null
null
null
grodddroid/AcfgTools/acfg_tools/builder/main.py
demirdagemir/thesis
4a48bddf815c91729e27484548bb7bbf7ddeda64
[ "MIT" ]
null
null
null
#!/usr/bin/env python3 """ Perform some operations on Android method CFGs to output a more comprehensive global app graph. """ import argparse import os.path import logging from acfg_tools.builder.cfg_analyser import CfgAnalyser DESCRIPTION = "Create a global app graph from CFGs" log = logging.getLogger("branchexp"...
36.395349
77
0.713099
202
1,565
5.366337
0.445545
0.02952
0.073801
0.057196
0.062731
0
0
0
0
0
0
0.000788
0.189137
1,565
42
78
37.261905
0.853428
0.154633
0
0
0
0
0.139464
0
0
0
0
0.02381
0
1
0.076923
false
0
0.153846
0
0.307692
0.038462
0
0
0
null
0
0
0
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
9dc94936ed59b84a0696146df63a85762041d4bc
2,610
py
Python
tests/test_MLdata.py
masterdoors/kernel_trees
afea8e3171a21ddec64b0e97509e19ee08a94da9
[ "MIT" ]
1
2021-11-12T12:38:02.000Z
2021-11-12T12:38:02.000Z
tests/test_MLdata.py
masterdoors/kernel_trees
afea8e3171a21ddec64b0e97509e19ee08a94da9
[ "MIT" ]
null
null
null
tests/test_MLdata.py
masterdoors/kernel_trees
afea8e3171a21ddec64b0e97509e19ee08a94da9
[ "MIT" ]
null
null
null
# coding: utf-8 ''' Created on 21 мая 2016 г. @author: keen ''' from sklearn import datasets import CO2_tree as co2t import CO2_forest as co2f import pickle from scipy.sparse import csr_matrix from sklearn import preprocessing from numpy import ndarray from numpy import asarray from numpy.random import randint as r...
25.096154
135
0.545211
363
2,610
3.735537
0.347107
0.011062
0.020649
0.022124
0.053097
0.028024
0.028024
0.028024
0.028024
0
0
0.048538
0.344828
2,610
103
136
25.339806
0.744444
0.138697
0
0.107143
0
0
0.0534
0
0
0
0
0
0
0
null
null
0
0.214286
null
null
0.107143
0
0
0
null
0
0
0
0
0
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
9dca084e06c87f3a2c866c724683529dcfe0a1da
2,713
py
Python
tests/utils/test_visualization_engine.py
chrisochoatri/dgp
7eb437072b656804a8716186cc61f6ba148e3a46
[ "MIT" ]
null
null
null
tests/utils/test_visualization_engine.py
chrisochoatri/dgp
7eb437072b656804a8716186cc61f6ba148e3a46
[ "MIT" ]
null
null
null
tests/utils/test_visualization_engine.py
chrisochoatri/dgp
7eb437072b656804a8716186cc61f6ba148e3a46
[ "MIT" ]
null
null
null
import json import os import cv2 import numpy as np from dgp.datasets.synchronized_dataset import SynchronizedScene from dgp.utils.visualization_engine import visualize_dataset_3d, visualize_dataset_2d, visualize_dataset_sample_3d, visualize_dataset_sample_2d from tests import TEST_DATA_DIR def dummy_caption(datase...
32.686747
143
0.712495
324
2,713
5.614198
0.228395
0.08796
0.039582
0.039582
0.697636
0.697636
0.697636
0.655855
0.655855
0.655855
0
0.0604
0.188352
2,713
82
144
33.085366
0.765668
0.084777
0
0.459016
0
0
0.212556
0.099302
0
0
0
0
0.04918
1
0.065574
false
0
0.114754
0.016393
0.196721
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
9dccb34dd3e657087423a3b652913a4f705d6255
795
py
Python
src/app.py
ebina4yaka/flask-get-main-color-api
96b4b4922f0b48030928bf03d95ccf56d1ba21c8
[ "MIT" ]
1
2022-01-11T11:37:10.000Z
2022-01-11T11:37:10.000Z
src/app.py
ebina4yaka/flask-get-main-color-api
96b4b4922f0b48030928bf03d95ccf56d1ba21c8
[ "MIT" ]
2
2020-11-29T08:45:53.000Z
2020-12-03T04:10:35.000Z
src/app.py
ebina4yaka/flask-get-main-color-api
96b4b4922f0b48030928bf03d95ccf56d1ba21c8
[ "MIT" ]
null
null
null
import os from flask import Flask, request, jsonify from flask_cors import CORS import base64 from src.get_main_colors import get_main_colors app = Flask(__name__) CORS(app) @app.route('/', methods=['GET']) def it_works(): return "it works!" @app.route('/api/upload', methods=['POST']) def upload(): img_st...
25.645161
95
0.713208
114
795
4.72807
0.377193
0.051948
0.096475
0.06308
0.319109
0.319109
0.319109
0.319109
0.319109
0.319109
0
0.025714
0.119497
795
30
96
26.5
0.744286
0
0
0.1
0
0
0.130818
0.038994
0
0
0
0
0
1
0.15
false
0
0.25
0.05
0.55
0
0
0
0
null
0
0
0
0
0
0
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
9dd9ae868b37274a63a92b7ab9a766730d416e2c
605
py
Python
lncRNAediting/wsgi.py
chunjie-sam-liu/LNCediting
24c1bbe5f03117da06d3d2fda492d4d5ad45c473
[ "MIT" ]
null
null
null
lncRNAediting/wsgi.py
chunjie-sam-liu/LNCediting
24c1bbe5f03117da06d3d2fda492d4d5ad45c473
[ "MIT" ]
1
2020-04-14T11:33:29.000Z
2020-04-14T11:33:29.000Z
lncRNAediting/wsgi.py
chunjie-sam-liu/LNCediting
24c1bbe5f03117da06d3d2fda492d4d5ad45c473
[ "MIT" ]
null
null
null
""" WSGI config for lncRNAediting project. It exposes the WSGI callable as a module-level variable named ``application``. For more information on this file, see https://docs.djangoproject.com/en/1.9/howto/deployment/wsgi/ """ import os from os.path import join,dirname,abspath PROJECT_DIR = dirname(dirname(abspath(__...
27.5
78
0.791736
84
605
5.535714
0.571429
0.043011
0.077419
0.141935
0.176344
0
0
0
0
0
0
0.005505
0.099174
605
21
79
28.809524
0.847706
0.48595
0
0
0
0
0.145215
0.145215
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
9ddac05cedd5617a62845fea2402944d057b8dd8
3,710
py
Python
ptest/test_template_type/main.py
pskelecton/straw
348e02275de417a570f602a2ff83f12a0981aa7e
[ "MIT" ]
2
2021-04-16T02:39:58.000Z
2021-04-27T13:39:00.000Z
ptest/test_template_type/main.py
pskelecton/straw
348e02275de417a570f602a2ff83f12a0981aa7e
[ "MIT" ]
3
2021-04-27T15:34:14.000Z
2021-04-29T06:25:03.000Z
ptest/test_template_type/main.py
pskelecton/straw
348e02275de417a570f602a2ff83f12a0981aa7e
[ "MIT" ]
1
2021-04-15T13:49:44.000Z
2021-04-15T13:49:44.000Z
from pstraw import Straw from dataclasses import dataclass from datetime import datetime import os case_dir = os.path.dirname(os.path.abspath(__file__)) # 实例化straw对象 db = Straw( DB_DRIVER='mysql', # 必须输入 DB_DATABASE='straw_test', # 必须输入 DB_USER='root', # 必须输入3306, # mysql默认值:3306 , postgres默认值:5432 DB_...
28.538462
100
0.681941
495
3,710
5.00202
0.256566
0.094507
0.084814
0.060582
0.535541
0.535541
0.502827
0.492326
0.492326
0.486268
0
0.038986
0.149596
3,710
130
101
28.538462
0.7458
0.226146
0
0.080645
0
0
0.235294
0
0
0
0
0
0
1
0.145161
false
0.016129
0.064516
0.129032
0.403226
0.129032
0
0
0
null
0
0
0
0
0
0
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
9de07334f58b7e7eb112e19f07d57cbee5ad1a7a
381
py
Python
alarms_project/migrations/0003_auto_20190811_2147.py
hussu97/alarmous
09bee975db56703ffd54602b50823f17f11613bf
[ "Apache-1.1" ]
3
2019-08-19T10:43:51.000Z
2021-12-12T00:25:43.000Z
alarms_project/migrations/0003_auto_20190811_2147.py
hussu97/alarmous
09bee975db56703ffd54602b50823f17f11613bf
[ "Apache-1.1" ]
2
2020-06-05T22:25:20.000Z
2021-06-10T21:49:37.000Z
alarms_project/migrations/0003_auto_20190811_2147.py
hussu97/alarmous
09bee975db56703ffd54602b50823f17f11613bf
[ "Apache-1.1" ]
null
null
null
# Generated by Django 2.2.4 on 2019-08-11 17:47 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('alarms_project', '0002_auto_20190811_1841'), ] operations = [ migrations.AlterField( model_name='alarm', name='time'...
20.052632
54
0.595801
40
381
5.55
0.825
0
0
0
0
0
0
0
0
0
0
0.114815
0.291339
381
18
55
21.166667
0.707407
0.11811
0
0
1
0
0.137725
0.068862
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
9de08c60b47b14d3b4b9e9fb50e312f48a4e15ee
679
py
Python
pi.py
jeffreywolf/pyday-2015
d2fadd71bfbd3f98f616e737a76c70b4886e7577
[ "MIT" ]
1
2021-03-22T16:51:26.000Z
2021-03-22T16:51:26.000Z
pi.py
jeffreywolf/pyday-2015
d2fadd71bfbd3f98f616e737a76c70b4886e7577
[ "MIT" ]
null
null
null
pi.py
jeffreywolf/pyday-2015
d2fadd71bfbd3f98f616e737a76c70b4886e7577
[ "MIT" ]
1
2015-03-17T18:06:32.000Z
2015-03-17T18:06:32.000Z
#! /usr/bin/env python import argparse import numpy as np def getArgs(): parser = argparse.ArgumentParser( description = "Simulate Pi" ) parser.add_argument( "-n", type = int, required = True, help = "Number of random points to draw" ) return parser.parse_args() def dist(x,y): z = np.sqrt((x)**2+(y)*...
16.975
42
0.662739
116
679
3.724138
0.482759
0.083333
0.027778
0.069444
0.083333
0.083333
0
0
0
0
0
0.01982
0.182622
679
40
43
16.975
0.758559
0.054492
0
0
0
0
0.081123
0
0
0
0
0
0
0
null
null
0
0.064516
null
null
0.032258
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
9de5f5746f738291c78dc9cdc1f7f15a59af0119
2,399
py
Python
disent/nn/modules.py
nmichlo/disent
c4fb871cdcdbf833e95e88a4637700c5b0e75613
[ "MIT" ]
47
2020-04-29T18:57:09.000Z
2022-03-21T02:26:29.000Z
disent/nn/modules.py
nmichlo/disent
c4fb871cdcdbf833e95e88a4637700c5b0e75613
[ "MIT" ]
29
2021-03-14T21:36:43.000Z
2022-02-23T16:52:42.000Z
disent/nn/modules.py
nmichlo/disent
c4fb871cdcdbf833e95e88a4637700c5b0e75613
[ "MIT" ]
7
2021-05-28T08:59:40.000Z
2022-03-03T15:13:58.000Z
# ~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ # MIT License # # Copyright (c) 2021 Nathan Juraj Michlo # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Softwar...
42.839286
80
0.55273
249
2,399
5.305221
0.542169
0.066616
0.019682
0.040878
0.213475
0.213475
0.213475
0.213475
0.213475
0.213475
0
0.006306
0.206753
2,399
55
81
43.618182
0.687861
0.78366
0
0.4
0
0
0.092243
0
0
0
0
0
0
1
0.3
false
0
0.2
0
0.7
0
0
0
0
null
0
0
0
0
0
0
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
9de694e25e4842af20b9c3b204d3fac2973805c7
3,036
py
Python
python/setup.py
fengjixuchui/mercury
dec6115b8d11a6675b4e7f156740d4e9d5b615b8
[ "BSD-2-Clause" ]
null
null
null
python/setup.py
fengjixuchui/mercury
dec6115b8d11a6675b4e7f156740d4e9d5b615b8
[ "BSD-2-Clause" ]
null
null
null
python/setup.py
fengjixuchui/mercury
dec6115b8d11a6675b4e7f156740d4e9d5b615b8
[ "BSD-2-Clause" ]
null
null
null
""" 65;5802;1c Copyright (c) 2019 Cisco Systems, Inc. All rights reserved. License at https://github.com/cisco/mercury/blob/master/LICENSE """ import sys import setuptools from distutils.extension import Extension def readme(): with open('README.md') as f: return f.read() setuptools.setup( name='pm...
46.707692
131
0.511858
268
3,036
5.649254
0.507463
0.101717
0.11889
0.099075
0.254293
0.219947
0.113606
0.059445
0
0
0
0.010714
0.354414
3,036
64
132
47.4375
0.761735
0.044466
0
0.035714
0
0
0.458348
0.301072
0
0
0
0
0
1
0.017857
true
0
0.053571
0
0.089286
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
0
0
1
0
0
0
0
0
0
1
9debb9bc9ee9675b15e6f708ad885a4227bc064a
432
py
Python
condominium/migrations/0012_auto_20200715_1550.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
null
null
null
condominium/migrations/0012_auto_20200715_1550.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
4
2021-03-30T13:42:02.000Z
2021-09-22T19:19:17.000Z
condominium/migrations/0012_auto_20200715_1550.py
kozlyuk/appart
4a02cd31035949eaf5966f5b1975e1c6430b4d40
[ "MIT" ]
null
null
null
# Generated by Django 3.0.7 on 2020-07-15 15:50 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('condominium', '0011_auto_20200713_1542'), ] operations = [ migrations.AlterField( model_name='apartment', name='acco...
22.736842
81
0.627315
47
432
5.617021
0.787234
0.083333
0.128788
0
0
0
0
0
0
0
0
0.103448
0.261574
432
18
82
24
0.724138
0.104167
0
0
1
0
0.184416
0.05974
0
0
0
0
0
1
0
false
0
0.083333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
9dee6f363ea37298b34985d09a79f2f26f22eb37
5,244
py
Python
profiles/tests.py
ArRosid/djangorestframework-profilesapi
0d98c22da878c4eff3509efd91dfdfa508a4f224
[ "MIT" ]
null
null
null
profiles/tests.py
ArRosid/djangorestframework-profilesapi
0d98c22da878c4eff3509efd91dfdfa508a4f224
[ "MIT" ]
6
2021-03-19T03:09:25.000Z
2022-03-11T23:57:14.000Z
profiles/tests.py
ArRosid/djangorestframework-profilesapi
0d98c22da878c4eff3509efd91dfdfa508a4f224
[ "MIT" ]
null
null
null
import json from django.contrib.auth.models import User from django.urls import reverse from rest_framework import status from rest_framework.authtoken.models import Token from rest_framework.test import APITestCase from profiles.api import serializers from . import models class RegistrationTestCase(APITestCase): ...
45.206897
89
0.65389
584
5,244
5.681507
0.166096
0.05425
0.11091
0.104882
0.651597
0.600362
0.565099
0.540386
0.527728
0.506329
0
0.019107
0.231503
5,244
116
90
45.206897
0.804218
0
0
0.434783
0
0
0.105815
0.00591
0
0
0
0
0.195652
1
0.173913
false
0.054348
0.086957
0
0.315217
0
0
0
0
null
0
0
0
0
0
0
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
9dfbab5ee6cba7ccfdc290638d3fbd23bc7af68d
4,818
py
Python
aioscrapy/core/scheduler/queue.py
conlin-huang/aio-scrapy
954878b6fc7ffffc53209ea31ae02ed7c027a790
[ "MIT" ]
13
2021-10-14T10:04:54.000Z
2022-01-21T02:09:27.000Z
aioscrapy/core/scheduler/queue.py
dqsdatalabs/aio-scrapy
f8f282af3839caf34d57f4ab31b1e27b4b615fc9
[ "MIT" ]
null
null
null
aioscrapy/core/scheduler/queue.py
dqsdatalabs/aio-scrapy
f8f282af3839caf34d57f4ab31b1e27b4b615fc9
[ "MIT" ]
2
2022-01-20T03:11:09.000Z
2022-01-27T10:06:14.000Z
import logging from aioscrapy.utils.reqser import request_to_dict, request_from_dict from .serializ import PickleCompat logger = logging.getLogger(__name__) _to_str = lambda x: x if isinstance(x, str) else str(x) class Base(object): """Per-spider base queue class""" def __init__(self, serve...
30.884615
86
0.578456
543
4,818
5.058932
0.278085
0.050965
0.060066
0.023298
0.310521
0.310521
0.290135
0.290135
0.264288
0.210411
0
0.003995
0.324616
4,818
155
87
31.083871
0.840197
0.16978
0
0.402439
0
0
0.039561
0
0
0
0
0.012903
0
1
0.04878
false
0
0.036585
0
0.231707
0
0
0
0
null
0
0
0
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
d179101b001c432941a6b3609b53cf8c0757ca65
460
py
Python
src/paper/migrations/0070_paper_is_removed_by_user.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
18
2021-05-20T13:20:16.000Z
2022-02-11T02:40:18.000Z
src/paper/migrations/0070_paper_is_removed_by_user.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
109
2021-05-21T20:14:23.000Z
2022-03-31T20:56:10.000Z
src/paper/migrations/0070_paper_is_removed_by_user.py
ResearchHub/ResearchHub-Backend-Open
d36dca33afae2d442690694bb2ab17180d84bcd3
[ "MIT" ]
4
2021-05-17T13:47:53.000Z
2022-02-12T10:48:21.000Z
# Generated by Django 2.2 on 2020-11-19 20:46 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('paper', '0069_remove_paper_sift_risk_score'), ] operations = [ migrations.AddField( model_name='paper', name='is_remov...
24.210526
109
0.636957
55
460
5.145455
0.781818
0
0
0
0
0
0
0
0
0
0
0.052786
0.258696
460
18
110
25.555556
0.777126
0.093478
0
0
1
0
0.248193
0.079518
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
d17b3c23a6c5e7fc912f748eaf18c08d49ba62e3
543
py
Python
branding/migrations/0002_foreign_relationships.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
5
2019-07-01T17:50:44.000Z
2022-02-20T02:44:42.000Z
branding/migrations/0002_foreign_relationships.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
3
2020-06-05T21:44:33.000Z
2021-06-10T21:39:26.000Z
branding/migrations/0002_foreign_relationships.py
everyvoter/everyvoter
65d9b8bdf9b5c64057135c279f6e03b6c207e0fa
[ "MIT" ]
1
2021-12-09T06:32:40.000Z
2021-12-09T06:32:40.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.11.12 on 2018-04-30 16:43 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('election', '0001_initial'), ('branding', '0001_initial'), ] operations = [...
24.681818
106
0.631676
54
543
6.203704
0.759259
0.065672
0
0
0
0
0
0
0
0
0
0.063107
0.241252
543
21
107
25.857143
0.75
0.127072
0
0
1
0
0.227176
0.061571
0
0
0
0
0
1
0
false
0
0.142857
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d184cb2f6b8b9755bbb587b50b99596240423bd9
206
py
Python
worldtradingdata/public/constants.py
staneslevski/WorldTradingDataPythonSDK
3460160acb8194bbc9bb1373e48b95e9d520c402
[ "MIT" ]
12
2019-07-30T12:38:12.000Z
2022-01-15T10:05:47.000Z
worldtradingdata/public/constants.py
staneslevski/WorldTradingDataPythonSDK
3460160acb8194bbc9bb1373e48b95e9d520c402
[ "MIT" ]
2
2020-06-09T18:03:11.000Z
2021-06-01T23:57:47.000Z
worldtradingdata/public/constants.py
staneslevski/WorldTradingDataPythonSDK
3460160acb8194bbc9bb1373e48b95e9d520c402
[ "MIT" ]
null
null
null
allowed_request_categories = [ 'stock', 'mutual_fund', 'intraday', 'history', 'history_multi_single_day', 'forex', 'forex_history', 'forex_single_day', 'stock_search' ]
15.846154
31
0.616505
20
206
5.85
0.65
0.153846
0
0
0
0
0
0
0
0
0
0
0.242718
206
12
32
17.166667
0.75
0
0
0
0
0
0.492683
0.117073
0
0
0
0
0
1
0
false
0
0
0
0
0
1
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d18972e875a2671acc6afcab7805683eb02f6f6a
3,739
py
Python
tm1637.py
neptune46/PiWeather
50fd4a8b3f0c993bd5778b7a1e22301cba7bd93c
[ "MIT" ]
null
null
null
tm1637.py
neptune46/PiWeather
50fd4a8b3f0c993bd5778b7a1e22301cba7bd93c
[ "MIT" ]
null
null
null
tm1637.py
neptune46/PiWeather
50fd4a8b3f0c993bd5778b7a1e22301cba7bd93c
[ "MIT" ]
null
null
null
#!/usr/bin/env python # encoding: utf-8 import RPi.GPIO as GPIO import time CLK1 = 11 DIO1 = 12 CLK2 = 13 DIO2 = 15 CLK3 = 16 DIO3 = 18 """ A --- F | | B -G- E | | C --- D """ digital_coding = { '0': 0x3f, '1': 0x06, '2': 0x5b, '3':...
23.080247
79
0.492645
455
3,739
3.81978
0.274725
0.072497
0.107595
0.078251
0.472382
0.428654
0.342348
0.264097
0.264097
0.205409
0
0.07619
0.382188
3,739
161
80
23.223602
0.67619
0.091468
0
0.373913
0
0
0.013664
0
0
0
0.035589
0
0
0
null
null
0
0.017391
null
null
0.008696
0
0
0
null
0
0
0
0
0
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
d195499907d221cde13ed67b906a68c086760d05
1,642
py
Python
pychron/hardware/core/communicators/modbustcp_communicator.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
31
2016-03-07T02:38:17.000Z
2022-02-14T18:23:43.000Z
pychron/hardware/core/communicators/modbustcp_communicator.py
ASUPychron/pychron
dfe551bdeb4ff8b8ba5cdea0edab336025e8cc76
[ "Apache-2.0" ]
1,626
2015-01-07T04:52:35.000Z
2022-03-25T19:15:59.000Z
pychron/hardware/core/communicators/modbustcp_communicator.py
UIllinoisHALPychron/pychron
f21b79f4592a9fb9dc9a4cb2e4e943a3885ededc
[ "Apache-2.0" ]
26
2015-05-23T00:10:06.000Z
2022-03-07T16:51:57.000Z
# =============================================================================== # Copyright 2021 ross # # 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/LICE...
35.695652
85
0.615104
184
1,642
5.456522
0.554348
0.059761
0.025896
0.031873
0.065737
0
0
0
0
0
0
0.0059
0.174178
1,642
45
86
36.488889
0.734513
0.463459
0
0
0
0
0.048611
0
0
0
0
0
0
1
0.2
false
0
0.15
0.1
0.7
0
0
0
0
null
0
0
0
0
0
0
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
d196910a9a763dcb3a2a00ee52fa830b1852612f
363
py
Python
Aula6/Menor.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
Aula6/Menor.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
Aula6/Menor.py
Anderson842/LabADAGrupoC
f0cb79968b994eeafe562046f4bd87c0d4c07fb6
[ "BSD-3-Clause" ]
null
null
null
#Encontrar el menor valor en un array #con busqueda binaria def menor (array): l=0 r=len(array)-1 while l<=r: mid = l+(r-l)//2 if array[mid] > array[r]: l=mid+1 if array[mid]< array[r]: r=mid if r==l or mid==0: return array[r] n...
19.105263
37
0.495868
62
363
2.903226
0.483871
0.033333
0.111111
0.166667
0.177778
0
0
0
0
0
0
0.07234
0.352617
363
19
38
19.105263
0.693617
0.15427
0
0
0
0
0
0
0
0
0
0
0
1
0.076923
false
0
0
0
0.153846
0.076923
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
d19d4b3d95047b35133bf1f3abec569b53078355
593
py
Python
tests/glm/distribution/util.py
strongio/foundry
4f8404eb4002335ecc1199f8b53ec7ac48e5acca
[ "MIT" ]
null
null
null
tests/glm/distribution/util.py
strongio/foundry
4f8404eb4002335ecc1199f8b53ec7ac48e5acca
[ "MIT" ]
null
null
null
tests/glm/distribution/util.py
strongio/foundry
4f8404eb4002335ecc1199f8b53ec7ac48e5acca
[ "MIT" ]
null
null
null
import torch from tests.util import assert_tensors_equal def assert_dist_equal(x: torch.distributions.Distribution, y: torch.distributions.Distribution, tol: float = .001): assert x.arg_constraints == y.arg_constraints for nm in x.arg_constraints: x_attr = getattr(x, nm) if isinstance(x_attr,...
34.882353
115
0.642496
81
593
4.555556
0.45679
0.113821
0.097561
0.04878
0.075881
0
0
0
0
0
0
0.006897
0.266442
593
16
116
37.0625
0.841379
0
0
0
0
0
0.060708
0
0
0
0
0
0.538462
1
0.076923
false
0
0.153846
0
0.230769
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
d1a265ec86de9b307306b05343fe8078dd012f54
6,096
py
Python
tests/test_cases/test_array_simple/test_array_simple.py
lavanyajagan/cocotb
2f98612016e68510e264a2b4963303d3588d8404
[ "BSD-3-Clause" ]
350
2015-01-09T12:50:13.000Z
2019-07-12T09:08:17.000Z
tests/test_cases/test_array_simple/test_array_simple.py
lavanyajagan/cocotb
2f98612016e68510e264a2b4963303d3588d8404
[ "BSD-3-Clause" ]
710
2015-01-05T16:42:29.000Z
2019-07-16T13:40:00.000Z
tests/test_cases/test_array_simple/test_array_simple.py
lavanyajagan/cocotb
2f98612016e68510e264a2b4963303d3588d8404
[ "BSD-3-Clause" ]
182
2015-01-08T09:35:20.000Z
2019-07-12T18:41:37.000Z
# Copyright cocotb contributors # Licensed under the Revised BSD License, see LICENSE for details. # SPDX-License-Identifier: BSD-3-Clause """Test getting and setting values of arrays""" import contextlib import logging import cocotb from cocotb.clock import Clock from cocotb.triggers import Timer tlog = logging.getL...
34.055866
101
0.696522
961
6,096
4.167534
0.165453
0.09588
0.104869
0.123096
0.754557
0.751311
0.683645
0.648689
0.580275
0.441199
0
0.098953
0.169455
6,096
178
102
34.247191
0.69208
0.127133
0
0.362069
0
0
0.046104
0
0
0
0.097103
0
0.060345
1
0.017241
false
0
0.043103
0
0.060345
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1a3010b6dcd355967280d9f7519292fc2ba49cc
508
py
Python
L4:CV_CreateWindow_Function_part3/4.3.py
animeshsrivastava24/OPEN_CV
cee2a4ffbc738a282e280ad531d7beb1ba476ad6
[ "MIT" ]
9
2017-06-08T16:53:43.000Z
2021-05-18T11:15:03.000Z
L4:CV_CreateWindow_Function_part3/4.3.py
animeshsrivastava24/OPEN_CV
cee2a4ffbc738a282e280ad531d7beb1ba476ad6
[ "MIT" ]
null
null
null
L4:CV_CreateWindow_Function_part3/4.3.py
animeshsrivastava24/OPEN_CV
cee2a4ffbc738a282e280ad531d7beb1ba476ad6
[ "MIT" ]
12
2018-03-15T11:15:40.000Z
2021-01-28T20:43:58.000Z
"""Here we will create a window whose size can be controlled and changed, if we specify flag to be cv2.WINDOW_NORMAL, you can resize window. It will be helpful when image is too large in dimension and adding track bar to windows.""" import numpy as np import cv2 a=cv2.imread('/home/animesh/Desktop/messi5.jpg',1) cv2.na...
42.333333
151
0.76378
97
508
3.979381
0.659794
0.020725
0.07772
0
0
0
0
0
0
0
0
0.02331
0.155512
508
11
152
46.181818
0.876457
0.667323
0
0
0
0
0.236025
0.198758
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d1b68592e10b6961103098e40d66406c923f8601
246
py
Python
M2_Big_Data_Modeling_and_Management_Systems/big-data-2/sensor/stream-data.py
cmaroblesg/Big_Data
14e89219a688d292b3912f1181f414c9fa8f3cf7
[ "MIT" ]
21
2018-09-10T19:14:06.000Z
2021-10-04T04:53:01.000Z
M2_Big_Data_Modeling_and_Management_Systems/big-data-2/sensor/stream-data.py
cmaroblesg/Big_Data
14e89219a688d292b3912f1181f414c9fa8f3cf7
[ "MIT" ]
null
null
null
M2_Big_Data_Modeling_and_Management_Systems/big-data-2/sensor/stream-data.py
cmaroblesg/Big_Data
14e89219a688d292b3912f1181f414c9fa8f3cf7
[ "MIT" ]
23
2018-10-20T04:53:27.000Z
2022-01-03T06:45:13.000Z
#!/usr/bin/python import socket s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(('rtd.hpwren.ucsd.edu', 12020)) for i in range(0, 60): d = s.recv(1024) p = d.split('\t', 2) print "{0}: {1}".format(i, p[2]) s.close()
20.5
53
0.613821
45
246
3.311111
0.733333
0.161074
0
0
0
0
0
0
0
0
0
0.07767
0.162602
246
11
54
22.363636
0.645631
0.065041
0
0
0
0
0.126638
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
d1bc822020aae808d5f58265777f785e04698cbf
648
py
Python
userscripts/LabelSeeder/LabelSeeder.py
majora2007/torrent-interface
a827bf27109b7078501fdd4c05a289b98b0a74a4
[ "MIT" ]
1
2015-09-03T20:27:43.000Z
2015-09-03T20:27:43.000Z
userscripts/LabelSeeder/LabelSeeder.py
majora2007/torrent-interface
a827bf27109b7078501fdd4c05a289b98b0a74a4
[ "MIT" ]
null
null
null
userscripts/LabelSeeder/LabelSeeder.py
majora2007/torrent-interface
a827bf27109b7078501fdd4c05a289b98b0a74a4
[ "MIT" ]
null
null
null
''' @name LabelSeeder.py @author Joseph Milazzo @description Stop seeding any freshly completed torrent without correct label. ''' import httplib import json context = httplib.HTTPConnection('localhost', 5000) # Get information about torrent context.request('POST', '/getTorrent', '{}') torrent = json.loads(context...
30.857143
80
0.729938
81
648
5.82716
0.666667
0.088983
0.114407
0
0
0
0
0
0
0
0
0.006981
0.115741
648
21
81
30.857143
0.816754
0.111111
0
0
0
0
0.179138
0
0
0
0
0
0
0
null
null
0
0.2
null
null
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
d1bcd39fcce6e7dd997e413074ba4a4a680aa1a2
8,685
py
Python
gist_magic/extensions/gist.py
timbr-io/gist-magic
44cf920d2f01a4de6c95a41e55ffb9eb899ffb05
[ "MIT" ]
3
2016-08-26T20:17:19.000Z
2021-03-29T18:26:40.000Z
gist_magic/extensions/gist.py
pramukta/gist-magic
44cf920d2f01a4de6c95a41e55ffb9eb899ffb05
[ "MIT" ]
11
2016-05-14T23:07:47.000Z
2016-06-08T17:03:00.000Z
gist_magic/extensions/gist.py
timbr-io/gist-magic
44cf920d2f01a4de6c95a41e55ffb9eb899ffb05
[ "MIT" ]
2
2016-06-22T02:19:34.000Z
2016-06-22T02:52:33.000Z
from IPython.core.magic import (Magics, magics_class, line_magic, cell_magic, line_cell_magic) from IPython import get_ipython import argparse from pygithub3 import Github from pygithub3.resources.gists import Gist import os import shlex from itertools import chain from IPython.displa...
43.643216
131
0.619459
1,108
8,685
4.681408
0.157942
0.047426
0.042607
0.028918
0.290148
0.221708
0.213611
0.185849
0.147099
0.129362
0
0.00158
0.271042
8,685
198
132
43.863636
0.817722
0.015774
0
0.219512
0
0
0.151703
0
0
0
0
0
0.04878
0
null
null
0.006098
0.067073
null
null
0.054878
0
0
0
null
0
0
0
0
0
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
d1bdb16c2b9c26534d926a9ec14a677c5c027d74
3,496
py
Python
app/core/exceptions.py
sololuz/cibb-web
665de9832e8a262f9051f4075572f5aed0553f6e
[ "BSD-3-Clause" ]
null
null
null
app/core/exceptions.py
sololuz/cibb-web
665de9832e8a262f9051f4075572f5aed0553f6e
[ "BSD-3-Clause" ]
null
null
null
app/core/exceptions.py
sololuz/cibb-web
665de9832e8a262f9051f4075572f5aed0553f6e
[ "BSD-3-Clause" ]
null
null
null
from rest_framework import exceptions from rest_framework import status from rest_framework.response import Response from django.core.exceptions import PermissionDenied as DjangoPermissionDenied from django.utils.encoding import force_text from django.utils.translation import ugettext_lazy as _ from django.http impor...
26.484848
77
0.691362
384
3,496
6.085938
0.356771
0.050064
0.021823
0.025674
0.113821
0.072743
0.072743
0.041078
0.041078
0
0
0.012816
0.218822
3,496
132
78
26.484848
0.842915
0.203947
0
0.081967
0
0
0.113308
0.008745
0
0
0
0
0
1
0.04918
false
0.04918
0.114754
0
0.606557
0
0
0
0
null
0
0
0
0
0
0
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
d1c09d71faf4290bc9e802a13f839b41fd3d3228
1,526
py
Python
product/migrations/0018_auto_20170324_1820.py
rodrigocnascimento/django-teste
82edb9341eab649cb25369ff0371d3f2a617e9c8
[ "MIT" ]
null
null
null
product/migrations/0018_auto_20170324_1820.py
rodrigocnascimento/django-teste
82edb9341eab649cb25369ff0371d3f2a617e9c8
[ "MIT" ]
null
null
null
product/migrations/0018_auto_20170324_1820.py
rodrigocnascimento/django-teste
82edb9341eab649cb25369ff0371d3f2a617e9c8
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.10.6 on 2017-03-24 21:20 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ migrations.swappable_depende...
31.791667
144
0.612713
164
1,526
5.493902
0.432927
0.079911
0.08657
0.113208
0.436182
0.412875
0.27303
0.27303
0.170921
0.170921
0
0.033303
0.271953
1,526
47
145
32.468085
0.777678
0.044561
0
0.4
1
0
0.084536
0.015808
0
0
0
0
0
1
0
false
0
0.1
0
0.175
0
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
d1c10cbfbd307ee7949f5859e415bfca540156b0
3,047
py
Python
core/brute.py
Leocodefocus/Scanver
292a080309a51b4bee79bfc2d234b4fa68dccc96
[ "Apache-2.0" ]
4
2020-10-18T07:36:20.000Z
2021-06-24T03:11:43.000Z
core/brute.py
aptkid/Scanver
0578b259d113dbf8153f59d1743bb6bdd0cc4711
[ "Apache-2.0" ]
null
null
null
core/brute.py
aptkid/Scanver
0578b259d113dbf8153f59d1743bb6bdd0cc4711
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # coding=utf-8 #https://github.com/ydhcui/Scanver ''' this aim to crack the port such as ssh, mssql, mysql, vnc and so on ''' import os import random import re import string import subprocess from log import logging class Hydra(object): HYDRA = './lib/hydra/hydra.exe' def randstr(self, l...
33.855556
94
0.533968
345
3,047
4.681159
0.411594
0.056347
0.029721
0.021053
0
0
0
0
0
0
0
0.025453
0.329504
3,047
90
95
33.855556
0.765051
0.065967
0
0.027397
0
0
0.121891
0.032694
0
0
0
0
0
1
0.068493
false
0.136986
0.082192
0.013699
0.191781
0.027397
0
0
0
null
0
0
0
0
0
0
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
d1c1c782fb722e00aea7ea90ed6dc244447fc349
14,011
py
Python
genDescriptor.py
TheHopeSharedFoundation/EnsembleSurrogateAutoShim-Kinases
2dc9def7fef4d134a872bca9b2266d993d3136cd
[ "BSD-3-Clause" ]
null
null
null
genDescriptor.py
TheHopeSharedFoundation/EnsembleSurrogateAutoShim-Kinases
2dc9def7fef4d134a872bca9b2266d993d3136cd
[ "BSD-3-Clause" ]
null
null
null
genDescriptor.py
TheHopeSharedFoundation/EnsembleSurrogateAutoShim-Kinases
2dc9def7fef4d134a872bca9b2266d993d3136cd
[ "BSD-3-Clause" ]
null
null
null
_version = "0.1" _usage=""" genDescriptor.py [options] <sdLigandFilename> """ from rdkit import Chem from rdkit import Geometry from rdkit.Chem import ChemicalFeatures from rdkit import RDConfig import sys,os,math from rdkit.RDLogger import logger # for now we are using the predefined definitions - however, it might...
42.716463
271
0.646706
1,844
14,011
4.85141
0.207158
0.017438
0.028169
0.027051
0.544154
0.504918
0.497988
0.485133
0.48055
0.48055
0
0.027407
0.223967
14,011
327
272
42.847095
0.795365
0.358147
0
0.479592
0
0
0.123255
0.012157
0
0
0
0
0
0
null
null
0.020408
0.035714
null
null
0.137755
0
0
0
null
0
0
0
0
0
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
d1c43ad45dd5e85d198ef15ac9ce314adf9ce07b
584
py
Python
tests.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
18
2015-07-19T03:31:23.000Z
2021-05-03T15:50:42.000Z
tests.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
3
2015-04-29T14:45:08.000Z
2017-09-25T16:47:10.000Z
tests.py
osagha/turktools
389c1243e837e946080b28a5ca83faf62890f4b4
[ "Unlicense", "MIT" ]
4
2017-05-25T21:45:04.000Z
2020-09-07T17:29:45.000Z
# coding: utf-8 """ turktools tests mitcho (Michael Yoshitaka Erlewine), mitcho@mitcho.com, May 2013 The MIT License (MIT) Copyright (c) 2013 Michael Yoshitaka Erlewine See readme for license block """ from __future__ import print_function import unittest, sys # todo: import doctest runner = unitte...
23.36
69
0.731164
72
584
5.805556
0.694444
0.086124
0.114833
0
0
0
0
0
0
0
0
0.020202
0.152397
584
24
70
24.333333
0.824242
0.366438
0
0
0
0
0.219585
0
0
0
0
0.041667
0
1
0
false
0
0.2
0
0.2
0.1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
d1c57b496cdbac33662f231729b21463dd8e9c69
732
py
Python
tests/test_views.py
huseyinyilmaz/django-dynamic-decorators
f3cbc11faec12f1975e6722e204db78dc543d7aa
[ "MIT" ]
null
null
null
tests/test_views.py
huseyinyilmaz/django-dynamic-decorators
f3cbc11faec12f1975e6722e204db78dc543d7aa
[ "MIT" ]
null
null
null
tests/test_views.py
huseyinyilmaz/django-dynamic-decorators
f3cbc11faec12f1975e6722e204db78dc543d7aa
[ "MIT" ]
null
null
null
"""Test views.""" # import json # from operator import itemgetter # from django.contrib.auth import get_user_model from django.core.urlresolvers import reverse from django.test import Client # from tests.base import BaseTestCase # from django.test import Client from django.test import TestCase class IndexViewTests...
26.142857
51
0.693989
92
732
5.467391
0.48913
0.099404
0.083499
0.119284
0.119284
0.119284
0
0
0
0
0
0.010274
0.202186
732
27
52
27.111111
0.851027
0.357924
0
0
0
0
0.051685
0.051685
0
0
0
0
0.090909
1
0.181818
false
0
0.272727
0
0.545455
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d1c6ae6d1ae31d30828e30ec30db35a7449315e4
3,770
py
Python
etc/pending_ugens/PulseDivider.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
191
2015-11-13T02:28:42.000Z
2022-03-29T10:26:44.000Z
etc/pending_ugens/PulseDivider.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
130
2016-01-04T16:59:02.000Z
2022-02-26T15:37:20.000Z
etc/pending_ugens/PulseDivider.py
butayama/supriya
0c197324ecee4232381221880d1f40e109bb756c
[ "MIT" ]
22
2016-05-04T10:32:16.000Z
2022-02-26T19:22:45.000Z
import collections from supriya.enums import CalculationRate from supriya.synthdefs import UGen class PulseDivider(UGen): """ :: >>> pulse_divider = supriya.ugens.PulseDivider.ar( ... div=2, ... start=0, ... trigger=0, ... ) >>> pulse_divider ...
21.542857
62
0.456764
311
3,770
5.37299
0.173633
0.086176
0.048474
0.05386
0.724716
0.724716
0.675643
0.64213
0.605027
0.579892
0
0.015377
0.430769
3,770
174
63
21.666667
0.763281
0.375862
0
0.617647
0
0
0.016593
0
0
0
0
0
0
1
0.088235
false
0
0.073529
0
0.279412
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1cca935104ca40c04e1a6b908a1873c7ac23116
388
py
Python
standardfile/__version__.py
stephen-bunn/standardfile
02aa6f8a2408d8148702743f040d8c2dab332453
[ "MIT" ]
1
2019-04-26T19:48:51.000Z
2019-04-26T19:48:51.000Z
standardfile/__version__.py
stephen-bunn/standardfile
02aa6f8a2408d8148702743f040d8c2dab332453
[ "MIT" ]
null
null
null
standardfile/__version__.py
stephen-bunn/standardfile
02aa6f8a2408d8148702743f040d8c2dab332453
[ "MIT" ]
null
null
null
# Copyright (c) 2018 Stephen Bunn <stephen@bunn.io> # MIT License <https://opensource.org/licenses/MIT> __name__ = "standardfile" __repo__ = "https://github.com/stephen-bunn/standardfile" __description__ = "A library for accessing and interacting with a Standard File server." __version__ = "0.0.0" __author__ = "Stephe...
35.272727
88
0.757732
50
388
5.32
0.64
0.206767
0.097744
0
0
0
0
0
0
0
0
0.020408
0.115979
388
10
89
38.8
0.755102
0.255155
0
0
0
0
0.583916
0
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d1d2e41507109e5efaeb649a958aa98f1224845b
506
py
Python
2_estrutura_de_decisao/10_turno.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
2_estrutura_de_decisao/10_turno.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
2_estrutura_de_decisao/10_turno.py
cecilmalone/lista_de_exercicios_pybr
6d7c4aeddf8d1b1d839ad05ef5b5813a8fe611b5
[ "MIT" ]
null
null
null
""" 10. Faça um Programa que pergunte em que turno você estuda. Peça para digitar M-Matutino ou V-Vespertino ou N-Noturno. Imprima a mensagem "Bom Dia!", "Boa Tarde!" ou "Boa Noite!" ou "Valor Inválido!", conforme o caso. """ turno = input("Qual o turno que você estuda: ") if turno == 'M' or turno == "Matutino": ...
29.764706
78
0.644269
77
506
4.233766
0.519481
0.064417
0
0
0
0
0
0
0
0
0
0.004914
0.195652
506
16
79
31.625
0.796069
0.432806
0
0
0
0
0.354839
0
0
0
0
0
0
1
0
false
0
0
0
0
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
d1de168573a97f1ebd3ff9d6e4a8e1280fdefa6d
14,696
py
Python
pre-commit/package_app_dependencies.py
phantomcyber/dev-cicd-tools
c76dbaf8403b0ec0a9abd2e91a9513fbec0b5452
[ "Apache-2.0" ]
3
2022-01-08T20:55:05.000Z
2022-01-26T17:52:47.000Z
pre-commit/package_app_dependencies.py
phantomcyber/dev-cicd-tools
c76dbaf8403b0ec0a9abd2e91a9513fbec0b5452
[ "Apache-2.0" ]
11
2021-09-09T21:19:00.000Z
2022-03-18T21:56:25.000Z
pre-commit/package_app_dependencies.py
phantomcyber/dev-cicd-tools
c76dbaf8403b0ec0a9abd2e91a9513fbec0b5452
[ "Apache-2.0" ]
null
null
null
""" Builds wheel files for the dependencies of an app, specified in requirements.txt, into the wheels/ folder of the app repo, and updates the app's JSON config specifying any generated wheels as pip dependencies. NOTE: If running this script with the --repair_wheels flag, make sure the script is executed from a manyl...
46.952077
135
0.676987
1,994
14,696
4.722668
0.173019
0.02676
0.018052
0.020176
0.250292
0.159924
0.102049
0.093342
0.052671
0.024424
0
0.0078
0.232308
14,696
312
136
47.102564
0.826892
0.155212
0
0.052632
1
0.014354
0.16251
0.012551
0
0
0
0
0
1
0.047847
false
0
0.057416
0
0.138756
0
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
d1decea10a0ea63bbb6e975cf8a4ea4db2ae1f6d
7,626
py
Python
kmer-collapse.py
alexpreynolds/kmer-collapse
62ae0ed530c4a89677aa41e396bf6302d0d09fa6
[ "MIT" ]
3
2021-11-23T14:53:39.000Z
2022-01-06T18:50:38.000Z
kmer-collapse.py
alexpreynolds/kmer-collapse
62ae0ed530c4a89677aa41e396bf6302d0d09fa6
[ "MIT" ]
null
null
null
kmer-collapse.py
alexpreynolds/kmer-collapse
62ae0ed530c4a89677aa41e396bf6302d0d09fa6
[ "MIT" ]
null
null
null
#!/usr/bin/env python ''' kmer-collapse.py Starting with a set of kmers using a standard DNA alphabet (ACTG), collapse it to an encoded, optimized set using IUPAC-derived, degenerate base alphabet. ''' import sys import json import itertools as it import marisa_trie as mt """ Generate all subsets of specified set. ...
33.30131
98
0.539601
869
7,626
4.585731
0.284235
0.044166
0.045169
0.025094
0.138018
0.076035
0.076035
0.06675
0.046173
0.023588
0
0.003021
0.348938
7,626
228
99
33.447368
0.799597
0.130475
0
0.089655
1
0
0.032419
0
0
0
0
0
0
1
0.041379
false
0.02069
0.027586
0
0.103448
0
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
d1ea5fd1cda689178dfa0e51ea6e2208a8cf4f8b
2,981
py
Python
conpype/test/test_pipeline.py
c0d1ngm0nk3y/pipeline-dsl
e838d3750020e6a1ff14676247370c1d7acabd39
[ "Apache-2.0" ]
null
null
null
conpype/test/test_pipeline.py
c0d1ngm0nk3y/pipeline-dsl
e838d3750020e6a1ff14676247370c1d7acabd39
[ "Apache-2.0" ]
null
null
null
conpype/test/test_pipeline.py
c0d1ngm0nk3y/pipeline-dsl
e838d3750020e6a1ff14676247370c1d7acabd39
[ "Apache-2.0" ]
null
null
null
import unittest from conpype import Pipeline, InitTask import base64 import os import subprocess from conpype.utils.docker_daemon import START_SCRIPT, STOP_SCRIPT from conpype.concourse.__shared import set_concourse_context from contextlib import contextmanager @contextmanager def concourse_ctx(): set_concourse_...
29.81
118
0.513586
305
2,981
4.839344
0.291803
0.03252
0.04065
0.04878
0.216125
0.186314
0.122629
0.095528
0.047425
0
0
0.005808
0.364643
2,981
99
119
30.111111
0.773495
0.018115
0
0.131579
0
0
0.082051
0.012308
0
0
0
0
0.157895
1
0.092105
false
0.052632
0.105263
0
0.210526
0
0
0
0
null
0
0
0
0
0
0
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
d1fa94f9068649790a18b67ec6ad75c52297e2ef
1,354
py
Python
lib/template_loader.py
clouserw/olympia
1d5755b08a526372ec66e6bc64ab636018181969
[ "BSD-3-Clause" ]
1
2015-12-01T03:53:51.000Z
2015-12-01T03:53:51.000Z
lib/template_loader.py
clouserw/olympia
1d5755b08a526372ec66e6bc64ab636018181969
[ "BSD-3-Clause" ]
6
2021-02-02T23:08:48.000Z
2021-09-08T02:47:17.000Z
lib/template_loader.py
clouserw/olympia
1d5755b08a526372ec66e6bc64ab636018181969
[ "BSD-3-Clause" ]
2
2018-03-04T00:11:22.000Z
2019-12-14T09:45:55.000Z
# -*- coding: utf-8 -*- from django.conf import settings from jingo import Loader as JingoLoader, Template class Loader(JingoLoader): """Use JINGO_EXCLUDE_PATHS to exclude templates based on their path. jingo.Loader has a JINGO_EXCLUDE_APPS that only allows to provide the "app" part of a template (the p...
30.088889
79
0.677253
187
1,354
4.775401
0.475936
0.080627
0.095185
0.042553
0
0
0
0
0
0
0
0.00099
0.254062
1,354
44
80
30.772727
0.883168
0.542836
0
0.307692
0
0
0.034862
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.615385
0
0
0
0
null
0
0
0
0
0
0
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
0601fbff283671d3c6f235230330e7cf4336a4f8
1,004
py
Python
experiments/ingredients/prepare/checkers.py
vishalbelsare/generalised-signature-method
78c1a8bf7f5c31c61b32d18732f58da916db3855
[ "MIT" ]
29
2020-06-02T12:07:40.000Z
2022-03-15T05:30:57.000Z
experiments/ingredients/prepare/checkers.py
vishalbelsare/generalised-signature-method
78c1a8bf7f5c31c61b32d18732f58da916db3855
[ "MIT" ]
2
2021-06-25T04:53:25.000Z
2021-08-24T12:17:47.000Z
experiments/ingredients/prepare/checkers.py
vishalbelsare/generalised-signature-method
78c1a8bf7f5c31c61b32d18732f58da916db3855
[ "MIT" ]
5
2020-06-05T23:12:34.000Z
2021-06-08T11:15:54.000Z
""" checkers.py ======================================= Checks if a model is of a given type, to help with determining which route of preparation to go down. """ from sklearn.base import BaseEstimator from experiments.dicts.grids import CLASSIFIERS def check_sklearn(clf_string): """ Given a classifier, returns a ...
31.375
105
0.680279
142
1,004
4.676056
0.478873
0.031627
0.054217
0.063253
0
0
0
0
0
0
0
0
0.193227
1,004
31
106
32.387097
0.819753
0.330677
0
0
0
0
0.023292
0
0
0
0
0
0
1
0.2
false
0
0.133333
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
060479c237e8bc30946c9a1000d8d5dc3b9c733e
3,031
py
Python
pennylane/debugging.py
therooler/pennylane
88a8a5960a2ffd218a12f85ace632021eef2abf5
[ "Apache-2.0" ]
539
2018-11-13T08:45:42.000Z
2020-07-27T18:17:16.000Z
pennylane/debugging.py
therooler/pennylane
88a8a5960a2ffd218a12f85ace632021eef2abf5
[ "Apache-2.0" ]
588
2018-11-14T10:21:47.000Z
2020-07-28T06:27:14.000Z
pennylane/debugging.py
therooler/pennylane
88a8a5960a2ffd218a12f85ace632021eef2abf5
[ "Apache-2.0" ]
165
2018-11-13T18:58:56.000Z
2020-07-27T17:18:17.000Z
# Copyright 2018-2022 Xanadu Quantum Technologies Inc. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or...
33.677778
99
0.665787
413
3,031
4.818402
0.423729
0.01206
0.013568
0.01407
0.063819
0.038693
0.038693
0.037186
0.036181
0
0
0.033348
0.238205
3,031
89
100
34.05618
0.828497
0.688552
0
0.086957
0
0
0.074214
0
0
0
0
0
0
1
0.217391
false
0
0.043478
0
0.434783
0
0
0
0
null
0
0
0
0
0
0
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
0611077b31d80f74156d9f863bc4c2b595ea61b0
5,073
py
Python
data_structures/linked_list/test.py
SRTjiawei/LegoBox
df93bc5981aa7a066d650f4f9e22411b0ed93284
[ "MIT" ]
null
null
null
data_structures/linked_list/test.py
SRTjiawei/LegoBox
df93bc5981aa7a066d650f4f9e22411b0ed93284
[ "MIT" ]
null
null
null
data_structures/linked_list/test.py
SRTjiawei/LegoBox
df93bc5981aa7a066d650f4f9e22411b0ed93284
[ "MIT" ]
null
null
null
import unittest import collections_and_iterators """ Linked lists - TESTS Testing Collections programming examples from collections.py """ class TestObjectMethods(unittest.TestCase): def setUp(self): self.singleLinkList = collections_and_iterators.SinglyLinkedList() self.singleLink...
46.541284
139
0.693081
580
5,073
5.92069
0.234483
0.160163
0.014269
0.01922
0.493885
0.417589
0.282469
0.200349
0.145312
0.111532
0
0.030379
0.214863
5,073
108
140
46.972222
0.831785
0.181352
0
0.123288
0
0
0.06709
0
0
0
0
0
0.479452
1
0.178082
false
0.013699
0.027397
0
0.219178
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
06130d25fbc24d99c785b4b1f0d1125795b97fae
4,043
py
Python
software/multifluids_icferst/tools/gmsh_mesh_transform.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-11T02:39:46.000Z
2020-05-11T03:08:38.000Z
software/multifluids_icferst/tools/gmsh_mesh_transform.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
null
null
null
software/multifluids_icferst/tools/gmsh_mesh_transform.py
msc-acse/acse-9-independent-research-project-Wade003
cfcba990d52ccf535171cf54c0a91b184db6f276
[ "MIT" ]
2
2020-05-21T22:50:19.000Z
2020-10-28T17:16:31.000Z
#!/usr/bin/env python from optparse import OptionParser import sys import shutil import math ##################################################################### # Script starts here. optparser=OptionParser(usage='usage: %prog region transformation mesh', add_help_option=True, ...
42.114583
251
0.590403
527
4,043
4.495256
0.320683
0.030393
0.013508
0.012664
0.140144
0.140144
0.140144
0.130013
0.130013
0.130013
0
0.025075
0.260203
4,043
95
252
42.557895
0.766968
0.03067
0
0.026316
0
0.105263
0.493108
0
0
0
0
0
0
0
null
null
0
0.052632
null
null
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
0
0
1
0
0
0
0
0
0
0
0
1
061440003149cda369182fe72e953d4bfee76723
765
py
Python
fastapi/app/test/test_generator.py
terib0l/genicons
43bfa743aa9ee642a5bea7b3e5ad57cec4d0010c
[ "MIT" ]
null
null
null
fastapi/app/test/test_generator.py
terib0l/genicons
43bfa743aa9ee642a5bea7b3e5ad57cec4d0010c
[ "MIT" ]
null
null
null
fastapi/app/test/test_generator.py
terib0l/genicons
43bfa743aa9ee642a5bea7b3e5ad57cec4d0010c
[ "MIT" ]
null
null
null
import os import random import pytest from fastapi.testclient import TestClient from jsonschema import Draft7Validator from pathlib import Path from main import app from app.test.schema.schema_generator import test_generate_product_schema client = TestClient(app) current_path = Path(__file__).resolve().parent @py...
26.37931
82
0.74902
101
765
5.435644
0.435644
0.10929
0.103825
0.091075
0.087432
0.087432
0
0
0
0
0
0.00761
0.141176
765
28
83
27.321429
0.828006
0
0
0
0
0
0.052288
0
0
0
0
0
0.1
1
0.05
false
0
0.4
0
0.45
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
061704972003bb06092d0a0f5daacbd6a2545e3d
5,067
py
Python
src/ContinuousTimeMarkovModel/transforms.py
vamsikk9/ContinuousTimeMarkovModel
10212d8ee7054fccfc31b9a592eef7eba8c8be5a
[ "MIT" ]
20
2015-12-11T22:23:03.000Z
2021-08-10T22:56:47.000Z
src/ContinuousTimeMarkovModel/transforms.py
mac-kim/ContinuousTimeMarkovModel
10212d8ee7054fccfc31b9a592eef7eba8c8be5a
[ "MIT" ]
3
2017-09-08T22:15:07.000Z
2018-03-06T19:23:49.000Z
src/ContinuousTimeMarkovModel/transforms.py
mac-kim/ContinuousTimeMarkovModel
10212d8ee7054fccfc31b9a592eef7eba8c8be5a
[ "MIT" ]
11
2015-11-03T02:15:33.000Z
2022-01-30T17:04:06.000Z
import theano.tensor as TT from pymc3.distributions.transforms import Transform, ElemwiseTransform from pymc3.distributions.transforms import interval, logodds import numpy as np #__all__ = ['ratematrix','ratematrixoneway','anchoredbeta'] class RateMatrix(Transform): name = "ratematrix" def __init__(self, low...
37.257353
99
0.666469
736
5,067
4.335598
0.161685
0.020056
0.019743
0.033845
0.542463
0.443748
0.424632
0.424632
0.424632
0.384832
0
0.013404
0.219657
5,067
135
100
37.533333
0.793627
0.100651
0
0.336735
0
0
0.012758
0
0
0
0
0
0
1
0.214286
false
0
0.040816
0.061224
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
0617b0cda91422748840b6c587299292c563024d
278
py
Python
resume/api/urls.py
jamedadi/jobnet
3e72bbb28e99b75899a422a5035e8df8b07ab22b
[ "MIT" ]
3
2021-11-25T12:35:58.000Z
2022-02-12T03:53:23.000Z
resume/api/urls.py
jamedadi/jobnet
3e72bbb28e99b75899a422a5035e8df8b07ab22b
[ "MIT" ]
null
null
null
resume/api/urls.py
jamedadi/jobnet
3e72bbb28e99b75899a422a5035e8df8b07ab22b
[ "MIT" ]
1
2021-11-21T11:39:27.000Z
2021-11-21T11:39:27.000Z
from django.urls import path, include from rest_framework import routers from resume.api.views import ResumeModelViewSetApi app_name = 'resume' router = routers.SimpleRouter() router.register('', ResumeModelViewSetApi) urlpatterns = [ path('', include(router.urls)), ]
18.533333
50
0.766187
31
278
6.806452
0.612903
0.104265
0
0
0
0
0
0
0
0
0
0
0.129496
278
14
51
19.857143
0.871901
0
0
0
0
0
0.021583
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
ae0a09234a53edf9bd9c4510e7c4b69310b6f09c
10,301
py
Python
db.py
AndeluPhan/PasswordManager
91e72125c37790e1998a5cb738ccd7572fb883f6
[ "MIT" ]
null
null
null
db.py
AndeluPhan/PasswordManager
91e72125c37790e1998a5cb738ccd7572fb883f6
[ "MIT" ]
null
null
null
db.py
AndeluPhan/PasswordManager
91e72125c37790e1998a5cb738ccd7572fb883f6
[ "MIT" ]
null
null
null
import psycopg2 import psycopg2.extras import time import datetime import re import hashlib import os from cryptography.fernet import Fernet def formatString(wordVal): wordVal = wordVal.lower() wordVal = wordVal.strip() return wordVal #to activate the virtual environment. cd in to Password_safe and type "...
42.920833
193
0.563732
1,183
10,301
4.87574
0.21978
0.018204
0.019764
0.011269
0.473994
0.455444
0.417822
0.411928
0.359743
0.342753
0
0.006741
0.323173
10,301
239
194
43.100418
0.820568
0.074265
0
0.487437
0
0.045226
0.313433
0.026382
0
0
0
0
0
1
0.005025
false
0.371859
0.040201
0
0.050251
0.145729
0
0
0
null
0
0
0
0
0
0
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
ae113d1039d052a6d7e61c7c84559b9e5041f159
375
py
Python
slote/char_rec.py
dguevel/slote
9d79370ef31bb1009fe7001d7f7c1df47a077c0b
[ "MIT" ]
null
null
null
slote/char_rec.py
dguevel/slote
9d79370ef31bb1009fe7001d7f7c1df47a077c0b
[ "MIT" ]
null
null
null
slote/char_rec.py
dguevel/slote
9d79370ef31bb1009fe7001d7f7c1df47a077c0b
[ "MIT" ]
1
2018-12-16T14:13:16.000Z
2018-12-16T14:13:16.000Z
import numpy as np from sklearn import svm class character: def __init__(self, raw_character): self.identity = None def recognize(characters, classifier): for char in characters: data = np.reshape(char.image_centered, np.prod(char.image_centered.shape)).reshape(1, -1) char.ide...
26.785714
97
0.698667
48
375
5.3125
0.625
0.070588
0.133333
0
0
0
0
0
0
0
0
0.00678
0.213333
375
13
98
28.846154
0.857627
0
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
ae11c17176e564c38ad0d825ab1941eba4d4f1aa
20,438
py
Python
icinga/plugins/jvm_health/parsegarbagelogs.py
samrocketman/drexel-university
c00805444c35400cd2483555a583d734573fb855
[ "MIT" ]
13
2015-01-01T17:53:58.000Z
2020-04-16T02:30:01.000Z
icinga/plugins/jvm_health/parsegarbagelogs.py
samrocketman/drexel-university
c00805444c35400cd2483555a583d734573fb855
[ "MIT" ]
1
2015-01-02T03:38:44.000Z
2015-01-02T03:39:25.000Z
icinga/plugins/jvm_health/parsegarbagelogs.py
samrocketman/drexel-university
c00805444c35400cd2483555a583d734573fb855
[ "MIT" ]
3
2017-11-12T23:16:29.000Z
2019-09-26T09:22:41.000Z
#!/usr/bin/env python #Author: Chris Holcombe import os.path import os sqlite_3 = 1; try: import sqlite3 sql = sqlite3; except ImportError: import sqlite sql = sqlite; sqlite_3 = 0; from cStringIO import StringIO import optparse import re import sys __author__ = "cjh66" __date__ = "$Jan 26, 2010...
36.62724
160
0.570163
2,579
20,438
4.334238
0.144242
0.049204
0.045625
0.030596
0.585972
0.549025
0.524244
0.496511
0.457506
0.452317
0
0.021784
0.317203
20,438
557
161
36.692998
0.779219
0.162296
0
0.592308
0
0.005128
0.101323
0.003565
0
0
0
0
0
0
null
null
0
0.023077
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
ae1e5a7deb64320bd23246ad1ba06d0d7f6f05e8
7,175
py
Python
income_expense_tracker/authentication/views.py
gokul-sarath07/Nymblelabs-Expence-Tracker
3af1a9c464173720fd16d158a102559b2b7d0668
[ "MIT" ]
null
null
null
income_expense_tracker/authentication/views.py
gokul-sarath07/Nymblelabs-Expence-Tracker
3af1a9c464173720fd16d158a102559b2b7d0668
[ "MIT" ]
null
null
null
income_expense_tracker/authentication/views.py
gokul-sarath07/Nymblelabs-Expence-Tracker
3af1a9c464173720fd16d158a102559b2b7d0668
[ "MIT" ]
null
null
null
from django.views import View from django.contrib import messages from django.contrib.auth import authenticate, login, logout from django.contrib.auth.mixins import LoginRequiredMixin from django.contrib.auth.models import User from django.shortcuts import render, redirect from django.http import JsonResponse from vali...
38.164894
79
0.602927
780
7,175
5.529487
0.203846
0.025968
0.030837
0.053559
0.446325
0.42453
0.314862
0.289821
0.185486
0.130304
0
0.0063
0.314146
7,175
187
80
38.368984
0.870148
0.310105
0
0.354839
0
0
0.158412
0.038454
0
0
0
0
0
1
0.086022
false
0.139785
0.096774
0
0.430108
0
0
0
0
null
0
0
0
0
0
0
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
ae2421a70404bf8c4d91c22e7103d7c3b00c1c84
6,477
py
Python
Covid India Stats App/app.py
avinashkranjan/PraticalPythonProjects
12c1f7cedae57a843ceb6aba68cca48df505f341
[ "MIT" ]
930
2020-09-05T22:07:28.000Z
2022-03-30T07:56:18.000Z
Covid India Stats App/app.py
maheshdbabar9340/Amazing-Python-Scripts
e2272048cbe49b4bda5072bbdd8479739bb6c18d
[ "MIT" ]
893
2020-09-04T07:57:24.000Z
2022-02-08T02:12:26.000Z
Covid India Stats App/app.py
maheshdbabar9340/Amazing-Python-Scripts
e2272048cbe49b4bda5072bbdd8479739bb6c18d
[ "MIT" ]
497
2020-09-05T08:16:24.000Z
2022-03-31T00:55:57.000Z
import json from flask import Flask, request import requests # Token that has to be generated from webhook page portal ACCESS_TOKEN = "random token" # Token that has to be added for verification with developer portal VERIFICATION_TOKEN = "abc" # Identifier payloads for initial button C19INDIA = "C19INDIA" app = Flask(_...
33.910995
120
0.476455
586
6,477
5.088737
0.337884
0.04829
0.055332
0.077129
0.313213
0.243461
0.21831
0.092555
0.092555
0.077129
0
0.008824
0.405126
6,477
190
121
34.089474
0.765118
0.070712
0
0.335484
1
0
0.221668
0
0
0
0
0
0
1
0.058065
false
0
0.019355
0
0.103226
0
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
ae2525aece29d9854cb051353006ef5bf5f5f69c
6,588
py
Python
redis_ako.py
mesh-umn/TF.AKO
ffbddbdd07eef25541646bf1ca423e72137ea756
[ "Apache-2.0" ]
11
2019-01-04T02:05:47.000Z
2022-01-02T03:25:54.000Z
redis_ako.py
mesh-umn/TF.AKO
ffbddbdd07eef25541646bf1ca423e72137ea756
[ "Apache-2.0" ]
null
null
null
redis_ako.py
mesh-umn/TF.AKO
ffbddbdd07eef25541646bf1ca423e72137ea756
[ "Apache-2.0" ]
5
2019-08-20T07:29:58.000Z
2020-06-30T18:06:52.000Z
import os import sys import time import numpy as np import tensorflow as tf from tflearn.data_utils import to_categorical from tflearn.datasets import cifar10 import redis_ako_config from redis_ako_cluster import build_cluster from redis_ako_model import build_model from redis_ako_queue import GradientExchange # App...
41.175
113
0.508804
719
6,588
4.431154
0.233658
0.040804
0.031387
0.062775
0.421218
0.291274
0.291274
0.291274
0.266792
0.266792
0
0.014838
0.375987
6,588
159
114
41.433962
0.760156
0.048725
0
0.365217
0
0.008696
0.102351
0.003838
0
0
0
0
0
0
null
null
0
0.095652
null
null
0.086957
0
0
0
null
0
0
0
0
0
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
ae331cddcad21a2383d3d4b06b5d3baf1f1f7651
1,403
py
Python
tests/test_auth.py
matrixorz/firefly
fb8082ccc525bf7b266960ae49fc0b15e522fd92
[ "MIT" ]
247
2015-04-13T05:58:10.000Z
2021-01-21T07:31:58.000Z
tests/test_auth.py
qiluosheng/firefly
fb8082ccc525bf7b266960ae49fc0b15e522fd92
[ "MIT" ]
57
2015-04-13T15:10:50.000Z
2016-04-08T09:15:27.000Z
tests/test_auth.py
qiluosheng/firefly
fb8082ccc525bf7b266960ae49fc0b15e522fd92
[ "MIT" ]
94
2015-04-12T06:03:30.000Z
2020-05-11T14:26:56.000Z
# coding=utf-8 from __future__ import absolute_import from flask import url_for from flask_login import current_user import pytest from firefly.models.user import User @pytest.mark.usefixtures('client_class') class TestAuth: def setup(self): self.username = 'foo' self.password = 'foobar' ...
26.471698
61
0.598717
159
1,403
5.132075
0.333333
0.036765
0.047794
0.095588
0.137255
0.058824
0
0
0
0
0
0.003036
0.295795
1,403
52
62
26.980769
0.822874
0.008553
0
0.093023
0
0
0.101512
0
0
0
0
0
0.116279
1
0.093023
false
0.139535
0.116279
0
0.232558
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ae3a936294714825605d21769a217867b106c64d
848
py
Python
sendemail.py
mesperrus/grailed-notifications
05c62303a584cd8e046564ba2d9ee8309d3d6c40
[ "MIT" ]
null
null
null
sendemail.py
mesperrus/grailed-notifications
05c62303a584cd8e046564ba2d9ee8309d3d6c40
[ "MIT" ]
null
null
null
sendemail.py
mesperrus/grailed-notifications
05c62303a584cd8e046564ba2d9ee8309d3d6c40
[ "MIT" ]
null
null
null
# login.txt should contain address on first line and app specific password on the second # # username@gmail.com # password123 def sendEmail(subject, message_): import smtplib from email.mime.multipart import MIMEMultipart from email.mime.text import MIMEText with open("login.txt") as f: login...
27.354839
88
0.6875
99
848
5.858586
0.535354
0.027586
0.044828
0
0
0
0
0
0
0
0
0.013294
0.201651
848
31
89
27.354839
0.843427
0.139151
0
0.090909
0
0
0.049587
0
0
0
0
0
0
1
0.045455
false
0.090909
0.136364
0
0.181818
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
ae4acc3be86fcf6ca5b4bf992b9e04c63aaa6ec0
897
py
Python
ppserver/__init__.py
ianthomasmccarthy/PixelPals
270e0d9e4e653be2f7183f0de80278a1f26c15c0
[ "MIT" ]
null
null
null
ppserver/__init__.py
ianthomasmccarthy/PixelPals
270e0d9e4e653be2f7183f0de80278a1f26c15c0
[ "MIT" ]
null
null
null
ppserver/__init__.py
ianthomasmccarthy/PixelPals
270e0d9e4e653be2f7183f0de80278a1f26c15c0
[ "MIT" ]
null
null
null
from flask import Flask from celery import Celery # Create App app = Flask(__name__) app.config.from_object('config.Config') # Create pp return from ppserver.pixel.models import PPFeedback pp = PPFeedback() # Create Celery object celery = Celery(app.name, broker=app.config['CELERY_BROKER_URL']) celery.conf.update(a...
27.181818
75
0.752508
118
897
5.610169
0.440678
0.054381
0.05136
0
0
0
0
0
0
0
0
0.014139
0.132664
897
32
76
28.03125
0.836761
0.073579
0
0
0
0.047619
0.151515
0.029091
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.047619
0
0
0
null
0
0
0
0
0
0
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
ae4e14ad97d056c820053c9c39c85da53df301ae
271
py
Python
metrics/utils.py
rickardomc/setvae
45c13a6dcb5379de6cf7ce12a94e879a62304386
[ "MIT" ]
45
2021-03-13T11:10:47.000Z
2022-03-30T03:49:29.000Z
metrics/utils.py
rickardomc/setvae
45c13a6dcb5379de6cf7ce12a94e879a62304386
[ "MIT" ]
4
2021-08-08T16:54:57.000Z
2022-01-24T01:41:36.000Z
metrics/utils.py
rickardomc/setvae
45c13a6dcb5379de6cf7ce12a94e879a62304386
[ "MIT" ]
8
2021-04-12T13:40:29.000Z
2022-01-10T21:12:07.000Z
import torch def unmask(x: torch.tensor, x_mask: torch.BoolTensor): # only applies for const-sized sets bsize = x.shape[0] n_points = (~x_mask).sum(-1)[0] assert ((~x_mask).sum(-1) == n_points).all() return x[~x_mask].reshape((bsize, n_points, -1))
27.1
54
0.638376
45
271
3.688889
0.555556
0.120482
0.096386
0.108434
0
0
0
0
0
0
0
0.022523
0.180812
271
9
55
30.111111
0.725225
0.121771
0
0
0
0
0
0
0
0
0
0
0.166667
1
0.166667
false
0
0.166667
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
ae527b0c6eff512c4926cb8943742d453001dfca
1,150
py
Python
eris/decorators/hook.py
xesxen/eris
8deb6092e79d48436dc2278bde66bd51041d12b2
[ "BSD-3-Clause" ]
1
2021-08-10T23:33:00.000Z
2021-08-10T23:33:00.000Z
eris/decorators/hook.py
xesxen/eris
8deb6092e79d48436dc2278bde66bd51041d12b2
[ "BSD-3-Clause" ]
3
2018-07-11T21:30:04.000Z
2021-08-08T15:49:47.000Z
eris/decorators/hook.py
xesxen/eris
8deb6092e79d48436dc2278bde66bd51041d12b2
[ "BSD-3-Clause" ]
1
2021-08-07T19:26:58.000Z
2021-08-07T19:26:58.000Z
""" Hook decorator. """ import logging from eris.decorators import BaseDecorator from eris.events.hooks import Hook as EventHook LOGGER = logging.getLogger(__name__) class Hook(BaseDecorator): """ Hook decorator, used for more easily setting up handlers for messages. """ hook: EventHook = None def __...
32.857143
108
0.673043
150
1,150
5.026667
0.486667
0.068966
0
0
0
0
0
0
0
0
0
0
0.236522
1,150
34
109
33.823529
0.85877
0.388696
0
0
0
0
0.012461
0
0
0
0
0
0
1
0.133333
false
0
0.2
0
0.533333
0
0
0
0
null
0
0
0
0
0
0
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
ae54b3d52eaef4870ae7c7425c5e242e361ab3b3
306
py
Python
sub2/db_init.py
myccpb08/AI_2nd_Pos_Neg
31cd77ea4189173ef3bea9b517278a13b6050721
[ "Apache-2.0" ]
null
null
null
sub2/db_init.py
myccpb08/AI_2nd_Pos_Neg
31cd77ea4189173ef3bea9b517278a13b6050721
[ "Apache-2.0" ]
null
null
null
sub2/db_init.py
myccpb08/AI_2nd_Pos_Neg
31cd77ea4189173ef3bea9b517278a13b6050721
[ "Apache-2.0" ]
null
null
null
import sqlite3 conn = sqlite3.connect('app.db') c = conn.cursor() c.execute('''CREATE TABLE search_history (created_datetime TIMESTAMP DEFAULT CURRENT_TIMESTAMP, id INTEGER PRIMARY KEY, question text, answer INTEGER)''') conn.commit() conn.close()
21.857143
67
0.627451
34
306
5.558824
0.794118
0
0
0
0
0
0
0
0
0
0
0.008969
0.271242
306
13
68
23.538462
0.838565
0
0
0
0
0
0.647059
0
0
0
0
0
0
1
0
false
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
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae6009b167fd393e57de6c2112d7119796ec36c1
3,197
py
Python
propose_list.py
mongo-tools/text-similarity
3673d5ab816df2518c6784f9e96fe6f18c2175dc
[ "MIT" ]
3
2015-11-21T02:46:46.000Z
2022-03-30T11:10:43.000Z
propose_list.py
mongo-tools/text-similarity
3673d5ab816df2518c6784f9e96fe6f18c2175dc
[ "MIT" ]
2
2018-04-18T13:20:03.000Z
2018-04-18T13:24:43.000Z
propose_list.py
mongo-tools/text-similarity
3673d5ab816df2518c6784f9e96fe6f18c2175dc
[ "MIT" ]
null
null
null
''' Program works for current directory just be sure to have .txt data there and to output results to a file or somewhere ''' import os import codecs import numpy as np import itertools import glob import sys from sklearn.feature_extraction.text import TfidfVectorizer def allglob(args): return ...
30.447619
96
0.595246
430
3,197
4.355814
0.409302
0.048051
0.041111
0.03417
0.107848
0.023492
0
0
0
0
0
0.010297
0.210197
3,197
104
97
30.740385
0.731485
0.274007
0
0.037736
0
0
0.146959
0
0
0
0
0
0
0
null
null
0
0.132075
null
null
0.245283
0
0
0
null
0
0
0
0
0
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
ae70290f709320b51ce7a017cac7e79cca98e35b
529
py
Python
setup.py
leeshangqian/pytransmute
57a7baaf0569e9ada783be8c034ff8c4549e7229
[ "Apache-2.0" ]
1
2021-03-30T15:57:33.000Z
2021-03-30T15:57:33.000Z
setup.py
leeshangqian/pytransmute
57a7baaf0569e9ada783be8c034ff8c4549e7229
[ "Apache-2.0" ]
null
null
null
setup.py
leeshangqian/pytransmute
57a7baaf0569e9ada783be8c034ff8c4549e7229
[ "Apache-2.0" ]
null
null
null
from setuptools import setup setup( name='pytransmute', version='0.1.0', packages=['pytransmute', 'pytransmute.plugin'], package_data={"pytransmute": ["py.typed"]}, url='https://github.com/leeshangqian/pytransmute', license='Apache-2.0 License', author='Lee Shangqian', author_email='me@...
29.388889
103
0.589792
66
529
4.666667
0.666667
0.012987
0
0
0
0
0
0
0
0
0
0.052392
0.170132
529
17
104
31.117647
0.649203
0
0
0
0
0.0625
0.493384
0
0
0
0
0
0
1
0
true
0
0.0625
0
0.0625
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
ae7a8ab481dc7af43652cc2750352c0f322f5c1d
549
py
Python
Element_Analytics/apps/upload/migrations/0005_auto_20180430_2348.py
drproduck/Element-Analytics
aa1a77578e6401b4e82ce9fe9072c796496d878d
[ "MIT" ]
1
2019-12-09T09:43:30.000Z
2019-12-09T09:43:30.000Z
Element_Analytics/apps/upload/migrations/0005_auto_20180430_2348.py
drproduck/Element-Analytics
aa1a77578e6401b4e82ce9fe9072c796496d878d
[ "MIT" ]
37
2018-02-04T04:41:46.000Z
2018-04-29T20:39:09.000Z
Element_Analytics/apps/upload/migrations/0005_auto_20180430_2348.py
drproduck/Element-Analytics
aa1a77578e6401b4e82ce9fe9072c796496d878d
[ "MIT" ]
null
null
null
# Generated by Django 2.0.2 on 2018-05-01 06:48 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('upload', '0004_auto_20180430_2344'), ] operations = [ migrations.RemoveField( model_name='logfile', name='id', ...
23.869565
111
0.593807
59
549
5.389831
0.745763
0.056604
0.100629
0.125786
0
0
0
0
0
0
0
0.087179
0.289617
549
22
112
24.954545
0.728205
0.081967
0
0.25
1
0
0.105578
0.045817
0
0
0
0
0
1
0
false
0
0.0625
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae7e512ef552f46930c42ae9bbaa3ded93137f23
5,021
py
Python
offer_coupon_voucher/admin.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
offer_coupon_voucher/admin.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
offer_coupon_voucher/admin.py
Parveen3300/Reans
6dfce046b01099284a8c945a04600ed83e5099a4
[ "Apache-2.0" ]
null
null
null
from django.contrib import admin from datetime import datetime from .models import Offer, VoucherSetConfiguration, Voucher, VoucherApplication # Register your models here. def make_active_data(modeladmin, request, queryset): """ make_active_data: activate the data from admin side. """ queryset.upd...
22.515695
79
0.597491
548
5,021
5.242701
0.178832
0.041768
0.043857
0.050122
0.735816
0.696136
0.633136
0.633136
0.608075
0.556213
0
0.00144
0.308305
5,021
222
80
22.617117
0.825799
0.197769
0
0.739496
0
0
0.153931
0.012095
0
0
0
0
0
1
0.092437
false
0
0.02521
0
0.344538
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
ae865315335417036cd622ac0f787023b23a9d10
337
py
Python
lwt/__init__.py
port-zero/lwt
b6f62b6ffe81bad3e06959c48b412b6baf4e0c36
[ "MIT" ]
3
2017-02-25T17:55:32.000Z
2020-03-09T09:06:10.000Z
lwt/__init__.py
port-zero/lwt
b6f62b6ffe81bad3e06959c48b412b6baf4e0c36
[ "MIT" ]
1
2016-12-28T16:50:40.000Z
2016-12-28T19:07:12.000Z
lwt/__init__.py
port-zero/lwt
b6f62b6ffe81bad3e06959c48b412b6baf4e0c36
[ "MIT" ]
null
null
null
import time from lwt.args import parse_args from lwt.processes import filter_processes from lwt.report import report def run(): args = parse_args() while True: offending = filter_processes(args) report(offending) if not args.monitor: return time.sleep(ar...
17.736842
42
0.652819
42
337
5.119048
0.452381
0.097674
0
0
0
0
0
0
0
0
0
0
0.284866
337
18
43
18.722222
0.892116
0
0
0
0
0
0
0
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
ae87b88132cb638aaa0ad707664474e1b2e2ecee
13,781
py
Python
get_reco.py
Tintri/http_python
55f7765897f3ce604d06ca60d649cbfb92673ce9
[ "MIT" ]
6
2015-02-19T20:08:14.000Z
2018-01-17T20:55:12.000Z
get_reco.py
Tintri/http_python
55f7765897f3ce604d06ca60d649cbfb92673ce9
[ "MIT" ]
8
2018-01-23T23:58:37.000Z
2020-04-25T20:36:20.000Z
get_reco.py
Tintri/http_python
55f7765897f3ce604d06ca60d649cbfb92673ce9
[ "MIT" ]
4
2015-09-09T01:09:09.000Z
2019-03-01T06:14:57.000Z
#!/usr/bin/python # -*- coding: utf-8 -*- # # The MIT License (MIT) # # Copyright (c) 2015 Tintri, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including withou...
31.900463
120
0.650824
1,785
13,781
4.845938
0.207843
0.020809
0.008324
0.009827
0.170173
0.111445
0.088555
0.080925
0.057572
0.053757
0
0.004929
0.234453
13,781
431
121
31.974478
0.814976
0.151368
0
0.127737
0
0.00365
0.217042
0.017301
0
0
0
0
0
0
null
null
0.010949
0.025547
null
null
0.124088
0
0
0
null
0
0
0
0
0
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
ae8a726f92f0ed0be4ed50cf44e947efaae183be
14,714
py
Python
kombu/tests/test_connection.py
public/kombu
8a882232098f82baabbae4cba0c0b9f5b456382e
[ "BSD-3-Clause" ]
null
null
null
kombu/tests/test_connection.py
public/kombu
8a882232098f82baabbae4cba0c0b9f5b456382e
[ "BSD-3-Clause" ]
null
null
null
kombu/tests/test_connection.py
public/kombu
8a882232098f82baabbae4cba0c0b9f5b456382e
[ "BSD-3-Clause" ]
null
null
null
from __future__ import absolute_import from __future__ import with_statement import pickle from nose import SkipTest from kombu import Connection, Consumer, Producer, parse_url from kombu.connection import Resource from .mocks import Transport from .utils import TestCase from .utils import Mock, skip_if_not_module ...
30.400826
78
0.604458
1,600
14,714
5.3625
0.141875
0.035082
0.017949
0.031002
0.477156
0.382051
0.355944
0.31993
0.292774
0.283916
0
0.016349
0.280821
14,714
483
79
30.463768
0.794462
0.006864
0
0.432432
0
0
0.058526
0.013485
0
0
0
0
0.224324
1
0.156757
false
0.064865
0.024324
0.010811
0.262162
0
0
0
0
null
0
0
0
0
0
0
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
ae91ceba1c8357d77a296a0b5de1ff9e58233b72
17,301
py
Python
namecom/result_models.py
CtheSky/namecom
16ad4a60a0d4b6d1fea2eed57674d5b020e272cf
[ "MIT" ]
3
2018-08-15T06:16:57.000Z
2020-12-28T07:34:42.000Z
namecom/result_models.py
CtheSky/namecom
16ad4a60a0d4b6d1fea2eed57674d5b020e272cf
[ "MIT" ]
1
2019-09-17T06:52:45.000Z
2019-09-18T07:24:58.000Z
namecom/result_models.py
CtheSky/namecom
16ad4a60a0d4b6d1fea2eed57674d5b020e272cf
[ "MIT" ]
null
null
null
""" namecom: result_models.py Defines response result models for the api. Tianhong Chu [https://github.com/CtheSky] License: MIT """ class RequestResult(object): """Base class for Response class. Attributes ---------- resp : http response from requests.Response status_code : int ...
25.29386
91
0.653315
1,697
17,301
6.467295
0.104302
0.032073
0.101868
0.113622
0.570387
0.56492
0.550251
0.478633
0.445011
0.439362
0
0
0.247327
17,301
683
92
25.330893
0.842804
0.48974
0
0.494565
0
0
0
0
0
0
0
0
0
1
0.211957
false
0
0
0
0.451087
0
0
0
0
null
0
0
0
0
0
0
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
ae97277c58f7543af67bbb8f31930d8ee94665c7
423
py
Python
1-50/Problem4.py
xiaoyougang/ProjectEulerSolution
8615ec921e2642e2472594753b892eeb97eafcdf
[ "Apache-2.0" ]
null
null
null
1-50/Problem4.py
xiaoyougang/ProjectEulerSolution
8615ec921e2642e2472594753b892eeb97eafcdf
[ "Apache-2.0" ]
null
null
null
1-50/Problem4.py
xiaoyougang/ProjectEulerSolution
8615ec921e2642e2472594753b892eeb97eafcdf
[ "Apache-2.0" ]
null
null
null
def reverse(n): reversed = 0 while n > 0: reversed = 10*reversed + n%10 n = n/10 return reversed def isPalindrome(n): return n == reverse(n) largestPalindrome = 0 a = 999 while a >= 100: b = 999 while b >= a: if a*b <= largestPalindrome: break if isPa...
19.227273
37
0.539007
57
423
4
0.315789
0.026316
0.166667
0
0
0
0
0
0
0
0
0.074074
0.361702
423
21
38
20.142857
0.77037
0
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
ae9909d972045bf197f711c87784d4cb90d6ee39
430
py
Python
slack_cache/slack_cache/apps/messages_app/scripts/_test_messages.py
learningdollars/slack-caching
8720deb8056d0c5200f65ff79cfe25d2302f00d8
[ "MIT" ]
null
null
null
slack_cache/slack_cache/apps/messages_app/scripts/_test_messages.py
learningdollars/slack-caching
8720deb8056d0c5200f65ff79cfe25d2302f00d8
[ "MIT" ]
5
2021-03-19T02:59:19.000Z
2021-06-10T19:21:36.000Z
slack_cache/slack_cache/apps/messages_app/scripts/_test_messages.py
learningdollars/slack-caching
8720deb8056d0c5200f65ff79cfe25d2302f00d8
[ "MIT" ]
null
null
null
#!/usr/bin/python import os import slack import json client = slack.WebClient(token=os.environ['SLACK_API_TOKEN']) print("channels_retrieve_test: \n" ) print(client.channels_list()) # still testing files to struct a correct model for it print("channel test:\n ") client.channels_history(channel='CQNUEAH2N') print("rep...
26.875
81
0.755814
60
430
5.283333
0.6
0.047319
0.063091
0.100946
0.15142
0
0
0
0
0
0
0.046997
0.109302
430
15
82
28.666667
0.780679
0.160465
0
0
0
0
0.304469
0.064246
0
0
0
0
0
1
0
false
0
0.3
0
0.3
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
ae9da2ef04de6211b9468759ff1574b37965bc6d
1,397
py
Python
tests/integration/cmor/_fixes/cmip5/test_cnrm_cm5.py
markelg/ESMValCore
b2f7ffc3232f174dd5ebc50ad20b4a02d3517c2c
[ "Apache-2.0" ]
26
2019-06-07T07:50:07.000Z
2022-03-22T21:04:01.000Z
tests/integration/cmor/_fixes/cmip5/test_cnrm_cm5.py
markelg/ESMValCore
b2f7ffc3232f174dd5ebc50ad20b4a02d3517c2c
[ "Apache-2.0" ]
1,370
2019-06-06T09:03:07.000Z
2022-03-31T04:37:20.000Z
tests/integration/cmor/_fixes/cmip5/test_cnrm_cm5.py
zklaus/ESMValCore
5656fb8b546eeb4d750a424de7ed56a237edfabb
[ "Apache-2.0" ]
26
2019-07-03T13:08:48.000Z
2022-03-02T16:08:47.000Z
"""Test CNRM-CM5 fixes.""" import unittest from cf_units import Unit from iris.cube import Cube from esmvalcore.cmor.fix import Fix from esmvalcore.cmor._fixes.cmip5.cnrm_cm5 import Msftmyz, Msftmyzba class TestMsftmyz(unittest.TestCase): """Test msftmyz fixes.""" def setUp(self): """Prepare tests."...
28.510204
68
0.597709
178
1,397
4.606742
0.219101
0.034146
0.053659
0.062195
0.585366
0.585366
0.585366
0.585366
0.585366
0.585366
0
0.017908
0.240515
1,397
48
69
29.104167
0.754948
0.105941
0
0.482759
0
0
0.058188
0
0
0
0
0
0.206897
1
0.206897
false
0
0.172414
0
0.448276
0
0
0
0
null
0
0
0
0
0
0
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
881ae5029912ebe8324fbe6c1b4084ff270b28d7
5,476
py
Python
cogs/common.py
Digbigpig/FinalFight
0b5e8b0864912209b372919cc0a5a984e13bdc61
[ "MIT" ]
null
null
null
cogs/common.py
Digbigpig/FinalFight
0b5e8b0864912209b372919cc0a5a984e13bdc61
[ "MIT" ]
null
null
null
cogs/common.py
Digbigpig/FinalFight
0b5e8b0864912209b372919cc0a5a984e13bdc61
[ "MIT" ]
null
null
null
import sys import traceback from discord.ext import commands import settings from cogs.utils import inserts, exceptions from cogs.utils import perms class Common: """ Common commands. """ # TODO: Move error handlers to handlers.py or something def __init__(self, bot): self.bot = bot ...
40.865672
118
0.690285
713
5,476
5.203366
0.213184
0.028302
0.042049
0.052561
0.636927
0.636927
0.587871
0.587871
0.579784
0.52938
0
0.000935
0.218773
5,476
133
119
41.172932
0.866293
0.018262
0
0.365854
0
0.02439
0.290863
0.027136
0
0
0
0.015038
0
1
0.02439
false
0.04878
0.073171
0
0.243902
0.04878
0
0
0
null
0
0
0
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
881c419f4bc1954a1d69d8cbd670c50c0e9cf142
2,765
py
Python
test.py
amifunny/tf-stitch
c35381294a37d73abb47ced2dc9e6cb92d21f5a8
[ "MIT" ]
8
2020-07-06T09:29:42.000Z
2020-07-12T22:53:14.000Z
test.py
amifunny/tf-stitch
c35381294a37d73abb47ced2dc9e6cb92d21f5a8
[ "MIT" ]
null
null
null
test.py
amifunny/tf-stitch
c35381294a37d73abb47ced2dc9e6cb92d21f5a8
[ "MIT" ]
null
null
null
# Subprocess to run CLI for package import subprocess import unittest import os MODULE = "python -m tf_stitch" MODULE_ARG = MODULE.split() # File to generate FILENAME = "output.py" class Test(unittest.TestCase): def execute_query( self, args, filename=FILENAME ): """ Execute command to generate stitched file ...
18.190789
64
0.674503
357
2,765
5.033613
0.288515
0.044519
0.041736
0.061213
0.380634
0.316082
0.286032
0.229271
0.229271
0.201447
0
0.00555
0.218083
2,765
151
65
18.311258
0.825624
0.266908
0
0.328125
1
0
0.097957
0
0
0
0
0
0.078125
1
0.109375
false
0
0.046875
0
0.234375
0
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
881d9d592c2c2f8c94c71ad001a911bf38d03354
1,722
py
Python
src/python/fsqio/pants/wiki/subsystems/confluence_subsystem.py
jglesner/fsqio
436dd3a7667fd23f638bf96bdcd9ec83266a2319
[ "Apache-2.0" ]
252
2016-01-08T23:12:13.000Z
2022-01-17T16:31:49.000Z
src/python/fsqio/pants/wiki/subsystems/confluence_subsystem.py
jglesner/fsqio
436dd3a7667fd23f638bf96bdcd9ec83266a2319
[ "Apache-2.0" ]
67
2016-01-13T17:34:12.000Z
2021-08-04T18:50:24.000Z
src/python/fsqio/pants/wiki/subsystems/confluence_subsystem.py
jglesner/fsqio
436dd3a7667fd23f638bf96bdcd9ec83266a2319
[ "Apache-2.0" ]
59
2016-03-25T20:49:03.000Z
2021-08-04T05:36:38.000Z
# coding=utf-8 # Copyright 2019 Foursquare Labs Inc. All Rights Reserved. from __future__ import absolute_import, division, print_function, unicode_literals import urllib from pants.subsystem.subsystem import Subsystem from pants.util.memo import memoized_property class ConfluenceSubsystem(Subsystem): options_sc...
30.75
113
0.708479
224
1,722
5.294643
0.446429
0.059022
0.020236
0.035413
0.086003
0
0
0
0
0
0
0.004295
0.188734
1,722
55
114
31.309091
0.844667
0.139954
0
0.142857
0
0.02381
0.195799
0
0
0
0
0.018182
0
1
0.095238
false
0
0.095238
0
0.309524
0.02381
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
1
882535a9129c4bdc352b41c70a5866393a78b882
1,971
py
Python
threespot/documentation/management/commands/build_docs.py
macfound/django-threespot
8bc6253bf0f73b8f9957ab51df8e3dcf4081bdd0
[ "Apache-2.0" ]
6
2015-10-29T17:07:07.000Z
2021-04-25T21:14:40.000Z
threespot/documentation/management/commands/build_docs.py
macfound/django-threespot
8bc6253bf0f73b8f9957ab51df8e3dcf4081bdd0
[ "Apache-2.0" ]
1
2018-11-05T20:47:45.000Z
2018-11-05T20:47:45.000Z
threespot/documentation/management/commands/build_docs.py
macfound/django-threespot
8bc6253bf0f73b8f9957ab51df8e3dcf4081bdd0
[ "Apache-2.0" ]
2
2015-01-13T04:59:00.000Z
2015-10-28T14:34:26.000Z
import subprocess from django.core.management.base import BaseCommand from threespot.documentation import app_settings class Command(BaseCommand): """ This Django management command allows you to publish the sphinx documentation for the project. It is run thusly: $>./manage.py buil...
32.311475
79
0.555048
219
1,971
4.86758
0.461187
0.051595
0.050657
0.061914
0.075047
0
0
0
0
0
0
0.002398
0.365297
1,971
60
80
32.85
0.84972
0.01725
0
0.055556
0
0
0.211901
0
0
0
0
0
0
0
null
null
0
0.083333
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
882a43023f7700275c86c82c274884ae8e2a98ca
546
gyp
Python
packager/third_party/libwebm/libwebm.gyp
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2016-07-26T04:05:06.000Z
2016-07-26T04:05:06.000Z
packager/third_party/libwebm/libwebm.gyp
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
packager/third_party/libwebm/libwebm.gyp
nevil/shaka-packager
a217cdce294b5162ae305a310b2e53e73c4d0481
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
# Copyright 2015 Google Inc. All rights reserved. # # Use of this source code is governed by a BSD-style # license that can be found in the LICENSE file or at # https://developers.google.com/open-source/licenses/bsd { 'includes': [ ], 'targets': [ { 'target_name': 'mkvmuxer', 'type': 'static_libr...
21.84
56
0.582418
64
546
4.9375
0.734375
0.056962
0
0
0
0
0
0
0
0
0
0.01
0.267399
546
24
57
22.75
0.78
0.375458
0
0.166667
0
0
0.492537
0
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1