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
42a762282aa80bb0d79aa3d0996adbe38bd0e3a6
12,858
py
Python
api/tests/test_kiveapi.py
dmacmillan/Kive
76bc8f289f66fb133f78cb6d5689568b7d015915
[ "BSD-3-Clause" ]
1
2021-12-22T06:10:01.000Z
2021-12-22T06:10:01.000Z
api/tests/test_kiveapi.py
dmacmillan/Kive
76bc8f289f66fb133f78cb6d5689568b7d015915
[ "BSD-3-Clause" ]
null
null
null
api/tests/test_kiveapi.py
dmacmillan/Kive
76bc8f289f66fb133f78cb6d5689568b7d015915
[ "BSD-3-Clause" ]
null
null
null
from io import StringIO import pytest from kiveapi import KiveAPI, KiveAuthException, KiveServerException, KiveMalformedDataException, KiveClientException # noinspection PyPackageRequirements from mock import patch, DEFAULT # noinspection PyPackageRequirements from requests import Session from kiveapi.dataset import ...
34.379679
116
0.658501
1,438
12,858
5.692629
0.109875
0.05827
0.155265
0.102126
0.768874
0.713413
0.680552
0.637308
0.619961
0.590032
0
0.015216
0.228185
12,858
373
117
34.47185
0.809653
0.120159
0
0.453782
0
0
0.198154
0.038335
0
0
0
0
0.159664
1
0.117647
false
0.004202
0.02521
0
0.142857
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
42a996d367de41fd4e8dd8258561f130857afbb3
2,721
py
Python
atst/domain/audit_log.py
philip-dds/atst
a227044ccf464dd0e3144dd74cecfafe8d6841b9
[ "MIT" ]
1
2020-01-16T16:15:52.000Z
2020-01-16T16:15:52.000Z
atst/domain/audit_log.py
philip-dds/atst
a227044ccf464dd0e3144dd74cecfafe8d6841b9
[ "MIT" ]
null
null
null
atst/domain/audit_log.py
philip-dds/atst
a227044ccf464dd0e3144dd74cecfafe8d6841b9
[ "MIT" ]
null
null
null
from atst.database import db from atst.domain.common import Query from atst.models.audit_event import AuditEvent class AuditEventQuery(Query): model = AuditEvent @classmethod def get_all(cls, pagination_opts): query = db.session.query(cls.model).order_by(cls.model.time_created.desc()) ret...
34.443038
86
0.683205
322
2,721
5.546584
0.189441
0.094065
0.066629
0.078387
0.479283
0.479283
0.389138
0.389138
0.366181
0.266517
0
0
0.232635
2,721
78
87
34.884615
0.855364
0.042999
0
0.306452
0
0
0
0
0
0
0
0.012821
0
1
0.16129
false
0
0.048387
0.096774
0.419355
0
0
0
0
null
0
0
0
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
42ab0d3e9fe1167a6b207cc41bf9db06c77a9928
1,408
py
Python
src/magplan/migrations/0008_auto_20210318_0108.py
f1nnix/magplan
1bda6b53c6e96129e6634bff786b3052d04b0cef
[ "Unlicense" ]
21
2018-12-14T09:08:11.000Z
2022-01-28T14:33:24.000Z
src/magplan/migrations/0008_auto_20210318_0108.py
f1nnix/magplan
1bda6b53c6e96129e6634bff786b3052d04b0cef
[ "Unlicense" ]
20
2019-01-11T20:40:01.000Z
2022-01-30T16:01:38.000Z
src/magplan/migrations/0008_auto_20210318_0108.py
f1nnix/magplan
1bda6b53c6e96129e6634bff786b3052d04b0cef
[ "Unlicense" ]
5
2019-02-08T01:21:51.000Z
2021-11-25T17:43:04.000Z
# Generated by Django 3.1.6 on 2021-03-17 22:08 import django.contrib.sites.managers from django.db import migrations, models import django.db.models.deletion import django.db.models.manager class Migration(migrations.Migration): dependencies = [ ('sites', '0002_alter_domain_unique'), ('magplan'...
32
109
0.590199
137
1,408
5.948905
0.386861
0.068712
0.103067
0.095706
0.527607
0.527607
0.527607
0.527607
0.527607
0.527607
0
0.036706
0.284091
1,408
43
110
32.744186
0.771825
0.03196
0
0.594595
1
0
0.113887
0.034533
0
0
0
0
0
1
0
false
0
0.108108
0
0.189189
0
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
42abd1f5d3876470a9c398d109d16da35937b460
868
py
Python
abundant_and_deficient_numbers (30nov2015)/main.py
jamtot/DailyChallenge
2cb073837620ad57f064f5befca77d4994abf091
[ "MIT" ]
null
null
null
abundant_and_deficient_numbers (30nov2015)/main.py
jamtot/DailyChallenge
2cb073837620ad57f064f5befca77d4994abf091
[ "MIT" ]
null
null
null
abundant_and_deficient_numbers (30nov2015)/main.py
jamtot/DailyChallenge
2cb073837620ad57f064f5befca77d4994abf091
[ "MIT" ]
null
null
null
input1 = """18 21 9""" input2 = """111 112 220 69 134 85""" input3 = """6 28""" def check_number(number): num_by_two = number*2 sum_of_divisors = 0 for i in xrange(1,number+1): if number%i == 0: sum_of_divisors+=i if (num_by_two > sum_of_divisors): deficiency = num_b...
19.727273
57
0.623272
126
868
3.992063
0.388889
0.059642
0.15507
0.065606
0.125249
0.125249
0
0
0
0
0
0.054602
0.261521
868
43
58
20.186047
0.730109
0
0
0
0
0
0.104839
0
0
0
0
0
0
0
null
null
0
0
null
null
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
42b03b2955d037f4c4ab5eca3f8400f5025bf6b5
3,993
py
Python
gateware/clk_align.py
matheos/linux-on-litex-vexriscv
00195086c844e1330d40bcc2abffe021e3bd0045
[ "BSD-2-Clause" ]
2
2020-04-15T19:34:23.000Z
2020-08-15T16:22:43.000Z
gateware/clk_align.py
matheos/linux-on-litex-vexriscv
00195086c844e1330d40bcc2abffe021e3bd0045
[ "BSD-2-Clause" ]
null
null
null
gateware/clk_align.py
matheos/linux-on-litex-vexriscv
00195086c844e1330d40bcc2abffe021e3bd0045
[ "BSD-2-Clause" ]
1
2020-04-28T18:37:06.000Z
2020-04-28T18:37:06.000Z
from math import ceil from functools import reduce from operator import add from migen import * from migen.genlib.cdc import MultiReg, PulseSynchronizer # Changes the phase of the transceiver RX clock to align the comma to # the LSBs of RXDATA, fixing the latency. # # This is implemented by repeatedly resetting the ...
34.128205
79
0.564237
475
3,993
4.564211
0.349474
0.015221
0.032288
0.026292
0.149908
0.118081
0.118081
0.042435
0.042435
0
0
0.029501
0.337841
3,993
117
80
34.128205
0.790469
0.221888
0
0.204545
0
0
0.037876
0
0
0
0
0
0
0
null
null
0
0.056818
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
42b1b9697e535399133a01c5dee7e9eaa0524717
509
py
Python
Python-For-Everyone-Horstmann/Chapter2-Programming-with-Numbers-and-Strings/P2.6.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
null
null
null
Python-For-Everyone-Horstmann/Chapter2-Programming-with-Numbers-and-Strings/P2.6.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
null
null
null
Python-For-Everyone-Horstmann/Chapter2-Programming-with-Numbers-and-Strings/P2.6.py
islayy/Books-solutions
5fe05deb4e9f65875284d8af43bd383bf9ae145b
[ "MIT" ]
1
2021-01-30T22:19:07.000Z
2021-01-30T22:19:07.000Z
# Write a program that prompts the user for a measurement in meters and then con­ # verts it to miles, feet, and inches. measurementMeters = float(input("Enter the measurement in meters: ")) measurementMiles = measurementMeters * 0.000621371192 measurementFeet = measurementMeters * 3.2808399 measurementInches = measu...
42.416667
81
0.777996
61
509
6.508197
0.606557
0.163728
0.13602
0
0
0
0
0
0
0
0
0.072398
0.131631
509
12
82
42.416667
0.823529
0.227898
0
0
0
0
0.278772
0
0
0
0
0
0
1
0
false
0
0
0
0
0.428571
0
0
0
null
0
0
0
0
0
0
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
35ed75ef91aaab7e84d31f1352372bc1208265f5
7,321
py
Python
src/lib/play.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
1
2018-11-16T09:41:31.000Z
2018-11-16T09:41:31.000Z
src/lib/play.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
15
2015-01-07T14:17:36.000Z
2019-04-29T13:26:43.000Z
src/lib/play.py
happz/settlers
961a6d2121ab6e89106f17017f026c60c77f16f9
[ "MIT" ]
null
null
null
__author__ = 'Milos Prchlik' __copyright__ = 'Copyright 2010 - 2012, Milos Prchlik' __contact__ = 'happz@happz.cz' __license__ = 'http://www.php-suit.com/dpl' import threading import hlib.api import hlib.database import hlib.error import h...
23.315287
82
0.626827
904
7,321
4.823009
0.178097
0.025688
0.022018
0.028899
0.394495
0.330275
0.209862
0.163761
0.139908
0.098624
0
0.012294
0.255566
7,321
313
83
23.389776
0.787706
0.031143
0
0.366516
0
0
0.085004
0.005931
0
0
0
0
0
1
0.144796
false
0.076923
0.031674
0.054299
0.371041
0
0
0
0
null
0
0
0
0
0
0
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
35eec2655e59c5094793c32875bd885c49e374c1
4,738
py
Python
result_service_gui/views/timing.py
abdulfahad66/result-service-gui
214342dd6d00f1173bfe90f8429c7d6c9947783b
[ "Apache-2.0" ]
null
null
null
result_service_gui/views/timing.py
abdulfahad66/result-service-gui
214342dd6d00f1173bfe90f8429c7d6c9947783b
[ "Apache-2.0" ]
null
null
null
result_service_gui/views/timing.py
abdulfahad66/result-service-gui
214342dd6d00f1173bfe90f8429c7d6c9947783b
[ "Apache-2.0" ]
null
null
null
"""Resource module for start resources.""" import logging import os from aiohttp import web import aiohttp_jinja2 from result_service_gui.services import ( RaceclassesAdapter, TimeEventsAdapter, ) from .utils import ( check_login, create_time_event, get_enchiced_startlist, get_event, get_r...
33.842857
111
0.554031
485
4,738
5.214433
0.265979
0.044286
0.02847
0.03361
0.145512
0.029261
0.029261
0.029261
0.029261
0
0
0.003531
0.34255
4,738
139
112
34.086331
0.808347
0.028493
0
0.207207
0
0
0.148182
0.024545
0
0
0
0
0
1
0
false
0.099099
0.054054
0
0.099099
0
0
0
0
null
0
0
0
0
0
0
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
35f1e40d36bb53a7a2342e1da434345322cd91e0
2,470
py
Python
src/Yowsup/Auth/auth.py
willyrgf/yowsup
938cf1f0d0aedf650be748dcc258a43b8c87a6b3
[ "MIT" ]
7
2015-05-26T09:28:52.000Z
2021-05-03T06:50:37.000Z
src/Yowsup/Auth/auth.py
willyrgf/yowsup
938cf1f0d0aedf650be748dcc258a43b8c87a6b3
[ "MIT" ]
null
null
null
src/Yowsup/Auth/auth.py
willyrgf/yowsup
938cf1f0d0aedf650be748dcc258a43b8c87a6b3
[ "MIT" ]
9
2015-01-02T00:01:01.000Z
2017-11-11T23:14:33.000Z
''' Copyright (c) <2012> Tarek Galal <tare2.galal@gmail.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, m...
31.666667
86
0.769231
324
2,470
5.845679
0.45679
0.046463
0.036431
0.031679
0
0
0
0
0
0
0
0.002403
0.15749
2,470
77
87
32.077922
0.907737
0.464372
0
0
0
0
0.033486
0
0
0
0
0
0
1
0.162162
false
0.108108
0.081081
0.027027
0.324324
0
0
0
0
null
0
0
0
0
0
0
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
35fc804af1fca1b5db1f70eda4fe14efc5104026
482
py
Python
p_teste/calculadora.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
p_teste/calculadora.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
p_teste/calculadora.py
gabriel-correia0408/Sala_Green_GabrielCorreia
1d22f466d372786c5f8c8eaba7202844b5f03445
[ "Apache-2.0" ]
null
null
null
#criando função de nome soma def soma(x,y): """ soma x e y >>> soma(20,20) 40 >>> soma(-10,50) 40 >>> soma('10',20) Traceback (most recent call last): ... AssertionError: x precisa ser int ou float """ assert isinstance(x,(int,float)), 'x precisa ser int ou float' a...
20.956522
68
0.591286
70
482
3.957143
0.5
0.108303
0.140794
0.162455
0.33935
0.267148
0.267148
0.267148
0
0
0
0.045455
0.26971
482
22
69
21.909091
0.741477
0.371369
0
0
0
0
0.235294
0
0
0
0
0
0.285714
1
0.142857
false
0
0.142857
0
0.428571
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c40175b44ad2c83b5f85dc650ddc85d3876c44e9
1,333
py
Python
harvestreaper/harvest/migrations/0001_initial.py
superfast-snail/harvest-reaper
db8a50cc639e8debcebf46e5992d89192bfcefb4
[ "MIT" ]
4
2019-07-12T04:51:26.000Z
2019-07-26T18:23:45.000Z
harvestreaper/harvest/migrations/0001_initial.py
superfast-snail/harvest-reaper
db8a50cc639e8debcebf46e5992d89192bfcefb4
[ "MIT" ]
11
2020-01-02T02:18:00.000Z
2022-01-13T02:07:23.000Z
harvestreaper/harvest/migrations/0001_initial.py
istrategylabs/harvest-reaper
d46abacd49d3f0c6d00f25b343cfb7b767a0c786
[ "MIT" ]
4
2020-01-02T02:15:51.000Z
2021-04-20T12:23:04.000Z
# Generated by Django 2.2.2 on 2019-06-18 18:03 from django.conf import settings from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ] ope...
40.393939
149
0.635409
145
1,333
5.675862
0.489655
0.09356
0.034022
0.053463
0.145808
0.080194
0
0
0
0
0
0.018812
0.242311
1,333
32
150
41.65625
0.79604
0.033758
0
0
1
0
0.238725
0
0
0
0
0
0
1
0
false
0
0.12
0
0.28
0
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
c403714fac902819efbc280030f8a0759fd836b1
7,507
py
Python
h5mapper/serve.py
ktonal/h5mapper
2037e0f1843b40ae9f2d6147cda36ad200db0de5
[ "MIT" ]
4
2021-08-17T18:15:29.000Z
2022-02-16T06:57:21.000Z
h5mapper/serve.py
ktonal/h5mapper
2037e0f1843b40ae9f2d6147cda36ad200db0de5
[ "MIT" ]
null
null
null
h5mapper/serve.py
ktonal/h5mapper
2037e0f1843b40ae9f2d6147cda36ad200db0de5
[ "MIT" ]
null
null
null
import dataclasses as dtc import librosa import numpy as np import torch from torch.utils.data import Dataset from typing import Optional, Callable, Union import re from torch._six import string_classes import collections __all__ = [ 'Setter', 'Getter', 'AsSlice', 'AsFramedSlice', 'GetId', 'I...
27.199275
113
0.613561
983
7,507
4.510682
0.236012
0.020298
0.014885
0.013532
0.181552
0.145241
0.083672
0.058638
0.058638
0.024808
0
0.005695
0.274943
7,507
276
114
27.199275
0.808929
0.224058
0
0.22973
0
0
0.021908
0
0
0
0
0
0
1
0.168919
false
0.013514
0.060811
0.060811
0.587838
0
0
0
0
null
0
0
0
0
0
0
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
c403dd63ea39ce682fece768f7345b4f1d08e053
4,223
py
Python
contentExtractor.py
renhaocui/adPlatform
dbabc5c8f461afac9227cc9ee378fad89b5698ea
[ "MIT" ]
1
2020-11-24T17:40:42.000Z
2020-11-24T17:40:42.000Z
contentExtractor.py
renhaocui/tweetInfluencer
dbabc5c8f461afac9227cc9ee378fad89b5698ea
[ "MIT" ]
null
null
null
contentExtractor.py
renhaocui/tweetInfluencer
dbabc5c8f461afac9227cc9ee378fad89b5698ea
[ "MIT" ]
null
null
null
import re __author__ = 'renhao.cui' import json import statistics as stat from tokenizer import simpleTokenize def shrinkPuncuation(input): input = re.sub('\.+', '.', input) input = re.sub(',+', ',', input) input = re.sub(' +', ' ', input) input = re.sub('=+', '=', input) input = re.sub('-+', '-',...
31.992424
101
0.560028
467
4,223
5.025696
0.231263
0.080954
0.061355
0.076694
0.210481
0.115467
0.078824
0.078824
0.078824
0.078824
0
0.015822
0.266635
4,223
132
102
31.992424
0.742008
0.09543
0
0.141509
0
0
0.125033
0.006304
0
0
0
0
0
0
null
null
0
0.037736
null
null
0.056604
0
0
0
null
0
0
0
0
0
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
c40ba33a0055803530fcc0983345f2def03e0bbd
9,700
py
Python
src/company_10k_classifier.py
aenon/company_10k_analysis
67762d4f6fbc03b36302e45c192dadcea16585ca
[ "BSD-2-Clause" ]
1
2019-07-01T03:26:46.000Z
2019-07-01T03:26:46.000Z
src/company_10k_classifier.py
aenon/company_10k_analysis
67762d4f6fbc03b36302e45c192dadcea16585ca
[ "BSD-2-Clause" ]
null
null
null
src/company_10k_classifier.py
aenon/company_10k_analysis
67762d4f6fbc03b36302e45c192dadcea16585ca
[ "BSD-2-Clause" ]
1
2020-06-01T07:01:19.000Z
2020-06-01T07:01:19.000Z
# -*- coding: utf-8 -*- """ Created on Mon Mar 07 22:45:13 2016 @author: Team 6 10-K Classifier """ #Importing required modules import os import re import pandas as pd import numpy as np from nltk.corpus import stopwords from sklearn.cross_validation import train_test_split from sklearn.feature_extractio...
39.754098
125
0.743402
1,336
9,700
5.226796
0.208832
0.022054
0.01833
0.031075
0.359874
0.283403
0.246456
0.213232
0.173421
0.166977
0
0.019303
0.150825
9,700
243
126
39.917695
0.828457
0.222165
0
0.084416
0
0.012987
0.095079
0.018821
0
0
0
0
0
0
null
null
0
0.136364
null
null
0.012987
0
0
0
null
0
0
0
0
0
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
c40c3813513b7a1fcb0fccc48c5fa004af590068
4,154
py
Python
backend/model/post_stats.py
chalvern/Icarus
6b745f739d0c5ad218a97a05cd1e00669a5b2297
[ "Zlib" ]
1
2019-02-19T08:59:13.000Z
2019-02-19T08:59:13.000Z
backend/model/post_stats.py
chalvern/Icarus
6b745f739d0c5ad218a97a05cd1e00669a5b2297
[ "Zlib" ]
null
null
null
backend/model/post_stats.py
chalvern/Icarus
6b745f739d0c5ad218a97a05cd1e00669a5b2297
[ "Zlib" ]
1
2018-12-21T11:46:51.000Z
2018-12-21T11:46:51.000Z
import time from peewee import * from playhouse.postgres_ext import ArrayField, BinaryJSONField from model import BaseModel, MyTimestampField from model.board import Board from model._post import POST_TYPES from model.topic import Topic from slim import json_ex_dumps class PostStats(BaseModel): id = BlobField(pri...
34.04918
85
0.719788
571
4,154
4.952715
0.190893
0.053748
0.127298
0.150283
0.477723
0.390028
0.298798
0.249293
0.196252
0.196252
0
0.007026
0.17766
4,154
121
86
34.330579
0.820843
0.176216
0
0.083333
0
0
0.030097
0
0
0
0
0
0
1
0.152778
false
0
0.111111
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
c40e4ed57b578ceec3d2429d5f4618a5c899cb00
3,395
py
Python
examples/load-alexnet.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
examples/load-alexnet.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
examples/load-alexnet.py
yinglanma/AI-project
db145c59f57f519177f3eedde14c3ce033b2a11d
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- # File: load-alexnet.py # Author: Yuxin Wu <ppwwyyxxc@gmail.com> import tensorflow as tf import numpy as np import os import argparse from tensorpack import * from tensorpack.tfutils.symbolic_functions import * from tensorpack.tfutils.summary import * from tensorpack.data...
37.722222
108
0.634757
478
3,395
4.391213
0.443515
0.011434
0.020962
0.012863
0.125774
0.125774
0.084802
0.060029
0.033349
0.033349
0
0.049924
0.227099
3,395
89
109
38.146067
0.75
0.113991
0
0
0
0
0.092619
0.009226
0
0
0
0
0.016129
0
null
null
0
0.145161
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
c410da7bc085cf228c66434f3fa5636a9d302701
301
py
Python
docs/components_page/components/carousel/indicators.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
776
2019-02-07T19:36:59.000Z
2022-03-31T05:53:04.000Z
docs/components_page/components/carousel/indicators.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
350
2019-02-05T10:42:19.000Z
2022-03-31T19:23:35.000Z
docs/components_page/components/carousel/indicators.py
glsdown/dash-bootstrap-components
0ebea4f7de43975f6e3a2958359c4480ae1d4927
[ "Apache-2.0" ]
219
2019-02-10T13:46:25.000Z
2022-03-23T17:03:39.000Z
import dash_bootstrap_components as dbc carousel = dbc.Carousel( items=[ {"key": "1", "src": "/static/images/slide1.svg"}, {"key": "2", "src": "/static/images/slide2.svg"}, {"key": "3", "src": "/static/images/slide3.svg"}, ], controls=True, indicators=True, )
25.083333
57
0.564784
35
301
4.8
0.628571
0.160714
0.267857
0
0
0
0
0
0
0
0
0.025424
0.215947
301
11
58
27.363636
0.686441
0
0
0
0
0
0.318937
0.249169
0
0
0
0
0
1
0
false
0
0.1
0
0.1
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
c41416314f9f5a72efa40420b84d65b0e57774fe
17,378
py
Python
sdk/python/pulumi_azure_native/cache/v20201201/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/cache/v20201201/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/cache/v20201201/outputs.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
35.107071
208
0.631431
1,927
17,378
5.483653
0.126103
0.019873
0.030756
0.044951
0.585975
0.51869
0.479606
0.444024
0.405318
0.377685
0
0.002441
0.269306
17,378
494
209
35.178138
0.829737
0.293302
0
0.426523
1
0.017921
0.180584
0.060909
0
0
0
0
0
1
0.172043
false
0
0.02509
0
0.351254
0
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
c416697f8565267425443f6317290b93b83d28e5
6,589
py
Python
iOS/BGXpress/bgxpress/Resources/firmware_files/test.py
Sense-Neuro/wireless-xpress
241dd57fbeafa1820c0020ee6cfc1a76448d3466
[ "Apache-2.0" ]
21
2019-01-09T04:19:30.000Z
2022-02-16T15:57:08.000Z
iOS/BGXpress/bgxpress/Resources/firmware_files/test.py
Sense-Neuro/wireless-xpress
241dd57fbeafa1820c0020ee6cfc1a76448d3466
[ "Apache-2.0" ]
null
null
null
iOS/BGXpress/bgxpress/Resources/firmware_files/test.py
Sense-Neuro/wireless-xpress
241dd57fbeafa1820c0020ee6cfc1a76448d3466
[ "Apache-2.0" ]
30
2018-11-08T03:07:27.000Z
2021-11-07T10:47:08.000Z
import json import os class bcolors: OKGREEN = '\033[92m' FAIL = '\033[91m' WARNING = '\033[93m' ENDC = '\033[0m' def print_failed(message: str): print(bcolors.FAIL + "Failed: [" + message + "]" + bcolors.ENDC) def print_passed(message: str): print(bcolors.OKGREEN + "Passed: [" + message + ...
30.50463
132
0.592351
820
6,589
4.595122
0.212195
0.041401
0.027866
0.025212
0.273089
0.176752
0.118365
0.096072
0.064225
0.053079
0
0.022771
0.286842
6,589
216
133
30.50463
0.779102
0.217939
0
0.314516
0
0
0.169996
0.015276
0
0
0
0
0
1
0.072581
false
0.112903
0.016129
0
0.129032
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
c41879584af19d6f501406b9f4029efe98918f29
1,417
py
Python
src/vigorish/models/scrape_error.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
2
2021-07-15T13:53:33.000Z
2021-07-25T17:03:29.000Z
src/vigorish/models/scrape_error.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
650
2019-05-18T07:00:12.000Z
2022-01-21T19:38:55.000Z
src/vigorish/models/scrape_error.py
a-luna/vigorish
6cede5ced76c7d2c9ad0aacdbd2b18c2f1ee4ee6
[ "MIT" ]
2
2020-03-28T21:01:31.000Z
2022-01-06T05:16:11.000Z
"""Errors encountered while executing scrape jobs.""" from datetime import timezone from sqlalchemy import Boolean, Column, DateTime, ForeignKey, Integer, String from sqlalchemy.ext.hybrid import hybrid_property from sqlalchemy.types import Enum import vigorish.database as db from vigorish.enums import DataSet from v...
33.738095
108
0.738179
191
1,417
5.188482
0.382199
0.060545
0.042381
0.062563
0.082745
0.082745
0
0
0
0
0
0
0.162315
1,417
41
109
34.560976
0.834878
0.067043
0
0
0
0.033333
0.122044
0.073989
0
0
0
0
0
1
0.133333
false
0
0.233333
0.1
0.766667
0
0
0
0
null
0
0
0
0
0
0
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
c419286b1a838de2029b5b1af53f5b36b661908b
435
py
Python
blog/main.py
thoeunsopheara/fastapi_crash_course
5442dcbc552b72d6588db73eb62290d607a641ba
[ "MIT" ]
null
null
null
blog/main.py
thoeunsopheara/fastapi_crash_course
5442dcbc552b72d6588db73eb62290d607a641ba
[ "MIT" ]
null
null
null
blog/main.py
thoeunsopheara/fastapi_crash_course
5442dcbc552b72d6588db73eb62290d607a641ba
[ "MIT" ]
null
null
null
from fastapi import FastAPI, Request from . import models from .database import engine from .routers import blog, user, authentication models.Base.metadata.create_all(engine) app = FastAPI() @app.get("/") async def serve_spa(request: Request): return templates.TemplateResponse("index.html", {"request": reque...
20.714286
73
0.77931
56
435
5.964286
0.5
0.08982
0.143713
0.137725
0
0
0
0
0
0
0
0
0.108046
435
20
74
21.75
0.860825
0
0
0
0
0
0.041475
0
0
0
0
0
0
1
0
false
0
0.333333
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
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
c41b4547d3b9db8b6ce857a2bf969960d710548f
492
py
Python
teacher/urls.py
bemygreenheart/Teacher_Website_Full
5c905f5528d1501aec468c1aae546a26b1952e3a
[ "MIT" ]
null
null
null
teacher/urls.py
bemygreenheart/Teacher_Website_Full
5c905f5528d1501aec468c1aae546a26b1952e3a
[ "MIT" ]
null
null
null
teacher/urls.py
bemygreenheart/Teacher_Website_Full
5c905f5528d1501aec468c1aae546a26b1952e3a
[ "MIT" ]
null
null
null
from django.conf import settings from django.conf.urls.static import static from django.contrib import admin from django.urls import path, include urlpatterns = [ path('admin/', admin.site.urls), path('_nested_admin/', include('nested_admin.urls')), path('', include('home.urls')), path('blog/', include...
30.75
81
0.70122
64
492
5.296875
0.375
0.117994
0.082596
0
0
0
0
0
0
0
0
0
0.140244
492
16
82
30.75
0.801418
0
0
0
0
0
0.150101
0
0
0
0
0
0
1
0
false
0
0.307692
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c41df451736f76d3071b0ab7ef7afdae45b928c2
1,681
py
Python
perturbations/experiments/ops.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-13T21:48:52.000Z
2022-03-13T21:48:52.000Z
perturbations/experiments/ops.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
null
null
null
perturbations/experiments/ops.py
gunpowder78/google-research
d41bbaca1eb9bfd980ec2b3fd201c3ddb4d1f2e5
[ "Apache-2.0" ]
1
2022-03-30T07:20:29.000Z
2022-03-30T07:20:29.000Z
# coding=utf-8 # Copyright 2022 The Google Research Authors. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicab...
32.326923
80
0.74301
253
1,681
4.893281
0.458498
0.028271
0.042003
0.070275
0.294023
0.278675
0.278675
0.213247
0.135703
0.088853
0
0.009777
0.148126
1,681
51
81
32.960784
0.854749
0.422963
0
0.26087
0
0
0.048472
0
0
0
0
0
0
1
0.173913
false
0
0.130435
0.173913
0.478261
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
c41eabdf3966ae722ba58c6e833b7d92a2f16a9c
1,003
py
Python
pkr/ext/component.py
splisson-altair/pkr
be2135a8eec96e8ede0d47536aaac9872cf60edd
[ "Apache-2.0" ]
null
null
null
pkr/ext/component.py
splisson-altair/pkr
be2135a8eec96e8ede0d47536aaac9872cf60edd
[ "Apache-2.0" ]
null
null
null
pkr/ext/component.py
splisson-altair/pkr
be2135a8eec96e8ede0d47536aaac9872cf60edd
[ "Apache-2.0" ]
null
null
null
# -*- coding: utf-8 -*- # Copyright© 1986-2018 Altair Engineering Inc. """Component extensions allows to use a generic env and pass its name when creating a Kard""" from __future__ import absolute_import from builtins import str import os from git import Repo from pkr.cli.log import write from . import ExtMixin ...
26.394737
93
0.652044
129
1,003
4.968992
0.527132
0.141966
0.049922
0.065523
0.124805
0.124805
0.124805
0.124805
0
0
0
0.022368
0.242273
1,003
37
94
27.108108
0.819737
0.317049
0
0.125
0
0
0.101749
0
0
0
0
0
0
1
0.125
false
0
0.375
0
0.5625
0
0
0
0
null
0
0
0
0
0
0
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
c42248254670be0ccca8f45da22e57853a501615
303
py
Python
modules/PersonView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
modules/PersonView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
modules/PersonView.py
TestowanieAutomatyczneUG/projekt-i-Rafal-Majewski
b618680844849a5e64a5daf56e8be80d4f4bd73e
[ "CC0-1.0" ]
null
null
null
from modules.Person import Person from abc import ABC class PersonView(ABC): def __init__(self, person: Person) -> None: if not isinstance(person, Person): raise TypeError("Person must be a Person object") self.__person = person @property def person(self) -> Person: return self.__person
21.642857
52
0.735974
42
303
5.119048
0.52381
0.186047
0.148837
0
0
0
0
0
0
0
0
0
0.171617
303
13
53
23.307692
0.856574
0
0
0
0
0
0.09901
0
0
0
0
0
0
1
0.2
false
0
0.2
0.1
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
c427c897adc92b1eb81c037a8f5bb4f8673f65fe
591
py
Python
Backend/config/urls.py
yaya-BL/Restaurants_self-order_app
c6ea560e41ecc2e7a667d518ec815a2c14c68e88
[ "MIT" ]
null
null
null
Backend/config/urls.py
yaya-BL/Restaurants_self-order_app
c6ea560e41ecc2e7a667d518ec815a2c14c68e88
[ "MIT" ]
15
2021-01-23T02:07:01.000Z
2021-02-01T04:54:01.000Z
Backend/config/urls.py
yaya-BL/Restaurants_self-order_app
c6ea560e41ecc2e7a667d518ec815a2c14c68e88
[ "MIT" ]
1
2021-01-11T06:15:49.000Z
2021-01-11T06:15:49.000Z
from django.contrib import admin from django.urls import path, include from rest_framework.routers import DefaultRouter from v1.shop.urls import router as shop_router urlpatterns = [ path('admin/', admin.site.urls), path('auth/', include('djoser.urls')), path('auth/', include('djoser.urls.jwt')), ] rout...
31.105263
79
0.774958
77
591
5.818182
0.415584
0.044643
0.053571
0.084821
0.120536
0.120536
0
0
0
0
0
0.001883
0.101523
591
19
80
31.105263
0.841808
0.260575
0
0
0
0
0.096552
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
c427e666cbd83d8aa6ad51d17bb92276d0bc7129
159
py
Python
FLOW013.py
varuuntiwari/codechef-practice-beginner
ca9246c6292eca5a689c3b9e720cc315d09ec9d0
[ "MIT" ]
null
null
null
FLOW013.py
varuuntiwari/codechef-practice-beginner
ca9246c6292eca5a689c3b9e720cc315d09ec9d0
[ "MIT" ]
null
null
null
FLOW013.py
varuuntiwari/codechef-practice-beginner
ca9246c6292eca5a689c3b9e720cc315d09ec9d0
[ "MIT" ]
null
null
null
n=int(input()) for i in range(n): a,b,c=[int(x) for x in input().split()] sum=a+b+c if sum==180: print("YES") else: print("NO")
19.875
43
0.484277
30
159
2.566667
0.633333
0.051948
0.077922
0
0
0
0
0
0
0
0
0.026786
0.295597
159
8
44
19.875
0.660714
0
0
0
0
0
0.03125
0
0
0
0
0
0
1
0
false
0
0
0
0
0.25
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c42bd1345b791a5a1c088d319443643269306444
486
py
Python
pype/plugins/hiero/publish/collect_remove_clip_instances.py
Yowza-Animation/pype
0212fa8357e6ffd490230193e69e101aaf262587
[ "MIT" ]
null
null
null
pype/plugins/hiero/publish/collect_remove_clip_instances.py
Yowza-Animation/pype
0212fa8357e6ffd490230193e69e101aaf262587
[ "MIT" ]
null
null
null
pype/plugins/hiero/publish/collect_remove_clip_instances.py
Yowza-Animation/pype
0212fa8357e6ffd490230193e69e101aaf262587
[ "MIT" ]
null
null
null
from pyblish import api class CollectClipSubsets(api.InstancePlugin): """Collect Subsets from selected Clips, Tags, Preset.""" order = api.CollectorOrder + 0.103 label = "Collect Remove Clip Instaces" hosts = ["hiero"] families = ['clip'] def process(self, instance): context = instanc...
27
83
0.660494
52
486
6.173077
0.692308
0.093458
0
0
0
0
0
0
0
0
0
0.010499
0.216049
486
17
84
28.588235
0.832021
0.160494
0
0
0
0
0.171642
0
0
0
0
0
0
1
0.1
false
0
0.1
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
0
0
0
0
0
1
0
0
1
c42ea1bf5921d3627f2957d4a470ab632231c786
504
py
Python
example_plot.py
cglesner/100-days-of-py
389f592b1845a78897daa1a6707620b3ed9db310
[ "MIT" ]
null
null
null
example_plot.py
cglesner/100-days-of-py
389f592b1845a78897daa1a6707620b3ed9db310
[ "MIT" ]
null
null
null
example_plot.py
cglesner/100-days-of-py
389f592b1845a78897daa1a6707620b3ed9db310
[ "MIT" ]
null
null
null
"""Generate example matplotlib plots of polynomials created using the func.Polynomial class.""" import matplotlib.pyplot as plt from func import Polynomial # Define an example polynomial and it's derivatives. f_x = Polynomial([(3, 1), (2, -2), (1, 1)]) # Define a set of x-values for the plot. num_points = 100 x_min ...
26.526316
76
0.720238
93
504
3.741935
0.494624
0.08046
0
0
0
0
0
0
0
0
0
0.025943
0.15873
504
19
77
26.526316
0.794811
0.357143
0
0
1
0
0.044025
0
0
0
0
0
0
1
0
false
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c4326fd862b4897c6e5332080ce689881bc62d11
35,802
py
Python
NetworkScanners/BwAuthority/aggregate.py
teor2345/torflow
704f1a8f178cc6d780d300beda3fe8a79431e70d
[ "BSD-3-Clause" ]
1
2019-01-08T17:14:31.000Z
2019-01-08T17:14:31.000Z
NetworkScanners/BwAuthority/aggregate.py
teor2345/torflow
704f1a8f178cc6d780d300beda3fe8a79431e70d
[ "BSD-3-Clause" ]
1
2019-01-02T23:13:38.000Z
2019-01-07T11:06:43.000Z
NetworkScanners/BwAuthority/aggregate.py
teor2345/torflow
704f1a8f178cc6d780d300beda3fe8a79431e70d
[ "BSD-3-Clause" ]
3
2019-01-02T22:56:57.000Z
2020-04-24T09:42:17.000Z
#!/usr/bin/env python import os import re import math import sys import socket import time import traceback sys.path.append("../../") from TorCtl.TorUtil import plog from TorCtl import TorCtl,TorUtil bw_files = [] nodes = {} prev_consensus = {} # Hack to kill voting on guards while the network rebalances IGNORE_GUAR...
39.735849
364
0.599575
5,567
35,802
3.659422
0.121609
0.038484
0.023856
0.014922
0.365993
0.315384
0.262664
0.228353
0.21019
0.190752
0
0.019069
0.267611
35,802
900
365
39.78
0.757866
0.147338
0
0.260745
0
0.001433
0.132765
0.020686
0
0
0.000658
0.001111
0
0
null
null
0.001433
0.012894
null
null
0.010029
0
0
0
null
0
0
0
0
0
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
c43767c6db70efcf8b6d1cf89263caeacd62d981
6,087
py
Python
test_date.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
null
null
null
test_date.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
null
null
null
test_date.py
jschmidtnj/CS115
fa2374f1ae9c9b63e572850a97af6086112d7a36
[ "MIT" ]
1
2022-01-03T01:44:39.000Z
2022-01-03T01:44:39.000Z
''' Created on Apr 17, 2015 Last modified on Apr 18, 2016 @author: Brian Borowski CS115 - Date Test Script ''' import unittest import sys import date from io import StringIO class Test(unittest.TestCase): def test01(self): d = date.Date(1, 13, 2000) d.tomorrow() self.assertEqual(str(d), ...
37.807453
113
0.563825
871
6,087
3.926521
0.143513
0.152047
0.089474
0.061404
0.729825
0.627193
0.566667
0.423684
0.360526
0.321345
0
0.187346
0.265155
6,087
160
114
38.04375
0.577241
0.032364
0
0.382353
0
0.029412
0.091481
0.055773
0
0
0
0
0.404412
1
0.073529
false
0
0.029412
0
0.110294
0
0
0
0
null
0
0
0
0
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
c43b2cf3888b047f8ec5aa2583db085b64d415e0
2,618
py
Python
tests/py/test_www_npm_package.py
kant/gratipay.com
b6603004750e05ae6dfd9d1d9802bf92c096184f
[ "MIT" ]
517
2015-01-03T08:38:28.000Z
2022-03-14T08:48:35.000Z
tests/py/test_www_npm_package.py
kant/gratipay.com
b6603004750e05ae6dfd9d1d9802bf92c096184f
[ "MIT" ]
1,864
2015-01-01T16:09:51.000Z
2018-02-05T17:01:14.000Z
tests/py/test_www_npm_package.py
kant/gratipay.com
b6603004750e05ae6dfd9d1d9802bf92c096184f
[ "MIT" ]
154
2015-01-05T04:43:40.000Z
2022-03-29T04:28:23.000Z
# -*- coding: utf-8 -*- from __future__ import absolute_import, division, print_function, unicode_literals from gratipay.models.package import NPM, Package from gratipay.testing import Harness class Tests(Harness): def setUp(self): self.make_package() def test_trailing_slash_redirects(self): ...
36.361111
88
0.663102
360
2,618
4.611111
0.266667
0.038554
0.046988
0.051205
0.538554
0.48253
0.419277
0.275904
0.275904
0.226506
0
0.004817
0.207028
2,618
71
89
36.873239
0.794798
0.008021
0
0.283019
0
0
0.166859
0
0
0
0
0
0.264151
1
0.207547
false
0
0.056604
0
0.320755
0.018868
0
0
0
null
0
0
0
0
0
0
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
c43f7f310a22d417022cb385cdd1b71e0a94f8e6
1,288
py
Python
gen_readme.py
dfm/untrendy
b6372fee2200386a4ed8907724da045f00c4570b
[ "MIT" ]
2
2016-03-17T21:21:53.000Z
2017-03-08T18:35:27.000Z
gen_readme.py
hpparvi/untrendy
b6372fee2200386a4ed8907724da045f00c4570b
[ "MIT" ]
1
2017-12-22T18:36:45.000Z
2017-12-22T18:36:45.000Z
gen_readme.py
hpparvi/untrendy
b6372fee2200386a4ed8907724da045f00c4570b
[ "MIT" ]
4
2017-03-08T18:35:29.000Z
2019-03-31T01:46:35.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- """ Automatically construct the README for untrendy by scraping the docstrings from the module. """ from __future__ import (division, print_function, absolute_import, unicode_literals) import inspect import textwrap import untrendy def get_func...
25.76
74
0.59705
165
1,288
4.448485
0.436364
0.047684
0.085831
0.032698
0.103542
0.103542
0.103542
0
0
0
0
0.011696
0.203416
1,288
49
75
26.285714
0.703704
0.032609
0
0
0
0
0.130245
0.020105
0
0
0
0
0
0
null
null
0
0.137931
null
null
0.034483
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
c444d527df3efb75967b037e46a962802584ce19
1,325
py
Python
src/python/WMCore/Algorithms/Singleton.py
tslazarova/WMCore
a09e2aefe700fb9b0d12b9f7089b21bde5a5bd62
[ "Apache-2.0" ]
1
2015-02-05T13:43:46.000Z
2015-02-05T13:43:46.000Z
src/python/WMCore/Algorithms/Singleton.py
tslazarova/WMCore
a09e2aefe700fb9b0d12b9f7089b21bde5a5bd62
[ "Apache-2.0" ]
1
2016-10-13T14:57:35.000Z
2016-10-13T14:57:35.000Z
src/python/WMCore/Algorithms/Singleton.py
juztas/WMCore
f7e830a573d50fb1d7240797f18d809f994b934d
[ "Apache-2.0" ]
null
null
null
#! /usr/bin/env python """ A singleton pattern implemented in python. Adapted from ActiveState Code Recipe 52558: The Singleton Pattern implemented with Python http://code.activestate.com/recipes/52558/ """ class Singleton(object): """ A python singleton """ class SingletonImplementation: ...
22.844828
72
0.615094
129
1,325
6.077519
0.488372
0.108418
0.068878
0.076531
0.091837
0
0
0
0
0
0
0.010846
0.304151
1,325
57
73
23.245614
0.839479
0.41434
0
0
0
0
0.031949
0
0
0
0
0
0
1
0.307692
false
0
0
0
0.769231
0
0
0
0
null
0
0
0
0
0
0
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
c44570ea92211d556da83536083e3eadb4b2db3a
271
py
Python
kitsune/wiki/urls_api.py
navgurukul-shivani18/kitsune
a7cf49ab1bfcf4e770938116968824b2b0fa5bb1
[ "BSD-3-Clause" ]
4
2021-05-17T11:38:08.000Z
2021-08-19T06:42:39.000Z
kitsune/wiki/urls_api.py
navgurukul-shivani18/kitsune
a7cf49ab1bfcf4e770938116968824b2b0fa5bb1
[ "BSD-3-Clause" ]
1
2021-03-26T00:26:44.000Z
2021-03-26T00:26:44.000Z
kitsune/wiki/urls_api.py
navgurukul-shivani18/kitsune
a7cf49ab1bfcf4e770938116968824b2b0fa5bb1
[ "BSD-3-Clause" ]
3
2020-06-14T06:59:46.000Z
2020-06-15T14:45:56.000Z
from django.conf.urls import patterns, url from kitsune.wiki import api # API urls urlpatterns = patterns( '', url(r'^$', api.DocumentList.as_view(), name='document-list'), url(r'^(?P<slug>[^/]+)$', api.DocumentDetail.as_view(), name='document-detail'), )
22.583333
84
0.656827
36
271
4.888889
0.611111
0.125
0.113636
0.204545
0
0
0
0
0
0
0
0
0.140221
271
11
85
24.636364
0.755365
0.02952
0
0
0
0
0.180077
0
0
0
0
0
0
1
0
false
0
0.285714
0
0.285714
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c447f5b7e3a4210b9373d790d02dccc07d2be630
582
py
Python
src/workflow/migrations/0006_auto_20171125_2052.py
japesone/ontask_b
17af441f9893c521d2e14011e7790ba4077e3318
[ "MIT" ]
3
2018-08-24T10:48:40.000Z
2020-05-29T06:33:23.000Z
src/workflow/migrations/0006_auto_20171125_2052.py
japesone/ontask_b
17af441f9893c521d2e14011e7790ba4077e3318
[ "MIT" ]
null
null
null
src/workflow/migrations/0006_auto_20171125_2052.py
japesone/ontask_b
17af441f9893c521d2e14011e7790ba4077e3318
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11.7 on 2017-11-25 09:52 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('workflow', '0005_auto_20171125_2049'), ] operation...
26.454545
145
0.66323
67
582
5.597015
0.671642
0.064
0.074667
0.117333
0
0
0
0
0
0
0
0.07221
0.214777
582
21
146
27.714286
0.748359
0.116838
0
0
1
0
0.135029
0.04501
0
0
0
0
0
1
0
false
0
0.214286
0
0.428571
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
c44f9ff5b4ed3ceae2d911c40efe31337193d2f2
424
py
Python
setup.py
renyangfan960902/STA663-Project-hLDA
a5d14702eb00a14cf1c4101c188408f0f8e0cace
[ "MIT" ]
null
null
null
setup.py
renyangfan960902/STA663-Project-hLDA
a5d14702eb00a14cf1c4101c188408f0f8e0cace
[ "MIT" ]
null
null
null
setup.py
renyangfan960902/STA663-Project-hLDA
a5d14702eb00a14cf1c4101c188408f0f8e0cace
[ "MIT" ]
1
2019-04-29T16:05:40.000Z
2019-04-29T16:05:40.000Z
from setuptools import setup setup(name='hierarchical_lda_ncrp', version='0.2', description='Hierarchical Topic models and the Nested Chinese Restaurant Process', url='https://github.com/renyangfan960902/STA663-Project-hLDA.git', author='Jiayi Ding, Yangfan Ren, Chudi Zhong', author_email...
32.615385
88
0.700472
52
424
5.596154
0.884615
0.103093
0.130584
0
0
0
0
0
0
0
0
0.037356
0.179245
424
12
89
35.333333
0.798851
0
0
0
0
0
0.527187
0.099291
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
c4521ed61015e5fe5e8d4558d0e8ab1f2b3be9c7
1,739
py
Python
code/datasets/classification/imagenet.py
wukailu/EDSR-PyTorch
5625cf83ce88050b68e649beb4155b32c38018fa
[ "MIT" ]
null
null
null
code/datasets/classification/imagenet.py
wukailu/EDSR-PyTorch
5625cf83ce88050b68e649beb4155b32c38018fa
[ "MIT" ]
null
null
null
code/datasets/classification/imagenet.py
wukailu/EDSR-PyTorch
5625cf83ce88050b68e649beb4155b32c38018fa
[ "MIT" ]
null
null
null
from torch.utils.data import Dataset from datasets.utils import FullDatasetBase from torchvision.datasets import ImageFolder from torchvision import transforms class ImageNet(FullDatasetBase): mean = (0.485, 0.456, 0.406) std = (0.229, 0.224, 0.225) img_shape = (3, 224, 224) num_classes = 1000 na...
35.489796
83
0.665325
184
1,739
6.076087
0.288043
0.120751
0.128801
0.067084
0.457961
0.457961
0.457961
0.457961
0.316637
0.316637
0
0.03346
0.243818
1,739
48
84
36.229167
0.81673
0
0
0.282051
0
0
0.053479
0.016676
0
0
0
0
0
1
0.153846
false
0
0.128205
0.076923
0.589744
0
0
0
0
null
0
0
0
0
0
0
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
c454dd54b967045832051ac4f7cb13b21828cd14
517
py
Python
setup.py
DPDmancul/termpdf.py
f697237e641d0b274b5e1503a99f912221a1ecea
[ "MIT" ]
216
2019-08-11T19:09:05.000Z
2022-03-31T09:23:41.000Z
setup.py
DPDmancul/termpdf.py
f697237e641d0b274b5e1503a99f912221a1ecea
[ "MIT" ]
27
2019-08-17T08:52:24.000Z
2022-03-28T18:35:27.000Z
setup.py
DPDmancul/termpdf.py
f697237e641d0b274b5e1503a99f912221a1ecea
[ "MIT" ]
19
2019-08-17T08:35:05.000Z
2022-03-28T15:02:17.000Z
#!/usr/bin/python3 from distutils.core import setup setup(name='termpdf.py', version='0.1.0', description='Graphical pdf reader that works inside the kitty terminal', author='David Sanson', author_email='dsanson@gmail.com', url='https://github.com/dsanson/termpdf.py', scripts=['ter...
23.5
78
0.537718
52
517
5.326923
0.826923
0.097473
0
0
0
0
0
0
0
0
0
0.011364
0.319149
517
21
79
24.619048
0.775568
0.032882
0
0
0
0
0.392786
0
0
0
0
0
0
1
0
true
0
0.055556
0
0.055556
0
0
0
0
null
0
0
0
0
0
0
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
c455c5491b928871ffa498246a8af242f0f77ef1
4,184
py
Python
tests/ut/python/communication/test_management_api.py
TommyLike/mindspore
401dabb786a9097d6dd84f391657d266b04e9a37
[ "Apache-2.0" ]
1
2020-05-23T07:08:46.000Z
2020-05-23T07:08:46.000Z
tests/ut/python/communication/test_management_api.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
7
2020-03-30T08:31:56.000Z
2020-04-01T09:54:39.000Z
tests/ut/python/communication/test_management_api.py
liyong126/mindspore
930a1fb0a8fa9432025442c4f4732058bb7af592
[ "Apache-2.0" ]
1
2020-03-30T17:07:43.000Z
2020-03-30T17:07:43.000Z
# Copyright 2020 Huawei Technologies Co., Ltd # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to...
33.206349
74
0.73566
685
4,184
4.207299
0.181022
0.072866
0.085704
0.118668
0.673144
0.638446
0.555864
0.511103
0.425399
0.287647
0
0.026256
0.162524
4,184
125
75
33.472
0.796233
0.149379
0
0.282353
0
0
0.016704
0
0
0
0
0
0.270588
1
0.235294
false
0
0.011765
0
0.270588
0.011765
0
0
0
null
0
0
0
0
0
0
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
c45630b4b521aedadab0526d9e997be8be3d5ca2
2,943
py
Python
cueadmin/cueadmin/util.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
2
2019-01-27T10:08:30.000Z
2019-01-27T10:08:32.000Z
cueadmin/cueadmin/util.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
null
null
null
cueadmin/cueadmin/util.py
writetoalex/TestOpenCue
e38df23f20b5f5be37b0f2a078e6a8dd2c562fc4
[ "Apache-2.0" ]
1
2019-01-27T12:54:26.000Z
2019-01-27T12:54:26.000Z
# Copyright (c) 2018 Sony Pictures Imageworks 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...
31.308511
81
0.640843
359
2,943
5.239554
0.473538
0.031898
0.013822
0.017012
0.023392
0.023392
0.023392
0
0
0
0
0.006601
0.279307
2,943
93
82
31.645161
0.880245
0.196058
0
0.130435
0
0
0.0818
0
0
0
0
0
0
0
null
null
0
0.086957
null
null
0.065217
0
0
0
null
0
0
0
0
0
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
c45738429805c0c6c173f904ec101d3ee8b858f2
1,212
py
Python
tensorflow_serving/model_servers/profiler_client.py
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
5,791
2016-02-16T17:50:06.000Z
2022-03-31T11:53:10.000Z
tensorflow_serving/model_servers/profiler_client.py
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
1,618
2016-02-16T18:04:00.000Z
2022-03-30T07:24:28.000Z
tensorflow_serving/model_servers/profiler_client.py
mzhang-code/serving
527c6f2173eba584ebdca4f8b11ae3c0550ab1a9
[ "Apache-2.0" ]
2,501
2016-02-16T19:57:43.000Z
2022-03-27T02:43:49.000Z
# Copyright 2020 Google Inc. All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or a...
34.628571
80
0.706271
173
1,212
4.797688
0.606936
0.072289
0.057831
0.038554
0
0
0
0
0
0
0
0.022417
0.153465
1,212
34
81
35.647059
0.78655
0.581683
0
0
0
0
0.053279
0
0
0
0
0
0
1
0.083333
false
0
0.416667
0
0.5
0.083333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
c459170b90653fafab4fc19e991cfa54bfc9428f
473
py
Python
02functions_iterators_generators_for/for.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
2
2022-02-18T09:03:07.000Z
2022-02-18T09:03:16.000Z
02functions_iterators_generators_for/for.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
null
null
null
02functions_iterators_generators_for/for.py
DrSloth/first_steps_in_python
36e56bfd4da89bc644d2adbc2ea5010a071f2c4c
[ "MIT" ]
null
null
null
# For loops are used ot iterate over all elements of an iterable # They use use the 'for variable in iterable' syntax for i in range(0, 3): # x is defined in the for loop and usable in this body of the for loop print(i) # prints 0, 1, 2 each on a new line for i in [10, "Hello", "World"]: # We call this it...
39.416667
74
0.69556
90
473
3.655556
0.588889
0.054711
0.036474
0.06079
0.085106
0
0
0
0
0
0
0.02521
0.245243
473
11
75
43
0.896359
0.767442
0
0.5
0
0
0.098039
0
0
0
0
0
0
1
0
false
0
0
0
0
0.5
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
c462a8c1d3a2ef05c6683db83d41c7106994fde7
652
py
Python
event/migrations/0002_alter_event_participant.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
event/migrations/0002_alter_event_participant.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
event/migrations/0002_alter_event_participant.py
funsojoba/davent
1d7c56e98f8feb319320293e6ba6bd7f6ee6e3c0
[ "MIT" ]
null
null
null
# Generated by Django 3.2.12 on 2022-02-20 21:01 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ migrations.swappable_dependency(settings.AUTH_USER_MODEL), ("event", "0001_initial"), ] operations = [ ...
25.076923
66
0.588957
63
652
5.952381
0.666667
0.053333
0.085333
0.112
0
0
0
0
0
0
0
0.044843
0.315951
652
25
67
26.08
0.795964
0.070552
0
0.105263
1
0
0.102649
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
c46a220c9d8e89536202709e4d136a8b5b19af8c
8,630
py
Python
rs.py
YannChemin/distRS
ee569ed0e95ad7f9360ebb0e664e9c6eacb3f12d
[ "Unlicense" ]
4
2016-12-17T09:34:40.000Z
2022-01-22T14:36:34.000Z
rs.py
YannChemin/distRS
ee569ed0e95ad7f9360ebb0e664e9c6eacb3f12d
[ "Unlicense" ]
null
null
null
rs.py
YannChemin/distRS
ee569ed0e95ad7f9360ebb0e664e9c6eacb3f12d
[ "Unlicense" ]
null
null
null
from math import * def rh(PW,Pa,Ta,dem): """ https://www.researchgate.net/publication/227247013_High-resolution_Surface_Relative_Humidity_Computation_Using_MODIS_Image_in_Peninsular_Malaysia/ PW <- MOD05_L2 product Pa <- MOD07 product Pa <- 1013.3-0.1038*dem Ta <- MOD07 product Ta <- -0.0065*dem+TaMOD07 (if dem...
31.727941
263
0.627694
1,324
8,630
4.080816
0.310423
0.025541
0.028873
0.031094
0.187859
0.152878
0.141588
0.141588
0.141588
0.12419
0
0.097201
0.229896
8,630
271
264
31.845018
0.715769
0
0
0.266667
0
0
0
0
0
0
0
0
0
0
null
null
0
0.008333
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
c4715f0e1a886a8cfee92663efe98c1fa3044334
5,174
py
Python
educore/migrations/0001_initial.py
LawrenceDarko/School-management-system
2ff4334c97b3103e7bc279b48b0109bbed61ac95
[ "MIT" ]
null
null
null
educore/migrations/0001_initial.py
LawrenceDarko/School-management-system
2ff4334c97b3103e7bc279b48b0109bbed61ac95
[ "MIT" ]
1
2021-02-26T21:26:08.000Z
2021-02-26T21:27:07.000Z
educore/migrations/0001_initial.py
LawrenceDarko/School-management-system
2ff4334c97b3103e7bc279b48b0109bbed61ac95
[ "MIT" ]
null
null
null
# Generated by Django 3.1.6 on 2021-02-18 10:25 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='AdmitNotice', fields=[ ('id', models.AutoFi...
44.222222
114
0.558949
488
5,174
5.75
0.182377
0.070563
0.083393
0.11119
0.753742
0.638632
0.615823
0.615823
0.57876
0.545973
0
0.01984
0.298608
5,174
116
115
44.603448
0.753376
0.008697
0
0.605505
1
0
0.112932
0
0
0
0
0
0
1
0
false
0
0.009174
0
0.045872
0
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
c472f24192b5d370f40bee4858ee739a18d624d1
833
py
Python
pythran/analyses/literals.py
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/analyses/literals.py
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
null
null
null
pythran/analyses/literals.py
artas360/pythran
66dad52d52be71693043e9a7d7578cfb9cb3d1da
[ "BSD-3-Clause" ]
1
2017-03-12T20:32:36.000Z
2017-03-12T20:32:36.000Z
""" Literals lists nodes that are only literals """ from pythran.passmanager import FunctionAnalysis import ast class Literals(FunctionAnalysis): """ Store variable that save only Literals (with no construction cost) """ def __init__(self): self.result = set() super(Literals, sel...
30.851852
79
0.645858
107
833
4.906542
0.607477
0.045714
0
0
0
0
0
0
0
0
0
0
0.272509
833
26
80
32.038462
0.866337
0.310924
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0.083333
0.166667
0
0.416667
0
0
0
0
null
0
0
0
0
0
0
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
c473efa25ec3d2fb6ccf78bb2669286eb34cf3cf
4,201
py
Python
data_loader.py
mohammadmahdinoori/Nowruz-at-SemEval-2022-Task-7
d87bf033c3798ff707ba25ddffde8c46abec8bd4
[ "MIT" ]
2
2022-03-20T02:03:53.000Z
2022-03-21T19:44:54.000Z
data_loader.py
mohammadmahdinoori/Nowruz-at-SemEval-2022-Task-7
d87bf033c3798ff707ba25ddffde8c46abec8bd4
[ "MIT" ]
null
null
null
data_loader.py
mohammadmahdinoori/Nowruz-at-SemEval-2022-Task-7
d87bf033c3798ff707ba25ddffde8c46abec8bd4
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """Loading Data.ipynb Automatically generated by Colaboratory. Original file is located at https://colab.research.google.com/drive/1CXQRx9Jfj4tmXZmu_DFiUzpPJqF1sdf3 """ import random import numpy as np import pandas as pd from datasets import Dataset """#Loading Data""" """A module for ...
32.820313
138
0.666508
527
4,201
5.172676
0.294118
0.017608
0.026412
0.036684
0.157007
0.120323
0.097579
0.097579
0.097579
0.060161
0
0.004947
0.230183
4,201
127
139
33.07874
0.837972
0.329445
0
0.033333
1
0.016667
0.169537
0.044776
0
0
0
0
0
1
0.083333
false
0
0.116667
0
0.283333
0
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
c480e3325e9d67a6c73ec2ea4987ddf25ed94be3
6,397
py
Python
uldaq-1.2.1/examples/tmr_pulse_out.py
Novellogiampiero/RapLib
614d25abf402052dcaf81aa72044e3a03cb014fa
[ "Apache-2.0" ]
null
null
null
uldaq-1.2.1/examples/tmr_pulse_out.py
Novellogiampiero/RapLib
614d25abf402052dcaf81aa72044e3a03cb014fa
[ "Apache-2.0" ]
null
null
null
uldaq-1.2.1/examples/tmr_pulse_out.py
Novellogiampiero/RapLib
614d25abf402052dcaf81aa72044e3a03cb014fa
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: UTF-8 -*- """ UL call demonstrated: TmrDevice.pulse_out_start() Purpose: Generate an output pulse using the specified timer Demonstration: Outputs user defined pulse on the ...
37.629412
80
0.594654
751
6,397
4.893475
0.280959
0.051429
0.02449
0.023129
0.102313
0.071837
0.043537
0.043537
0.023401
0
0
0.009467
0.322964
6,397
169
81
37.852071
0.839067
0.299046
0
0.15
1
0
0.140189
0.005626
0
0
0
0
0
1
0.02
false
0.02
0.05
0
0.07
0.23
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
c480f58756cc0d4ce8db482321229c221be39d98
35,023
py
Python
linear_model.py
asherbender/bayesian-linear-model
a121c3d9ab94abc490d3de8b13313a0d00723b37
[ "Apache-2.0" ]
4
2015-06-10T02:15:20.000Z
2019-06-19T01:19:29.000Z
linear_model.py
asherbender/bayesian-linear-model
a121c3d9ab94abc490d3de8b13313a0d00723b37
[ "Apache-2.0" ]
1
2018-11-06T15:56:34.000Z
2018-11-06T15:56:34.000Z
linear_model.py
asherbender/bayesian-linear-model
a121c3d9ab94abc490d3de8b13313a0d00723b37
[ "Apache-2.0" ]
3
2015-06-09T09:40:55.000Z
2020-07-27T21:14:48.000Z
""" .. sectionauthor:: Asher Bender <a.bender.dev@gmail.com> .. codeauthor:: Asher Bender <a.bender.dev@gmail.com> .. |bool| replace:: :class:`.bool` .. |callable| replace:: :func:`.callable` .. |False| replace:: :data:`.False` .. |float| replace:: :class:`.float` .. |int| replace:: :class:`.int` .. |ndarray| replace:...
37.022199
94
0.563544
4,445
35,023
4.316085
0.126659
0.009643
0.025176
0.016888
0.380401
0.309773
0.282617
0.257284
0.231431
0.193328
0
0.014814
0.327328
35,023
945
95
37.061376
0.799525
0.206921
0
0.264085
0
0.003521
0.104972
0
0
0
0
0
0
0
null
null
0.003521
0.014085
null
null
0.003521
0
0
0
null
0
0
0
0
0
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
c4827be4351666d4d6e2c36a8ef06f3fbb9f4744
2,659
py
Python
combinatorial_gwas/data_catalog.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/data_catalog.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
combinatorial_gwas/data_catalog.py
hoangthienan95/combinatorial_GWAS
c6d51f6214f96773b2a271c706ed7026152e0fbb
[ "Apache-2.0" ]
null
null
null
# AUTOGENERATED! DO NOT EDIT! File to edit: notebooks/package/catalog.ipynb (unless otherwise specified). __all__ = ['cd', 'change_cwd_dir', 'get_config', 'get_catalog', 'get_parameters', 'reload_catalog', 'reload', 'package_outer_folder'] # Cell from functools import wraps from contextlib import contextm...
31.282353
153
0.716435
340
2,659
5.373529
0.288235
0.034483
0.045977
0.057471
0.116037
0.106185
0.106185
0.065681
0.045977
0.045977
0
0.00045
0.163971
2,659
85
154
31.282353
0.821413
0.144039
0
0.054545
1
0
0.105472
0
0
0
0
0
0
1
0.163636
false
0
0.163636
0.036364
0.472727
0
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
6701064d21c4849bc9cd09fdc4da12d5cc5b6e81
1,816
py
Python
setup.py
misialq/q2-diversity
83c1b56fa85af9dfd519c0b40764bf1bf19a195f
[ "BSD-3-Clause" ]
null
null
null
setup.py
misialq/q2-diversity
83c1b56fa85af9dfd519c0b40764bf1bf19a195f
[ "BSD-3-Clause" ]
null
null
null
setup.py
misialq/q2-diversity
83c1b56fa85af9dfd519c0b40764bf1bf19a195f
[ "BSD-3-Clause" ]
null
null
null
# ---------------------------------------------------------------------------- # Copyright (c) 2016-2022, QIIME 2 development team. # # Distributed under the terms of the Modified BSD License. # # The full license is in the file LICENSE, distributed with this software. # ------------------------------------------------...
37.833333
78
0.522577
159
1,816
5.704403
0.503145
0.097023
0.099228
0.066152
0.070562
0
0
0
0
0
0
0.015504
0.289648
1,816
47
79
38.638298
0.687597
0.183921
0
0.054054
0
0
0.428765
0.297151
0
0
0
0
0
1
0
true
0
0.054054
0
0.054054
0
0
0
0
null
0
0
0
0
0
0
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
670153d47f6d0da377725767e20ee14255bbad72
1,156
py
Python
codes/first_checkpoint.py
mkunimoto/Transit-Search-and-Vetting
9c5ea221fac9a511e58a14c2ab5b5335675379dc
[ "BSD-3-Clause" ]
1
2020-04-26T08:49:44.000Z
2020-04-26T08:49:44.000Z
codes/first_checkpoint.py
mkunimoto/Transit-Search-and-Vetting
9c5ea221fac9a511e58a14c2ab5b5335675379dc
[ "BSD-3-Clause" ]
null
null
null
codes/first_checkpoint.py
mkunimoto/Transit-Search-and-Vetting
9c5ea221fac9a511e58a14c2ab5b5335675379dc
[ "BSD-3-Clause" ]
null
null
null
import sys import numpy as np data = np.loadtxt(sys.argv[1]) per = float(sys.argv[2]) epo = float(sys.argv[3]) dur = float(sys.argv[4]) time = data[:,0] flux = data[:,1] # Temporal time series v = flux - np.mean(flux) # Phased time series t0 = epo + 54900 - 0.5 phase = ((((time - t0)/per - 0.5) % 1.) - 0.5)*per # ...
21.407407
71
0.613322
207
1,156
3.376812
0.333333
0.017167
0.051502
0.060086
0.065808
0.065808
0
0
0
0
0
0.042026
0.197232
1,156
53
72
21.811321
0.711207
0.122837
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0.055556
null
null
0.027778
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
67047eaff77becfcb137a39864c52b7c2fbb7488
710
py
Python
func_tests/framework/utils/text_box_web_element.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
1
2015-11-02T09:11:12.000Z
2015-11-02T09:11:12.000Z
func_tests/framework/utils/text_box_web_element.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
func_tests/framework/utils/text_box_web_element.py
ICT4H/dcs-web
fb0f53fad4401cfac1c1789ff28b9d5bda40c975
[ "Apache-2.0" ]
null
null
null
# vim: ai ts=4 sts=4 et sw=4 encoding=utf-8 from selenium.common.exceptions import WebDriverException from selenium.webdriver.remote.webelement import WebElement class TextBox(WebElement): def __init__(self, textBoxWebElement): super(TextBox, self).__init__(textBoxWebElement.parent, textBoxWebEle...
30.869565
86
0.677465
74
710
6.337838
0.554054
0.149254
0
0
0
0
0
0
0
0
0
0.007463
0.24507
710
22
87
32.272727
0.867537
0.057746
0
0
0
0
0
0
0
0
0
0
0
1
0.1875
false
0.0625
0.125
0.0625
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
670a55a24ee80d62ca2b09aaa5c5097050b52acb
557
py
Python
news/migrations/0002_auto_20200225_1203.py
kremazar/Django
64a29d911f92a24cce84ba928860d94703c88c9e
[ "MIT" ]
null
null
null
news/migrations/0002_auto_20200225_1203.py
kremazar/Django
64a29d911f92a24cce84ba928860d94703c88c9e
[ "MIT" ]
null
null
null
news/migrations/0002_auto_20200225_1203.py
kremazar/Django
64a29d911f92a24cce84ba928860d94703c88c9e
[ "MIT" ]
null
null
null
# Generated by Django 2.1.15 on 2020-02-25 12:03 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('news', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='news', ...
23.208333
108
0.588869
61
557
5.311475
0.606557
0.074074
0.08642
0.135802
0
0
0
0
0
0
0
0.052764
0.285458
557
23
109
24.217391
0.761307
0.082585
0
0.117647
1
0
0.08055
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.294118
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
670afae4992dbee68e2f3b645df4f57e14c50393
2,607
py
Python
LibrairieWhisk/PythonWhiskCustom/python/qc_heuristic_analysis.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
4
2016-06-22T14:30:14.000Z
2021-05-15T18:24:58.000Z
LibrairieWhisk/PythonWhiskCustom/python/qc_heuristic_analysis.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
20
2015-09-28T14:43:59.000Z
2020-05-23T00:43:46.000Z
LibrairieWhisk/PythonWhiskCustom/python/qc_heuristic_analysis.py
JostTim/custom_libs
8f9e3f45c6f5f7e47b6582e072d09a8910efddd3
[ "MIT" ]
9
2015-10-12T22:31:39.000Z
2021-09-09T04:44:20.000Z
import traj from pylab import * def heuristic_precision(table): length,estn = table.est_length_threshold(); data = table.asarray() idx = find(data[:,3]>length); tp = sum(data[idx,0]>-1); #relevent intersect retrieved/retrieved return tp/float(len(idx)) def heuristic_recall(table): length,estn = t...
27.442105
89
0.656694
366
2,607
4.568306
0.349727
0.023923
0.026914
0.032297
0.141746
0.123804
0.077751
0.077751
0.077751
0.077751
0
0.079161
0.195627
2,607
94
90
27.734043
0.718169
0.03107
0
0.131148
0
0
0.01604
0
0
0
0
0
0
0
null
null
0.016393
0.065574
null
null
0.016393
0
0
0
null
0
0
0
0
0
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
670f01c0cf5d7c6943b6a5baea40f2e66983d62c
1,779
py
Python
apps/courses/migrations/0015_auto_20190303_0412.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
3
2020-03-16T02:49:59.000Z
2022-03-21T15:04:44.000Z
apps/courses/migrations/0015_auto_20190303_0412.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
1
2020-12-10T08:04:25.000Z
2020-12-10T08:04:25.000Z
apps/courses/migrations/0015_auto_20190303_0412.py
bopopescu/diandian_online
05eba122762c087623d42fad5352f6b67c73bcc5
[ "BSD-3-Clause" ]
2
2020-05-01T08:16:25.000Z
2020-07-21T00:12:06.000Z
# Generated by Django 2.1.7 on 2019-03-03 04:12 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): dependencies = [ ('courses', '0014_auto_20190303_0355'), ] operations = [ migrations.CreateModel( name='CourseCate...
37.0625
155
0.570545
173
1,779
5.682081
0.387283
0.123093
0.042726
0.067141
0.396745
0.374364
0.374364
0.299084
0.299084
0.299084
0
0.029295
0.290051
1,779
47
156
37.851064
0.74901
0.025295
0
0.390244
1
0
0.174942
0.025982
0
0
0
0
0
1
0
false
0
0.04878
0
0.121951
0
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
6712a76e97328a5484c6a4670b58526f9fa5e713
577
py
Python
1.集合.py
Muraru-taketa/100_knocks
d34c0157d15a0fda45ac60e41e93bd6b73cebb58
[ "MIT" ]
null
null
null
1.集合.py
Muraru-taketa/100_knocks
d34c0157d15a0fda45ac60e41e93bd6b73cebb58
[ "MIT" ]
null
null
null
1.集合.py
Muraru-taketa/100_knocks
d34c0157d15a0fda45ac60e41e93bd6b73cebb58
[ "MIT" ]
null
null
null
#集合.py def n_gram(txt, n): result = [] for i in range(0, len(txt) - n + 1): result.append(txt[i:i + n]) return result #足し算、掛け算、引き算 # 集合 set_x = set(n_gram('paraparaparadise', 2)) print('X:' + str(set_x)) set_y = set(n_gram('paragraph', 2)) print('Y:' + str(set_y)) # 和 set_wa = s...
18.612903
43
0.566724
104
577
2.942308
0.365385
0.078431
0.114379
0.104575
0.127451
0
0
0
0
0
0
0.00907
0.235702
577
31
44
18.612903
0.684807
0.064125
0
0
0
0
0.128968
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.117647
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
671967dd851ca35e82008ef9cbe89eacb167992a
6,840
py
Python
app_train.py
eddycyu/algo-trader
f955c427908c37c1fa8575351299bfdef13aa8bf
[ "MIT" ]
null
null
null
app_train.py
eddycyu/algo-trader
f955c427908c37c1fa8575351299bfdef13aa8bf
[ "MIT" ]
null
null
null
app_train.py
eddycyu/algo-trader
f955c427908c37c1fa8575351299bfdef13aa8bf
[ "MIT" ]
null
null
null
""" Train networks to generate models for prediction. https://machinelearningmastery.com/how-to-develop-lstm-models-for-time-series-forecasting/ https://towardsdatascience.com/choosing-the-right-hyperparameters-for-a-simple-lstm-using-keras-f8e9ed76f046 https://www.datacamp.com/community/tutorials/lstm-python-stock-ma...
36.774194
114
0.700877
978
6,840
4.717791
0.268916
0.029476
0.018205
0.024274
0.304941
0.285869
0.258127
0.225184
0.225184
0.181621
0
0.008878
0.193129
6,840
185
115
36.972973
0.827143
0.26886
0
0.078431
1
0.009804
0.141196
0.004285
0
0
0
0
0
1
0.039216
false
0
0.117647
0
0.176471
0
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
67233978dbde207712ede48cc40ed6be07189561
511
py
Python
authentication/migrations/0002_user_subscribers.py
AxelConceicao/youtube-django
f2cd6e9532343612ea5911f2ec80b9383bb41f40
[ "MIT" ]
1
2021-05-26T02:43:17.000Z
2021-05-26T02:43:17.000Z
authentication/migrations/0002_user_subscribers.py
AxelConceicao/youtube-django
f2cd6e9532343612ea5911f2ec80b9383bb41f40
[ "MIT" ]
null
null
null
authentication/migrations/0002_user_subscribers.py
AxelConceicao/youtube-django
f2cd6e9532343612ea5911f2ec80b9383bb41f40
[ "MIT" ]
null
null
null
# Generated by Django 3.1.5 on 2021-04-27 15:08 from django.conf import settings from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('authentication', '0001_initial'), ] operations = [ migrations.AddField( model_name='user', ...
25.55
145
0.657534
56
511
5.839286
0.714286
0.061162
0
0
0
0
0
0
0
0
0
0.048346
0.23092
511
19
146
26.894737
0.783715
0.088063
0
0
1
0
0.150862
0
0
0
0
0
0
1
0
false
0
0.153846
0
0.384615
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
672466b041ef3a441ec434804fcd549dee4908c3
7,024
py
Python
ml/pde/fd1d_heat_explicit_test01.py
vinutah/projects
e105ed9d9d6b4fd1784c97bcdd82c3f1f947cd06
[ "MIT" ]
1
2015-12-14T22:11:00.000Z
2015-12-14T22:11:00.000Z
ml/pde/fd1d_heat_explicit_test01.py
vinutah/projects
e105ed9d9d6b4fd1784c97bcdd82c3f1f947cd06
[ "MIT" ]
null
null
null
ml/pde/fd1d_heat_explicit_test01.py
vinutah/projects
e105ed9d9d6b4fd1784c97bcdd82c3f1f947cd06
[ "MIT" ]
null
null
null
#!/usr/bin/env python def fd1d_heat_explicit_test01(path,mode,weightsFile): """fd1d_heat_explicit_test01 does a simple test problem""" from fd1d_heat_explicit import fd1d_heat_explicit from fd1d_heat_explicit_cfl import fd1d_heat_explicit_cfl from r8mat_write import r8mat_write from r8vec_write import r8vec...
24.559441
103
0.568195
1,191
7,024
3.174643
0.15869
0.060302
0.088865
0.063475
0.444591
0.368421
0.326898
0.208146
0.166887
0.150225
0
0.058423
0.28844
7,024
285
104
24.645614
0.698079
0.191629
0
0.47191
0
0
0.163971
0.009559
0
0
0
0
0
0
null
null
0
0.067416
null
null
0.146067
0
0
0
null
0
0
0
0
0
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
6724bc83d06fd97e8a8845ab325d8bec5a4a4856
292
py
Python
riverrapp/social_auth_pipline.py
RomaneGreen/Rivify
999fcd0a1ee7c88b6846c8555fd4cb076ed7f8dd
[ "BSD-3-Clause" ]
1
2019-08-09T23:11:05.000Z
2019-08-09T23:11:05.000Z
riverrapp/social_auth_pipline.py
RomaneGreen/Rivify
999fcd0a1ee7c88b6846c8555fd4cb076ed7f8dd
[ "BSD-3-Clause" ]
2
2020-02-11T23:19:21.000Z
2020-06-05T19:18:09.000Z
riverrapp/social_auth_pipline.py
RomaneGreen/Rivify
999fcd0a1ee7c88b6846c8555fd4cb076ed7f8dd
[ "BSD-3-Clause" ]
null
null
null
from .models import Profile def save_profile(backend, user, response, *args, **kwargs): try: profile = Profile.objects.get(user_id=user.id) except Profile.DoesNotExist: profile = Profile(user_id=user.id) profile.avatar = 'img/favicons.png' profile.save()
29.2
59
0.674658
37
292
5.243243
0.567568
0.123711
0.103093
0.123711
0
0
0
0
0
0
0
0
0.205479
292
9
60
32.444444
0.836207
0
0
0
0
0
0.054795
0
0
0
0
0
0
1
0.125
false
0
0.125
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
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
6725c90a98995e79a0bb14d462d3bffe0f470d79
608
py
Python
pydest/dbase.py
jgayfer/destiny-py
24a2d5efc2caf5886d4a597b0c415a9c8cc14215
[ "MIT" ]
54
2017-09-06T17:33:22.000Z
2022-03-11T07:47:49.000Z
pydest/dbase.py
jgayfer/destiny-py
24a2d5efc2caf5886d4a597b0c415a9c8cc14215
[ "MIT" ]
18
2017-09-06T15:25:19.000Z
2022-03-03T03:27:52.000Z
pydest/dbase.py
jgayfer/destiny-py
24a2d5efc2caf5886d4a597b0c415a9c8cc14215
[ "MIT" ]
30
2017-09-05T19:45:38.000Z
2022-03-29T20:15:01.000Z
import sqlite3 class DBase: def __init__(self, db_file): self.conn = sqlite3.connect(db_file) self.cur = self.conn.cursor() def __enter__(self): return self def __exit__(self, exc_type, exc_val, exc_tb): if self.cur: self.cur.close() if self.conn: ...
20.965517
69
0.547697
71
608
4.422535
0.492958
0.111465
0.063694
0
0
0
0
0
0
0
0
0.004963
0.337171
608
28
70
21.714286
0.774194
0
0
0
0
0
0.126645
0
0
0
0
0
0
1
0.210526
false
0
0.052632
0.052632
0.421053
0
0
0
0
null
0
0
0
0
0
0
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
672870b633914bace5d5807a61a8f151195a39a3
3,643
py
Python
apps/khayyam/tasks.py
jtaghiyar/Single_cell_lims
0e43e0806bd5087b68fc5b1a6c3c995d062d8394
[ "MIT" ]
null
null
null
apps/khayyam/tasks.py
jtaghiyar/Single_cell_lims
0e43e0806bd5087b68fc5b1a6c3c995d062d8394
[ "MIT" ]
null
null
null
apps/khayyam/tasks.py
jtaghiyar/Single_cell_lims
0e43e0806bd5087b68fc5b1a6c3c995d062d8394
[ "MIT" ]
null
null
null
""" Created on Oct 28, 2016 @author: Jafar Taghiyar (jtaghiyar@bccrc.ca) """ from __future__ import absolute_import import os from random import randint import subprocess as sub #============================ # Django imports #---------------------------- from .models import Run, Workflow from .utils import Runner,...
27.186567
79
0.541312
438
3,643
4.385845
0.390411
0.040083
0.024987
0.024987
0.124935
0.115565
0.094742
0.094742
0.094742
0.094742
0
0.005482
0.298929
3,643
133
80
27.390977
0.746672
0.118309
0
0.181818
0
0
0.103669
0
0
0
0
0
0
0
null
null
0
0.102273
null
null
0.090909
0
0
0
null
0
0
0
0
0
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
672ccfd9f2b56faf4806e57ca8c0c4f09307073e
4,816
py
Python
io_scene_xray/xray_io.py
StalkMen/blender-xray
52dccad376ab19ad578275059162e5889715ec0d
[ "BSD-2-Clause" ]
1
2021-02-14T11:52:25.000Z
2021-02-14T11:52:25.000Z
io_scene_xray/xray_io.py
ed8rez/blender-xray
543ae9c40dc706216552d92b7f7b7c9d8da9dbf3
[ "BSD-2-Clause" ]
null
null
null
io_scene_xray/xray_io.py
ed8rez/blender-xray
543ae9c40dc706216552d92b7f7b7c9d8da9dbf3
[ "BSD-2-Clause" ]
1
2021-06-30T15:52:46.000Z
2021-06-30T15:52:46.000Z
import struct from .lzhuf import decompress_buffer ENCODE_ERROR = BaseException class FastBytes: @staticmethod def short_at(data, offs): return data[offs] | (data[offs + 1] << 8) @staticmethod def int_at(data, offs): return data[offs] | (data[offs + 1] << 8) | (data[offs + 2] << 16)...
26.755556
99
0.575166
589
4,816
4.434635
0.178268
0.082695
0.034456
0.036753
0.389357
0.334992
0.307044
0.248086
0.248086
0.248086
0
0.018401
0.311669
4,816
179
100
26.905028
0.769532
0
0
0.378571
0
0
0.026993
0
0
0
0.002699
0
0
1
0.214286
false
0
0.014286
0.057143
0.478571
0
0
0
0
null
0
0
0
0
0
0
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
672d316b451b25fe8d5f12c39ebe58c439b2bc8f
80,257
py
Python
Arbitrage_Future/Arbitrage_Future/test_bfx.py
benno0810/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
1
2021-03-25T01:01:15.000Z
2021-03-25T01:01:15.000Z
Arbitrage_Future/Arbitrage_Future/test_bfx.py
benno0810/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
null
null
null
Arbitrage_Future/Arbitrage_Future/test_bfx.py
benno0810/CryptoArbitrage
b4b7a12b7b11f3dcf950f9d2039dad4f1388530b
[ "MIT" ]
2
2021-05-07T09:11:54.000Z
2021-11-27T16:29:10.000Z
# !/usr/local/bin/python # -*- coding:utf-8 -*- import HuoBi import HuoBiBTC import OKCoin import YunBi import CNBTC import json import threading import Queue import time import logging import numpy import message import json import random import Bitfiniex open_platform = [True, True,True] numpy.set_printoptions(suppr...
41.073183
192
0.502087
8,649
80,257
4.438895
0.047173
0.017686
0.007658
0.018285
0.671051
0.62526
0.580538
0.554933
0.542118
0.524667
0
0.022002
0.390084
80,257
1,953
193
41.094214
0.762308
0.046837
0
0.644936
0
0.004075
0.076442
0.009837
0
0
0
0.000512
0
0
null
null
0.000582
0.011059
null
null
0.082654
0
0
0
null
0
0
0
0
0
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
672e1c7c2504b2c97c11a4e34f6ab36f1cf49691
4,734
py
Python
QA automation/Evaluation Site (REA)/FormsTest.py
anecula/old-forgotten-python-scripts
7d3eaa099f40d6212d725d65585405c7433f9d72
[ "MIT" ]
null
null
null
QA automation/Evaluation Site (REA)/FormsTest.py
anecula/old-forgotten-python-scripts
7d3eaa099f40d6212d725d65585405c7433f9d72
[ "MIT" ]
null
null
null
QA automation/Evaluation Site (REA)/FormsTest.py
anecula/old-forgotten-python-scripts
7d3eaa099f40d6212d725d65585405c7433f9d72
[ "MIT" ]
null
null
null
__author__ = 'dev25' # !/usr/bin/python #import webdriver from selenium import webdriver from selenium.webdriver.firefox.firefox_binary import FirefoxBinary from selenium.webdriver.common.by import By from selenium.webdriver.support.ui import Select from selenium.common.exceptions import NoSuchElementException, NoAlert...
38.803279
239
0.672581
693
4,734
4.398268
0.213564
0.031496
0.128281
0.143373
0.544291
0.524278
0.48294
0.48294
0.456693
0.456693
0
0.022009
0.184199
4,734
122
240
38.803279
0.767219
0.056612
0
0.318681
0
0.142857
0.250841
0.18247
0
0
0
0
0.010989
0
null
null
0
0.153846
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
672f856b98d48e441f33650e01727145ab07bf6d
4,467
py
Python
roles/calico/files/neutron_port_update.py
chrislovecnm/microservices-infrastructure
cf7358774ac7d4e3a9e78f4796ca7daee978e833
[ "Apache-2.0" ]
2
2015-10-02T18:50:37.000Z
2015-12-14T14:48:56.000Z
roles/calico/files/neutron_port_update.py
chrislovecnm/microservices-infrastructure
cf7358774ac7d4e3a9e78f4796ca7daee978e833
[ "Apache-2.0" ]
1
2021-03-26T00:01:39.000Z
2021-03-26T00:01:39.000Z
roles/calico/files/neutron_port_update.py
chrislovecnm/microservices-infrastructure
cf7358774ac7d4e3a9e78f4796ca7daee978e833
[ "Apache-2.0" ]
1
2015-07-21T16:43:03.000Z
2015-07-21T16:43:03.000Z
#!/usr/bin/env python # This script updates the allowed address pairs in Neutron with the # 'neutron port-update' command. This is required by Calico in OpenStack, # otherwise BGP will not be working. We query OpenStack API directly to prevent # installing any dependencies such as python-neutronclient. # # USAGE: scrip...
31.680851
94
0.591672
543
4,467
4.701657
0.259669
0.032902
0.027419
0.037211
0.220133
0.176263
0.156287
0.124559
0.124559
0.094007
0
0.011772
0.296396
4,467
140
95
31.907143
0.800509
0.169241
0
0.12766
0
0
0.18472
0.01146
0
0
0
0
0
1
0.06383
false
0.053191
0.042553
0
0.170213
0
0
0
0
null
0
0
0
0
0
0
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
67322310be67efbe1244ec5085cf843ead5201c4
361
py
Python
twoops_tracker/py/twoopstracker/twoops/migrations/0011_alter_tweetsearch_options.py
CodeForAfrica/api
c4c79225c27284052aced8dd0805108885766308
[ "MIT" ]
null
null
null
twoops_tracker/py/twoopstracker/twoops/migrations/0011_alter_tweetsearch_options.py
CodeForAfrica/api
c4c79225c27284052aced8dd0805108885766308
[ "MIT" ]
null
null
null
twoops_tracker/py/twoopstracker/twoops/migrations/0011_alter_tweetsearch_options.py
CodeForAfrica/api
c4c79225c27284052aced8dd0805108885766308
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-11-22 04:59 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ("twoops", "0010_tweetsearch"), ] operations = [ migrations.AlterModelOptions( name="tweetsearch", options={"verbose_name_plur...
20.055556
62
0.609418
36
361
6.027778
0.833333
0
0
0
0
0
0
0
0
0
0
0.072519
0.274238
361
17
63
21.235294
0.755725
0.124654
0
0
1
0
0.210191
0
0
0
0
0
0
1
0
false
0
0.090909
0
0.363636
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
6733b968677e82d19ba34459a76a70d58920c63c
1,505
py
Python
flearn/common/strategy/utils.py
wnma3mz/flearn
df3c837bb164ec81736a3a64aaa85f574e7f67fa
[ "Apache-2.0" ]
6
2021-11-11T15:09:28.000Z
2022-03-16T02:15:06.000Z
flearn/common/strategy/utils.py
wnma3mz/flearn
df3c837bb164ec81736a3a64aaa85f574e7f67fa
[ "Apache-2.0" ]
null
null
null
flearn/common/strategy/utils.py
wnma3mz/flearn
df3c837bb164ec81736a3a64aaa85f574e7f67fa
[ "Apache-2.0" ]
null
null
null
# coding: utf-8 import numpy as np import torch def convert_to_np(weights): for k, v in weights.items(): if isinstance(v, torch.Tensor): weights[k] = v.cpu().numpy() elif isinstance(v, np.ndarray): pass elif isinstance(v, list): weights[k] = np.array(v) ...
28.396226
69
0.61196
197
1,505
4.527919
0.319797
0.073991
0.067265
0.026906
0.423767
0.329596
0.269058
0.269058
0.269058
0.269058
0
0.001855
0.283721
1,505
52
70
28.942308
0.825603
0.152159
0
0.470588
0
0
0.038247
0
0
0
0
0
0
1
0.088235
false
0.058824
0.058824
0
0.235294
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
67345d714cc5870fd4a4125dd384dac3ab98445f
2,720
py
Python
genchess.py
pts/imgdataopt
3bc94634e06dc21093055ded22336a9b0bab44b9
[ "Zlib" ]
5
2018-07-10T09:00:12.000Z
2021-12-18T12:25:23.000Z
genchess.py
pts/imgdataopt
3bc94634e06dc21093055ded22336a9b0bab44b9
[ "Zlib" ]
3
2018-07-10T08:52:12.000Z
2021-03-19T08:44:42.000Z
genchess.py
pts/imgdataopt
3bc94634e06dc21093055ded22336a9b0bab44b9
[ "Zlib" ]
1
2018-07-10T09:01:08.000Z
2018-07-10T09:01:08.000Z
#! /usr/bin/python # by pts@fazekas.hu at Mon Nov 6 18:08:44 CET 2017 import struct import zlib def write_pgm(filename, img_data): f = open(filename, 'wb') try: f.write('P5 %d %d 255\n' % (len(img_data[0]), len(img_data))) for line in img_data: f.write(line.replace('\1', '\xff')) finally: f....
28.631579
76
0.581985
421
2,720
3.650831
0.35867
0.050098
0.026025
0.03123
0.113208
0.092388
0.092388
0
0
0
0
0.061886
0.251471
2,720
94
77
28.93617
0.693026
0.228309
0
0.151515
0
0
0.060183
0
0
0
0.002889
0.010638
0
1
0.075758
false
0
0.030303
0
0.121212
0
0
0
0
null
0
0
0
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
6735d4842bd028b1e76fa43d0e4e26ef4576b17b
2,288
py
Python
src/qt/qtwebkit/Tools/Scripts/webkitpy/tool/commands/applywatchlistlocal.py
viewdy/phantomjs
eddb0db1d253fd0c546060a4555554c8ee08c13c
[ "BSD-3-Clause" ]
6
2021-07-05T16:09:39.000Z
2022-03-06T22:44:42.000Z
src/qt/qtwebkit/Tools/Scripts/webkitpy/tool/commands/applywatchlistlocal.py
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
7
2022-03-15T13:25:39.000Z
2022-03-15T13:25:44.000Z
src/qt/qtwebkit/Tools/Scripts/webkitpy/tool/commands/applywatchlistlocal.py
mrampersad/phantomjs
dca6f77a36699eb4e1c46f7600cca618f01b0ac3
[ "BSD-3-Clause" ]
1
2017-03-19T13:03:23.000Z
2017-03-19T13:03:23.000Z
# Copyright (c) 2011 Google Inc. All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are # met: # # * Redistributions of source code must retain the above copyright # notice, this list of conditions and the ...
44.862745
94
0.73951
311
2,288
5.421222
0.533762
0.021352
0.020166
0.027284
0.14828
0.11981
0.080664
0.080664
0.080664
0.080664
0
0.003273
0.198864
2,288
50
95
45.76
0.91653
0.644231
0
0
0
0.052632
0.296438
0.026718
0
0
0
0
0
1
0.052632
false
0
0.105263
0
0.578947
0
0
0
0
null
0
0
0
0
0
0
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
6738176ea139c87a72435d5cb94e05acf14b5a7c
472
py
Python
corehq/apps/data_interfaces/migrations/0010_automaticupdaterule_workflow.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
471
2015-01-10T02:55:01.000Z
2022-03-29T18:07:18.000Z
corehq/apps/data_interfaces/migrations/0010_automaticupdaterule_workflow.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
14,354
2015-01-01T07:38:23.000Z
2022-03-31T20:55:14.000Z
corehq/apps/data_interfaces/migrations/0010_automaticupdaterule_workflow.py
dimagilg/commcare-hq
ea1786238eae556bb7f1cbd8d2460171af1b619c
[ "BSD-3-Clause" ]
175
2015-01-06T07:16:47.000Z
2022-03-29T13:27:01.000Z
# Generated by Django 1.10.7 on 2017-05-23 11:39 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('data_interfaces', '0009_scheduling_integration'), ] operations = [ migrations.AddField( model_name='automaticupdaterule', ...
23.6
74
0.629237
48
472
6.041667
0.854167
0
0
0
0
0
0
0
0
0
0
0.066282
0.264831
472
19
75
24.842105
0.769452
0.097458
0
0
1
0
0.188679
0.063679
0
0
0
0
0
1
0
false
0
0.076923
0
0.307692
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
673c82411a84592257730306ff63cbd2d35fe522
593
py
Python
examples/example_ssl.py
JackV2020/MicroPython-uMail
41466d1b4dc63431497881d85c537611897d561a
[ "MIT" ]
36
2018-11-02T10:53:47.000Z
2022-02-03T13:08:56.000Z
examples/example_ssl.py
JackV2020/MicroPython-uMail
41466d1b4dc63431497881d85c537611897d561a
[ "MIT" ]
13
2018-11-06T11:19:34.000Z
2022-01-15T21:09:22.000Z
examples/example_ssl.py
JackV2020/MicroPython-uMail
41466d1b4dc63431497881d85c537611897d561a
[ "MIT" ]
10
2018-11-02T22:08:25.000Z
2022-01-07T15:53:41.000Z
# # An example for sending a long email # with SSL connection # # NOTE: # If the email is too long to fit in an variable, # you may use write() to send a chunk of the email # each time. # import umail smtp = umail.SMTP('smtp.gmail.com', 465, ssl=True) # Gmail's SSL port smtp.login('bob@gmail.com', 'bobspa...
25.782609
70
0.659359
102
593
3.833333
0.5
0.138107
0.127877
0.066496
0.092072
0
0
0
0
0
0
0.006073
0.166948
593
22
71
26.954545
0.785425
0.315346
0
0
0
0
0.447721
0
0
0
0
0
0
1
0
false
0.083333
0.083333
0
0.083333
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
673c882f55c3ea01e9429d36072b222bdab2218c
5,232
py
Python
tests/test_config.py
istvan-fodor/giraffez
6b4d27eb1a1eaf188c6885c7364ef27e92b1b957
[ "Apache-2.0" ]
122
2016-08-18T21:12:58.000Z
2021-11-24T14:45:19.000Z
tests/test_config.py
istvan-fodor/giraffez
6b4d27eb1a1eaf188c6885c7364ef27e92b1b957
[ "Apache-2.0" ]
68
2016-08-31T18:19:16.000Z
2021-11-01T19:21:22.000Z
tests/test_config.py
istvan-fodor/giraffez
6b4d27eb1a1eaf188c6885c7364ef27e92b1b957
[ "Apache-2.0" ]
44
2016-08-19T01:22:21.000Z
2022-03-23T17:39:40.000Z
# -*- coding: utf-8 -*- import os import platform import pytest import yaml import giraffez from giraffez.constants import * from giraffez.errors import * from giraffez.types import Columns from giraffez.utils import * @pytest.mark.usefixtures('config', 'tmpfiles') class TestConfig(object): def test_get_set_li...
40.55814
93
0.637806
595
5,232
5.492437
0.166387
0.069767
0.051714
0.087515
0.656977
0.624541
0.534884
0.534884
0.492044
0.492044
0
0.012877
0.257836
5,232
128
94
40.875
0.828741
0.061353
0
0.393939
0
0
0.087701
0.019784
0
0
0
0
0.121212
1
0.121212
false
0.111111
0.090909
0
0.242424
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
673f7274a32988c9d3e5445e11e623b3639457ad
910
py
Python
scripts/savePage.py
Nomicoin/viki
35005c15a3ede879a16584a332148c63a0cbf683
[ "MIT" ]
null
null
null
scripts/savePage.py
Nomicoin/viki
35005c15a3ede879a16584a332148c63a0cbf683
[ "MIT" ]
1
2015-01-17T20:21:26.000Z
2015-01-17T23:32:43.000Z
scripts/savePage.py
Nomicoin/viki
35005c15a3ede879a16584a332148c63a0cbf683
[ "MIT" ]
5
2015-03-10T04:47:38.000Z
2021-11-26T21:29:49.000Z
#!/usr/bin/env python import sys, argparse, yaml, json from xidb import Guild parser = argparse.ArgumentParser(description="Save a new version of an asset") parser.add_argument('-r', '--repo', dest='repo', required=False) parser.add_argument('-a', '--agent', dest='agent', required=True) parser.add_argument('-x', '--x...
26
78
0.696703
127
910
4.96063
0.456693
0.042857
0.080952
0
0
0
0
0
0
0
0
0
0.115385
910
34
79
26.764706
0.782609
0.021978
0
0.08
0
0
0.181306
0
0
0
0
0
0
0
null
null
0
0.08
null
null
0.4
0
0
0
null
0
0
0
0
0
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
674300874b2bafef080f7f5ecb3a9bdc6b9cd16c
1,576
py
Python
managers/cron.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
managers/cron.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
managers/cron.py
naderm/farnsworth
f7a635a82eae20ca395a939966bfa1e296d4e3a2
[ "BSD-2-Clause" ]
null
null
null
""" Project: Farnsworth Authors: Karandeep Singh Nagra and Nader Morshed """ from datetime import timedelta from django.conf import settings from django.utils.timezone import now from django_cron import CronJobBase, Schedule from managers.models import Request, Response class ExpireRequestsCronJob(CronJobBase): ...
36.651163
88
0.74302
210
1,576
5.447619
0.557143
0.059441
0.076923
0.034965
0.061189
0.061189
0
0
0
0
0
0.004762
0.200508
1,576
42
89
37.52381
0.903175
0.468274
0
0
0
0
0.037037
0.030651
0
0
0
0
0
1
0.058824
false
0
0.294118
0
0.647059
0
0
0
0
null
0
0
0
0
0
0
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
6748648e3839e7d46c8823ef133c92a2d62247dd
5,113
py
Python
app/user/tests/test_user_api.py
aniket463/recipe-app-api
64d390bea67f840f0d056f6fdb36eb30236be64b
[ "MIT" ]
null
null
null
app/user/tests/test_user_api.py
aniket463/recipe-app-api
64d390bea67f840f0d056f6fdb36eb30236be64b
[ "MIT" ]
null
null
null
app/user/tests/test_user_api.py
aniket463/recipe-app-api
64d390bea67f840f0d056f6fdb36eb30236be64b
[ "MIT" ]
null
null
null
from django.test import TestCase from django.contrib.auth import get_user_model from django.urls import reverse from rest_framework.test import APIClient from rest_framework import status CREATE_USER_URL = reverse('user:create') TOKEN_URL = reverse('user:token') ME_URL = reverse('user:me') def crea...
32.775641
119
0.619206
614
5,113
4.964169
0.197068
0.045932
0.070866
0.086614
0.430446
0.422244
0.370407
0.320538
0.283136
0.25164
0
0.016785
0.254254
5,113
155
120
32.987097
0.782586
0.124584
0
0.365385
0
0
0.089714
0
0
0
0
0
0.201923
1
0.134615
false
0.134615
0.048077
0.009615
0.211538
0
0
0
0
null
0
0
0
0
0
0
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
674d124afa452348d7d75e4a7832152d0a332c09
767
py
Python
canvas.py
vanatteveldt/dejavu
e24ae183e6bce566703403e84b61b2f8c92a4681
[ "MIT" ]
null
null
null
canvas.py
vanatteveldt/dejavu
e24ae183e6bce566703403e84b61b2f8c92a4681
[ "MIT" ]
null
null
null
canvas.py
vanatteveldt/dejavu
e24ae183e6bce566703403e84b61b2f8c92a4681
[ "MIT" ]
null
null
null
import argparse import json import os import django import logging FSW_ACCOUNT = 18 CANVAS_URL = "https://canvas.vu.nl" os.environ['DJANGO_SETTINGS_MODULE'] = 'dejavu.settings' django.setup() logging.basicConfig(level=logging.INFO, format='[%(asctime)s %(name)-12s %(levelname)-5s] %(message)s') import canvasapi fr...
24.741935
103
0.771838
104
767
5.528846
0.548077
0.031304
0
0
0
0
0
0
0
0
0
0.008571
0.087353
767
30
104
25.566667
0.812857
0
0
0
0
0
0.221643
0.028683
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
674e19e1915763f9640359bd7f83bce14a18acd2
481
py
Python
src/utils/fetchChannel.py
lin483/Funny-Nations
2bb1cd23a3d5f1e4a4854c73ac27f62c98127ef6
[ "MIT" ]
null
null
null
src/utils/fetchChannel.py
lin483/Funny-Nations
2bb1cd23a3d5f1e4a4854c73ac27f62c98127ef6
[ "MIT" ]
null
null
null
src/utils/fetchChannel.py
lin483/Funny-Nations
2bb1cd23a3d5f1e4a4854c73ac27f62c98127ef6
[ "MIT" ]
null
null
null
from src.utils.readConfig import getGeneralConfig from discord import Guild, TextChannel from typing import List generalConfig = getGeneralConfig() def fetchAnnouncementChannel(guild: Guild): if 'channel' not in generalConfig['announcement']: return None allTextChannels: List[TextChannel] = guild.te...
26.722222
68
0.738046
49
481
7.22449
0.530612
0.050847
0
0
0
0
0
0
0
0
0
0
0.189189
481
17
69
28.294118
0.907692
0
0
0.166667
0
0
0.079002
0
0
0
0
0
0
1
0.083333
false
0
0.25
0
0.583333
0
0
0
0
null
0
0
0
0
0
0
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
67508b7825e8345e93d5c7e414ee14228a3158a2
269
py
Python
functional_programming/4_funcional.py
fcafedericoguerra/Python
130381d51ddc9192859d2512715a86db8aa5869d
[ "MIT" ]
1
2019-10-14T18:30:05.000Z
2019-10-14T18:30:05.000Z
functional_programming/4_funcional.py
fcafedericoguerra/Python
130381d51ddc9192859d2512715a86db8aa5869d
[ "MIT" ]
3
2019-05-03T21:22:36.000Z
2019-05-03T21:24:50.000Z
functional_programming/4_funcional.py
fcafedericoguerra/Python
130381d51ddc9192859d2512715a86db8aa5869d
[ "MIT" ]
50
2019-04-24T22:52:19.000Z
2021-11-04T01:57:33.000Z
# -*- coding: utf-8 -*- # Área de un círculo pi = 3.14159 area_circulo = lambda entRadio:pi*(entRadio**2) radio = 8 # 1ra forma print("El área del círculo es", area_circulo(radio)) # 2da forma print("El área del círculo es",(lambda entRadio:pi*(entRadio**2))(radio))
22.416667
73
0.687732
44
269
4.159091
0.522727
0.120219
0.174863
0.262295
0.63388
0.63388
0.306011
0
0
0
0
0.052402
0.148699
269
11
74
24.454545
0.746725
0.223048
0
0
0
0
0.215686
0
0
0
0
0
0
1
0
false
0
0
0
0
0.4
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
6759f51e27207c46ffa5812c76f2183195447fa6
24,026
py
Python
troposphere/ecs.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
troposphere/ecs.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
troposphere/ecs.py
compose-x/troposphere
9a94a8fafd8b4da1cd1f4239be0e7aa0681fd8d4
[ "BSD-2-Clause" ]
null
null
null
# Copyright (c) 2012-2022, Mark Peek <mark@peek.org> # All rights reserved. # # See LICENSE file for full license. # # *** Do not modify - this file is autogenerated *** from . import AWSObject, AWSProperty, PropsDictType, Tags from .validators import boolean, double, integer from .validators.ecs import LAUNCH_TYPE_E...
31.571616
181
0.663115
1,972
24,026
7.982759
0.143002
0.045229
0.037733
0.058315
0.378541
0.34824
0.32156
0.304282
0.28497
0.28497
0
0.001541
0.189961
24,026
760
182
31.613158
0.807317
0.325314
0
0.254762
1
0
0.186249
0.04679
0
0
0
0
0
1
0.002381
false
0
0.021429
0
0.297619
0
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
6760fbe77d65cb529dddffb6ea5c13a3d2161582
9,048
py
Python
policy/DRL/concrete_dqn.py
Dagu9/Reinforcement-learning-SGD
eb4a2546d6c99917b33e8cc4c210709e7d4cc15e
[ "Apache-2.0" ]
2
2020-01-20T14:43:27.000Z
2021-04-29T12:21:05.000Z
policy/DRL/concrete_dqn.py
vmishra04/Pydial
a689fa1177cd34f32dd4d30a5a6140fb721855bf
[ "Apache-2.0" ]
null
null
null
policy/DRL/concrete_dqn.py
vmishra04/Pydial
a689fa1177cd34f32dd4d30a5a6140fb721855bf
[ "Apache-2.0" ]
null
null
null
############################################################################### # PyDial: Multi-domain Statistical Spoken Dialogue System Software ############################################################################### # # Copyright 2015 - 2019 # Cambridge University Engineering Department Dialogue Systems Grou...
40.213333
138
0.619363
1,229
9,048
4.366965
0.223759
0.016769
0.031302
0.02739
0.331843
0.238867
0.205888
0.161356
0.117943
0.088876
0
0.025007
0.239832
9,048
224
139
40.392857
0.755307
0.136826
0
0.120301
0
0
0.015769
0
0
0
0
0.004464
0
0
null
null
0
0.037594
null
null
0.022556
0
0
0
null
0
0
0
0
0
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
67649ac21dfe8bf1b2dcccb2d2bfc448f6829e0b
278
py
Python
012/trianglefactors.py
efarr/euler
cba51045542b2d93f20633d9fc74444be821bdaf
[ "MIT" ]
1
2015-12-16T18:40:21.000Z
2015-12-16T18:40:21.000Z
012/trianglefactors.py
efarr/euler
cba51045542b2d93f20633d9fc74444be821bdaf
[ "MIT" ]
null
null
null
012/trianglefactors.py
efarr/euler
cba51045542b2d93f20633d9fc74444be821bdaf
[ "MIT" ]
null
null
null
def factors(n): step = 1 if n % 2 > 0: step = 2 #skip even numbers return set(reduce(list.__add__, ([i, n/i] for i in range(1, int(n**0.5) + 1, step) if n % i == 0))) triangle = 1 next = 2 while len(factors((triangle))) < 500: triangle += next next += 1 print triangle
18.533333
100
0.604317
52
278
3.153846
0.538462
0.036585
0
0
0
0
0
0
0
0
0
0.069444
0.223022
278
14
101
19.857143
0.689815
0.061151
0
0
0
0
0
0
0
0
0
0
0
0
null
null
0
0
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
676b5946ec1a4ec7e79f33525cad9d8275151303
1,635
bzl
Python
js/packages/go-bridge/repositories.bzl
n0izn0iz/berty
b6d1dce49268bb7e3f237fad12b882d2d8a48092
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
1
2021-01-28T06:24:46.000Z
2021-01-28T06:24:46.000Z
js/packages/go-bridge/repositories.bzl
n0izn0iz/berty
b6d1dce49268bb7e3f237fad12b882d2d8a48092
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
js/packages/go-bridge/repositories.bzl
n0izn0iz/berty
b6d1dce49268bb7e3f237fad12b882d2d8a48092
[ "ECL-2.0", "Apache-2.0", "MIT-0", "MIT" ]
null
null
null
load("@bazel_tools//tools/build_defs/repo:utils.bzl", "maybe") load("@bazel_tools//tools/build_defs/repo:git.bzl", "git_repository") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") load("@berty_go//:repositories.bzl", "berty_go_repositories") def berty_bridge_repositories(): # utils maybe(...
35.543478
114
0.669725
162
1,635
6.5
0.351852
0.061728
0.066477
0.083571
0.269706
0.151947
0.091168
0
0
0
0
0.153431
0.206728
1,635
45
115
36.333333
0.658443
0.008563
0
0.225
0
0.025
0.538937
0.308405
0
0
0
0
0
1
0.025
true
0
0
0
0.025
0
0
0
0
null
0
0
0
0
0
0
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
67702c2ec126ec0136207edad769697ade321bbd
7,420
py
Python
sdk/python/pulumi_azure_native/marketplace/v20210601/get_private_store_collection.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/marketplace/v20210601/get_private_store_collection.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
sdk/python/pulumi_azure_native/marketplace/v20210601/get_private_store_collection.py
polivbr/pulumi-azure-native
09571f3bf6bdc4f3621aabefd1ba6c0d4ecfb0e7
[ "Apache-2.0" ]
null
null
null
# coding=utf-8 # *** WARNING: this file was generated by the Pulumi SDK Generator. *** # *** Do not edit by hand unless you're certain you know what you are doing! *** import warnings import pulumi import pulumi.runtime from typing import Any, Mapping, Optional, Sequence, Union, overload from ... import _utilities fro...
37.664975
236
0.65903
833
7,420
5.597839
0.182473
0.043749
0.039031
0.07077
0.183358
0.109801
0.063907
0.024877
0
0
0
0.001609
0.245957
7,420
196
237
37.857143
0.831814
0.14097
0
0.123077
1
0
0.162527
0.030433
0
0
0
0
0
1
0.107692
false
0
0.046154
0
0.269231
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
67707376d9f38c789e4898490aa0fb3a6b97c96a
397
py
Python
migrations/0005_alter_menuitem_name.py
renmarin/django_restaurants
a27f1d79856e4bd9da0c1987243e1dab3ec7be20
[ "MIT" ]
null
null
null
migrations/0005_alter_menuitem_name.py
renmarin/django_restaurants
a27f1d79856e4bd9da0c1987243e1dab3ec7be20
[ "MIT" ]
null
null
null
migrations/0005_alter_menuitem_name.py
renmarin/django_restaurants
a27f1d79856e4bd9da0c1987243e1dab3ec7be20
[ "MIT" ]
null
null
null
# Generated by Django 3.2.8 on 2021-10-27 15:24 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('restaurant', '0004_alter_menuitem_description'), ] operations = [ migrations.AlterField( model_name='menuitem', name...
20.894737
58
0.609572
42
397
5.642857
0.809524
0
0
0
0
0
0
0
0
0
0
0.073427
0.279597
397
18
59
22.055556
0.755245
0.11335
0
0
1
0
0.151429
0.088571
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
67778a9a6de6dde53f1d8ff34a736d1cb85a0ef0
10,926
py
Python
python/dynamic_graph/sot/torque_control/identification/compute_estimates_from_sensors.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
python/dynamic_graph/sot/torque_control/identification/compute_estimates_from_sensors.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
python/dynamic_graph/sot/torque_control/identification/compute_estimates_from_sensors.py
jviereck/sot-torque-control
90409a656e5b5be4dd4ff937724154579861c20f
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- """ Created on Tue Apr 21 18:27:53 2015 Use the dynamic-graph entity ForceTorqueEstimator to estimate the joint velocities, accelerations and torques starting from the following sensor data: f/t sensors, encoders, accelerometer, gyroscope @author: adelpret """ USE_ROBOT_VIEWER = False; PLOT_SE...
48.776786
161
0.619989
1,531
10,926
4.223383
0.154801
0.069749
0.078874
0.105475
0.505258
0.425611
0.303588
0.222549
0.139035
0.135633
0
0.028027
0.203185
10,926
223
162
48.995516
0.71468
0.022973
0
0.067797
0
0.011299
0.107737
0.023642
0
0
0
0
0
0
null
null
0
0.045198
null
null
0.039548
0
0
0
null
0
0
0
0
0
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
6779b535c6d8a28e2185ae6646254b6d0616904c
4,943
py
Python
plugins/associate.py
GRAYgoose124/mushishi
6dd4512908e39bf6506be023d1834611f58e894b
[ "MIT" ]
2
2018-10-19T07:47:19.000Z
2020-02-11T05:03:11.000Z
plugins/associate.py
GRAYgoose124/mushishi
6dd4512908e39bf6506be023d1834611f58e894b
[ "MIT" ]
null
null
null
plugins/associate.py
GRAYgoose124/mushishi
6dd4512908e39bf6506be023d1834611f58e894b
[ "MIT" ]
null
null
null
from discord.ext import commands from discord.ext.commands import Cog # from discord import Embed # from collections import defaultdict, Counter # from itertools import islice # from nltk import pos_tag, CFG, Production # from nltk import Nonterminal, nonterminals # from nltk.corpus import brown import json from pathl...
27.461111
79
0.595387
603
4,943
4.736318
0.266998
0.053922
0.029762
0.026261
0.077031
0.048319
0.018908
0.018908
0
0
0
0.005441
0.293546
4,943
179
80
27.614525
0.812428
0.146065
0
0.186441
0
0
0.057197
0.011201
0
0
0
0
0
1
0.186441
false
0.09322
0.033898
0.016949
0.338983
0.059322
0
0
0
null
0
0
0
0
0
0
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
677a28bb3b7353875d4f8856c6e4c9808bf2794e
2,787
py
Python
lenstools/tests/test_pipeline.py
asabyr/LensTools
e155d6d39361e550906cec00dbbc57686a4bca5c
[ "MIT" ]
1
2021-04-27T02:03:11.000Z
2021-04-27T02:03:11.000Z
lenstools/tests/test_pipeline.py
asabyr/LensTools
e155d6d39361e550906cec00dbbc57686a4bca5c
[ "MIT" ]
null
null
null
lenstools/tests/test_pipeline.py
asabyr/LensTools
e155d6d39361e550906cec00dbbc57686a4bca5c
[ "MIT" ]
null
null
null
import os from ..pipeline.simulation import SimulationBatch from ..pipeline.settings import * from ..pipeline.remote import LocalGit from ..pipeline.simulation import LensToolsCosmology from ..pipeline.settings import Gadget2Settings from .. import data,dataExtern import numpy as np try: os.mkdir("SimTest") excep...
22.296
107
0.740222
358
2,787
5.678771
0.393855
0.020659
0.014757
0.025086
0.19577
0.181505
0.181505
0.181505
0.181505
0.181505
0
0.01233
0.156082
2,787
124
108
22.475806
0.852041
0.125583
0
0.266667
0
0
0.08107
0.024691
0
0
0
0
0
1
0.08
false
0.053333
0.12
0
0.2
0.053333
0
0
0
null
0
0
0
0
0
0
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
677d2f33ed9ca2600fb3e2931de5ede51f2160b7
6,856
py
Python
test_tws/test_helper/test_synchronizedwrapper.py
kbluck/pytws
a2de3178a809b353a9190a4fc07d89756d4dd075
[ "BSD-3-Clause" ]
null
null
null
test_tws/test_helper/test_synchronizedwrapper.py
kbluck/pytws
a2de3178a809b353a9190a4fc07d89756d4dd075
[ "BSD-3-Clause" ]
null
null
null
test_tws/test_helper/test_synchronizedwrapper.py
kbluck/pytws
a2de3178a809b353a9190a4fc07d89756d4dd075
[ "BSD-3-Clause" ]
null
null
null
'''Unit test package for module "tws.helper._synchronizedwrapper".''' __copyright__ = "Copyright (c) 2009 Kevin J Bluck" __version__ = "$Id$" import unittest import tws import tws.helper import test_tws class test_SynchronizedWrapper(unittest.TestCase): def setUp(self): self.client_wrapper = test_tws...
50.043796
97
0.634189
869
6,856
4.880322
0.143844
0.07734
0.145013
0.200424
0.650083
0.612356
0.456025
0.251356
0.22589
0.166706
0
0.061312
0.179259
6,856
136
98
50.411765
0.692376
0.009189
0
0.016129
0
0
0.087962
0.006336
0
0
0
0
0.330645
1
0.032258
false
0
0.032258
0
0.072581
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
678111af1b51294a26227922b4e5ced53d231291
3,885
py
Python
server.py
raushanjha146/cmphoroscope-hindi
8509923b50c02af30b4fa5effb96ee533164720b
[ "MIT" ]
null
null
null
server.py
raushanjha146/cmphoroscope-hindi
8509923b50c02af30b4fa5effb96ee533164720b
[ "MIT" ]
null
null
null
server.py
raushanjha146/cmphoroscope-hindi
8509923b50c02af30b4fa5effb96ee533164720b
[ "MIT" ]
null
null
null
from flask import Flask, jsonify from cmphoroscope import CMPHoroscope app = Flask(__name__) app.config['JSON_AS_ASCII'] = False ############################################ # Index ############################################ @app.route('/', methods=['GET']) def index_route(): return jsonify({ 'author':...
42.228261
95
0.657143
430
3,885
5.683721
0.134884
0.08838
0.10311
0.154664
0.79419
0.756137
0.694763
0.694763
0.694763
0.586743
0
0
0.143629
3,885
92
96
42.228261
0.734596
0.104247
0
0.368421
0
0
0.264045
0.123596
0
0
0
0
0
1
0.122807
false
0
0.035088
0.017544
0.280702
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
67837e020244e16d611296ef9a0513cf9222826f
5,071
py
Python
media.py
jupito/podxm
4190396af30be59b0b1ce4c4078f479f19ee4faf
[ "MIT" ]
null
null
null
media.py
jupito/podxm
4190396af30be59b0b1ce4c4078f479f19ee4faf
[ "MIT" ]
null
null
null
media.py
jupito/podxm
4190396af30be59b0b1ce4c4078f479f19ee4faf
[ "MIT" ]
null
null
null
"""Media files.""" import datetime import json import logging import shlex import subprocess import tempfile from pathlib import Path from misctypes import Gain from pyutils.files import XAttrStr, move from pyutils.misc import fmt_args log = logging.getLogger(__name__) def call(args): log.info('Running: %s', '...
27.710383
79
0.615066
643
5,071
4.774495
0.303266
0.029316
0.017915
0.032573
0.184365
0.123779
0.069707
0.052117
0.052117
0
0
0.002868
0.243542
5,071
182
80
27.862637
0.797445
0.21337
0
0.243478
0
0
0.184749
0.026612
0
0
0
0.010989
0
1
0.095652
false
0
0.086957
0
0.347826
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
1
0
0
0
0
0
0
0
0
0
0
1
678518964c564137a84c0deab0841d68ca5bc3e6
812
py
Python
web/forms.py
alienmasterrace/clouditam.com
dab312d3ab4f09845d8355580a3806bfd4b9cbf4
[ "Unlicense" ]
null
null
null
web/forms.py
alienmasterrace/clouditam.com
dab312d3ab4f09845d8355580a3806bfd4b9cbf4
[ "Unlicense" ]
null
null
null
web/forms.py
alienmasterrace/clouditam.com
dab312d3ab4f09845d8355580a3806bfd4b9cbf4
[ "Unlicense" ]
null
null
null
from django import forms from django.contrib.auth import get_user_model from django.utils.translation import ugettext_lazy as _ email_errors = { 'required': 'Email is required', } class SignUpForm(forms.ModelForm): email = forms.EmailField(error_messages=email_errors) class Meta: model = get_use...
26.193548
59
0.582512
78
812
5.858974
0.5
0.065646
0.052516
0.100656
0
0
0
0
0
0
0
0.008945
0.311576
812
30
60
27.066667
0.808587
0
0
0
0
0
0.131773
0
0
0
0
0
0
1
0
false
0.16
0.12
0
0.36
0
0
0
0
null
0
0
0
0
0
0
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
678643750face143ca6c9d880f0f692e17f15075
24,552
py
Python
mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/domains/v1alpha1/domains_v1alpha1_client.py
bopopescu/cndw
ee432efef88a4351b355f3d6d5350defc7f4246b
[ "Apache-2.0" ]
null
null
null
mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/domains/v1alpha1/domains_v1alpha1_client.py
bopopescu/cndw
ee432efef88a4351b355f3d6d5350defc7f4246b
[ "Apache-2.0" ]
4
2020-07-21T12:51:46.000Z
2022-01-22T10:29:25.000Z
mac/google-cloud-sdk/lib/googlecloudsdk/third_party/apis/domains/v1alpha1/domains_v1alpha1_client.py
bopopescu/cndw
ee432efef88a4351b355f3d6d5350defc7f4246b
[ "Apache-2.0" ]
1
2020-07-25T18:17:57.000Z
2020-07-25T18:17:57.000Z
"""Generated client library for domains version v1alpha1.""" # NOTE: This file is autogenerated and should not be edited by hand. from apitools.base.py import base_api from googlecloudsdk.third_party.apis.domains.v1alpha1 import domains_v1alpha1_messages as messages class DomainsV1alpha1(base_api.BaseApiClient): ""...
42.258176
132
0.717416
2,440
24,552
7.017623
0.126639
0.049758
0.037727
0.022835
0.584419
0.573206
0.51644
0.503767
0.483443
0.418793
0
0.006133
0.189842
24,552
580
133
42.331034
0.854708
0.280262
0
0.468835
1
0
0.28338
0.232812
0
0
0
0
0
1
0.062331
false
0
0.00542
0
0.159892
0
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
6786ede85e3f3d126fece170a54ae18f59d8f84f
304
py
Python
setup.py
beelsr/python-ssllabs
b42e69d0edbf05e8d6d09025b490a1e069efefc7
[ "Apache-2.0" ]
1
2019-12-05T06:35:59.000Z
2019-12-05T06:35:59.000Z
setup.py
kushank007/python-ssllabs
cfde27cec1ac3bebe7f233c4010da6dcbaac67be
[ "Apache-2.0" ]
null
null
null
setup.py
kushank007/python-ssllabs
cfde27cec1ac3bebe7f233c4010da6dcbaac67be
[ "Apache-2.0" ]
null
null
null
from setuptools import setup import ssllabs setup(name='python-ssllabs', version=ssllabs.__version__, packages=['ssllabs'], scripts=['ssllabs-cli.py'], install_requires=['requests'], url='https://github.com/takeshixx/python-ssllabs', license='Apache 2.0', author='takeshix')
25.333333
54
0.694079
35
304
5.885714
0.742857
0.126214
0
0
0
0
0
0
0
0
0
0.007692
0.144737
304
11
55
27.636364
0.784615
0
0
0
0
0
0.342105
0
0
0
0
0
0
1
0
true
0
0.2
0
0.2
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
678af81b4983541e39c30525216e3dd9958b5a3e
28,951
py
Python
airflow/providers/google/marketing_platform/operators/display_video.py
MohammedDiab/airflow
4fa7df5de9d9bfe0509722599baf1be91ffea3b8
[ "Apache-2.0" ]
null
null
null
airflow/providers/google/marketing_platform/operators/display_video.py
MohammedDiab/airflow
4fa7df5de9d9bfe0509722599baf1be91ffea3b8
[ "Apache-2.0" ]
null
null
null
airflow/providers/google/marketing_platform/operators/display_video.py
MohammedDiab/airflow
4fa7df5de9d9bfe0509722599baf1be91ffea3b8
[ "Apache-2.0" ]
null
null
null
# # Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not...
40.321727
101
0.66996
3,658
28,951
5.122471
0.103882
0.065322
0.028338
0.013876
0.716298
0.687106
0.668801
0.665066
0.66197
0.658448
0
0.006108
0.253532
28,951
717
102
40.377964
0.86095
0.439432
0
0.603723
0
0
0.08424
0.007277
0
0
0
0
0
1
0.050532
false
0
0.031915
0
0.143617
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
678be7d40c9e76310cf377af4d93b32c098e4002
1,199
py
Python
setup.py
fletchowns/awfulutils
00a652aebe12a75652a7869f61c6bcbac687fc52
[ "Apache-2.0" ]
4
2020-06-25T14:49:16.000Z
2020-11-14T09:14:43.000Z
setup.py
fletchowns/awfulutils
00a652aebe12a75652a7869f61c6bcbac687fc52
[ "Apache-2.0" ]
7
2020-06-25T11:47:24.000Z
2020-07-12T12:17:26.000Z
setup.py
fletchowns/awfulutils
00a652aebe12a75652a7869f61c6bcbac687fc52
[ "Apache-2.0" ]
1
2021-02-11T21:10:11.000Z
2021-02-11T21:10:11.000Z
from distutils.core import setup from awfulutils import __version__ def readme(): with open('README.rst') as f: return f.read() setup( name='awfulutils', packages=['awfulutils'], version=__version__, description='A set of utilities for the Something Awful forums', long_description = re...
30.74359
68
0.607173
115
1,199
6.217391
0.686957
0.106294
0.13986
0.109091
0
0
0
0
0
0
0
0.010112
0.257715
1,199
39
69
30.74359
0.793258
0
0
0
0
0
0.514167
0.036667
0
0
0
0
0
1
0.027027
true
0
0.054054
0
0.108108
0
0
0
0
null
0
0
0
0
0
0
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
679aa05deaa161113a32fd476279ed9baf3f74d0
3,454
py
Python
cookery/cookery/migrations/0001_initial.py
drewbrew/django-cookery
03183c8a7ea46aaf0daddb010ee08491fe7f21cc
[ "MIT" ]
4
2016-06-08T07:58:18.000Z
2021-02-20T12:37:56.000Z
cookery/cookery/migrations/0001_initial.py
drewbrew/django-cookery
03183c8a7ea46aaf0daddb010ee08491fe7f21cc
[ "MIT" ]
null
null
null
cookery/cookery/migrations/0001_initial.py
drewbrew/django-cookery
03183c8a7ea46aaf0daddb010ee08491fe7f21cc
[ "MIT" ]
1
2019-04-06T01:39:50.000Z
2019-04-06T01:39:50.000Z
# -*- coding: utf-8 -*- # Generated by Django 1.9.5 on 2016-04-13 22:51 from __future__ import unicode_literals from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.Creat...
50.057971
177
0.614939
357
3,454
5.798319
0.327731
0.085024
0.050725
0.064251
0.50628
0.459903
0.384541
0.355556
0.355556
0.355556
0
0.012284
0.245802
3,454
68
178
50.794118
0.782342
0.019398
0
0.483333
1
0
0.206265
0.020981
0
0
0
0
0
1
0
false
0
0.05
0
0.116667
0
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
679da5ad1c2ed5c1ef6eda21df416ebaf9351f62
819
py
Python
learning/zuper/main.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
2
2019-06-23T07:17:30.000Z
2019-07-06T15:15:42.000Z
learning/zuper/main.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
null
null
null
learning/zuper/main.py
Nephrin/Tut
9454be28fd37c155d0b4e97876196f8d33ccf8e5
[ "Apache-2.0" ]
1
2019-06-23T07:17:43.000Z
2019-06-23T07:17:43.000Z
""" The deal with super is that you can easily call a function of a parent or a sister class that you have inherited, without necessarily calling the classes then their functions an example """ class Parent: def __init__(self, i): print(i) class Sister: def __init__(self): print("asda") cla...
27.3
85
0.71917
129
819
4.348837
0.542636
0.037433
0.058824
0.060606
0
0
0
0
0
0
0
0
0.212454
819
30
86
27.3
0.869767
0.227106
0
0.181818
0
0
0.064935
0
0
0
0
0
0
1
0.272727
false
0
0
0
0.545455
0.181818
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1