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
d4604c19ad006d58231209c724d200e7cbc242fe
8,444
py
Python
spreedly/forms.py
guitarparty/django-spreedly
532e594d5163bf177141ce1e6a4b349c714e4e6d
[ "MIT" ]
2
2015-09-28T10:08:13.000Z
2015-11-08T12:46:43.000Z
spreedly/forms.py
guitarparty/django-spreedly
532e594d5163bf177141ce1e6a4b349c714e4e6d
[ "MIT" ]
null
null
null
spreedly/forms.py
guitarparty/django-spreedly
532e594d5163bf177141ce1e6a4b349c714e4e6d
[ "MIT" ]
null
null
null
import uuid from django import forms from django.conf import settings from django.core.mail import send_mail from django.contrib.auth.models import User from django.contrib.sites.models import Site from django.core.urlresolvers import reverse from django.template.loader import render_to_string from django.utils.transl...
32.728682
112
0.593202
924
8,444
5.280303
0.203463
0.067637
0.092232
0.044271
0.510555
0.455011
0.436975
0.395778
0.395778
0.361959
0
0.007828
0.304121
8,444
257
113
32.856031
0.822498
0.008171
0
0.484582
0
0
0.090182
0
0
0
0
0
0
1
0.035242
false
0.123348
0.057269
0
0.251101
0
0
0
0
null
0
0
0
0
0
0
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
d464d4f8884614399c32a2ef557b91149685ae61
5,840
py
Python
polybookexchange/models.py
maltherd/polybookexchange
a569101cc3998fddb75435dd1dd33cf92437c1f4
[ "BSD-2-Clause" ]
null
null
null
polybookexchange/models.py
maltherd/polybookexchange
a569101cc3998fddb75435dd1dd33cf92437c1f4
[ "BSD-2-Clause" ]
null
null
null
polybookexchange/models.py
maltherd/polybookexchange
a569101cc3998fddb75435dd1dd33cf92437c1f4
[ "BSD-2-Clause" ]
null
null
null
from django.db import models from django.db.models import Min import requests import isbnlib from django.core.files import File from django.core.files.temp import NamedTemporaryFile from django.templatetags.static import static from django.conf import settings import datetime from django.utils.timezone import now cla...
29.948718
134
0.650514
701
5,840
5.272468
0.262482
0.040584
0.048701
0.064935
0.340368
0.320887
0.290043
0.266775
0.195346
0.195346
0
0.015456
0.224486
5,840
194
135
30.103093
0.800618
0
0
0.244604
0
0
0.071747
0.008733
0
0
0
0
0
1
0.100719
false
0
0.071942
0.057554
0.654676
0
0
0
0
null
0
0
0
0
0
0
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
d46dff2d5c4a0258b15e24b98d66f94327ebc252
1,893
py
Python
main/migrations/0001_initial.py
xn1990/B10
d584ecebba85a6a6564710ecd51306955623a7d2
[ "MIT" ]
null
null
null
main/migrations/0001_initial.py
xn1990/B10
d584ecebba85a6a6564710ecd51306955623a7d2
[ "MIT" ]
null
null
null
main/migrations/0001_initial.py
xn1990/B10
d584ecebba85a6a6564710ecd51306955623a7d2
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-29 11:40 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='User', ...
57.363636
342
0.630745
225
1,893
5.16
0.528889
0.094746
0.064599
0.065461
0.078381
0
0
0
0
0
0
0.128886
0.184363
1,893
32
343
59.15625
0.623057
0.034865
0
0
1
0.041667
0.287829
0.092654
0
0
0
0
0
1
0
false
0.041667
0.083333
0
0.25
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d47a370fef4f4a7c3d16cbca7ec29ad5195f4cfa
520
py
Python
test/dataloadertest.py
iseesaw/EAlib
498bcc096779a951e254b0aee5677ee885700263
[ "MIT" ]
4
2019-09-28T03:42:09.000Z
2020-04-17T02:46:19.000Z
test/dataloadertest.py
iseesaw/EAlib
498bcc096779a951e254b0aee5677ee885700263
[ "MIT" ]
null
null
null
test/dataloadertest.py
iseesaw/EAlib
498bcc096779a951e254b0aee5677ee885700263
[ "MIT" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- # @Date : 2019-09-22 00:54:06 # @Author : Kaiyan Zhang (kyzhang@ir.hit.edu.cn) # @Link : https://github.com/iseesaw # @Version : $Id$ import os from EAlib.utils.dataloader import BasicLoader def BasicLoaderTest(): import os dirpath = "D:\\ACours...
28.888889
73
0.623077
66
520
4.909091
0.80303
0.049383
0
0
0
0
0
0
0
0
0
0.048544
0.207692
520
18
74
28.888889
0.737864
0.336538
0
0.222222
0
0
0.185759
0.173375
0
0
0
0
0
1
0.111111
false
0
0.333333
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d47d2e31d13a81121abcc2a2c526571918aa6d5e
1,893
py
Python
test/test_cores/test_video/mm_lt24lcdsys.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
1
2022-03-16T23:56:09.000Z
2022-03-16T23:56:09.000Z
test/test_cores/test_video/mm_lt24lcdsys.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
null
null
null
test/test_cores/test_video/mm_lt24lcdsys.py
meetps/rhea
f8a9a08fb5e14c5c4488ef68a2dff4d18222c2c0
[ "MIT" ]
null
null
null
import myhdl from myhdl import Signal, intbv from rhea.system import Global, Clock, Reset from rhea.cores.video import VideoMemory from rhea.cores.video import color_bars from rhea.cores.video.lcd import LT24Interface from rhea.cores.video.lcd import lt24lcd from rhea.cores.misc import glbl_timer_ticks from rhea.util...
30.532258
70
0.678288
269
1,893
4.553903
0.297398
0.045714
0.053878
0.068571
0.346122
0.306939
0.197551
0.197551
0.197551
0.197551
0
0.024607
0.227153
1,893
61
71
31.032787
0.812714
0.06075
0
0.113636
0
0
0.006814
0
0
0
0
0
0
0
null
null
0
0.204545
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
d4837d38ecbf80b03b88559decb3cacbf407e3f3
626
py
Python
urls.py
0x0mar/PyDetector
e58e32c66c3972ceb0cbb65408e0ac797e896604
[ "CC-BY-3.0" ]
1
2022-01-14T10:56:53.000Z
2022-01-14T10:56:53.000Z
urls.py
0x0mar/PyDetector
e58e32c66c3972ceb0cbb65408e0ac797e896604
[ "CC-BY-3.0" ]
null
null
null
urls.py
0x0mar/PyDetector
e58e32c66c3972ceb0cbb65408e0ac797e896604
[ "CC-BY-3.0" ]
1
2018-12-18T00:44:29.000Z
2018-12-18T00:44:29.000Z
from django.conf.urls import patterns, include, url from pydetector.views import hello from pydetector.views2 import * # Uncomment the next two lines to enable the admin: from django.contrib import admin admin.autodiscover() urlpatterns = patterns('', url(r'^logs/$', logs), # Examples: url(r'^$', welcome)...
27.217391
71
0.696486
84
626
5.190476
0.404762
0.045872
0.073395
0.073395
0
0
0
0
0
0
0
0.001912
0.164537
626
22
72
28.454545
0.83174
0.458466
0
0
0
0
0.048193
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d483fb24f535752ae64b603380ee951e873603ad
1,481
py
Python
tests/test.py
dirkmcpherson/gym-novel-gridworlds
5cd04fdf65e20cee51a9a6ed8eead662aad39259
[ "MIT" ]
2
2021-08-06T08:41:34.000Z
2021-11-02T14:17:15.000Z
tests/test.py
dirkmcpherson/gym-novel-gridworlds
5cd04fdf65e20cee51a9a6ed8eead662aad39259
[ "MIT" ]
3
2020-08-24T11:19:31.000Z
2021-08-23T10:12:04.000Z
tests/test.py
dirkmcpherson/gym-novel-gridworlds
5cd04fdf65e20cee51a9a6ed8eead662aad39259
[ "MIT" ]
6
2020-07-28T12:52:44.000Z
2022-02-18T14:41:52.000Z
import time import gym import gym_novel_gridworlds from gym_novel_gridworlds.wrappers import SaveTrajectories, LimitActions from gym_novel_gridworlds.observation_wrappers import LidarInFront, AgentMap from gym_novel_gridworlds.novelty_wrappers import inject_novelty from stable_baselines.common.policies import MlpPoli...
35.261905
109
0.689399
194
1,481
5.087629
0.438144
0.032421
0.072948
0.066869
0.046606
0
0
0
0
0
0
0.027431
0.187711
1,481
41
110
36.121951
0.793017
0.162053
0
0
0
0
0.189123
0.088474
0
0
0
0
0
1
0
false
0
0.333333
0
0.333333
0.111111
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
d486e19f32bf4cb962ae8da53d23dc62b3277645
3,240
py
Python
CSD_API/REFCODEs_to_CIFs.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
CSD_API/REFCODEs_to_CIFs.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
CSD_API/REFCODEs_to_CIFs.py
andrewtarzia/cage_collect
e5e68dc23ec197eceff3b56de6725d996730b8ac
[ "MIT" ]
null
null
null
#!/usr/bin/env python2 # -*- coding: utf-8 -*- # Distributed under the terms of the MIT License. """ Script to convert list of REFCODEs into CIFs. No constraints are applied. Author: Andrew Tarzia Date Created: 12 May 2019 """ import ccdc.io import sys import CSD_f def main(): if (not len(sys.argv) == 4): ...
34.105263
80
0.513889
376
3,240
4.295213
0.369681
0.055728
0.034675
0.027864
0.151703
0.076161
0
0
0
0
0
0.008863
0.373148
3,240
94
81
34.468085
0.786312
0.156173
0
0.129032
0
0
0.199845
0.037882
0
0
0
0
0
0
null
null
0
0.048387
null
null
0.080645
0
0
0
null
0
0
0
0
0
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
d48811aebf4434a57e0ffbb94137b1a7b61d57f0
918
py
Python
bookworm/search/templatetags/results.py
srilatha44/threepress
263b8aee8353806bd860bc22daf019e2155b8d0f
[ "BSD-3-Clause" ]
2
2020-05-03T16:54:33.000Z
2021-11-24T21:05:05.000Z
bookworm/search/templatetags/results.py
srilatha44/threepress
263b8aee8353806bd860bc22daf019e2155b8d0f
[ "BSD-3-Clause" ]
1
2022-02-12T09:20:29.000Z
2022-02-12T09:20:29.000Z
bookworm/search/templatetags/results.py
srilatha44/threepress
263b8aee8353806bd860bc22daf019e2155b8d0f
[ "BSD-3-Clause" ]
1
2022-02-12T09:02:02.000Z
2022-02-12T09:02:02.000Z
import logging from lxml import etree from lxml.html import soupparser from django import template log = logging.getLogger('library.templatetags') register = template.Library() @register.inclusion_tag('includes/result.html', takes_context=True) def display_result(context, htmlfile, search_term): '''Render a...
31.655172
92
0.676471
114
918
5.342105
0.5
0.065681
0.055829
0
0
0
0
0
0
0
0
0
0.206972
918
28
93
32.785714
0.836538
0
0
0
0
0
0.074519
0
0
0
0
0
0
0
null
null
0
0.2
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
d48898df87298a73537da427151205a2a73d483a
1,254
py
Python
app/models/message.py
Info-ag/labplaner
1dbd532c0c78f11244149cb0065424fdab916cd0
[ "Apache-2.0" ]
7
2018-03-04T15:38:37.000Z
2019-01-06T17:39:59.000Z
app/models/message.py
Info-ag/labplaner
1dbd532c0c78f11244149cb0065424fdab916cd0
[ "Apache-2.0" ]
19
2018-04-16T13:57:27.000Z
2019-04-25T06:32:11.000Z
app/models/message.py
Info-ag/labplaner
1dbd532c0c78f11244149cb0065424fdab916cd0
[ "Apache-2.0" ]
3
2018-05-27T11:18:23.000Z
2020-02-12T16:47:34.000Z
from datetime import datetime from app.models import db __all__ = ['Message'] class Message(db.Model): """Message Messages only have an author. They are either connected to a working group (AG) or to an individual user (recepient). :param id: :param message: :param time: :param author...
27.866667
82
0.663477
159
1,254
5.100629
0.339623
0.059186
0.073983
0.059186
0.340321
0.316893
0.316893
0.278668
0.278668
0.278668
0
0.004024
0.207337
1,254
44
83
28.5
0.811871
0.235247
0
0.2
0
0
0.14333
0
0
0
0
0
0
1
0
false
0
0.1
0
0.65
0
0
0
0
null
0
0
0
0
0
0
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
d488d8d1f12b2cc5b9444dc09a15cceef550b21b
949
py
Python
webapp/__init__.py
Copyrighted/portfolio
2930ba1739793d43356de4f73330146f8ef165fd
[ "MIT" ]
null
null
null
webapp/__init__.py
Copyrighted/portfolio
2930ba1739793d43356de4f73330146f8ef165fd
[ "MIT" ]
null
null
null
webapp/__init__.py
Copyrighted/portfolio
2930ba1739793d43356de4f73330146f8ef165fd
[ "MIT" ]
null
null
null
from flask import Flask from flask_mail import Mail from flaskext.markdown import Markdown from webapp.config import Config from flask_sqlalchemy import SQLAlchemy from flask_login import LoginManager from flask_bootstrap import Bootstrap from flask_wtf.csrf import CSRFProtect from flask_migrate import Migrate from sql...
27.911765
55
0.826133
130
949
5.853846
0.315385
0.082786
0.026281
0
0
0
0
0
0
0
0
0
0.103267
949
34
56
27.911765
0.894242
0
0
0
0
0
0.017895
0
0
0
0
0
0
1
0
false
0
0.4
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
2e03d85084324415f604143381edce9e7d85a4d1
454
py
Python
app/workers/search/schemas/indices.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
6
2019-01-01T23:38:12.000Z
2021-07-27T03:43:11.000Z
app/workers/search/schemas/indices.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2020-08-02T00:21:41.000Z
2020-08-02T00:21:41.000Z
app/workers/search/schemas/indices.py
d3vzer0/reternal-backend
aeeb613c820759212e7aef9150738a66b2882d50
[ "MIT" ]
1
2021-07-27T03:43:24.000Z
2021-07-27T03:43:24.000Z
from pydantic import BaseModel, validator, Field from typing import List, Dict from datetime import datetime class IndicesIn(BaseModel): index: str source: str sourcetype: str class IndiceList(BaseModel): indices: List[IndicesIn] integration: str execution_date: datetime @validator('exec...
22.7
59
0.707048
59
454
5.355932
0.610169
0.123418
0
0
0
0
0
0
0
0
0
0
0.187225
454
19
60
23.894737
0.856369
0
0
0
0
0
0.075055
0
0
0
0
0
0
1
0.071429
false
0
0.214286
0.071429
0.928571
0
0
0
0
null
0
0
0
0
0
0
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
2e14e5240afb4553a77a161bdad44e18dbe6cc60
380
py
Python
dit_helpdesk/hierarchy/migrations/0011_auto_20200910_1653.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
3
2019-10-24T10:39:38.000Z
2021-07-13T11:46:18.000Z
dit_helpdesk/hierarchy/migrations/0011_auto_20200910_1653.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
20
2020-01-22T11:16:24.000Z
2022-02-02T10:38:54.000Z
dit_helpdesk/hierarchy/migrations/0011_auto_20200910_1653.py
uktrade/dit-helpdesk
f5127daa46e920d33ec3f0b982136b65bba0353a
[ "MIT" ]
null
null
null
# Generated by Django 2.2.13 on 2020-09-10 15:53 from django.db import migrations class Migration(migrations.Migration): dependencies = [("hierarchy", "0010_auto_20200910_1650")] operations = [ migrations.AlterUniqueTogether( name="subheading", unique_together={("commodity_c...
23.75
85
0.657895
39
380
6.25641
0.871795
0
0
0
0
0
0
0
0
0
0
0.108475
0.223684
380
15
86
25.333333
0.718644
0.121053
0
0
1
0
0.253012
0.069277
0
0
0
0
0
1
0
false
0
0.111111
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e1d2fdbae9ad14349f29f2fd8c4c75aa7740c0c
354
py
Python
web.py
mukul-git/dbms
5de98d86a66535c18be85dec36fc5a1fb73dd791
[ "MIT" ]
1
2020-03-25T03:20:55.000Z
2020-03-25T03:20:55.000Z
web.py
mukul-git/dbms
5de98d86a66535c18be85dec36fc5a1fb73dd791
[ "MIT" ]
6
2020-04-19T19:19:04.000Z
2022-02-27T03:17:16.000Z
web.py
mukul-git/dbms
5de98d86a66535c18be85dec36fc5a1fb73dd791
[ "MIT" ]
3
2020-03-25T03:21:06.000Z
2020-04-14T22:03:56.000Z
from flask import Flask, escape, request app = Flask(__name__) @app.route('/') def hello(): name = request.args.get("name", "World") return f'Hello, {escape(name)}!' @app.route('/stats') def stats(): name = request.args.get("table", None) if name is not None: return f'Table {escape(table)} s...
19.666667
45
0.621469
49
354
4.408163
0.469388
0.064815
0.111111
0.166667
0
0
0
0
0
0
0
0
0.200565
354
17
46
20.823529
0.763251
0
0
0
0
0
0.234463
0
0
0
0
0
0
1
0.166667
false
0
0.083333
0
0.5
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
2e1e17e0cb04f7dd9f077058b7b131512158d743
4,567
py
Python
Lib/site-packages/win32/Demos/win32console_demo.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
Lib/site-packages/win32/Demos/win32console_demo.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
Lib/site-packages/win32/Demos/win32console_demo.py
raychorn/svn_Python-2.5.1
425005b1b489ba44ec0bb989e077297e8953d9be
[ "PSF-2.0" ]
null
null
null
import win32console, win32con import traceback, time virtual_keys={} for k,v in win32con.__dict__.items(): if k.startswith('VK_'): virtual_keys[v]=k free_console=True try: win32console.AllocConsole() except win32console.error, err_tuple: if err_tuple[0]!=5: raise ## only...
43.913462
141
0.707248
482
4,567
6.512448
0.302905
0.105129
0.024849
0.02676
0.247531
0.214081
0.106403
0.106403
0.106403
0.106403
0
0.035973
0.214802
4,567
103
142
44.339806
0.839375
0.068754
0
0.071429
0
0
0.033374
0
0
0
0.001935
0
0
0
null
null
0
0.02381
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
2e2023cdc80978ba8af39b73478bd0511ee56f8c
768
py
Python
solutions/python3/1202.py
sm2774us/amazon_interview_prep_2021
f580080e4a6b712b0b295bb429bf676eb15668de
[ "MIT" ]
42
2020-08-02T07:03:49.000Z
2022-03-26T07:50:15.000Z
solutions/python3/1202.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
null
null
null
solutions/python3/1202.py
ajayv13/leetcode
de02576a9503be6054816b7444ccadcc0c31c59d
[ "MIT" ]
40
2020-02-08T02:50:24.000Z
2022-03-26T15:38:10.000Z
class Solution: def smallestStringWithSwaps(self, s: str, pairs: List[List[int]]) -> str: class UF: def __init__(self, n): self.p = list(range(n)) def union(self, x, y): self.p[self.find(x)] = self.find(y) def find(self, x): if x != self.p[x]: self.p[x] = ...
38.4
77
0.484375
116
768
3.155172
0.327586
0.081967
0.065574
0.038251
0.128415
0.081967
0
0
0
0
0
0
0.347656
768
20
78
38.4
0.730539
0
0
0.111111
0
0
0
0
0
0
0
0
0
1
0.222222
false
0
0
0
0.444444
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
2e26a612c23864bb1d850b1bca0f21af7bb5f9a9
2,320
py
Python
svbench/loaders.py
kcleal/svbench
8988b0184590460bc3738987ef812973064e295d
[ "MIT" ]
10
2021-06-09T17:34:37.000Z
2022-03-03T05:07:48.000Z
svbench/loaders.py
kcleal/svbench
8988b0184590460bc3738987ef812973064e295d
[ "MIT" ]
1
2021-07-23T13:58:43.000Z
2021-07-27T10:04:55.000Z
svbench/loaders.py
kcleal/svbench
8988b0184590460bc3738987ef812973064e295d
[ "MIT" ]
null
null
null
from svbench import CallSet, Col import numpy as np from sys import stderr __all__ = ["load_dysgu", "load_lumpy", "load_delly", "load_manta", "load_sniffles", "load_whamg"] def load_dysgu(pth, dataset, caller="dysgu"): c = Col("FORMAT", "PROB", bins=np.arange(0, 1.01, 0.025)) k = Col("FILTER", op="eq", thres...
42.962963
97
0.670259
360
2,320
4.252778
0.172222
0.118877
0.073155
0.10516
0.676029
0.676029
0.676029
0.676029
0.676029
0.676029
0
0.019299
0.151293
2,320
53
98
43.773585
0.758253
0
0
0.368421
0
0
0.253448
0
0
0
0
0
0
1
0.184211
false
0
0.078947
0
0.447368
0.184211
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
2e2a4e1d84d8d1ce7b7f5a97a7e9319198e70013
795
py
Python
relevanceai/dataset/io/export/dict.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
21
2021-11-23T13:01:36.000Z
2022-03-23T03:45:30.000Z
relevanceai/dataset/io/export/dict.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
217
2021-11-23T00:11:01.000Z
2022-03-30T08:11:49.000Z
relevanceai/dataset/io/export/dict.py
RelevanceAI/RelevanceAI
a0542f35153d9c842f3d2cd0955d6b07f6dfc07b
[ "Apache-2.0" ]
4
2022-01-04T01:48:30.000Z
2022-02-11T03:19:32.000Z
from relevanceai.utils.decorators.analytics import track from relevanceai.dataset.read import Read class DictExport(Read): @track def to_dict(self, orient: str = "records"): """ Returns the raw list of dicts from Relevance AI Parameters ---------- None Returns...
22.083333
56
0.548428
78
795
5.487179
0.589744
0.10514
0
0
0
0
0
0
0
0
0
0
0.353459
795
35
57
22.714286
0.832685
0.425157
0
0
0
0
0.043614
0
0
0
0
0
0
1
0.111111
false
0
0.222222
0
0.555556
0
0
0
0
null
0
0
0
0
0
0
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
2e2c86ec057be0898a7d36dc1741c27128e8fb6a
1,046
py
Python
project/server/__init__.py
mjhea0/flask-challenge
6902a43d6c5f435edc668bc51fc08cd785ffb965
[ "MIT" ]
2
2017-02-08T01:31:15.000Z
2021-08-19T12:44:59.000Z
project/server/__init__.py
mjhea0/flask-challenge
6902a43d6c5f435edc668bc51fc08cd785ffb965
[ "MIT" ]
null
null
null
project/server/__init__.py
mjhea0/flask-challenge
6902a43d6c5f435edc668bc51fc08cd785ffb965
[ "MIT" ]
1
2020-12-30T15:21:45.000Z
2020-12-30T15:21:45.000Z
# project/server/__init__.py import os from flask import Flask, make_response, jsonify app = Flask(__name__) app_settings = os.getenv( 'APP_SETTINGS', 'project.server.config.DevelopmentConfig' ) app.config.from_object(app_settings) from project.server.api.routes import api_blueprint app.register_bluepr...
22.255319
72
0.715105
133
1,046
5.43609
0.383459
0.06639
0.105118
0.099585
0.320885
0.320885
0.121715
0.121715
0
0
0
0.030033
0.140535
1,046
46
73
22.73913
0.774194
0.024857
0
0.107143
0
0
0.234774
0.119843
0
0
0
0
0
1
0.142857
false
0
0.107143
0.107143
0.392857
0.071429
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
2e397816f29ae8e8bb6d24921a1b09d777940755
759
py
Python
distances/migrations/0001_initial.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
distances/migrations/0001_initial.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
distances/migrations/0001_initial.py
tkettu/rokego
95c89c45f69604bb407927a1f684f90cc51dd878
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.11 on 2017-04-21 14:57 from __future__ import unicode_literals from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Exercise...
29.192308
138
0.578393
79
759
5.417722
0.78481
0
0
0
0
0
0
0
0
0
0
0.03405
0.264822
759
25
139
30.36
0.732975
0.086957
0
0
1
0
0.082609
0
0
0
0
0
0
1
0
false
0
0.117647
0
0.352941
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e40e57cd67f1950519526b7b24ce0310ca3ce70
2,636
py
Python
events/migrations/0001_initial.py
Akash1S/meethub
3517ec7b4e03ca1fe50e7053fd46349f0b31740c
[ "MIT" ]
428
2018-05-11T16:36:33.000Z
2022-02-05T15:29:23.000Z
events/migrations/0001_initial.py
dmkibuka/meethub
296a1494ab6f2828b61f0b8e4ad80308306fc23a
[ "MIT" ]
15
2018-05-14T16:33:29.000Z
2021-06-09T17:28:14.000Z
events/migrations/0001_initial.py
dmkibuka/meethub
296a1494ab6f2828b61f0b8e4ad80308306fc23a
[ "MIT" ]
53
2018-05-12T10:41:24.000Z
2022-02-23T12:15:33.000Z
# Generated by Django 2.0.4 on 2018-04-21 15:39 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...
42.516129
138
0.583839
267
2,636
5.602996
0.340824
0.032086
0.046791
0.073529
0.463904
0.395053
0.395053
0.395053
0.395053
0.395053
0
0.016273
0.277314
2,636
61
139
43.213115
0.769029
0.017071
0
0.333333
1
0
0.124372
0
0
0
0
0
0
1
0
false
0
0.055556
0
0.12963
0
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
2e4c871c9eef34dbc8e55483cbf3e13983b1b228
4,277
py
Python
source/slask/denavit_hartenberg_symbolic.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
null
null
null
source/slask/denavit_hartenberg_symbolic.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
null
null
null
source/slask/denavit_hartenberg_symbolic.py
johnsjob/master-thesis
97b65d1c64ee3ca7c4caaaf2f8712b8f6a2fccce
[ "MIT" ]
1
2019-11-22T09:57:45.000Z
2019-11-22T09:57:45.000Z
from __future__ import division #--------------------------# import sys #--------------------------# import sympy as s from sympy import cos, sin, pi from sympy.matrices import Matrix as mat #=====================================================# from helperfunctions import matmul_series sys.path.append("../in...
39.601852
95
0.359832
476
4,277
3.079832
0.268908
0.043656
0.036835
0.021828
0.199864
0.191678
0.191678
0.094816
0.094816
0.094816
0
0.040482
0.301146
4,277
107
96
39.971963
0.449983
0.239654
0
0.183908
0
0
0.04693
0
0
0
0
0
0
1
0.137931
false
0
0.08046
0.045977
0.356322
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e4f79d0fbe8deb112ee7e44e8d01c920b3e4ef6
2,451
py
Python
learning_object/collection/manager/modify_one.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
4
2018-04-23T00:04:01.000Z
2018-10-28T22:56:51.000Z
learning_object/collection/manager/modify_one.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
23
2017-12-22T08:27:35.000Z
2021-12-13T19:57:35.000Z
learning_object/collection/manager/modify_one.py
dsvalenciah/ROAp
24cbff0e719c5009ec1f1e7190924d4d9297e992
[ "MIT" ]
1
2020-06-03T02:07:26.000Z
2020-06-03T02:07:26.000Z
""" Contains utility functions to works with learning-object modify. """ from datetime import datetime from manager.exceptions.learning_object import ( LearningObjectNotFoundError, LearningObjectSchemaError, LearningObjectMetadataSchemaError ) import re from marshmallowjson.marshmallowjson import Definition...
29.53012
85
0.723786
279
2,451
6.003584
0.272401
0.208955
0.081194
0.027463
0.075224
0
0
0
0
0
0
0.001992
0.180743
2,451
82
86
29.890244
0.832171
0.035904
0
0.109091
0
0
0.09238
0
0
0
0
0
0
1
0.054545
false
0
0.127273
0.018182
0.2
0.018182
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e7030f8f41b27ff15826639394516c8b28606b2
398
py
Python
cell_imaging_utils/__init__.py
lionben89/BGU_cell_imaging_utils
59e1ea04a050144bd74c8dc03603009006d1fb97
[ "MIT" ]
null
null
null
cell_imaging_utils/__init__.py
lionben89/BGU_cell_imaging_utils
59e1ea04a050144bd74c8dc03603009006d1fb97
[ "MIT" ]
null
null
null
cell_imaging_utils/__init__.py
lionben89/BGU_cell_imaging_utils
59e1ea04a050144bd74c8dc03603009006d1fb97
[ "MIT" ]
null
null
null
from cell_imaging_utils.datasets_metadata.table.datasetes_metadata_csv import DatasetMetadataSCV from cell_imaging_utils.datasets_metadata.dict.datasetes_metadata_pickle import DatasetMetadataPickle __author__ = "Lion Ben Nedava" __email__ = "lionben89@gmail.com" __version__ = "1.0.0" def get_module_version(): r...
28.428571
101
0.834171
45
398
6.666667
0.666667
0.053333
0.1
0.133333
0.24
0.24
0
0
0
0
0
0.013812
0.090452
398
13
102
30.615385
0.814917
0
0
0
0
0
0.19598
0.052764
0
0
0
0
0
1
0.125
false
0
0.25
0.125
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
1
0
0
0
1
2e787144721b25eb7ba6b2b69901be4341471406
3,513
py
Python
githeart/settings.py
andressadotpy/template-projeto-selecao
5db43dd1326c365645d99f6a16ba106a0a579c56
[ "MIT" ]
null
null
null
githeart/settings.py
andressadotpy/template-projeto-selecao
5db43dd1326c365645d99f6a16ba106a0a579c56
[ "MIT" ]
null
null
null
githeart/settings.py
andressadotpy/template-projeto-selecao
5db43dd1326c365645d99f6a16ba106a0a579c56
[ "MIT" ]
null
null
null
from pathlib import Path import os import django_heroku BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) # SECURITY WARNING: keep the secret key used in production secret! SECRET_KEY = 'oab#atjc&)godc&u9k7e1c81_v6^2-79k9wl80_-+ml!2q_jxa' # SECURITY WARNING: don't run with debug turned on in pr...
25.273381
91
0.695417
355
3,513
6.687324
0.414085
0.093092
0.057287
0.029486
0.167228
0.153749
0.079191
0.079191
0.079191
0.079191
0
0.020493
0.180473
3,513
139
92
25.273381
0.804099
0.059778
0
0.078431
0
0
0.500758
0.391265
0
0
0
0
0
1
0
false
0.058824
0.039216
0
0.039216
0
0
0
0
null
0
0
0
0
0
0
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
2e7af00a8e517980ac6ed371d04291eb24311987
386
py
Python
_05_FUNCTIONS_ADVANCED_LAB/_05_min_max_sum.py
Andrey-V-Georgiev/PythonAdvanced
84b53057f5740fdbee309c3fb6e4d31b329e59e7
[ "MIT" ]
1
2020-10-25T11:19:26.000Z
2020-10-25T11:19:26.000Z
_05_FUNCTIONS_ADVANCED_LAB/_05_min_max_sum.py
Andrey-V-Georgiev/PythonAdvanced
84b53057f5740fdbee309c3fb6e4d31b329e59e7
[ "MIT" ]
null
null
null
_05_FUNCTIONS_ADVANCED_LAB/_05_min_max_sum.py
Andrey-V-Georgiev/PythonAdvanced
84b53057f5740fdbee309c3fb6e4d31b329e59e7
[ "MIT" ]
null
null
null
def print_min_max_sum(*args): num_list = list(args[0]) min_num = min(num_list) max_num = max(num_list) sum_num = sum(num_list) print(f'The minimum number is {min_num}') print(f'The maximum number is {max_num}') print(f'The sum number is: {sum_num}') input_string = input() input_numbers = m...
27.571429
49
0.69171
66
386
3.742424
0.318182
0.11336
0.109312
0.11336
0
0
0
0
0
0
0
0.003145
0.176166
386
13
50
29.692308
0.773585
0
0
0
0
0
0.235751
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.090909
0.454545
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
1
2e8638bdcdf84f5c2f2357dbaec575298b866d64
1,440
py
Python
tests/test_generate_trashs.py
PTank/trashtalk
1fc539f1fbe02342fce8f18d5365cfad1902ead8
[ "MIT" ]
null
null
null
tests/test_generate_trashs.py
PTank/trashtalk
1fc539f1fbe02342fce8f18d5365cfad1902ead8
[ "MIT" ]
null
null
null
tests/test_generate_trashs.py
PTank/trashtalk
1fc539f1fbe02342fce8f18d5365cfad1902ead8
[ "MIT" ]
null
null
null
from pathlib import Path from trashtalk import generate_trashs from tests.init_test import generate_trash import pwd def test_add_profil_info(tmpdir): test_file = tmpdir.join('.trashtalk') s = "MEDIA_PATH=/testmediapath\nTRASH_PATH=/testtrashpath , bob" test_file.write(s) f = Path(str(test_file)) ...
37.894737
69
0.695833
186
1,440
5.16129
0.274194
0.175
0.083333
0.1
0.248958
0.192708
0.192708
0.128125
0
0
0
0.011647
0.165278
1,440
37
70
38.918919
0.787022
0
0
0.121212
1
0
0.128472
0.036111
0
0
0
0
0.30303
1
0.090909
false
0
0.121212
0.030303
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e890642c262edf947c25175cccc654d65a136f1
3,634
py
Python
app_questions/models.py
Audiotuete/backend_kassel_api
97bb1f38eea51147660dd2eda052b540293f27a7
[ "MIT" ]
null
null
null
app_questions/models.py
Audiotuete/backend_kassel_api
97bb1f38eea51147660dd2eda052b540293f27a7
[ "MIT" ]
null
null
null
app_questions/models.py
Audiotuete/backend_kassel_api
97bb1f38eea51147660dd2eda052b540293f27a7
[ "MIT" ]
null
null
null
from django.apps import apps as django_apps from django.db import models from django.contrib.postgres.fields import ArrayField # from django.db.transaction import atomic from ordered_model.models import OrderedModel class Question(OrderedModel): poll = models.ForeignKey('app_polls.Poll', on_delete=models.CASCADE, v...
34.942308
149
0.721519
478
3,634
5.188285
0.284519
0.035484
0.041129
0.03871
0.220161
0.16371
0.087903
0.087903
0.087903
0.052419
0
0.005693
0.178316
3,634
103
150
35.281553
0.824849
0.31508
0
0.148148
0
0
0.091609
0
0
0
0
0
0
1
0.055556
false
0.055556
0.074074
0.018519
0.425926
0
0
0
0
null
0
0
0
0
0
0
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
2e89d04cc4e6611a56e44a31eb596c741c6202ff
1,125
py
Python
tests/q01.py
sophiarora/CS61A-Hog
42c13505dc464d827feda0f65249c8eda2834537
[ "Apache-2.0" ]
null
null
null
tests/q01.py
sophiarora/CS61A-Hog
42c13505dc464d827feda0f65249c8eda2834537
[ "Apache-2.0" ]
null
null
null
tests/q01.py
sophiarora/CS61A-Hog
42c13505dc464d827feda0f65249c8eda2834537
[ "Apache-2.0" ]
null
null
null
test = { 'names': [ 'q01', '1', 'q1' ], 'points': 1, 'suites': [ [ { 'locked': True, 'test': """ >>> roll_dice(2, make_test_dice(4, 6, 1)) 0d67364f3a6639e82e67af0673b4cc6e # locked """, 'type': 'doctest' }, { 'lock...
21.634615
90
0.456
93
1,125
5.333333
0.311828
0.080645
0.112903
0.108871
0.481855
0.4375
0.40121
0.209677
0.209677
0.209677
0
0.180758
0.390222
1,125
52
91
21.634615
0.542274
0
0
0.461538
0
0
0.681172
0.142096
0
0
0
0
0
1
0
false
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
2e8aae29360e012b1c3224c167c84344600552de
719
py
Python
hparams.py
twiet/LM-LSTM-CRF
dca4f124fe8f8355740fe95a011a0c7e8ed74c84
[ "Apache-2.0" ]
null
null
null
hparams.py
twiet/LM-LSTM-CRF
dca4f124fe8f8355740fe95a011a0c7e8ed74c84
[ "Apache-2.0" ]
null
null
null
hparams.py
twiet/LM-LSTM-CRF
dca4f124fe8f8355740fe95a011a0c7e8ed74c84
[ "Apache-2.0" ]
null
null
null
class hparams: checkpoint_dir = "./checkpoint/" load_check_point = False rand_embedding = False gpu = 0 batch_size = 10 unk = "unk" char_hidden = 300 word_hidden = 300 drop_out = 0.55 epoch = 200 start_epoch = 0 caseless = True char_dim = 30 word_dim = 100 cha...
20.542857
36
0.595271
100
719
4.02
0.69
0.052239
0
0
0
0
0
0
0
0
0
0.085417
0.332406
719
35
37
20.542857
0.752083
0
0
0
0
0
0.036111
0
0
0
0
0
0
1
0
false
0
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
0
0
0
0
1
0
0
1
5ce93b9cb502b0795612a16bc9e3b85a54d0f9b4
3,612
py
Python
main.py
liatrio/bitbucket-elasticsearch-connector
a008b9ec36c3147e6c835c42f989de1a13e84e8f
[ "MIT" ]
null
null
null
main.py
liatrio/bitbucket-elasticsearch-connector
a008b9ec36c3147e6c835c42f989de1a13e84e8f
[ "MIT" ]
null
null
null
main.py
liatrio/bitbucket-elasticsearch-connector
a008b9ec36c3147e6c835c42f989de1a13e84e8f
[ "MIT" ]
1
2019-06-13T04:54:23.000Z
2019-06-13T04:54:23.000Z
#!/usr/bin/env python # -*- coding: utf-8 -*- from index import index_repos import logging import os import time import requests import json import getpass import sys, signal import atexit try: from argparse import ArgumentParser except ImportError: logging.error("argparse is required to run this script") ...
29.606557
85
0.668605
446
3,612
5.298206
0.316144
0.02116
0.027931
0.038087
0.302581
0.302581
0.270842
0.19763
0.095641
0.061786
0
0.004989
0.223145
3,612
121
86
29.85124
0.837135
0.041251
0
0.234043
0
0
0.249688
0
0
0
0
0
0
0
null
null
0.010638
0.159574
null
null
0.010638
0
0
0
null
0
0
0
0
0
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
5cf64b26b9413f5deadf9990d724d7ffd6c0d070
1,153
py
Python
tests/MacPortsRequirementTest.py
yzgyyang/dependency_management
ecc7520fd045936aff13c074a2a01565dde7471e
[ "MIT" ]
4
2018-09-27T02:31:10.000Z
2018-09-27T02:48:04.000Z
tests/MacPortsRequirementTest.py
yzgyyang/dependency_management
ecc7520fd045936aff13c074a2a01565dde7471e
[ "MIT" ]
null
null
null
tests/MacPortsRequirementTest.py
yzgyyang/dependency_management
ecc7520fd045936aff13c074a2a01565dde7471e
[ "MIT" ]
null
null
null
import unittest import unittest.mock import sarge from dependency_management.requirements.MacPortsRequirement import ( MacPortsRequirement) class MacPortsRequirementTestCase(unittest.TestCase): def test__str__(self): self.assertEqual(str(MacPortsRequirement('figlet')), 'figlet') def test_insta...
36.03125
72
0.658283
105
1,153
7.038095
0.380952
0.081191
0.129905
0.207037
0.508796
0.43843
0.43843
0.43843
0.43843
0.43843
0
0.002334
0.256722
1,153
31
73
37.193548
0.859977
0
0
0.333333
0
0
0.139636
0.100607
0
0
0
0
0.125
1
0.125
false
0
0.166667
0
0.333333
0
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
5cfbd3c623c9b2827d257804ad7761d5b3c80f26
2,939
py
Python
xastropy/spec/continuum.py
nhmc/xastropy
53a554a96b6af540d612cd066303d6fae48ecd3c
[ "BSD-3-Clause" ]
null
null
null
xastropy/spec/continuum.py
nhmc/xastropy
53a554a96b6af540d612cd066303d6fae48ecd3c
[ "BSD-3-Clause" ]
null
null
null
xastropy/spec/continuum.py
nhmc/xastropy
53a554a96b6af540d612cd066303d6fae48ecd3c
[ "BSD-3-Clause" ]
null
null
null
""" #;+ #; NAME: #; continuum #; Version 1.0 #; #; PURPOSE: #; Module for continuum code #; 20-Aug-2015 by JXP #;- #;------------------------------------------------------------------------------ """ from __future__ import print_function, absolute_import, division, unicode_literals import numpy as np import ...
26.718182
82
0.578768
361
2,939
4.565097
0.465374
0.036408
0.020631
0
0
0
0
0
0
0
0
0.018477
0.244981
2,939
109
83
26.963303
0.7242
0.336509
0
0
0
0
0.051046
0.023985
0
0
0
0
0
1
0.054054
false
0
0.324324
0
0.432432
0.027027
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
5cfd20efdfb26398c384b60f9a23cd3f214d5f18
344
py
Python
mathematics/probability/bday-gift.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
41
2018-05-11T07:54:34.000Z
2022-03-29T19:02:32.000Z
mathematics/probability/bday-gift.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
2
2021-09-13T10:03:26.000Z
2021-10-04T10:21:05.000Z
mathematics/probability/bday-gift.py
PingHuskar/hackerrank
1bfdbc63de5d0f94cd9e6ae250476b4a267662f2
[ "Unlicense" ]
21
2019-01-23T19:06:59.000Z
2021-12-23T16:03:47.000Z
# Mathematics > Probability > B'day Gift # Whats the price Isaac has to pay for HackerPhone # # https://www.hackerrank.com/challenges/bday-gift/problem # https://www.hackerrank.com/contests/nov13/challenges/bday-gift # # chaque boule a une probabilité 0.5 d'être ramassée n = int(input()) e = sum(int(input()) for _ in...
26.461538
64
0.723837
55
344
4.509091
0.763636
0.064516
0.145161
0.169355
0
0
0
0
0
0
0
0.016835
0.136628
344
12
65
28.666667
0.818182
0.747093
0
0
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0
0.333333
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
cf0383af071aa4fc758c768c48b6a6b2089f0f96
708
py
Python
meiduo_mell/meiduo_mell/apps/oauth/models.py
fader-zm/kong
360e25a72dc95ca4cd4a6b461d65fdfbd28cf73e
[ "MIT" ]
null
null
null
meiduo_mell/meiduo_mell/apps/oauth/models.py
fader-zm/kong
360e25a72dc95ca4cd4a6b461d65fdfbd28cf73e
[ "MIT" ]
6
2021-02-08T20:29:41.000Z
2022-03-11T23:43:32.000Z
meiduo_mell/meiduo_mell/apps/oauth/models.py
fader-zm/kong
360e25a72dc95ca4cd4a6b461d65fdfbd28cf73e
[ "MIT" ]
null
null
null
from django.db import models from meiduo_mell.utils.models import BaseModel from users.models import User # Create your models here. class OauthQQUser(BaseModel): """ QQ登录用户数据 """ # ForeignKey: 设置外键 # on_delete: 指明主表删除数据时,对于外键引用表数据如何处理 # CASCADE 级联,删除主表数据时连通一起删除外键表中数据 user = models.Forei...
27.230769
82
0.707627
82
708
5.926829
0.621951
0.113169
0
0
0
0
0
0
0
0
0
0.003559
0.206215
708
25
83
28.32
0.86121
0.30226
0
0
0
0
0.053305
0
0
0
0
0
0
1
0
false
0
0.3
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
cf0711591103a33c2db1cb809750c7807c331b58
1,277
py
Python
starthinker_ui/website/management/commands/log.py
dvandra/starthinker
07a8c1f8bf3c7493b1833d54ca0acc9305a04bc9
[ "Apache-2.0" ]
1
2019-07-02T18:25:25.000Z
2019-07-02T18:25:25.000Z
starthinker_ui/website/management/commands/log.py
dvandra/starthinker
07a8c1f8bf3c7493b1833d54ca0acc9305a04bc9
[ "Apache-2.0" ]
null
null
null
starthinker_ui/website/management/commands/log.py
dvandra/starthinker
07a8c1f8bf3c7493b1833d54ca0acc9305a04bc9
[ "Apache-2.0" ]
null
null
null
########################################################################### # # Copyright 2019 Google 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 # # https://www.apache.org...
32.74359
75
0.629601
159
1,277
5
0.622642
0.075472
0.032704
0.040252
0
0
0
0
0
0
0
0.007547
0.16993
1,277
38
76
33.605263
0.742453
0.436962
0
0
0
0
0.134301
0
0
0
0
0
0
0
null
null
0
0.1875
null
null
0.0625
0
0
0
null
0
0
0
0
0
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
cf0e421d7de5685b32fdc1229125d060b89539fc
4,585
py
Python
membership/management/commands/csvtestdata.py
guaq/sikteeri
9a80790666edaa058e9cb42cb9e78626cfc0e565
[ "MIT" ]
null
null
null
membership/management/commands/csvtestdata.py
guaq/sikteeri
9a80790666edaa058e9cb42cb9e78626cfc0e565
[ "MIT" ]
null
null
null
membership/management/commands/csvtestdata.py
guaq/sikteeri
9a80790666edaa058e9cb42cb9e78626cfc0e565
[ "MIT" ]
null
null
null
# encoding: UTF-8 """ Generates test data for CSV import. """ from __future__ import print_function from __future__ import with_statement # http://www.python.org/dev/peps/pep-3101/ # unicode.format() # http://www.python.org/dev/peps/pep-3105/ # print function import codecs from uuid import uuid4 from datetime import...
47.760417
290
0.559215
486
4,585
5.179012
0.409465
0.014303
0.028605
0.046087
0.281287
0.256655
0.181963
0.12793
0.12793
0.085816
0
0.157912
0.33566
4,585
95
291
48.263158
0.668418
0.036641
0
0.033898
1
0.033898
0.171875
0.096788
0
0
0
0
0
1
0.050847
false
0
0.169492
0
0.288136
0.135593
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
cf0f0e2dd0054be8b50953899c86a18bc8c1ae9d
3,289
py
Python
tests/util/sqlalchemy_util_test.py
candango/firenado
c1afbaa9080b1009bd9bbe04eb46328df3d3c90c
[ "Apache-2.0" ]
13
2015-06-01T02:04:06.000Z
2022-01-09T20:28:20.000Z
tests/util/sqlalchemy_util_test.py
candango/firenado
c1afbaa9080b1009bd9bbe04eb46328df3d3c90c
[ "Apache-2.0" ]
198
2015-05-30T18:23:11.000Z
2022-03-30T18:41:52.000Z
tests/util/sqlalchemy_util_test.py
piraz/firenado
135d940557a3b8bccaa84c8e6b105503c525ced8
[ "Apache-2.0" ]
11
2015-05-25T01:35:50.000Z
2021-07-22T15:16:56.000Z
#!/usr/bin/env python # # Copyright 2015-2021 Flavio Garcia # # 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...
43.276316
79
0.692612
430
3,289
5.088372
0.274419
0.073126
0.127971
0.115631
0.423218
0.338208
0.32404
0.215265
0.215265
0.215265
0
0.010663
0.201581
3,289
75
80
43.853333
0.822544
0.174825
0
0.24
0
0
0.092627
0
0
0
0
0
0.32
1
0.06
false
0.08
0.1
0
0.38
0
0
0
0
null
0
0
0
0
0
0
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
cf11b2c98be65551f60b1a1a4110fab5204de68e
1,586
py
Python
compare.py
MichaelRiabzev/directoriesCompare
851c5360cfc71c2c821bb2eafc44379ded15d733
[ "MIT" ]
null
null
null
compare.py
MichaelRiabzev/directoriesCompare
851c5360cfc71c2c821bb2eafc44379ded15d733
[ "MIT" ]
null
null
null
compare.py
MichaelRiabzev/directoriesCompare
851c5360cfc71c2c821bb2eafc44379ded15d733
[ "MIT" ]
null
null
null
import hashlib import os import datetime import sys def md5(fname): hash_md5 = hashlib.md5() with open(fname, "rb") as f: for chunk in iter(lambda: f.read(4096), b""): hash_md5.update(chunk) return hash_md5.hexdigest() def compareTables(A,B): onlyInA = [] onlyInB = [] corre...
21.726027
71
0.605927
213
1,586
4.497653
0.305164
0.056367
0.087683
0.068894
0.298539
0.298539
0.235908
0.146138
0.146138
0.146138
0
0.011844
0.254729
1,586
72
72
22.027778
0.798646
0
0
0.2
0
0
0.074401
0
0
0
0
0
0
0
null
null
0
0.072727
null
null
0.163636
0
0
0
null
0
0
0
0
0
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
cf14ad73154d5483bfaa7617accd9e2a25196e7e
666
py
Python
spellchecker/Spellcheck.py
sa91/Ideas
2c789e76103d2e0766217596d4fa8a043dd05d4b
[ "MIT" ]
null
null
null
spellchecker/Spellcheck.py
sa91/Ideas
2c789e76103d2e0766217596d4fa8a043dd05d4b
[ "MIT" ]
null
null
null
spellchecker/Spellcheck.py
sa91/Ideas
2c789e76103d2e0766217596d4fa8a043dd05d4b
[ "MIT" ]
null
null
null
from Preprocess import pre_process from Getembedding import embed from Predictor import predictor """ Input of this file can be changed to stream word or anything that can be used to check spelling For now: It takes a word, preprocess it get embedding of the word send it to predictor ...
28.956522
99
0.681682
92
666
4.913043
0.478261
0.044248
0
0
0
0
0
0
0
0
0
0
0.258258
666
22
100
30.272727
0.91498
0
0
0
0
0
0.20073
0
0
0
0
0
0
1
0
false
0
0.375
0
0.375
0.125
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cf1e037fe501e72841d3dd86eaff5225e351510c
34,051
py
Python
docker-jans-configurator/scripts/bootstrap.py
duttarnab/jans
b4ae02f9cb60433a44a2b889268525532d82a247
[ "Apache-2.0" ]
null
null
null
docker-jans-configurator/scripts/bootstrap.py
duttarnab/jans
b4ae02f9cb60433a44a2b889268525532d82a247
[ "Apache-2.0" ]
null
null
null
docker-jans-configurator/scripts/bootstrap.py
duttarnab/jans
b4ae02f9cb60433a44a2b889268525532d82a247
[ "Apache-2.0" ]
null
null
null
import json import logging.config import os import random import socket import time from functools import partial from uuid import uuid4 import click from jans.pycloudlib import get_manager from jans.pycloudlib import wait_for from jans.pycloudlib.utils import get_random_chars from jans.pycloudlib.utils import get_sy...
34.88832
127
0.613609
4,228
34,051
4.657285
0.10123
0.041593
0.042913
0.008126
0.564522
0.447057
0.364278
0.301407
0.257224
0.218018
0
0.009798
0.271622
34,051
975
128
34.924103
0.78413
0.054976
0
0.360265
0
0
0.202211
0.074327
0
0
0
0.001026
0.001325
1
0.056954
false
0.112583
0.034437
0.009272
0.123179
0
0
0
0
null
0
0
0
0
0
0
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
cf233e774ae8f692e0b48be0a55596893f2555f6
9,130
py
Python
Lib/test/test_async.py
pyparallel/pyparallel
11e8c6072d48c8f13641925d17b147bf36ee0ba3
[ "PSF-2.0" ]
652
2015-07-26T00:00:17.000Z
2022-02-24T18:30:04.000Z
Lib/test/test_async.py
tpn/pyparallel
11e8c6072d48c8f13641925d17b147bf36ee0ba3
[ "PSF-2.0" ]
8
2015-09-07T03:38:19.000Z
2021-05-23T03:18:51.000Z
Lib/test/test_async.py
tpn/pyparallel
11e8c6072d48c8f13641925d17b147bf36ee0ba3
[ "PSF-2.0" ]
40
2015-07-24T19:45:08.000Z
2021-11-01T14:54:56.000Z
import os import sys import atexit import unittest import tempfile import async import _async import socket from socket import ( AF_INET, SOCK_STREAM, ) def tcpsock(): return socket.socket(AF_INET, SOCK_STREAM) CHARGEN = [ r""" !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefg""",...
27.920489
80
0.59299
1,136
9,130
4.46919
0.147887
0.036242
0.047272
0.070908
0.618869
0.578885
0.563719
0.551113
0.506401
0.475084
0
0.018672
0.284337
9,130
326
81
28.006135
0.758341
0.003614
0
0.54023
0
0
0.028145
0.007237
0
0
0
0
0.114943
0
null
null
0
0.034483
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
cf23410ea9293bdb4f427e524f83c0baff5f10cf
1,094
py
Python
relezoo/cli/cli.py
Ohtar10/rele-zoo
9c1da79358c1aba12512eddbc1589e96e2ba9e2b
[ "Apache-2.0" ]
null
null
null
relezoo/cli/cli.py
Ohtar10/rele-zoo
9c1da79358c1aba12512eddbc1589e96e2ba9e2b
[ "Apache-2.0" ]
null
null
null
relezoo/cli/cli.py
Ohtar10/rele-zoo
9c1da79358c1aba12512eddbc1589e96e2ba9e2b
[ "Apache-2.0" ]
1
2022-01-28T15:05:35.000Z
2022-01-28T15:05:35.000Z
import logging import click from relezoo.__version__ import __version__ from relezoo.algorithms import reinforce from relezoo.utils.console import start_python_console def docstring_parameter(*sub): """Decorate the main click command to format the docstring.""" def dec(obj): obj.__doc__ = obj.__doc_...
28.051282
89
0.710238
141
1,094
5.276596
0.475177
0.037634
0.048387
0
0
0
0
0
0
0
0
0.001086
0.158135
1,094
38
90
28.789474
0.806732
0.112431
0
0.08
0
0
0.153927
0
0
0
0
0
0
1
0.16
false
0.08
0.2
0
0.44
0
0
0
0
null
0
0
0
0
0
0
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
cf27128e8747cd94626a6d8707fe7ab8a203b062
606
py
Python
rompy/__init__.py
pbranson/rompy
36a6adaf0ce61f7943cbad545f93fa396f61b6cf
[ "BSD-3-Clause" ]
1
2021-02-14T21:13:04.000Z
2021-02-14T21:13:04.000Z
rompy/__init__.py
pbranson/rompy
36a6adaf0ce61f7943cbad545f93fa396f61b6cf
[ "BSD-3-Clause" ]
8
2021-02-10T04:47:26.000Z
2021-10-12T06:35:28.000Z
rompy/__init__.py
pbranson/rompy
36a6adaf0ce61f7943cbad545f93fa396f61b6cf
[ "BSD-3-Clause" ]
4
2021-02-15T00:39:20.000Z
2022-03-05T11:43:11.000Z
#----------------------------------------------------------------------------- # Copyright (c) 2020 - 2021, CSIRO # # All rights reserved. # # The full license is in the LICENSE file, distributed with this software. #----------------------------------------------------------------------------- import logging import w...
27.545455
78
0.559406
63
606
5.174603
0.666667
0.055215
0.110429
0
0
0
0
0
0
0
0
0.014679
0.10066
606
21
79
28.857143
0.583486
0.465347
0
0
0
0
0.097792
0
0
0
0
0
0
1
0
false
0
0.5
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
1
0
0
0
0
1
cf27481bf45502d606c4b9261319086a957de16a
680
py
Python
functions/id_check.py
joao-lanzarini/sales-analytics-python
c9a38a1153d9d56405a85aac8726bcafbdecb001
[ "MIT" ]
null
null
null
functions/id_check.py
joao-lanzarini/sales-analytics-python
c9a38a1153d9d56405a85aac8726bcafbdecb001
[ "MIT" ]
null
null
null
functions/id_check.py
joao-lanzarini/sales-analytics-python
c9a38a1153d9d56405a85aac8726bcafbdecb001
[ "MIT" ]
null
null
null
import csv def check(file='inventory', action=''): while True: line = 0 check = False i = input(f'Product ID to {action} [0 to exit]: ') if i != '0': with open (f'./{file}.csv') as file: reader = csv.reader(file) lines = list(reader) ...
20.606061
58
0.382353
71
680
3.661972
0.535211
0.038462
0.1
0
0
0
0
0
0
0
0
0.018405
0.520588
680
32
59
21.25
0.779141
0
0
0.291667
0
0
0.104412
0
0
0
0
0
0
1
0.041667
false
0
0.041667
0
0.125
0.041667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf2773f2e21659594b70b7a199ec0c29b5d54714
2,459
py
Python
nicos/devices/datasinks/text.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos/devices/datasinks/text.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
nicos/devices/datasinks/text.py
jkrueger1/nicos
5f4ce66c312dedd78995f9d91e8a6e3c891b262b
[ "CC-BY-3.0", "Apache-2.0", "CC-BY-4.0" ]
null
null
null
# -*- coding: utf-8 -*- # ***************************************************************************** # NICOS, the Networked Instrument Control System of the MLZ # Copyright (c) 2009-2022 by the NICOS contributors (see AUTHORS) # # This program is free software; you can redistribute it and/or modify it under # the te...
31.525641
79
0.675478
291
2,459
5.707904
0.508591
0.012041
0.036123
0.034317
0.246839
0.231186
0.197471
0.197471
0.138471
0.075858
0
0.011776
0.171208
2,459
77
80
31.935065
0.803238
0.492883
0
0.275862
0
0
0.066445
0
0
0
0
0
0
1
0.137931
false
0
0.172414
0
0.827586
0
0
0
0
null
0
0
0
0
0
0
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
cf2eb21c3d7218d5e388937736ad1ecc3b27ef85
737
py
Python
app/src/yolov3/models/layers/upsample_layer.py
customr/detection_demo
6ece88da182359f3daa4c529bdd17dfd8e4cff9f
[ "MIT" ]
58
2018-10-12T07:54:01.000Z
2021-08-19T11:42:37.000Z
app/src/yolov3/models/layers/upsample_layer.py
customr/detection_demo
6ece88da182359f3daa4c529bdd17dfd8e4cff9f
[ "MIT" ]
7
2018-10-29T05:02:37.000Z
2021-06-30T09:30:13.000Z
app/src/yolov3/models/layers/upsample_layer.py
customr/detection_demo
6ece88da182359f3daa4c529bdd17dfd8e4cff9f
[ "MIT" ]
24
2018-11-07T14:50:47.000Z
2021-05-14T01:53:29.000Z
import tensorflow as tf def upsample_layer(name, inputs): """ Takes the outputs of the previous convolutional layer and upsamples them by a factor of two using the 'nearest neighbor' method. Parameters ---------- name : string The name of the tensor to be used in TensorBoard. input...
25.413793
97
0.618725
100
737
4.5
0.53
0.033333
0.057778
0.115556
0.137778
0
0
0
0
0
0
0.011407
0.286296
737
28
98
26.321429
0.844106
0.602442
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
cf308164e4694925539c07934eb6c376920ecc04
793
py
Python
Coursera/Google_IT_Automation_with_Python/01_Crash_Course_on_Python/Week_3/wk3_mod1_ex3.py
ssolomon2020/Self_Study_Python_Training
b253093b185f4a0d98cb8565f5fcf2b0e4a99556
[ "MIT" ]
null
null
null
Coursera/Google_IT_Automation_with_Python/01_Crash_Course_on_Python/Week_3/wk3_mod1_ex3.py
ssolomon2020/Self_Study_Python_Training
b253093b185f4a0d98cb8565f5fcf2b0e4a99556
[ "MIT" ]
null
null
null
Coursera/Google_IT_Automation_with_Python/01_Crash_Course_on_Python/Week_3/wk3_mod1_ex3.py
ssolomon2020/Self_Study_Python_Training
b253093b185f4a0d98cb8565f5fcf2b0e4a99556
[ "MIT" ]
null
null
null
# Specialization: Google IT Automation with Python # Course 01: Crash Course with Python # Week 3 Module Part 1 Exercise 03 # Student: Shawn Solomon # Learning Platform: Coursera.org # The following code causes an infinite loop. Can you figure out what’s missing and how to fix it? # def print_range(start, end...
33.041667
99
0.668348
130
793
4.046154
0.530769
0.076046
0.04943
0.068441
0.48289
0.48289
0.48289
0.48289
0.48289
0.48289
0
0.035413
0.252207
793
24
100
33.041667
0.851602
0.799496
0
0
0
0
0
0
0
0
0
0
0
1
0.166667
false
0
0
0
0.166667
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
cf33f469dc663574f2af02ae18eeb25431f75b5c
16,786
py
Python
individual.py
gabrielbiasi/evolutionary-rubiks-cube
1a038c97c7f77bc87cecc6e3e434cc6507a2fbca
[ "MIT" ]
1
2019-01-10T02:19:48.000Z
2019-01-10T02:19:48.000Z
individual.py
gabrielbiasi/evolutionary-rubiks-cube
1a038c97c7f77bc87cecc6e3e434cc6507a2fbca
[ "MIT" ]
null
null
null
individual.py
gabrielbiasi/evolutionary-rubiks-cube
1a038c97c7f77bc87cecc6e3e434cc6507a2fbca
[ "MIT" ]
1
2019-01-10T02:19:50.000Z
2019-01-10T02:19:50.000Z
# -*- coding: utf-8 -*- """ Universidade Federal de Minas Gerais Departamento de Ciência da Computação Programa de Pós-Graduação em Ciência da Computação Computação Natural Trabalho Prático 1 Feito por Gabriel de Biasi, 2016672212. """ #--------------------------------------------------------------# #---------------...
39.589623
91
0.451507
2,296
16,786
3.267422
0.141115
0.082111
0.126899
0.010664
0.507598
0.453479
0.417355
0.386963
0.386963
0.386963
0
0.052304
0.387227
16,786
423
92
39.683215
0.677037
0.215298
0
0.421739
0
0
0.026513
0
0
0
0
0.016548
0
1
0.030435
false
0
0.013043
0.004348
0.091304
0.004348
0
0
0
null
0
0
0
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
cf34462b50720506ad75987b7385c43fe946d4b2
394
py
Python
course_api/migrations/0017_auto_20180404_2343.py
dragonbone81/bobcat-courses-backend
d0f98b837f37eb16a89a24ce9bd3f3f0fd52064c
[ "MIT" ]
3
2018-10-25T12:41:33.000Z
2019-09-19T19:47:39.000Z
course_api/migrations/0017_auto_20180404_2343.py
dragonbone81/bobcat-courses-backend
d0f98b837f37eb16a89a24ce9bd3f3f0fd52064c
[ "MIT" ]
22
2018-04-01T02:43:01.000Z
2022-03-11T23:15:55.000Z
course_api/migrations/0017_auto_20180404_2343.py
dragonbone81/cse120
d0f98b837f37eb16a89a24ce9bd3f3f0fd52064c
[ "MIT" ]
1
2019-09-19T19:48:59.000Z
2019-09-19T19:48:59.000Z
# Generated by Django 2.0.3 on 2018-04-05 06:43 from django.db import migrations class Migration(migrations.Migration): dependencies = [ ('course_api', '0016_subjectcourse_course_description'), ] operations = [ migrations.RenameField( model_name='course', old_nam...
20.736842
64
0.616751
42
394
5.571429
0.785714
0
0
0
0
0
0
0
0
0
0
0.066901
0.279188
394
18
65
21.888889
0.757042
0.114213
0
0
1
0
0.227666
0.106628
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
cf39d25e8b452783680f525859caaf780a2e0e9d
3,574
py
Python
src/tests/sources/test_data_loader.py
zaxmks/demo-data-compliance-service
372e612c570aaf5b512bec17627f825e880add67
[ "CNRI-Python", "CECILL-B" ]
null
null
null
src/tests/sources/test_data_loader.py
zaxmks/demo-data-compliance-service
372e612c570aaf5b512bec17627f825e880add67
[ "CNRI-Python", "CECILL-B" ]
null
null
null
src/tests/sources/test_data_loader.py
zaxmks/demo-data-compliance-service
372e612c570aaf5b512bec17627f825e880add67
[ "CNRI-Python", "CECILL-B" ]
null
null
null
import pytest import pandas as pd from src.clients.s3_client import S3Client from src.sources.data_loader import DataLoader def test_init(): dl = DataLoader("test_source", "test_client") assert dl.data_source == "test_source" assert dl.client == "test_client" # def test_load_when_database_client(): # ...
33.092593
84
0.705932
484
3,574
5.030992
0.173554
0.045996
0.068994
0.091992
0.655852
0.625462
0.625462
0.584394
0.555236
0.449281
0
0.0118
0.170118
3,574
107
85
33.401869
0.809171
0.18103
0
0.432836
0
0
0.232806
0.18707
0
0
0
0
0.522388
1
0.134328
false
0
0.059701
0
0.19403
0
0
0
0
null
0
0
0
0
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
cf3b3d6b365870cbd4204fc215f7dae472bc5b64
1,863
py
Python
tests/Eva_auth_test.py
Charlesworth/eva_python_sdk
62575faaa538f25258ea5ba3e3dd96227b8f1daf
[ "Apache-2.0" ]
14
2019-03-11T13:15:54.000Z
2021-05-28T10:38:33.000Z
tests/Eva_auth_test.py
Charlesworth/eva_python_sdk
62575faaa538f25258ea5ba3e3dd96227b8f1daf
[ "Apache-2.0" ]
69
2019-04-13T14:57:05.000Z
2022-03-24T12:36:43.000Z
tests/Eva_auth_test.py
Charlesworth/eva_python_sdk
62575faaa538f25258ea5ba3e3dd96227b8f1daf
[ "Apache-2.0" ]
14
2019-06-11T09:49:39.000Z
2021-07-06T14:38:35.000Z
from evasdk import EvaAutoRenewError, EvaError import time import pytest # TODO: this rely on having an actual robot, should be rewritten to be mockable @pytest.mark.robot_required class TestAuth: def test_create_new_session(self, eva): token = eva.auth_create_session() assert(len(token) == 36) ...
30.540984
79
0.645196
248
1,863
4.544355
0.379032
0.042591
0.044366
0.070985
0.296362
0.193434
0.172138
0.1189
0
0
0
0.011782
0.271068
1,863
60
80
31.05
0.818115
0.17284
0
0.225
0
0
0.018905
0
0
0
0
0.016667
0.1
1
0.125
false
0.025
0.075
0
0.225
0
0
0
0
null
0
0
0
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
cf40aed6308c5cb31889e2f72a77597bcc912c63
6,924
py
Python
vyvyan/validate/__init__.py
downneck/vyvyan
e5375b9ed049d47cff69618359ce45159b53853b
[ "Apache-2.0" ]
null
null
null
vyvyan/validate/__init__.py
downneck/vyvyan
e5375b9ed049d47cff69618359ce45159b53853b
[ "Apache-2.0" ]
null
null
null
vyvyan/validate/__init__.py
downneck/vyvyan
e5375b9ed049d47cff69618359ce45159b53853b
[ "Apache-2.0" ]
null
null
null
# Copyright 2015 WebEffects Network, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in ...
29.21519
111
0.623628
956
6,924
4.444561
0.23431
0.070605
0.018122
0.022594
0.516827
0.475406
0.432572
0.399623
0.368322
0.355378
0
0.007675
0.284951
6,924
236
112
29.338983
0.850535
0.170277
0
0.323529
0
0.009804
0.199489
0.035249
0
0
0
0.004237
0
0
null
null
0.009804
0.04902
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
cf430c17987cc7aad5fc5c256c6a1ab8966132eb
1,747
py
Python
x_rebirth_station_calculator/station_data/modules/warhead_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
1
2016-04-17T11:00:22.000Z
2016-04-17T11:00:22.000Z
x_rebirth_station_calculator/station_data/modules/warhead_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
x_rebirth_station_calculator/station_data/modules/warhead_forge.py
Phipsz/XRebirthStationCalculator
ac31c2f5816be34a7df2d7c4eb4bd5e01f7ff835
[ "MIT" ]
null
null
null
from x_rebirth_station_calculator.station_data.station_base import Module from x_rebirth_station_calculator.station_data.station_base import Production from x_rebirth_station_calculator.station_data.station_base import Consumption from x_rebirth_station_calculator.station_data import wares names = {'L044': 'Warhead Fo...
51.382353
78
0.612479
147
1,747
7.14966
0.326531
0.289248
0.045671
0.072312
0.417697
0.417697
0.320647
0.282588
0.162702
0.162702
0
0.04882
0.296508
1,747
33
79
52.939394
0.806347
0
0
0.142857
0
0
0.028048
0
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0
0
0
0
null
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
cf4581f23f5856e2d61cada4e2272dcf4c6da329
381
py
Python
programming-laboratory-I/ltjc/porta.py
MisaelAugusto/computer-science
d21335a2dc824b54ffe828370f0e6717fd0c7c27
[ "MIT" ]
null
null
null
programming-laboratory-I/ltjc/porta.py
MisaelAugusto/computer-science
d21335a2dc824b54ffe828370f0e6717fd0c7c27
[ "MIT" ]
null
null
null
programming-laboratory-I/ltjc/porta.py
MisaelAugusto/computer-science
d21335a2dc824b54ffe828370f0e6717fd0c7c27
[ "MIT" ]
null
null
null
# coding: utf-8 # Aluno: Misael Augusto # Matrícula: 117110525 # Problema: Porta Eletrônica registrados = [] while True: entrada = raw_input().split() if entrada[0] == "S": break else: categoria = entrada[1] if entrada[0] == "R": registrados.append(categoria[0]) else: n = 0 for r in registrados: ...
15.24
35
0.60105
50
381
4.56
0.62
0.078947
0.087719
0
0
0
0
0
0
0
0
0.060498
0.262467
381
24
36
15.875
0.75089
0.217848
0
0.133333
0
0
0.006826
0
0
0
0
0
0
0
null
null
0
0
null
null
0.066667
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf469a235bb546edde432c22f756c986b135d9f7
2,498
py
Python
yatube/apps/posts/admin.py
azharkih/PetBlog
691d5e2ebdff0148e195d84442ff52acc0f036c3
[ "BSD-3-Clause" ]
1
2021-04-08T07:46:19.000Z
2021-04-08T07:46:19.000Z
yatube/apps/posts/admin.py
azharkih/PetBlog
691d5e2ebdff0148e195d84442ff52acc0f036c3
[ "BSD-3-Clause" ]
null
null
null
yatube/apps/posts/admin.py
azharkih/PetBlog
691d5e2ebdff0148e195d84442ff52acc0f036c3
[ "BSD-3-Clause" ]
null
null
null
from django.contrib import admin from .models import Comment, Follow, Group, Post class PostAdmin(admin.ModelAdmin): """ Класс PostAdmin используется для конфигурации отображения модели Post в админ-панели. Атрибуты класса -------- list_display : Tuple[str] Список отображаемых полей ...
28.067416
79
0.683747
272
2,498
6.147059
0.231618
0.043062
0.075359
0.056818
0.681818
0.560407
0.560407
0.560407
0.560407
0.560407
0
0
0.218975
2,498
88
80
28.386364
0.856996
0.542434
0
0.173913
0
0
0.149049
0
0
0
0
0
0
1
0
false
0
0.086957
0
0.826087
0
0
0
0
null
0
0
0
0
0
0
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
cf48509b3ee165b82b62c28d600a2437f474e21a
2,994
py
Python
misc.py
soerenjalas/Laser
8075a8d2f060832de76233b85bffc5cbb77dd7e0
[ "MIT" ]
null
null
null
misc.py
soerenjalas/Laser
8075a8d2f060832de76233b85bffc5cbb77dd7e0
[ "MIT" ]
null
null
null
misc.py
soerenjalas/Laser
8075a8d2f060832de76233b85bffc5cbb77dd7e0
[ "MIT" ]
null
null
null
import numpy as np def gauss2D(x, y, fwhmx, fwhmy, x0=0, y0=0, offset=0, order=1, int_FWHM=True): """ Define a (super-)Gaussian 2D beam. Identical to laser.misc.gauss2D. Parameters ---------- x: float 2D np.array Horizontal axis of the Gaussian y: float 2D np.array Vertical a...
27.722222
144
0.608216
447
2,994
4.029083
0.252796
0.04442
0.086619
0.024431
0.551916
0.524709
0.524709
0.524709
0.455858
0.403665
0
0.03051
0.266533
2,994
107
145
27.981308
0.789617
0.547428
0
0.230769
0
0
0.010517
0
0
0
0
0
0
1
0.307692
false
0
0.038462
0
0.653846
0.038462
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
cf4cd682222e508e163966783fc04a8b35a0fda3
557
py
Python
lib/opengl/postproc/Bypass.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
1
2021-11-05T11:49:26.000Z
2021-11-05T11:49:26.000Z
lib/opengl/postproc/Bypass.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
lib/opengl/postproc/Bypass.py
defgsus/thegame
38a627d9108f1418b94b08831fd640dd87fbba83
[ "MIT" ]
null
null
null
from .base import PostProcNode class Bypass(PostProcNode): def __init__(self, name, alpha=None): super().__init__(name) self.alpha = alpha def get_code(self): return """ void mainImage(out vec4 fragColor, in vec2 fragCoord, in vec2 texCoord) { fragColor = texture(...
24.217391
81
0.527828
60
557
4.733333
0.616667
0.09507
0
0
0
0
0
0
0
0
0
0.016901
0.362657
557
22
82
25.318182
0.783099
0
0
0
0
0
0.46223
0
0
0
0
0
0
1
0.117647
false
0.058824
0.058824
0.058824
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
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1
cf4ec052ba62d2df76bdbce9ca8f1d8603630b15
671
py
Python
deep_learning_with_tensorFlow/Chapter08/p204.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
3
2018-06-07T07:15:00.000Z
2018-10-09T07:59:50.000Z
deep_learning_with_tensorFlow/Chapter08/p204.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
null
null
null
deep_learning_with_tensorFlow/Chapter08/p204.py
pearpai/TensorFlow-action
264099d933988532ed59eaf0f2ad495d40ede4d2
[ "Apache-2.0" ]
4
2017-04-23T05:30:41.000Z
2018-09-27T07:13:37.000Z
# coding=utf-8 import numpy as np X = [1, 2] state = [0.0, 0.0] # 分开定义不同输入部分的权重以方便操作 w_cell_state = np.asarray([[0.1, 0.2], [0.3, 0.4]]) w_cell_input = np.asarray([0.5, 0.6]) b_cell = np.asarray([0.1, -0.1]) # 定义用于输出的全连接层参数 w_output = np.asarray([[1.0], [2.0]]) b_output = 0.1 # 按照时间信息执行循环神经网络 for i in range(len(X)):...
23.964286
82
0.655738
110
671
3.827273
0.354545
0.047506
0.071259
0.052257
0.057007
0
0
0
0
0
0
0.053016
0.184799
671
27
83
24.851852
0.716636
0.150522
0
0
0
0
0.060498
0
0
0
0
0
0
0
null
null
0
0.066667
null
null
0.2
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf5011ad0b247563cb3cbf41fc2ebc431ee6e0a3
1,985
py
Python
lib/RequestHandler.py
audrummer15/motif-crawler
4f3f05ef7304c258c41e5f4e61e13e834a6eb56c
[ "MIT" ]
null
null
null
lib/RequestHandler.py
audrummer15/motif-crawler
4f3f05ef7304c258c41e5f4e61e13e834a6eb56c
[ "MIT" ]
null
null
null
lib/RequestHandler.py
audrummer15/motif-crawler
4f3f05ef7304c258c41e5f4e61e13e834a6eb56c
[ "MIT" ]
null
null
null
import pycurl from StringIO import StringIO class RequestHandler(object): USER_AGENT = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36" def __init__(self, cookieJar=None): if cookieJar != None: if isinstance(cookieJa...
38.173077
139
0.636776
229
1,985
5.423581
0.384279
0.064412
0.10628
0.164251
0.409018
0.375201
0.225443
0.225443
0.225443
0.225443
0
0.020367
0.257935
1,985
51
140
38.921569
0.822811
0.011587
0
0.333333
0
0.02381
0.167347
0.052041
0
0
0
0
0
1
0.095238
false
0
0.047619
0
0.238095
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
cf5199415c17493eb0b4c5efd9a3e68f3ac0b714
7,377
py
Python
ianlmk/pyStuff/data_structs_1.py
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
ianlmk/pyStuff/data_structs_1.py
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
1
2022-03-25T18:34:47.000Z
2022-03-25T18:35:23.000Z
ianlmk/pyStuff/data_structs_1.py
ianlmk/cs161
7a50740d1642ca0111a6d0d076b600744552a066
[ "MIT" ]
null
null
null
#!/usr/bin/ python3 ''' author: < Ian LaMotte-Kerr description: < just a study on structures in python input: < none for now output: < various shit related to data types, structures and algorithms return: < if you have to ''' import sys impor...
34.152778
117
0.504134
897
7,377
4.146042
0.276477
0.017747
0.017747
0.004302
0.224254
0.12584
0.097607
0.097607
0.079054
0.070987
0
0.020086
0.17663
7,377
215
118
34.311628
0.592196
0.21933
0
0.25
0
0.056452
0.566508
0.223459
0.016129
0
0
0
0
1
0
false
0
0.016129
0
0.016129
0.629032
0
0
0
null
0
0
0
0
0
0
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
cf554e3ee2f3158d3f1f747b1c1e67d7534e16fa
665
py
Python
models/__init__.py
mdca-aux-loss/MDCA-Calibration
de8d0986a3b8b5794df316b577bc21c8c501ef36
[ "MIT" ]
8
2022-03-09T07:23:12.000Z
2022-03-15T04:48:59.000Z
models/__init__.py
mdca-aux-loss/MDCA-Calibration
de8d0986a3b8b5794df316b577bc21c8c501ef36
[ "MIT" ]
null
null
null
models/__init__.py
mdca-aux-loss/MDCA-Calibration
de8d0986a3b8b5794df316b577bc21c8c501ef36
[ "MIT" ]
null
null
null
from .resnet import resnet20, resnet32, resnet56, resnet110 from .mendley_networks import resnet50_mendley from .resnet_pacs import resnet18_pacs from .resnet_mnist import resnet20_mnist from .resnet_imagenet import resnet34, resnet50 model_dict = { # resnet models can be used for cifar10/100, svhn # mendley m...
27.708333
59
0.738346
77
665
6.168831
0.363636
0.084211
0.037895
0
0
0
0
0
0
0
0
0.107011
0.184962
665
24
60
27.708333
0.769373
0.148872
0
0
0
0
0.187943
0
0
0
0
0
0
1
0
false
0
0.3125
0
0.3125
0
0
0
0
null
0
0
0
0
0
0
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
cf5bb51e3074167e44f129d376e087b8b42f5679
1,224
py
Python
3_DnD_Generator.py
OzymandiasThe2/DnD_Project
be2d0ca067630633b36951146f95894840754f27
[ "MIT" ]
null
null
null
3_DnD_Generator.py
OzymandiasThe2/DnD_Project
be2d0ca067630633b36951146f95894840754f27
[ "MIT" ]
null
null
null
3_DnD_Generator.py
OzymandiasThe2/DnD_Project
be2d0ca067630633b36951146f95894840754f27
[ "MIT" ]
null
null
null
from dice_gen import dice_details from monster_gen import monster_details from name_gen import name_details from player_gen import final_ran_stats from weapon_gen import generate_random_weapon from NPC_gen_vince import generate_random_race def main(): def clear(arr): for x in arr: x.reset() ...
29.142857
109
0.606209
161
1,224
4.403727
0.42236
0.06347
0.080395
0.053597
0
0
0
0
0
0
0
0.016432
0.303922
1,224
41
110
29.853659
0.815728
0.033497
0
0.114286
1
0.028571
0.168787
0
0
0
0
0
0
1
0.057143
false
0
0.171429
0
0.228571
0.171429
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
cf5dc1b728580edba50eb9f537551379d5fb81bf
1,848
py
Python
src/qraz/frontend/migrations/0001_initial.py
fladi/qraz
7e2fb4b9dc1decb3f5aa390990c02091d4326ef8
[ "BSD-2-Clause" ]
null
null
null
src/qraz/frontend/migrations/0001_initial.py
fladi/qraz
7e2fb4b9dc1decb3f5aa390990c02091d4326ef8
[ "BSD-2-Clause" ]
null
null
null
src/qraz/frontend/migrations/0001_initial.py
fladi/qraz
7e2fb4b9dc1decb3f5aa390990c02091d4326ef8
[ "BSD-2-Clause" ]
null
null
null
# -*- coding: utf-8 -*- # Generated by Django 1.9 on 2015-12-28 13:20 from __future__ import unicode_literals from django.conf import settings from django.db import migrations, models import django.db.models.deletion import django_extensions.db.fields import django_fsm import markupfield.fields import qraz.frontend.mo...
46.2
151
0.668831
204
1,848
5.887255
0.460784
0.064113
0.037469
0.036636
0
0
0
0
0
0
0
0.016227
0.199675
1,848
39
152
47.384615
0.795808
0.035173
0
0
1
0
0.125843
0
0
0
0
0
0
1
0
false
0
0.258065
0
0.387097
0
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
cf62652a744a4c85e461b1340316000f653d53e3
2,084
py
Python
asab/zookeeper/builder.py
TeskaLabs/asab
f28894b62bad192d8d30df01a8ad1b842ee2a2fb
[ "BSD-3-Clause" ]
23
2018-03-07T18:58:13.000Z
2022-03-29T17:11:47.000Z
asab/zookeeper/builder.py
TeskaLabs/asab
f28894b62bad192d8d30df01a8ad1b842ee2a2fb
[ "BSD-3-Clause" ]
87
2018-04-04T19:44:13.000Z
2022-03-31T11:18:00.000Z
asab/zookeeper/builder.py
TeskaLabs/asab
f28894b62bad192d8d30df01a8ad1b842ee2a2fb
[ "BSD-3-Clause" ]
10
2018-04-30T16:40:25.000Z
2022-03-09T10:55:24.000Z
from urllib.parse import urlparse import aiozk import logging L = logging.getLogger(__name__) """ This module builds ZooKeeper clients from Configs and urls urls supported : 1. Absolute url. Example: zookeeper://zookeeper:12181/etc/configs/file1 2. Relative ur1 with full path Example: zookeeper:///etc/configs/file1...
32.061538
117
0.736564
302
2,084
4.97351
0.291391
0.041944
0.049933
0.039947
0.370839
0.370839
0.370839
0.276298
0.245007
0.245007
0
0.00977
0.165067
2,084
64
118
32.5625
0.853448
0.100768
0
0.074074
0
0
0.195829
0
0
0
0
0
0
1
0.037037
false
0.074074
0.111111
0
0.259259
0
0
0
0
null
0
0
0
0
0
0
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
cf62bf6145372d270f09119938d4356c403de452
4,747
py
Python
src/eval_pp.py
jerichooconnell/lcse_tools
6ef12584d0b544adebe057e47e1a78382b522042
[ "Apache-2.0" ]
null
null
null
src/eval_pp.py
jerichooconnell/lcse_tools
6ef12584d0b544adebe057e47e1a78382b522042
[ "Apache-2.0" ]
null
null
null
src/eval_pp.py
jerichooconnell/lcse_tools
6ef12584d0b544adebe057e47e1a78382b522042
[ "Apache-2.0" ]
null
null
null
#!/usr/bin/env python # -*- coding: utf-8 -*- ''' C Pre-Processor #define evaluator. Usage: .. code:: bash eval_pp.py input_file.F -o output_file.F -D israyprofile=0 isrestart=0 ''' __author__ = "Stou Sandalski" __email__ = "stou@icapsid.net" __date__ = '25 Apr 2015' __license__ = "Apache 2.0" __version__ = "1.0...
21.577273
121
0.608174
688
4,747
4.046512
0.265988
0.017241
0.025862
0.022629
0.177083
0.16092
0.125359
0.117816
0.103448
0.056034
0
0.009057
0.25574
4,747
219
122
21.675799
0.778941
0.052665
0
0.257353
0
0
0.061883
0
0
0
0
0.004566
0
0
null
null
0
0.022059
null
null
0.007353
0
0
0
null
0
0
0
0
0
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
cf63db6b61d9e6b932add82defb3da71a22e44c2
3,169
py
Python
pi/probemon.py
pirsquareff/wireless-wads
14c3bb28ea2410354e6e0d02b55143c6ddd4b634
[ "MIT" ]
null
null
null
pi/probemon.py
pirsquareff/wireless-wads
14c3bb28ea2410354e6e0d02b55143c6ddd4b634
[ "MIT" ]
null
null
null
pi/probemon.py
pirsquareff/wireless-wads
14c3bb28ea2410354e6e0d02b55143c6ddd4b634
[ "MIT" ]
null
null
null
#!/usr/bin/python import time import datetime import argparse import netaddr import sys import logging from scapy.all import * from pprint import pprint from logging.handlers import RotatingFileHandler NAME = 'probemon' DESCRIPTION = "a command line tool for logging 802.11 probe request frames" DEBUG = False def bu...
33.010417
108
0.729568
444
3,169
5.096847
0.387387
0.043747
0.082634
0.04198
0.078657
0
0
0
0
0
0
0.0117
0.136952
3,169
95
109
33.357895
0.815722
0.102556
0
0.030303
0
0
0.220106
0
0
0
0.001411
0
0
0
null
null
0
0.136364
null
null
0.030303
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
1
0
0
0
0
0
0
0
0
1
cf7389a6639b5bbe9d5330e5fd1ffdda166aed8a
469
py
Python
CURSO PYTHON UDEMY/Curso Udemy/Mundo 4 (POO)/103. Atributos de Classe.py
nihilboy1455/CURSO-PYTHON-UDEMY
ef27b9bba12672f5426ddeeb3fd70304073a56e2
[ "MIT" ]
null
null
null
CURSO PYTHON UDEMY/Curso Udemy/Mundo 4 (POO)/103. Atributos de Classe.py
nihilboy1455/CURSO-PYTHON-UDEMY
ef27b9bba12672f5426ddeeb3fd70304073a56e2
[ "MIT" ]
null
null
null
CURSO PYTHON UDEMY/Curso Udemy/Mundo 4 (POO)/103. Atributos de Classe.py
nihilboy1455/CURSO-PYTHON-UDEMY
ef27b9bba12672f5426ddeeb3fd70304073a56e2
[ "MIT" ]
null
null
null
class A: v = 123 a1 = A() print(a1.v) print(A.v) ''' Eu posso mostrar uma variavel de classe tanto através de uma instância, quanto da própria classe ''' A.v = 5 print(A.v) print(a1.v) ''' Se eu alterar o valor da variavel de classe através da classe, nas próximas vezes que ela for chamada, ela tera o novo valor ...
13.4
93
0.684435
86
469
3.732558
0.476744
0.031153
0.074766
0.080997
0.261682
0.261682
0.168224
0
0
0
0
0.02965
0.208955
469
34
94
13.794118
0.83558
0
0
0.545455
0
0
0
0
0
0
0
0
0
1
0
false
0
0
0
0.181818
0.545455
0
0
0
null
0
0
0
0
0
0
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
cf7eb2da928c9b6b9b8d3e8ff075c6257f59677b
3,214
py
Python
vehiculo/migrations/0001_initial.py
gusanare1/site1
97508d84cb964eaf92166434e53febb67e595589
[ "Apache-2.0" ]
null
null
null
vehiculo/migrations/0001_initial.py
gusanare1/site1
97508d84cb964eaf92166434e53febb67e595589
[ "Apache-2.0" ]
null
null
null
vehiculo/migrations/0001_initial.py
gusanare1/site1
97508d84cb964eaf92166434e53febb67e595589
[ "Apache-2.0" ]
null
null
null
# Generated by Django 2.0.5 on 2018-05-18 17:33 from django.db import migrations, models import django.db.models.deletion class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Carro', fields=[ ...
37.811765
114
0.553516
303
3,214
5.752475
0.254125
0.046472
0.082616
0.110155
0.65634
0.625359
0.565691
0.565691
0.565691
0.565691
0
0.017552
0.30865
3,214
84
115
38.261905
0.766877
0.014001
0
0.623377
1
0
0.082412
0
0
0
0
0
0
1
0
false
0
0.025974
0
0.077922
0
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
cf8a5298ad40ab5ff010a98bfd121ca9e61a4962
598
py
Python
sourcecode/21/21.8.1/threading_2.py
ydong08/PythonCode
268f538608917565cdfc8eadbd04101606314c97
[ "MIT" ]
null
null
null
sourcecode/21/21.8.1/threading_2.py
ydong08/PythonCode
268f538608917565cdfc8eadbd04101606314c97
[ "MIT" ]
null
null
null
sourcecode/21/21.8.1/threading_2.py
ydong08/PythonCode
268f538608917565cdfc8eadbd04101606314c97
[ "MIT" ]
null
null
null
#!/usr/bin/python #encoding=utf-8 import threading import time class Counter: #计数器类 def __init__(self): self.value = 0 def increment(self): self.value = self.value + 1 #将value值加1 value = self.value #并返回这个value值 return value counter = Counter() class ThreadDemo(threading.Threa...
22.148148
80
0.652174
77
598
4.948052
0.519481
0.094488
0.068241
0
0
0
0
0
0
0
0
0.023504
0.217391
598
26
81
23
0.790598
0.137124
0
0
0
0
0.003937
0
0
0
0
0
0
0
null
null
0
0.111111
null
null
0.055556
0
0
0
null
0
0
0
0
0
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
d83f93505b5728d094fd6568c4a9160475296ebc
1,247
py
Python
hexrd/utils/decorators.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
hexrd/utils/decorators.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
hexrd/utils/decorators.py
johnkit/hexrd
c0f67a2f472bc0dea22930c654711ee6b97e7fe4
[ "BSD-3-Clause" ]
null
null
null
# encoding: utf-8 """Decorators that don't go anywhere else. This module contains decorators that don't really go with another module in :mod:`hexrd.utils`. Before putting something here please see if it should go into another topical module in :mod:`hexrd.utils`. """ import collections def undoc(func): """Mark...
31.175
76
0.632719
173
1,247
4.514451
0.543353
0.040973
0.043534
0.046095
0.053777
0
0
0
0
0
0
0.0011
0.271051
1,247
39
77
31.974359
0.858086
0.515638
0
0
0
0
0
0
0
0
0
0
0
1
0.176471
false
0
0.058824
0
0.529412
0
0
0
0
null
0
0
0
0
0
0
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
d84b13d28b2dc229066a35751a54e5f6e563c18a
16,387
py
Python
datasets/data_generator.py
RedaAlb/IntelligentTransportationInfrastructure_ITI
8983e5327e6ff87079ff5d3915a6c2e9f2a97f1a
[ "MIT" ]
1
2022-02-09T14:22:59.000Z
2022-02-09T14:22:59.000Z
datasets/data_generator.py
RedaAlb/alpr-pipeline
8983e5327e6ff87079ff5d3915a6c2e9f2a97f1a
[ "MIT" ]
1
2020-10-01T11:40:36.000Z
2020-10-01T11:40:36.000Z
datasets/data_generator.py
RedaAlb/alpr-pipeline
8983e5327e6ff87079ff5d3915a6c2e9f2a97f1a
[ "MIT" ]
1
2020-10-27T12:17:40.000Z
2020-10-27T12:17:40.000Z
import os import random import shutil from collections import Counter import Automold as am import cv2 import matplotlib.pyplot as plt class DataGenerator: """ Used to generate new samples using various methods. """ def __init__(self): self.lp_chars_labels = ["0","1","2","3","4","5","6","7","8",...
40.662531
139
0.535974
2,103
16,387
3.959106
0.155968
0.021619
0.025943
0.016334
0.268076
0.225679
0.184362
0.173793
0.149652
0.123589
0
0.011793
0.373894
16,387
402
140
40.763682
0.799708
0.285714
0
0.149533
1
0
0.060118
0.022711
0
0
0
0
0
1
0.037383
false
0.009346
0.03271
0
0.093458
0.037383
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
d84de38a8225dcfa4af9ae00fd252a5953cee9aa
2,867
py
Python
packages/syft/src/syft/proto/core/auth/signed_message_pb2.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
8,428
2017-08-10T09:17:49.000Z
2022-03-31T08:20:14.000Z
packages/syft/src/syft/proto/core/auth/signed_message_pb2.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
4,779
2017-08-09T23:19:00.000Z
2022-03-29T11:49:36.000Z
packages/syft/src/syft/proto/core/auth/signed_message_pb2.py
vishalbelsare/PySyft
fb04404fcfbef82fad1fb47407b35a24e9afb599
[ "Apache-1.1" ]
2,307
2017-08-10T08:52:12.000Z
2022-03-30T05:36:07.000Z
# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: proto/core/auth/signed_message.proto """Generated protocol buffer code.""" # third party from google.protobuf import descriptor as _descriptor from google.protobuf import descriptor_pool as _descriptor_pool from google.protobuf...
37.723684
540
0.767353
362
2,867
5.737569
0.30663
0.034665
0.051998
0.069331
0.269138
0.193067
0.111218
0.111218
0.111218
0.111218
0
0.051485
0.119288
2,867
75
541
38.226667
0.771089
0.160446
0
0.117647
1
0.019608
0.316604
0.262652
0
0
0
0
0
1
0
false
0
0.137255
0
0.137255
0
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
d84eff603aa7bdf32b88f314e67ce0b70795530e
778
py
Python
pyDrivers/rgb.py
steelee/minnow_max_maker
cbbd576e865a90b72aa1dde9047c13a9b138a8cd
[ "MIT" ]
4
2015-08-30T07:56:30.000Z
2016-05-12T06:11:38.000Z
pyDrivers/rgb.py
steelee/minnow_max_maker
cbbd576e865a90b72aa1dde9047c13a9b138a8cd
[ "MIT" ]
null
null
null
pyDrivers/rgb.py
steelee/minnow_max_maker
cbbd576e865a90b72aa1dde9047c13a9b138a8cd
[ "MIT" ]
4
2015-12-30T15:05:44.000Z
2016-08-12T17:34:51.000Z
import mraa import time from led import led class rgb(object): def __init__(self, red_pin, green_pin, blue_pin, red_low=False, green_low=False, blue_low=False): self._r = led(red_pin, red_low) self._g = led(green_pin, green_low) self._b = led(blue_pin, blue_low) def off(self): ...
22.228571
101
0.539846
122
778
3.213115
0.221311
0.107143
0.045918
0.084184
0.283163
0.283163
0.283163
0.283163
0.283163
0.283163
0
0.005714
0.325193
778
34
102
22.882353
0.740952
0
0
0.214286
0
0
0
0
0
0
0
0
0
1
0.214286
false
0
0.107143
0
0.357143
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
1
0
0
0
0
0
0
0
1
d852e6f05127f79c2b81e91e7e0d511e456aba4d
710
py
Python
stage3b.py
TG-Techie/TG-Gui-LiveStream-Code-2021Jan31
26ba3f2be5d789d844e31176f5d93a0320ca8c13
[ "MIT" ]
1
2021-01-31T18:04:53.000Z
2021-01-31T18:04:53.000Z
stage3b.py
TG-Techie/TG-Gui-LiveStream-Code-2021Jan31
26ba3f2be5d789d844e31176f5d93a0320ca8c13
[ "MIT" ]
null
null
null
stage3b.py
TG-Techie/TG-Gui-LiveStream-Code-2021Jan31
26ba3f2be5d789d844e31176f5d93a0320ca8c13
[ "MIT" ]
null
null
null
# The MIT License (MIT) # # Copyright (c) 2021 Jonah Yolles-Murphy (TG-Techie) # # See the file in the root directory of this project for the full licsense text from tg_gui_std.all import * import tg_gui_pyportal as setup @setup.appwrapper class Application(Layout): some_data = State(0.5) # now let's make ...
24.482759
86
0.680282
113
710
4.123894
0.60177
0.051502
0.042918
0
0
0
0
0
0
0
0
0.026643
0.207042
710
28
87
25.357143
0.801066
0.287324
0
0
0
0
0.048096
0
0
0
0
0
0
1
0.076923
false
0
0.153846
0
0.538462
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8537548bebd56f75ac2a81962b0a404982029fd
1,404
py
Python
pyscreenshot/plugins/xwd.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
416
2015-01-01T00:41:31.000Z
2022-03-31T10:15:53.000Z
pyscreenshot/plugins/xwd.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
72
2015-02-23T20:12:17.000Z
2022-03-02T21:23:17.000Z
pyscreenshot/plugins/xwd.py
ponty/pyscreenshot
c948d83434d4db71ba68b75f49ed8671e07f80c1
[ "BSD-2-Clause" ]
88
2015-03-04T03:29:43.000Z
2021-10-04T06:37:00.000Z
import logging from easyprocess import EasyProcess from pyscreenshot.plugins.backend import CBackend from pyscreenshot.tempexport import RunProgError, read_func_img from pyscreenshot.util import extract_version log = logging.getLogger(__name__) PROGRAM = "xwd" # wikipedia: https://en.wikipedia.org/wiki/Xwd # ...
28.653061
88
0.665242
175
1,404
5.222857
0.491429
0.052516
0.02407
0.035011
0.061269
0
0
0
0
0
0
0.0092
0.225783
1,404
48
89
29.25
0.831647
0.246439
0
0.066667
0
0
0.036156
0
0
0
0
0.020833
0
1
0.133333
false
0
0.166667
0.033333
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
1
0
0
0
0
0
0
0
0
0
0
1
d856c2098185c2fc4be8d93e0ee8d2703c9e8df5
318
py
Python
lv1/matrix.py
mrbartrns/programmers-algorithm
7ecbb14c25f0cb69bec766fa4bc6b37b8cfadc47
[ "MIT" ]
null
null
null
lv1/matrix.py
mrbartrns/programmers-algorithm
7ecbb14c25f0cb69bec766fa4bc6b37b8cfadc47
[ "MIT" ]
null
null
null
lv1/matrix.py
mrbartrns/programmers-algorithm
7ecbb14c25f0cb69bec766fa4bc6b37b8cfadc47
[ "MIT" ]
null
null
null
def solution(arr1, arr2): answer = [] for i in range(len(arr1)): temp = [] for j in range(len(arr1[0])): tot = 0 tot = arr1[i][j] + arr2[i][j] temp.append(tot) answer.append(temp) return answer print(solution([[1, 2], [2, 3]], [[3, 4], [5, 6]]))
26.5
51
0.462264
46
318
3.195652
0.5
0.095238
0.136054
0.190476
0
0
0
0
0
0
0
0.076555
0.342767
318
12
51
26.5
0.626794
0
0
0
0
0
0
0
0
0
0
0
0
1
0.090909
false
0
0
0
0.181818
0.090909
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d859b9b5331e4e373d6d75b485e238c464462fe5
7,394
gyp
Python
third_party/Sparkle/Sparkle_custom.gyp
leiferikb/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2021-11-15T15:17:43.000Z
2021-11-15T15:17:43.000Z
third_party/Sparkle/Sparkle_custom.gyp
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
null
null
null
third_party/Sparkle/Sparkle_custom.gyp
houseoflifeproperty/bitpop-private
4c967307d228e86f07f2576068a169e846c833ca
[ "BSD-3-Clause-No-Nuclear-License-2014", "BSD-3-Clause" ]
1
2020-11-04T07:24:02.000Z
2020-11-04T07:24:02.000Z
# Copyright (c) 2011 House of Life Property ltd. # Copyright (c) 2011 Crystalnix <vgachkaylo@crystalnix.com> { 'conditions': [ ['OS=="mac"', { 'targets': [ { 'target_name': 'Sparkle', 'type': 'shared_library', 'dependencies': [ 'relaunch_tool', ],...
33.917431
100
0.466459
512
7,394
6.552734
0.34375
0.019672
0.029806
0.044709
0.20775
0.176453
0.104322
0.07392
0.045902
0.045902
0
0.004019
0.394239
7,394
217
101
34.073733
0.745032
0.014065
0
0.21028
0
0
0.507205
0.280637
0
0
0
0
0
1
0
true
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
1
0
0
0
0
0
0
1
d85ac5cbb364b2df70772a0c715601b57378858c
1,372
py
Python
helpers/allocation.py
hugombarreto/credibility_allocation
a6ac5e4fbce70280ce548768bffe5a567e176e0c
[ "MIT" ]
null
null
null
helpers/allocation.py
hugombarreto/credibility_allocation
a6ac5e4fbce70280ce548768bffe5a567e176e0c
[ "MIT" ]
null
null
null
helpers/allocation.py
hugombarreto/credibility_allocation
a6ac5e4fbce70280ce548768bffe5a567e176e0c
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- from collections import defaultdict from os import listdir, path from helpers.file_name import FileName class Allocation(object): def __init__(self, data_path): files = sorted(listdir(data_path)) files = filter(lambda x: x[-4:] == '.csv', files) alloc_files = filt...
36.105263
80
0.661808
173
1,372
4.924855
0.300578
0.09507
0.147887
0.089202
0.156103
0.133803
0
0
0
0
0
0.001916
0.239067
1,372
37
81
37.081081
0.814176
0.015306
0
0
0
0
0.051149
0
0
0
0
0
0
1
0.142857
false
0
0.107143
0.107143
0.392857
0
0
0
0
null
0
0
0
0
0
0
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
d86326a4a5893992a4f3c36c4606403ef9317728
754
py
Python
Easy/350. Intersection of Two Arrays II/solution (2).py
czs108/LeetCode-Solutions
889f5b6a573769ad077a6283c058ed925d52c9ec
[ "MIT" ]
3
2020-05-09T12:55:09.000Z
2022-03-11T18:56:05.000Z
Easy/350. Intersection of Two Arrays II/solution (2).py
czs108/LeetCode-Solutions
889f5b6a573769ad077a6283c058ed925d52c9ec
[ "MIT" ]
null
null
null
Easy/350. Intersection of Two Arrays II/solution (2).py
czs108/LeetCode-Solutions
889f5b6a573769ad077a6283c058ed925d52c9ec
[ "MIT" ]
1
2022-03-11T18:56:16.000Z
2022-03-11T18:56:16.000Z
# 350. Intersection of Two Arrays II # Runtime: 48 ms, faster than 67.57% of Python3 online submissions for Intersection of Two Arrays II. # Memory Usage: 14.1 MB, less than 99.75% of Python3 online submissions for Intersection of Two Arrays II. class Solution: def intersect(self, nums1: list[int], nums2: list[...
30.16
106
0.514589
101
754
3.841584
0.455446
0.108247
0.131443
0.177835
0.342784
0.278351
0.278351
0.278351
0.278351
0.278351
0
0.111349
0.380637
754
25
107
30.16
0.719486
0.316976
0
0.235294
0
0
0
0
0
0
0
0
0
1
0.058824
false
0
0
0
0.176471
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
d86521d06dbb39373e173f8e18cbca114c939f7f
3,668
py
Python
pyfos/utils/layer2/lldp_global_tlv_add.py
brocade/pyfos
33565cfc1401f5dc54a9a9fb70913c9a670cb322
[ "Apache-2.0" ]
44
2017-11-17T12:03:11.000Z
2022-02-03T20:57:56.000Z
pyfos/utils/layer2/lldp_global_tlv_add.py
brocade/pyfos
33565cfc1401f5dc54a9a9fb70913c9a670cb322
[ "Apache-2.0" ]
13
2018-10-09T15:34:15.000Z
2022-02-24T20:03:17.000Z
pyfos/utils/layer2/lldp_global_tlv_add.py
brocade/pyfos
33565cfc1401f5dc54a9a9fb70913c9a670cb322
[ "Apache-2.0" ]
23
2017-12-14T18:08:33.000Z
2022-02-03T15:33:40.000Z
#!/usr/bin/env python3 # Copyright © 2019 Broadcom. All rights reserved. # The term “Broadcom” refers to Broadcom Inc. and/or its subsidiaries. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may also obtain a copy of the Lic...
30.823529
79
0.693021
512
3,668
4.791016
0.365234
0.077456
0.06115
0.039136
0.363636
0.354668
0.325316
0.309825
0.309825
0.309825
0
0.005142
0.204744
3,668
118
80
31.084746
0.835447
0.729826
0
0
0
0
0.039071
0
0
0
0
0
0
1
0.166667
false
0
0.208333
0.041667
0.541667
0.041667
0
0
0
null
0
0
0
0
0
0
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
d86897342eb98e2a904200c8c3a431370a9ef589
2,749
py
Python
cryptomonsters/mining/views.py
kryptokardz/cryptocards
7a3de928184703e545eaa6b179044303fa6fda0f
[ "MIT" ]
1
2017-12-08T18:11:21.000Z
2017-12-08T18:11:21.000Z
cryptomonsters/mining/views.py
kryptokardz/cryptocards
7a3de928184703e545eaa6b179044303fa6fda0f
[ "MIT" ]
24
2017-12-16T00:12:49.000Z
2022-03-11T23:14:06.000Z
cryptomonsters/mining/views.py
kryptokardz/cryptocards
7a3de928184703e545eaa6b179044303fa6fda0f
[ "MIT" ]
1
2018-12-01T07:50:49.000Z
2018-12-01T07:50:49.000Z
"""Base views for cryptomonsters.""" import json from django.conf import settings from django.contrib.auth.mixins import LoginRequiredMixin from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger from django.shortcuts import render from django.views.generic import ListView from mining.scripts.blockcha...
33.52439
87
0.677701
324
2,749
5.657407
0.351852
0.026732
0.028369
0.03928
0.312057
0.214948
0.111293
0.111293
0.111293
0.111293
0
0.002311
0.212805
2,749
81
88
33.938272
0.844732
0.1255
0
0.362069
0
0
0.114588
0.049894
0
0
0
0
0
1
0.051724
false
0
0.189655
0
0.517241
0
0
0
0
null
0
0
0
0
0
0
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
d86936728701ee8789a9f0a98e4e976ca94f906f
24,153
py
Python
pysql/main_c.py
Devansh3712/PySQL
f19fccf368ce9a717bc961683cc9f1e24e998be3
[ "MIT" ]
12
2021-03-12T12:12:02.000Z
2021-10-04T18:30:19.000Z
pysql/main_c.py
Devansh3712/PySQL
f19fccf368ce9a717bc961683cc9f1e24e998be3
[ "MIT" ]
28
2021-03-14T05:52:36.000Z
2022-03-17T04:16:28.000Z
pysql/main_c.py
Devansh3712/PySQL
f19fccf368ce9a717bc961683cc9f1e24e998be3
[ "MIT" ]
8
2021-03-31T14:31:49.000Z
2022-03-13T09:43:31.000Z
""" MIT License Copyright (c) 2021 Devansh Singh 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, merge, publish,...
38.6448
128
0.541755
2,997
24,153
4.249917
0.101101
0.037214
0.043181
0.053859
0.723954
0.694434
0.677789
0.660281
0.652587
0.634922
0
0.001223
0.322734
24,153
624
129
38.706731
0.777418
0.054941
0
0.579186
0
0.006787
0.351629
0.099776
0
0
0
0
0
1
0.002262
false
0.036199
0.058824
0
0.061086
0.21267
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
d86e10a43817bba07ebeaa069fb231085d97c993
1,294
py
Python
ST7735fb.py
boochow/FBConsole
52f11627820812d4d6b70d88d627656170505fa9
[ "MIT" ]
35
2018-11-19T19:51:29.000Z
2022-03-29T13:37:18.000Z
ST7735fb.py
boochow/FBConsole
52f11627820812d4d6b70d88d627656170505fa9
[ "MIT" ]
null
null
null
ST7735fb.py
boochow/FBConsole
52f11627820812d4d6b70d88d627656170505fa9
[ "MIT" ]
9
2019-03-04T11:30:01.000Z
2021-12-18T12:47:52.000Z
# ST7735S driver wrapper for FBConsole # ST7735 driver: https://github.com/boochow/MicroPython-ST7735 # FBConsole: https://github.com/boochow/FBConsole class TFTfb(object): def __init__(self, tft, font): self.height = 160 self.width = 128 self.tft = tft self.font = font tft....
31.560976
73
0.568779
182
1,294
3.989011
0.318681
0.086777
0.066116
0.066116
0.055096
0.055096
0
0
0
0
0
0.031116
0.279753
1,294
40
74
32.35
0.747854
0.142195
0
0
0
0
0
0
0
0
0
0
0
1
0.241379
false
0
0
0
0.310345
0
0
0
0
null
0
0
0
0
0
0
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
d870e7ce4bdb57fc53f23944cce9d3ff61ac61dc
8,016
py
Python
notebooks/myfuncts.py
bradleysawler/blog
6a8c77c11e6b479e3350bf6547c70ecabb6b5e7d
[ "MIT" ]
null
null
null
notebooks/myfuncts.py
bradleysawler/blog
6a8c77c11e6b479e3350bf6547c70ecabb6b5e7d
[ "MIT" ]
null
null
null
notebooks/myfuncts.py
bradleysawler/blog
6a8c77c11e6b479e3350bf6547c70ecabb6b5e7d
[ "MIT" ]
5
2021-01-10T05:02:15.000Z
2021-12-25T08:25:33.000Z
import pandas as pd import numpy as np import re from fractions import Fraction # import plot libraries import seaborn as sns sns.set_palette('Set2') import matplotlib.pyplot as plt # list number of files import os, os.path from pathlib import Path import datetime # General functions defined ...
43.096774
123
0.636602
1,142
8,016
4.30648
0.222417
0.020333
0.0244
0.013013
0.328182
0.300122
0.287109
0.245628
0.245628
0.232615
0
0.007766
0.261103
8,016
186
124
43.096774
0.822556
0.364022
0
0.114943
0
0
0.025178
0
0
0
0
0
0
1
0.229885
false
0
0.103448
0
0.494253
0.011494
0
0
0
null
0
0
0
0
0
0
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
d87437fd35998b2c37e149acfd013a34a91bc683
2,441
py
Python
test/test3.py
LUSHDigital/lrpi_display
84e3a53877651380682c831ffa25f7eb5c5585a3
[ "MIT" ]
null
null
null
test/test3.py
LUSHDigital/lrpi_display
84e3a53877651380682c831ffa25f7eb5c5585a3
[ "MIT" ]
2
2019-02-22T11:13:58.000Z
2019-02-24T18:41:32.000Z
test/test3.py
LUSHDigital/lrpi_display
84e3a53877651380682c831ffa25f7eb5c5585a3
[ "MIT" ]
null
null
null
#!/usr/bin/env python import pygame from pygame.locals import * import os from time import sleep print(dir(pygame)) DIM = [480,320] # screen framebuffer dimensions WHITE = (255, 255, 255) BLACK = ( 0, 0, 0) BLUE = ( 0, 0, 255) GREEN = ( 0, 255, 0) RED = (255, 0, 0) ORANGE ...
29.409639
124
0.551823
336
2,441
3.931548
0.369048
0.012112
0.049962
0.013626
0.208933
0.146858
0.119606
0.043906
0
0
0
0.076131
0.28431
2,441
82
125
29.768293
0.680023
0.224908
0
0.196078
0
0
0.063636
0.012834
0
0
0
0
0
0
null
null
0.039216
0.078431
null
null
0.078431
0
0
0
null
0
0
0
0
0
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
d87f2e89e9c1829b67eff8b83acd8dd8a36b8394
5,293
py
Python
flex_nav_create_flexbe_behaviors/src/flex_nav_create_flexbe_behaviors/create_move_base_sm.py
CNURobotics/chris_create_flexible_navigation
9f76a4f5d5bb74566a75bb2dbbddd311c72ca9f3
[ "BSD-3-Clause" ]
null
null
null
flex_nav_create_flexbe_behaviors/src/flex_nav_create_flexbe_behaviors/create_move_base_sm.py
CNURobotics/chris_create_flexible_navigation
9f76a4f5d5bb74566a75bb2dbbddd311c72ca9f3
[ "BSD-3-Clause" ]
null
null
null
flex_nav_create_flexbe_behaviors/src/flex_nav_create_flexbe_behaviors/create_move_base_sm.py
CNURobotics/chris_create_flexible_navigation
9f76a4f5d5bb74566a75bb2dbbddd311c72ca9f3
[ "BSD-3-Clause" ]
1
2021-04-23T12:22:48.000Z
2021-04-23T12:22:48.000Z
#!/usr/bin/env python ########################################################### # WARNING: Generated code! # # ************************** # # Manual changes may get lost if file is generated again. # # Only code inside the [MANUAL] tags will be kept. ...
44.108333
144
0.527489
467
5,293
5.828694
0.361884
0.056576
0.020206
0.031227
0.215283
0.145481
0.126378
0.05878
0.03086
0
0
0.018229
0.347062
5,293
119
145
44.478992
0.769387
0.173626
0
0.039216
1
0
0.144543
0.01855
0
0
0
0
0
1
0.039216
false
0
0.156863
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
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8828ad30469b6a80a5fd394a9f2a18797782c2a
987
py
Python
python/schuelerpraktika/joshua_neubeck/mein_programm.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
python/schuelerpraktika/joshua_neubeck/mein_programm.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
python/schuelerpraktika/joshua_neubeck/mein_programm.py
maximilianharr/code_snippets
8b271e6fa9174e24200e88be59e417abd5f2f59a
[ "BSD-3-Clause" ]
null
null
null
# -*- coding: utf-8 -*- import time import random import sys print('*********************************'); time.sleep(0.5) print('*** SCHERE ** STEIN ** PAPIER ***'); time.sleep(0.5) print('*********************************\n'); time.sleep(0.5) print('Dabei ist die Schere die Nummer 1,'); time.sleep(0.5) print(' ...
27.416667
101
0.587639
146
987
3.972603
0.431507
0.108621
0.103448
0.094828
0.137931
0
0
0
0
0
0
0.0375
0.189463
987
35
102
28.2
0.6875
0.049645
0
0
0
0
0.469388
0.07304
0
0
0
0
0
1
0
false
0
0.142857
0
0.142857
0.47619
0
0
0
null
0
0
0
0
0
0
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
d88743b2f31b3101245796edc5556241b3dfeed6
1,044
py
Python
util/device.py
SENERGY-Platform/mgw-kasa-dc
cc0546ee435706fab2f573ec574c2c24e8d62a20
[ "Apache-2.0" ]
null
null
null
util/device.py
SENERGY-Platform/mgw-kasa-dc
cc0546ee435706fab2f573ec574c2c24e8d62a20
[ "Apache-2.0" ]
null
null
null
util/device.py
SENERGY-Platform/mgw-kasa-dc
cc0546ee435706fab2f573ec574c2c24e8d62a20
[ "Apache-2.0" ]
null
null
null
""" Copyright 2021 InfAI (CC SES) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
31.636364
115
0.713602
149
1,044
4.85906
0.604027
0.082873
0.035912
0.044199
0
0
0
0
0
0
0
0.009697
0.20977
1,044
32
116
32.625
0.867879
0.530651
0
0
0
0
0.022124
0
0
0
0
0
0
1
0.181818
false
0
0.272727
0.090909
0.636364
0
0
0
0
null
0
0
0
0
0
0
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
d891ea0a5e8fda646b6e1ec1dc1446ac75bfdaf2
1,236
py
Python
helper_functions.py
zywkloo/Insomnia-Dungeon
129cd17f1825d858b2cbccd0cdd12b0b2560ba00
[ "MIT" ]
null
null
null
helper_functions.py
zywkloo/Insomnia-Dungeon
129cd17f1825d858b2cbccd0cdd12b0b2560ba00
[ "MIT" ]
null
null
null
helper_functions.py
zywkloo/Insomnia-Dungeon
129cd17f1825d858b2cbccd0cdd12b0b2560ba00
[ "MIT" ]
null
null
null
#### ====================================================================================================================== #### ############# IMPORTS ############# #### =========================================================...
47.538462
128
0.254854
60
1,236
5.2
0.683333
0.057692
0
0
0
0
0
0
0
0
0
0.001098
0.262945
1,236
25
129
49.44
0.341383
0.688511
0
0
0
0
0
0
0
0
0
0
0
1
0.1
false
0
0.1
0
0.4
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8996f222f73b5b14bbcc623a02a1d710d8e3330
3,379
py
Python
setup.py
matt-carr/cloudstorage
6bcf731f14678ad1469234311a7748691be529cd
[ "MIT" ]
null
null
null
setup.py
matt-carr/cloudstorage
6bcf731f14678ad1469234311a7748691be529cd
[ "MIT" ]
null
null
null
setup.py
matt-carr/cloudstorage
6bcf731f14678ad1469234311a7748691be529cd
[ "MIT" ]
null
null
null
import io import re from glob import glob from os.path import basename, dirname, join, splitext from setuptools import find_packages, setup def read(*names, **kwargs): with io.open( join(dirname(__file__), *names), encoding=kwargs.get('encoding', 'utf8') ) as fh: return fh.rea...
29.382609
74
0.507547
357
3,379
4.736695
0.47619
0.028977
0.033117
0.076878
0.054406
0.033117
0.033117
0.033117
0.033117
0.033117
0
0.040994
0.321397
3,379
114
75
29.640351
0.696468
0.060373
0
0.12963
0
0
0.414549
0.050508
0
0
0
0
0
1
0.009259
true
0
0.046296
0
0.064815
0
0
0
0
null
0
0
0
0
0
0
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
d89d003bb7f2ea99bc1e7bd32b9f2292f5f699ed
402
py
Python
Properties/analysis/complexity metrics/complexity/PMSmetrics.py
NazaninBayati/SCA
74e670462dd0da5e24147aab86df393b38405176
[ "MIT" ]
null
null
null
Properties/analysis/complexity metrics/complexity/PMSmetrics.py
NazaninBayati/SCA
74e670462dd0da5e24147aab86df393b38405176
[ "MIT" ]
null
null
null
Properties/analysis/complexity metrics/complexity/PMSmetrics.py
NazaninBayati/SCA
74e670462dd0da5e24147aab86df393b38405176
[ "MIT" ]
null
null
null
db = open("Project Metrics Summary.txt","r") db = db.read() db_st=[] db_st2=[] db_st = db.split("\n") #print(db_st.__len__()) i = 0 db_list=[] print(db_st[0]) #print(db.split("\n")) db_temp = db_st[2:db_st.__len__()-1] db_st=db_temp #print(db_st) with open('Project Metrics Summary Report.txt', 'w') as filehandle: ...
20.1
67
0.659204
74
402
3.283784
0.405405
0.164609
0.148148
0.205761
0
0
0
0
0
0
0
0.014409
0.136816
402
19
68
21.157895
0.685879
0.166667
0
0
0
0
0.209091
0
0
0
0
0
0
1
0
false
0
0
0
0
0.076923
0
0
0
null
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8b92575a80fc2d60fbfc540d053a9bfff4a9904
47,654
py
Python
firmware_password_manager.py
jwrn3/firmware_password_manager
198694a650acd3fa61b85d25dd61e83782bb25d5
[ "MIT" ]
1
2021-10-01T02:35:23.000Z
2021-10-01T02:35:23.000Z
firmware_password_manager.py
jwrn3/firmware_password_manager
198694a650acd3fa61b85d25dd61e83782bb25d5
[ "MIT" ]
null
null
null
firmware_password_manager.py
jwrn3/firmware_password_manager
198694a650acd3fa61b85d25dd61e83782bb25d5
[ "MIT" ]
null
null
null
#!/usr/local/bin/python3 # -*- coding: utf-8 -*- """ This should not be blank. """ # Copyright (c) 2020 University of Utah Student Computing Labs. ################ # All Rights Reserved. # # Permission to use, copy, modify, and distribute this software and # its documentation for any purpose and without fee is hereby ...
40.764756
239
0.521467
4,885
47,654
4.929376
0.136336
0.073505
0.043355
0.057807
0.516196
0.472052
0.425374
0.37662
0.333513
0.312625
0
0.009291
0.363096
47,654
1,168
240
40.799658
0.784093
0.175452
0
0.514327
0
0.002865
0.17365
0.013406
0.001433
0
0
0
0
1
0.030086
false
0.124642
0.024355
0
0.070201
0.032951
0
0
0
null
0
0
0
0
0
0
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
d8bc949aa5974051fa78202b908cf9d576c1686e
899
py
Python
src/ensae_projects/hackathon/random_answers.py
sdpython/ensae_projects
9647751da053c09fa35402527b294e02a4e6e2ad
[ "MIT" ]
1
2020-11-22T10:24:54.000Z
2020-11-22T10:24:54.000Z
src/ensae_projects/hackathon/random_answers.py
sdpython/ensae_projects
9647751da053c09fa35402527b294e02a4e6e2ad
[ "MIT" ]
13
2017-11-20T00:20:45.000Z
2021-01-05T14:13:51.000Z
src/ensae_projects/hackathon/random_answers.py
sdpython/ensae_projects
9647751da053c09fa35402527b294e02a4e6e2ad
[ "MIT" ]
null
null
null
# -*- coding: utf-8 -*- """ @file @brief Generates random answers for challenges. """ import os import numpy import pandas def random_answers_2020_images(): """ Generates random answers the deep learning challenge of hackathons :ref:`l-hackathon-2020`. """ name = os.path.join(os.path.split(__file_...
28.09375
77
0.652948
125
899
4.584
0.4
0.113438
0.055846
0.069808
0.460733
0.460733
0.460733
0.460733
0.300175
0.300175
0
0.048387
0.172414
899
31
78
29
0.721774
0.292547
0
0.428571
1
0
0.094915
0.037288
0
0
0
0
0
1
0.142857
false
0
0.214286
0
0.5
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
1
d8be8516b1df676f16f7b662bbca923449acbe9a
424
py
Python
materials/migrations/0055_auto_20190327_2305.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
7
2019-09-14T07:24:09.000Z
2021-06-15T16:15:05.000Z
materials/migrations/0055_auto_20190327_2305.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
14
2019-12-05T01:49:19.000Z
2021-06-23T18:34:51.000Z
materials/migrations/0055_auto_20190327_2305.py
mgovoni-devel/MatD3
5b68d147f886bce427f92bb560159e62cec2d4e7
[ "BSD-2-Clause-FreeBSD" ]
2
2019-11-06T21:16:57.000Z
2019-11-30T10:51:44.000Z
# Generated by Django 2.1.7 on 2019-03-28 03:05 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('materials', '0054_auto_20190318_1704'), ] operations = [ migrations.AlterField( model_name='dataset', name='dimensio...
22.315789
77
0.606132
44
424
5.75
0.772727
0
0
0
0
0
0
0
0
0
0
0.112903
0.268868
424
18
78
23.555556
0.703226
0.106132
0
0
1
0
0.140584
0.061008
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
d8c08f4db0f730e1e8342c27487af5002a697334
1,715
py
Python
tests/simulators/test_tcm.py
jason-neal/companion_simulations
b5773e5539011d492b7128d0dd2778041ce50d52
[ "MIT" ]
1
2018-09-04T19:06:44.000Z
2018-09-04T19:06:44.000Z
tests/simulators/test_tcm.py
jason-neal/companion_simulations
b5773e5539011d492b7128d0dd2778041ce50d52
[ "MIT" ]
85
2017-03-25T22:37:02.000Z
2022-03-01T16:49:14.000Z
tests/simulators/test_tcm.py
jason-neal/companion_simulations
b5773e5539011d492b7128d0dd2778041ce50d52
[ "MIT" ]
1
2017-08-18T10:56:39.000Z
2017-08-18T10:56:39.000Z
import os import pytest import simulators from simulators.tcm_module import (tcm_helper_function, setup_tcm_dirs) from simulators.tcm_script import parse_args @pytest.mark.parametrize("star, obs, chip", [ ("HD30501", 1, 1), ("HD4747", "a", 4)]) def test_tcm_helper_function(sim_config, star, obs, chip): ...
31.181818
74
0.714286
249
1,715
4.694779
0.269076
0.041916
0.038494
0.064157
0.330197
0.136014
0.054748
0
0
0
0
0.009845
0.170845
1,715
54
75
31.759259
0.812236
0
0
0.047619
0
0
0.087464
0
0
0
0
0
0.5
1
0.095238
false
0
0.119048
0
0.214286
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
1
0
0
0
0
0
0
0
0
0
1
d8c108ccd19884cbb5ff9f45c7c2e312876cf7f9
495
py
Python
src/orders/migrations/0007_OrderPromoCodes.py
denkasyanov/education-backend
c796b6f2f1cc1cd09f83cab2ca0cc45344906ef5
[ "MIT" ]
151
2020-04-21T09:58:57.000Z
2021-09-12T09:01:21.000Z
src/orders/migrations/0007_OrderPromoCodes.py
tlgtaa/education-backend
86f8af315f9cff2c1fd19406899d593fc0852124
[ "MIT" ]
163
2020-05-29T20:52:00.000Z
2021-09-11T12:44:56.000Z
src/orders/migrations/0007_OrderPromoCodes.py
boochamoocha/education-backend
c6ffb0c00bc066c8f1e0a8c0ffe4d0215c7c416a
[ "MIT" ]
39
2020-04-21T12:28:16.000Z
2021-09-12T15:33:47.000Z
# Generated by Django 2.2.13 on 2020-09-30 13:14 import django.db.models.deletion from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0006_PromoCodeComments'), ] operations = [ migrations.AddField( model_name='order', ...
24.75
127
0.644444
56
495
5.642857
0.642857
0.075949
0.088608
0.139241
0
0
0
0
0
0
0
0.05277
0.234343
495
19
128
26.052632
0.781003
0.092929
0
0
1
0
0.129754
0.049217
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
d8ccdbab2466858a7b47def4a83c73e183774756
1,191
py
Python
Solver/threshold.py
steveknipmeyer/ModelRelief
a3d067e0ed39a3a8ca78896c21eaa3e7293b15a2
[ "MIT" ]
null
null
null
Solver/threshold.py
steveknipmeyer/ModelRelief
a3d067e0ed39a3a8ca78896c21eaa3e7293b15a2
[ "MIT" ]
null
null
null
Solver/threshold.py
steveknipmeyer/ModelRelief
a3d067e0ed39a3a8ca78896c21eaa3e7293b15a2
[ "MIT" ]
null
null
null
#!/usr/bin/env python """ .. module:: Threshold :synopsis: Support for applying thresholds to image components. .. moduleauthor:: Steve Knipmeyer <steve@modelrelief.org> """ import numpy as np from services import Services class Threshold: """ A class for Support for applying thresholds to image componen...
26.466667
72
0.603694
131
1,191
5.427481
0.541985
0.078762
0.050633
0.078762
0.126582
0.126582
0.126582
0
0
0
0
0.002413
0.303946
1,191
44
73
27.068182
0.855247
0.507976
0
0
0
0
0
0
0
0
0
0
0
1
0.2
false
0
0.2
0
0.6
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
0
0
0
1
0
0
1
d8d464766b632b6647fd2a10ce1a528f8527d156
3,545
py
Python
fusion/fusion/settings.py
souluanf/django-essencial
95d4d6d85bbe590ae95c3b26fb9577b97c2f5e7c
[ "MIT" ]
null
null
null
fusion/fusion/settings.py
souluanf/django-essencial
95d4d6d85bbe590ae95c3b26fb9577b97c2f5e7c
[ "MIT" ]
33
2020-08-04T00:46:16.000Z
2022-03-12T00:45:43.000Z
fusion/fusion/settings.py
souluanf/django-essencial
95d4d6d85bbe590ae95c3b26fb9577b97c2f5e7c
[ "MIT" ]
null
null
null
import os import dj_database_url try: from .settings_local import * except ImportError: pass BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) ENVIRONMENT = os.environ.get('ENVIRONMENT', 'development') INTERNAL_IPS = ['127.0.0.1'] ALLOWED_HOSTS = ['*'] # Application definition INSTALLE...
24.618056
91
0.673625
376
3,545
6.191489
0.425532
0.083763
0.051117
0.030069
0.229811
0.208763
0.123711
0.098797
0.098797
0.064433
0
0.01523
0.185049
3,545
143
92
24.79021
0.790585
0.124683
0
0.09
0
0.01
0.476853
0.367757
0
0
0
0
0
1
0
false
0.07
0.04
0
0.04
0
0
0
0
null
0
0
0
0
0
0
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
d8e4b2ebe3661df727e9e0d3caa9489aefa96ef9
1,498
py
Python
password/strongPasswd.py
Gao-zl/tools
d4ebf7e52ffd2862a5cb013431b8c5f7036b4263
[ "MIT" ]
null
null
null
password/strongPasswd.py
Gao-zl/tools
d4ebf7e52ffd2862a5cb013431b8c5f7036b4263
[ "MIT" ]
null
null
null
password/strongPasswd.py
Gao-zl/tools
d4ebf7e52ffd2862a5cb013431b8c5f7036b4263
[ "MIT" ]
1
2021-08-04T09:24:47.000Z
2021-08-04T09:24:47.000Z
# -*- coding:utf-8 -*- ''' Version: V1.0 Time: 2020.08.21 Author: Gaozhl ''' import string import random char_set = {'small': 'abcdefghijklmnopqrstuvwxyz', 'nums': '0123456789', 'big': 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', 'special': '^!\$%&/()=?{[]}+~-.:,;<>|' } ...
24.557377
71
0.562083
156
1,498
5.275641
0.49359
0.076549
0.036452
0.046173
0
0
0
0
0
0
0
0.02893
0.307744
1,498
60
72
24.966667
0.764706
0.26502
0
0.166667
0
0
0.105723
0.074685
0
0
0
0
0
1
0.066667
false
0.366667
0.066667
0
0.266667
0.033333
0
0
0
null
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
null
0
0
0
0
0
0
0
1
0
0
0
0
0
1